5549p.com
Open in
urlscan Pro
52.223.35.166
Public Scan
Submitted URL: http://5549p.com/static-xpj83/js/index.2af3c751d007a249f260.js?v=2024-4-26-18:39:59
Effective URL: https://5549p.com/static-xpj83/js/index.2af3c751d007a249f260.js?v=2024-4-26-18:39:59
Submission: On November 17 via api from US — Scanned from US
Effective URL: https://5549p.com/static-xpj83/js/index.2af3c751d007a249f260.js?v=2024-4-26-18:39:59
Submission: On November 17 via api from US — Scanned from US
Form analysis
0 forms found in the DOMText Content
/*! This file is created by qianduan */ webpackJsonp([0],{ /***/ "+G1J": /***/ (function(module, exports, __webpack_require__) { var getBuiltIn = __webpack_require__("VL6R"); module.exports = getBuiltIn('navigator', 'userAgent') || ''; /***/ }), /***/ "/1Aw": /***/ (function(module, exports, __webpack_require__) { __webpack_require__("YaGa"); var path = __webpack_require__("32pD"); module.exports = path.Object.assign; /***/ }), /***/ "/9er": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/static/public/image/app-loading.2ad9389.png"; /***/ }), /***/ "/Bmd": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("GAcm"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("46f9bad6", content, true, {}); /***/ }), /***/ "/Dck": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("9AKq"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("17fcf7be", content, true, {}); /***/ }), /***/ "/TbE": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("kk4m"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("387b23f0", content, true, {}); /***/ }), /***/ "/Z0X": /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(global) {var require;var require;// Aliyun OSS SDK for JavaScript v6.17.1 // Copyright Aliyun.com, Inc. or its affiliates. All Rights Reserved. // License at https://github.com/ali-sdk/ali-oss/blob/master/LICENSE (function(f){if(true){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.OSS = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return require(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ "use strict"; var OSS = require('./browser/client'); OSS.Buffer = require('buffer').Buffer; OSS.urllib = require('../shims/xhr'); OSS.version = require('./browser/version').version; module.exports = OSS; },{"../shims/xhr":407,"./browser/client":3,"./browser/version":6,"buffer":85}],2:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); require("core-js/modules/es.array.slice.js"); var assert = require('assert'); var _require = require('../common/utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var proto = exports; function isArray(arr) { if (Array.isArray) return Array.isArray(arr); return Object.prototype.toString.call(arr) === '[object Array]'; } function toArray(obj) { if (!obj) return []; if (isArray(obj)) return obj; return [obj]; } /** * Bucket opertaions */ // TODO: OSS server currently do not support CORS requests for bucket operations // proto.listBuckets = function* listBuckets(query, options) { // // prefix, marker, max-keys // var result = yield this.request({ // method: 'GET', // query: query, // timeout: options && options.timeout, // ctx: options && options.ctx, // }); // // if (result.status === 200) { // var data = yield this.parseXML(result.data); // var buckets = data.Buckets || null; // if (buckets) { // if (buckets.Bucket) { // buckets = buckets.Bucket; // } // if (!isArray(buckets)) { // buckets = [buckets]; // } // buckets = buckets.map(function (item) { // return { // name: item.Name, // region: item.Location, // creationDate: item.CreationDate, // }; // }); // } // return { // buckets: buckets, // owner: { // id: data.Owner.ID, // displayName: data.Owner.DisplayName, // }, // isTruncated: data.IsTruncated === 'true', // nextMarker: data.NextMarker || null, // res: result.res // }; // } // // throw yield this.requestError(result); // }; proto.useBucket = function useBucket(name) { _checkBucketName(name); this.options.bucket = name; return this; }; proto.setBucket = function useBucket(name) { _checkBucketName(name); this.options.bucket = name; return this; }; proto.getBucket = function getBucket() { return this.options.bucket; }; proto.deleteBucket = /*#__PURE__*/function () { var _deleteBucket = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, options) { var params, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: params = this._bucketRequestParams('DELETE', name, '', options); _context.next = 3; return this.request(params); case 3: result = _context.sent; if (!(result.status === 200 || result.status === 204)) { _context.next = 6; break; } return _context.abrupt("return", { res: result.res }); case 6: _context.next = 8; return this.requestError(result); case 8: throw _context.sent; case 9: case "end": return _context.stop(); } } }, _callee, this); })); function deleteBucket(_x, _x2) { return _deleteBucket.apply(this, arguments); } return deleteBucket; }(); // acl proto.putBucketACL = /*#__PURE__*/function () { var _putBucketACL = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(name, acl, options) { var params, result; return _regenerator.default.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: params = this._bucketRequestParams('PUT', name, 'acl', options); params.headers = { 'x-oss-acl': acl }; params.successStatuses = [200]; _context2.next = 5; return this.request(params); case 5: result = _context2.sent; return _context2.abrupt("return", { bucket: result.headers.location && result.headers.location.substring(1) || null, res: result.res }); case 7: case "end": return _context2.stop(); } } }, _callee2, this); })); function putBucketACL(_x3, _x4, _x5) { return _putBucketACL.apply(this, arguments); } return putBucketACL; }(); proto.getBucketACL = /*#__PURE__*/function () { var _getBucketACL = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(name, options) { var params, result; return _regenerator.default.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: params = this._bucketRequestParams('GET', name, 'acl', options); params.successStatuses = [200]; params.xmlResponse = true; _context3.next = 5; return this.request(params); case 5: result = _context3.sent; return _context3.abrupt("return", { acl: result.data.AccessControlList.Grant, owner: { id: result.data.Owner.ID, displayName: result.data.Owner.DisplayName }, res: result.res }); case 7: case "end": return _context3.stop(); } } }, _callee3, this); })); function getBucketACL(_x6, _x7) { return _getBucketACL.apply(this, arguments); } return getBucketACL; }(); // logging proto.putBucketLogging = /*#__PURE__*/function () { var _putBucketLogging = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(name, prefix, options) { var params, xml, result; return _regenerator.default.wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: params = this._bucketRequestParams('PUT', name, 'logging', options); xml = "".concat('<?xml version="1.0" encoding="UTF-8"?>\n<BucketLoggingStatus>\n' + '<LoggingEnabled>\n<TargetBucket>').concat(name, "</TargetBucket>\n"); if (prefix) { xml += "<TargetPrefix>".concat(prefix, "</TargetPrefix>\n"); } xml += '</LoggingEnabled>\n</BucketLoggingStatus>'; params.content = xml; params.mime = 'xml'; params.successStatuses = [200]; _context4.next = 9; return this.request(params); case 9: result = _context4.sent; return _context4.abrupt("return", { res: result.res }); case 11: case "end": return _context4.stop(); } } }, _callee4, this); })); function putBucketLogging(_x8, _x9, _x10) { return _putBucketLogging.apply(this, arguments); } return putBucketLogging; }(); proto.getBucketLogging = /*#__PURE__*/function () { var _getBucketLogging = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(name, options) { var params, result, enable; return _regenerator.default.wrap(function _callee5$(_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: params = this._bucketRequestParams('GET', name, 'logging', options); params.successStatuses = [200]; params.xmlResponse = true; _context5.next = 5; return this.request(params); case 5: result = _context5.sent; enable = result.data.LoggingEnabled; return _context5.abrupt("return", { enable: !!enable, prefix: enable && enable.TargetPrefix || null, res: result.res }); case 8: case "end": return _context5.stop(); } } }, _callee5, this); })); function getBucketLogging(_x11, _x12) { return _getBucketLogging.apply(this, arguments); } return getBucketLogging; }(); proto.deleteBucketLogging = /*#__PURE__*/function () { var _deleteBucketLogging = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(name, options) { var params, result; return _regenerator.default.wrap(function _callee6$(_context6) { while (1) { switch (_context6.prev = _context6.next) { case 0: params = this._bucketRequestParams('DELETE', name, 'logging', options); params.successStatuses = [204, 200]; _context6.next = 4; return this.request(params); case 4: result = _context6.sent; return _context6.abrupt("return", { res: result.res }); case 6: case "end": return _context6.stop(); } } }, _callee6, this); })); function deleteBucketLogging(_x13, _x14) { return _deleteBucketLogging.apply(this, arguments); } return deleteBucketLogging; }(); proto.putBucketCORS = /*#__PURE__*/function () { var _putBucketCORS = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7(name, rules, options) { var params, xml, parseOrigin, parseMethod, parseHeader, parseExposeHeader, i, l, rule, result; return _regenerator.default.wrap(function _callee7$(_context7) { while (1) { switch (_context7.prev = _context7.next) { case 0: rules = rules || []; assert(rules.length, 'rules is required'); rules.forEach(function (rule) { assert(rule.allowedOrigin, 'allowedOrigin is required'); assert(rule.allowedMethod, 'allowedMethod is required'); }); params = this._bucketRequestParams('PUT', name, 'cors', options); xml = '<?xml version="1.0" encoding="UTF-8"?>\n<CORSConfiguration>'; parseOrigin = function parseOrigin(val) { xml += "<AllowedOrigin>".concat(val, "</AllowedOrigin>"); }; parseMethod = function parseMethod(val) { xml += "<AllowedMethod>".concat(val, "</AllowedMethod>"); }; parseHeader = function parseHeader(val) { xml += "<AllowedHeader>".concat(val, "</AllowedHeader>"); }; parseExposeHeader = function parseExposeHeader(val) { xml += "<ExposeHeader>".concat(val, "</ExposeHeader>"); }; for (i = 0, l = rules.length; i < l; i++) { rule = rules[i]; xml += '<CORSRule>'; toArray(rule.allowedOrigin).forEach(parseOrigin); toArray(rule.allowedMethod).forEach(parseMethod); toArray(rule.allowedHeader).forEach(parseHeader); toArray(rule.exposeHeader).forEach(parseExposeHeader); if (rule.maxAgeSeconds) { xml += "<MaxAgeSeconds>".concat(rule.maxAgeSeconds, "</MaxAgeSeconds>"); } xml += '</CORSRule>'; } xml += '</CORSConfiguration>'; params.content = xml; params.mime = 'xml'; params.successStatuses = [200]; _context7.next = 16; return this.request(params); case 16: result = _context7.sent; return _context7.abrupt("return", { res: result.res }); case 18: case "end": return _context7.stop(); } } }, _callee7, this); })); function putBucketCORS(_x15, _x16, _x17) { return _putBucketCORS.apply(this, arguments); } return putBucketCORS; }(); proto.getBucketCORS = /*#__PURE__*/function () { var _getBucketCORS = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8(name, options) { var params, result, rules, CORSRule; return _regenerator.default.wrap(function _callee8$(_context8) { while (1) { switch (_context8.prev = _context8.next) { case 0: params = this._bucketRequestParams('GET', name, 'cors', options); params.successStatuses = [200]; params.xmlResponse = true; _context8.next = 5; return this.request(params); case 5: result = _context8.sent; rules = []; if (result.data && result.data.CORSRule) { CORSRule = result.data.CORSRule; if (!isArray(CORSRule)) CORSRule = [CORSRule]; CORSRule.forEach(function (rule) { var r = {}; Object.keys(rule).forEach(function (key) { r[key.slice(0, 1).toLowerCase() + key.slice(1, key.length)] = rule[key]; }); rules.push(r); }); } return _context8.abrupt("return", { rules: rules, res: result.res }); case 9: case "end": return _context8.stop(); } } }, _callee8, this); })); function getBucketCORS(_x18, _x19) { return _getBucketCORS.apply(this, arguments); } return getBucketCORS; }(); proto.deleteBucketCORS = /*#__PURE__*/function () { var _deleteBucketCORS = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9(name, options) { var params, result; return _regenerator.default.wrap(function _callee9$(_context9) { while (1) { switch (_context9.prev = _context9.next) { case 0: params = this._bucketRequestParams('DELETE', name, 'cors', options); params.successStatuses = [204]; _context9.next = 4; return this.request(params); case 4: result = _context9.sent; return _context9.abrupt("return", { res: result.res }); case 6: case "end": return _context9.stop(); } } }, _callee9, this); })); function deleteBucketCORS(_x20, _x21) { return _deleteBucketCORS.apply(this, arguments); } return deleteBucketCORS; }(); // referer proto.putBucketReferer = /*#__PURE__*/function () { var _putBucketReferer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10(name, allowEmpty, referers, options) { var params, xml, i, result; return _regenerator.default.wrap(function _callee10$(_context10) { while (1) { switch (_context10.prev = _context10.next) { case 0: params = this._bucketRequestParams('PUT', name, 'referer', options); xml = '<?xml version="1.0" encoding="UTF-8"?>\n<RefererConfiguration>\n'; xml += " <AllowEmptyReferer>".concat(allowEmpty ? 'true' : 'false', "</AllowEmptyReferer>\n"); if (referers && referers.length > 0) { xml += ' <RefererList>\n'; for (i = 0; i < referers.length; i++) { xml += " <Referer>".concat(referers[i], "</Referer>\n"); } xml += ' </RefererList>\n'; } else { xml += ' <RefererList />\n'; } xml += '</RefererConfiguration>'; params.content = xml; params.mime = 'xml'; params.successStatuses = [200]; _context10.next = 10; return this.request(params); case 10: result = _context10.sent; return _context10.abrupt("return", { res: result.res }); case 12: case "end": return _context10.stop(); } } }, _callee10, this); })); function putBucketReferer(_x22, _x23, _x24, _x25) { return _putBucketReferer.apply(this, arguments); } return putBucketReferer; }(); proto.getBucketReferer = /*#__PURE__*/function () { var _getBucketReferer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11(name, options) { var params, result, referers; return _regenerator.default.wrap(function _callee11$(_context11) { while (1) { switch (_context11.prev = _context11.next) { case 0: params = this._bucketRequestParams('GET', name, 'referer', options); params.successStatuses = [200]; params.xmlResponse = true; _context11.next = 5; return this.request(params); case 5: result = _context11.sent; referers = result.data.RefererList.Referer || null; if (referers) { if (!isArray(referers)) { referers = [referers]; } } return _context11.abrupt("return", { allowEmpty: result.data.AllowEmptyReferer === 'true', referers: referers, res: result.res }); case 9: case "end": return _context11.stop(); } } }, _callee11, this); })); function getBucketReferer(_x26, _x27) { return _getBucketReferer.apply(this, arguments); } return getBucketReferer; }(); proto.deleteBucketReferer = /*#__PURE__*/function () { var _deleteBucketReferer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12(name, options) { return _regenerator.default.wrap(function _callee12$(_context12) { while (1) { switch (_context12.prev = _context12.next) { case 0: _context12.next = 2; return this.putBucketReferer(name, true, null, options); case 2: return _context12.abrupt("return", _context12.sent); case 3: case "end": return _context12.stop(); } } }, _callee12, this); })); function deleteBucketReferer(_x28, _x29) { return _deleteBucketReferer.apply(this, arguments); } return deleteBucketReferer; }(); // private apis proto._bucketRequestParams = function _bucketRequestParams(method, bucket, subres, options) { return { method: method, bucket: bucket, subres: subres, timeout: options && options.timeout, ctx: options && options.ctx }; }; },{"../common/utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"assert":78,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/web.dom-collections.for-each.js":296}],3:[function(require,module,exports){ (function (Buffer,process){(function (){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); require("core-js/modules/es.function.name.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.split.js"); require("core-js/modules/es.object.assign.js"); require("core-js/modules/es.array.includes.js"); require("core-js/modules/es.string.replace.js"); require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.symbol.js"); require("core-js/modules/es.symbol.description.js"); require("core-js/modules/es.array.slice.js"); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.promise.js"); require("core-js/modules/es.regexp.to-string.js"); var debug = require('debug')('ali-oss'); var xml = require('xml2js'); var AgentKeepalive = require('agentkeepalive'); var merge = require('merge-descriptors'); var platform = require('platform'); var utility = require('utility'); var urllib = require('urllib'); var pkg = require('./version'); var bowser = require('bowser'); var signUtils = require('../common/signUtils'); var _initOptions = require('../common/client/initOptions'); var _require = require('../common/utils/createRequest'), createRequest = _require.createRequest; var _require2 = require('../common/utils/encoder'), encoder = _require2.encoder; var _require3 = require('../common/client/getReqUrl'), getReqUrl = _require3.getReqUrl; var _require4 = require('../common/utils/setSTSToken'), setSTSToken = _require4.setSTSToken; var _require5 = require('../common/utils/retry'), retry = _require5.retry; var _require6 = require('../common/utils/isFunction'), isFunction = _require6.isFunction; var globalHttpAgent = new AgentKeepalive(); function _unSupportBrowserTip() { var name = platform.name, version = platform.version; if (name && name.toLowerCase && name.toLowerCase() === 'ie' && version.split('.')[0] < 10) { // eslint-disable-next-line no-console console.warn('ali-oss does not support the current browser'); } } // check local web protocol,if https secure default set true , if http secure default set false function isHttpsWebProtocol() { // for web worker not use window.location. // eslint-disable-next-line no-restricted-globals return location && location.protocol === 'https:'; } function Client(options, ctx) { _unSupportBrowserTip(); if (!(this instanceof Client)) { return new Client(options, ctx); } if (options && options.inited) { this.options = options; } else { this.options = Client.initOptions(options); } this.options.cancelFlag = false; // cancel flag: if true need to be cancelled, default false // support custom agent and urllib client if (this.options.urllib) { this.urllib = this.options.urllib; } else { this.urllib = urllib; this.agent = this.options.agent || globalHttpAgent; } this.ctx = ctx; this.userAgent = this._getUserAgent(); this.stsTokenFreshTime = new Date(); // record the time difference between client and server this.options.amendTimeSkewed = 0; } /** * Expose `Client` */ module.exports = Client; Client.initOptions = function initOptions(options) { if (!options.stsToken) { console.warn('Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html'); } var opts = Object.assign({ secure: isHttpsWebProtocol(), // for browser compatibility disable fetch. useFetch: false }, options); return _initOptions(opts); }; /** * prototype */ var proto = Client.prototype; // mount debug on proto proto.debug = debug; /** * Object operations */ merge(proto, require('./object')); /** * Bucket operations */ merge(proto, require('./bucket')); merge(proto, require('../common/bucket/getBucketWebsite')); merge(proto, require('../common/bucket/putBucketWebsite')); merge(proto, require('../common/bucket/deleteBucketWebsite')); // lifecycle merge(proto, require('../common/bucket/getBucketLifecycle')); merge(proto, require('../common/bucket/putBucketLifecycle')); merge(proto, require('../common/bucket/deleteBucketLifecycle')); // multiversion merge(proto, require('../common/bucket/putBucketVersioning')); merge(proto, require('../common/bucket/getBucketVersioning')); // inventory merge(proto, require('../common/bucket/getBucketInventory')); merge(proto, require('../common/bucket/deleteBucketInventory')); merge(proto, require('../common/bucket/listBucketInventory')); merge(proto, require('../common/bucket/putBucketInventory')); // worm merge(proto, require('../common/bucket/abortBucketWorm')); merge(proto, require('../common/bucket/completeBucketWorm')); merge(proto, require('../common/bucket/extendBucketWorm')); merge(proto, require('../common/bucket/getBucketWorm')); merge(proto, require('../common/bucket/initiateBucketWorm')); // multipart upload merge(proto, require('./managed-upload')); /** * common multipart-copy support node and browser */ merge(proto, require('../common/multipart-copy')); /** * Multipart operations */ merge(proto, require('../common/multipart')); /** * Common module parallel */ merge(proto, require('../common/parallel')); /** * get OSS signature * @param {String} stringToSign * @return {String} the signature */ proto.signature = function signature(stringToSign) { this.debug('authorization stringToSign: %s', stringToSign, 'info'); return signUtils.computeSignature(this.options.accessKeySecret, stringToSign, this.options.headerEncoding); }; proto._getReqUrl = getReqUrl; /** * get author header * * "Authorization: OSS " + Access Key Id + ":" + Signature * * Signature = base64(hmac-sha1(Access Key Secret + "\n" * + VERB + "\n" * + CONTENT-MD5 + "\n" * + CONTENT-TYPE + "\n" * + DATE + "\n" * + CanonicalizedOSSHeaders * + CanonicalizedResource)) * * @param {String} method * @param {String} resource * @param {Object} header * @return {String} * * @api private */ proto.authorization = function authorization(method, resource, subres, headers) { var stringToSign = signUtils.buildCanonicalString(method.toUpperCase(), resource, { headers: headers, parameters: subres }); return signUtils.authorization(this.options.accessKeyId, this.options.accessKeySecret, stringToSign, this.options.headerEncoding); }; /** * request oss server * @param {Object} params * - {String} object * - {String} bucket * - {Object} [headers] * - {Object} [query] * - {Buffer} [content] * - {Stream} [stream] * - {Stream} [writeStream] * - {String} [mime] * - {Boolean} [xmlResponse] * - {Boolean} [customResponse] * - {Number} [timeout] * - {Object} [ctx] request context, default is `this.ctx` * * @api private */ proto.request = /*#__PURE__*/function () { var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(params) { var _this = this; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: if (!this.options.retryMax) { _context.next = 6; break; } _context.next = 3; return retry(request.bind(this), this.options.retryMax, { errorHandler: function errorHandler(err) { var _errHandle = function _errHandle(_err) { if (params.stream) return false; var statusErr = [-1, -2].includes(_err.status); var requestErrorRetryHandle = _this.options.requestErrorRetryHandle || function () { return true; }; return statusErr && requestErrorRetryHandle(_err); }; if (_errHandle(err)) return true; return false; } })(params); case 3: return _context.abrupt("return", _context.sent); case 6: return _context.abrupt("return", request.call(this, params)); case 7: case "end": return _context.stop(); } } }, _callee, this); })); return function (_x) { return _ref.apply(this, arguments); }; }(); function request(_x2) { return _request.apply(this, arguments); } function _request() { _request = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(params) { var reqParams, result, reqErr, useStream, err, parseData; return _regenerator.default.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: if (!(this.options.stsToken && isFunction(this.options.refreshSTSToken))) { _context3.next = 3; break; } _context3.next = 3; return setSTSToken.call(this); case 3: reqParams = createRequest.call(this, params); if (!this.options.useFetch) { reqParams.params.mode = 'disable-fetch'; } useStream = !!params.stream; _context3.prev = 6; _context3.next = 9; return this.urllib.request(reqParams.url, reqParams.params); case 9: result = _context3.sent; this.debug('response %s %s, got %s, headers: %j', params.method, reqParams.url, result.status, result.headers, 'info'); _context3.next = 16; break; case 13: _context3.prev = 13; _context3.t0 = _context3["catch"](6); reqErr = _context3.t0; case 16: if (!(result && params.successStatuses && params.successStatuses.indexOf(result.status) === -1)) { _context3.next = 28; break; } _context3.next = 19; return this.requestError(result); case 19: err = _context3.sent; if (!(err.code === 'RequestTimeTooSkewed' && !useStream)) { _context3.next = 25; break; } this.options.amendTimeSkewed = +new Date(err.serverTime) - new Date(); _context3.next = 24; return this.request(params); case 24: return _context3.abrupt("return", _context3.sent); case 25: err.params = params; _context3.next = 32; break; case 28: if (!reqErr) { _context3.next = 32; break; } _context3.next = 31; return this.requestError(reqErr); case 31: err = _context3.sent; case 32: if (!err) { _context3.next = 34; break; } throw err; case 34: if (!params.xmlResponse) { _context3.next = 39; break; } _context3.next = 37; return this.parseXML(result.data); case 37: parseData = _context3.sent; result.data = parseData; case 39: return _context3.abrupt("return", result); case 40: case "end": return _context3.stop(); } } }, _callee3, this, [[6, 13]]); })); return _request.apply(this, arguments); } proto._getResource = function _getResource(params) { var resource = '/'; if (params.bucket) resource += "".concat(params.bucket, "/"); if (params.object) resource += encoder(params.object, this.options.headerEncoding); return resource; }; proto._escape = function _escape(name) { return utility.encodeURIComponent(name).replace(/%2F/g, '/'); }; /* * Get User-Agent for browser & node.js * @example * aliyun-sdk-nodejs/4.1.2 Node.js 5.3.0 on Darwin 64-bit * aliyun-sdk-js/4.1.2 Safari 9.0 on Apple iPhone(iOS 9.2.1) * aliyun-sdk-js/4.1.2 Chrome 43.0.2357.134 32-bit on Windows Server 2008 R2 / 7 64-bit */ proto._getUserAgent = function _getUserAgent() { var agent = process && process.browser ? 'js' : 'nodejs'; var sdk = "aliyun-sdk-".concat(agent, "/").concat(pkg.version); var plat = platform.description; if (!plat && process) { plat = "Node.js ".concat(process.version.slice(1), " on ").concat(process.platform, " ").concat(process.arch); } return this._checkUserAgent("".concat(sdk, " ").concat(plat)); }; proto._checkUserAgent = function _checkUserAgent(ua) { var userAgent = ua.replace(/\u03b1/, 'alpha').replace(/\u03b2/, 'beta'); return userAgent; }; /* * Check Browser And Version * @param {String} [name] browser name: like IE, Chrome, Firefox * @param {String} [version] browser major version: like 10(IE 10.x), 55(Chrome 55.x), 50(Firefox 50.x) * @return {Bool} true or false * @api private */ proto.checkBrowserAndVersion = function checkBrowserAndVersion(name, version) { return bowser.name === name && bowser.version.split('.')[0] === version; }; /** * thunkify xml.parseString * @param {String|Buffer} str * * @api private */ proto.parseXML = function parseXMLThunk(str) { return new Promise(function (resolve, reject) { if (Buffer.isBuffer(str)) { str = str.toString(); } xml.parseString(str, { explicitRoot: false, explicitArray: false }, function (err, result) { if (err) { reject(err); } else { resolve(result); } }); }); }; /** * generater a request error with request response * @param {Object} result * * @api private */ proto.requestError = /*#__PURE__*/function () { var _requestError = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(result) { var err, message, info, msg; return _regenerator.default.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: err = null; if (!(!result.data || !result.data.length)) { _context2.next = 5; break; } if (result.status === -1 || result.status === -2) { // -1 is net error , -2 is timeout err = new Error(result.message); err.name = result.name; err.status = result.status; err.code = result.name; } else { // HEAD not exists resource if (result.status === 404) { err = new Error('Object not exists'); err.name = 'NoSuchKeyError'; err.status = 404; err.code = 'NoSuchKey'; } else if (result.status === 412) { err = new Error('Pre condition failed'); err.name = 'PreconditionFailedError'; err.status = 412; err.code = 'PreconditionFailed'; } else { err = new Error("Unknow error, status: ".concat(result.status)); err.name = 'UnknowError'; err.status = result.status; } err.requestId = result.headers['x-oss-request-id']; err.host = ''; } _context2.next = 32; break; case 5: message = String(result.data); this.debug('request response error data: %s', message, 'error'); _context2.prev = 7; _context2.next = 10; return this.parseXML(message); case 10: _context2.t0 = _context2.sent; if (_context2.t0) { _context2.next = 13; break; } _context2.t0 = {}; case 13: info = _context2.t0; _context2.next = 23; break; case 16: _context2.prev = 16; _context2.t1 = _context2["catch"](7); this.debug(message, 'error'); _context2.t1.message += "\nraw xml: ".concat(message); _context2.t1.status = result.status; _context2.t1.requestId = result.headers['x-oss-request-id']; return _context2.abrupt("return", _context2.t1); case 23: msg = info.Message || "unknow request error, status: ".concat(result.status); if (info.Condition) { msg += " (condition: ".concat(info.Condition, ")"); } err = new Error(msg); err.name = info.Code ? "".concat(info.Code, "Error") : 'UnknowError'; err.status = result.status; err.code = info.Code; err.requestId = info.RequestId; err.hostId = info.HostId; err.serverTime = info.ServerTime; case 32: this.debug('generate error %j', err, 'error'); return _context2.abrupt("return", err); case 34: case "end": return _context2.stop(); } } }, _callee2, this, [[7, 16]]); })); function requestError(_x3) { return _requestError.apply(this, arguments); } return requestError; }(); }).call(this)}).call(this,{"isBuffer":require("../../node_modules/is-buffer/index.js")},require('_process')) },{"../../node_modules/is-buffer/index.js":312,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":48,"../common/signUtils":49,"../common/utils/createRequest":54,"../common/utils/encoder":57,"../common/utils/isFunction":65,"../common/utils/retry":70,"../common/utils/setSTSToken":72,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"_process":399,"agentkeepalive":77,"bowser":83,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.includes.js":246,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.replace.js":266,"core-js/modules/es.string.split.js":268,"core-js/modules/es.symbol.description.js":270,"core-js/modules/es.symbol.js":271,"debug":397,"merge-descriptors":315,"platform":322,"urllib":407,"utility":406,"xml2js":358}],4:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.function.name.js"); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.promise.js"); require("core-js/modules/es.array.from.js"); require("core-js/modules/es.string.iterator.js"); require("core-js/modules/es.array.map.js"); require("core-js/modules/es.array.filter.js"); require("core-js/modules/es.array.find.js"); require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.regexp.to-string.js"); require("core-js/modules/es.array.slice.js"); require("core-js/modules/es.array.iterator.js"); require("core-js/modules/es.array-buffer.slice.js"); require("core-js/modules/es.typed-array.uint8-array.js"); require("core-js/modules/es.typed-array.copy-within.js"); require("core-js/modules/es.typed-array.every.js"); require("core-js/modules/es.typed-array.fill.js"); require("core-js/modules/es.typed-array.filter.js"); require("core-js/modules/es.typed-array.find.js"); require("core-js/modules/es.typed-array.find-index.js"); require("core-js/modules/es.typed-array.for-each.js"); require("core-js/modules/es.typed-array.includes.js"); require("core-js/modules/es.typed-array.index-of.js"); require("core-js/modules/es.typed-array.iterator.js"); require("core-js/modules/es.typed-array.join.js"); require("core-js/modules/es.typed-array.last-index-of.js"); require("core-js/modules/es.typed-array.map.js"); require("core-js/modules/es.typed-array.reduce.js"); require("core-js/modules/es.typed-array.reduce-right.js"); require("core-js/modules/es.typed-array.reverse.js"); require("core-js/modules/es.typed-array.set.js"); require("core-js/modules/es.typed-array.slice.js"); require("core-js/modules/es.typed-array.some.js"); require("core-js/modules/es.typed-array.sort.js"); require("core-js/modules/es.typed-array.subarray.js"); require("core-js/modules/es.typed-array.to-locale-string.js"); require("core-js/modules/es.typed-array.to-string.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); // var debug = require('debug')('ali-oss:multipart'); var util = require('util'); var path = require('path'); var mime = require('mime'); var copy = require('copy-to'); var _require = require('../common/utils/isBlob'), isBlob = _require.isBlob; var _require2 = require('../common/utils/isFile'), isFile = _require2.isFile; var _require3 = require('../common/utils/isArray'), isArray = _require3.isArray; var _require4 = require('../common/utils/isBuffer'), isBuffer = _require4.isBuffer; var _require5 = require('../common/utils/retry'), retry = _require5.retry; var proto = exports; /** * Multipart operations */ /** * Upload a file to OSS using multipart uploads * @param {String} name * @param {String|File|Buffer} file * @param {Object} options * {Object} options.callback The callback parameter is composed of a JSON string encoded in Base64 * {String} options.callback.url the OSS sends a callback request to this URL * {String} options.callback.host The host header value for initiating callback requests * {String} options.callback.body The value of the request body when a callback is initiated * {String} options.callback.contentType The Content-Type of the callback requests initiatiated * {Object} options.callback.customValue Custom parameters are a map of key-values, e.g: * customValue = { * key1: 'value1', * key2: 'value2' * } */ proto.multipartUpload = /*#__PURE__*/function () { var _multipartUpload = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, file) { var options, minPartSize, fileSize, result, ret, initResult, uploadId, partSize, checkpoint, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 2 && _args[2] !== undefined ? _args[2] : {}; this.resetCancelFlag(); options.disabledMD5 = options.disabledMD5 === undefined ? true : !!options.disabledMD5; if (!(options.checkpoint && options.checkpoint.uploadId)) { _context.next = 8; break; } if (file && isFile(file)) options.checkpoint.file = file; _context.next = 7; return this._resumeMultipart(options.checkpoint, options); case 7: return _context.abrupt("return", _context.sent); case 8: minPartSize = 100 * 1024; if (!options.mime) { if (isFile(file)) { options.mime = mime.getType(path.extname(file.name)); } else if (isBlob(file)) { options.mime = file.type; } else if (isBuffer(file)) { options.mime = ''; } else { options.mime = mime.getType(path.extname(file)); } } options.headers = options.headers || {}; this._convertMetaToHeaders(options.meta, options.headers); _context.next = 14; return this._getFileSize(file); case 14: fileSize = _context.sent; if (!(fileSize < minPartSize)) { _context.next = 26; break; } options.contentLength = fileSize; _context.next = 19; return this.put(name, file, options); case 19: result = _context.sent; if (!(options && options.progress)) { _context.next = 23; break; } _context.next = 23; return options.progress(1); case 23: ret = { res: result.res, bucket: this.options.bucket, name: name, etag: result.res.headers.etag }; if (options.headers && options.headers['x-oss-callback'] || options.callback) { ret.data = result.data; } return _context.abrupt("return", ret); case 26: if (!(options.partSize && !(parseInt(options.partSize, 10) === options.partSize))) { _context.next = 28; break; } throw new Error('partSize must be int number'); case 28: if (!(options.partSize && options.partSize < minPartSize)) { _context.next = 30; break; } throw new Error("partSize must not be smaller than ".concat(minPartSize)); case 30: _context.next = 32; return this.initMultipartUpload(name, options); case 32: initResult = _context.sent; uploadId = initResult.uploadId; partSize = this._getPartSize(fileSize, options.partSize); checkpoint = { file: file, name: name, fileSize: fileSize, partSize: partSize, uploadId: uploadId, doneParts: [] }; if (!(options && options.progress)) { _context.next = 39; break; } _context.next = 39; return options.progress(0, checkpoint, initResult.res); case 39: _context.next = 41; return this._resumeMultipart(checkpoint, options); case 41: return _context.abrupt("return", _context.sent); case 42: case "end": return _context.stop(); } } }, _callee, this); })); function multipartUpload(_x, _x2) { return _multipartUpload.apply(this, arguments); } return multipartUpload; }(); /* * Resume multipart upload from checkpoint. The checkpoint will be * updated after each successful part upload. * @param {Object} checkpoint the checkpoint * @param {Object} options */ proto._resumeMultipart = /*#__PURE__*/function () { var _resumeMultipart2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(checkpoint, options) { var that, file, fileSize, partSize, uploadId, doneParts, name, internalDoneParts, partOffs, numParts, multipartFinish, uploadPartJob, all, done, todo, defaultParallel, parallel, jobErr, abortEvent; return _regenerator.default.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: that = this; if (!this.isCancel()) { _context3.next = 3; break; } throw this._makeCancelEvent(); case 3: file = checkpoint.file, fileSize = checkpoint.fileSize, partSize = checkpoint.partSize, uploadId = checkpoint.uploadId, doneParts = checkpoint.doneParts, name = checkpoint.name; internalDoneParts = []; if (doneParts.length > 0) { copy(doneParts).to(internalDoneParts); } partOffs = this._divideParts(fileSize, partSize); numParts = partOffs.length; multipartFinish = false; uploadPartJob = function uploadPartJob(self, partNo) { // eslint-disable-next-line no-async-promise-executor return new Promise( /*#__PURE__*/function () { var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(resolve, reject) { var pi, content, data, result, tempErr; return _regenerator.default.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: _context2.prev = 0; if (self.isCancel()) { _context2.next = 29; break; } pi = partOffs[partNo - 1]; _context2.next = 5; return self._createBuffer(file, pi.start, pi.end); case 5: content = _context2.sent; data = { content: content, size: pi.end - pi.start }; _context2.prev = 7; _context2.next = 10; return self._uploadPart(name, uploadId, partNo, data, { timeout: options.timeout, disabledMD5: options.disabledMD5 }); case 10: result = _context2.sent; _context2.next = 18; break; case 13: _context2.prev = 13; _context2.t0 = _context2["catch"](7); if (!(_context2.t0.status === 404)) { _context2.next = 17; break; } throw self._makeAbortEvent(); case 17: throw _context2.t0; case 18: if (!(!self.isCancel() && !multipartFinish)) { _context2.next = 26; break; } checkpoint.doneParts.push({ number: partNo, etag: result.res.headers.etag }); if (!options.progress) { _context2.next = 23; break; } _context2.next = 23; return options.progress(doneParts.length / numParts, checkpoint, result.res); case 23: resolve({ number: partNo, etag: result.res.headers.etag }); _context2.next = 27; break; case 26: resolve(); case 27: _context2.next = 30; break; case 29: resolve(); case 30: _context2.next = 41; break; case 32: _context2.prev = 32; _context2.t1 = _context2["catch"](0); tempErr = new Error(); tempErr.name = _context2.t1.name; tempErr.message = _context2.t1.message; tempErr.stack = _context2.t1.stack; tempErr.partNum = partNo; copy(_context2.t1).to(tempErr); reject(tempErr); case 41: case "end": return _context2.stop(); } } }, _callee2, null, [[0, 32], [7, 13]]); })); return function (_x5, _x6) { return _ref.apply(this, arguments); }; }()); }; all = Array.from(new Array(numParts), function (x, i) { return i + 1; }); done = internalDoneParts.map(function (p) { return p.number; }); todo = all.filter(function (p) { return done.indexOf(p) < 0; }); defaultParallel = 5; parallel = options.parallel || defaultParallel; // upload in parallel _context3.next = 17; return this._parallel(todo, parallel, function (value) { return new Promise(function (resolve, reject) { uploadPartJob(that, value).then(function (result) { if (result) { internalDoneParts.push(result); } resolve(); }).catch(function (err) { reject(err); }); }); }); case 17: jobErr = _context3.sent; multipartFinish = true; abortEvent = jobErr.find(function (err) { return err.name === 'abort'; }); if (!abortEvent) { _context3.next = 22; break; } throw abortEvent; case 22: if (!this.isCancel()) { _context3.next = 25; break; } uploadPartJob = null; throw this._makeCancelEvent(); case 25: if (!(jobErr && jobErr.length > 0)) { _context3.next = 28; break; } jobErr[0].message = "Failed to upload some parts with error: ".concat(jobErr[0].toString(), " part_num: ").concat(jobErr[0].partNum); throw jobErr[0]; case 28: _context3.next = 30; return this.completeMultipartUpload(name, uploadId, internalDoneParts, options); case 30: return _context3.abrupt("return", _context3.sent); case 31: case "end": return _context3.stop(); } } }, _callee3, this); })); function _resumeMultipart(_x3, _x4) { return _resumeMultipart2.apply(this, arguments); } return _resumeMultipart; }(); /** * Get file size */ proto._getFileSize = /*#__PURE__*/function () { var _getFileSize2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(file) { return _regenerator.default.wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: if (!isBuffer(file)) { _context4.next = 4; break; } return _context4.abrupt("return", file.length); case 4: if (!(isBlob(file) || isFile(file))) { _context4.next = 6; break; } return _context4.abrupt("return", file.size); case 6: throw new Error('_getFileSize requires Buffer/File/Blob.'); case 7: case "end": return _context4.stop(); } } }, _callee4); })); function _getFileSize(_x7) { return _getFileSize2.apply(this, arguments); } return _getFileSize; }(); /* * Readable stream for Web File */ var _require6 = require('stream'), Readable = _require6.Readable; function WebFileReadStream(file, options) { if (!(this instanceof WebFileReadStream)) { return new WebFileReadStream(file, options); } Readable.call(this, options); this.file = file; this.reader = new FileReader(); this.start = 0; this.finish = false; this.fileBuffer = null; } util.inherits(WebFileReadStream, Readable); WebFileReadStream.prototype.readFileAndPush = function readFileAndPush(size) { if (this.fileBuffer) { var pushRet = true; while (pushRet && this.fileBuffer && this.start < this.fileBuffer.length) { var start = this.start; var end = start + size; end = end > this.fileBuffer.length ? this.fileBuffer.length : end; this.start = end; pushRet = this.push(this.fileBuffer.slice(start, end)); } } }; WebFileReadStream.prototype._read = function _read(size) { if (this.file && this.start >= this.file.size || this.fileBuffer && this.start >= this.fileBuffer.length || this.finish || this.start === 0 && !this.file) { if (!this.finish) { this.fileBuffer = null; this.finish = true; } this.push(null); return; } var defaultReadSize = 16 * 1024; size = size || defaultReadSize; var that = this; this.reader.onload = function onload(e) { that.fileBuffer = Buffer.from(new Uint8Array(e.target.result)); that.file = null; that.readFileAndPush(size); }; if (this.start === 0) { this.reader.readAsArrayBuffer(this.file); } else { this.readFileAndPush(size); } }; function getBuffer(file) { // Some browsers do not support Blob.prototype.arrayBuffer, such as IE if (file.arrayBuffer) return file.arrayBuffer(); return new Promise(function (resolve, reject) { var reader = new FileReader(); reader.onload = function (e) { resolve(e.target.result); }; reader.onerror = function (e) { reject(e); }; reader.readAsArrayBuffer(file); }); } proto._createBuffer = /*#__PURE__*/function () { var _createBuffer2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(file, start, end) { var _file, fileContent; return _regenerator.default.wrap(function _callee5$(_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: if (!(isBlob(file) || isFile(file))) { _context5.next = 8; break; } _file = file.slice(start, end); _context5.next = 4; return getBuffer(_file); case 4: fileContent = _context5.sent; return _context5.abrupt("return", Buffer.from(fileContent)); case 8: if (!isBuffer(file)) { _context5.next = 12; break; } return _context5.abrupt("return", file.subarray(start, end)); case 12: throw new Error('_createBuffer requires File/Blob/Buffer.'); case 13: case "end": return _context5.stop(); } } }, _callee5); })); function _createBuffer(_x8, _x9, _x10) { return _createBuffer2.apply(this, arguments); } return _createBuffer; }(); proto._getPartSize = function _getPartSize(fileSize, partSize) { var maxNumParts = 10 * 1000; var defaultPartSize = 1 * 1024 * 1024; if (!partSize) partSize = defaultPartSize; var safeSize = Math.ceil(fileSize / maxNumParts); if (partSize < safeSize) { partSize = safeSize; console.warn("partSize has been set to ".concat(partSize, ", because the partSize you provided causes partNumber to be greater than 10,000")); } return partSize; }; proto._divideParts = function _divideParts(fileSize, partSize) { var numParts = Math.ceil(fileSize / partSize); var partOffs = []; for (var i = 0; i < numParts; i++) { var start = partSize * i; var end = Math.min(start + partSize, fileSize); partOffs.push({ start: start, end: end }); } return partOffs; }; }).call(this)}).call(this,require("buffer").Buffer) },{"../common/utils/isArray":61,"../common/utils/isBlob":62,"../common/utils/isBuffer":63,"../common/utils/isFile":64,"../common/utils/retry":70,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"buffer":85,"copy-to":88,"core-js/modules/es.array-buffer.slice.js":240,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.filter.js":243,"core-js/modules/es.array.find.js":244,"core-js/modules/es.array.from.js":245,"core-js/modules/es.array.iterator.js":247,"core-js/modules/es.array.map.js":249,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.iterator.js":264,"core-js/modules/es.typed-array.copy-within.js":272,"core-js/modules/es.typed-array.every.js":273,"core-js/modules/es.typed-array.fill.js":274,"core-js/modules/es.typed-array.filter.js":275,"core-js/modules/es.typed-array.find-index.js":276,"core-js/modules/es.typed-array.find.js":277,"core-js/modules/es.typed-array.for-each.js":278,"core-js/modules/es.typed-array.includes.js":279,"core-js/modules/es.typed-array.index-of.js":280,"core-js/modules/es.typed-array.iterator.js":281,"core-js/modules/es.typed-array.join.js":282,"core-js/modules/es.typed-array.last-index-of.js":283,"core-js/modules/es.typed-array.map.js":284,"core-js/modules/es.typed-array.reduce-right.js":285,"core-js/modules/es.typed-array.reduce.js":286,"core-js/modules/es.typed-array.reverse.js":287,"core-js/modules/es.typed-array.set.js":288,"core-js/modules/es.typed-array.slice.js":289,"core-js/modules/es.typed-array.some.js":290,"core-js/modules/es.typed-array.sort.js":291,"core-js/modules/es.typed-array.subarray.js":292,"core-js/modules/es.typed-array.to-locale-string.js":293,"core-js/modules/es.typed-array.to-string.js":294,"core-js/modules/es.typed-array.uint8-array.js":295,"mime":317,"path":321,"stream":345,"util":352}],5:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); require("core-js/modules/es.function.name.js"); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.regexp.to-string.js"); require("core-js/modules/es.array.map.js"); require("core-js/modules/es.number.constructor.js"); require("core-js/modules/es.object.assign.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.replace.js"); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); require("core-js/modules/es.promise.js"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); // const debug = require('debug')('ali-oss:object'); var fs = require('fs'); var copy = require('copy-to'); var path = require('path'); var mime = require('mime'); var callback = require('../common/callback'); var merge = require('merge-descriptors'); var _require = require('../common/utils/isBlob'), isBlob = _require.isBlob; var _require2 = require('../common/utils/isFile'), isFile = _require2.isFile; var _require3 = require('../common/utils/isBuffer'), isBuffer = _require3.isBuffer; var _require4 = require('../common/utils/obj2xml'), obj2xml = _require4.obj2xml; // var assert = require('assert'); var proto = exports; /** * Object operations */ /** * append an object from String(file path)/Buffer/ReadableStream * @param {String} name the object key * @param {Mixed} file String(file path)/Buffer/ReadableStream * @param {Object} options * @return {Object} */ proto.append = /*#__PURE__*/function () { var _append = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, file, options) { var result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = options || {}; if (options.position === undefined) options.position = '0'; options.subres = { append: '', position: options.position }; options.method = 'POST'; _context.next = 6; return this.put(name, file, options); case 6: result = _context.sent; result.nextAppendPosition = result.res.headers['x-oss-next-append-position']; return _context.abrupt("return", result); case 9: case "end": return _context.stop(); } } }, _callee, this); })); function append(_x, _x2, _x3) { return _append.apply(this, arguments); } return append; }(); /** * put an object from String(file path)/Buffer/ReadableStream * @param {String} name the object key * @param {Mixed} file String(file path)/Buffer/ReadableStream * @param {Object} options * {Object} options.callback The callback parameter is composed of a JSON string encoded in Base64 * {String} options.callback.url the OSS sends a callback request to this URL * {String} options.callback.host The host header value for initiating callback requests * {String} options.callback.body The value of the request body when a callback is initiated * {String} options.callback.contentType The Content-Type of the callback requests initiatiated * {Object} options.callback.customValue Custom parameters are a map of key-values, e.g: * customValue = { * key1: 'value1', * key2: 'value2' * } * @return {Object} */ proto.put = /*#__PURE__*/function () { var _put = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(name, file, options) { var content, method, params, result, ret; return _regenerator.default.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: options = options || {}; options.disabledMD5 = options.disabledMD5 === undefined ? true : !!options.disabledMD5; options.headers = options.headers || {}; name = this._objectName(name); if (!isBuffer(file)) { _context2.next = 8; break; } content = file; _context2.next = 19; break; case 8: if (!(isBlob(file) || isFile(file))) { _context2.next = 18; break; } if (!options.mime) { if (isFile(file)) { options.mime = mime.getType(path.extname(file.name)); } else { options.mime = file.type; } } _context2.next = 12; return this._createBuffer(file, 0, file.size); case 12: content = _context2.sent; _context2.next = 15; return this._getFileSize(file); case 15: options.contentLength = _context2.sent; _context2.next = 19; break; case 18: throw new TypeError('Must provide Buffer/Blob/File for put.'); case 19: this._convertMetaToHeaders(options.meta, options.headers); method = options.method || 'PUT'; params = this._objectRequestParams(method, name, options); callback.encodeCallback(params, options); params.mime = options.mime; params.disabledMD5 = options.disabledMD5; params.content = content; params.successStatuses = [200]; _context2.next = 29; return this.request(params); case 29: result = _context2.sent; ret = { name: name, url: this._objectUrl(name), res: result.res }; if (params.headers && params.headers['x-oss-callback']) { ret.data = JSON.parse(result.data.toString()); } return _context2.abrupt("return", ret); case 33: case "end": return _context2.stop(); } } }, _callee2, this); })); function put(_x4, _x5, _x6) { return _put.apply(this, arguments); } return put; }(); /** * put an object from ReadableStream. If `options.contentLength` is * not provided, chunked encoding is used. * @param {String} name the object key * @param {Readable} stream the ReadableStream * @param {Object} options * @return {Object} */ proto.putStream = /*#__PURE__*/function () { var _putStream = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(name, stream, options) { var method, params, result, ret; return _regenerator.default.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: options = options || {}; options.headers = options.headers || {}; name = this._objectName(name); if (options.contentLength) { options.headers['Content-Length'] = options.contentLength; } else { options.headers['Transfer-Encoding'] = 'chunked'; } this._convertMetaToHeaders(options.meta, options.headers); method = options.method || 'PUT'; params = this._objectRequestParams(method, name, options); callback.encodeCallback(params, options); params.mime = options.mime; params.stream = stream; params.successStatuses = [200]; _context3.next = 13; return this.request(params); case 13: result = _context3.sent; ret = { name: name, url: this._objectUrl(name), res: result.res }; if (params.headers && params.headers['x-oss-callback']) { ret.data = JSON.parse(result.data.toString()); } return _context3.abrupt("return", ret); case 17: case "end": return _context3.stop(); } } }, _callee3, this); })); function putStream(_x7, _x8, _x9) { return _putStream.apply(this, arguments); } return putStream; }(); merge(proto, require('../common/object/copyObject')); merge(proto, require('../common/object/getObjectTagging')); merge(proto, require('../common/object/putObjectTagging')); merge(proto, require('../common/object/deleteObjectTagging')); merge(proto, require('../common/image')); merge(proto, require('../common/object/getBucketVersions')); merge(proto, require('../common/object/getACL')); merge(proto, require('../common/object/putACL')); merge(proto, require('../common/object/head')); merge(proto, require('../common/object/delete')); merge(proto, require('../common/object/get')); merge(proto, require('../common/object/putSymlink')); merge(proto, require('../common/object/getSymlink')); merge(proto, require('../common/object/deleteMulti')); merge(proto, require('../common/object/getObjectMeta')); merge(proto, require('../common/object/getObjectUrl')); merge(proto, require('../common/object/generateObjectUrl')); merge(proto, require('../common/object/signatureUrl')); proto.putMeta = /*#__PURE__*/function () { var _putMeta = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(name, meta, options) { var copyResult; return _regenerator.default.wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: _context4.next = 2; return this.copy(name, name, { meta: meta || {}, timeout: options && options.timeout, ctx: options && options.ctx }); case 2: copyResult = _context4.sent; return _context4.abrupt("return", copyResult); case 4: case "end": return _context4.stop(); } } }, _callee4, this); })); function putMeta(_x10, _x11, _x12) { return _putMeta.apply(this, arguments); } return putMeta; }(); proto.list = /*#__PURE__*/function () { var _list = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(query, options) { var params, result, objects, that, prefixes; return _regenerator.default.wrap(function _callee5$(_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: // prefix, marker, max-keys, delimiter params = this._objectRequestParams('GET', '', options); params.query = query; params.xmlResponse = true; params.successStatuses = [200]; _context5.next = 6; return this.request(params); case 6: result = _context5.sent; objects = result.data.Contents || []; that = this; if (objects) { if (!Array.isArray(objects)) { objects = [objects]; } objects = objects.map(function (obj) { return { name: obj.Key, url: that._objectUrl(obj.Key), lastModified: obj.LastModified, etag: obj.ETag, type: obj.Type, size: Number(obj.Size), storageClass: obj.StorageClass, owner: { id: obj.Owner.ID, displayName: obj.Owner.DisplayName } }; }); } prefixes = result.data.CommonPrefixes || null; if (prefixes) { if (!Array.isArray(prefixes)) { prefixes = [prefixes]; } prefixes = prefixes.map(function (item) { return item.Prefix; }); } return _context5.abrupt("return", { res: result.res, objects: objects, prefixes: prefixes, nextMarker: result.data.NextMarker || null, isTruncated: result.data.IsTruncated === 'true' }); case 13: case "end": return _context5.stop(); } } }, _callee5, this); })); function list(_x13, _x14) { return _list.apply(this, arguments); } return list; }(); proto.listV2 = /*#__PURE__*/function () { var _listV = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(query) { var options, continuation_token, params, result, objects, that, prefixes, _args6 = arguments; return _regenerator.default.wrap(function _callee6$(_context6) { while (1) { switch (_context6.prev = _context6.next) { case 0: options = _args6.length > 1 && _args6[1] !== undefined ? _args6[1] : {}; continuation_token = query['continuation-token'] || query.continuationToken; if (continuation_token) { options.subres = Object.assign({ 'continuation-token': continuation_token }, options.subres); } params = this._objectRequestParams('GET', '', options); params.query = Object.assign({ 'list-type': 2 }, query); delete params.query['continuation-token']; delete params.query.continuationToken; params.xmlResponse = true; params.successStatuses = [200]; _context6.next = 11; return this.request(params); case 11: result = _context6.sent; objects = result.data.Contents || []; that = this; if (objects) { if (!Array.isArray(objects)) { objects = [objects]; } objects = objects.map(function (obj) { return { name: obj.Key, url: that._objectUrl(obj.Key), lastModified: obj.LastModified, etag: obj.ETag, type: obj.Type, size: Number(obj.Size), storageClass: obj.StorageClass, owner: obj.Owner ? { id: obj.Owner.ID, displayName: obj.Owner.DisplayName } : null }; }); } prefixes = result.data.CommonPrefixes || null; if (prefixes) { if (!Array.isArray(prefixes)) { prefixes = [prefixes]; } prefixes = prefixes.map(function (item) { return item.Prefix; }); } return _context6.abrupt("return", { res: result.res, objects: objects, prefixes: prefixes, isTruncated: result.data.IsTruncated === 'true', keyCount: +result.data.KeyCount, continuationToken: result.data.ContinuationToken || null, nextContinuationToken: result.data.NextContinuationToken || null }); case 18: case "end": return _context6.stop(); } } }, _callee6, this); })); function listV2(_x15) { return _listV.apply(this, arguments); } return listV2; }(); /** * Restore Object * @param {String} name the object key * @param {Object} options * @returns {{res}} */ proto.restore = /*#__PURE__*/function () { var _restore = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7(name) { var options, params, paramsXMLObj, result, _args7 = arguments; return _regenerator.default.wrap(function _callee7$(_context7) { while (1) { switch (_context7.prev = _context7.next) { case 0: options = _args7.length > 1 && _args7[1] !== undefined ? _args7[1] : { type: 'Archive' }; options = options || {}; options.subres = Object.assign({ restore: '' }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } params = this._objectRequestParams('POST', name, options); if (options.type === 'ColdArchive') { paramsXMLObj = { RestoreRequest: { Days: options.Days ? options.Days : 2, JobParameters: { Tier: options.JobParameters ? options.JobParameters : 'Standard' } } }; params.content = obj2xml(paramsXMLObj, { headers: true }); params.mime = 'xml'; } params.successStatuses = [202]; _context7.next = 9; return this.request(params); case 9: result = _context7.sent; return _context7.abrupt("return", { res: result.res }); case 11: case "end": return _context7.stop(); } } }, _callee7, this); })); function restore(_x16) { return _restore.apply(this, arguments); } return restore; }(); proto._objectUrl = function _objectUrl(name) { return this._getReqUrl({ bucket: this.options.bucket, object: name }); }; /** * generator request params * @return {Object} params * * @api private */ proto._objectRequestParams = function _objectRequestParams(method, name, options) { if (!this.options.bucket && !this.options.cname) { throw new Error('Please create a bucket first'); } options = options || {}; name = this._objectName(name); var params = { object: name, bucket: this.options.bucket, method: method, subres: options && options.subres, timeout: options && options.timeout, ctx: options && options.ctx }; if (options.headers) { params.headers = {}; copy(options.headers).to(params.headers); } return params; }; proto._objectName = function _objectName(name) { return name.replace(/^\/+/, ''); }; proto._convertMetaToHeaders = function _convertMetaToHeaders(meta, headers) { if (!meta) { return; } Object.keys(meta).forEach(function (k) { headers["x-oss-meta-".concat(k)] = meta[k]; }); }; proto._deleteFileSafe = function _deleteFileSafe(filepath) { var _this = this; return new Promise(function (resolve) { fs.exists(filepath, function (exists) { if (!exists) { resolve(); } else { fs.unlink(filepath, function (err) { if (err) { _this.debug('unlink %j error: %s', filepath, err, 'error'); } resolve(); }); } }); }); }; },{"../common/callback":24,"../common/image":27,"../common/object/copyObject":31,"../common/object/delete":32,"../common/object/deleteMulti":33,"../common/object/deleteObjectTagging":34,"../common/object/generateObjectUrl":35,"../common/object/get":36,"../common/object/getACL":37,"../common/object/getBucketVersions":38,"../common/object/getObjectMeta":39,"../common/object/getObjectTagging":40,"../common/object/getObjectUrl":41,"../common/object/getSymlink":42,"../common/object/head":43,"../common/object/putACL":44,"../common/object/putObjectTagging":45,"../common/object/putSymlink":46,"../common/object/signatureUrl":47,"../common/utils/isBlob":62,"../common/utils/isBuffer":63,"../common/utils/isFile":64,"../common/utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"copy-to":88,"core-js/modules/es.array.map.js":249,"core-js/modules/es.function.name.js":253,"core-js/modules/es.number.constructor.js":254,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296,"fs":84,"merge-descriptors":315,"mime":317,"path":321}],6:[function(require,module,exports){ "use strict"; exports.version = "6.17.1"; },{}],7:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); Object.defineProperty(exports, "__esModule", { value: true }); exports.abortBucketWorm = void 0; var checkBucketName_1 = require("../utils/checkBucketName"); function abortBucketWorm(_x, _x2) { return _abortBucketWorm.apply(this, arguments); } function _abortBucketWorm() { _abortBucketWorm = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, options) { var params, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: checkBucketName_1.checkBucketName(name); params = this._bucketRequestParams('DELETE', name, 'worm', options); _context.next = 4; return this.request(params); case 4: result = _context.sent; return _context.abrupt("return", { res: result.res, status: result.status }); case 6: case "end": return _context.stop(); } } }, _callee, this); })); return _abortBucketWorm.apply(this, arguments); } exports.abortBucketWorm = abortBucketWorm; },{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],8:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); Object.defineProperty(exports, "__esModule", { value: true }); exports.completeBucketWorm = void 0; var checkBucketName_1 = require("../utils/checkBucketName"); function completeBucketWorm(_x, _x2, _x3) { return _completeBucketWorm.apply(this, arguments); } function _completeBucketWorm() { _completeBucketWorm = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, wormId, options) { var params, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: checkBucketName_1.checkBucketName(name); params = this._bucketRequestParams('POST', name, { wormId: wormId }, options); _context.next = 4; return this.request(params); case 4: result = _context.sent; return _context.abrupt("return", { res: result.res, status: result.status }); case 6: case "end": return _context.stop(); } } }, _callee, this); })); return _completeBucketWorm.apply(this, arguments); } exports.completeBucketWorm = completeBucketWorm; },{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],9:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); Object.defineProperty(exports, "__esModule", { value: true }); exports.deleteBucketInventory = void 0; var checkBucketName_1 = require("../utils/checkBucketName"); /** * deleteBucketInventory * @param {String} bucketName - bucket name * @param {String} inventoryId * @param {Object} options */ function deleteBucketInventory(_x, _x2) { return _deleteBucketInventory.apply(this, arguments); } function _deleteBucketInventory() { _deleteBucketInventory = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(bucketName, inventoryId) { var options, subres, params, result, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 2 && _args[2] !== undefined ? _args[2] : {}; subres = Object.assign({ inventory: '', inventoryId: inventoryId }, options.subres); checkBucketName_1.checkBucketName(bucketName); params = this._bucketRequestParams('DELETE', bucketName, subres, options); params.successStatuses = [204]; _context.next = 7; return this.request(params); case 7: result = _context.sent; return _context.abrupt("return", { status: result.status, res: result.res }); case 9: case "end": return _context.stop(); } } }, _callee, this); })); return _deleteBucketInventory.apply(this, arguments); } exports.deleteBucketInventory = deleteBucketInventory; },{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],10:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _require = require('../utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var proto = exports; proto.deleteBucketLifecycle = /*#__PURE__*/function () { var _deleteBucketLifecycle = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, options) { var params, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _checkBucketName(name); params = this._bucketRequestParams('DELETE', name, 'lifecycle', options); params.successStatuses = [204]; _context.next = 5; return this.request(params); case 5: result = _context.sent; return _context.abrupt("return", { res: result.res }); case 7: case "end": return _context.stop(); } } }, _callee, this); })); function deleteBucketLifecycle(_x, _x2) { return _deleteBucketLifecycle.apply(this, arguments); } return deleteBucketLifecycle; }(); },{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],11:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _require = require('../utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var proto = exports; proto.deleteBucketWebsite = /*#__PURE__*/function () { var _deleteBucketWebsite = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, options) { var params, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _checkBucketName(name); params = this._bucketRequestParams('DELETE', name, 'website', options); params.successStatuses = [204]; _context.next = 5; return this.request(params); case 5: result = _context.sent; return _context.abrupt("return", { res: result.res }); case 7: case "end": return _context.stop(); } } }, _callee, this); })); function deleteBucketWebsite(_x, _x2) { return _deleteBucketWebsite.apply(this, arguments); } return deleteBucketWebsite; }(); },{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],12:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); Object.defineProperty(exports, "__esModule", { value: true }); exports.extendBucketWorm = void 0; var checkBucketName_1 = require("../utils/checkBucketName"); var obj2xml_1 = require("../utils/obj2xml"); function extendBucketWorm(_x, _x2, _x3, _x4) { return _extendBucketWorm.apply(this, arguments); } function _extendBucketWorm() { _extendBucketWorm = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, wormId, days, options) { var params, paramlXMLObJ, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: checkBucketName_1.checkBucketName(name); params = this._bucketRequestParams('POST', name, { wormExtend: '', wormId: wormId }, options); paramlXMLObJ = { ExtendWormConfiguration: { RetentionPeriodInDays: days } }; params.mime = 'xml'; params.content = obj2xml_1.obj2xml(paramlXMLObJ, { headers: true }); params.successStatuses = [200]; _context.next = 8; return this.request(params); case 8: result = _context.sent; return _context.abrupt("return", { res: result.res, status: result.status }); case 10: case "end": return _context.stop(); } } }, _callee, this); })); return _extendBucketWorm.apply(this, arguments); } exports.extendBucketWorm = extendBucketWorm; },{"../utils/checkBucketName":50,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],13:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); Object.defineProperty(exports, "__esModule", { value: true }); exports.getBucketInventory = void 0; var checkBucketName_1 = require("../utils/checkBucketName"); var formatInventoryConfig_1 = require("../utils/formatInventoryConfig"); /** * getBucketInventory * @param {String} bucketName - bucket name * @param {String} inventoryId * @param {Object} options */ function getBucketInventory(_x, _x2) { return _getBucketInventory.apply(this, arguments); } function _getBucketInventory() { _getBucketInventory = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(bucketName, inventoryId) { var options, subres, params, result, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 2 && _args[2] !== undefined ? _args[2] : {}; subres = Object.assign({ inventory: '', inventoryId: inventoryId }, options.subres); checkBucketName_1.checkBucketName(bucketName); params = this._bucketRequestParams('GET', bucketName, subres, options); params.successStatuses = [200]; params.xmlResponse = true; _context.next = 8; return this.request(params); case 8: result = _context.sent; return _context.abrupt("return", { status: result.status, res: result.res, inventory: formatInventoryConfig_1.formatInventoryConfig(result.data) }); case 10: case "end": return _context.stop(); } } }, _callee, this); })); return _getBucketInventory.apply(this, arguments); } exports.getBucketInventory = getBucketInventory; },{"../utils/checkBucketName":50,"../utils/formatInventoryConfig":58,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],14:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.array.map.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _require = require('../utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var _require2 = require('../utils/isArray'), isArray = _require2.isArray; var _require3 = require('../utils/formatObjKey'), formatObjKey = _require3.formatObjKey; var proto = exports; proto.getBucketLifecycle = /*#__PURE__*/function () { var _getBucketLifecycle = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, options) { var params, result, rules; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _checkBucketName(name); params = this._bucketRequestParams('GET', name, 'lifecycle', options); params.successStatuses = [200]; params.xmlResponse = true; _context.next = 6; return this.request(params); case 6: result = _context.sent; rules = result.data.Rule || null; if (rules) { if (!isArray(rules)) { rules = [rules]; } rules = rules.map(function (_) { if (_.ID) { _.id = _.ID; delete _.ID; } if (_.Tag && !isArray(_.Tag)) { _.Tag = [_.Tag]; } return formatObjKey(_, 'firstLowerCase'); }); } return _context.abrupt("return", { rules: rules, res: result.res }); case 10: case "end": return _context.stop(); } } }, _callee, this); })); function getBucketLifecycle(_x, _x2) { return _getBucketLifecycle.apply(this, arguments); } return getBucketLifecycle; }(); },{"../utils/checkBucketName":50,"../utils/formatObjKey":59,"../utils/isArray":61,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.map.js":249}],15:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _require = require('../utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var proto = exports; /** * getBucketVersioning * @param {String} bucketName - bucket name */ proto.getBucketVersioning = /*#__PURE__*/function () { var _getBucketVersioning = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(bucketName, options) { var params, result, versionStatus; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _checkBucketName(bucketName); params = this._bucketRequestParams('GET', bucketName, 'versioning', options); params.xmlResponse = true; params.successStatuses = [200]; _context.next = 6; return this.request(params); case 6: result = _context.sent; versionStatus = result.data.Status; return _context.abrupt("return", { status: result.status, versionStatus: versionStatus, res: result.res }); case 9: case "end": return _context.stop(); } } }, _callee, this); })); function getBucketVersioning(_x, _x2) { return _getBucketVersioning.apply(this, arguments); } return getBucketVersioning; }(); },{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],16:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _require = require('../utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var _require2 = require('../utils/isObject'), isObject = _require2.isObject; var proto = exports; proto.getBucketWebsite = /*#__PURE__*/function () { var _getBucketWebsite = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, options) { var params, result, routingRules; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _checkBucketName(name); params = this._bucketRequestParams('GET', name, 'website', options); params.successStatuses = [200]; params.xmlResponse = true; _context.next = 6; return this.request(params); case 6: result = _context.sent; routingRules = []; if (result.data.RoutingRules && result.data.RoutingRules.RoutingRule) { if (isObject(result.data.RoutingRules.RoutingRule)) { routingRules = [result.data.RoutingRules.RoutingRule]; } else { routingRules = result.data.RoutingRules.RoutingRule; } } return _context.abrupt("return", { index: result.data.IndexDocument && result.data.IndexDocument.Suffix || '', supportSubDir: result.data.IndexDocument && result.data.IndexDocument.SupportSubDir || 'false', type: result.data.IndexDocument && result.data.IndexDocument.Type, routingRules: routingRules, error: result.data.ErrorDocument && result.data.ErrorDocument.Key || null, res: result.res }); case 10: case "end": return _context.stop(); } } }, _callee, this); })); function getBucketWebsite(_x, _x2) { return _getBucketWebsite.apply(this, arguments); } return getBucketWebsite; }(); },{"../utils/checkBucketName":50,"../utils/isObject":67,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],17:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); Object.defineProperty(exports, "__esModule", { value: true }); exports.getBucketWorm = void 0; var checkBucketName_1 = require("../utils/checkBucketName"); var dataFix_1 = require("../utils/dataFix"); function getBucketWorm(_x, _x2) { return _getBucketWorm.apply(this, arguments); } function _getBucketWorm() { _getBucketWorm = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, options) { var params, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: checkBucketName_1.checkBucketName(name); params = this._bucketRequestParams('GET', name, 'worm', options); params.successStatuses = [200]; params.xmlResponse = true; _context.next = 6; return this.request(params); case 6: result = _context.sent; dataFix_1.dataFix(result.data, { lowerFirst: true, rename: { RetentionPeriodInDays: 'days' } }); return _context.abrupt("return", Object.assign(Object.assign({}, result.data), { res: result.res, status: result.status })); case 9: case "end": return _context.stop(); } } }, _callee, this); })); return _getBucketWorm.apply(this, arguments); } exports.getBucketWorm = getBucketWorm; },{"../utils/checkBucketName":50,"../utils/dataFix":55,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],18:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); Object.defineProperty(exports, "__esModule", { value: true }); exports.initiateBucketWorm = void 0; var obj2xml_1 = require("../utils/obj2xml"); var checkBucketName_1 = require("../utils/checkBucketName"); function initiateBucketWorm(_x, _x2, _x3) { return _initiateBucketWorm.apply(this, arguments); } function _initiateBucketWorm() { _initiateBucketWorm = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, days, options) { var params, paramlXMLObJ, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: checkBucketName_1.checkBucketName(name); params = this._bucketRequestParams('POST', name, 'worm', options); paramlXMLObJ = { InitiateWormConfiguration: { RetentionPeriodInDays: days } }; params.mime = 'xml'; params.content = obj2xml_1.obj2xml(paramlXMLObJ, { headers: true }); params.successStatuses = [200]; _context.next = 8; return this.request(params); case 8: result = _context.sent; return _context.abrupt("return", { res: result.res, wormId: result.res.headers['x-oss-worm-id'], status: result.status }); case 10: case "end": return _context.stop(); } } }, _callee, this); })); return _initiateBucketWorm.apply(this, arguments); } exports.initiateBucketWorm = initiateBucketWorm; },{"../utils/checkBucketName":50,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],19:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); Object.defineProperty(exports, "__esModule", { value: true }); exports.listBucketInventory = void 0; var checkBucketName_1 = require("../utils/checkBucketName"); var formatInventoryConfig_1 = require("../utils/formatInventoryConfig"); /** * listBucketInventory * @param {String} bucketName - bucket name * @param {String} inventoryId * @param {Object} options */ function listBucketInventory(_x) { return _listBucketInventory.apply(this, arguments); } function _listBucketInventory() { _listBucketInventory = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(bucketName) { var options, continuationToken, subres, params, result, data, res, status, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}; continuationToken = options.continuationToken; subres = Object.assign({ inventory: '' }, continuationToken && { 'continuation-token': continuationToken }, options.subres); checkBucketName_1.checkBucketName(bucketName); params = this._bucketRequestParams('GET', bucketName, subres, options); params.successStatuses = [200]; params.xmlResponse = true; _context.next = 9; return this.request(params); case 9: result = _context.sent; data = result.data, res = result.res, status = result.status; return _context.abrupt("return", { isTruncated: data.IsTruncated === 'true', nextContinuationToken: data.NextContinuationToken, inventoryList: formatInventoryConfig_1.formatInventoryConfig(data.InventoryConfiguration, true), status: status, res: res }); case 12: case "end": return _context.stop(); } } }, _callee, this); })); return _listBucketInventory.apply(this, arguments); } exports.listBucketInventory = listBucketInventory; },{"../utils/checkBucketName":50,"../utils/formatInventoryConfig":58,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],20:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); require("core-js/modules/es.array.concat.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); Object.defineProperty(exports, "__esModule", { value: true }); exports.putBucketInventory = void 0; var checkBucketName_1 = require("../utils/checkBucketName"); var obj2xml_1 = require("../utils/obj2xml"); /** * putBucketInventory * @param {String} bucketName - bucket name * @param {Inventory} inventory * @param {Object} options */ function putBucketInventory(_x, _x2) { return _putBucketInventory.apply(this, arguments); } function _putBucketInventory() { _putBucketInventory = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(bucketName, inventory) { var options, subres, OSSBucketDestination, optionalFields, includedObjectVersions, destinationBucketPrefix, rolePrefix, paramXMLObj, paramXML, params, result, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 2 && _args[2] !== undefined ? _args[2] : {}; subres = Object.assign({ inventory: '', inventoryId: inventory.id }, options.subres); checkBucketName_1.checkBucketName(bucketName); OSSBucketDestination = inventory.OSSBucketDestination, optionalFields = inventory.optionalFields, includedObjectVersions = inventory.includedObjectVersions; destinationBucketPrefix = 'acs:oss:::'; rolePrefix = "acs:ram::".concat(OSSBucketDestination.accountId, ":role/"); paramXMLObj = { InventoryConfiguration: { Id: inventory.id, IsEnabled: inventory.isEnabled, Filter: { Prefix: inventory.prefix || '' }, Destination: { OSSBucketDestination: { Format: OSSBucketDestination.format, AccountId: OSSBucketDestination.accountId, RoleArn: "".concat(rolePrefix).concat(OSSBucketDestination.rolename), Bucket: "".concat(destinationBucketPrefix).concat(OSSBucketDestination.bucket), Prefix: OSSBucketDestination.prefix || '', Encryption: OSSBucketDestination.encryption || '' } }, Schedule: { Frequency: inventory.frequency }, IncludedObjectVersions: includedObjectVersions, OptionalFields: { Field: (optionalFields === null || optionalFields === void 0 ? void 0 : optionalFields.field) || [] } } }; paramXML = obj2xml_1.obj2xml(paramXMLObj, { headers: true, firstUpperCase: true }); params = this._bucketRequestParams('PUT', bucketName, subres, options); params.successStatuses = [200]; params.mime = 'xml'; params.content = paramXML; _context.next = 14; return this.request(params); case 14: result = _context.sent; return _context.abrupt("return", { status: result.status, res: result.res }); case 16: case "end": return _context.stop(); } } }, _callee, this); })); return _putBucketInventory.apply(this, arguments); } exports.putBucketInventory = putBucketInventory; },{"../utils/checkBucketName":50,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.object.assign.js":255}],21:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.array.includes.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); /* eslint-disable no-use-before-define */ var _require = require('../utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var _require2 = require('../utils/isArray'), isArray = _require2.isArray; var _require3 = require('../utils/deepCopy'), deepCopy = _require3.deepCopy; var _require4 = require('../utils/isObject'), isObject = _require4.isObject; var _require5 = require('../utils/obj2xml'), obj2xml = _require5.obj2xml; var _require6 = require('../utils/checkObjectTag'), checkObjectTag = _require6.checkObjectTag; var _require7 = require('../utils/getStrBytesCount'), getStrBytesCount = _require7.getStrBytesCount; var proto = exports; proto.putBucketLifecycle = /*#__PURE__*/function () { var _putBucketLifecycle = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, rules, options) { var params, Rule, paramXMLObj, paramXML, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _checkBucketName(name); if (isArray(rules)) { _context.next = 3; break; } throw new Error('rules must be Array'); case 3: params = this._bucketRequestParams('PUT', name, 'lifecycle', options); Rule = []; paramXMLObj = { LifecycleConfiguration: { Rule: Rule } }; rules.forEach(function (_) { defaultDaysAndDate2Expiration(_); // todo delete, 兼容旧版本 checkRule(_); if (_.id) { _.ID = _.id; delete _.id; } Rule.push(_); }); paramXML = obj2xml(paramXMLObj, { headers: true, firstUpperCase: true }); params.content = paramXML; params.mime = 'xml'; params.successStatuses = [200]; _context.next = 13; return this.request(params); case 13: result = _context.sent; return _context.abrupt("return", { res: result.res }); case 15: case "end": return _context.stop(); } } }, _callee, this); })); function putBucketLifecycle(_x, _x2, _x3) { return _putBucketLifecycle.apply(this, arguments); } return putBucketLifecycle; }(); // todo delete, 兼容旧版本 function defaultDaysAndDate2Expiration(obj) { if (obj.days) { obj.expiration = { days: obj.days }; } if (obj.date) { obj.expiration = { createdBeforeDate: obj.date }; } } function checkDaysAndDate(obj, key) { var days = obj.days, createdBeforeDate = obj.createdBeforeDate; if (!days && !createdBeforeDate) { throw new Error("".concat(key, " must includes days or createdBeforeDate")); } else if (days && !/^[1-9][0-9]*$/.test(days)) { throw new Error('days must be a positive integer'); } else if (createdBeforeDate && !/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(createdBeforeDate)) { throw new Error('createdBeforeDate must be date and conform to iso8601 format'); } } function handleCheckTag(tag) { if (!isArray(tag) && !isObject(tag)) { throw new Error('tag must be Object or Array'); } tag = isObject(tag) ? [tag] : tag; var tagObj = {}; var tagClone = deepCopy(tag); tagClone.forEach(function (v) { tagObj[v.key] = v.value; }); checkObjectTag(tagObj); } function checkRule(rule) { if (rule.id && getStrBytesCount(rule.id) > 255) throw new Error('ID is composed of 255 bytes at most'); if (rule.prefix === undefined) throw new Error('Rule must includes prefix'); if (!['Enabled', 'Disabled'].includes(rule.status)) throw new Error('Status must be Enabled or Disabled'); if (rule.transition) { if (!['IA', 'Archive'].includes(rule.transition.storageClass)) throw new Error('StorageClass must be IA or Archive'); checkDaysAndDate(rule.transition, 'Transition'); } if (rule.expiration) { if (!rule.expiration.expiredObjectDeleteMarker) { checkDaysAndDate(rule.expiration, 'Expiration'); } else if (rule.expiration.days || rule.expiration.createdBeforeDate) { throw new Error('expiredObjectDeleteMarker cannot be used with days or createdBeforeDate'); } } if (rule.abortMultipartUpload) { checkDaysAndDate(rule.abortMultipartUpload, 'AbortMultipartUpload'); } if (!rule.expiration && !rule.abortMultipartUpload && !rule.transition && !rule.noncurrentVersionTransition) { throw new Error('Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition'); } if (rule.tag) { if (rule.abortMultipartUpload) { throw new Error('Tag cannot be used with abortMultipartUpload'); } handleCheckTag(rule.tag); } } },{"../utils/checkBucketName":50,"../utils/checkObjectTag":52,"../utils/deepCopy":56,"../utils/getStrBytesCount":60,"../utils/isArray":61,"../utils/isObject":67,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.includes.js":246,"core-js/modules/web.dom-collections.for-each.js":296}],22:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.array.includes.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _require = require('../utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var _require2 = require('../utils/obj2xml'), obj2xml = _require2.obj2xml; var proto = exports; /** * putBucketVersioning * @param {String} name - bucket name * @param {String} status * @param {Object} options */ proto.putBucketVersioning = /*#__PURE__*/function () { var _putBucketVersioning = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, status) { var options, params, paramXMLObj, result, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 2 && _args[2] !== undefined ? _args[2] : {}; _checkBucketName(name); if (['Enabled', 'Suspended'].includes(status)) { _context.next = 4; break; } throw new Error('status must be Enabled or Suspended'); case 4: params = this._bucketRequestParams('PUT', name, 'versioning', options); paramXMLObj = { VersioningConfiguration: { Status: status } }; params.mime = 'xml'; params.content = obj2xml(paramXMLObj, { headers: true }); _context.next = 10; return this.request(params); case 10: result = _context.sent; return _context.abrupt("return", { res: result.res, status: result.status }); case 12: case "end": return _context.stop(); } } }, _callee, this); })); function putBucketVersioning(_x, _x2) { return _putBucketVersioning.apply(this, arguments); } return putBucketVersioning; }(); },{"../utils/checkBucketName":50,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.includes.js":246}],23:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _require = require('../utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var _require2 = require('../utils/obj2xml'), obj2xml = _require2.obj2xml; var _require3 = require('../utils/isArray'), isArray = _require3.isArray; var proto = exports; proto.putBucketWebsite = /*#__PURE__*/function () { var _putBucketWebsite = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name) { var config, options, params, IndexDocument, WebsiteConfiguration, website, result, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: config = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}; options = _args.length > 2 ? _args[2] : undefined; _checkBucketName(name); params = this._bucketRequestParams('PUT', name, 'website', options); IndexDocument = { Suffix: config.index || 'index.html' }; WebsiteConfiguration = { IndexDocument: IndexDocument }; website = { WebsiteConfiguration: WebsiteConfiguration }; if (config.supportSubDir) { IndexDocument.SupportSubDir = config.supportSubDir; } if (config.type) { IndexDocument.Type = config.type; } if (config.error) { WebsiteConfiguration.ErrorDocument = { Key: config.error }; } if (!(config.routingRules !== undefined)) { _context.next = 14; break; } if (isArray(config.routingRules)) { _context.next = 13; break; } throw new Error('RoutingRules must be Array'); case 13: WebsiteConfiguration.RoutingRules = { RoutingRule: config.routingRules }; case 14: website = obj2xml(website); params.content = website; params.mime = 'xml'; params.successStatuses = [200]; _context.next = 20; return this.request(params); case 20: result = _context.sent; return _context.abrupt("return", { res: result.res }); case 22: case "end": return _context.stop(); } } }, _callee, this); })); function putBucketWebsite(_x) { return _putBucketWebsite.apply(this, arguments); } return putBucketWebsite; }(); },{"../utils/checkBucketName":50,"../utils/isArray":61,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],24:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.regexp.to-string.js"); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); exports.encodeCallback = function encodeCallback(reqParams, options) { reqParams.headers = reqParams.headers || {}; if (!Object.prototype.hasOwnProperty.call(reqParams.headers, 'x-oss-callback')) { if (options.callback) { var json = { callbackUrl: encodeURI(options.callback.url), callbackBody: options.callback.body }; if (options.callback.host) { json.callbackHost = options.callback.host; } if (options.callback.contentType) { json.callbackBodyType = options.callback.contentType; } var callback = Buffer.from(JSON.stringify(json)).toString('base64'); reqParams.headers['x-oss-callback'] = callback; if (options.callback.customValue) { var callbackVar = {}; Object.keys(options.callback.customValue).forEach(function (key) { callbackVar["x:".concat(key)] = options.callback.customValue[key]; }); reqParams.headers['x-oss-callback-var'] = Buffer.from(JSON.stringify(callbackVar)).toString('base64'); } } } }; }).call(this)}).call(this,require("buffer").Buffer) },{"buffer":85,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/web.dom-collections.for-each.js":296}],25:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.replace.js"); require("core-js/modules/web.dom-collections.for-each.js"); var __importDefault = void 0 && (void 0).__importDefault || function (mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.getReqUrl = void 0; var copy_to_1 = __importDefault(require("copy-to")); var url_1 = __importDefault(require("url")); var merge_descriptors_1 = __importDefault(require("merge-descriptors")); var is_type_of_1 = __importDefault(require("is-type-of")); var isIP_1 = require("../utils/isIP"); var checkConfigValid_1 = require("../utils/checkConfigValid"); function getReqUrl(params) { var ep = {}; var isCname = this.options.cname; checkConfigValid_1.checkConfigValid(this.options.endpoint, 'endpoint'); copy_to_1.default(this.options.endpoint, false).to(ep); if (params.bucket && !isCname && !isIP_1.isIP(ep.hostname) && !this.options.sldEnable) { ep.host = "".concat(params.bucket, ".").concat(ep.host); } var resourcePath = '/'; if (params.bucket && this.options.sldEnable) { resourcePath += "".concat(params.bucket, "/"); } if (params.object) { // Preserve '/' in result url resourcePath += this._escape(params.object).replace(/\+/g, '%2B'); } ep.pathname = resourcePath; var query = {}; if (params.query) { merge_descriptors_1.default(query, params.query); } if (params.subres) { var subresAsQuery = {}; if (is_type_of_1.default.string(params.subres)) { subresAsQuery[params.subres] = ''; } else if (is_type_of_1.default.array(params.subres)) { params.subres.forEach(function (k) { subresAsQuery[k] = ''; }); } else { subresAsQuery = params.subres; } merge_descriptors_1.default(query, subresAsQuery); } ep.query = query; return url_1.default.format(ep); } exports.getReqUrl = getReqUrl; },{"../utils/checkConfigValid":51,"../utils/isIP":66,"copy-to":88,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296,"is-type-of":398,"merge-descriptors":315,"url":404}],26:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.object.assign.js"); require("core-js/modules/es.string.trim.js"); var ms = require('humanize-ms'); var urlutil = require('url'); var _require = require('../utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var _require2 = require('../utils/setRegion'), setRegion = _require2.setRegion; var _require3 = require('../utils/checkConfigValid'), checkConfigValid = _require3.checkConfigValid; function setEndpoint(endpoint, secure) { checkConfigValid(endpoint, 'endpoint'); var url = urlutil.parse(endpoint); if (!url.protocol) { url = urlutil.parse("http".concat(secure ? 's' : '', "://").concat(endpoint)); } if (url.protocol !== 'http:' && url.protocol !== 'https:') { throw new Error('Endpoint protocol must be http or https.'); } return url; } module.exports = function (options) { if (!options || !options.accessKeyId || !options.accessKeySecret) { throw new Error('require accessKeyId, accessKeySecret'); } if (options.stsToken && !options.refreshSTSToken && !options.refreshSTSTokenInterval) { console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh" + ' stsTokenã€accessKeyIdã€accessKeySecret automatically when sts token has expired'); } if (options.bucket) { _checkBucketName(options.bucket); } var opts = Object.assign({ region: 'oss-cn-hangzhou', internal: false, secure: false, timeout: 60000, bucket: null, endpoint: null, cname: false, isRequestPay: false, sldEnable: false, headerEncoding: 'utf-8', refreshSTSToken: null, refreshSTSTokenInterval: 60000 * 5, retryMax: 0 }, options); opts.accessKeyId = opts.accessKeyId.trim(); opts.accessKeySecret = opts.accessKeySecret.trim(); if (opts.timeout) { opts.timeout = ms(opts.timeout); } if (opts.endpoint) { opts.endpoint = setEndpoint(opts.endpoint, opts.secure); } else if (opts.region) { opts.endpoint = setRegion(opts.region, opts.internal, opts.secure); } else { throw new Error('require options.endpoint or options.region'); } opts.inited = true; return opts; }; },{"../utils/checkBucketName":50,"../utils/checkConfigValid":51,"../utils/setRegion":71,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.string.trim.js":269,"humanize-ms":303,"url":404}],27:[function(require,module,exports){ "use strict"; var merge = require('merge-descriptors'); var proto = exports; merge(proto, require('./processObjectSave')); },{"./processObjectSave":28,"merge-descriptors":315}],28:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.array.concat.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); /* eslint-disable no-use-before-define */ var _require = require('../utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var querystring = require('querystring'); var _require2 = require('js-base64'), str2Base64 = _require2.Base64.encode; var proto = exports; proto.processObjectSave = /*#__PURE__*/function () { var _processObjectSave = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(sourceObject, targetObject, process, targetBucket) { var params, bucketParam, content, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: checkArgs(sourceObject, 'sourceObject'); checkArgs(targetObject, 'targetObject'); checkArgs(process, 'process'); targetObject = this._objectName(targetObject); if (targetBucket) { _checkBucketName(targetBucket); } params = this._objectRequestParams('POST', sourceObject, { subres: 'x-oss-process' }); bucketParam = targetBucket ? ",b_".concat(str2Base64(targetBucket)) : ''; targetObject = str2Base64(targetObject); content = { 'x-oss-process': "".concat(process, "|sys/saveas,o_").concat(targetObject).concat(bucketParam) }; params.content = querystring.stringify(content); _context.next = 12; return this.request(params); case 12: result = _context.sent; return _context.abrupt("return", { res: result.res, status: result.res.status }); case 14: case "end": return _context.stop(); } } }, _callee, this); })); function processObjectSave(_x, _x2, _x3, _x4) { return _processObjectSave.apply(this, arguments); } return processObjectSave; }(); function checkArgs(name, key) { if (!name) { throw new Error("".concat(key, " is required")); } if (typeof name !== 'string') { throw new Error("".concat(key, " must be String")); } } },{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.concat.js":241,"js-base64":314,"querystring":328}],29:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.function.name.js"); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.promise.js"); require("core-js/modules/es.array.from.js"); require("core-js/modules/es.string.iterator.js"); require("core-js/modules/es.array.map.js"); require("core-js/modules/es.array.filter.js"); require("core-js/modules/es.array.find.js"); require("core-js/modules/es.regexp.to-string.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); /* eslint-disable no-async-promise-executor */ var debug = require('debug')('ali-oss:multipart-copy'); var copy = require('copy-to'); var proto = exports; /** * Upload a part copy in a multipart from the source bucket/object * used with initMultipartUpload and completeMultipartUpload. * @param {String} name copy object name * @param {String} uploadId the upload id * @param {Number} partNo the part number * @param {String} range like 0-102400 part size need to copy * @param {Object} sourceData * {String} sourceData.sourceKey the source object name * {String} sourceData.sourceBucketName the source bucket name * @param {Object} options */ /* eslint max-len: [0] */ proto.uploadPartCopy = /*#__PURE__*/function () { var _uploadPartCopy = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, uploadId, partNo, range, sourceData) { var options, versionId, copySource, params, result, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 5 && _args[5] !== undefined ? _args[5] : {}; options.headers = options.headers || {}; versionId = options.versionId || options.subres && options.subres.versionId || null; if (versionId) { copySource = "/".concat(sourceData.sourceBucketName, "/").concat(encodeURIComponent(sourceData.sourceKey), "?versionId=").concat(versionId); } else { copySource = "/".concat(sourceData.sourceBucketName, "/").concat(encodeURIComponent(sourceData.sourceKey)); } options.headers['x-oss-copy-source'] = copySource; if (range) { options.headers['x-oss-copy-source-range'] = "bytes=".concat(range); } options.subres = { partNumber: partNo, uploadId: uploadId }; params = this._objectRequestParams('PUT', name, options); params.mime = options.mime; params.successStatuses = [200]; _context.next = 12; return this.request(params); case 12: result = _context.sent; return _context.abrupt("return", { name: name, etag: result.res.headers.etag, res: result.res }); case 14: case "end": return _context.stop(); } } }, _callee, this); })); function uploadPartCopy(_x, _x2, _x3, _x4, _x5) { return _uploadPartCopy.apply(this, arguments); } return uploadPartCopy; }(); /** * @param {String} name copy object name * @param {Object} sourceData * {String} sourceData.sourceKey the source object name * {String} sourceData.sourceBucketName the source bucket name * {Number} sourceData.startOffset data copy start byte offset, e.g: 0 * {Number} sourceData.endOffset data copy end byte offset, e.g: 102400 * @param {Object} options * {Number} options.partSize */ proto.multipartUploadCopy = /*#__PURE__*/function () { var _multipartUploadCopy = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(name, sourceData) { var options, _options$versionId, versionId, metaOpt, objectMeta, fileSize, minPartSize, copySize, init, uploadId, partSize, checkpoint, _args2 = arguments; return _regenerator.default.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: options = _args2.length > 2 && _args2[2] !== undefined ? _args2[2] : {}; this.resetCancelFlag(); _options$versionId = options.versionId, versionId = _options$versionId === void 0 ? null : _options$versionId; metaOpt = { versionId: versionId }; _context2.next = 6; return this._getObjectMeta(sourceData.sourceBucketName, sourceData.sourceKey, metaOpt); case 6: objectMeta = _context2.sent; fileSize = objectMeta.res.headers['content-length']; sourceData.startOffset = sourceData.startOffset || 0; sourceData.endOffset = sourceData.endOffset || fileSize; if (!(options.checkpoint && options.checkpoint.uploadId)) { _context2.next = 14; break; } _context2.next = 13; return this._resumeMultipartCopy(options.checkpoint, sourceData, options); case 13: return _context2.abrupt("return", _context2.sent); case 14: minPartSize = 100 * 1024; copySize = sourceData.endOffset - sourceData.startOffset; if (!(copySize < minPartSize)) { _context2.next = 18; break; } throw new Error("copySize must not be smaller than ".concat(minPartSize)); case 18: if (!(options.partSize && options.partSize < minPartSize)) { _context2.next = 20; break; } throw new Error("partSize must not be smaller than ".concat(minPartSize)); case 20: _context2.next = 22; return this.initMultipartUpload(name, options); case 22: init = _context2.sent; uploadId = init.uploadId; partSize = this._getPartSize(copySize, options.partSize); checkpoint = { name: name, copySize: copySize, partSize: partSize, uploadId: uploadId, doneParts: [] }; if (!(options && options.progress)) { _context2.next = 29; break; } _context2.next = 29; return options.progress(0, checkpoint, init.res); case 29: _context2.next = 31; return this._resumeMultipartCopy(checkpoint, sourceData, options); case 31: return _context2.abrupt("return", _context2.sent); case 32: case "end": return _context2.stop(); } } }, _callee2, this); })); function multipartUploadCopy(_x6, _x7) { return _multipartUploadCopy.apply(this, arguments); } return multipartUploadCopy; }(); /* * Resume multipart copy from checkpoint. The checkpoint will be * updated after each successful part copy. * @param {Object} checkpoint the checkpoint * @param {Object} options */ proto._resumeMultipartCopy = /*#__PURE__*/function () { var _resumeMultipartCopy2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(checkpoint, sourceData, options) { var _options$versionId2, versionId, metaOpt, copySize, partSize, uploadId, doneParts, name, partOffs, numParts, uploadPartCopyOptions, uploadPartJob, all, done, todo, defaultParallel, parallel, i, errors, abortEvent, err; return _regenerator.default.wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: if (!this.isCancel()) { _context4.next = 2; break; } throw this._makeCancelEvent(); case 2: _options$versionId2 = options.versionId, versionId = _options$versionId2 === void 0 ? null : _options$versionId2; metaOpt = { versionId: versionId }; copySize = checkpoint.copySize, partSize = checkpoint.partSize, uploadId = checkpoint.uploadId, doneParts = checkpoint.doneParts, name = checkpoint.name; partOffs = this._divideMultipartCopyParts(copySize, partSize, sourceData.startOffset); numParts = partOffs.length; uploadPartCopyOptions = { headers: {} }; if (options.copyheaders) { copy(options.copyheaders).to(uploadPartCopyOptions.headers); } if (versionId) { copy(metaOpt).to(uploadPartCopyOptions); } uploadPartJob = function uploadPartJob(self, partNo, source) { return new Promise( /*#__PURE__*/function () { var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(resolve, reject) { var pi, range, result; return _regenerator.default.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: _context3.prev = 0; if (self.isCancel()) { _context3.next = 22; break; } pi = partOffs[partNo - 1]; range = "".concat(pi.start, "-").concat(pi.end - 1); _context3.prev = 4; _context3.next = 7; return self.uploadPartCopy(name, uploadId, partNo, range, source, uploadPartCopyOptions); case 7: result = _context3.sent; _context3.next = 15; break; case 10: _context3.prev = 10; _context3.t0 = _context3["catch"](4); if (!(_context3.t0.status === 404)) { _context3.next = 14; break; } throw self._makeAbortEvent(); case 14: throw _context3.t0; case 15: if (self.isCancel()) { _context3.next = 22; break; } debug("content-range ".concat(result.res.headers['content-range'])); doneParts.push({ number: partNo, etag: result.res.headers.etag }); checkpoint.doneParts = doneParts; if (!(options && options.progress)) { _context3.next = 22; break; } _context3.next = 22; return options.progress(doneParts.length / numParts, checkpoint, result.res); case 22: resolve(); _context3.next = 29; break; case 25: _context3.prev = 25; _context3.t1 = _context3["catch"](0); _context3.t1.partNum = partNo; reject(_context3.t1); case 29: case "end": return _context3.stop(); } } }, _callee3, null, [[0, 25], [4, 10]]); })); return function (_x11, _x12) { return _ref.apply(this, arguments); }; }()); }; all = Array.from(new Array(numParts), function (x, i) { return i + 1; }); done = doneParts.map(function (p) { return p.number; }); todo = all.filter(function (p) { return done.indexOf(p) < 0; }); defaultParallel = 5; parallel = options.parallel || defaultParallel; if (!(this.checkBrowserAndVersion('Internet Explorer', '10') || parallel === 1)) { _context4.next = 28; break; } i = 0; case 18: if (!(i < todo.length)) { _context4.next = 26; break; } if (!this.isCancel()) { _context4.next = 21; break; } throw this._makeCancelEvent(); case 21: _context4.next = 23; return uploadPartJob(this, todo[i], sourceData); case 23: i++; _context4.next = 18; break; case 26: _context4.next = 40; break; case 28: _context4.next = 30; return this._parallelNode(todo, parallel, uploadPartJob, sourceData); case 30: errors = _context4.sent; abortEvent = errors.find(function (err) { return err.name === 'abort'; }); if (!abortEvent) { _context4.next = 34; break; } throw abortEvent; case 34: if (!this.isCancel()) { _context4.next = 36; break; } throw this._makeCancelEvent(); case 36: if (!(errors && errors.length > 0)) { _context4.next = 40; break; } err = errors[0]; err.message = "Failed to copy some parts with error: ".concat(err.toString(), " part_num: ").concat(err.partNum); throw err; case 40: _context4.next = 42; return this.completeMultipartUpload(name, uploadId, doneParts, options); case 42: return _context4.abrupt("return", _context4.sent); case 43: case "end": return _context4.stop(); } } }, _callee4, this); })); function _resumeMultipartCopy(_x8, _x9, _x10) { return _resumeMultipartCopy2.apply(this, arguments); } return _resumeMultipartCopy; }(); proto._divideMultipartCopyParts = function _divideMultipartCopyParts(fileSize, partSize, startOffset) { var numParts = Math.ceil(fileSize / partSize); var partOffs = []; for (var i = 0; i < numParts; i++) { var start = partSize * i + startOffset; var end = Math.min(start + partSize, fileSize + startOffset); partOffs.push({ start: start, end: end }); } return partOffs; }; /** * Get Object Meta * @param {String} bucket bucket name * @param {String} name object name * @param {Object} options */ proto._getObjectMeta = /*#__PURE__*/function () { var _getObjectMeta2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(bucket, name, options) { var currentBucket, data; return _regenerator.default.wrap(function _callee5$(_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: currentBucket = this.getBucket(); this.setBucket(bucket); _context5.next = 4; return this.head(name, options); case 4: data = _context5.sent; this.setBucket(currentBucket); return _context5.abrupt("return", data); case 7: case "end": return _context5.stop(); } } }, _callee5, this); })); function _getObjectMeta(_x13, _x14, _x15) { return _getObjectMeta2.apply(this, arguments); } return _getObjectMeta; }(); },{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"copy-to":88,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.filter.js":243,"core-js/modules/es.array.find.js":244,"core-js/modules/es.array.from.js":245,"core-js/modules/es.array.map.js":249,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.iterator.js":264,"debug":397}],30:[function(require,module,exports){ (function (process){(function (){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.array.map.js"); require("core-js/modules/es.array.filter.js"); require("core-js/modules/es.array.sort.js"); require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.regexp.to-string.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var copy = require('copy-to'); var callback = require('./callback'); var _require = require('./utils/deepCopy'), deepCopyWith = _require.deepCopyWith; var _require2 = require('./utils/isBuffer'), isBuffer = _require2.isBuffer; var proto = exports; /** * List the on-going multipart uploads * https://help.aliyun.com/document_detail/31997.html * @param {Object} options * @return {Array} the multipart uploads */ proto.listUploads = /*#__PURE__*/function () { var _listUploads = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(query, options) { var opt, params, result, uploads; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = options || {}; opt = {}; copy(options).to(opt); opt.subres = 'uploads'; params = this._objectRequestParams('GET', '', opt); params.query = query; params.xmlResponse = true; params.successStatuses = [200]; _context.next = 10; return this.request(params); case 10: result = _context.sent; uploads = result.data.Upload || []; if (!Array.isArray(uploads)) { uploads = [uploads]; } uploads = uploads.map(function (up) { return { name: up.Key, uploadId: up.UploadId, initiated: up.Initiated }; }); return _context.abrupt("return", { res: result.res, uploads: uploads, bucket: result.data.Bucket, nextKeyMarker: result.data.NextKeyMarker, nextUploadIdMarker: result.data.NextUploadIdMarker, isTruncated: result.data.IsTruncated === 'true' }); case 15: case "end": return _context.stop(); } } }, _callee, this); })); function listUploads(_x, _x2) { return _listUploads.apply(this, arguments); } return listUploads; }(); /** * List the done uploadPart parts * @param {String} name object name * @param {String} uploadId multipart upload id * @param {Object} query * {Number} query.max-parts The maximum part number in the response of the OSS. Default value: 1000 * {Number} query.part-number-marker Starting position of a specific list. * {String} query.encoding-type Specify the encoding of the returned content and the encoding type. * @param {Object} options * @return {Object} result */ proto.listParts = /*#__PURE__*/function () { var _listParts = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(name, uploadId, query, options) { var opt, params, result; return _regenerator.default.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: options = options || {}; opt = {}; copy(options).to(opt); opt.subres = { uploadId: uploadId }; params = this._objectRequestParams('GET', name, opt); params.query = query; params.xmlResponse = true; params.successStatuses = [200]; _context2.next = 10; return this.request(params); case 10: result = _context2.sent; return _context2.abrupt("return", { res: result.res, uploadId: result.data.UploadId, bucket: result.data.Bucket, name: result.data.Key, partNumberMarker: result.data.PartNumberMarker, nextPartNumberMarker: result.data.NextPartNumberMarker, maxParts: result.data.MaxParts, isTruncated: result.data.IsTruncated, parts: result.data.Part || [] }); case 12: case "end": return _context2.stop(); } } }, _callee2, this); })); function listParts(_x3, _x4, _x5, _x6) { return _listParts.apply(this, arguments); } return listParts; }(); /** * Abort a multipart upload transaction * @param {String} name the object name * @param {String} uploadId the upload id * @param {Object} options */ proto.abortMultipartUpload = /*#__PURE__*/function () { var _abortMultipartUpload = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(name, uploadId, options) { var opt, params, result; return _regenerator.default.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: this._stop(); options = options || {}; opt = {}; copy(options).to(opt); opt.subres = { uploadId: uploadId }; params = this._objectRequestParams('DELETE', name, opt); params.successStatuses = [204]; _context3.next = 9; return this.request(params); case 9: result = _context3.sent; return _context3.abrupt("return", { res: result.res }); case 11: case "end": return _context3.stop(); } } }, _callee3, this); })); function abortMultipartUpload(_x7, _x8, _x9) { return _abortMultipartUpload.apply(this, arguments); } return abortMultipartUpload; }(); /** * Initiate a multipart upload transaction * @param {String} name the object name * @param {Object} options * @return {String} upload id */ proto.initMultipartUpload = /*#__PURE__*/function () { var _initMultipartUpload = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(name, options) { var opt, params, result; return _regenerator.default.wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: options = options || {}; opt = {}; copy(options).to(opt); opt.headers = opt.headers || {}; this._convertMetaToHeaders(options.meta, opt.headers); opt.subres = 'uploads'; params = this._objectRequestParams('POST', name, opt); params.mime = options.mime; params.xmlResponse = true; params.successStatuses = [200]; _context4.next = 12; return this.request(params); case 12: result = _context4.sent; return _context4.abrupt("return", { res: result.res, bucket: result.data.Bucket, name: result.data.Key, uploadId: result.data.UploadId }); case 14: case "end": return _context4.stop(); } } }, _callee4, this); })); function initMultipartUpload(_x10, _x11) { return _initMultipartUpload.apply(this, arguments); } return initMultipartUpload; }(); /** * Upload a part in a multipart upload transaction * @param {String} name the object name * @param {String} uploadId the upload id * @param {Integer} partNo the part number * @param {File} file upload File, whole File * @param {Integer} start part start bytes e.g: 102400 * @param {Integer} end part end bytes e.g: 204800 * @param {Object} options */ proto.uploadPart = /*#__PURE__*/function () { var _uploadPart2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(name, uploadId, partNo, file, start, end, options) { var data, isBrowserEnv; return _regenerator.default.wrap(function _callee5$(_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: data = { size: end - start }; isBrowserEnv = process && process.browser; if (!isBrowserEnv) { _context5.next = 8; break; } _context5.next = 5; return this._createBuffer(file, start, end); case 5: data.content = _context5.sent; _context5.next = 11; break; case 8: _context5.next = 10; return this._createStream(file, start, end); case 10: data.stream = _context5.sent; case 11: _context5.next = 13; return this._uploadPart(name, uploadId, partNo, data, options); case 13: return _context5.abrupt("return", _context5.sent); case 14: case "end": return _context5.stop(); } } }, _callee5, this); })); function uploadPart(_x12, _x13, _x14, _x15, _x16, _x17, _x18) { return _uploadPart2.apply(this, arguments); } return uploadPart; }(); /** * Complete a multipart upload transaction * @param {String} name the object name * @param {String} uploadId the upload id * @param {Array} parts the uploaded parts, each in the structure: * {Integer} number partNo * {String} etag part etag uploadPartCopy result.res.header.etag * @param {Object} options * {Object} options.callback The callback parameter is composed of a JSON string encoded in Base64 * {String} options.callback.url the OSS sends a callback request to this URL * {String} options.callback.host The host header value for initiating callback requests * {String} options.callback.body The value of the request body when a callback is initiated * {String} options.callback.contentType The Content-Type of the callback requests initiatiated * {Object} options.callback.customValue Custom parameters are a map of key-values, e.g: * customValue = { * key1: 'value1', * key2: 'value2' * } */ proto.completeMultipartUpload = /*#__PURE__*/function () { var _completeMultipartUpload = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(name, uploadId, parts, options) { var completeParts, xml, i, p, opt, params, result, ret; return _regenerator.default.wrap(function _callee6$(_context6) { while (1) { switch (_context6.prev = _context6.next) { case 0: completeParts = parts.concat().sort(function (a, b) { return a.number - b.number; }).filter(function (item, index, arr) { return !index || item.number !== arr[index - 1].number; }); xml = '<?xml version="1.0" encoding="UTF-8"?>\n<CompleteMultipartUpload>\n'; for (i = 0; i < completeParts.length; i++) { p = completeParts[i]; xml += '<Part>\n'; xml += "<PartNumber>".concat(p.number, "</PartNumber>\n"); xml += "<ETag>".concat(p.etag, "</ETag>\n"); xml += '</Part>\n'; } xml += '</CompleteMultipartUpload>'; options = options || {}; opt = {}; opt = deepCopyWith(options, function (_) { if (isBuffer(_)) return null; }); if (opt.headers) delete opt.headers['x-oss-server-side-encryption']; opt.subres = { uploadId: uploadId }; params = this._objectRequestParams('POST', name, opt); callback.encodeCallback(params, opt); params.mime = 'xml'; params.content = xml; if (!(params.headers && params.headers['x-oss-callback'])) { params.xmlResponse = true; } params.successStatuses = [200]; _context6.next = 17; return this.request(params); case 17: result = _context6.sent; ret = { res: result.res, bucket: params.bucket, name: name, etag: result.res.headers.etag }; if (params.headers && params.headers['x-oss-callback']) { ret.data = JSON.parse(result.data.toString()); } return _context6.abrupt("return", ret); case 21: case "end": return _context6.stop(); } } }, _callee6, this); })); function completeMultipartUpload(_x19, _x20, _x21, _x22) { return _completeMultipartUpload.apply(this, arguments); } return completeMultipartUpload; }(); /** * Upload a part in a multipart upload transaction * @param {String} name the object name * @param {String} uploadId the upload id * @param {Integer} partNo the part number * @param {Object} data the body data * @param {Object} options */ proto._uploadPart = /*#__PURE__*/function () { var _uploadPart3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7(name, uploadId, partNo, data, options) { var opt, params, isBrowserEnv, result; return _regenerator.default.wrap(function _callee7$(_context7) { while (1) { switch (_context7.prev = _context7.next) { case 0: options = options || {}; opt = {}; copy(options).to(opt); opt.headers = { 'Content-Length': data.size }; opt.subres = { partNumber: partNo, uploadId: uploadId }; params = this._objectRequestParams('PUT', name, opt); params.mime = opt.mime; isBrowserEnv = process && process.browser; isBrowserEnv ? params.content = data.content : params.stream = data.stream; params.successStatuses = [200]; params.disabledMD5 = options.disabledMD5; _context7.next = 13; return this.request(params); case 13: result = _context7.sent; if (result.res.headers.etag) { _context7.next = 16; break; } throw new Error('Please set the etag of expose-headers in OSS \n https://help.aliyun.com/document_detail/32069.html'); case 16: if (data.stream) { data.stream = null; params.stream = null; } return _context7.abrupt("return", { name: name, etag: result.res.headers.etag, res: result.res }); case 18: case "end": return _context7.stop(); } } }, _callee7, this); })); function _uploadPart(_x23, _x24, _x25, _x26, _x27) { return _uploadPart3.apply(this, arguments); } return _uploadPart; }(); }).call(this)}).call(this,require('_process')) },{"./callback":24,"./utils/deepCopy":56,"./utils/isBuffer":63,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"_process":399,"copy-to":88,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.filter.js":243,"core-js/modules/es.array.map.js":249,"core-js/modules/es.array.sort.js":251,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.to-string.js":262}],31:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); require("core-js/modules/es.array.find.js"); require("core-js/modules/es.array.includes.js"); require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.replace.js"); var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _require = require('../utils/checkBucketName'), _checkBucketName = _require.checkBucketName; var proto = exports; var REPLACE_HEDERS = ['content-type', 'content-encoding', 'content-language', 'content-disposition', 'cache-control', 'expires']; proto.copy = /*#__PURE__*/function () { var _copy = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, sourceName, bucketName, options) { var params, result, data; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: if ((0, _typeof2.default)(bucketName) === 'object') { options = bucketName; // 兼容旧版本,旧版本第三个å‚数为options } options = options || {}; options.headers = options.headers || {}; Object.keys(options.headers).forEach(function (key) { options.headers["x-oss-copy-source-".concat(key.toLowerCase())] = options.headers[key]; }); if (options.meta || Object.keys(options.headers).find(function (_) { return REPLACE_HEDERS.includes(_.toLowerCase()); })) { options.headers['x-oss-metadata-directive'] = 'REPLACE'; } this._convertMetaToHeaders(options.meta, options.headers); sourceName = this._getSourceName(sourceName, bucketName); if (options.versionId) { sourceName = "".concat(sourceName, "?versionId=").concat(options.versionId); } options.headers['x-oss-copy-source'] = sourceName; params = this._objectRequestParams('PUT', name, options); params.xmlResponse = true; params.successStatuses = [200, 304]; _context.next = 14; return this.request(params); case 14: result = _context.sent; data = result.data; if (data) { data = { etag: data.ETag, lastModified: data.LastModified }; } return _context.abrupt("return", { data: data, res: result.res }); case 18: case "end": return _context.stop(); } } }, _callee, this); })); function copy(_x, _x2, _x3, _x4) { return _copy.apply(this, arguments); } return copy; }(); // todo delete proto._getSourceName = function _getSourceName(sourceName, bucketName) { if (typeof bucketName === 'string') { sourceName = this._objectName(sourceName); } else if (sourceName[0] !== '/') { bucketName = this.options.bucket; } else { bucketName = sourceName.replace(/\/(.+?)(\/.*)/, '$1'); sourceName = sourceName.replace(/(\/.+?\/)(.*)/, '$2'); } _checkBucketName(bucketName); sourceName = encodeURIComponent(sourceName); sourceName = "/".concat(bucketName, "/").concat(sourceName); return sourceName; }; },{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,"@babel/runtime/regenerator":76,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.find.js":244,"core-js/modules/es.array.includes.js":246,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296}],32:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var proto = exports; /** * delete * @param {String} name - object name * @param {Object} options * @param {{res}} */ proto.delete = /*#__PURE__*/function () { var _delete2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name) { var options, params, result, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}; options.subres = Object.assign({}, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } params = this._objectRequestParams('DELETE', name, options); params.successStatuses = [204]; _context.next = 7; return this.request(params); case 7: result = _context.sent; return _context.abrupt("return", { res: result.res }); case 9: case "end": return _context.stop(); } } }, _callee, this); })); function _delete(_x) { return _delete2.apply(this, arguments); } return _delete; }(); },{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],33:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); /* eslint-disable object-curly-newline */ var utility = require('utility'); var _require = require('../utils/obj2xml'), obj2xml = _require.obj2xml; var proto = exports; proto.deleteMulti = /*#__PURE__*/function () { var _deleteMulti = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(names) { var options, objects, i, object, _names$i, key, versionId, paramXMLObj, paramXML, params, result, r, deleted, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}; objects = []; if (!(!names || !names.length)) { _context.next = 4; break; } throw new Error('names is required'); case 4: for (i = 0; i < names.length; i++) { object = {}; if (typeof names[i] === 'string') { object.Key = utility.escape(this._objectName(names[i])); } else { _names$i = names[i], key = _names$i.key, versionId = _names$i.versionId; object.Key = utility.escape(this._objectName(key)); object.VersionId = versionId; } objects.push(object); } paramXMLObj = { Delete: { Quiet: !!options.quiet, Object: objects } }; paramXML = obj2xml(paramXMLObj, { headers: true }); options.subres = Object.assign({ delete: '' }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } params = this._objectRequestParams('POST', '', options); params.mime = 'xml'; params.content = paramXML; params.xmlResponse = true; params.successStatuses = [200]; _context.next = 16; return this.request(params); case 16: result = _context.sent; r = result.data; deleted = r && r.Deleted || null; if (deleted) { if (!Array.isArray(deleted)) { deleted = [deleted]; } } return _context.abrupt("return", { res: result.res, deleted: deleted || [] }); case 21: case "end": return _context.stop(); } } }, _callee, this); })); function deleteMulti(_x) { return _deleteMulti.apply(this, arguments); } return deleteMulti; }(); },{"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255,"utility":406}],34:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var proto = exports; /** * deleteObjectTagging * @param {String} name - object name * @param {Object} options */ proto.deleteObjectTagging = /*#__PURE__*/function () { var _deleteObjectTagging = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name) { var options, params, result, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}; options.subres = Object.assign({ tagging: '' }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } name = this._objectName(name); params = this._objectRequestParams('DELETE', name, options); params.successStatuses = [204]; _context.next = 8; return this.request(params); case 8: result = _context.sent; return _context.abrupt("return", { status: result.status, res: result.res }); case 10: case "end": return _context.stop(); } } }, _callee, this); })); function deleteObjectTagging(_x) { return _deleteObjectTagging.apply(this, arguments); } return deleteObjectTagging; }(); },{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],35:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.concat.js"); var urlutil = require('url'); var _require = require('../utils/isIP'), isIP = _require.isIP; var proto = exports; /** * Get Object url by name * @param {String} name - object name * @param {String} [baseUrl] - If provide `baseUrl`, will use `baseUrl` instead the default `endpoint and bucket`. * @return {String} object url include bucket */ proto.generateObjectUrl = function generateObjectUrl(name, baseUrl) { if (isIP(this.options.endpoint.hostname)) { throw new Error('can not get the object URL when endpoint is IP'); } if (!baseUrl) { baseUrl = this.options.endpoint.format(); var copyUrl = urlutil.parse(baseUrl); var bucket = this.options.bucket; copyUrl.hostname = "".concat(bucket, ".").concat(copyUrl.hostname); copyUrl.host = "".concat(bucket, ".").concat(copyUrl.host); baseUrl = copyUrl.format(); } else if (baseUrl[baseUrl.length - 1] !== '/') { baseUrl += '/'; } return baseUrl + this._escape(this._objectName(name)); }; },{"../utils/isIP":66,"core-js/modules/es.array.concat.js":241,"url":404}],36:[function(require,module,exports){ (function (process){(function (){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var fs = require('fs'); var is = require('is-type-of'); var proto = exports; /** * get * @param {String} name - object name * @param {String | Stream} file * @param {Object} options * @param {{res}} */ proto.get = /*#__PURE__*/function () { var _get = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, file) { var options, writeStream, needDestroy, isBrowserEnv, responseCacheControl, defaultSubresOptions, result, params, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 2 && _args[2] !== undefined ? _args[2] : {}; writeStream = null; needDestroy = false; if (is.writableStream(file)) { writeStream = file; } else if (is.string(file)) { writeStream = fs.createWriteStream(file); needDestroy = true; } else { // get(name, options) options = file; } options = options || {}; isBrowserEnv = process && process.browser; responseCacheControl = options.responseCacheControl === null ? '' : 'no-cache'; defaultSubresOptions = isBrowserEnv && responseCacheControl ? { 'response-cache-control': responseCacheControl } : {}; options.subres = Object.assign(defaultSubresOptions, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } if (options.process) { options.subres['x-oss-process'] = options.process; } _context.prev = 11; params = this._objectRequestParams('GET', name, options); params.writeStream = writeStream; params.successStatuses = [200, 206, 304]; _context.next = 17; return this.request(params); case 17: result = _context.sent; if (needDestroy) { writeStream.destroy(); } _context.next = 28; break; case 21: _context.prev = 21; _context.t0 = _context["catch"](11); if (!needDestroy) { _context.next = 27; break; } writeStream.destroy(); // should delete the exists file before throw error _context.next = 27; return this._deleteFileSafe(file); case 27: throw _context.t0; case 28: return _context.abrupt("return", { res: result.res, content: result.data }); case 29: case "end": return _context.stop(); } } }, _callee, this, [[11, 21]]); })); function get(_x, _x2) { return _get.apply(this, arguments); } return get; }(); }).call(this)}).call(this,require('_process')) },{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"_process":399,"core-js/modules/es.object.assign.js":255,"fs":84,"is-type-of":398}],37:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var proto = exports; /* * Get object's ACL * @param {String} name the object key * @param {Object} options * @return {Object} */ proto.getACL = /*#__PURE__*/function () { var _getACL = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name) { var options, params, result, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}; options.subres = Object.assign({ acl: '' }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } name = this._objectName(name); params = this._objectRequestParams('GET', name, options); params.successStatuses = [200]; params.xmlResponse = true; _context.next = 9; return this.request(params); case 9: result = _context.sent; return _context.abrupt("return", { acl: result.data.AccessControlList.Grant, owner: { id: result.data.Owner.ID, displayName: result.data.Owner.DisplayName }, res: result.res }); case 11: case "end": return _context.stop(); } } }, _callee, this); })); function getACL(_x) { return _getACL.apply(this, arguments); } return getACL; }(); },{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],38:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.replace.js"); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); require("core-js/modules/es.object.assign.js"); require("core-js/modules/es.array.map.js"); require("core-js/modules/es.number.constructor.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); /* eslint-disable no-use-before-define */ var proto = exports; var _require = require('../utils/isObject'), isObject = _require.isObject; var _require2 = require('../utils/isArray'), isArray = _require2.isArray; proto.getBucketVersions = getBucketVersions; proto.listObjectVersions = getBucketVersions; function getBucketVersions() { return _getBucketVersions.apply(this, arguments); } function _getBucketVersions() { _getBucketVersions = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() { var query, options, params, result, objects, deleteMarker, that, prefixes, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: query = _args.length > 0 && _args[0] !== undefined ? _args[0] : {}; options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}; if (!(query.versionIdMarker && query.keyMarker === undefined)) { _context.next = 4; break; } throw new Error('A version-id marker cannot be specified without a key marker'); case 4: options.subres = Object.assign({ versions: '' }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } params = this._objectRequestParams('GET', '', options); params.xmlResponse = true; params.successStatuses = [200]; params.query = formatQuery(query); _context.next = 12; return this.request(params); case 12: result = _context.sent; objects = result.data.Version || []; deleteMarker = result.data.DeleteMarker || []; that = this; if (objects) { if (!Array.isArray(objects)) { objects = [objects]; } objects = objects.map(function (obj) { return { name: obj.Key, url: that._objectUrl(obj.Key), lastModified: obj.LastModified, isLatest: obj.IsLatest === 'true', versionId: obj.VersionId, etag: obj.ETag, type: obj.Type, size: Number(obj.Size), storageClass: obj.StorageClass, owner: { id: obj.Owner.ID, displayName: obj.Owner.DisplayName } }; }); } if (deleteMarker) { if (!isArray(deleteMarker)) { deleteMarker = [deleteMarker]; } deleteMarker = deleteMarker.map(function (obj) { return { name: obj.Key, lastModified: obj.LastModified, versionId: obj.VersionId, owner: { id: obj.Owner.ID, displayName: obj.Owner.DisplayName } }; }); } prefixes = result.data.CommonPrefixes || null; if (prefixes) { if (!isArray(prefixes)) { prefixes = [prefixes]; } prefixes = prefixes.map(function (item) { return item.Prefix; }); } return _context.abrupt("return", { res: result.res, objects: objects, deleteMarker: deleteMarker, prefixes: prefixes, // attirbute of legacy error nextMarker: result.data.NextKeyMarker || null, // attirbute of legacy error NextVersionIdMarker: result.data.NextVersionIdMarker || null, nextKeyMarker: result.data.NextKeyMarker || null, nextVersionIdMarker: result.data.NextVersionIdMarker || null, isTruncated: result.data.IsTruncated === 'true' }); case 21: case "end": return _context.stop(); } } }, _callee, this); })); return _getBucketVersions.apply(this, arguments); } function camel2Line(name) { return name.replace(/([A-Z])/g, '-$1').toLowerCase(); } function formatQuery() { var query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var obj = {}; if (isObject(query)) { Object.keys(query).forEach(function (key) { obj[camel2Line(key)] = query[key]; }); } return obj; } },{"../utils/isArray":61,"../utils/isObject":67,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.map.js":249,"core-js/modules/es.number.constructor.js":254,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296}],39:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var proto = exports; /** * getObjectMeta * @param {String} name - object name * @param {Object} options * @param {{res}} */ proto.getObjectMeta = /*#__PURE__*/function () { var _getObjectMeta = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, options) { var params, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = options || {}; name = this._objectName(name); options.subres = Object.assign({ objectMeta: '' }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } params = this._objectRequestParams('HEAD', name, options); params.successStatuses = [200]; _context.next = 8; return this.request(params); case 8: result = _context.sent; return _context.abrupt("return", { status: result.status, res: result.res }); case 10: case "end": return _context.stop(); } } }, _callee, this); })); function getObjectMeta(_x, _x2) { return _getObjectMeta.apply(this, arguments); } return getObjectMeta; }(); },{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],40:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); require("core-js/modules/web.dom-collections.for-each.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var proto = exports; var _require = require('../utils/isObject'), isObject = _require.isObject; /** * getObjectTagging * @param {String} name - object name * @param {Object} options * @return {Object} */ proto.getObjectTagging = /*#__PURE__*/function () { var _getObjectTagging = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name) { var options, params, result, Tagging, Tag, tag, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}; options.subres = Object.assign({ tagging: '' }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } name = this._objectName(name); params = this._objectRequestParams('GET', name, options); params.successStatuses = [200]; _context.next = 8; return this.request(params); case 8: result = _context.sent; _context.next = 11; return this.parseXML(result.data); case 11: Tagging = _context.sent; Tag = Tagging.TagSet.Tag; Tag = Tag && isObject(Tag) ? [Tag] : Tag || []; tag = {}; Tag.forEach(function (item) { tag[item.Key] = item.Value; }); return _context.abrupt("return", { status: result.status, res: result.res, tag: tag }); case 17: case "end": return _context.stop(); } } }, _callee, this); })); function getObjectTagging(_x) { return _getObjectTagging.apply(this, arguments); } return getObjectTagging; }(); },{"../utils/isObject":67,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255,"core-js/modules/web.dom-collections.for-each.js":296}],41:[function(require,module,exports){ "use strict"; var _require = require('../utils/isIP'), isIP = _require.isIP; var proto = exports; /** * Get Object url by name * @param {String} name - object name * @param {String} [baseUrl] - If provide `baseUrl`, * will use `baseUrl` instead the default `endpoint`. * @return {String} object url */ proto.getObjectUrl = function getObjectUrl(name, baseUrl) { if (isIP(this.options.endpoint.hostname)) { throw new Error('can not get the object URL when endpoint is IP'); } if (!baseUrl) { baseUrl = this.options.endpoint.format(); } else if (baseUrl[baseUrl.length - 1] !== '/') { baseUrl += '/'; } return baseUrl + this._escape(this._objectName(name)); }; },{"../utils/isIP":66}],42:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var proto = exports; /** * getSymlink * @param {String} name - object name * @param {Object} options * @param {{res}} */ proto.getSymlink = /*#__PURE__*/function () { var _getSymlink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name) { var options, params, result, target, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}; options.subres = Object.assign({ symlink: '' }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } name = this._objectName(name); params = this._objectRequestParams('GET', name, options); params.successStatuses = [200]; _context.next = 8; return this.request(params); case 8: result = _context.sent; target = result.res.headers['x-oss-symlink-target']; return _context.abrupt("return", { targetName: decodeURIComponent(target), res: result.res }); case 11: case "end": return _context.stop(); } } }, _callee, this); })); function getSymlink(_x) { return _getSymlink.apply(this, arguments); } return getSymlink; }(); },{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],43:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var proto = exports; /** * head * @param {String} name - object name * @param {Object} options * @param {{res}} */ proto.head = /*#__PURE__*/function () { var _head = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name) { var options, params, result, data, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}; options.subres = Object.assign({}, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } params = this._objectRequestParams('HEAD', name, options); params.successStatuses = [200, 304]; _context.next = 7; return this.request(params); case 7: result = _context.sent; data = { meta: null, res: result.res, status: result.status }; if (result.status === 200) { Object.keys(result.headers).forEach(function (k) { if (k.indexOf('x-oss-meta-') === 0) { if (!data.meta) { data.meta = {}; } data.meta[k.substring(11)] = result.headers[k]; } }); } return _context.abrupt("return", data); case 11: case "end": return _context.stop(); } } }, _callee, this); })); function head(_x) { return _head.apply(this, arguments); } return head; }(); },{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.keys.js":257,"core-js/modules/web.dom-collections.for-each.js":296}],44:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var proto = exports; /* * Set object's ACL * @param {String} name the object key * @param {String} acl the object ACL * @param {Object} options */ proto.putACL = /*#__PURE__*/function () { var _putACL = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, acl, options) { var params, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = options || {}; options.subres = Object.assign({ acl: '' }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } options.headers = options.headers || {}; options.headers['x-oss-object-acl'] = acl; name = this._objectName(name); params = this._objectRequestParams('PUT', name, options); params.successStatuses = [200]; _context.next = 10; return this.request(params); case 10: result = _context.sent; return _context.abrupt("return", { res: result.res }); case 12: case "end": return _context.stop(); } } }, _callee, this); })); function putACL(_x, _x2, _x3) { return _putACL.apply(this, arguments); } return putACL; }(); },{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],45:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); require("core-js/modules/es.array.map.js"); require("core-js/modules/es.object.keys.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _require = require('../utils/obj2xml'), obj2xml = _require.obj2xml; var _require2 = require('../utils/checkObjectTag'), checkObjectTag = _require2.checkObjectTag; var proto = exports; /** * putObjectTagging * @param {String} name - object name * @param {Object} tag - object tag, eg: `{a: "1", b: "2"}` * @param {Object} options */ proto.putObjectTagging = /*#__PURE__*/function () { var _putObjectTagging = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, tag) { var options, params, paramXMLObj, result, _args = arguments; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = _args.length > 2 && _args[2] !== undefined ? _args[2] : {}; checkObjectTag(tag); options.subres = Object.assign({ tagging: '' }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } name = this._objectName(name); params = this._objectRequestParams('PUT', name, options); params.successStatuses = [200]; tag = Object.keys(tag).map(function (key) { return { Key: key, Value: tag[key] }; }); paramXMLObj = { Tagging: { TagSet: { Tag: tag } } }; params.mime = 'xml'; params.content = obj2xml(paramXMLObj); _context.next = 13; return this.request(params); case 13: result = _context.sent; return _context.abrupt("return", { res: result.res, status: result.status }); case 15: case "end": return _context.stop(); } } }, _callee, this); })); function putObjectTagging(_x, _x2) { return _putObjectTagging.apply(this, arguments); } return putObjectTagging; }(); },{"../utils/checkObjectTag":52,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.map.js":249,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.keys.js":257}],46:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var proto = exports; /** * putSymlink * @param {String} name - object name * @param {String} targetName - target name * @param {Object} options * @param {{res}} */ proto.putSymlink = /*#__PURE__*/function () { var _putSymlink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(name, targetName, options) { var params, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: options = options || {}; options.headers = options.headers || {}; targetName = this._escape(this._objectName(targetName)); this._convertMetaToHeaders(options.meta, options.headers); options.headers['x-oss-symlink-target'] = targetName; options.subres = Object.assign({ symlink: '' }, options.subres); if (options.versionId) { options.subres.versionId = options.versionId; } if (options.storageClass) { options.headers['x-oss-storage-class'] = options.storageClass; } name = this._objectName(name); params = this._objectRequestParams('PUT', name, options); params.successStatuses = [200]; _context.next = 13; return this.request(params); case 13: result = _context.sent; return _context.abrupt("return", { res: result.res }); case 15: case "end": return _context.stop(); } } }, _callee, this); })); function putSymlink(_x, _x2, _x3) { return _putSymlink.apply(this, arguments); } return putSymlink; }(); },{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],47:[function(require,module,exports){ "use strict"; require("core-js/modules/es.object.assign.js"); var urlutil = require('url'); var utility = require('utility'); var copy = require('copy-to'); var signHelper = require('../../common/signUtils'); var _require = require('../utils/isIP'), isIP = _require.isIP; var _require2 = require('../../common/utils/isFunction'), isFunction = _require2.isFunction; var _require3 = require('../utils/setSTSToken'), checkCredentials = _require3.checkCredentials; var _require4 = require('../utils/formatObjKey'), formatObjKey = _require4.formatObjKey; var proto = exports; proto.signatureUrl = function signatureUrl(name, options) { var _this = this; if (isIP(this.options.endpoint.hostname)) { throw new Error('can not get the object URL when endpoint is IP'); } options = options || {}; name = this._objectName(name); options.method = options.method || 'GET'; var expires = utility.timestamp() + (options.expires || 1800); var params = { bucket: this.options.bucket, object: name }; var resource = this._getResource(params); if (this.options.stsToken && isFunction(this.options.refreshSTSToken)) { var now = new Date(); if (this.stsTokenFreshTime >= this.options.refreshSTSTokenInterval) { this.stsTokenFreshTime = now; this.options.refreshSTSToken().then(function (r) { var credentials = formatObjKey(r, 'firstLowerCase'); if (credentials.securityToken) { credentials.stsToken = credentials.securityToken; } checkCredentials(credentials); Object.assign(_this.options, credentials); }); } else { this.stsTokenFreshTime = now; } } if (this.options.stsToken) { options['security-token'] = this.options.stsToken; } var signRes = signHelper._signatureForURL(this.options.accessKeySecret, options, resource, expires); var url = urlutil.parse(this._getReqUrl(params)); url.query = { OSSAccessKeyId: this.options.accessKeyId, Expires: expires, Signature: signRes.Signature }; copy(signRes.subResource).to(url.query); return url.format(); }; },{"../../common/signUtils":49,"../../common/utils/isFunction":65,"../utils/formatObjKey":59,"../utils/isIP":66,"../utils/setSTSToken":72,"copy-to":88,"core-js/modules/es.object.assign.js":255,"url":404,"utility":406}],48:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.array.iterator.js"); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.promise.js"); require("core-js/modules/es.string.iterator.js"); require("core-js/modules/web.dom-collections.iterator.js"); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.function.name.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _require = require('./utils/isArray'), isArray = _require.isArray; var proto = exports; proto._parallelNode = /*#__PURE__*/function () { var _parallelNode2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(todo, parallel, fn, sourceData) { var that, jobErr, jobs, tempBatch, remainder, batch, taskIndex, i; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: that = this; // upload in parallel jobErr = []; jobs = []; tempBatch = todo.length / parallel; remainder = todo.length % parallel; batch = remainder === 0 ? tempBatch : (todo.length - remainder) / parallel + 1; taskIndex = 1; i = 0; case 8: if (!(i < todo.length)) { _context.next = 26; break; } if (!that.isCancel()) { _context.next = 11; break; } return _context.abrupt("break", 26); case 11: if (sourceData) { jobs.push(fn(that, todo[i], sourceData)); } else { jobs.push(fn(that, todo[i])); } if (!(jobs.length === parallel || taskIndex === batch && i === todo.length - 1)) { _context.next = 23; break; } _context.prev = 13; taskIndex += 1; /* eslint no-await-in-loop: [0] */ _context.next = 17; return Promise.all(jobs); case 17: _context.next = 22; break; case 19: _context.prev = 19; _context.t0 = _context["catch"](13); jobErr.push(_context.t0); case 22: jobs = []; case 23: i++; _context.next = 8; break; case 26: return _context.abrupt("return", jobErr); case 27: case "end": return _context.stop(); } } }, _callee, this, [[13, 19]]); })); function _parallelNode(_x, _x2, _x3, _x4) { return _parallelNode2.apply(this, arguments); } return _parallelNode; }(); proto._parallel = function _parallel(todo, parallel, jobPromise) { var that = this; return new Promise(function (resolve) { var _jobErr = []; if (parallel <= 0 || !todo) { resolve(_jobErr); return; } function onlyOnce(fn) { return function () { if (fn === null) throw new Error('Callback was already called.'); var callFn = fn; fn = null; for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } callFn.apply(this, args); }; } function createArrayIterator(coll) { var i = -1; var len = coll.length; return function next() { return ++i < len && !that.isCancel() ? { value: coll[i], key: i } : null; }; } var nextElem = createArrayIterator(todo); var done = false; var running = 0; var looping = false; function iterateeCallback(err, value) { running -= 1; if (err) { done = true; _jobErr.push(err); resolve(_jobErr); } else if (value === {} || done && running <= 0) { done = true; resolve(_jobErr); } else if (!looping) { /* eslint no-use-before-define: [0] */ if (that.isCancel()) { resolve(_jobErr); } else { replenish(); } } } function iteratee(value, callback) { jobPromise(value).then(function (result) { callback(null, result); }).catch(function (err) { callback(err); }); } function replenish() { looping = true; while (running < parallel && !done && !that.isCancel()) { var elem = nextElem(); if (elem === null || _jobErr.length > 0) { done = true; if (running <= 0) { resolve(_jobErr); } return; } running += 1; iteratee(elem.value, onlyOnce(iterateeCallback)); } looping = false; } replenish(); }); }; /** * cancel operation, now can use with multipartUpload * @param {Object} abort * {String} anort.name object key * {String} anort.uploadId upload id * {String} anort.options timeout */ proto.cancel = function cancel(abort) { this.options.cancelFlag = true; if (isArray(this.multipartUploadStreams)) { this.multipartUploadStreams.forEach(function (_) { if (_.destroyed === false) { var err = { name: 'cancel', message: 'cancel' }; _.destroy(err); } }); } this.multipartUploadStreams = []; if (abort) { this.abortMultipartUpload(abort.name, abort.uploadId, abort.options); } }; proto.isCancel = function isCancel() { return this.options.cancelFlag; }; proto.resetCancelFlag = function resetCancelFlag() { this.options.cancelFlag = false; }; proto._stop = function _stop() { this.options.cancelFlag = true; }; // cancel is not error , so create an object proto._makeCancelEvent = function _makeCancelEvent() { var cancelEvent = { status: 0, name: 'cancel' }; return cancelEvent; }; // abort is not error , so create an object proto._makeAbortEvent = function _makeAbortEvent() { var abortEvent = { status: 0, name: 'abort', message: 'upload task has been abort' }; return abortEvent; }; },{"./utils/isArray":61,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.iterator.js":247,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.string.iterator.js":264,"core-js/modules/web.dom-collections.for-each.js":296,"core-js/modules/web.dom-collections.iterator.js":297}],49:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; require("core-js/modules/es.string.trim.js"); require("core-js/modules/es.array.sort.js"); require("core-js/modules/es.array.join.js"); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.regexp.to-string.js"); var crypto = require('./../../shims/crypto/crypto.js'); var is = require('is-type-of'); var _require = require('./utils/lowercaseKeyHeader'), lowercaseKeyHeader = _require.lowercaseKeyHeader; /** * * @param {String} resourcePath * @param {Object} parameters * @return */ exports.buildCanonicalizedResource = function buildCanonicalizedResource(resourcePath, parameters) { var canonicalizedResource = "".concat(resourcePath); var separatorString = '?'; if (is.string(parameters) && parameters.trim() !== '') { canonicalizedResource += separatorString + parameters; } else if (is.array(parameters)) { parameters.sort(); canonicalizedResource += separatorString + parameters.join('&'); } else if (parameters) { var compareFunc = function compareFunc(entry1, entry2) { if (entry1[0] > entry2[0]) { return 1; } else if (entry1[0] < entry2[0]) { return -1; } return 0; }; var processFunc = function processFunc(key) { canonicalizedResource += separatorString + key; if (parameters[key] || parameters[key] === 0) { canonicalizedResource += "=".concat(parameters[key]); } separatorString = '&'; }; Object.keys(parameters).sort(compareFunc).forEach(processFunc); } return canonicalizedResource; }; /** * @param {String} method * @param {String} resourcePath * @param {Object} request * @param {String} expires * @return {String} canonicalString */ exports.buildCanonicalString = function canonicalString(method, resourcePath, request, expires) { request = request || {}; var headers = lowercaseKeyHeader(request.headers); var OSS_PREFIX = 'x-oss-'; var ossHeaders = []; var headersToSign = {}; var signContent = [method.toUpperCase(), headers['content-md5'] || '', headers['content-type'], expires || headers['x-oss-date']]; Object.keys(headers).forEach(function (key) { var lowerKey = key.toLowerCase(); if (lowerKey.indexOf(OSS_PREFIX) === 0) { headersToSign[lowerKey] = String(headers[key]).trim(); } }); Object.keys(headersToSign).sort().forEach(function (key) { ossHeaders.push("".concat(key, ":").concat(headersToSign[key])); }); signContent = signContent.concat(ossHeaders); signContent.push(this.buildCanonicalizedResource(resourcePath, request.parameters)); return signContent.join('\n'); }; /** * @param {String} accessKeySecret * @param {String} canonicalString */ exports.computeSignature = function computeSignature(accessKeySecret, canonicalString) { var headerEncoding = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'utf-8'; var signature = crypto.createHmac('sha1', accessKeySecret); return signature.update(Buffer.from(canonicalString, headerEncoding)).digest('base64'); }; /** * @param {String} accessKeyId * @param {String} accessKeySecret * @param {String} canonicalString */ exports.authorization = function authorization(accessKeyId, accessKeySecret, canonicalString, headerEncoding) { return "OSS ".concat(accessKeyId, ":").concat(this.computeSignature(accessKeySecret, canonicalString, headerEncoding)); }; /** * * @param {String} accessKeySecret * @param {Object} options * @param {String} resource * @param {Number} expires */ exports._signatureForURL = function _signatureForURL(accessKeySecret) { var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var resource = arguments.length > 2 ? arguments[2] : undefined; var expires = arguments.length > 3 ? arguments[3] : undefined; var headerEncoding = arguments.length > 4 ? arguments[4] : undefined; var headers = {}; var _options$subResource = options.subResource, subResource = _options$subResource === void 0 ? {} : _options$subResource; if (options.process) { var processKeyword = 'x-oss-process'; subResource[processKeyword] = options.process; } if (options.trafficLimit) { var trafficLimitKey = 'x-oss-traffic-limit'; subResource[trafficLimitKey] = options.trafficLimit; } if (options.response) { Object.keys(options.response).forEach(function (k) { var key = "response-".concat(k.toLowerCase()); subResource[key] = options.response[k]; }); } Object.keys(options).forEach(function (key) { var lowerKey = key.toLowerCase(); var value = options[key]; if (lowerKey.indexOf('x-oss-') === 0) { headers[lowerKey] = value; } else if (lowerKey.indexOf('content-md5') === 0) { headers[key] = value; } else if (lowerKey.indexOf('content-type') === 0) { headers[key] = value; } }); if (Object.prototype.hasOwnProperty.call(options, 'security-token')) { subResource['security-token'] = options['security-token']; } if (Object.prototype.hasOwnProperty.call(options, 'callback')) { var json = { callbackUrl: encodeURI(options.callback.url), callbackBody: options.callback.body }; if (options.callback.host) { json.callbackHost = options.callback.host; } if (options.callback.contentType) { json.callbackBodyType = options.callback.contentType; } subResource.callback = Buffer.from(JSON.stringify(json)).toString('base64'); if (options.callback.customValue) { var callbackVar = {}; Object.keys(options.callback.customValue).forEach(function (key) { callbackVar["x:".concat(key)] = options.callback.customValue[key]; }); subResource['callback-var'] = Buffer.from(JSON.stringify(callbackVar)).toString('base64'); } } var canonicalString = this.buildCanonicalString(options.method, resource, { headers: headers, parameters: subResource }, expires.toString()); return { Signature: this.computeSignature(accessKeySecret, canonicalString, headerEncoding), subResource: subResource }; }; }).call(this)}).call(this,require("buffer").Buffer) },{"./../../shims/crypto/crypto.js":393,"./utils/lowercaseKeyHeader":68,"buffer":85,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.join.js":248,"core-js/modules/es.array.sort.js":251,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.trim.js":269,"core-js/modules/web.dom-collections.for-each.js":296,"is-type-of":398}],50:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkBucketName = void 0; exports.checkBucketName = function (name) { var createBucket = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var bucketRegex = createBucket ? /^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/ : /^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/; if (!bucketRegex.test(name)) { throw new Error('The bucket must be conform to the specifications'); } }; },{}],51:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkConfigValid = void 0; var checkConfigMap = { endpoint: checkEndpoint, region: /^[a-zA-Z0-9\-_]+$/ }; function checkEndpoint(endpoint) { if (typeof endpoint === 'string') { return /^[a-zA-Z0-9._:/-]+$/.test(endpoint); } else if (endpoint.host) { return /^[a-zA-Z0-9._:/-]+$/.test(endpoint.host); } return false; } exports.checkConfigValid = function (conf, key) { if (checkConfigMap[key]) { var isConfigValid = true; if (checkConfigMap[key] instanceof Function) { isConfigValid = checkConfigMap[key](conf); } else { isConfigValid = checkConfigMap[key].test(conf); } if (!isConfigValid) { throw new Error("The ".concat(key, " must be conform to the specifications")); } } }; },{}],52:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.object.entries.js"); require("core-js/modules/web.dom-collections.for-each.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports.checkObjectTag = void 0; var _require = require('./checkValid'), checkValid = _require.checkValid; var _require2 = require('./isObject'), isObject = _require2.isObject; var commonRules = [{ validator: function validator(value) { if (typeof value !== 'string') { throw new Error('the key and value of the tag must be String'); } } }, { pattern: /^[a-zA-Z0-9 +-=._:/]+$/, msg: 'tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)' }]; var rules = { key: [].concat(commonRules, [{ pattern: /^.{1,128}$/, msg: 'tag key can be a maximum of 128 bytes in length' }]), value: [].concat(commonRules, [{ pattern: /^.{0,256}$/, msg: 'tag value can be a maximum of 256 bytes in length' }]) }; function checkObjectTag(tag) { if (!isObject(tag)) { throw new Error('tag must be Object'); } var entries = Object.entries(tag); if (entries.length > 10) { throw new Error('maximum of 10 tags for a object'); } var rulesIndexKey = ['key', 'value']; entries.forEach(function (keyValue) { keyValue.forEach(function (item, index) { checkValid(item, rules[rulesIndexKey[index]]); }); }); } exports.checkObjectTag = checkObjectTag; },{"./checkValid":53,"./isObject":67,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.object.entries.js":256,"core-js/modules/web.dom-collections.for-each.js":296}],53:[function(require,module,exports){ "use strict"; require("core-js/modules/web.dom-collections.for-each.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports.checkValid = void 0; function checkValid(_value, _rules) { _rules.forEach(function (rule) { if (rule.validator) { rule.validator(_value); } else if (rule.pattern && !rule.pattern.test(_value)) { throw new Error(rule.msg); } }); } exports.checkValid = checkValid; },{"core-js/modules/web.dom-collections.for-each.js":296}],54:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; require("core-js/modules/es.array.includes.js"); require("core-js/modules/es.string.includes.js"); require("core-js/modules/es.object.assign.js"); require("core-js/modules/es.array.concat.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports.createRequest = void 0; var crypto = require('./../../../shims/crypto/crypto.js'); var debug = require('debug')('ali-oss'); var mime = require('mime'); var dateFormat = require('dateformat'); var copy = require('copy-to'); var path = require('path'); var _require = require('./encoder'), encoder = _require.encoder; var _require2 = require('./isIP'), isIP = _require2.isIP; var _require3 = require('./setRegion'), setRegion = _require3.setRegion; var _require4 = require('../client/getReqUrl'), getReqUrl = _require4.getReqUrl; function getHeader(headers, name) { return headers[name] || headers[name.toLowerCase()]; } function delHeader(headers, name) { delete headers[name]; delete headers[name.toLowerCase()]; } function createRequest(params) { var date = new Date(); if (this.options.amendTimeSkewed) { date = +new Date() + this.options.amendTimeSkewed; } var headers = { 'x-oss-date': dateFormat(date, 'UTC:ddd, dd mmm yyyy HH:MM:ss \'GMT\'') }; if (typeof window !== 'undefined') { headers['x-oss-user-agent'] = this.userAgent; } if (this.userAgent.includes('nodejs')) { headers['User-Agent'] = this.userAgent; } if (this.options.isRequestPay) { Object.assign(headers, { 'x-oss-request-payer': 'requester' }); } if (this.options.stsToken) { headers['x-oss-security-token'] = this.options.stsToken; } copy(params.headers).to(headers); if (!getHeader(headers, 'Content-Type')) { if (params.mime && params.mime.indexOf('/') > 0) { headers['Content-Type'] = params.mime; } else { headers['Content-Type'] = mime.getType(params.mime || path.extname(params.object || '')); } } if (!getHeader(headers, 'Content-Type')) { delHeader(headers, 'Content-Type'); } if (params.content) { if (!params.disabledMD5) { headers['Content-MD5'] = crypto.createHash('md5').update(Buffer.from(params.content, 'utf8')).digest('base64'); } if (!headers['Content-Length']) { headers['Content-Length'] = params.content.length; } } var hasOwnProperty = Object.prototype.hasOwnProperty; for (var k in headers) { if (headers[k] && hasOwnProperty.call(headers, k)) { headers[k] = encoder(String(headers[k]), this.options.headerEncoding); } } var authResource = this._getResource(params); headers.authorization = this.authorization(params.method, authResource, params.subres, headers, this.options.headerEncoding); // const url = this._getReqUrl(params); if (isIP(this.options.endpoint.hostname)) { var _this$options = this.options, region = _this$options.region, internal = _this$options.internal, secure = _this$options.secure; var hostInfo = setRegion(region, internal, secure); headers.host = "".concat(params.bucket, ".").concat(hostInfo.host); } var url = getReqUrl.bind(this)(params); debug('request %s %s, with headers %j, !!stream: %s', params.method, url, headers, !!params.stream); var timeout = params.timeout || this.options.timeout; var reqParams = { method: params.method, content: params.content, stream: params.stream, headers: headers, timeout: timeout, writeStream: params.writeStream, customResponse: params.customResponse, ctx: params.ctx || this.ctx }; if (this.agent) { reqParams.agent = this.agent; } if (this.httpsAgent) { reqParams.httpsAgent = this.httpsAgent; } reqParams.enableProxy = !!this.options.enableProxy; reqParams.proxy = this.options.proxy ? this.options.proxy : null; return { url: url, params: reqParams }; } exports.createRequest = createRequest; }).call(this)}).call(this,require("buffer").Buffer) },{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":393,"./encoder":57,"./isIP":66,"./setRegion":71,"buffer":85,"copy-to":88,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.includes.js":246,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.string.includes.js":263,"dateformat":299,"debug":397,"mime":317,"path":321}],55:[function(require,module,exports){ "use strict"; require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.entries.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.replace.js"); require("core-js/modules/es.array.includes.js"); require("core-js/modules/es.object.keys.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports.dataFix = void 0; var isObject_1 = require("./isObject"); var TRUE = ['true', 'TRUE', '1', 1]; var FALSE = ['false', 'FALSE', '0', 0]; function dataFix(o, conf, finalKill) { if (!isObject_1.isObject(o)) return; var _conf$remove = conf.remove, remove = _conf$remove === void 0 ? [] : _conf$remove, _conf$rename = conf.rename, rename = _conf$rename === void 0 ? {} : _conf$rename, _conf$camel = conf.camel, camel = _conf$camel === void 0 ? [] : _conf$camel, _conf$bool = conf.bool, bool = _conf$bool === void 0 ? [] : _conf$bool, _conf$lowerFirst = conf.lowerFirst, lowerFirst = _conf$lowerFirst === void 0 ? false : _conf$lowerFirst; // åˆ é™¤ä¸éœ€è¦çš„æ•°æ® remove.forEach(function (v) { return delete o[v]; }); // é‡å‘½å Object.entries(rename).forEach(function (v) { if (!o[v[0]]) return; if (o[v[1]]) return; o[v[1]] = o[v[0]]; delete o[v[0]]; }); // 驼峰化 camel.forEach(function (v) { if (!o[v]) return; var afterKey = v.replace(/^(.)/, function ($0) { return $0.toLowerCase(); }).replace(/-(\w)/g, function (_, $1) { return $1.toUpperCase(); }); if (o[afterKey]) return; o[afterKey] = o[v]; // todo 暂时兼容以å‰æ•°æ®ï¼Œä¸åšåˆ 除 // delete o[v]; }); // 转æ¢å€¼ä¸ºå¸ƒå°”值 bool.forEach(function (v) { o[v] = fixBool(o[v]); }); // finalKill if (typeof finalKill === 'function') { finalKill(o); } // 首å—æ¯è½¬å°å†™ fixLowerFirst(o, lowerFirst); return dataFix; } exports.dataFix = dataFix; function fixBool(value) { if (!value) return false; if (TRUE.includes(value)) return true; return FALSE.includes(value) ? false : value; } function fixLowerFirst(o, lowerFirst) { if (lowerFirst) { Object.keys(o).forEach(function (key) { var lowerK = key.replace(/^\w/, function (match) { return match.toLowerCase(); }); if (typeof o[lowerK] === 'undefined') { o[lowerK] = o[key]; delete o[key]; } }); } } },{"./isObject":67,"core-js/modules/es.array.includes.js":246,"core-js/modules/es.object.entries.js":256,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296}],56:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); require("core-js/modules/es.array.slice.js"); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); Object.defineProperty(exports, "__esModule", { value: true }); exports.deepCopyWith = exports.deepCopy = void 0; var isBuffer_1 = require("./isBuffer"); exports.deepCopy = function (obj) { if (obj === null || (0, _typeof2.default)(obj) !== 'object') { return obj; } if (isBuffer_1.isBuffer(obj)) { return obj.slice(); } var copy = Array.isArray(obj) ? [] : {}; Object.keys(obj).forEach(function (key) { copy[key] = exports.deepCopy(obj[key]); }); return copy; }; exports.deepCopyWith = function (obj, customizer) { function deepCopyWithHelper(value, innerKey, innerObject) { var result = customizer(value, innerKey, innerObject); if (result !== undefined) return result; if (value === null || (0, _typeof2.default)(value) !== 'object') { return value; } if (isBuffer_1.isBuffer(value)) { return value.slice(); } var copy = Array.isArray(value) ? [] : {}; Object.keys(value).forEach(function (k) { copy[k] = deepCopyWithHelper(value[k], k, value); }); return copy; } if (customizer) { return deepCopyWithHelper(obj, '', null); } else { return exports.deepCopy(obj); } }; },{"./isBuffer":63,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.object.keys.js":257,"core-js/modules/web.dom-collections.for-each.js":296}],57:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.regexp.to-string.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports.encoder = void 0; function encoder(str) { var encoding = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'utf-8'; if (encoding === 'utf-8') return str; return Buffer.from(str).toString('latin1'); } exports.encoder = encoder; }).call(this)}).call(this,require("buffer").Buffer) },{"buffer":85,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.to-string.js":262}],58:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.map.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.replace.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports.formatInventoryConfig = void 0; var dataFix_1 = require("../utils/dataFix"); var isObject_1 = require("../utils/isObject"); var isArray_1 = require("../utils/isArray"); var formatObjKey_1 = require("../utils/formatObjKey"); function formatInventoryConfig(inventoryConfig) { var toArray = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; if (toArray && isObject_1.isObject(inventoryConfig)) inventoryConfig = [inventoryConfig]; if (isArray_1.isArray(inventoryConfig)) { inventoryConfig = inventoryConfig.map(formatFn); } else { inventoryConfig = formatFn(inventoryConfig); } return inventoryConfig; } exports.formatInventoryConfig = formatInventoryConfig; function formatFn(_) { dataFix_1.dataFix(_, { bool: ['IsEnabled'] }, function (conf) { var _a, _b; // prefix conf.prefix = conf.Filter.Prefix; delete conf.Filter; // OSSBucketDestination conf.OSSBucketDestination = conf.Destination.OSSBucketDestination; // OSSBucketDestination.rolename conf.OSSBucketDestination.rolename = conf.OSSBucketDestination.RoleArn.replace(/.*\//, ''); delete conf.OSSBucketDestination.RoleArn; // OSSBucketDestination.bucket conf.OSSBucketDestination.bucket = conf.OSSBucketDestination.Bucket.replace(/.*:::/, ''); delete conf.OSSBucketDestination.Bucket; delete conf.Destination; // frequency conf.frequency = conf.Schedule.Frequency; delete conf.Schedule.Frequency; // optionalFields if (((_a = conf === null || conf === void 0 ? void 0 : conf.OptionalFields) === null || _a === void 0 ? void 0 : _a.Field) && !isArray_1.isArray((_b = conf.OptionalFields) === null || _b === void 0 ? void 0 : _b.Field)) conf.OptionalFields.Field = [conf.OptionalFields.Field]; }); // firstLowerCase _ = formatObjKey_1.formatObjKey(_, 'firstLowerCase', { exclude: ['OSSBucketDestination', 'SSE-OSS', 'SSE-KMS'] }); return _; } },{"../utils/dataFix":55,"../utils/formatObjKey":59,"../utils/isArray":61,"../utils/isObject":67,"core-js/modules/es.array.map.js":249,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.replace.js":266}],59:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); require("core-js/modules/es.array.includes.js"); require("core-js/modules/es.string.includes.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.replace.js"); var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); Object.defineProperty(exports, "__esModule", { value: true }); exports.formatObjKey = void 0; function formatObjKey(obj, type, options) { if (obj === null || (0, _typeof2.default)(obj) !== 'object') { return obj; } var o; if (Array.isArray(obj)) { o = []; for (var i = 0; i < obj.length; i++) { o.push(formatObjKey(obj[i], type, options)); } } else { o = {}; Object.keys(obj).forEach(function (key) { o[handelFormat(key, type, options)] = formatObjKey(obj[key], type, options); }); } return o; } exports.formatObjKey = formatObjKey; function handelFormat(key, type, options) { var _a; if (options && ((_a = options.exclude) === null || _a === void 0 ? void 0 : _a.includes(key))) return key; if (type === 'firstUpperCase') { key = key.replace(/^./, function (_) { return _.toUpperCase(); }); } else if (type === 'firstLowerCase') { key = key.replace(/^./, function (_) { return _.toLowerCase(); }); } return key; } },{"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,"core-js/modules/es.array.includes.js":246,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.includes.js":263,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296}],60:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getStrBytesCount = void 0; function getStrBytesCount(str) { var bytesCount = 0; for (var i = 0; i < str.length; i++) { var c = str.charAt(i); if (/^[\u00-\uff]$/.test(c)) { bytesCount += 1; } else { bytesCount += 2; } } return bytesCount; } exports.getStrBytesCount = getStrBytesCount; },{}],61:[function(require,module,exports){ "use strict"; require("core-js/modules/es.object.to-string.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports.isArray = void 0; exports.isArray = function (obj) { return Object.prototype.toString.call(obj) === '[object Array]'; }; },{"core-js/modules/es.object.to-string.js":258}],62:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isBlob = void 0; function isBlob(blob) { return typeof Blob !== 'undefined' && blob instanceof Blob; } exports.isBlob = isBlob; },{}],63:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isBuffer = void 0; function isBuffer(obj) { return Buffer.isBuffer(obj); } exports.isBuffer = isBuffer; }).call(this)}).call(this,{"isBuffer":require("../../../node_modules/is-buffer/index.js")}) },{"../../../node_modules/is-buffer/index.js":312}],64:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isFile = void 0; exports.isFile = function (obj) { return typeof File !== 'undefined' && obj instanceof File; }; },{}],65:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isFunction = void 0; exports.isFunction = function (v) { return typeof v === 'function'; }; },{}],66:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isIP = void 0; // it provide commont methods for node and browser , we will add more solutions later in this file /** * Judge isIP include ipv4 or ipv6 * @param {String} options * @return {Array} the multipart uploads */ exports.isIP = function (host) { var ipv4Regex = /^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/; var ipv6Regex = /^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/; return ipv4Regex.test(host) || ipv6Regex.test(host); }; },{}],67:[function(require,module,exports){ "use strict"; require("core-js/modules/es.object.to-string.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports.isObject = void 0; exports.isObject = function (obj) { return Object.prototype.toString.call(obj) === '[object Object]'; }; },{"core-js/modules/es.object.to-string.js":258}],68:[function(require,module,exports){ "use strict"; require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports.lowercaseKeyHeader = void 0; var isObject_1 = require("./isObject"); function lowercaseKeyHeader(headers) { var lowercaseHeader = {}; if (isObject_1.isObject(headers)) { Object.keys(headers).forEach(function (key) { lowercaseHeader[key.toLowerCase()] = headers[key]; }); } return lowercaseHeader; } exports.lowercaseKeyHeader = lowercaseKeyHeader; },{"./isObject":67,"core-js/modules/es.object.keys.js":257,"core-js/modules/web.dom-collections.for-each.js":296}],69:[function(require,module,exports){ "use strict"; require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.replace.js"); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.array.join.js"); require("core-js/modules/es.array.map.js"); require("core-js/modules/es.regexp.to-string.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports.obj2xml = void 0; var formatObjKey_1 = require("./formatObjKey"); function type(params) { return Object.prototype.toString.call(params).replace(/(.*? |])/g, '').toLowerCase(); } function obj2xml(obj, options) { var s = ''; if (options && options.headers) { s = '<?xml version="1.0" encoding="UTF-8"?>\n'; } if (options && options.firstUpperCase) { obj = formatObjKey_1.formatObjKey(obj, 'firstUpperCase'); } if (type(obj) === 'object') { Object.keys(obj).forEach(function (key) { // filter undefined or null if (type(obj[key]) !== 'undefined' && type(obj[key]) !== 'null') { if (type(obj[key]) === 'string' || type(obj[key]) === 'number') { s += "<".concat(key, ">").concat(obj[key], "</").concat(key, ">"); } else if (type(obj[key]) === 'object') { s += "<".concat(key, ">").concat(obj2xml(obj[key]), "</").concat(key, ">"); } else if (type(obj[key]) === 'array') { s += obj[key].map(function (keyChild) { return "<".concat(key, ">").concat(obj2xml(keyChild), "</").concat(key, ">"); }).join(''); } else { s += "<".concat(key, ">").concat(obj[key].toString(), "</").concat(key, ">"); } } }); } else { s += obj.toString(); } return s; } exports.obj2xml = obj2xml; },{"./formatObjKey":59,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.join.js":248,"core-js/modules/es.array.map.js":249,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296}],70:[function(require,module,exports){ "use strict"; require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.promise.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports.retry = void 0; function retry(func, retryMax) { var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; var retryNum = 0; var _config$retryDelay = config.retryDelay, retryDelay = _config$retryDelay === void 0 ? 500 : _config$retryDelay, _config$errorHandler = config.errorHandler, errorHandler = _config$errorHandler === void 0 ? function () { return true; } : _config$errorHandler; var funcR = function funcR() { for (var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++) { arg[_key] = arguments[_key]; } return new Promise(function (resolve, reject) { func.apply(void 0, arg).then(function (result) { retryNum = 0; resolve(result); }).catch(function (err) { if (retryNum < retryMax && errorHandler(err)) { retryNum++; setTimeout(function () { resolve(funcR.apply(void 0, arg)); }, retryDelay); } else { retryNum = 0; reject(err); } }); }); }; return funcR; } exports.retry = retry; },{"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259}],71:[function(require,module,exports){ "use strict"; var __importDefault = void 0 && (void 0).__importDefault || function (mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.setRegion = void 0; var url_1 = __importDefault(require("url")); var checkConfigValid_1 = require("./checkConfigValid"); function setRegion(region) { var internal = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var secure = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; checkConfigValid_1.checkConfigValid(region, 'region'); var protocol = secure ? 'https://' : 'http://'; var suffix = internal ? '-internal.aliyuncs.com' : '.aliyuncs.com'; var prefix = 'vpc100-oss-cn-'; // aliyun VPC region: https://help.aliyun.com/knowledge_detail/38740.html if (region.substr(0, prefix.length) === prefix) { suffix = '.aliyuncs.com'; } return url_1.default.parse(protocol + region + suffix); } exports.setRegion = setRegion; },{"./checkConfigValid":51,"url":404}],72:[function(require,module,exports){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); require("core-js/modules/es.object.keys.js"); require("core-js/modules/es.array.find.js"); require("core-js/modules/es.object.assign.js"); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); Object.defineProperty(exports, "__esModule", { value: true }); exports.checkCredentials = exports.setSTSToken = void 0; var formatObjKey_1 = require("./formatObjKey"); function setSTSToken() { return _setSTSToken.apply(this, arguments); } function _setSTSToken() { _setSTSToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() { var now, credentials; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: if (!this.options) this.options = {}; now = new Date(); if (!this.stsTokenFreshTime) { _context.next = 14; break; } if (!(+now - this.stsTokenFreshTime >= this.options.refreshSTSTokenInterval)) { _context.next = 12; break; } this.stsTokenFreshTime = now; _context.next = 7; return this.options.refreshSTSToken(); case 7: credentials = _context.sent; credentials = formatObjKey_1.formatObjKey(credentials, 'firstLowerCase'); if (credentials.securityToken) { credentials.stsToken = credentials.securityToken; } checkCredentials(credentials); Object.assign(this.options, credentials); case 12: _context.next = 15; break; case 14: this.stsTokenFreshTime = now; case 15: return _context.abrupt("return", null); case 16: case "end": return _context.stop(); } } }, _callee, this); })); return _setSTSToken.apply(this, arguments); } exports.setSTSToken = setSTSToken; function checkCredentials(obj) { var stsTokenKey = ['accessKeySecret', 'accessKeyId', 'stsToken']; var objKeys = Object.keys(obj); stsTokenKey.forEach(function (_) { if (!objKeys.find(function (key) { return key === _; })) { throw Error("refreshSTSToken must return contains ".concat(_)); } }); } exports.checkCredentials = checkCredentials; },{"./formatObjKey":59,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.find.js":244,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.keys.js":257}],73:[function(require,module,exports){ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } module.exports = _asyncToGenerator; module.exports["default"] = module.exports, module.exports.__esModule = true; },{}],74:[function(require,module,exports){ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } module.exports = _interopRequireDefault; module.exports["default"] = module.exports, module.exports.__esModule = true; },{}],75:[function(require,module,exports){ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { module.exports = _typeof = function _typeof(obj) { return typeof obj; }; module.exports["default"] = module.exports, module.exports.__esModule = true; } else { module.exports = _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; module.exports["default"] = module.exports, module.exports.__esModule = true; } return _typeof(obj); } module.exports = _typeof; module.exports["default"] = module.exports, module.exports.__esModule = true; },{}],76:[function(require,module,exports){ module.exports = require("regenerator-runtime"); },{"regenerator-runtime":342}],77:[function(require,module,exports){ module.exports = noop; module.exports.HttpsAgent = noop; // Noop function for browser since native api's don't use agents. function noop () {} },{}],78:[function(require,module,exports){ (function (global){(function (){ 'use strict'; var objectAssign = require('object-assign'); // compare and isBuffer taken from https://github.com/feross/buffer/blob/680e9e5e488f22aac27599a57dc844a6315928dd/index.js // original notice: /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> * @license MIT */ function compare(a, b) { if (a === b) { return 0; } var x = a.length; var y = b.length; for (var i = 0, len = Math.min(x, y); i < len; ++i) { if (a[i] !== b[i]) { x = a[i]; y = b[i]; break; } } if (x < y) { return -1; } if (y < x) { return 1; } return 0; } function isBuffer(b) { if (global.Buffer && typeof global.Buffer.isBuffer === 'function') { return global.Buffer.isBuffer(b); } return !!(b != null && b._isBuffer); } // based on node assert, original notice: // NB: The URL to the CommonJS spec is kept just for tradition. // node-assert has evolved a lot since then, both in API and behavior. // http://wiki.commonjs.org/wiki/Unit_Testing/1.0 // // THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8! // // Originally from narwhal.js (http://narwhaljs.org) // Copyright (c) 2009 Thomas Robinson <280north.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the 'Software'), to // deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or // sell copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. var util = require('util/'); var hasOwn = Object.prototype.hasOwnProperty; var pSlice = Array.prototype.slice; var functionsHaveNames = (function () { return function foo() {}.name === 'foo'; }()); function pToString (obj) { return Object.prototype.toString.call(obj); } function isView(arrbuf) { if (isBuffer(arrbuf)) { return false; } if (typeof global.ArrayBuffer !== 'function') { return false; } if (typeof ArrayBuffer.isView === 'function') { return ArrayBuffer.isView(arrbuf); } if (!arrbuf) { return false; } if (arrbuf instanceof DataView) { return true; } if (arrbuf.buffer && arrbuf.buffer instanceof ArrayBuffer) { return true; } return false; } // 1. The assert module provides functions that throw // AssertionError's when particular conditions are not met. The // assert module must conform to the following interface. var assert = module.exports = ok; // 2. The AssertionError is defined in assert. // new assert.AssertionError({ message: message, // actual: actual, // expected: expected }) var regex = /\s*function\s+([^\(\s]*)\s*/; // based on https://github.com/ljharb/function.prototype.name/blob/adeeeec8bfcc6068b187d7d9fb3d5bb1d3a30899/implementation.js function getName(func) { if (!util.isFunction(func)) { return; } if (functionsHaveNames) { return func.name; } var str = func.toString(); var match = str.match(regex); return match && match[1]; } assert.AssertionError = function AssertionError(options) { this.name = 'AssertionError'; this.actual = options.actual; this.expected = options.expected; this.operator = options.operator; if (options.message) { this.message = options.message; this.generatedMessage = false; } else { this.message = getMessage(this); this.generatedMessage = true; } var stackStartFunction = options.stackStartFunction || fail; if (Error.captureStackTrace) { Error.captureStackTrace(this, stackStartFunction); } else { // non v8 browsers so we can have a stacktrace var err = new Error(); if (err.stack) { var out = err.stack; // try to strip useless frames var fn_name = getName(stackStartFunction); var idx = out.indexOf('\n' + fn_name); if (idx >= 0) { // once we have located the function frame // we need to strip out everything before it (and its line) var next_line = out.indexOf('\n', idx + 1); out = out.substring(next_line + 1); } this.stack = out; } } }; // assert.AssertionError instanceof Error util.inherits(assert.AssertionError, Error); function truncate(s, n) { if (typeof s === 'string') { return s.length < n ? s : s.slice(0, n); } else { return s; } } function inspect(something) { if (functionsHaveNames || !util.isFunction(something)) { return util.inspect(something); } var rawname = getName(something); var name = rawname ? ': ' + rawname : ''; return '[Function' + name + ']'; } function getMessage(self) { return truncate(inspect(self.actual), 128) + ' ' + self.operator + ' ' + truncate(inspect(self.expected), 128); } // At present only the three keys mentioned above are used and // understood by the spec. Implementations or sub modules can pass // other keys to the AssertionError's constructor - they will be // ignored. // 3. All of the following functions must throw an AssertionError // when a corresponding condition is not met, with a message that // may be undefined if not provided. All assertion methods provide // both the actual and expected values to the assertion error for // display purposes. function fail(actual, expected, message, operator, stackStartFunction) { throw new assert.AssertionError({ message: message, actual: actual, expected: expected, operator: operator, stackStartFunction: stackStartFunction }); } // EXTENSION! allows for well behaved errors defined elsewhere. assert.fail = fail; // 4. Pure assertion tests whether a value is truthy, as determined // by !!guard. // assert.ok(guard, message_opt); // This statement is equivalent to assert.equal(true, !!guard, // message_opt);. To test strictly for the value true, use // assert.strictEqual(true, guard, message_opt);. function ok(value, message) { if (!value) fail(value, true, message, '==', assert.ok); } assert.ok = ok; // 5. The equality assertion tests shallow, coercive equality with // ==. // assert.equal(actual, expected, message_opt); assert.equal = function equal(actual, expected, message) { if (actual != expected) fail(actual, expected, message, '==', assert.equal); }; // 6. The non-equality assertion tests for whether two objects are not equal // with != assert.notEqual(actual, expected, message_opt); assert.notEqual = function notEqual(actual, expected, message) { if (actual == expected) { fail(actual, expected, message, '!=', assert.notEqual); } }; // 7. The equivalence assertion tests a deep equality relation. // assert.deepEqual(actual, expected, message_opt); assert.deepEqual = function deepEqual(actual, expected, message) { if (!_deepEqual(actual, expected, false)) { fail(actual, expected, message, 'deepEqual', assert.deepEqual); } }; assert.deepStrictEqual = function deepStrictEqual(actual, expected, message) { if (!_deepEqual(actual, expected, true)) { fail(actual, expected, message, 'deepStrictEqual', assert.deepStrictEqual); } }; function _deepEqual(actual, expected, strict, memos) { // 7.1. All identical values are equivalent, as determined by ===. if (actual === expected) { return true; } else if (isBuffer(actual) && isBuffer(expected)) { return compare(actual, expected) === 0; // 7.2. If the expected value is a Date object, the actual value is // equivalent if it is also a Date object that refers to the same time. } else if (util.isDate(actual) && util.isDate(expected)) { return actual.getTime() === expected.getTime(); // 7.3 If the expected value is a RegExp object, the actual value is // equivalent if it is also a RegExp object with the same source and // properties (`global`, `multiline`, `lastIndex`, `ignoreCase`). } else if (util.isRegExp(actual) && util.isRegExp(expected)) { return actual.source === expected.source && actual.global === expected.global && actual.multiline === expected.multiline && actual.lastIndex === expected.lastIndex && actual.ignoreCase === expected.ignoreCase; // 7.4. Other pairs that do not both pass typeof value == 'object', // equivalence is determined by ==. } else if ((actual === null || typeof actual !== 'object') && (expected === null || typeof expected !== 'object')) { return strict ? actual === expected : actual == expected; // If both values are instances of typed arrays, wrap their underlying // ArrayBuffers in a Buffer each to increase performance // This optimization requires the arrays to have the same type as checked by // Object.prototype.toString (aka pToString). Never perform binary // comparisons for Float*Arrays, though, since e.g. +0 === -0 but their // bit patterns are not identical. } else if (isView(actual) && isView(expected) && pToString(actual) === pToString(expected) && !(actual instanceof Float32Array || actual instanceof Float64Array)) { return compare(new Uint8Array(actual.buffer), new Uint8Array(expected.buffer)) === 0; // 7.5 For all other Object pairs, including Array objects, equivalence is // determined by having the same number of owned properties (as verified // with Object.prototype.hasOwnProperty.call), the same set of keys // (although not necessarily the same order), equivalent values for every // corresponding key, and an identical 'prototype' property. Note: this // accounts for both named and indexed properties on Arrays. } else if (isBuffer(actual) !== isBuffer(expected)) { return false; } else { memos = memos || {actual: [], expected: []}; var actualIndex = memos.actual.indexOf(actual); if (actualIndex !== -1) { if (actualIndex === memos.expected.indexOf(expected)) { return true; } } memos.actual.push(actual); memos.expected.push(expected); return objEquiv(actual, expected, strict, memos); } } function isArguments(object) { return Object.prototype.toString.call(object) == '[object Arguments]'; } function objEquiv(a, b, strict, actualVisitedObjects) { if (a === null || a === undefined || b === null || b === undefined) return false; // if one is a primitive, the other must be same if (util.isPrimitive(a) || util.isPrimitive(b)) return a === b; if (strict && Object.getPrototypeOf(a) !== Object.getPrototypeOf(b)) return false; var aIsArgs = isArguments(a); var bIsArgs = isArguments(b); if ((aIsArgs && !bIsArgs) || (!aIsArgs && bIsArgs)) return false; if (aIsArgs) { a = pSlice.call(a); b = pSlice.call(b); return _deepEqual(a, b, strict); } var ka = objectKeys(a); var kb = objectKeys(b); var key, i; // having the same number of owned properties (keys incorporates // hasOwnProperty) if (ka.length !== kb.length) return false; //the same set of keys (although not necessarily the same order), ka.sort(); kb.sort(); //~~~cheap key test for (i = ka.length - 1; i >= 0; i--) { if (ka[i] !== kb[i]) return false; } //equivalent values for every corresponding key, and //~~~possibly expensive deep test for (i = ka.length - 1; i >= 0; i--) { key = ka[i]; if (!_deepEqual(a[key], b[key], strict, actualVisitedObjects)) return false; } return true; } // 8. The non-equivalence assertion tests for any deep inequality. // assert.notDeepEqual(actual, expected, message_opt); assert.notDeepEqual = function notDeepEqual(actual, expected, message) { if (_deepEqual(actual, expected, false)) { fail(actual, expected, message, 'notDeepEqual', assert.notDeepEqual); } }; assert.notDeepStrictEqual = notDeepStrictEqual; function notDeepStrictEqual(actual, expected, message) { if (_deepEqual(actual, expected, true)) { fail(actual, expected, message, 'notDeepStrictEqual', notDeepStrictEqual); } } // 9. The strict equality assertion tests strict equality, as determined by ===. // assert.strictEqual(actual, expected, message_opt); assert.strictEqual = function strictEqual(actual, expected, message) { if (actual !== expected) { fail(actual, expected, message, '===', assert.strictEqual); } }; // 10. The strict non-equality assertion tests for strict inequality, as // determined by !==. assert.notStrictEqual(actual, expected, message_opt); assert.notStrictEqual = function notStrictEqual(actual, expected, message) { if (actual === expected) { fail(actual, expected, message, '!==', assert.notStrictEqual); } }; function expectedException(actual, expected) { if (!actual || !expected) { return false; } if (Object.prototype.toString.call(expected) == '[object RegExp]') { return expected.test(actual); } try { if (actual instanceof expected) { return true; } } catch (e) { // Ignore. The instanceof check doesn't work for arrow functions. } if (Error.isPrototypeOf(expected)) { return false; } return expected.call({}, actual) === true; } function _tryBlock(block) { var error; try { block(); } catch (e) { error = e; } return error; } function _throws(shouldThrow, block, expected, message) { var actual; if (typeof block !== 'function') { throw new TypeError('"block" argument must be a function'); } if (typeof expected === 'string') { message = expected; expected = null; } actual = _tryBlock(block); message = (expected && expected.name ? ' (' + expected.name + ').' : '.') + (message ? ' ' + message : '.'); if (shouldThrow && !actual) { fail(actual, expected, 'Missing expected exception' + message); } var userProvidedMessage = typeof message === 'string'; var isUnwantedException = !shouldThrow && util.isError(actual); var isUnexpectedException = !shouldThrow && actual && !expected; if ((isUnwantedException && userProvidedMessage && expectedException(actual, expected)) || isUnexpectedException) { fail(actual, expected, 'Got unwanted exception' + message); } if ((shouldThrow && actual && expected && !expectedException(actual, expected)) || (!shouldThrow && actual)) { throw actual; } } // 11. Expected to throw an error: // assert.throws(block, Error_opt, message_opt); assert.throws = function(block, /*optional*/error, /*optional*/message) { _throws(true, block, error, message); }; // EXTENSION! This is annoying to write outside this module. assert.doesNotThrow = function(block, /*optional*/error, /*optional*/message) { _throws(false, block, error, message); }; assert.ifError = function(err) { if (err) throw err; }; // Expose a strict only variant of assert function strict(value, message) { if (!value) fail(value, true, message, '==', strict); } assert.strict = objectAssign(strict, assert, { equal: assert.strictEqual, deepEqual: assert.deepStrictEqual, notEqual: assert.notStrictEqual, notDeepEqual: assert.notDeepStrictEqual }); assert.strict.strict = assert.strict; var objectKeys = Object.keys || function (obj) { var keys = []; for (var key in obj) { if (hasOwn.call(obj, key)) keys.push(key); } return keys; }; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{"object-assign":320,"util/":81}],79:[function(require,module,exports){ if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { ctor.super_ = superCtor ctor.prototype = Object.create(superCtor.prototype, { constructor: { value: ctor, enumerable: false, writable: true, configurable: true } }); }; } else { // old school shim for old browsers module.exports = function inherits(ctor, superCtor) { ctor.super_ = superCtor var TempCtor = function () {} TempCtor.prototype = superCtor.prototype ctor.prototype = new TempCtor() ctor.prototype.constructor = ctor } } },{}],80:[function(require,module,exports){ module.exports = function isBuffer(arg) { return arg && typeof arg === 'object' && typeof arg.copy === 'function' && typeof arg.fill === 'function' && typeof arg.readUInt8 === 'function'; } },{}],81:[function(require,module,exports){ (function (process,global){(function (){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. var formatRegExp = /%[sdj%]/g; exports.format = function(f) { if (!isString(f)) { var objects = []; for (var i = 0; i < arguments.length; i++) { objects.push(inspect(arguments[i])); } return objects.join(' '); } var i = 1; var args = arguments; var len = args.length; var str = String(f).replace(formatRegExp, function(x) { if (x === '%%') return '%'; if (i >= len) return x; switch (x) { case '%s': return String(args[i++]); case '%d': return Number(args[i++]); case '%j': try { return JSON.stringify(args[i++]); } catch (_) { return '[Circular]'; } default: return x; } }); for (var x = args[i]; i < len; x = args[++i]) { if (isNull(x) || !isObject(x)) { str += ' ' + x; } else { str += ' ' + inspect(x); } } return str; }; // Mark that a method should not be used. // Returns a modified function which warns once by default. // If --no-deprecation is set, then it is a no-op. exports.deprecate = function(fn, msg) { // Allow for deprecating things in the process of starting up. if (isUndefined(global.process)) { return function() { return exports.deprecate(fn, msg).apply(this, arguments); }; } if (process.noDeprecation === true) { return fn; } var warned = false; function deprecated() { if (!warned) { if (process.throwDeprecation) { throw new Error(msg); } else if (process.traceDeprecation) { console.trace(msg); } else { console.error(msg); } warned = true; } return fn.apply(this, arguments); } return deprecated; }; var debugs = {}; var debugEnviron; exports.debuglog = function(set) { if (isUndefined(debugEnviron)) debugEnviron = process.env.NODE_DEBUG || ''; set = set.toUpperCase(); if (!debugs[set]) { if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { var pid = process.pid; debugs[set] = function() { var msg = exports.format.apply(exports, arguments); console.error('%s %d: %s', set, pid, msg); }; } else { debugs[set] = function() {}; } } return debugs[set]; }; /** * Echos the value of a value. Trys to print the value out * in the best way possible given the different types. * * @param {Object} obj The object to print out. * @param {Object} opts Optional options object that alters the output. */ /* legacy: obj, showHidden, depth, colors*/ function inspect(obj, opts) { // default options var ctx = { seen: [], stylize: stylizeNoColor }; // legacy... if (arguments.length >= 3) ctx.depth = arguments[2]; if (arguments.length >= 4) ctx.colors = arguments[3]; if (isBoolean(opts)) { // legacy... ctx.showHidden = opts; } else if (opts) { // got an "options" object exports._extend(ctx, opts); } // set default options if (isUndefined(ctx.showHidden)) ctx.showHidden = false; if (isUndefined(ctx.depth)) ctx.depth = 2; if (isUndefined(ctx.colors)) ctx.colors = false; if (isUndefined(ctx.customInspect)) ctx.customInspect = true; if (ctx.colors) ctx.stylize = stylizeWithColor; return formatValue(ctx, obj, ctx.depth); } exports.inspect = inspect; // http://en.wikipedia.org/wiki/ANSI_escape_code#graphics inspect.colors = { 'bold' : [1, 22], 'italic' : [3, 23], 'underline' : [4, 24], 'inverse' : [7, 27], 'white' : [37, 39], 'grey' : [90, 39], 'black' : [30, 39], 'blue' : [34, 39], 'cyan' : [36, 39], 'green' : [32, 39], 'magenta' : [35, 39], 'red' : [31, 39], 'yellow' : [33, 39] }; // Don't use 'blue' not visible on cmd.exe inspect.styles = { 'special': 'cyan', 'number': 'yellow', 'boolean': 'yellow', 'undefined': 'grey', 'null': 'bold', 'string': 'green', 'date': 'magenta', // "name": intentionally not styling 'regexp': 'red' }; function stylizeWithColor(str, styleType) { var style = inspect.styles[styleType]; if (style) { return '\u001b[' + inspect.colors[style][0] + 'm' + str + '\u001b[' + inspect.colors[style][1] + 'm'; } else { return str; } } function stylizeNoColor(str, styleType) { return str; } function arrayToHash(array) { var hash = {}; array.forEach(function(val, idx) { hash[val] = true; }); return hash; } function formatValue(ctx, value, recurseTimes) { // Provide a hook for user-specified inspect functions. // Check that value is an object with an inspect function on it if (ctx.customInspect && value && isFunction(value.inspect) && // Filter out the util module, it's inspect function is special value.inspect !== exports.inspect && // Also filter out any prototype objects using the circular check. !(value.constructor && value.constructor.prototype === value)) { var ret = value.inspect(recurseTimes, ctx); if (!isString(ret)) { ret = formatValue(ctx, ret, recurseTimes); } return ret; } // Primitive types cannot have properties var primitive = formatPrimitive(ctx, value); if (primitive) { return primitive; } // Look up the keys of the object. var keys = Object.keys(value); var visibleKeys = arrayToHash(keys); if (ctx.showHidden) { keys = Object.getOwnPropertyNames(value); } // IE doesn't make error fields non-enumerable // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx if (isError(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) { return formatError(value); } // Some type of object without properties can be shortcutted. if (keys.length === 0) { if (isFunction(value)) { var name = value.name ? ': ' + value.name : ''; return ctx.stylize('[Function' + name + ']', 'special'); } if (isRegExp(value)) { return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); } if (isDate(value)) { return ctx.stylize(Date.prototype.toString.call(value), 'date'); } if (isError(value)) { return formatError(value); } } var base = '', array = false, braces = ['{', '}']; // Make Array say that they are Array if (isArray(value)) { array = true; braces = ['[', ']']; } // Make functions say that they are functions if (isFunction(value)) { var n = value.name ? ': ' + value.name : ''; base = ' [Function' + n + ']'; } // Make RegExps say that they are RegExps if (isRegExp(value)) { base = ' ' + RegExp.prototype.toString.call(value); } // Make dates with properties first say the date if (isDate(value)) { base = ' ' + Date.prototype.toUTCString.call(value); } // Make error with message first say the error if (isError(value)) { base = ' ' + formatError(value); } if (keys.length === 0 && (!array || value.length == 0)) { return braces[0] + base + braces[1]; } if (recurseTimes < 0) { if (isRegExp(value)) { return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); } else { return ctx.stylize('[Object]', 'special'); } } ctx.seen.push(value); var output; if (array) { output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); } else { output = keys.map(function(key) { return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array); }); } ctx.seen.pop(); return reduceToSingleString(output, base, braces); } function formatPrimitive(ctx, value) { if (isUndefined(value)) return ctx.stylize('undefined', 'undefined'); if (isString(value)) { var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '') .replace(/'/g, "\\'") .replace(/\\"/g, '"') + '\''; return ctx.stylize(simple, 'string'); } if (isNumber(value)) return ctx.stylize('' + value, 'number'); if (isBoolean(value)) return ctx.stylize('' + value, 'boolean'); // For some reason typeof null is "object", so special case here. if (isNull(value)) return ctx.stylize('null', 'null'); } function formatError(value) { return '[' + Error.prototype.toString.call(value) + ']'; } function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { var output = []; for (var i = 0, l = value.length; i < l; ++i) { if (hasOwnProperty(value, String(i))) { output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true)); } else { output.push(''); } } keys.forEach(function(key) { if (!key.match(/^\d+$/)) { output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true)); } }); return output; } function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { var name, str, desc; desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] }; if (desc.get) { if (desc.set) { str = ctx.stylize('[Getter/Setter]', 'special'); } else { str = ctx.stylize('[Getter]', 'special'); } } else { if (desc.set) { str = ctx.stylize('[Setter]', 'special'); } } if (!hasOwnProperty(visibleKeys, key)) { name = '[' + key + ']'; } if (!str) { if (ctx.seen.indexOf(desc.value) < 0) { if (isNull(recurseTimes)) { str = formatValue(ctx, desc.value, null); } else { str = formatValue(ctx, desc.value, recurseTimes - 1); } if (str.indexOf('\n') > -1) { if (array) { str = str.split('\n').map(function(line) { return ' ' + line; }).join('\n').substr(2); } else { str = '\n' + str.split('\n').map(function(line) { return ' ' + line; }).join('\n'); } } } else { str = ctx.stylize('[Circular]', 'special'); } } if (isUndefined(name)) { if (array && key.match(/^\d+$/)) { return str; } name = JSON.stringify('' + key); if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { name = name.substr(1, name.length - 2); name = ctx.stylize(name, 'name'); } else { name = name.replace(/'/g, "\\'") .replace(/\\"/g, '"') .replace(/(^"|"$)/g, "'"); name = ctx.stylize(name, 'string'); } } return name + ': ' + str; } function reduceToSingleString(output, base, braces) { var numLinesEst = 0; var length = output.reduce(function(prev, cur) { numLinesEst++; if (cur.indexOf('\n') >= 0) numLinesEst++; return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1; }, 0); if (length > 60) { return braces[0] + (base === '' ? '' : base + '\n ') + ' ' + output.join(',\n ') + ' ' + braces[1]; } return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; } // NOTE: These type checking functions intentionally don't use `instanceof` // because it is fragile and can be easily faked with `Object.create()`. function isArray(ar) { return Array.isArray(ar); } exports.isArray = isArray; function isBoolean(arg) { return typeof arg === 'boolean'; } exports.isBoolean = isBoolean; function isNull(arg) { return arg === null; } exports.isNull = isNull; function isNullOrUndefined(arg) { return arg == null; } exports.isNullOrUndefined = isNullOrUndefined; function isNumber(arg) { return typeof arg === 'number'; } exports.isNumber = isNumber; function isString(arg) { return typeof arg === 'string'; } exports.isString = isString; function isSymbol(arg) { return typeof arg === 'symbol'; } exports.isSymbol = isSymbol; function isUndefined(arg) { return arg === void 0; } exports.isUndefined = isUndefined; function isRegExp(re) { return isObject(re) && objectToString(re) === '[object RegExp]'; } exports.isRegExp = isRegExp; function isObject(arg) { return typeof arg === 'object' && arg !== null; } exports.isObject = isObject; function isDate(d) { return isObject(d) && objectToString(d) === '[object Date]'; } exports.isDate = isDate; function isError(e) { return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error); } exports.isError = isError; function isFunction(arg) { return typeof arg === 'function'; } exports.isFunction = isFunction; function isPrimitive(arg) { return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || typeof arg === 'symbol' || // ES6 symbol typeof arg === 'undefined'; } exports.isPrimitive = isPrimitive; exports.isBuffer = require('./support/isBuffer'); function objectToString(o) { return Object.prototype.toString.call(o); } function pad(n) { return n < 10 ? '0' + n.toString(10) : n.toString(10); } var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; // 26 Feb 16:19:34 function timestamp() { var d = new Date(); var time = [pad(d.getHours()), pad(d.getMinutes()), pad(d.getSeconds())].join(':'); return [d.getDate(), months[d.getMonth()], time].join(' '); } // log is just a thin wrapper to console.log that prepends a timestamp exports.log = function() { console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments)); }; /** * Inherit the prototype methods from one constructor into another. * * The Function.prototype.inherits from lang.js rewritten as a standalone * function (not on Function.prototype). NOTE: If this file is to be loaded * during bootstrapping this function needs to be rewritten using some native * functions as prototype setup using normal JavaScript does not work as * expected during bootstrapping (see mirror.js in r114903). * * @param {function} ctor Constructor function which needs to inherit the * prototype. * @param {function} superCtor Constructor function to inherit prototype from. */ exports.inherits = require('inherits'); exports._extend = function(origin, add) { // Don't do anything if add isn't an object if (!add || !isObject(add)) return origin; var keys = Object.keys(add); var i = keys.length; while (i--) { origin[keys[i]] = add[keys[i]]; } return origin; }; function hasOwnProperty(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{"./support/isBuffer":80,"_process":399,"inherits":79}],82:[function(require,module,exports){ 'use strict' exports.byteLength = byteLength exports.toByteArray = toByteArray exports.fromByteArray = fromByteArray var lookup = [] var revLookup = [] var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' for (var i = 0, len = code.length; i < len; ++i) { lookup[i] = code[i] revLookup[code.charCodeAt(i)] = i } // Support decoding URL-safe base64 strings, as Node.js does. // See: https://en.wikipedia.org/wiki/Base64#URL_applications revLookup['-'.charCodeAt(0)] = 62 revLookup['_'.charCodeAt(0)] = 63 function getLens (b64) { var len = b64.length if (len % 4 > 0) { throw new Error('Invalid string. Length must be a multiple of 4') } // Trim off extra bytes after placeholder bytes are found // See: https://github.com/beatgammit/base64-js/issues/42 var validLen = b64.indexOf('=') if (validLen === -1) validLen = len var placeHoldersLen = validLen === len ? 0 : 4 - (validLen % 4) return [validLen, placeHoldersLen] } // base64 is 4/3 + up to two characters of the original data function byteLength (b64) { var lens = getLens(b64) var validLen = lens[0] var placeHoldersLen = lens[1] return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen } function _byteLength (b64, validLen, placeHoldersLen) { return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen } function toByteArray (b64) { var tmp var lens = getLens(b64) var validLen = lens[0] var placeHoldersLen = lens[1] var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen)) var curByte = 0 // if there are placeholders, only get up to the last complete 4 chars var len = placeHoldersLen > 0 ? validLen - 4 : validLen var i for (i = 0; i < len; i += 4) { tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)] arr[curByte++] = (tmp >> 16) & 0xFF arr[curByte++] = (tmp >> 8) & 0xFF arr[curByte++] = tmp & 0xFF } if (placeHoldersLen === 2) { tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4) arr[curByte++] = tmp & 0xFF } if (placeHoldersLen === 1) { tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2) arr[curByte++] = (tmp >> 8) & 0xFF arr[curByte++] = tmp & 0xFF } return arr } function tripletToBase64 (num) { return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F] } function encodeChunk (uint8, start, end) { var tmp var output = [] for (var i = start; i < end; i += 3) { tmp = ((uint8[i] << 16) & 0xFF0000) + ((uint8[i + 1] << 8) & 0xFF00) + (uint8[i + 2] & 0xFF) output.push(tripletToBase64(tmp)) } return output.join('') } function fromByteArray (uint8) { var tmp var len = uint8.length var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes var parts = [] var maxChunkLength = 16383 // must be multiple of 3 // go through the array every three bytes, we'll deal with trailing stuff later for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength))) } // pad the end with zeros, but make sure to not forget the extra bytes if (extraBytes === 1) { tmp = uint8[len - 1] parts.push( lookup[tmp >> 2] + lookup[(tmp << 4) & 0x3F] + '==' ) } else if (extraBytes === 2) { tmp = (uint8[len - 2] << 8) + uint8[len - 1] parts.push( lookup[tmp >> 10] + lookup[(tmp >> 4) & 0x3F] + lookup[(tmp << 2) & 0x3F] + '=' ) } return parts.join('') } },{}],83:[function(require,module,exports){ /*! * Bowser - a browser detector * https://github.com/ded/bowser * MIT License | (c) Dustin Diaz 2015 */ !function (root, name, definition) { if (typeof module != 'undefined' && module.exports) module.exports = definition() else if (typeof define == 'function' && define.amd) define(name, definition) else root[name] = definition() }(this, 'bowser', function () { /** * See useragents.js for examples of navigator.userAgent */ var t = true function detect(ua) { function getFirstMatch(regex) { var match = ua.match(regex); return (match && match.length > 1 && match[1]) || ''; } function getSecondMatch(regex) { var match = ua.match(regex); return (match && match.length > 1 && match[2]) || ''; } var iosdevice = getFirstMatch(/(ipod|iphone|ipad)/i).toLowerCase() , likeAndroid = /like android/i.test(ua) , android = !likeAndroid && /android/i.test(ua) , nexusMobile = /nexus\s*[0-6]\s*/i.test(ua) , nexusTablet = !nexusMobile && /nexus\s*[0-9]+/i.test(ua) , chromeos = /CrOS/.test(ua) , silk = /silk/i.test(ua) , sailfish = /sailfish/i.test(ua) , tizen = /tizen/i.test(ua) , webos = /(web|hpw)(o|0)s/i.test(ua) , windowsphone = /windows phone/i.test(ua) , samsungBrowser = /SamsungBrowser/i.test(ua) , windows = !windowsphone && /windows/i.test(ua) , mac = !iosdevice && !silk && /macintosh/i.test(ua) , linux = !android && !sailfish && !tizen && !webos && /linux/i.test(ua) , edgeVersion = getSecondMatch(/edg([ea]|ios)\/(\d+(\.\d+)?)/i) , versionIdentifier = getFirstMatch(/version\/(\d+(\.\d+)?)/i) , tablet = /tablet/i.test(ua) && !/tablet pc/i.test(ua) , mobile = !tablet && /[^-]mobi/i.test(ua) , xbox = /xbox/i.test(ua) , result if (/opera/i.test(ua)) { // an old Opera result = { name: 'Opera' , opera: t , version: versionIdentifier || getFirstMatch(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i) } } else if (/opr\/|opios/i.test(ua)) { // a new Opera result = { name: 'Opera' , opera: t , version: getFirstMatch(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i) || versionIdentifier } } else if (/SamsungBrowser/i.test(ua)) { result = { name: 'Samsung Internet for Android' , samsungBrowser: t , version: versionIdentifier || getFirstMatch(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i) } } else if (/Whale/i.test(ua)) { result = { name: 'NAVER Whale browser' , whale: t , version: getFirstMatch(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i) } } else if (/MZBrowser/i.test(ua)) { result = { name: 'MZ Browser' , mzbrowser: t , version: getFirstMatch(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i) } } else if (/coast/i.test(ua)) { result = { name: 'Opera Coast' , coast: t , version: versionIdentifier || getFirstMatch(/(?:coast)[\s\/](\d+(\.\d+)?)/i) } } else if (/focus/i.test(ua)) { result = { name: 'Focus' , focus: t , version: getFirstMatch(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i) } } else if (/yabrowser/i.test(ua)) { result = { name: 'Yandex Browser' , yandexbrowser: t , version: versionIdentifier || getFirstMatch(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i) } } else if (/ucbrowser/i.test(ua)) { result = { name: 'UC Browser' , ucbrowser: t , version: getFirstMatch(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i) } } else if (/mxios/i.test(ua)) { result = { name: 'Maxthon' , maxthon: t , version: getFirstMatch(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i) } } else if (/epiphany/i.test(ua)) { result = { name: 'Epiphany' , epiphany: t , version: getFirstMatch(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i) } } else if (/puffin/i.test(ua)) { result = { name: 'Puffin' , puffin: t , version: getFirstMatch(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i) } } else if (/sleipnir/i.test(ua)) { result = { name: 'Sleipnir' , sleipnir: t , version: getFirstMatch(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i) } } else if (/k-meleon/i.test(ua)) { result = { name: 'K-Meleon' , kMeleon: t , version: getFirstMatch(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i) } } else if (windowsphone) { result = { name: 'Windows Phone' , osname: 'Windows Phone' , windowsphone: t } if (edgeVersion) { result.msedge = t result.version = edgeVersion } else { result.msie = t result.version = getFirstMatch(/iemobile\/(\d+(\.\d+)?)/i) } } else if (/msie|trident/i.test(ua)) { result = { name: 'Internet Explorer' , msie: t , version: getFirstMatch(/(?:msie |rv:)(\d+(\.\d+)?)/i) } } else if (chromeos) { result = { name: 'Chrome' , osname: 'Chrome OS' , chromeos: t , chromeBook: t , chrome: t , version: getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i) } } else if (/edg([ea]|ios)/i.test(ua)) { result = { name: 'Microsoft Edge' , msedge: t , version: edgeVersion } } else if (/vivaldi/i.test(ua)) { result = { name: 'Vivaldi' , vivaldi: t , version: getFirstMatch(/vivaldi\/(\d+(\.\d+)?)/i) || versionIdentifier } } else if (sailfish) { result = { name: 'Sailfish' , osname: 'Sailfish OS' , sailfish: t , version: getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i) } } else if (/seamonkey\//i.test(ua)) { result = { name: 'SeaMonkey' , seamonkey: t , version: getFirstMatch(/seamonkey\/(\d+(\.\d+)?)/i) } } else if (/firefox|iceweasel|fxios/i.test(ua)) { result = { name: 'Firefox' , firefox: t , version: getFirstMatch(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i) } if (/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ua)) { result.firefoxos = t result.osname = 'Firefox OS' } } else if (silk) { result = { name: 'Amazon Silk' , silk: t , version : getFirstMatch(/silk\/(\d+(\.\d+)?)/i) } } else if (/phantom/i.test(ua)) { result = { name: 'PhantomJS' , phantom: t , version: getFirstMatch(/phantomjs\/(\d+(\.\d+)?)/i) } } else if (/slimerjs/i.test(ua)) { result = { name: 'SlimerJS' , slimer: t , version: getFirstMatch(/slimerjs\/(\d+(\.\d+)?)/i) } } else if (/blackberry|\bbb\d+/i.test(ua) || /rim\stablet/i.test(ua)) { result = { name: 'BlackBerry' , osname: 'BlackBerry OS' , blackberry: t , version: versionIdentifier || getFirstMatch(/blackberry[\d]+\/(\d+(\.\d+)?)/i) } } else if (webos) { result = { name: 'WebOS' , osname: 'WebOS' , webos: t , version: versionIdentifier || getFirstMatch(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i) }; /touchpad\//i.test(ua) && (result.touchpad = t) } else if (/bada/i.test(ua)) { result = { name: 'Bada' , osname: 'Bada' , bada: t , version: getFirstMatch(/dolfin\/(\d+(\.\d+)?)/i) }; } else if (tizen) { result = { name: 'Tizen' , osname: 'Tizen' , tizen: t , version: getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i) || versionIdentifier }; } else if (/qupzilla/i.test(ua)) { result = { name: 'QupZilla' , qupzilla: t , version: getFirstMatch(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i) || versionIdentifier } } else if (/chromium/i.test(ua)) { result = { name: 'Chromium' , chromium: t , version: getFirstMatch(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i) || versionIdentifier } } else if (/chrome|crios|crmo/i.test(ua)) { result = { name: 'Chrome' , chrome: t , version: getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i) } } else if (android) { result = { name: 'Android' , version: versionIdentifier } } else if (/safari|applewebkit/i.test(ua)) { result = { name: 'Safari' , safari: t } if (versionIdentifier) { result.version = versionIdentifier } } else if (iosdevice) { result = { name : iosdevice == 'iphone' ? 'iPhone' : iosdevice == 'ipad' ? 'iPad' : 'iPod' } // WTF: version is not part of user agent in web apps if (versionIdentifier) { result.version = versionIdentifier } } else if(/googlebot/i.test(ua)) { result = { name: 'Googlebot' , googlebot: t , version: getFirstMatch(/googlebot\/(\d+(\.\d+))/i) || versionIdentifier } } else { result = { name: getFirstMatch(/^(.*)\/(.*) /), version: getSecondMatch(/^(.*)\/(.*) /) }; } // set webkit or gecko flag for browsers based on these engines if (!result.msedge && /(apple)?webkit/i.test(ua)) { if (/(apple)?webkit\/537\.36/i.test(ua)) { result.name = result.name || "Blink" result.blink = t } else { result.name = result.name || "Webkit" result.webkit = t } if (!result.version && versionIdentifier) { result.version = versionIdentifier } } else if (!result.opera && /gecko\//i.test(ua)) { result.name = result.name || "Gecko" result.gecko = t result.version = result.version || getFirstMatch(/gecko\/(\d+(\.\d+)?)/i) } // set OS flags for platforms that have multiple browsers if (!result.windowsphone && (android || result.silk)) { result.android = t result.osname = 'Android' } else if (!result.windowsphone && iosdevice) { result[iosdevice] = t result.ios = t result.osname = 'iOS' } else if (mac) { result.mac = t result.osname = 'macOS' } else if (xbox) { result.xbox = t result.osname = 'Xbox' } else if (windows) { result.windows = t result.osname = 'Windows' } else if (linux) { result.linux = t result.osname = 'Linux' } function getWindowsVersion (s) { switch (s) { case 'NT': return 'NT' case 'XP': return 'XP' case 'NT 5.0': return '2000' case 'NT 5.1': return 'XP' case 'NT 5.2': return '2003' case 'NT 6.0': return 'Vista' case 'NT 6.1': return '7' case 'NT 6.2': return '8' case 'NT 6.3': return '8.1' case 'NT 10.0': return '10' default: return undefined } } // OS version extraction var osVersion = ''; if (result.windows) { osVersion = getWindowsVersion(getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i)) } else if (result.windowsphone) { osVersion = getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i); } else if (result.mac) { osVersion = getFirstMatch(/Mac OS X (\d+([_\.\s]\d+)*)/i); osVersion = osVersion.replace(/[_\s]/g, '.'); } else if (iosdevice) { osVersion = getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i); osVersion = osVersion.replace(/[_\s]/g, '.'); } else if (android) { osVersion = getFirstMatch(/android[ \/-](\d+(\.\d+)*)/i); } else if (result.webos) { osVersion = getFirstMatch(/(?:web|hpw)os\/(\d+(\.\d+)*)/i); } else if (result.blackberry) { osVersion = getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i); } else if (result.bada) { osVersion = getFirstMatch(/bada\/(\d+(\.\d+)*)/i); } else if (result.tizen) { osVersion = getFirstMatch(/tizen[\/\s](\d+(\.\d+)*)/i); } if (osVersion) { result.osversion = osVersion; } // device type extraction var osMajorVersion = !result.windows && osVersion.split('.')[0]; if ( tablet || nexusTablet || iosdevice == 'ipad' || (android && (osMajorVersion == 3 || (osMajorVersion >= 4 && !mobile))) || result.silk ) { result.tablet = t } else if ( mobile || iosdevice == 'iphone' || iosdevice == 'ipod' || android || nexusMobile || result.blackberry || result.webos || result.bada ) { result.mobile = t } // Graded Browser Support // http://developer.yahoo.com/yui/articles/gbs if (result.msedge || (result.msie && result.version >= 10) || (result.yandexbrowser && result.version >= 15) || (result.vivaldi && result.version >= 1.0) || (result.chrome && result.version >= 20) || (result.samsungBrowser && result.version >= 4) || (result.whale && compareVersions([result.version, '1.0']) === 1) || (result.mzbrowser && compareVersions([result.version, '6.0']) === 1) || (result.focus && compareVersions([result.version, '1.0']) === 1) || (result.firefox && result.version >= 20.0) || (result.safari && result.version >= 6) || (result.opera && result.version >= 10.0) || (result.ios && result.osversion && result.osversion.split(".")[0] >= 6) || (result.blackberry && result.version >= 10.1) || (result.chromium && result.version >= 20) ) { result.a = t; } else if ((result.msie && result.version < 10) || (result.chrome && result.version < 20) || (result.firefox && result.version < 20.0) || (result.safari && result.version < 6) || (result.opera && result.version < 10.0) || (result.ios && result.osversion && result.osversion.split(".")[0] < 6) || (result.chromium && result.version < 20) ) { result.c = t } else result.x = t return result } var bowser = detect(typeof navigator !== 'undefined' ? navigator.userAgent || '' : '') bowser.test = function (browserList) { for (var i = 0; i < browserList.length; ++i) { var browserItem = browserList[i]; if (typeof browserItem=== 'string') { if (browserItem in bowser) { return true; } } } return false; } /** * Get version precisions count * * @example * getVersionPrecision("1.10.3") // 3 * * @param {string} version * @return {number} */ function getVersionPrecision(version) { return version.split(".").length; } /** * Array::map polyfill * * @param {Array} arr * @param {Function} iterator * @return {Array} */ function map(arr, iterator) { var result = [], i; if (Array.prototype.map) { return Array.prototype.map.call(arr, iterator); } for (i = 0; i < arr.length; i++) { result.push(iterator(arr[i])); } return result; } /** * Calculate browser version weight * * @example * compareVersions(['1.10.2.1', '1.8.2.1.90']) // 1 * compareVersions(['1.010.2.1', '1.09.2.1.90']); // 1 * compareVersions(['1.10.2.1', '1.10.2.1']); // 0 * compareVersions(['1.10.2.1', '1.0800.2']); // -1 * * @param {Array<String>} versions versions to compare * @return {Number} comparison result */ function compareVersions(versions) { // 1) get common precision for both versions, for example for "10.0" and "9" it should be 2 var precision = Math.max(getVersionPrecision(versions[0]), getVersionPrecision(versions[1])); var chunks = map(versions, function (version) { var delta = precision - getVersionPrecision(version); // 2) "9" -> "9.0" (for precision = 2) version = version + new Array(delta + 1).join(".0"); // 3) "9.0" -> ["000000000"", "000000009"] return map(version.split("."), function (chunk) { return new Array(20 - chunk.length).join("0") + chunk; }).reverse(); }); // iterate in reverse order by reversed chunks array while (--precision >= 0) { // 4) compare: "000000009" > "000000010" = false (but "9" > "10" = true) if (chunks[0][precision] > chunks[1][precision]) { return 1; } else if (chunks[0][precision] === chunks[1][precision]) { if (precision === 0) { // all version chunks are same return 0; } } else { return -1; } } } /** * Check if browser is unsupported * * @example * bowser.isUnsupportedBrowser({ * msie: "10", * firefox: "23", * chrome: "29", * safari: "5.1", * opera: "16", * phantom: "534" * }); * * @param {Object} minVersions map of minimal version to browser * @param {Boolean} [strictMode = false] flag to return false if browser wasn't found in map * @param {String} [ua] user agent string * @return {Boolean} */ function isUnsupportedBrowser(minVersions, strictMode, ua) { var _bowser = bowser; // make strictMode param optional with ua param usage if (typeof strictMode === 'string') { ua = strictMode; strictMode = void(0); } if (strictMode === void(0)) { strictMode = false; } if (ua) { _bowser = detect(ua); } var version = "" + _bowser.version; for (var browser in minVersions) { if (minVersions.hasOwnProperty(browser)) { if (_bowser[browser]) { if (typeof minVersions[browser] !== 'string') { throw new Error('Browser version in the minVersion map should be a string: ' + browser + ': ' + String(minVersions)); } // browser version and min supported version. return compareVersions([version, minVersions[browser]]) < 0; } } } return strictMode; // not found } /** * Check if browser is supported * * @param {Object} minVersions map of minimal version to browser * @param {Boolean} [strictMode = false] flag to return false if browser wasn't found in map * @param {String} [ua] user agent string * @return {Boolean} */ function check(minVersions, strictMode, ua) { return !isUnsupportedBrowser(minVersions, strictMode, ua); } bowser.isUnsupportedBrowser = isUnsupportedBrowser; bowser.compareVersions = compareVersions; bowser.check = check; /* * Set our detect method to the main bowser object so we can * reuse it to test other user agents. * This is needed to implement future tests. */ bowser._detect = detect; /* * Set our detect public method to the main bowser object * This is needed to implement bowser in server side */ bowser.detect = detect; return bowser }); },{}],84:[function(require,module,exports){ },{}],85:[function(require,module,exports){ (function (global,Buffer){(function (){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <http://feross.org> * @license MIT */ /* eslint-disable no-proto */ 'use strict' var base64 = require('base64-js') var ieee754 = require('ieee754') var isArray = require('isarray') exports.Buffer = Buffer exports.SlowBuffer = SlowBuffer exports.INSPECT_MAX_BYTES = 50 /** * If `Buffer.TYPED_ARRAY_SUPPORT`: * === true Use Uint8Array implementation (fastest) * === false Use Object implementation (most compatible, even IE6) * * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, * Opera 11.6+, iOS 4.2+. * * Due to various browser bugs, sometimes the Object implementation will be used even * when the browser supports typed arrays. * * Note: * * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances, * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438. * * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function. * * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of * incorrect length in some situations. * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they * get the Object implementation, which is slower but behaves correctly. */ Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined ? global.TYPED_ARRAY_SUPPORT : typedArraySupport() /* * Export kMaxLength after typed array support is determined. */ exports.kMaxLength = kMaxLength() function typedArraySupport () { try { var arr = new Uint8Array(1) arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }} return arr.foo() === 42 && // typed array instances can be augmented typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray` arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray` } catch (e) { return false } } function kMaxLength () { return Buffer.TYPED_ARRAY_SUPPORT ? 0x7fffffff : 0x3fffffff } function createBuffer (that, length) { if (kMaxLength() < length) { throw new RangeError('Invalid typed array length') } if (Buffer.TYPED_ARRAY_SUPPORT) { // Return an augmented `Uint8Array` instance, for best performance that = new Uint8Array(length) that.__proto__ = Buffer.prototype } else { // Fallback: Return an object instance of the Buffer class if (that === null) { that = new Buffer(length) } that.length = length } return that } /** * The Buffer constructor returns instances of `Uint8Array` that have their * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of * `Uint8Array`, so the returned instances will have all the node `Buffer` methods * and the `Uint8Array` methods. Square bracket notation works as expected -- it * returns a single octet. * * The `Uint8Array` prototype remains unmodified. */ function Buffer (arg, encodingOrOffset, length) { if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) { return new Buffer(arg, encodingOrOffset, length) } // Common case. if (typeof arg === 'number') { if (typeof encodingOrOffset === 'string') { throw new Error( 'If encoding is specified then the first argument must be a string' ) } return allocUnsafe(this, arg) } return from(this, arg, encodingOrOffset, length) } Buffer.poolSize = 8192 // not used by this implementation // TODO: Legacy, not needed anymore. Remove in next major version. Buffer._augment = function (arr) { arr.__proto__ = Buffer.prototype return arr } function from (that, value, encodingOrOffset, length) { if (typeof value === 'number') { throw new TypeError('"value" argument must not be a number') } if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) { return fromArrayBuffer(that, value, encodingOrOffset, length) } if (typeof value === 'string') { return fromString(that, value, encodingOrOffset) } return fromObject(that, value) } /** * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError * if value is a number. * Buffer.from(str[, encoding]) * Buffer.from(array) * Buffer.from(buffer) * Buffer.from(arrayBuffer[, byteOffset[, length]]) **/ Buffer.from = function (value, encodingOrOffset, length) { return from(null, value, encodingOrOffset, length) } if (Buffer.TYPED_ARRAY_SUPPORT) { Buffer.prototype.__proto__ = Uint8Array.prototype Buffer.__proto__ = Uint8Array if (typeof Symbol !== 'undefined' && Symbol.species && Buffer[Symbol.species] === Buffer) { // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97 Object.defineProperty(Buffer, Symbol.species, { value: null, configurable: true }) } } function assertSize (size) { if (typeof size !== 'number') { throw new TypeError('"size" argument must be a number') } else if (size < 0) { throw new RangeError('"size" argument must not be negative') } } function alloc (that, size, fill, encoding) { assertSize(size) if (size <= 0) { return createBuffer(that, size) } if (fill !== undefined) { // Only pay attention to encoding if it's a string. This // prevents accidentally sending in a number that would // be interpretted as a start offset. return typeof encoding === 'string' ? createBuffer(that, size).fill(fill, encoding) : createBuffer(that, size).fill(fill) } return createBuffer(that, size) } /** * Creates a new filled Buffer instance. * alloc(size[, fill[, encoding]]) **/ Buffer.alloc = function (size, fill, encoding) { return alloc(null, size, fill, encoding) } function allocUnsafe (that, size) { assertSize(size) that = createBuffer(that, size < 0 ? 0 : checked(size) | 0) if (!Buffer.TYPED_ARRAY_SUPPORT) { for (var i = 0; i < size; ++i) { that[i] = 0 } } return that } /** * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. * */ Buffer.allocUnsafe = function (size) { return allocUnsafe(null, size) } /** * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. */ Buffer.allocUnsafeSlow = function (size) { return allocUnsafe(null, size) } function fromString (that, string, encoding) { if (typeof encoding !== 'string' || encoding === '') { encoding = 'utf8' } if (!Buffer.isEncoding(encoding)) { throw new TypeError('"encoding" must be a valid string encoding') } var length = byteLength(string, encoding) | 0 that = createBuffer(that, length) var actual = that.write(string, encoding) if (actual !== length) { // Writing a hex string, for example, that contains invalid characters will // cause everything after the first invalid character to be ignored. (e.g. // 'abxxcd' will be treated as 'ab') that = that.slice(0, actual) } return that } function fromArrayLike (that, array) { var length = array.length < 0 ? 0 : checked(array.length) | 0 that = createBuffer(that, length) for (var i = 0; i < length; i += 1) { that[i] = array[i] & 255 } return that } function fromArrayBuffer (that, array, byteOffset, length) { array.byteLength // this throws if `array` is not a valid ArrayBuffer if (byteOffset < 0 || array.byteLength < byteOffset) { throw new RangeError('\'offset\' is out of bounds') } if (array.byteLength < byteOffset + (length || 0)) { throw new RangeError('\'length\' is out of bounds') } if (byteOffset === undefined && length === undefined) { array = new Uint8Array(array) } else if (length === undefined) { array = new Uint8Array(array, byteOffset) } else { array = new Uint8Array(array, byteOffset, length) } if (Buffer.TYPED_ARRAY_SUPPORT) { // Return an augmented `Uint8Array` instance, for best performance that = array that.__proto__ = Buffer.prototype } else { // Fallback: Return an object instance of the Buffer class that = fromArrayLike(that, array) } return that } function fromObject (that, obj) { if (Buffer.isBuffer(obj)) { var len = checked(obj.length) | 0 that = createBuffer(that, len) if (that.length === 0) { return that } obj.copy(that, 0, 0, len) return that } if (obj) { if ((typeof ArrayBuffer !== 'undefined' && obj.buffer instanceof ArrayBuffer) || 'length' in obj) { if (typeof obj.length !== 'number' || isnan(obj.length)) { return createBuffer(that, 0) } return fromArrayLike(that, obj) } if (obj.type === 'Buffer' && isArray(obj.data)) { return fromArrayLike(that, obj.data) } } throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.') } function checked (length) { // Note: cannot use `length < kMaxLength()` here because that fails when // length is NaN (which is otherwise coerced to zero.) if (length >= kMaxLength()) { throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + kMaxLength().toString(16) + ' bytes') } return length | 0 } function SlowBuffer (length) { if (+length != length) { // eslint-disable-line eqeqeq length = 0 } return Buffer.alloc(+length) } Buffer.isBuffer = function isBuffer (b) { return !!(b != null && b._isBuffer) } Buffer.compare = function compare (a, b) { if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) { throw new TypeError('Arguments must be Buffers') } if (a === b) return 0 var x = a.length var y = b.length for (var i = 0, len = Math.min(x, y); i < len; ++i) { if (a[i] !== b[i]) { x = a[i] y = b[i] break } } if (x < y) return -1 if (y < x) return 1 return 0 } Buffer.isEncoding = function isEncoding (encoding) { switch (String(encoding).toLowerCase()) { case 'hex': case 'utf8': case 'utf-8': case 'ascii': case 'latin1': case 'binary': case 'base64': case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return true default: return false } } Buffer.concat = function concat (list, length) { if (!isArray(list)) { throw new TypeError('"list" argument must be an Array of Buffers') } if (list.length === 0) { return Buffer.alloc(0) } var i if (length === undefined) { length = 0 for (i = 0; i < list.length; ++i) { length += list[i].length } } var buffer = Buffer.allocUnsafe(length) var pos = 0 for (i = 0; i < list.length; ++i) { var buf = list[i] if (!Buffer.isBuffer(buf)) { throw new TypeError('"list" argument must be an Array of Buffers') } buf.copy(buffer, pos) pos += buf.length } return buffer } function byteLength (string, encoding) { if (Buffer.isBuffer(string)) { return string.length } if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) { return string.byteLength } if (typeof string !== 'string') { string = '' + string } var len = string.length if (len === 0) return 0 // Use a for loop to avoid recursion var loweredCase = false for (;;) { switch (encoding) { case 'ascii': case 'latin1': case 'binary': return len case 'utf8': case 'utf-8': case undefined: return utf8ToBytes(string).length case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return len * 2 case 'hex': return len >>> 1 case 'base64': return base64ToBytes(string).length default: if (loweredCase) return utf8ToBytes(string).length // assume utf8 encoding = ('' + encoding).toLowerCase() loweredCase = true } } } Buffer.byteLength = byteLength function slowToString (encoding, start, end) { var loweredCase = false // No need to verify that "this.length <= MAX_UINT32" since it's a read-only // property of a typed array. // This behaves neither like String nor Uint8Array in that we set start/end // to their upper/lower bounds if the value passed is out of range. // undefined is handled specially as per ECMA-262 6th Edition, // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. if (start === undefined || start < 0) { start = 0 } // Return early if start > this.length. Done here to prevent potential uint32 // coercion fail below. if (start > this.length) { return '' } if (end === undefined || end > this.length) { end = this.length } if (end <= 0) { return '' } // Force coersion to uint32. This will also coerce falsey/NaN values to 0. end >>>= 0 start >>>= 0 if (end <= start) { return '' } if (!encoding) encoding = 'utf8' while (true) { switch (encoding) { case 'hex': return hexSlice(this, start, end) case 'utf8': case 'utf-8': return utf8Slice(this, start, end) case 'ascii': return asciiSlice(this, start, end) case 'latin1': case 'binary': return latin1Slice(this, start, end) case 'base64': return base64Slice(this, start, end) case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return utf16leSlice(this, start, end) default: if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) encoding = (encoding + '').toLowerCase() loweredCase = true } } } // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect // Buffer instances. Buffer.prototype._isBuffer = true function swap (b, n, m) { var i = b[n] b[n] = b[m] b[m] = i } Buffer.prototype.swap16 = function swap16 () { var len = this.length if (len % 2 !== 0) { throw new RangeError('Buffer size must be a multiple of 16-bits') } for (var i = 0; i < len; i += 2) { swap(this, i, i + 1) } return this } Buffer.prototype.swap32 = function swap32 () { var len = this.length if (len % 4 !== 0) { throw new RangeError('Buffer size must be a multiple of 32-bits') } for (var i = 0; i < len; i += 4) { swap(this, i, i + 3) swap(this, i + 1, i + 2) } return this } Buffer.prototype.swap64 = function swap64 () { var len = this.length if (len % 8 !== 0) { throw new RangeError('Buffer size must be a multiple of 64-bits') } for (var i = 0; i < len; i += 8) { swap(this, i, i + 7) swap(this, i + 1, i + 6) swap(this, i + 2, i + 5) swap(this, i + 3, i + 4) } return this } Buffer.prototype.toString = function toString () { var length = this.length | 0 if (length === 0) return '' if (arguments.length === 0) return utf8Slice(this, 0, length) return slowToString.apply(this, arguments) } Buffer.prototype.equals = function equals (b) { if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') if (this === b) return true return Buffer.compare(this, b) === 0 } Buffer.prototype.inspect = function inspect () { var str = '' var max = exports.INSPECT_MAX_BYTES if (this.length > 0) { str = this.toString('hex', 0, max).match(/.{2}/g).join(' ') if (this.length > max) str += ' ... ' } return '<Buffer ' + str + '>' } Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) { if (!Buffer.isBuffer(target)) { throw new TypeError('Argument must be a Buffer') } if (start === undefined) { start = 0 } if (end === undefined) { end = target ? target.length : 0 } if (thisStart === undefined) { thisStart = 0 } if (thisEnd === undefined) { thisEnd = this.length } if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) { throw new RangeError('out of range index') } if (thisStart >= thisEnd && start >= end) { return 0 } if (thisStart >= thisEnd) { return -1 } if (start >= end) { return 1 } start >>>= 0 end >>>= 0 thisStart >>>= 0 thisEnd >>>= 0 if (this === target) return 0 var x = thisEnd - thisStart var y = end - start var len = Math.min(x, y) var thisCopy = this.slice(thisStart, thisEnd) var targetCopy = target.slice(start, end) for (var i = 0; i < len; ++i) { if (thisCopy[i] !== targetCopy[i]) { x = thisCopy[i] y = targetCopy[i] break } } if (x < y) return -1 if (y < x) return 1 return 0 } // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, // OR the last index of `val` in `buffer` at offset <= `byteOffset`. // // Arguments: // - buffer - a Buffer to search // - val - a string, Buffer, or number // - byteOffset - an index into `buffer`; will be clamped to an int32 // - encoding - an optional encoding, relevant is val is a string // - dir - true for indexOf, false for lastIndexOf function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) { // Empty buffer means no match if (buffer.length === 0) return -1 // Normalize byteOffset if (typeof byteOffset === 'string') { encoding = byteOffset byteOffset = 0 } else if (byteOffset > 0x7fffffff) { byteOffset = 0x7fffffff } else if (byteOffset < -0x80000000) { byteOffset = -0x80000000 } byteOffset = +byteOffset // Coerce to Number. if (isNaN(byteOffset)) { // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer byteOffset = dir ? 0 : (buffer.length - 1) } // Normalize byteOffset: negative offsets start from the end of the buffer if (byteOffset < 0) byteOffset = buffer.length + byteOffset if (byteOffset >= buffer.length) { if (dir) return -1 else byteOffset = buffer.length - 1 } else if (byteOffset < 0) { if (dir) byteOffset = 0 else return -1 } // Normalize val if (typeof val === 'string') { val = Buffer.from(val, encoding) } // Finally, search either indexOf (if dir is true) or lastIndexOf if (Buffer.isBuffer(val)) { // Special case: looking for empty string/buffer always fails if (val.length === 0) { return -1 } return arrayIndexOf(buffer, val, byteOffset, encoding, dir) } else if (typeof val === 'number') { val = val & 0xFF // Search for a byte value [0-255] if (Buffer.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf === 'function') { if (dir) { return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset) } else { return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset) } } return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir) } throw new TypeError('val must be string, number or Buffer') } function arrayIndexOf (arr, val, byteOffset, encoding, dir) { var indexSize = 1 var arrLength = arr.length var valLength = val.length if (encoding !== undefined) { encoding = String(encoding).toLowerCase() if (encoding === 'ucs2' || encoding === 'ucs-2' || encoding === 'utf16le' || encoding === 'utf-16le') { if (arr.length < 2 || val.length < 2) { return -1 } indexSize = 2 arrLength /= 2 valLength /= 2 byteOffset /= 2 } } function read (buf, i) { if (indexSize === 1) { return buf[i] } else { return buf.readUInt16BE(i * indexSize) } } var i if (dir) { var foundIndex = -1 for (i = byteOffset; i < arrLength; i++) { if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) { if (foundIndex === -1) foundIndex = i if (i - foundIndex + 1 === valLength) return foundIndex * indexSize } else { if (foundIndex !== -1) i -= i - foundIndex foundIndex = -1 } } } else { if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength for (i = byteOffset; i >= 0; i--) { var found = true for (var j = 0; j < valLength; j++) { if (read(arr, i + j) !== read(val, j)) { found = false break } } if (found) return i } } return -1 } Buffer.prototype.includes = function includes (val, byteOffset, encoding) { return this.indexOf(val, byteOffset, encoding) !== -1 } Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) { return bidirectionalIndexOf(this, val, byteOffset, encoding, true) } Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) { return bidirectionalIndexOf(this, val, byteOffset, encoding, false) } function hexWrite (buf, string, offset, length) { offset = Number(offset) || 0 var remaining = buf.length - offset if (!length) { length = remaining } else { length = Number(length) if (length > remaining) { length = remaining } } // must be an even number of digits var strLen = string.length if (strLen % 2 !== 0) throw new TypeError('Invalid hex string') if (length > strLen / 2) { length = strLen / 2 } for (var i = 0; i < length; ++i) { var parsed = parseInt(string.substr(i * 2, 2), 16) if (isNaN(parsed)) return i buf[offset + i] = parsed } return i } function utf8Write (buf, string, offset, length) { return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length) } function asciiWrite (buf, string, offset, length) { return blitBuffer(asciiToBytes(string), buf, offset, length) } function latin1Write (buf, string, offset, length) { return asciiWrite(buf, string, offset, length) } function base64Write (buf, string, offset, length) { return blitBuffer(base64ToBytes(string), buf, offset, length) } function ucs2Write (buf, string, offset, length) { return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length) } Buffer.prototype.write = function write (string, offset, length, encoding) { // Buffer#write(string) if (offset === undefined) { encoding = 'utf8' length = this.length offset = 0 // Buffer#write(string, encoding) } else if (length === undefined && typeof offset === 'string') { encoding = offset length = this.length offset = 0 // Buffer#write(string, offset[, length][, encoding]) } else if (isFinite(offset)) { offset = offset | 0 if (isFinite(length)) { length = length | 0 if (encoding === undefined) encoding = 'utf8' } else { encoding = length length = undefined } // legacy write(string, encoding, offset, length) - remove in v0.13 } else { throw new Error( 'Buffer.write(string, encoding, offset[, length]) is no longer supported' ) } var remaining = this.length - offset if (length === undefined || length > remaining) length = remaining if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) { throw new RangeError('Attempt to write outside buffer bounds') } if (!encoding) encoding = 'utf8' var loweredCase = false for (;;) { switch (encoding) { case 'hex': return hexWrite(this, string, offset, length) case 'utf8': case 'utf-8': return utf8Write(this, string, offset, length) case 'ascii': return asciiWrite(this, string, offset, length) case 'latin1': case 'binary': return latin1Write(this, string, offset, length) case 'base64': // Warning: maxLength not taken into account in base64Write return base64Write(this, string, offset, length) case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return ucs2Write(this, string, offset, length) default: if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) encoding = ('' + encoding).toLowerCase() loweredCase = true } } } Buffer.prototype.toJSON = function toJSON () { return { type: 'Buffer', data: Array.prototype.slice.call(this._arr || this, 0) } } function base64Slice (buf, start, end) { if (start === 0 && end === buf.length) { return base64.fromByteArray(buf) } else { return base64.fromByteArray(buf.slice(start, end)) } } function utf8Slice (buf, start, end) { end = Math.min(buf.length, end) var res = [] var i = start while (i < end) { var firstByte = buf[i] var codePoint = null var bytesPerSequence = (firstByte > 0xEF) ? 4 : (firstByte > 0xDF) ? 3 : (firstByte > 0xBF) ? 2 : 1 if (i + bytesPerSequence <= end) { var secondByte, thirdByte, fourthByte, tempCodePoint switch (bytesPerSequence) { case 1: if (firstByte < 0x80) { codePoint = firstByte } break case 2: secondByte = buf[i + 1] if ((secondByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F) if (tempCodePoint > 0x7F) { codePoint = tempCodePoint } } break case 3: secondByte = buf[i + 1] thirdByte = buf[i + 2] if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F) if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { codePoint = tempCodePoint } } break case 4: secondByte = buf[i + 1] thirdByte = buf[i + 2] fourthByte = buf[i + 3] if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F) if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { codePoint = tempCodePoint } } } } if (codePoint === null) { // we did not generate a valid codePoint so insert a // replacement char (U+FFFD) and advance only 1 byte codePoint = 0xFFFD bytesPerSequence = 1 } else if (codePoint > 0xFFFF) { // encode to utf16 (surrogate pair dance) codePoint -= 0x10000 res.push(codePoint >>> 10 & 0x3FF | 0xD800) codePoint = 0xDC00 | codePoint & 0x3FF } res.push(codePoint) i += bytesPerSequence } return decodeCodePointsArray(res) } // Based on http://stackoverflow.com/a/22747272/680742, the browser with // the lowest limit is Chrome, with 0x10000 args. // We go 1 magnitude less, for safety var MAX_ARGUMENTS_LENGTH = 0x1000 function decodeCodePointsArray (codePoints) { var len = codePoints.length if (len <= MAX_ARGUMENTS_LENGTH) { return String.fromCharCode.apply(String, codePoints) // avoid extra slice() } // Decode in chunks to avoid "call stack size exceeded". var res = '' var i = 0 while (i < len) { res += String.fromCharCode.apply( String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH) ) } return res } function asciiSlice (buf, start, end) { var ret = '' end = Math.min(buf.length, end) for (var i = start; i < end; ++i) { ret += String.fromCharCode(buf[i] & 0x7F) } return ret } function latin1Slice (buf, start, end) { var ret = '' end = Math.min(buf.length, end) for (var i = start; i < end; ++i) { ret += String.fromCharCode(buf[i]) } return ret } function hexSlice (buf, start, end) { var len = buf.length if (!start || start < 0) start = 0 if (!end || end < 0 || end > len) end = len var out = '' for (var i = start; i < end; ++i) { out += toHex(buf[i]) } return out } function utf16leSlice (buf, start, end) { var bytes = buf.slice(start, end) var res = '' for (var i = 0; i < bytes.length; i += 2) { res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256) } return res } Buffer.prototype.slice = function slice (start, end) { var len = this.length start = ~~start end = end === undefined ? len : ~~end if (start < 0) { start += len if (start < 0) start = 0 } else if (start > len) { start = len } if (end < 0) { end += len if (end < 0) end = 0 } else if (end > len) { end = len } if (end < start) end = start var newBuf if (Buffer.TYPED_ARRAY_SUPPORT) { newBuf = this.subarray(start, end) newBuf.__proto__ = Buffer.prototype } else { var sliceLen = end - start newBuf = new Buffer(sliceLen, undefined) for (var i = 0; i < sliceLen; ++i) { newBuf[i] = this[i + start] } } return newBuf } /* * Need to make sure that buffer isn't trying to write out of bounds. */ function checkOffset (offset, ext, length) { if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint') if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length') } Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) { offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var val = this[offset] var mul = 1 var i = 0 while (++i < byteLength && (mul *= 0x100)) { val += this[offset + i] * mul } return val } Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) { offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) { checkOffset(offset, byteLength, this.length) } var val = this[offset + --byteLength] var mul = 1 while (byteLength > 0 && (mul *= 0x100)) { val += this[offset + --byteLength] * mul } return val } Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) { if (!noAssert) checkOffset(offset, 1, this.length) return this[offset] } Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) { if (!noAssert) checkOffset(offset, 2, this.length) return this[offset] | (this[offset + 1] << 8) } Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) { if (!noAssert) checkOffset(offset, 2, this.length) return (this[offset] << 8) | this[offset + 1] } Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return ((this[offset]) | (this[offset + 1] << 8) | (this[offset + 2] << 16)) + (this[offset + 3] * 0x1000000) } Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset] * 0x1000000) + ((this[offset + 1] << 16) | (this[offset + 2] << 8) | this[offset + 3]) } Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) { offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var val = this[offset] var mul = 1 var i = 0 while (++i < byteLength && (mul *= 0x100)) { val += this[offset + i] * mul } mul *= 0x80 if (val >= mul) val -= Math.pow(2, 8 * byteLength) return val } Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) { offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var i = byteLength var mul = 1 var val = this[offset + --i] while (i > 0 && (mul *= 0x100)) { val += this[offset + --i] * mul } mul *= 0x80 if (val >= mul) val -= Math.pow(2, 8 * byteLength) return val } Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) { if (!noAssert) checkOffset(offset, 1, this.length) if (!(this[offset] & 0x80)) return (this[offset]) return ((0xff - this[offset] + 1) * -1) } Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) { if (!noAssert) checkOffset(offset, 2, this.length) var val = this[offset] | (this[offset + 1] << 8) return (val & 0x8000) ? val | 0xFFFF0000 : val } Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) { if (!noAssert) checkOffset(offset, 2, this.length) var val = this[offset + 1] | (this[offset] << 8) return (val & 0x8000) ? val | 0xFFFF0000 : val } Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset]) | (this[offset + 1] << 8) | (this[offset + 2] << 16) | (this[offset + 3] << 24) } Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset] << 24) | (this[offset + 1] << 16) | (this[offset + 2] << 8) | (this[offset + 3]) } Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return ieee754.read(this, offset, true, 23, 4) } Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return ieee754.read(this, offset, false, 23, 4) } Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) { if (!noAssert) checkOffset(offset, 8, this.length) return ieee754.read(this, offset, true, 52, 8) } Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) { if (!noAssert) checkOffset(offset, 8, this.length) return ieee754.read(this, offset, false, 52, 8) } function checkInt (buf, value, offset, ext, max, min) { if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance') if (value > max || value < min) throw new RangeError('"value" argument is out of bounds') if (offset + ext > buf.length) throw new RangeError('Index out of range') } Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { value = +value offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) { var maxBytes = Math.pow(2, 8 * byteLength) - 1 checkInt(this, value, offset, byteLength, maxBytes, 0) } var mul = 1 var i = 0 this[offset] = value & 0xFF while (++i < byteLength && (mul *= 0x100)) { this[offset + i] = (value / mul) & 0xFF } return offset + byteLength } Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) { value = +value offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) { var maxBytes = Math.pow(2, 8 * byteLength) - 1 checkInt(this, value, offset, byteLength, maxBytes, 0) } var i = byteLength - 1 var mul = 1 this[offset + i] = value & 0xFF while (--i >= 0 && (mul *= 0x100)) { this[offset + i] = (value / mul) & 0xFF } return offset + byteLength } Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0) if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) this[offset] = (value & 0xff) return offset + 1 } function objectWriteUInt16 (buf, value, offset, littleEndian) { if (value < 0) value = 0xffff + value + 1 for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) { buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>> (littleEndian ? i : 1 - i) * 8 } } Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) } else { objectWriteUInt16(this, value, offset, true) } return offset + 2 } Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value >>> 8) this[offset + 1] = (value & 0xff) } else { objectWriteUInt16(this, value, offset, false) } return offset + 2 } function objectWriteUInt32 (buf, value, offset, littleEndian) { if (value < 0) value = 0xffffffff + value + 1 for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) { buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff } } Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset + 3] = (value >>> 24) this[offset + 2] = (value >>> 16) this[offset + 1] = (value >>> 8) this[offset] = (value & 0xff) } else { objectWriteUInt32(this, value, offset, true) } return offset + 4 } Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value >>> 24) this[offset + 1] = (value >>> 16) this[offset + 2] = (value >>> 8) this[offset + 3] = (value & 0xff) } else { objectWriteUInt32(this, value, offset, false) } return offset + 4 } Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) { value = +value offset = offset | 0 if (!noAssert) { var limit = Math.pow(2, 8 * byteLength - 1) checkInt(this, value, offset, byteLength, limit - 1, -limit) } var i = 0 var mul = 1 var sub = 0 this[offset] = value & 0xFF while (++i < byteLength && (mul *= 0x100)) { if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { sub = 1 } this[offset + i] = ((value / mul) >> 0) - sub & 0xFF } return offset + byteLength } Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) { value = +value offset = offset | 0 if (!noAssert) { var limit = Math.pow(2, 8 * byteLength - 1) checkInt(this, value, offset, byteLength, limit - 1, -limit) } var i = byteLength - 1 var mul = 1 var sub = 0 this[offset + i] = value & 0xFF while (--i >= 0 && (mul *= 0x100)) { if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { sub = 1 } this[offset + i] = ((value / mul) >> 0) - sub & 0xFF } return offset + byteLength } Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80) if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) if (value < 0) value = 0xff + value + 1 this[offset] = (value & 0xff) return offset + 1 } Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) } else { objectWriteUInt16(this, value, offset, true) } return offset + 2 } Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value >>> 8) this[offset + 1] = (value & 0xff) } else { objectWriteUInt16(this, value, offset, false) } return offset + 2 } Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) this[offset + 2] = (value >>> 16) this[offset + 3] = (value >>> 24) } else { objectWriteUInt32(this, value, offset, true) } return offset + 4 } Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) if (value < 0) value = 0xffffffff + value + 1 if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value >>> 24) this[offset + 1] = (value >>> 16) this[offset + 2] = (value >>> 8) this[offset + 3] = (value & 0xff) } else { objectWriteUInt32(this, value, offset, false) } return offset + 4 } function checkIEEE754 (buf, value, offset, ext, max, min) { if (offset + ext > buf.length) throw new RangeError('Index out of range') if (offset < 0) throw new RangeError('Index out of range') } function writeFloat (buf, value, offset, littleEndian, noAssert) { if (!noAssert) { checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38) } ieee754.write(buf, value, offset, littleEndian, 23, 4) return offset + 4 } Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) { return writeFloat(this, value, offset, true, noAssert) } Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) { return writeFloat(this, value, offset, false, noAssert) } function writeDouble (buf, value, offset, littleEndian, noAssert) { if (!noAssert) { checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308) } ieee754.write(buf, value, offset, littleEndian, 52, 8) return offset + 8 } Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) { return writeDouble(this, value, offset, true, noAssert) } Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) { return writeDouble(this, value, offset, false, noAssert) } // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) Buffer.prototype.copy = function copy (target, targetStart, start, end) { if (!start) start = 0 if (!end && end !== 0) end = this.length if (targetStart >= target.length) targetStart = target.length if (!targetStart) targetStart = 0 if (end > 0 && end < start) end = start // Copy 0 bytes; we're done if (end === start) return 0 if (target.length === 0 || this.length === 0) return 0 // Fatal error conditions if (targetStart < 0) { throw new RangeError('targetStart out of bounds') } if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds') if (end < 0) throw new RangeError('sourceEnd out of bounds') // Are we oob? if (end > this.length) end = this.length if (target.length - targetStart < end - start) { end = target.length - targetStart + start } var len = end - start var i if (this === target && start < targetStart && targetStart < end) { // descending copy from end for (i = len - 1; i >= 0; --i) { target[i + targetStart] = this[i + start] } } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) { // ascending copy from start for (i = 0; i < len; ++i) { target[i + targetStart] = this[i + start] } } else { Uint8Array.prototype.set.call( target, this.subarray(start, start + len), targetStart ) } return len } // Usage: // buffer.fill(number[, offset[, end]]) // buffer.fill(buffer[, offset[, end]]) // buffer.fill(string[, offset[, end]][, encoding]) Buffer.prototype.fill = function fill (val, start, end, encoding) { // Handle string cases: if (typeof val === 'string') { if (typeof start === 'string') { encoding = start start = 0 end = this.length } else if (typeof end === 'string') { encoding = end end = this.length } if (val.length === 1) { var code = val.charCodeAt(0) if (code < 256) { val = code } } if (encoding !== undefined && typeof encoding !== 'string') { throw new TypeError('encoding must be a string') } if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) { throw new TypeError('Unknown encoding: ' + encoding) } } else if (typeof val === 'number') { val = val & 255 } // Invalid ranges are not set to a default, so can range check early. if (start < 0 || this.length < start || this.length < end) { throw new RangeError('Out of range index') } if (end <= start) { return this } start = start >>> 0 end = end === undefined ? this.length : end >>> 0 if (!val) val = 0 var i if (typeof val === 'number') { for (i = start; i < end; ++i) { this[i] = val } } else { var bytes = Buffer.isBuffer(val) ? val : utf8ToBytes(new Buffer(val, encoding).toString()) var len = bytes.length for (i = 0; i < end - start; ++i) { this[i + start] = bytes[i % len] } } return this } // HELPER FUNCTIONS // ================ var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g function base64clean (str) { // Node strips out invalid characters like \n and \t from the string, base64-js does not str = stringtrim(str).replace(INVALID_BASE64_RE, '') // Node converts strings with length < 2 to '' if (str.length < 2) return '' // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not while (str.length % 4 !== 0) { str = str + '=' } return str } function stringtrim (str) { if (str.trim) return str.trim() return str.replace(/^\s+|\s+$/g, '') } function toHex (n) { if (n < 16) return '0' + n.toString(16) return n.toString(16) } function utf8ToBytes (string, units) { units = units || Infinity var codePoint var length = string.length var leadSurrogate = null var bytes = [] for (var i = 0; i < length; ++i) { codePoint = string.charCodeAt(i) // is surrogate component if (codePoint > 0xD7FF && codePoint < 0xE000) { // last char was a lead if (!leadSurrogate) { // no lead yet if (codePoint > 0xDBFF) { // unexpected trail if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) continue } else if (i + 1 === length) { // unpaired lead if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) continue } // valid lead leadSurrogate = codePoint continue } // 2 leads in a row if (codePoint < 0xDC00) { if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) leadSurrogate = codePoint continue } // valid surrogate pair codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000 } else if (leadSurrogate) { // valid bmp char, but last char was a lead if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) } leadSurrogate = null // encode utf8 if (codePoint < 0x80) { if ((units -= 1) < 0) break bytes.push(codePoint) } else if (codePoint < 0x800) { if ((units -= 2) < 0) break bytes.push( codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80 ) } else if (codePoint < 0x10000) { if ((units -= 3) < 0) break bytes.push( codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80 ) } else if (codePoint < 0x110000) { if ((units -= 4) < 0) break bytes.push( codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80 ) } else { throw new Error('Invalid code point') } } return bytes } function asciiToBytes (str) { var byteArray = [] for (var i = 0; i < str.length; ++i) { // Node's code seems to be doing this and not & 0x7F.. byteArray.push(str.charCodeAt(i) & 0xFF) } return byteArray } function utf16leToBytes (str, units) { var c, hi, lo var byteArray = [] for (var i = 0; i < str.length; ++i) { if ((units -= 2) < 0) break c = str.charCodeAt(i) hi = c >> 8 lo = c % 256 byteArray.push(lo) byteArray.push(hi) } return byteArray } function base64ToBytes (str) { return base64.toByteArray(base64clean(str)) } function blitBuffer (src, dst, offset, length) { for (var i = 0; i < length; ++i) { if ((i + offset >= dst.length) || (i >= src.length)) break dst[i + offset] = src[i] } return i } function isnan (val) { return val !== val // eslint-disable-line no-self-compare } }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer) },{"base64-js":82,"buffer":85,"ieee754":304,"isarray":313}],86:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. var Buffer = require('buffer').Buffer; var isBufferEncoding = Buffer.isEncoding || function(encoding) { switch (encoding && encoding.toLowerCase()) { case 'hex': case 'utf8': case 'utf-8': case 'ascii': case 'binary': case 'base64': case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': case 'raw': return true; default: return false; } } function assertEncoding(encoding) { if (encoding && !isBufferEncoding(encoding)) { throw new Error('Unknown encoding: ' + encoding); } } // StringDecoder provides an interface for efficiently splitting a series of // buffers into a series of JS strings without breaking apart multi-byte // characters. CESU-8 is handled as part of the UTF-8 encoding. // // @TODO Handling all encodings inside a single object makes it very difficult // to reason about this code, so it should be split up in the future. // @TODO There should be a utf8-strict encoding that rejects invalid UTF-8 code // points as used by CESU-8. var StringDecoder = exports.StringDecoder = function(encoding) { this.encoding = (encoding || 'utf8').toLowerCase().replace(/[-_]/, ''); assertEncoding(encoding); switch (this.encoding) { case 'utf8': // CESU-8 represents each of Surrogate Pair by 3-bytes this.surrogateSize = 3; break; case 'ucs2': case 'utf16le': // UTF-16 represents each of Surrogate Pair by 2-bytes this.surrogateSize = 2; this.detectIncompleteChar = utf16DetectIncompleteChar; break; case 'base64': // Base-64 stores 3 bytes in 4 chars, and pads the remainder. this.surrogateSize = 3; this.detectIncompleteChar = base64DetectIncompleteChar; break; default: this.write = passThroughWrite; return; } // Enough space to store all bytes of a single character. UTF-8 needs 4 // bytes, but CESU-8 may require up to 6 (3 bytes per surrogate). this.charBuffer = new Buffer(6); // Number of bytes received for the current incomplete multi-byte character. this.charReceived = 0; // Number of bytes expected for the current incomplete multi-byte character. this.charLength = 0; }; // write decodes the given buffer and returns it as JS string that is // guaranteed to not contain any partial multi-byte characters. Any partial // character found at the end of the buffer is buffered up, and will be // returned when calling write again with the remaining bytes. // // Note: Converting a Buffer containing an orphan surrogate to a String // currently works, but converting a String to a Buffer (via `new Buffer`, or // Buffer#write) will replace incomplete surrogates with the unicode // replacement character. See https://codereview.chromium.org/121173009/ . StringDecoder.prototype.write = function(buffer) { var charStr = ''; // if our last write ended with an incomplete multibyte character while (this.charLength) { // determine how many remaining bytes this buffer has to offer for this char var available = (buffer.length >= this.charLength - this.charReceived) ? this.charLength - this.charReceived : buffer.length; // add the new bytes to the char buffer buffer.copy(this.charBuffer, this.charReceived, 0, available); this.charReceived += available; if (this.charReceived < this.charLength) { // still not enough chars in this buffer? wait for more ... return ''; } // remove bytes belonging to the current character from the buffer buffer = buffer.slice(available, buffer.length); // get the character that was split charStr = this.charBuffer.slice(0, this.charLength).toString(this.encoding); // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character var charCode = charStr.charCodeAt(charStr.length - 1); if (charCode >= 0xD800 && charCode <= 0xDBFF) { this.charLength += this.surrogateSize; charStr = ''; continue; } this.charReceived = this.charLength = 0; // if there are no more bytes in this buffer, just emit our char if (buffer.length === 0) { return charStr; } break; } // determine and set charLength / charReceived this.detectIncompleteChar(buffer); var end = buffer.length; if (this.charLength) { // buffer the incomplete character bytes we got buffer.copy(this.charBuffer, 0, buffer.length - this.charReceived, end); end -= this.charReceived; } charStr += buffer.toString(this.encoding, 0, end); var end = charStr.length - 1; var charCode = charStr.charCodeAt(end); // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character if (charCode >= 0xD800 && charCode <= 0xDBFF) { var size = this.surrogateSize; this.charLength += size; this.charReceived += size; this.charBuffer.copy(this.charBuffer, size, 0, size); buffer.copy(this.charBuffer, 0, 0, size); return charStr.substring(0, end); } // or just emit the charStr return charStr; }; // detectIncompleteChar determines if there is an incomplete UTF-8 character at // the end of the given buffer. If so, it sets this.charLength to the byte // length that character, and sets this.charReceived to the number of bytes // that are available for this character. StringDecoder.prototype.detectIncompleteChar = function(buffer) { // determine how many bytes we have to check at the end of this buffer var i = (buffer.length >= 3) ? 3 : buffer.length; // Figure out if one of the last i bytes of our buffer announces an // incomplete char. for (; i > 0; i--) { var c = buffer[buffer.length - i]; // See http://en.wikipedia.org/wiki/UTF-8#Description // 110XXXXX if (i == 1 && c >> 5 == 0x06) { this.charLength = 2; break; } // 1110XXXX if (i <= 2 && c >> 4 == 0x0E) { this.charLength = 3; break; } // 11110XXX if (i <= 3 && c >> 3 == 0x1E) { this.charLength = 4; break; } } this.charReceived = i; }; StringDecoder.prototype.end = function(buffer) { var res = ''; if (buffer && buffer.length) res = this.write(buffer); if (this.charReceived) { var cr = this.charReceived; var buf = this.charBuffer; var enc = this.encoding; res += buf.slice(0, cr).toString(enc); } return res; }; function passThroughWrite(buffer) { return buffer.toString(this.encoding); } function utf16DetectIncompleteChar(buffer) { this.charReceived = buffer.length % 2; this.charLength = this.charReceived ? 2 : 0; } function base64DetectIncompleteChar(buffer) { this.charReceived = buffer.length % 3; this.charLength = this.charReceived ? 3 : 0; } },{"buffer":85}],87:[function(require,module,exports){ module.exports = { "100": "Continue", "101": "Switching Protocols", "102": "Processing", "200": "OK", "201": "Created", "202": "Accepted", "203": "Non-Authoritative Information", "204": "No Content", "205": "Reset Content", "206": "Partial Content", "207": "Multi-Status", "208": "Already Reported", "226": "IM Used", "300": "Multiple Choices", "301": "Moved Permanently", "302": "Found", "303": "See Other", "304": "Not Modified", "305": "Use Proxy", "307": "Temporary Redirect", "308": "Permanent Redirect", "400": "Bad Request", "401": "Unauthorized", "402": "Payment Required", "403": "Forbidden", "404": "Not Found", "405": "Method Not Allowed", "406": "Not Acceptable", "407": "Proxy Authentication Required", "408": "Request Timeout", "409": "Conflict", "410": "Gone", "411": "Length Required", "412": "Precondition Failed", "413": "Payload Too Large", "414": "URI Too Long", "415": "Unsupported Media Type", "416": "Range Not Satisfiable", "417": "Expectation Failed", "418": "I'm a teapot", "421": "Misdirected Request", "422": "Unprocessable Entity", "423": "Locked", "424": "Failed Dependency", "425": "Unordered Collection", "426": "Upgrade Required", "428": "Precondition Required", "429": "Too Many Requests", "431": "Request Header Fields Too Large", "451": "Unavailable For Legal Reasons", "500": "Internal Server Error", "501": "Not Implemented", "502": "Bad Gateway", "503": "Service Unavailable", "504": "Gateway Timeout", "505": "HTTP Version Not Supported", "506": "Variant Also Negotiates", "507": "Insufficient Storage", "508": "Loop Detected", "509": "Bandwidth Limit Exceeded", "510": "Not Extended", "511": "Network Authentication Required" } },{}],88:[function(require,module,exports){ /*! * copy-to - index.js * Copyright(c) 2014 dead_horse <dead_horse@qq.com> * MIT Licensed */ 'use strict'; /** * slice() reference. */ var slice = Array.prototype.slice; /** * Expose copy * * ``` * copy({foo: 'nar', hello: 'copy'}).to({hello: 'world'}); * copy({foo: 'nar', hello: 'copy'}).toCover({hello: 'world'}); * ``` * * @param {Object} src * @return {Copy} */ module.exports = Copy; /** * Copy * @param {Object} src * @param {Boolean} withAccess */ function Copy(src, withAccess) { if (!(this instanceof Copy)) return new Copy(src, withAccess); this.src = src; this._withAccess = withAccess; } /** * copy properties include getter and setter * @param {[type]} val [description] * @return {[type]} [description] */ Copy.prototype.withAccess = function (w) { this._withAccess = w !== false; return this; }; /** * pick keys in src * * @api: public */ Copy.prototype.pick = function(keys) { if (!Array.isArray(keys)) { keys = slice.call(arguments); } if (keys.length) { this.keys = keys; } return this; }; /** * copy src to target, * do not cover any property target has * @param {Object} to * * @api: public */ Copy.prototype.to = function(to) { to = to || {}; if (!this.src) return to; var keys = this.keys || Object.keys(this.src); if (!this._withAccess) { for (var i = 0; i < keys.length; i++) { key = keys[i]; if (to[key] !== undefined) continue; to[key] = this.src[key]; } return to; } for (var i = 0; i < keys.length; i++) { var key = keys[i]; if (!notDefined(to, key)) continue; var getter = this.src.__lookupGetter__(key); var setter = this.src.__lookupSetter__(key); if (getter) to.__defineGetter__(key, getter); if (setter) to.__defineSetter__(key, setter); if (!getter && !setter) { to[key] = this.src[key]; } } return to; }; /** * copy src to target, * override any property target has * @param {Object} to * * @api: public */ Copy.prototype.toCover = function(to) { var keys = this.keys || Object.keys(this.src); for (var i = 0; i < keys.length; i++) { var key = keys[i]; delete to[key]; var getter = this.src.__lookupGetter__(key); var setter = this.src.__lookupSetter__(key); if (getter) to.__defineGetter__(key, getter); if (setter) to.__defineSetter__(key, setter); if (!getter && !setter) { to[key] = this.src[key]; } } }; Copy.prototype.override = Copy.prototype.toCover; /** * append another object to src * @param {Obj} obj * @return {Copy} */ Copy.prototype.and = function (obj) { var src = {}; this.to(src); this.src = obj; this.to(src); this.src = src; return this; }; /** * check obj[key] if not defiend * @param {Object} obj * @param {String} key * @return {Boolean} */ function notDefined(obj, key) { return obj[key] === undefined && obj.__lookupGetter__(key) === undefined && obj.__lookupSetter__(key) === undefined; } },{}],89:[function(require,module,exports){ module.exports = function (it) { if (typeof it != 'function') { throw TypeError(String(it) + ' is not a function'); } return it; }; },{}],90:[function(require,module,exports){ var isObject = require('../internals/is-object'); module.exports = function (it) { if (!isObject(it) && it !== null) { throw TypeError("Can't set " + String(it) + ' as a prototype'); } return it; }; },{"../internals/is-object":162}],91:[function(require,module,exports){ var wellKnownSymbol = require('../internals/well-known-symbol'); var create = require('../internals/object-create'); var definePropertyModule = require('../internals/object-define-property'); var UNSCOPABLES = wellKnownSymbol('unscopables'); var ArrayPrototype = Array.prototype; // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype[UNSCOPABLES] == undefined) { definePropertyModule.f(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); } // add a key to Array.prototype[@@unscopables] module.exports = function (key) { ArrayPrototype[UNSCOPABLES][key] = true; }; },{"../internals/object-create":177,"../internals/object-define-property":179,"../internals/well-known-symbol":237}],92:[function(require,module,exports){ 'use strict'; var charAt = require('../internals/string-multibyte').charAt; // `AdvanceStringIndex` abstract operation // https://tc39.es/ecma262/#sec-advancestringindex module.exports = function (S, index, unicode) { return index + (unicode ? charAt(S, index).length : 1); }; },{"../internals/string-multibyte":213}],93:[function(require,module,exports){ module.exports = function (it, Constructor, name) { if (!(it instanceof Constructor)) { throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); } return it; }; },{}],94:[function(require,module,exports){ var isObject = require('../internals/is-object'); module.exports = function (it) { if (!isObject(it)) { throw TypeError(String(it) + ' is not an object'); } return it; }; },{"../internals/is-object":162}],95:[function(require,module,exports){ // eslint-disable-next-line es/no-typed-arrays -- safe module.exports = typeof ArrayBuffer !== 'undefined' && typeof DataView !== 'undefined'; },{}],96:[function(require,module,exports){ 'use strict'; var NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native'); var DESCRIPTORS = require('../internals/descriptors'); var global = require('../internals/global'); var isObject = require('../internals/is-object'); var has = require('../internals/has'); var classof = require('../internals/classof'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var redefine = require('../internals/redefine'); var defineProperty = require('../internals/object-define-property').f; var getPrototypeOf = require('../internals/object-get-prototype-of'); var setPrototypeOf = require('../internals/object-set-prototype-of'); var wellKnownSymbol = require('../internals/well-known-symbol'); var uid = require('../internals/uid'); var Int8Array = global.Int8Array; var Int8ArrayPrototype = Int8Array && Int8Array.prototype; var Uint8ClampedArray = global.Uint8ClampedArray; var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; var TypedArray = Int8Array && getPrototypeOf(Int8Array); var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); var ObjectPrototype = Object.prototype; var isPrototypeOf = ObjectPrototype.isPrototypeOf; var TO_STRING_TAG = wellKnownSymbol('toStringTag'); var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); var TYPED_ARRAY_CONSTRUCTOR = uid('TYPED_ARRAY_CONSTRUCTOR'); // Fixing native typed arrays in Opera Presto crashes the browser, see #595 var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera'; var TYPED_ARRAY_TAG_REQIRED = false; var NAME, Constructor, Prototype; var TypedArrayConstructorsList = { Int8Array: 1, Uint8Array: 1, Uint8ClampedArray: 1, Int16Array: 2, Uint16Array: 2, Int32Array: 4, Uint32Array: 4, Float32Array: 4, Float64Array: 8 }; var BigIntArrayConstructorsList = { BigInt64Array: 8, BigUint64Array: 8 }; var isView = function isView(it) { if (!isObject(it)) return false; var klass = classof(it); return klass === 'DataView' || has(TypedArrayConstructorsList, klass) || has(BigIntArrayConstructorsList, klass); }; var isTypedArray = function (it) { if (!isObject(it)) return false; var klass = classof(it); return has(TypedArrayConstructorsList, klass) || has(BigIntArrayConstructorsList, klass); }; var aTypedArray = function (it) { if (isTypedArray(it)) return it; throw TypeError('Target is not a typed array'); }; var aTypedArrayConstructor = function (C) { if (setPrototypeOf && !isPrototypeOf.call(TypedArray, C)) { throw TypeError('Target is not a typed array constructor'); } return C; }; var exportTypedArrayMethod = function (KEY, property, forced) { if (!DESCRIPTORS) return; if (forced) for (var ARRAY in TypedArrayConstructorsList) { var TypedArrayConstructor = global[ARRAY]; if (TypedArrayConstructor && has(TypedArrayConstructor.prototype, KEY)) try { delete TypedArrayConstructor.prototype[KEY]; } catch (error) { /* empty */ } } if (!TypedArrayPrototype[KEY] || forced) { redefine(TypedArrayPrototype, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property); } }; var exportTypedArrayStaticMethod = function (KEY, property, forced) { var ARRAY, TypedArrayConstructor; if (!DESCRIPTORS) return; if (setPrototypeOf) { if (forced) for (ARRAY in TypedArrayConstructorsList) { TypedArrayConstructor = global[ARRAY]; if (TypedArrayConstructor && has(TypedArrayConstructor, KEY)) try { delete TypedArrayConstructor[KEY]; } catch (error) { /* empty */ } } if (!TypedArray[KEY] || forced) { // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable try { return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); } catch (error) { /* empty */ } } else return; } for (ARRAY in TypedArrayConstructorsList) { TypedArrayConstructor = global[ARRAY]; if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { redefine(TypedArrayConstructor, KEY, property); } } }; for (NAME in TypedArrayConstructorsList) { Constructor = global[NAME]; Prototype = Constructor && Constructor.prototype; if (Prototype) createNonEnumerableProperty(Prototype, TYPED_ARRAY_CONSTRUCTOR, Constructor); else NATIVE_ARRAY_BUFFER_VIEWS = false; } for (NAME in BigIntArrayConstructorsList) { Constructor = global[NAME]; Prototype = Constructor && Constructor.prototype; if (Prototype) createNonEnumerableProperty(Prototype, TYPED_ARRAY_CONSTRUCTOR, Constructor); } // WebKit bug - typed arrays constructors prototype is Object.prototype if (!NATIVE_ARRAY_BUFFER_VIEWS || typeof TypedArray != 'function' || TypedArray === Function.prototype) { // eslint-disable-next-line no-shadow -- safe TypedArray = function TypedArray() { throw TypeError('Incorrect invocation'); }; if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); } } if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { TypedArrayPrototype = TypedArray.prototype; if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); } } // WebKit bug - one more object in Uint8ClampedArray prototype chain if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); } if (DESCRIPTORS && !has(TypedArrayPrototype, TO_STRING_TAG)) { TYPED_ARRAY_TAG_REQIRED = true; defineProperty(TypedArrayPrototype, TO_STRING_TAG, { get: function () { return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; } }); for (NAME in TypedArrayConstructorsList) if (global[NAME]) { createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME); } } module.exports = { NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, TYPED_ARRAY_CONSTRUCTOR: TYPED_ARRAY_CONSTRUCTOR, TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG, aTypedArray: aTypedArray, aTypedArrayConstructor: aTypedArrayConstructor, exportTypedArrayMethod: exportTypedArrayMethod, exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, isView: isView, isTypedArray: isTypedArray, TypedArray: TypedArray, TypedArrayPrototype: TypedArrayPrototype }; },{"../internals/array-buffer-native":95,"../internals/classof":115,"../internals/create-non-enumerable-property":120,"../internals/descriptors":125,"../internals/global":147,"../internals/has":148,"../internals/is-object":162,"../internals/object-define-property":179,"../internals/object-get-prototype-of":184,"../internals/object-set-prototype-of":188,"../internals/redefine":197,"../internals/uid":234,"../internals/well-known-symbol":237}],97:[function(require,module,exports){ 'use strict'; var global = require('../internals/global'); var DESCRIPTORS = require('../internals/descriptors'); var NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var redefineAll = require('../internals/redefine-all'); var fails = require('../internals/fails'); var anInstance = require('../internals/an-instance'); var toInteger = require('../internals/to-integer'); var toLength = require('../internals/to-length'); var toIndex = require('../internals/to-index'); var IEEE754 = require('../internals/ieee754'); var getPrototypeOf = require('../internals/object-get-prototype-of'); var setPrototypeOf = require('../internals/object-set-prototype-of'); var getOwnPropertyNames = require('../internals/object-get-own-property-names').f; var defineProperty = require('../internals/object-define-property').f; var arrayFill = require('../internals/array-fill'); var setToStringTag = require('../internals/set-to-string-tag'); var InternalStateModule = require('../internals/internal-state'); var getInternalState = InternalStateModule.get; var setInternalState = InternalStateModule.set; var ARRAY_BUFFER = 'ArrayBuffer'; var DATA_VIEW = 'DataView'; var PROTOTYPE = 'prototype'; var WRONG_LENGTH = 'Wrong length'; var WRONG_INDEX = 'Wrong index'; var NativeArrayBuffer = global[ARRAY_BUFFER]; var $ArrayBuffer = NativeArrayBuffer; var $DataView = global[DATA_VIEW]; var $DataViewPrototype = $DataView && $DataView[PROTOTYPE]; var ObjectPrototype = Object.prototype; var RangeError = global.RangeError; var packIEEE754 = IEEE754.pack; var unpackIEEE754 = IEEE754.unpack; var packInt8 = function (number) { return [number & 0xFF]; }; var packInt16 = function (number) { return [number & 0xFF, number >> 8 & 0xFF]; }; var packInt32 = function (number) { return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF]; }; var unpackInt32 = function (buffer) { return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]; }; var packFloat32 = function (number) { return packIEEE754(number, 23, 4); }; var packFloat64 = function (number) { return packIEEE754(number, 52, 8); }; var addGetter = function (Constructor, key) { defineProperty(Constructor[PROTOTYPE], key, { get: function () { return getInternalState(this)[key]; } }); }; var get = function (view, count, index, isLittleEndian) { var intIndex = toIndex(index); var store = getInternalState(view); if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); var bytes = getInternalState(store.buffer).bytes; var start = intIndex + store.byteOffset; var pack = bytes.slice(start, start + count); return isLittleEndian ? pack : pack.reverse(); }; var set = function (view, count, index, conversion, value, isLittleEndian) { var intIndex = toIndex(index); var store = getInternalState(view); if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); var bytes = getInternalState(store.buffer).bytes; var start = intIndex + store.byteOffset; var pack = conversion(+value); for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1]; }; if (!NATIVE_ARRAY_BUFFER) { $ArrayBuffer = function ArrayBuffer(length) { anInstance(this, $ArrayBuffer, ARRAY_BUFFER); var byteLength = toIndex(length); setInternalState(this, { bytes: arrayFill.call(new Array(byteLength), 0), byteLength: byteLength }); if (!DESCRIPTORS) this.byteLength = byteLength; }; $DataView = function DataView(buffer, byteOffset, byteLength) { anInstance(this, $DataView, DATA_VIEW); anInstance(buffer, $ArrayBuffer, DATA_VIEW); var bufferLength = getInternalState(buffer).byteLength; var offset = toInteger(byteOffset); if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset'); byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); setInternalState(this, { buffer: buffer, byteLength: byteLength, byteOffset: offset }); if (!DESCRIPTORS) { this.buffer = buffer; this.byteLength = byteLength; this.byteOffset = offset; } }; if (DESCRIPTORS) { addGetter($ArrayBuffer, 'byteLength'); addGetter($DataView, 'buffer'); addGetter($DataView, 'byteLength'); addGetter($DataView, 'byteOffset'); } redefineAll($DataView[PROTOTYPE], { getInt8: function getInt8(byteOffset) { return get(this, 1, byteOffset)[0] << 24 >> 24; }, getUint8: function getUint8(byteOffset) { return get(this, 1, byteOffset)[0]; }, getInt16: function getInt16(byteOffset /* , littleEndian */) { var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined); return (bytes[1] << 8 | bytes[0]) << 16 >> 16; }, getUint16: function getUint16(byteOffset /* , littleEndian */) { var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined); return bytes[1] << 8 | bytes[0]; }, getInt32: function getInt32(byteOffset /* , littleEndian */) { return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)); }, getUint32: function getUint32(byteOffset /* , littleEndian */) { return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)) >>> 0; }, getFloat32: function getFloat32(byteOffset /* , littleEndian */) { return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 23); }, getFloat64: function getFloat64(byteOffset /* , littleEndian */) { return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 52); }, setInt8: function setInt8(byteOffset, value) { set(this, 1, byteOffset, packInt8, value); }, setUint8: function setUint8(byteOffset, value) { set(this, 1, byteOffset, packInt8, value); }, setInt16: function setInt16(byteOffset, value /* , littleEndian */) { set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined); }, setUint16: function setUint16(byteOffset, value /* , littleEndian */) { set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined); }, setInt32: function setInt32(byteOffset, value /* , littleEndian */) { set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined); }, setUint32: function setUint32(byteOffset, value /* , littleEndian */) { set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined); }, setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : undefined); }, setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : undefined); } }); } else { /* eslint-disable no-new -- required for testing */ if (!fails(function () { NativeArrayBuffer(1); }) || !fails(function () { new NativeArrayBuffer(-1); }) || fails(function () { new NativeArrayBuffer(); new NativeArrayBuffer(1.5); new NativeArrayBuffer(NaN); return NativeArrayBuffer.name != ARRAY_BUFFER; })) { /* eslint-enable no-new -- required for testing */ $ArrayBuffer = function ArrayBuffer(length) { anInstance(this, $ArrayBuffer); return new NativeArrayBuffer(toIndex(length)); }; var ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE] = NativeArrayBuffer[PROTOTYPE]; for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) { if (!((key = keys[j++]) in $ArrayBuffer)) { createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]); } } ArrayBufferPrototype.constructor = $ArrayBuffer; } // WebKit bug - the same parent prototype for typed arrays and data view if (setPrototypeOf && getPrototypeOf($DataViewPrototype) !== ObjectPrototype) { setPrototypeOf($DataViewPrototype, ObjectPrototype); } // iOS Safari 7.x bug var testView = new $DataView(new $ArrayBuffer(2)); var $setInt8 = $DataViewPrototype.setInt8; testView.setInt8(0, 2147483648); testView.setInt8(1, 2147483649); if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll($DataViewPrototype, { setInt8: function setInt8(byteOffset, value) { $setInt8.call(this, byteOffset, value << 24 >> 24); }, setUint8: function setUint8(byteOffset, value) { $setInt8.call(this, byteOffset, value << 24 >> 24); } }, { unsafe: true }); } setToStringTag($ArrayBuffer, ARRAY_BUFFER); setToStringTag($DataView, DATA_VIEW); module.exports = { ArrayBuffer: $ArrayBuffer, DataView: $DataView }; },{"../internals/an-instance":93,"../internals/array-buffer-native":95,"../internals/array-fill":99,"../internals/create-non-enumerable-property":120,"../internals/descriptors":125,"../internals/fails":140,"../internals/global":147,"../internals/ieee754":153,"../internals/internal-state":157,"../internals/object-define-property":179,"../internals/object-get-own-property-names":182,"../internals/object-get-prototype-of":184,"../internals/object-set-prototype-of":188,"../internals/redefine-all":196,"../internals/set-to-string-tag":208,"../internals/to-index":218,"../internals/to-integer":220,"../internals/to-length":221}],98:[function(require,module,exports){ 'use strict'; var toObject = require('../internals/to-object'); var toAbsoluteIndex = require('../internals/to-absolute-index'); var toLength = require('../internals/to-length'); var min = Math.min; // `Array.prototype.copyWithin` method implementation // https://tc39.es/ecma262/#sec-array.prototype.copywithin // eslint-disable-next-line es/no-array-prototype-copywithin -- safe module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { var O = toObject(this); var len = toLength(O.length); var to = toAbsoluteIndex(target, len); var from = toAbsoluteIndex(start, len); var end = arguments.length > 2 ? arguments[2] : undefined; var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); var inc = 1; if (from < to && to < from + count) { inc = -1; from += count - 1; to += count - 1; } while (count-- > 0) { if (from in O) O[to] = O[from]; else delete O[to]; to += inc; from += inc; } return O; }; },{"../internals/to-absolute-index":217,"../internals/to-length":221,"../internals/to-object":222}],99:[function(require,module,exports){ 'use strict'; var toObject = require('../internals/to-object'); var toAbsoluteIndex = require('../internals/to-absolute-index'); var toLength = require('../internals/to-length'); // `Array.prototype.fill` method implementation // https://tc39.es/ecma262/#sec-array.prototype.fill module.exports = function fill(value /* , start = 0, end = @length */) { var O = toObject(this); var length = toLength(O.length); var argumentsLength = arguments.length; var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length); var end = argumentsLength > 2 ? arguments[2] : undefined; var endPos = end === undefined ? length : toAbsoluteIndex(end, length); while (endPos > index) O[index++] = value; return O; }; },{"../internals/to-absolute-index":217,"../internals/to-length":221,"../internals/to-object":222}],100:[function(require,module,exports){ 'use strict'; var $forEach = require('../internals/array-iteration').forEach; var arrayMethodIsStrict = require('../internals/array-method-is-strict'); var STRICT_METHOD = arrayMethodIsStrict('forEach'); // `Array.prototype.forEach` method implementation // https://tc39.es/ecma262/#sec-array.prototype.foreach module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) { return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); // eslint-disable-next-line es/no-array-prototype-foreach -- safe } : [].forEach; },{"../internals/array-iteration":104,"../internals/array-method-is-strict":107}],101:[function(require,module,exports){ module.exports = function (Constructor, list) { var index = 0; var length = list.length; var result = new Constructor(length); while (length > index) result[index] = list[index++]; return result; }; },{}],102:[function(require,module,exports){ 'use strict'; var bind = require('../internals/function-bind-context'); var toObject = require('../internals/to-object'); var callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing'); var isArrayIteratorMethod = require('../internals/is-array-iterator-method'); var toLength = require('../internals/to-length'); var createProperty = require('../internals/create-property'); var getIterator = require('../internals/get-iterator'); var getIteratorMethod = require('../internals/get-iterator-method'); // `Array.from` method implementation // https://tc39.es/ecma262/#sec-array.from module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { var O = toObject(arrayLike); var C = typeof this == 'function' ? this : Array; var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; var iteratorMethod = getIteratorMethod(O); var index = 0; var length, result, step, iterator, next, value; if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); // if the target is not iterable or it's an array with the default iterator - use a simple case if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) { iterator = getIterator(O, iteratorMethod); next = iterator.next; result = new C(); for (;!(step = next.call(iterator)).done; index++) { value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; createProperty(result, index, value); } } else { length = toLength(O.length); result = new C(length); for (;length > index; index++) { value = mapping ? mapfn(O[index], index) : O[index]; createProperty(result, index, value); } } result.length = index; return result; }; },{"../internals/call-with-safe-iteration-closing":112,"../internals/create-property":122,"../internals/function-bind-context":142,"../internals/get-iterator":145,"../internals/get-iterator-method":144,"../internals/is-array-iterator-method":158,"../internals/to-length":221,"../internals/to-object":222}],103:[function(require,module,exports){ var toIndexedObject = require('../internals/to-indexed-object'); var toLength = require('../internals/to-length'); var toAbsoluteIndex = require('../internals/to-absolute-index'); // `Array.prototype.{ indexOf, includes }` methods implementation var createMethod = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIndexedObject($this); var length = toLength(O.length); var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare -- NaN check if (IS_INCLUDES && el != el) while (length > index) { value = O[index++]; // eslint-disable-next-line no-self-compare -- NaN check if (value != value) return true; // Array#indexOf ignores holes, Array#includes - not } else for (;length > index; index++) { if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; }; module.exports = { // `Array.prototype.includes` method // https://tc39.es/ecma262/#sec-array.prototype.includes includes: createMethod(true), // `Array.prototype.indexOf` method // https://tc39.es/ecma262/#sec-array.prototype.indexof indexOf: createMethod(false) }; },{"../internals/to-absolute-index":217,"../internals/to-indexed-object":219,"../internals/to-length":221}],104:[function(require,module,exports){ var bind = require('../internals/function-bind-context'); var IndexedObject = require('../internals/indexed-object'); var toObject = require('../internals/to-object'); var toLength = require('../internals/to-length'); var arraySpeciesCreate = require('../internals/array-species-create'); var push = [].push; // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation var createMethod = function (TYPE) { var IS_MAP = TYPE == 1; var IS_FILTER = TYPE == 2; var IS_SOME = TYPE == 3; var IS_EVERY = TYPE == 4; var IS_FIND_INDEX = TYPE == 6; var IS_FILTER_REJECT = TYPE == 7; var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; return function ($this, callbackfn, that, specificCreate) { var O = toObject($this); var self = IndexedObject(O); var boundFunction = bind(callbackfn, that, 3); var length = toLength(self.length); var index = 0; var create = specificCreate || arraySpeciesCreate; var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; var value, result; for (;length > index; index++) if (NO_HOLES || index in self) { value = self[index]; result = boundFunction(value, index, O); if (TYPE) { if (IS_MAP) target[index] = result; // map else if (result) switch (TYPE) { case 3: return true; // some case 5: return value; // find case 6: return index; // findIndex case 2: push.call(target, value); // filter } else switch (TYPE) { case 4: return false; // every case 7: push.call(target, value); // filterReject } } } return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; }; }; module.exports = { // `Array.prototype.forEach` method // https://tc39.es/ecma262/#sec-array.prototype.foreach forEach: createMethod(0), // `Array.prototype.map` method // https://tc39.es/ecma262/#sec-array.prototype.map map: createMethod(1), // `Array.prototype.filter` method // https://tc39.es/ecma262/#sec-array.prototype.filter filter: createMethod(2), // `Array.prototype.some` method // https://tc39.es/ecma262/#sec-array.prototype.some some: createMethod(3), // `Array.prototype.every` method // https://tc39.es/ecma262/#sec-array.prototype.every every: createMethod(4), // `Array.prototype.find` method // https://tc39.es/ecma262/#sec-array.prototype.find find: createMethod(5), // `Array.prototype.findIndex` method // https://tc39.es/ecma262/#sec-array.prototype.findIndex findIndex: createMethod(6), // `Array.prototype.filterReject` method // https://github.com/tc39/proposal-array-filtering filterReject: createMethod(7) }; },{"../internals/array-species-create":111,"../internals/function-bind-context":142,"../internals/indexed-object":154,"../internals/to-length":221,"../internals/to-object":222}],105:[function(require,module,exports){ 'use strict'; /* eslint-disable es/no-array-prototype-lastindexof -- safe */ var toIndexedObject = require('../internals/to-indexed-object'); var toInteger = require('../internals/to-integer'); var toLength = require('../internals/to-length'); var arrayMethodIsStrict = require('../internals/array-method-is-strict'); var min = Math.min; var $lastIndexOf = [].lastIndexOf; var NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0; var STRICT_METHOD = arrayMethodIsStrict('lastIndexOf'); var FORCED = NEGATIVE_ZERO || !STRICT_METHOD; // `Array.prototype.lastIndexOf` method implementation // https://tc39.es/ecma262/#sec-array.prototype.lastindexof module.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { // convert -0 to +0 if (NEGATIVE_ZERO) return $lastIndexOf.apply(this, arguments) || 0; var O = toIndexedObject(this); var length = toLength(O.length); var index = length - 1; if (arguments.length > 1) index = min(index, toInteger(arguments[1])); if (index < 0) index = length + index; for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0; return -1; } : $lastIndexOf; },{"../internals/array-method-is-strict":107,"../internals/to-indexed-object":219,"../internals/to-integer":220,"../internals/to-length":221}],106:[function(require,module,exports){ var fails = require('../internals/fails'); var wellKnownSymbol = require('../internals/well-known-symbol'); var V8_VERSION = require('../internals/engine-v8-version'); var SPECIES = wellKnownSymbol('species'); module.exports = function (METHOD_NAME) { // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/677 return V8_VERSION >= 51 || !fails(function () { var array = []; var constructor = array.constructor = {}; constructor[SPECIES] = function () { return { foo: 1 }; }; return array[METHOD_NAME](Boolean).foo !== 1; }); }; },{"../internals/engine-v8-version":136,"../internals/fails":140,"../internals/well-known-symbol":237}],107:[function(require,module,exports){ 'use strict'; var fails = require('../internals/fails'); module.exports = function (METHOD_NAME, argument) { var method = [][METHOD_NAME]; return !!method && fails(function () { // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing method.call(null, argument || function () { throw 1; }, 1); }); }; },{"../internals/fails":140}],108:[function(require,module,exports){ var aFunction = require('../internals/a-function'); var toObject = require('../internals/to-object'); var IndexedObject = require('../internals/indexed-object'); var toLength = require('../internals/to-length'); // `Array.prototype.{ reduce, reduceRight }` methods implementation var createMethod = function (IS_RIGHT) { return function (that, callbackfn, argumentsLength, memo) { aFunction(callbackfn); var O = toObject(that); var self = IndexedObject(O); var length = toLength(O.length); var index = IS_RIGHT ? length - 1 : 0; var i = IS_RIGHT ? -1 : 1; if (argumentsLength < 2) while (true) { if (index in self) { memo = self[index]; index += i; break; } index += i; if (IS_RIGHT ? index < 0 : length <= index) { throw TypeError('Reduce of empty array with no initial value'); } } for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { memo = callbackfn(memo, self[index], index, O); } return memo; }; }; module.exports = { // `Array.prototype.reduce` method // https://tc39.es/ecma262/#sec-array.prototype.reduce left: createMethod(false), // `Array.prototype.reduceRight` method // https://tc39.es/ecma262/#sec-array.prototype.reduceright right: createMethod(true) }; },{"../internals/a-function":89,"../internals/indexed-object":154,"../internals/to-length":221,"../internals/to-object":222}],109:[function(require,module,exports){ // TODO: use something more complex like timsort? var floor = Math.floor; var mergeSort = function (array, comparefn) { var length = array.length; var middle = floor(length / 2); return length < 8 ? insertionSort(array, comparefn) : merge( mergeSort(array.slice(0, middle), comparefn), mergeSort(array.slice(middle), comparefn), comparefn ); }; var insertionSort = function (array, comparefn) { var length = array.length; var i = 1; var element, j; while (i < length) { j = i; element = array[i]; while (j && comparefn(array[j - 1], element) > 0) { array[j] = array[--j]; } if (j !== i++) array[j] = element; } return array; }; var merge = function (left, right, comparefn) { var llength = left.length; var rlength = right.length; var lindex = 0; var rindex = 0; var result = []; while (lindex < llength || rindex < rlength) { if (lindex < llength && rindex < rlength) { result.push(comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]); } else { result.push(lindex < llength ? left[lindex++] : right[rindex++]); } } return result; }; module.exports = mergeSort; },{}],110:[function(require,module,exports){ var isObject = require('../internals/is-object'); var isArray = require('../internals/is-array'); var wellKnownSymbol = require('../internals/well-known-symbol'); var SPECIES = wellKnownSymbol('species'); // a part of `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate module.exports = function (originalArray) { var C; if (isArray(originalArray)) { C = originalArray.constructor; // cross-realm fallback if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; else if (isObject(C)) { C = C[SPECIES]; if (C === null) C = undefined; } } return C === undefined ? Array : C; }; },{"../internals/is-array":159,"../internals/is-object":162,"../internals/well-known-symbol":237}],111:[function(require,module,exports){ var arraySpeciesConstructor = require('../internals/array-species-constructor'); // `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate module.exports = function (originalArray, length) { return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); }; },{"../internals/array-species-constructor":110}],112:[function(require,module,exports){ var anObject = require('../internals/an-object'); var iteratorClose = require('../internals/iterator-close'); // call something on iterator step with safe closing on error module.exports = function (iterator, fn, value, ENTRIES) { try { return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); } catch (error) { iteratorClose(iterator, 'throw', error); } }; },{"../internals/an-object":94,"../internals/iterator-close":167}],113:[function(require,module,exports){ var wellKnownSymbol = require('../internals/well-known-symbol'); var ITERATOR = wellKnownSymbol('iterator'); var SAFE_CLOSING = false; try { var called = 0; var iteratorWithReturn = { next: function () { return { done: !!called++ }; }, 'return': function () { SAFE_CLOSING = true; } }; iteratorWithReturn[ITERATOR] = function () { return this; }; // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing Array.from(iteratorWithReturn, function () { throw 2; }); } catch (error) { /* empty */ } module.exports = function (exec, SKIP_CLOSING) { if (!SKIP_CLOSING && !SAFE_CLOSING) return false; var ITERATION_SUPPORT = false; try { var object = {}; object[ITERATOR] = function () { return { next: function () { return { done: ITERATION_SUPPORT = true }; } }; }; exec(object); } catch (error) { /* empty */ } return ITERATION_SUPPORT; }; },{"../internals/well-known-symbol":237}],114:[function(require,module,exports){ var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; },{}],115:[function(require,module,exports){ var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support'); var classofRaw = require('../internals/classof-raw'); var wellKnownSymbol = require('../internals/well-known-symbol'); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); // ES3 wrong here var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key]; } catch (error) { /* empty */ } }; // getting tag from ES6+ `Object.prototype.toString` module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; }; },{"../internals/classof-raw":114,"../internals/to-string-tag-support":227,"../internals/well-known-symbol":237}],116:[function(require,module,exports){ var has = require('../internals/has'); var ownKeys = require('../internals/own-keys'); var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor'); var definePropertyModule = require('../internals/object-define-property'); module.exports = function (target, source) { var keys = ownKeys(source); var defineProperty = definePropertyModule.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); } }; },{"../internals/has":148,"../internals/object-define-property":179,"../internals/object-get-own-property-descriptor":180,"../internals/own-keys":192}],117:[function(require,module,exports){ var wellKnownSymbol = require('../internals/well-known-symbol'); var MATCH = wellKnownSymbol('match'); module.exports = function (METHOD_NAME) { var regexp = /./; try { '/./'[METHOD_NAME](regexp); } catch (error1) { try { regexp[MATCH] = false; return '/./'[METHOD_NAME](regexp); } catch (error2) { /* empty */ } } return false; }; },{"../internals/well-known-symbol":237}],118:[function(require,module,exports){ var fails = require('../internals/fails'); module.exports = !fails(function () { function F() { /* empty */ } F.prototype.constructor = null; // eslint-disable-next-line es/no-object-getprototypeof -- required for testing return Object.getPrototypeOf(new F()) !== F.prototype; }); },{"../internals/fails":140}],119:[function(require,module,exports){ 'use strict'; var IteratorPrototype = require('../internals/iterators-core').IteratorPrototype; var create = require('../internals/object-create'); var createPropertyDescriptor = require('../internals/create-property-descriptor'); var setToStringTag = require('../internals/set-to-string-tag'); var Iterators = require('../internals/iterators'); var returnThis = function () { return this; }; module.exports = function (IteratorConstructor, NAME, next) { var TO_STRING_TAG = NAME + ' Iterator'; IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) }); setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); Iterators[TO_STRING_TAG] = returnThis; return IteratorConstructor; }; },{"../internals/create-property-descriptor":121,"../internals/iterators":169,"../internals/iterators-core":168,"../internals/object-create":177,"../internals/set-to-string-tag":208}],120:[function(require,module,exports){ var DESCRIPTORS = require('../internals/descriptors'); var definePropertyModule = require('../internals/object-define-property'); var createPropertyDescriptor = require('../internals/create-property-descriptor'); module.exports = DESCRIPTORS ? function (object, key, value) { return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); } : function (object, key, value) { object[key] = value; return object; }; },{"../internals/create-property-descriptor":121,"../internals/descriptors":125,"../internals/object-define-property":179}],121:[function(require,module,exports){ module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; },{}],122:[function(require,module,exports){ 'use strict'; var toPropertyKey = require('../internals/to-property-key'); var definePropertyModule = require('../internals/object-define-property'); var createPropertyDescriptor = require('../internals/create-property-descriptor'); module.exports = function (object, key, value) { var propertyKey = toPropertyKey(key); if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); else object[propertyKey] = value; }; },{"../internals/create-property-descriptor":121,"../internals/object-define-property":179,"../internals/to-property-key":226}],123:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var createIteratorConstructor = require('../internals/create-iterator-constructor'); var getPrototypeOf = require('../internals/object-get-prototype-of'); var setPrototypeOf = require('../internals/object-set-prototype-of'); var setToStringTag = require('../internals/set-to-string-tag'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var redefine = require('../internals/redefine'); var wellKnownSymbol = require('../internals/well-known-symbol'); var IS_PURE = require('../internals/is-pure'); var Iterators = require('../internals/iterators'); var IteratorsCore = require('../internals/iterators-core'); var IteratorPrototype = IteratorsCore.IteratorPrototype; var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; var ITERATOR = wellKnownSymbol('iterator'); var KEYS = 'keys'; var VALUES = 'values'; var ENTRIES = 'entries'; var returnThis = function () { return this; }; module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { createIteratorConstructor(IteratorConstructor, NAME, next); var getIterationMethod = function (KIND) { if (KIND === DEFAULT && defaultIterator) return defaultIterator; if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; switch (KIND) { case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; } return function () { return new IteratorConstructor(this); }; }; var TO_STRING_TAG = NAME + ' Iterator'; var INCORRECT_VALUES_NAME = false; var IterablePrototype = Iterable.prototype; var nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype['@@iterator'] || DEFAULT && IterablePrototype[DEFAULT]; var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; var CurrentIteratorPrototype, methods, KEY; // fix native if (anyNativeIterator) { CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { if (setPrototypeOf) { setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') { createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis); } } // Set @@toStringTag to native iterators setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; } } // fix Array.prototype.{ values, @@iterator }.name in V8 / FF if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { INCORRECT_VALUES_NAME = true; defaultIterator = function values() { return nativeIterator.call(this); }; } // define iterator if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator); } Iterators[NAME] = defaultIterator; // export additional methods if (DEFAULT) { methods = { values: getIterationMethod(VALUES), keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), entries: getIterationMethod(ENTRIES) }; if (FORCED) for (KEY in methods) { if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { redefine(IterablePrototype, KEY, methods[KEY]); } } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); } return methods; }; },{"../internals/create-iterator-constructor":119,"../internals/create-non-enumerable-property":120,"../internals/export":139,"../internals/is-pure":163,"../internals/iterators":169,"../internals/iterators-core":168,"../internals/object-get-prototype-of":184,"../internals/object-set-prototype-of":188,"../internals/redefine":197,"../internals/set-to-string-tag":208,"../internals/well-known-symbol":237}],124:[function(require,module,exports){ var path = require('../internals/path'); var has = require('../internals/has'); var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped'); var defineProperty = require('../internals/object-define-property').f; module.exports = function (NAME) { var Symbol = path.Symbol || (path.Symbol = {}); if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, { value: wrappedWellKnownSymbolModule.f(NAME) }); }; },{"../internals/has":148,"../internals/object-define-property":179,"../internals/path":193,"../internals/well-known-symbol-wrapped":236}],125:[function(require,module,exports){ var fails = require('../internals/fails'); // Detect IE8's incomplete defineProperty implementation module.exports = !fails(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; }); },{"../internals/fails":140}],126:[function(require,module,exports){ var global = require('../internals/global'); var isObject = require('../internals/is-object'); var document = global.document; // typeof document.createElement is 'object' in old IE var EXISTS = isObject(document) && isObject(document.createElement); module.exports = function (it) { return EXISTS ? document.createElement(it) : {}; }; },{"../internals/global":147,"../internals/is-object":162}],127:[function(require,module,exports){ // iterable DOM collections // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods module.exports = { CSSRuleList: 0, CSSStyleDeclaration: 0, CSSValueList: 0, ClientRectList: 0, DOMRectList: 0, DOMStringList: 0, DOMTokenList: 1, DataTransferItemList: 0, FileList: 0, HTMLAllCollection: 0, HTMLCollection: 0, HTMLFormElement: 0, HTMLSelectElement: 0, MediaList: 0, MimeTypeArray: 0, NamedNodeMap: 0, NodeList: 1, PaintRequestList: 0, Plugin: 0, PluginArray: 0, SVGLengthList: 0, SVGNumberList: 0, SVGPathSegList: 0, SVGPointList: 0, SVGStringList: 0, SVGTransformList: 0, SourceBufferList: 0, StyleSheetList: 0, TextTrackCueList: 0, TextTrackList: 0, TouchList: 0 }; },{}],128:[function(require,module,exports){ var userAgent = require('../internals/engine-user-agent'); var firefox = userAgent.match(/firefox\/(\d+)/i); module.exports = !!firefox && +firefox[1]; },{"../internals/engine-user-agent":135}],129:[function(require,module,exports){ module.exports = typeof window == 'object'; },{}],130:[function(require,module,exports){ var UA = require('../internals/engine-user-agent'); module.exports = /MSIE|Trident/.test(UA); },{"../internals/engine-user-agent":135}],131:[function(require,module,exports){ var userAgent = require('../internals/engine-user-agent'); var global = require('../internals/global'); module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined; },{"../internals/engine-user-agent":135,"../internals/global":147}],132:[function(require,module,exports){ var userAgent = require('../internals/engine-user-agent'); module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); },{"../internals/engine-user-agent":135}],133:[function(require,module,exports){ var classof = require('../internals/classof-raw'); var global = require('../internals/global'); module.exports = classof(global.process) == 'process'; },{"../internals/classof-raw":114,"../internals/global":147}],134:[function(require,module,exports){ var userAgent = require('../internals/engine-user-agent'); module.exports = /web0s(?!.*chrome)/i.test(userAgent); },{"../internals/engine-user-agent":135}],135:[function(require,module,exports){ var getBuiltIn = require('../internals/get-built-in'); module.exports = getBuiltIn('navigator', 'userAgent') || ''; },{"../internals/get-built-in":143}],136:[function(require,module,exports){ var global = require('../internals/global'); var userAgent = require('../internals/engine-user-agent'); var process = global.process; var Deno = global.Deno; var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; if (v8) { match = v8.split('.'); version = match[0] < 4 ? 1 : match[0] + match[1]; } else if (userAgent) { match = userAgent.match(/Edge\/(\d+)/); if (!match || match[1] >= 74) { match = userAgent.match(/Chrome\/(\d+)/); if (match) version = match[1]; } } module.exports = version && +version; },{"../internals/engine-user-agent":135,"../internals/global":147}],137:[function(require,module,exports){ var userAgent = require('../internals/engine-user-agent'); var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); module.exports = !!webkit && +webkit[1]; },{"../internals/engine-user-agent":135}],138:[function(require,module,exports){ // IE8- don't enum bug keys module.exports = [ 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf' ]; },{}],139:[function(require,module,exports){ var global = require('../internals/global'); var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var redefine = require('../internals/redefine'); var setGlobal = require('../internals/set-global'); var copyConstructorProperties = require('../internals/copy-constructor-properties'); var isForced = require('../internals/is-forced'); /* options.target - name of the target object options.global - target is the global object options.stat - export as static methods of target options.proto - export as prototype methods of target options.real - real prototype method for the `pure` version options.forced - export even if the native feature is available options.bind - bind methods to the target, required for the `pure` version options.wrap - wrap constructors to preventing global pollution, required for the `pure` version options.unsafe - use the simple assignment of property instead of delete + defineProperty options.sham - add a flag to not completely full polyfills options.enumerable - export as enumerable property options.noTargetGet - prevent calling a getter on target */ module.exports = function (options, source) { var TARGET = options.target; var GLOBAL = options.global; var STATIC = options.stat; var FORCED, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { target = global; } else if (STATIC) { target = global[TARGET] || setGlobal(TARGET, {}); } else { target = (global[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; if (options.noTargetGet) { descriptor = getOwnPropertyDescriptor(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contained in target if (!FORCED && targetProperty !== undefined) { if (typeof sourceProperty === typeof targetProperty) continue; copyConstructorProperties(sourceProperty, targetProperty); } // add a flag to not completely full polyfills if (options.sham || (targetProperty && targetProperty.sham)) { createNonEnumerableProperty(sourceProperty, 'sham', true); } // extend global redefine(target, key, sourceProperty, options); } }; },{"../internals/copy-constructor-properties":116,"../internals/create-non-enumerable-property":120,"../internals/global":147,"../internals/is-forced":160,"../internals/object-get-own-property-descriptor":180,"../internals/redefine":197,"../internals/set-global":206}],140:[function(require,module,exports){ module.exports = function (exec) { try { return !!exec(); } catch (error) { return true; } }; },{}],141:[function(require,module,exports){ 'use strict'; // TODO: Remove from `core-js@4` since it's moved to entry points require('../modules/es.regexp.exec'); var redefine = require('../internals/redefine'); var regexpExec = require('../internals/regexp-exec'); var fails = require('../internals/fails'); var wellKnownSymbol = require('../internals/well-known-symbol'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var SPECIES = wellKnownSymbol('species'); var RegExpPrototype = RegExp.prototype; module.exports = function (KEY, exec, FORCED, SHAM) { var SYMBOL = wellKnownSymbol(KEY); var DELEGATES_TO_SYMBOL = !fails(function () { // String methods call symbol-named RegEp methods var O = {}; O[SYMBOL] = function () { return 7; }; return ''[KEY](O) != 7; }); var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { // Symbol-named RegExp methods call .exec var execCalled = false; var re = /a/; if (KEY === 'split') { // We can't use real regex here since it causes deoptimization // and serious performance degradation in V8 // https://github.com/zloirock/core-js/issues/306 re = {}; // RegExp[@@split] doesn't call the regex's exec method, but first creates // a new one. We need to return the patched regex when creating the new one. re.constructor = {}; re.constructor[SPECIES] = function () { return re; }; re.flags = ''; re[SYMBOL] = /./[SYMBOL]; } re.exec = function () { execCalled = true; return null; }; re[SYMBOL](''); return !execCalled; }); if ( !DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || FORCED ) { var nativeRegExpMethod = /./[SYMBOL]; var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { var $exec = regexp.exec; if ($exec === regexpExec || $exec === RegExpPrototype.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. // We avoid it by directly calling the native @@method method. return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; } return { done: true, value: nativeMethod.call(str, regexp, arg2) }; } return { done: false }; }); redefine(String.prototype, KEY, methods[0]); redefine(RegExpPrototype, SYMBOL, methods[1]); } if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true); }; },{"../internals/create-non-enumerable-property":120,"../internals/fails":140,"../internals/redefine":197,"../internals/regexp-exec":199,"../internals/well-known-symbol":237,"../modules/es.regexp.exec":261}],142:[function(require,module,exports){ var aFunction = require('../internals/a-function'); // optional / simple context binding module.exports = function (fn, that, length) { aFunction(fn); if (that === undefined) return fn; switch (length) { case 0: return function () { return fn.call(that); }; case 1: return function (a) { return fn.call(that, a); }; case 2: return function (a, b) { return fn.call(that, a, b); }; case 3: return function (a, b, c) { return fn.call(that, a, b, c); }; } return function (/* ...args */) { return fn.apply(that, arguments); }; }; },{"../internals/a-function":89}],143:[function(require,module,exports){ var global = require('../internals/global'); var aFunction = function (variable) { return typeof variable == 'function' ? variable : undefined; }; module.exports = function (namespace, method) { return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; }; },{"../internals/global":147}],144:[function(require,module,exports){ var classof = require('../internals/classof'); var Iterators = require('../internals/iterators'); var wellKnownSymbol = require('../internals/well-known-symbol'); var ITERATOR = wellKnownSymbol('iterator'); module.exports = function (it) { if (it != undefined) return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; }; },{"../internals/classof":115,"../internals/iterators":169,"../internals/well-known-symbol":237}],145:[function(require,module,exports){ var anObject = require('../internals/an-object'); var getIteratorMethod = require('../internals/get-iterator-method'); module.exports = function (it, usingIterator) { var iteratorMethod = arguments.length < 2 ? getIteratorMethod(it) : usingIterator; if (typeof iteratorMethod != 'function') { throw TypeError(String(it) + ' is not iterable'); } return anObject(iteratorMethod.call(it)); }; },{"../internals/an-object":94,"../internals/get-iterator-method":144}],146:[function(require,module,exports){ var toObject = require('../internals/to-object'); var floor = Math.floor; var replace = ''.replace; var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; // `GetSubstitution` abstract operation // https://tc39.es/ecma262/#sec-getsubstitution module.exports = function (matched, str, position, captures, namedCaptures, replacement) { var tailPos = position + matched.length; var m = captures.length; var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; if (namedCaptures !== undefined) { namedCaptures = toObject(namedCaptures); symbols = SUBSTITUTION_SYMBOLS; } return replace.call(replacement, symbols, function (match, ch) { var capture; switch (ch.charAt(0)) { case '$': return '$'; case '&': return matched; case '`': return str.slice(0, position); case "'": return str.slice(tailPos); case '<': capture = namedCaptures[ch.slice(1, -1)]; break; default: // \d\d? var n = +ch; if (n === 0) return match; if (n > m) { var f = floor(n / 10); if (f === 0) return match; if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); return match; } capture = captures[n - 1]; } return capture === undefined ? '' : capture; }); }; },{"../internals/to-object":222}],147:[function(require,module,exports){ (function (global){(function (){ var check = function (it) { return it && it.Math == Math && it; }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 module.exports = // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || // eslint-disable-next-line no-restricted-globals -- safe check(typeof self == 'object' && self) || check(typeof global == 'object' && global) || // eslint-disable-next-line no-new-func -- fallback (function () { return this; })() || Function('return this')(); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],148:[function(require,module,exports){ var toObject = require('../internals/to-object'); var hasOwnProperty = {}.hasOwnProperty; module.exports = Object.hasOwn || function hasOwn(it, key) { return hasOwnProperty.call(toObject(it), key); }; },{"../internals/to-object":222}],149:[function(require,module,exports){ module.exports = {}; },{}],150:[function(require,module,exports){ var global = require('../internals/global'); module.exports = function (a, b) { var console = global.console; if (console && console.error) { arguments.length === 1 ? console.error(a) : console.error(a, b); } }; },{"../internals/global":147}],151:[function(require,module,exports){ var getBuiltIn = require('../internals/get-built-in'); module.exports = getBuiltIn('document', 'documentElement'); },{"../internals/get-built-in":143}],152:[function(require,module,exports){ var DESCRIPTORS = require('../internals/descriptors'); var fails = require('../internals/fails'); var createElement = require('../internals/document-create-element'); // Thank's IE8 for his funny defineProperty module.exports = !DESCRIPTORS && !fails(function () { // eslint-disable-next-line es/no-object-defineproperty -- requied for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } }).a != 7; }); },{"../internals/descriptors":125,"../internals/document-create-element":126,"../internals/fails":140}],153:[function(require,module,exports){ // IEEE754 conversions based on https://github.com/feross/ieee754 var abs = Math.abs; var pow = Math.pow; var floor = Math.floor; var log = Math.log; var LN2 = Math.LN2; var pack = function (number, mantissaLength, bytes) { var buffer = new Array(bytes); var exponentLength = bytes * 8 - mantissaLength - 1; var eMax = (1 << exponentLength) - 1; var eBias = eMax >> 1; var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0; var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; var index = 0; var exponent, mantissa, c; number = abs(number); // eslint-disable-next-line no-self-compare -- NaN check if (number != number || number === Infinity) { // eslint-disable-next-line no-self-compare -- NaN check mantissa = number != number ? 1 : 0; exponent = eMax; } else { exponent = floor(log(number) / LN2); if (number * (c = pow(2, -exponent)) < 1) { exponent--; c *= 2; } if (exponent + eBias >= 1) { number += rt / c; } else { number += rt * pow(2, 1 - eBias); } if (number * c >= 2) { exponent++; c /= 2; } if (exponent + eBias >= eMax) { mantissa = 0; exponent = eMax; } else if (exponent + eBias >= 1) { mantissa = (number * c - 1) * pow(2, mantissaLength); exponent = exponent + eBias; } else { mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength); exponent = 0; } } for (; mantissaLength >= 8; buffer[index++] = mantissa & 255, mantissa /= 256, mantissaLength -= 8); exponent = exponent << mantissaLength | mantissa; exponentLength += mantissaLength; for (; exponentLength > 0; buffer[index++] = exponent & 255, exponent /= 256, exponentLength -= 8); buffer[--index] |= sign * 128; return buffer; }; var unpack = function (buffer, mantissaLength) { var bytes = buffer.length; var exponentLength = bytes * 8 - mantissaLength - 1; var eMax = (1 << exponentLength) - 1; var eBias = eMax >> 1; var nBits = exponentLength - 7; var index = bytes - 1; var sign = buffer[index--]; var exponent = sign & 127; var mantissa; sign >>= 7; for (; nBits > 0; exponent = exponent * 256 + buffer[index], index--, nBits -= 8); mantissa = exponent & (1 << -nBits) - 1; exponent >>= -nBits; nBits += mantissaLength; for (; nBits > 0; mantissa = mantissa * 256 + buffer[index], index--, nBits -= 8); if (exponent === 0) { exponent = 1 - eBias; } else if (exponent === eMax) { return mantissa ? NaN : sign ? -Infinity : Infinity; } else { mantissa = mantissa + pow(2, mantissaLength); exponent = exponent - eBias; } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength); }; module.exports = { pack: pack, unpack: unpack }; },{}],154:[function(require,module,exports){ var fails = require('../internals/fails'); var classof = require('../internals/classof-raw'); var split = ''.split; // fallback for non-array-like ES3 and non-enumerable old V8 strings module.exports = fails(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins -- safe return !Object('z').propertyIsEnumerable(0); }) ? function (it) { return classof(it) == 'String' ? split.call(it, '') : Object(it); } : Object; },{"../internals/classof-raw":114,"../internals/fails":140}],155:[function(require,module,exports){ var isObject = require('../internals/is-object'); var setPrototypeOf = require('../internals/object-set-prototype-of'); // makes subclassing work correct for wrapped built-ins module.exports = function ($this, dummy, Wrapper) { var NewTarget, NewTargetPrototype; if ( // it can work only with native `setPrototypeOf` setPrototypeOf && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this typeof (NewTarget = dummy.constructor) == 'function' && NewTarget !== Wrapper && isObject(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype ) setPrototypeOf($this, NewTargetPrototype); return $this; }; },{"../internals/is-object":162,"../internals/object-set-prototype-of":188}],156:[function(require,module,exports){ var store = require('../internals/shared-store'); var functionToString = Function.toString; // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper if (typeof store.inspectSource != 'function') { store.inspectSource = function (it) { return functionToString.call(it); }; } module.exports = store.inspectSource; },{"../internals/shared-store":210}],157:[function(require,module,exports){ var NATIVE_WEAK_MAP = require('../internals/native-weak-map'); var global = require('../internals/global'); var isObject = require('../internals/is-object'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var objectHas = require('../internals/has'); var shared = require('../internals/shared-store'); var sharedKey = require('../internals/shared-key'); var hiddenKeys = require('../internals/hidden-keys'); var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; var WeakMap = global.WeakMap; var set, get, has; var enforce = function (it) { return has(it) ? get(it) : set(it, {}); }; var getterFor = function (TYPE) { return function (it) { var state; if (!isObject(it) || (state = get(it)).type !== TYPE) { throw TypeError('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; if (NATIVE_WEAK_MAP || shared.state) { var store = shared.state || (shared.state = new WeakMap()); var wmget = store.get; var wmhas = store.has; var wmset = store.set; set = function (it, metadata) { if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; wmset.call(store, it, metadata); return metadata; }; get = function (it) { return wmget.call(store, it) || {}; }; has = function (it) { return wmhas.call(store, it); }; } else { var STATE = sharedKey('state'); hiddenKeys[STATE] = true; set = function (it, metadata) { if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty(it, STATE, metadata); return metadata; }; get = function (it) { return objectHas(it, STATE) ? it[STATE] : {}; }; has = function (it) { return objectHas(it, STATE); }; } module.exports = { set: set, get: get, has: has, enforce: enforce, getterFor: getterFor }; },{"../internals/create-non-enumerable-property":120,"../internals/global":147,"../internals/has":148,"../internals/hidden-keys":149,"../internals/is-object":162,"../internals/native-weak-map":173,"../internals/shared-key":209,"../internals/shared-store":210}],158:[function(require,module,exports){ var wellKnownSymbol = require('../internals/well-known-symbol'); var Iterators = require('../internals/iterators'); var ITERATOR = wellKnownSymbol('iterator'); var ArrayPrototype = Array.prototype; // check on default Array iterator module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); }; },{"../internals/iterators":169,"../internals/well-known-symbol":237}],159:[function(require,module,exports){ var classof = require('../internals/classof-raw'); // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray // eslint-disable-next-line es/no-array-isarray -- safe module.exports = Array.isArray || function isArray(arg) { return classof(arg) == 'Array'; }; },{"../internals/classof-raw":114}],160:[function(require,module,exports){ var fails = require('../internals/fails'); var replacement = /#|\.prototype\./; var isForced = function (feature, detection) { var value = data[normalize(feature)]; return value == POLYFILL ? true : value == NATIVE ? false : typeof detection == 'function' ? fails(detection) : !!detection; }; var normalize = isForced.normalize = function (string) { return String(string).replace(replacement, '.').toLowerCase(); }; var data = isForced.data = {}; var NATIVE = isForced.NATIVE = 'N'; var POLYFILL = isForced.POLYFILL = 'P'; module.exports = isForced; },{"../internals/fails":140}],161:[function(require,module,exports){ var isObject = require('../internals/is-object'); var floor = Math.floor; // `Number.isInteger` method implementation // https://tc39.es/ecma262/#sec-number.isinteger module.exports = function isInteger(it) { return !isObject(it) && isFinite(it) && floor(it) === it; }; },{"../internals/is-object":162}],162:[function(require,module,exports){ module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; },{}],163:[function(require,module,exports){ module.exports = false; },{}],164:[function(require,module,exports){ var isObject = require('../internals/is-object'); var classof = require('../internals/classof-raw'); var wellKnownSymbol = require('../internals/well-known-symbol'); var MATCH = wellKnownSymbol('match'); // `IsRegExp` abstract operation // https://tc39.es/ecma262/#sec-isregexp module.exports = function (it) { var isRegExp; return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); }; },{"../internals/classof-raw":114,"../internals/is-object":162,"../internals/well-known-symbol":237}],165:[function(require,module,exports){ var getBuiltIn = require('../internals/get-built-in'); var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid'); module.exports = USE_SYMBOL_AS_UID ? function (it) { return typeof it == 'symbol'; } : function (it) { var $Symbol = getBuiltIn('Symbol'); return typeof $Symbol == 'function' && Object(it) instanceof $Symbol; }; },{"../internals/get-built-in":143,"../internals/use-symbol-as-uid":235}],166:[function(require,module,exports){ var anObject = require('../internals/an-object'); var isArrayIteratorMethod = require('../internals/is-array-iterator-method'); var toLength = require('../internals/to-length'); var bind = require('../internals/function-bind-context'); var getIterator = require('../internals/get-iterator'); var getIteratorMethod = require('../internals/get-iterator-method'); var iteratorClose = require('../internals/iterator-close'); var Result = function (stopped, result) { this.stopped = stopped; this.result = result; }; module.exports = function (iterable, unboundFunction, options) { var that = options && options.that; var AS_ENTRIES = !!(options && options.AS_ENTRIES); var IS_ITERATOR = !!(options && options.IS_ITERATOR); var INTERRUPTED = !!(options && options.INTERRUPTED); var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED); var iterator, iterFn, index, length, result, next, step; var stop = function (condition) { if (iterator) iteratorClose(iterator, 'normal', condition); return new Result(true, condition); }; var callFn = function (value) { if (AS_ENTRIES) { anObject(value); return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); } return INTERRUPTED ? fn(value, stop) : fn(value); }; if (IS_ITERATOR) { iterator = iterable; } else { iterFn = getIteratorMethod(iterable); if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); // optimisation for array iterators if (isArrayIteratorMethod(iterFn)) { for (index = 0, length = toLength(iterable.length); length > index; index++) { result = callFn(iterable[index]); if (result && result instanceof Result) return result; } return new Result(false); } iterator = getIterator(iterable, iterFn); } next = iterator.next; while (!(step = next.call(iterator)).done) { try { result = callFn(step.value); } catch (error) { iteratorClose(iterator, 'throw', error); } if (typeof result == 'object' && result && result instanceof Result) return result; } return new Result(false); }; },{"../internals/an-object":94,"../internals/function-bind-context":142,"../internals/get-iterator":145,"../internals/get-iterator-method":144,"../internals/is-array-iterator-method":158,"../internals/iterator-close":167,"../internals/to-length":221}],167:[function(require,module,exports){ var anObject = require('../internals/an-object'); module.exports = function (iterator, kind, value) { var innerResult, innerError; anObject(iterator); try { innerResult = iterator['return']; if (innerResult === undefined) { if (kind === 'throw') throw value; return value; } innerResult = innerResult.call(iterator); } catch (error) { innerError = true; innerResult = error; } if (kind === 'throw') throw value; if (innerError) throw innerResult; anObject(innerResult); return value; }; },{"../internals/an-object":94}],168:[function(require,module,exports){ 'use strict'; var fails = require('../internals/fails'); var getPrototypeOf = require('../internals/object-get-prototype-of'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var has = require('../internals/has'); var wellKnownSymbol = require('../internals/well-known-symbol'); var IS_PURE = require('../internals/is-pure'); var ITERATOR = wellKnownSymbol('iterator'); var BUGGY_SAFARI_ITERATORS = false; var returnThis = function () { return this; }; // `%IteratorPrototype%` object // https://tc39.es/ecma262/#sec-%iteratorprototype%-object var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; /* eslint-disable es/no-array-prototype-keys -- safe */ if ([].keys) { arrayIterator = [].keys(); // Safari 8 has buggy iterators w/o `next` if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; else { PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; } } var NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () { var test = {}; // FF44- legacy iterators case return IteratorPrototype[ITERATOR].call(test) !== test; }); if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; // `%IteratorPrototype%[@@iterator]()` method // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator if ((!IS_PURE || NEW_ITERATOR_PROTOTYPE) && !has(IteratorPrototype, ITERATOR)) { createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis); } module.exports = { IteratorPrototype: IteratorPrototype, BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS }; },{"../internals/create-non-enumerable-property":120,"../internals/fails":140,"../internals/has":148,"../internals/is-pure":163,"../internals/object-get-prototype-of":184,"../internals/well-known-symbol":237}],169:[function(require,module,exports){ arguments[4][149][0].apply(exports,arguments) },{"dup":149}],170:[function(require,module,exports){ var global = require('../internals/global'); var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; var macrotask = require('../internals/task').set; var IS_IOS = require('../internals/engine-is-ios'); var IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble'); var IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit'); var IS_NODE = require('../internals/engine-is-node'); var MutationObserver = global.MutationObserver || global.WebKitMutationObserver; var document = global.document; var process = global.process; var Promise = global.Promise; // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask` var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask'); var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; var flush, head, last, notify, toggle, node, promise, then; // modern engines have queueMicrotask method if (!queueMicrotask) { flush = function () { var parent, fn; if (IS_NODE && (parent = process.domain)) parent.exit(); while (head) { fn = head.fn; head = head.next; try { fn(); } catch (error) { if (head) notify(); else last = undefined; throw error; } } last = undefined; if (parent) parent.enter(); }; // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) { toggle = true; node = document.createTextNode(''); new MutationObserver(flush).observe(node, { characterData: true }); notify = function () { node.data = toggle = !toggle; }; // environments with maybe non-completely correct, but existent Promise } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) { // Promise.resolve without an argument throws an error in LG WebOS 2 promise = Promise.resolve(undefined); // workaround of WebKit ~ iOS Safari 10.1 bug promise.constructor = Promise; then = promise.then; notify = function () { then.call(promise, flush); }; // Node.js without promises } else if (IS_NODE) { notify = function () { process.nextTick(flush); }; // for other environments - macrotask based on: // - setImmediate // - MessageChannel // - window.postMessag // - onreadystatechange // - setTimeout } else { notify = function () { // strange IE + webpack dev server bug - use .call(global) macrotask.call(global, flush); }; } } module.exports = queueMicrotask || function (fn) { var task = { fn: fn, next: undefined }; if (last) last.next = task; if (!head) { head = task; notify(); } last = task; }; },{"../internals/engine-is-ios":132,"../internals/engine-is-ios-pebble":131,"../internals/engine-is-node":133,"../internals/engine-is-webos-webkit":134,"../internals/global":147,"../internals/object-get-own-property-descriptor":180,"../internals/task":216}],171:[function(require,module,exports){ var global = require('../internals/global'); module.exports = global.Promise; },{"../internals/global":147}],172:[function(require,module,exports){ /* eslint-disable es/no-symbol -- required for testing */ var V8_VERSION = require('../internals/engine-v8-version'); var fails = require('../internals/fails'); // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing module.exports = !!Object.getOwnPropertySymbols && !fails(function () { var symbol = Symbol(); // Chrome 38 Symbol has incorrect toString conversion // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances return !String(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances !Symbol.sham && V8_VERSION && V8_VERSION < 41; }); },{"../internals/engine-v8-version":136,"../internals/fails":140}],173:[function(require,module,exports){ var global = require('../internals/global'); var inspectSource = require('../internals/inspect-source'); var WeakMap = global.WeakMap; module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap)); },{"../internals/global":147,"../internals/inspect-source":156}],174:[function(require,module,exports){ 'use strict'; var aFunction = require('../internals/a-function'); var PromiseCapability = function (C) { var resolve, reject; this.promise = new C(function ($$resolve, $$reject) { if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); resolve = $$resolve; reject = $$reject; }); this.resolve = aFunction(resolve); this.reject = aFunction(reject); }; // `NewPromiseCapability` abstract operation // https://tc39.es/ecma262/#sec-newpromisecapability module.exports.f = function (C) { return new PromiseCapability(C); }; },{"../internals/a-function":89}],175:[function(require,module,exports){ var isRegExp = require('../internals/is-regexp'); module.exports = function (it) { if (isRegExp(it)) { throw TypeError("The method doesn't accept regular expressions"); } return it; }; },{"../internals/is-regexp":164}],176:[function(require,module,exports){ 'use strict'; var DESCRIPTORS = require('../internals/descriptors'); var fails = require('../internals/fails'); var objectKeys = require('../internals/object-keys'); var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols'); var propertyIsEnumerableModule = require('../internals/object-property-is-enumerable'); var toObject = require('../internals/to-object'); var IndexedObject = require('../internals/indexed-object'); // eslint-disable-next-line es/no-object-assign -- safe var $assign = Object.assign; // eslint-disable-next-line es/no-object-defineproperty -- required for testing var defineProperty = Object.defineProperty; // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign module.exports = !$assign || fails(function () { // should have correct order of operations (Edge bug) if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { enumerable: true, get: function () { defineProperty(this, 'b', { value: 3, enumerable: false }); } }), { b: 2 })).b !== 1) return true; // should work with symbols and should have deterministic property order (V8 bug) var A = {}; var B = {}; // eslint-disable-next-line es/no-symbol -- safe var symbol = Symbol(); var alphabet = 'abcdefghijklmnopqrst'; A[symbol] = 7; alphabet.split('').forEach(function (chr) { B[chr] = chr; }); return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet; }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` var T = toObject(target); var argumentsLength = arguments.length; var index = 1; var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; var propertyIsEnumerable = propertyIsEnumerableModule.f; while (argumentsLength > index) { var S = IndexedObject(arguments[index++]); var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S); var length = keys.length; var j = 0; var key; while (length > j) { key = keys[j++]; if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key]; } } return T; } : $assign; },{"../internals/descriptors":125,"../internals/fails":140,"../internals/indexed-object":154,"../internals/object-get-own-property-symbols":183,"../internals/object-keys":186,"../internals/object-property-is-enumerable":187,"../internals/to-object":222}],177:[function(require,module,exports){ /* global ActiveXObject -- old IE, WSH */ var anObject = require('../internals/an-object'); var defineProperties = require('../internals/object-define-properties'); var enumBugKeys = require('../internals/enum-bug-keys'); var hiddenKeys = require('../internals/hidden-keys'); var html = require('../internals/html'); var documentCreateElement = require('../internals/document-create-element'); var sharedKey = require('../internals/shared-key'); var GT = '>'; var LT = '<'; var PROTOTYPE = 'prototype'; var SCRIPT = 'script'; var IE_PROTO = sharedKey('IE_PROTO'); var EmptyConstructor = function () { /* empty */ }; var scriptTag = function (content) { return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; }; // Create object with fake `null` prototype: use ActiveX Object with cleared prototype var NullProtoObjectViaActiveX = function (activeXDocument) { activeXDocument.write(scriptTag('')); activeXDocument.close(); var temp = activeXDocument.parentWindow.Object; activeXDocument = null; // avoid memory leak return temp; }; // Create object with fake `null` prototype: use iframe Object with cleared prototype var NullProtoObjectViaIFrame = function () { // Thrash, waste and sodomy: IE GC bug var iframe = documentCreateElement('iframe'); var JS = 'java' + SCRIPT + ':'; var iframeDocument; iframe.style.display = 'none'; html.appendChild(iframe); // https://github.com/zloirock/core-js/issues/475 iframe.src = String(JS); iframeDocument = iframe.contentWindow.document; iframeDocument.open(); iframeDocument.write(scriptTag('document.F=Object')); iframeDocument.close(); return iframeDocument.F; }; // Check for document.domain and active x support // No need to use active x approach when document.domain is not set // see https://github.com/es-shims/es5-shim/issues/150 // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 // avoid IE GC bug var activeXDocument; var NullProtoObject = function () { try { activeXDocument = new ActiveXObject('htmlfile'); } catch (error) { /* ignore */ } NullProtoObject = typeof document != 'undefined' ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) // old IE : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); // WSH var length = enumBugKeys.length; while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; return NullProtoObject(); }; hiddenKeys[IE_PROTO] = true; // `Object.create` method // https://tc39.es/ecma262/#sec-object.create module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { EmptyConstructor[PROTOTYPE] = anObject(O); result = new EmptyConstructor(); EmptyConstructor[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = NullProtoObject(); return Properties === undefined ? result : defineProperties(result, Properties); }; },{"../internals/an-object":94,"../internals/document-create-element":126,"../internals/enum-bug-keys":138,"../internals/hidden-keys":149,"../internals/html":151,"../internals/object-define-properties":178,"../internals/shared-key":209}],178:[function(require,module,exports){ var DESCRIPTORS = require('../internals/descriptors'); var definePropertyModule = require('../internals/object-define-property'); var anObject = require('../internals/an-object'); var objectKeys = require('../internals/object-keys'); // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties // eslint-disable-next-line es/no-object-defineproperties -- safe module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); var keys = objectKeys(Properties); var length = keys.length; var index = 0; var key; while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]); return O; }; },{"../internals/an-object":94,"../internals/descriptors":125,"../internals/object-define-property":179,"../internals/object-keys":186}],179:[function(require,module,exports){ var DESCRIPTORS = require('../internals/descriptors'); var IE8_DOM_DEFINE = require('../internals/ie8-dom-define'); var anObject = require('../internals/an-object'); var toPropertyKey = require('../internals/to-property-key'); // eslint-disable-next-line es/no-object-defineproperty -- safe var $defineProperty = Object.defineProperty; // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPropertyKey(P); anObject(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; },{"../internals/an-object":94,"../internals/descriptors":125,"../internals/ie8-dom-define":152,"../internals/to-property-key":226}],180:[function(require,module,exports){ var DESCRIPTORS = require('../internals/descriptors'); var propertyIsEnumerableModule = require('../internals/object-property-is-enumerable'); var createPropertyDescriptor = require('../internals/create-property-descriptor'); var toIndexedObject = require('../internals/to-indexed-object'); var toPropertyKey = require('../internals/to-property-key'); var has = require('../internals/has'); var IE8_DOM_DEFINE = require('../internals/ie8-dom-define'); // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject(O); P = toPropertyKey(P); if (IE8_DOM_DEFINE) try { return $getOwnPropertyDescriptor(O, P); } catch (error) { /* empty */ } if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]); }; },{"../internals/create-property-descriptor":121,"../internals/descriptors":125,"../internals/has":148,"../internals/ie8-dom-define":152,"../internals/object-property-is-enumerable":187,"../internals/to-indexed-object":219,"../internals/to-property-key":226}],181:[function(require,module,exports){ /* eslint-disable es/no-object-getownpropertynames -- safe */ var toIndexedObject = require('../internals/to-indexed-object'); var $getOwnPropertyNames = require('../internals/object-get-own-property-names').f; var toString = {}.toString; var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; var getWindowNames = function (it) { try { return $getOwnPropertyNames(it); } catch (error) { return windowNames.slice(); } }; // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window module.exports.f = function getOwnPropertyNames(it) { return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : $getOwnPropertyNames(toIndexedObject(it)); }; },{"../internals/object-get-own-property-names":182,"../internals/to-indexed-object":219}],182:[function(require,module,exports){ var internalObjectKeys = require('../internals/object-keys-internal'); var enumBugKeys = require('../internals/enum-bug-keys'); var hiddenKeys = enumBugKeys.concat('length', 'prototype'); // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames // eslint-disable-next-line es/no-object-getownpropertynames -- safe exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return internalObjectKeys(O, hiddenKeys); }; },{"../internals/enum-bug-keys":138,"../internals/object-keys-internal":185}],183:[function(require,module,exports){ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe exports.f = Object.getOwnPropertySymbols; },{}],184:[function(require,module,exports){ var has = require('../internals/has'); var toObject = require('../internals/to-object'); var sharedKey = require('../internals/shared-key'); var CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter'); var IE_PROTO = sharedKey('IE_PROTO'); var ObjectPrototype = Object.prototype; // `Object.getPrototypeOf` method // https://tc39.es/ecma262/#sec-object.getprototypeof // eslint-disable-next-line es/no-object-getprototypeof -- safe module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { O = toObject(O); if (has(O, IE_PROTO)) return O[IE_PROTO]; if (typeof O.constructor == 'function' && O instanceof O.constructor) { return O.constructor.prototype; } return O instanceof Object ? ObjectPrototype : null; }; },{"../internals/correct-prototype-getter":118,"../internals/has":148,"../internals/shared-key":209,"../internals/to-object":222}],185:[function(require,module,exports){ var has = require('../internals/has'); var toIndexedObject = require('../internals/to-indexed-object'); var indexOf = require('../internals/array-includes').indexOf; var hiddenKeys = require('../internals/hidden-keys'); module.exports = function (object, names) { var O = toIndexedObject(object); var i = 0; var result = []; var key; for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); // Don't enum bug & hidden keys while (names.length > i) if (has(O, key = names[i++])) { ~indexOf(result, key) || result.push(key); } return result; }; },{"../internals/array-includes":103,"../internals/has":148,"../internals/hidden-keys":149,"../internals/to-indexed-object":219}],186:[function(require,module,exports){ var internalObjectKeys = require('../internals/object-keys-internal'); var enumBugKeys = require('../internals/enum-bug-keys'); // `Object.keys` method // https://tc39.es/ecma262/#sec-object.keys // eslint-disable-next-line es/no-object-keys -- safe module.exports = Object.keys || function keys(O) { return internalObjectKeys(O, enumBugKeys); }; },{"../internals/enum-bug-keys":138,"../internals/object-keys-internal":185}],187:[function(require,module,exports){ 'use strict'; var $propertyIsEnumerable = {}.propertyIsEnumerable; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); // `Object.prototype.propertyIsEnumerable` method implementation // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { var descriptor = getOwnPropertyDescriptor(this, V); return !!descriptor && descriptor.enumerable; } : $propertyIsEnumerable; },{}],188:[function(require,module,exports){ /* eslint-disable no-proto -- safe */ var anObject = require('../internals/an-object'); var aPossiblePrototype = require('../internals/a-possible-prototype'); // `Object.setPrototypeOf` method // https://tc39.es/ecma262/#sec-object.setprototypeof // Works with __proto__ only. Old v8 can't work with null proto objects. // eslint-disable-next-line es/no-object-setprototypeof -- safe module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { var CORRECT_SETTER = false; var test = {}; var setter; try { // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; setter.call(test, []); CORRECT_SETTER = test instanceof Array; } catch (error) { /* empty */ } return function setPrototypeOf(O, proto) { anObject(O); aPossiblePrototype(proto); if (CORRECT_SETTER) setter.call(O, proto); else O.__proto__ = proto; return O; }; }() : undefined); },{"../internals/a-possible-prototype":90,"../internals/an-object":94}],189:[function(require,module,exports){ var DESCRIPTORS = require('../internals/descriptors'); var objectKeys = require('../internals/object-keys'); var toIndexedObject = require('../internals/to-indexed-object'); var propertyIsEnumerable = require('../internals/object-property-is-enumerable').f; // `Object.{ entries, values }` methods implementation var createMethod = function (TO_ENTRIES) { return function (it) { var O = toIndexedObject(it); var keys = objectKeys(O); var length = keys.length; var i = 0; var result = []; var key; while (length > i) { key = keys[i++]; if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) { result.push(TO_ENTRIES ? [key, O[key]] : O[key]); } } return result; }; }; module.exports = { // `Object.entries` method // https://tc39.es/ecma262/#sec-object.entries entries: createMethod(true), // `Object.values` method // https://tc39.es/ecma262/#sec-object.values values: createMethod(false) }; },{"../internals/descriptors":125,"../internals/object-keys":186,"../internals/object-property-is-enumerable":187,"../internals/to-indexed-object":219}],190:[function(require,module,exports){ 'use strict'; var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support'); var classof = require('../internals/classof'); // `Object.prototype.toString` method implementation // https://tc39.es/ecma262/#sec-object.prototype.tostring module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { return '[object ' + classof(this) + ']'; }; },{"../internals/classof":115,"../internals/to-string-tag-support":227}],191:[function(require,module,exports){ var isObject = require('../internals/is-object'); // `OrdinaryToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-ordinarytoprimitive module.exports = function (input, pref) { var fn, val; if (pref === 'string' && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val; if (pref !== 'string' && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; throw TypeError("Can't convert object to primitive value"); }; },{"../internals/is-object":162}],192:[function(require,module,exports){ var getBuiltIn = require('../internals/get-built-in'); var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names'); var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols'); var anObject = require('../internals/an-object'); // all object keys, includes non-enumerable and symbols module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { var keys = getOwnPropertyNamesModule.f(anObject(it)); var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; }; },{"../internals/an-object":94,"../internals/get-built-in":143,"../internals/object-get-own-property-names":182,"../internals/object-get-own-property-symbols":183}],193:[function(require,module,exports){ var global = require('../internals/global'); module.exports = global; },{"../internals/global":147}],194:[function(require,module,exports){ module.exports = function (exec) { try { return { error: false, value: exec() }; } catch (error) { return { error: true, value: error }; } }; },{}],195:[function(require,module,exports){ var anObject = require('../internals/an-object'); var isObject = require('../internals/is-object'); var newPromiseCapability = require('../internals/new-promise-capability'); module.exports = function (C, x) { anObject(C); if (isObject(x) && x.constructor === C) return x; var promiseCapability = newPromiseCapability.f(C); var resolve = promiseCapability.resolve; resolve(x); return promiseCapability.promise; }; },{"../internals/an-object":94,"../internals/is-object":162,"../internals/new-promise-capability":174}],196:[function(require,module,exports){ var redefine = require('../internals/redefine'); module.exports = function (target, src, options) { for (var key in src) redefine(target, key, src[key], options); return target; }; },{"../internals/redefine":197}],197:[function(require,module,exports){ var global = require('../internals/global'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var has = require('../internals/has'); var setGlobal = require('../internals/set-global'); var inspectSource = require('../internals/inspect-source'); var InternalStateModule = require('../internals/internal-state'); var getInternalState = InternalStateModule.get; var enforceInternalState = InternalStateModule.enforce; var TEMPLATE = String(String).split('String'); (module.exports = function (O, key, value, options) { var unsafe = options ? !!options.unsafe : false; var simple = options ? !!options.enumerable : false; var noTargetGet = options ? !!options.noTargetGet : false; var state; if (typeof value == 'function') { if (typeof key == 'string' && !has(value, 'name')) { createNonEnumerableProperty(value, 'name', key); } state = enforceInternalState(value); if (!state.source) { state.source = TEMPLATE.join(typeof key == 'string' ? key : ''); } } if (O === global) { if (simple) O[key] = value; else setGlobal(key, value); return; } else if (!unsafe) { delete O[key]; } else if (!noTargetGet && O[key]) { simple = true; } if (simple) O[key] = value; else createNonEnumerableProperty(O, key, value); // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative })(Function.prototype, 'toString', function toString() { return typeof this == 'function' && getInternalState(this).source || inspectSource(this); }); },{"../internals/create-non-enumerable-property":120,"../internals/global":147,"../internals/has":148,"../internals/inspect-source":156,"../internals/internal-state":157,"../internals/set-global":206}],198:[function(require,module,exports){ var classof = require('./classof-raw'); var regexpExec = require('./regexp-exec'); // `RegExpExec` abstract operation // https://tc39.es/ecma262/#sec-regexpexec module.exports = function (R, S) { var exec = R.exec; if (typeof exec === 'function') { var result = exec.call(R, S); if (typeof result !== 'object') { throw TypeError('RegExp exec method returned something other than an Object or null'); } return result; } if (classof(R) !== 'RegExp') { throw TypeError('RegExp#exec called on incompatible receiver'); } return regexpExec.call(R, S); }; },{"./classof-raw":114,"./regexp-exec":199}],199:[function(require,module,exports){ 'use strict'; /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ /* eslint-disable regexp/no-useless-quantifier -- testing */ var toString = require('../internals/to-string'); var regexpFlags = require('../internals/regexp-flags'); var stickyHelpers = require('../internals/regexp-sticky-helpers'); var shared = require('../internals/shared'); var create = require('../internals/object-create'); var getInternalState = require('../internals/internal-state').get; var UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all'); var UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg'); var nativeExec = RegExp.prototype.exec; var nativeReplace = shared('native-string-replace', String.prototype.replace); var patchedExec = nativeExec; var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/; var re2 = /b*/g; nativeExec.call(re1, 'a'); nativeExec.call(re2, 'a'); return re1.lastIndex !== 0 || re2.lastIndex !== 0; })(); var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET; // nonparticipating capturing group, copied from es5-shim's String#split patch. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; if (PATCH) { // eslint-disable-next-line max-statements -- TODO patchedExec = function exec(string) { var re = this; var state = getInternalState(re); var str = toString(string); var raw = state.raw; var result, reCopy, lastIndex, match, i, object, group; if (raw) { raw.lastIndex = re.lastIndex; result = patchedExec.call(raw, str); re.lastIndex = raw.lastIndex; return result; } var groups = state.groups; var sticky = UNSUPPORTED_Y && re.sticky; var flags = regexpFlags.call(re); var source = re.source; var charsAdded = 0; var strCopy = str; if (sticky) { flags = flags.replace('y', ''); if (flags.indexOf('g') === -1) { flags += 'g'; } strCopy = str.slice(re.lastIndex); // Support anchored sticky behavior. if (re.lastIndex > 0 && (!re.multiline || re.multiline && str.charAt(re.lastIndex - 1) !== '\n')) { source = '(?: ' + source + ')'; strCopy = ' ' + strCopy; charsAdded++; } // ^(? + rx + ) is needed, in combination with some str slicing, to // simulate the 'y' flag. reCopy = new RegExp('^(?:' + source + ')', flags); } if (NPCG_INCLUDED) { reCopy = new RegExp('^' + source + '$(?!\\s)', flags); } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; match = nativeExec.call(sticky ? reCopy : re, strCopy); if (sticky) { if (match) { match.input = match.input.slice(charsAdded); match[0] = match[0].slice(charsAdded); match.index = re.lastIndex; re.lastIndex += match[0].length; } else re.lastIndex = 0; } else if (UPDATES_LAST_INDEX_WRONG && match) { re.lastIndex = re.global ? match.index + match[0].length : lastIndex; } if (NPCG_INCLUDED && match && match.length > 1) { // Fix browsers whose `exec` methods don't consistently return `undefined` // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ nativeReplace.call(match[0], reCopy, function () { for (i = 1; i < arguments.length - 2; i++) { if (arguments[i] === undefined) match[i] = undefined; } }); } if (match && groups) { match.groups = object = create(null); for (i = 0; i < groups.length; i++) { group = groups[i]; object[group[0]] = match[group[1]]; } } return match; }; } module.exports = patchedExec; },{"../internals/internal-state":157,"../internals/object-create":177,"../internals/regexp-flags":200,"../internals/regexp-sticky-helpers":201,"../internals/regexp-unsupported-dot-all":202,"../internals/regexp-unsupported-ncg":203,"../internals/shared":211,"../internals/to-string":228}],200:[function(require,module,exports){ 'use strict'; var anObject = require('../internals/an-object'); // `RegExp.prototype.flags` getter implementation // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags module.exports = function () { var that = anObject(this); var result = ''; if (that.global) result += 'g'; if (that.ignoreCase) result += 'i'; if (that.multiline) result += 'm'; if (that.dotAll) result += 's'; if (that.unicode) result += 'u'; if (that.sticky) result += 'y'; return result; }; },{"../internals/an-object":94}],201:[function(require,module,exports){ var fails = require('../internals/fails'); var global = require('../internals/global'); // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError var $RegExp = global.RegExp; exports.UNSUPPORTED_Y = fails(function () { var re = $RegExp('a', 'y'); re.lastIndex = 2; return re.exec('abcd') != null; }); exports.BROKEN_CARET = fails(function () { // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 var re = $RegExp('^r', 'gy'); re.lastIndex = 2; return re.exec('str') != null; }); },{"../internals/fails":140,"../internals/global":147}],202:[function(require,module,exports){ var fails = require('./fails'); var global = require('../internals/global'); // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError var $RegExp = global.RegExp; module.exports = fails(function () { var re = $RegExp('.', 's'); return !(re.dotAll && re.exec('\n') && re.flags === 's'); }); },{"../internals/global":147,"./fails":140}],203:[function(require,module,exports){ var fails = require('./fails'); var global = require('../internals/global'); // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError var $RegExp = global.RegExp; module.exports = fails(function () { var re = $RegExp('(?<a>b)', 'g'); return re.exec('b').groups.a !== 'b' || 'b'.replace(re, '$<a>c') !== 'bc'; }); },{"../internals/global":147,"./fails":140}],204:[function(require,module,exports){ // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; },{}],205:[function(require,module,exports){ // `SameValue` abstract operation // https://tc39.es/ecma262/#sec-samevalue // eslint-disable-next-line es/no-object-is -- safe module.exports = Object.is || function is(x, y) { // eslint-disable-next-line no-self-compare -- NaN check return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; }; },{}],206:[function(require,module,exports){ var global = require('../internals/global'); module.exports = function (key, value) { try { // eslint-disable-next-line es/no-object-defineproperty -- safe Object.defineProperty(global, key, { value: value, configurable: true, writable: true }); } catch (error) { global[key] = value; } return value; }; },{"../internals/global":147}],207:[function(require,module,exports){ 'use strict'; var getBuiltIn = require('../internals/get-built-in'); var definePropertyModule = require('../internals/object-define-property'); var wellKnownSymbol = require('../internals/well-known-symbol'); var DESCRIPTORS = require('../internals/descriptors'); var SPECIES = wellKnownSymbol('species'); module.exports = function (CONSTRUCTOR_NAME) { var Constructor = getBuiltIn(CONSTRUCTOR_NAME); var defineProperty = definePropertyModule.f; if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { defineProperty(Constructor, SPECIES, { configurable: true, get: function () { return this; } }); } }; },{"../internals/descriptors":125,"../internals/get-built-in":143,"../internals/object-define-property":179,"../internals/well-known-symbol":237}],208:[function(require,module,exports){ var defineProperty = require('../internals/object-define-property').f; var has = require('../internals/has'); var wellKnownSymbol = require('../internals/well-known-symbol'); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); module.exports = function (it, TAG, STATIC) { if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG }); } }; },{"../internals/has":148,"../internals/object-define-property":179,"../internals/well-known-symbol":237}],209:[function(require,module,exports){ var shared = require('../internals/shared'); var uid = require('../internals/uid'); var keys = shared('keys'); module.exports = function (key) { return keys[key] || (keys[key] = uid(key)); }; },{"../internals/shared":211,"../internals/uid":234}],210:[function(require,module,exports){ var global = require('../internals/global'); var setGlobal = require('../internals/set-global'); var SHARED = '__core-js_shared__'; var store = global[SHARED] || setGlobal(SHARED, {}); module.exports = store; },{"../internals/global":147,"../internals/set-global":206}],211:[function(require,module,exports){ var IS_PURE = require('../internals/is-pure'); var store = require('../internals/shared-store'); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: '3.17.2', mode: IS_PURE ? 'pure' : 'global', copyright: '© 2021 Denis Pushkarev (zloirock.ru)' }); },{"../internals/is-pure":163,"../internals/shared-store":210}],212:[function(require,module,exports){ var anObject = require('../internals/an-object'); var aFunction = require('../internals/a-function'); var wellKnownSymbol = require('../internals/well-known-symbol'); var SPECIES = wellKnownSymbol('species'); // `SpeciesConstructor` abstract operation // https://tc39.es/ecma262/#sec-speciesconstructor module.exports = function (O, defaultConstructor) { var C = anObject(O).constructor; var S; return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S); }; },{"../internals/a-function":89,"../internals/an-object":94,"../internals/well-known-symbol":237}],213:[function(require,module,exports){ var toInteger = require('../internals/to-integer'); var toString = require('../internals/to-string'); var requireObjectCoercible = require('../internals/require-object-coercible'); // `String.prototype.codePointAt` methods implementation var createMethod = function (CONVERT_TO_STRING) { return function ($this, pos) { var S = toString(requireObjectCoercible($this)); var position = toInteger(pos); var size = S.length; var first, second; if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; first = S.charCodeAt(position); return first < 0xD800 || first > 0xDBFF || position + 1 === size || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF ? CONVERT_TO_STRING ? S.charAt(position) : first : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; }; }; module.exports = { // `String.prototype.codePointAt` method // https://tc39.es/ecma262/#sec-string.prototype.codepointat codeAt: createMethod(false), // `String.prototype.at` method // https://github.com/mathiasbynens/String.prototype.at charAt: createMethod(true) }; },{"../internals/require-object-coercible":204,"../internals/to-integer":220,"../internals/to-string":228}],214:[function(require,module,exports){ var fails = require('../internals/fails'); var whitespaces = require('../internals/whitespaces'); var non = '\u200B\u0085\u180E'; // check that a method works with the correct list // of whitespaces and has a correct name module.exports = function (METHOD_NAME) { return fails(function () { return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME; }); }; },{"../internals/fails":140,"../internals/whitespaces":238}],215:[function(require,module,exports){ var requireObjectCoercible = require('../internals/require-object-coercible'); var toString = require('../internals/to-string'); var whitespaces = require('../internals/whitespaces'); var whitespace = '[' + whitespaces + ']'; var ltrim = RegExp('^' + whitespace + whitespace + '*'); var rtrim = RegExp(whitespace + whitespace + '*$'); // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation var createMethod = function (TYPE) { return function ($this) { var string = toString(requireObjectCoercible($this)); if (TYPE & 1) string = string.replace(ltrim, ''); if (TYPE & 2) string = string.replace(rtrim, ''); return string; }; }; module.exports = { // `String.prototype.{ trimLeft, trimStart }` methods // https://tc39.es/ecma262/#sec-string.prototype.trimstart start: createMethod(1), // `String.prototype.{ trimRight, trimEnd }` methods // https://tc39.es/ecma262/#sec-string.prototype.trimend end: createMethod(2), // `String.prototype.trim` method // https://tc39.es/ecma262/#sec-string.prototype.trim trim: createMethod(3) }; },{"../internals/require-object-coercible":204,"../internals/to-string":228,"../internals/whitespaces":238}],216:[function(require,module,exports){ var global = require('../internals/global'); var fails = require('../internals/fails'); var bind = require('../internals/function-bind-context'); var html = require('../internals/html'); var createElement = require('../internals/document-create-element'); var IS_IOS = require('../internals/engine-is-ios'); var IS_NODE = require('../internals/engine-is-node'); var set = global.setImmediate; var clear = global.clearImmediate; var process = global.process; var MessageChannel = global.MessageChannel; var Dispatch = global.Dispatch; var counter = 0; var queue = {}; var ONREADYSTATECHANGE = 'onreadystatechange'; var location, defer, channel, port; try { // Deno throws a ReferenceError on `location` access without `--location` flag location = global.location; } catch (error) { /* empty */ } var run = function (id) { // eslint-disable-next-line no-prototype-builtins -- safe if (queue.hasOwnProperty(id)) { var fn = queue[id]; delete queue[id]; fn(); } }; var runner = function (id) { return function () { run(id); }; }; var listener = function (event) { run(event.data); }; var post = function (id) { // old engines have not location.origin global.postMessage(String(id), location.protocol + '//' + location.host); }; // Node.js 0.9+ & IE10+ has setImmediate, otherwise: if (!set || !clear) { set = function setImmediate(fn) { var args = []; var argumentsLength = arguments.length; var i = 1; while (argumentsLength > i) args.push(arguments[i++]); queue[++counter] = function () { // eslint-disable-next-line no-new-func -- spec requirement (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args); }; defer(counter); return counter; }; clear = function clearImmediate(id) { delete queue[id]; }; // Node.js 0.8- if (IS_NODE) { defer = function (id) { process.nextTick(runner(id)); }; // Sphere (JS game engine) Dispatch API } else if (Dispatch && Dispatch.now) { defer = function (id) { Dispatch.now(runner(id)); }; // Browsers with MessageChannel, includes WebWorkers // except iOS - https://github.com/zloirock/core-js/issues/624 } else if (MessageChannel && !IS_IOS) { channel = new MessageChannel(); port = channel.port2; channel.port1.onmessage = listener; defer = bind(port.postMessage, port, 1); // Browsers with postMessage, skip WebWorkers // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' } else if ( global.addEventListener && typeof postMessage == 'function' && !global.importScripts && location && location.protocol !== 'file:' && !fails(post) ) { defer = post; global.addEventListener('message', listener, false); // IE8- } else if (ONREADYSTATECHANGE in createElement('script')) { defer = function (id) { html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () { html.removeChild(this); run(id); }; }; // Rest old browsers } else { defer = function (id) { setTimeout(runner(id), 0); }; } } module.exports = { set: set, clear: clear }; },{"../internals/document-create-element":126,"../internals/engine-is-ios":132,"../internals/engine-is-node":133,"../internals/fails":140,"../internals/function-bind-context":142,"../internals/global":147,"../internals/html":151}],217:[function(require,module,exports){ var toInteger = require('../internals/to-integer'); var max = Math.max; var min = Math.min; // Helper for a popular repeating case of the spec: // Let integer be ? ToInteger(index). // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). module.exports = function (index, length) { var integer = toInteger(index); return integer < 0 ? max(integer + length, 0) : min(integer, length); }; },{"../internals/to-integer":220}],218:[function(require,module,exports){ var toInteger = require('../internals/to-integer'); var toLength = require('../internals/to-length'); // `ToIndex` abstract operation // https://tc39.es/ecma262/#sec-toindex module.exports = function (it) { if (it === undefined) return 0; var number = toInteger(it); var length = toLength(number); if (number !== length) throw RangeError('Wrong length or index'); return length; }; },{"../internals/to-integer":220,"../internals/to-length":221}],219:[function(require,module,exports){ // toObject with fallback for non-array-like ES3 strings var IndexedObject = require('../internals/indexed-object'); var requireObjectCoercible = require('../internals/require-object-coercible'); module.exports = function (it) { return IndexedObject(requireObjectCoercible(it)); }; },{"../internals/indexed-object":154,"../internals/require-object-coercible":204}],220:[function(require,module,exports){ var ceil = Math.ceil; var floor = Math.floor; // `ToInteger` abstract operation // https://tc39.es/ecma262/#sec-tointeger module.exports = function (argument) { return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument); }; },{}],221:[function(require,module,exports){ var toInteger = require('../internals/to-integer'); var min = Math.min; // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength module.exports = function (argument) { return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; },{"../internals/to-integer":220}],222:[function(require,module,exports){ var requireObjectCoercible = require('../internals/require-object-coercible'); // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject module.exports = function (argument) { return Object(requireObjectCoercible(argument)); }; },{"../internals/require-object-coercible":204}],223:[function(require,module,exports){ var toPositiveInteger = require('../internals/to-positive-integer'); module.exports = function (it, BYTES) { var offset = toPositiveInteger(it); if (offset % BYTES) throw RangeError('Wrong offset'); return offset; }; },{"../internals/to-positive-integer":224}],224:[function(require,module,exports){ var toInteger = require('../internals/to-integer'); module.exports = function (it) { var result = toInteger(it); if (result < 0) throw RangeError("The argument can't be less than 0"); return result; }; },{"../internals/to-integer":220}],225:[function(require,module,exports){ var isObject = require('../internals/is-object'); var isSymbol = require('../internals/is-symbol'); var ordinaryToPrimitive = require('../internals/ordinary-to-primitive'); var wellKnownSymbol = require('../internals/well-known-symbol'); var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); // `ToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-toprimitive module.exports = function (input, pref) { if (!isObject(input) || isSymbol(input)) return input; var exoticToPrim = input[TO_PRIMITIVE]; var result; if (exoticToPrim !== undefined) { if (pref === undefined) pref = 'default'; result = exoticToPrim.call(input, pref); if (!isObject(result) || isSymbol(result)) return result; throw TypeError("Can't convert object to primitive value"); } if (pref === undefined) pref = 'number'; return ordinaryToPrimitive(input, pref); }; },{"../internals/is-object":162,"../internals/is-symbol":165,"../internals/ordinary-to-primitive":191,"../internals/well-known-symbol":237}],226:[function(require,module,exports){ var toPrimitive = require('../internals/to-primitive'); var isSymbol = require('../internals/is-symbol'); // `ToPropertyKey` abstract operation // https://tc39.es/ecma262/#sec-topropertykey module.exports = function (argument) { var key = toPrimitive(argument, 'string'); return isSymbol(key) ? key : String(key); }; },{"../internals/is-symbol":165,"../internals/to-primitive":225}],227:[function(require,module,exports){ var wellKnownSymbol = require('../internals/well-known-symbol'); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); var test = {}; test[TO_STRING_TAG] = 'z'; module.exports = String(test) === '[object z]'; },{"../internals/well-known-symbol":237}],228:[function(require,module,exports){ var isSymbol = require('../internals/is-symbol'); module.exports = function (argument) { if (isSymbol(argument)) throw TypeError('Cannot convert a Symbol value to a string'); return String(argument); }; },{"../internals/is-symbol":165}],229:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var global = require('../internals/global'); var DESCRIPTORS = require('../internals/descriptors'); var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers'); var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var ArrayBufferModule = require('../internals/array-buffer'); var anInstance = require('../internals/an-instance'); var createPropertyDescriptor = require('../internals/create-property-descriptor'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var isInteger = require('../internals/is-integer'); var toLength = require('../internals/to-length'); var toIndex = require('../internals/to-index'); var toOffset = require('../internals/to-offset'); var toPropertyKey = require('../internals/to-property-key'); var has = require('../internals/has'); var classof = require('../internals/classof'); var isObject = require('../internals/is-object'); var isSymbol = require('../internals/is-symbol'); var create = require('../internals/object-create'); var setPrototypeOf = require('../internals/object-set-prototype-of'); var getOwnPropertyNames = require('../internals/object-get-own-property-names').f; var typedArrayFrom = require('../internals/typed-array-from'); var forEach = require('../internals/array-iteration').forEach; var setSpecies = require('../internals/set-species'); var definePropertyModule = require('../internals/object-define-property'); var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor'); var InternalStateModule = require('../internals/internal-state'); var inheritIfRequired = require('../internals/inherit-if-required'); var getInternalState = InternalStateModule.get; var setInternalState = InternalStateModule.set; var nativeDefineProperty = definePropertyModule.f; var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; var round = Math.round; var RangeError = global.RangeError; var ArrayBuffer = ArrayBufferModule.ArrayBuffer; var DataView = ArrayBufferModule.DataView; var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; var TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR; var TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG; var TypedArray = ArrayBufferViewCore.TypedArray; var TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype; var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; var isTypedArray = ArrayBufferViewCore.isTypedArray; var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; var WRONG_LENGTH = 'Wrong length'; var fromList = function (C, list) { var index = 0; var length = list.length; var result = new (aTypedArrayConstructor(C))(length); while (length > index) result[index] = list[index++]; return result; }; var addGetter = function (it, key) { nativeDefineProperty(it, key, { get: function () { return getInternalState(this)[key]; } }); }; var isArrayBuffer = function (it) { var klass; return it instanceof ArrayBuffer || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; }; var isTypedArrayIndex = function (target, key) { return isTypedArray(target) && !isSymbol(key) && key in target && isInteger(+key) && key >= 0; }; var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) { key = toPropertyKey(key); return isTypedArrayIndex(target, key) ? createPropertyDescriptor(2, target[key]) : nativeGetOwnPropertyDescriptor(target, key); }; var wrappedDefineProperty = function defineProperty(target, key, descriptor) { key = toPropertyKey(key); if (isTypedArrayIndex(target, key) && isObject(descriptor) && has(descriptor, 'value') && !has(descriptor, 'get') && !has(descriptor, 'set') // TODO: add validation descriptor w/o calling accessors && !descriptor.configurable && (!has(descriptor, 'writable') || descriptor.writable) && (!has(descriptor, 'enumerable') || descriptor.enumerable) ) { target[key] = descriptor.value; return target; } return nativeDefineProperty(target, key, descriptor); }; if (DESCRIPTORS) { if (!NATIVE_ARRAY_BUFFER_VIEWS) { getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor; definePropertyModule.f = wrappedDefineProperty; addGetter(TypedArrayPrototype, 'buffer'); addGetter(TypedArrayPrototype, 'byteOffset'); addGetter(TypedArrayPrototype, 'byteLength'); addGetter(TypedArrayPrototype, 'length'); } $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor, defineProperty: wrappedDefineProperty }); module.exports = function (TYPE, wrapper, CLAMPED) { var BYTES = TYPE.match(/\d+$/)[0] / 8; var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array'; var GETTER = 'get' + TYPE; var SETTER = 'set' + TYPE; var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME]; var TypedArrayConstructor = NativeTypedArrayConstructor; var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; var exported = {}; var getter = function (that, index) { var data = getInternalState(that); return data.view[GETTER](index * BYTES + data.byteOffset, true); }; var setter = function (that, index, value) { var data = getInternalState(that); if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF; data.view[SETTER](index * BYTES + data.byteOffset, value, true); }; var addElement = function (that, index) { nativeDefineProperty(that, index, { get: function () { return getter(this, index); }, set: function (value) { return setter(this, index, value); }, enumerable: true }); }; if (!NATIVE_ARRAY_BUFFER_VIEWS) { TypedArrayConstructor = wrapper(function (that, data, offset, $length) { anInstance(that, TypedArrayConstructor, CONSTRUCTOR_NAME); var index = 0; var byteOffset = 0; var buffer, byteLength, length; if (!isObject(data)) { length = toIndex(data); byteLength = length * BYTES; buffer = new ArrayBuffer(byteLength); } else if (isArrayBuffer(data)) { buffer = data; byteOffset = toOffset(offset, BYTES); var $len = data.byteLength; if ($length === undefined) { if ($len % BYTES) throw RangeError(WRONG_LENGTH); byteLength = $len - byteOffset; if (byteLength < 0) throw RangeError(WRONG_LENGTH); } else { byteLength = toLength($length) * BYTES; if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH); } length = byteLength / BYTES; } else if (isTypedArray(data)) { return fromList(TypedArrayConstructor, data); } else { return typedArrayFrom.call(TypedArrayConstructor, data); } setInternalState(that, { buffer: buffer, byteOffset: byteOffset, byteLength: byteLength, length: length, view: new DataView(buffer) }); while (index < length) addElement(that, index++); }); if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype); } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) { TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) { anInstance(dummy, TypedArrayConstructor, CONSTRUCTOR_NAME); return inheritIfRequired(function () { if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data)); if (isArrayBuffer(data)) return $length !== undefined ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) : typedArrayOffset !== undefined ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) : new NativeTypedArrayConstructor(data); if (isTypedArray(data)) return fromList(TypedArrayConstructor, data); return typedArrayFrom.call(TypedArrayConstructor, data); }(), dummy, TypedArrayConstructor); }); if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) { if (!(key in TypedArrayConstructor)) { createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]); } }); TypedArrayConstructor.prototype = TypedArrayConstructorPrototype; } if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) { createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor); } createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_CONSTRUCTOR, TypedArrayConstructor); if (TYPED_ARRAY_TAG) { createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); } exported[CONSTRUCTOR_NAME] = TypedArrayConstructor; $({ global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported); if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) { createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES); } if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) { createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES); } setSpecies(CONSTRUCTOR_NAME); }; } else module.exports = function () { /* empty */ }; },{"../internals/an-instance":93,"../internals/array-buffer":97,"../internals/array-buffer-view-core":96,"../internals/array-iteration":104,"../internals/classof":115,"../internals/create-non-enumerable-property":120,"../internals/create-property-descriptor":121,"../internals/descriptors":125,"../internals/export":139,"../internals/global":147,"../internals/has":148,"../internals/inherit-if-required":155,"../internals/internal-state":157,"../internals/is-integer":161,"../internals/is-object":162,"../internals/is-symbol":165,"../internals/object-create":177,"../internals/object-define-property":179,"../internals/object-get-own-property-descriptor":180,"../internals/object-get-own-property-names":182,"../internals/object-set-prototype-of":188,"../internals/set-species":207,"../internals/to-index":218,"../internals/to-length":221,"../internals/to-offset":223,"../internals/to-property-key":226,"../internals/typed-array-constructors-require-wrappers":230,"../internals/typed-array-from":232}],230:[function(require,module,exports){ /* eslint-disable no-new -- required for testing */ var global = require('../internals/global'); var fails = require('../internals/fails'); var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration'); var NATIVE_ARRAY_BUFFER_VIEWS = require('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER_VIEWS; var ArrayBuffer = global.ArrayBuffer; var Int8Array = global.Int8Array; module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () { Int8Array(1); }) || !fails(function () { new Int8Array(-1); }) || !checkCorrectnessOfIteration(function (iterable) { new Int8Array(); new Int8Array(null); new Int8Array(1.5); new Int8Array(iterable); }, true) || fails(function () { // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1; }); },{"../internals/array-buffer-view-core":96,"../internals/check-correctness-of-iteration":113,"../internals/fails":140,"../internals/global":147}],231:[function(require,module,exports){ var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list'); var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor'); module.exports = function (instance, list) { return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list); }; },{"../internals/array-from-constructor-and-list":101,"../internals/typed-array-species-constructor":233}],232:[function(require,module,exports){ var toObject = require('../internals/to-object'); var toLength = require('../internals/to-length'); var getIterator = require('../internals/get-iterator'); var getIteratorMethod = require('../internals/get-iterator-method'); var isArrayIteratorMethod = require('../internals/is-array-iterator-method'); var bind = require('../internals/function-bind-context'); var aTypedArrayConstructor = require('../internals/array-buffer-view-core').aTypedArrayConstructor; module.exports = function from(source /* , mapfn, thisArg */) { var O = toObject(source); var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; var iteratorMethod = getIteratorMethod(O); var i, length, result, step, iterator, next; if (iteratorMethod != undefined && !isArrayIteratorMethod(iteratorMethod)) { iterator = getIterator(O, iteratorMethod); next = iterator.next; O = []; while (!(step = next.call(iterator)).done) { O.push(step.value); } } if (mapping && argumentsLength > 2) { mapfn = bind(mapfn, arguments[2], 2); } length = toLength(O.length); result = new (aTypedArrayConstructor(this))(length); for (i = 0; length > i; i++) { result[i] = mapping ? mapfn(O[i], i) : O[i]; } return result; }; },{"../internals/array-buffer-view-core":96,"../internals/function-bind-context":142,"../internals/get-iterator":145,"../internals/get-iterator-method":144,"../internals/is-array-iterator-method":158,"../internals/to-length":221,"../internals/to-object":222}],233:[function(require,module,exports){ var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var speciesConstructor = require('../internals/species-constructor'); var TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR; var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; // a part of `TypedArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#typedarray-species-create module.exports = function (originalArray) { return aTypedArrayConstructor(speciesConstructor(originalArray, originalArray[TYPED_ARRAY_CONSTRUCTOR])); }; },{"../internals/array-buffer-view-core":96,"../internals/species-constructor":212}],234:[function(require,module,exports){ var id = 0; var postfix = Math.random(); module.exports = function (key) { return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); }; },{}],235:[function(require,module,exports){ /* eslint-disable es/no-symbol -- required for testing */ var NATIVE_SYMBOL = require('../internals/native-symbol'); module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == 'symbol'; },{"../internals/native-symbol":172}],236:[function(require,module,exports){ var wellKnownSymbol = require('../internals/well-known-symbol'); exports.f = wellKnownSymbol; },{"../internals/well-known-symbol":237}],237:[function(require,module,exports){ var global = require('../internals/global'); var shared = require('../internals/shared'); var has = require('../internals/has'); var uid = require('../internals/uid'); var NATIVE_SYMBOL = require('../internals/native-symbol'); var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid'); var WellKnownSymbolsStore = shared('wks'); var Symbol = global.Symbol; var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; module.exports = function (name) { if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) { if (NATIVE_SYMBOL && has(Symbol, name)) { WellKnownSymbolsStore[name] = Symbol[name]; } else { WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name); } } return WellKnownSymbolsStore[name]; }; },{"../internals/global":147,"../internals/has":148,"../internals/native-symbol":172,"../internals/shared":211,"../internals/uid":234,"../internals/use-symbol-as-uid":235}],238:[function(require,module,exports){ // a string of all valid unicode whitespaces module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; },{}],239:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var global = require('../internals/global'); var arrayBufferModule = require('../internals/array-buffer'); var setSpecies = require('../internals/set-species'); var ARRAY_BUFFER = 'ArrayBuffer'; var ArrayBuffer = arrayBufferModule[ARRAY_BUFFER]; var NativeArrayBuffer = global[ARRAY_BUFFER]; // `ArrayBuffer` constructor // https://tc39.es/ecma262/#sec-arraybuffer-constructor $({ global: true, forced: NativeArrayBuffer !== ArrayBuffer }, { ArrayBuffer: ArrayBuffer }); setSpecies(ARRAY_BUFFER); },{"../internals/array-buffer":97,"../internals/export":139,"../internals/global":147,"../internals/set-species":207}],240:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var fails = require('../internals/fails'); var ArrayBufferModule = require('../internals/array-buffer'); var anObject = require('../internals/an-object'); var toAbsoluteIndex = require('../internals/to-absolute-index'); var toLength = require('../internals/to-length'); var speciesConstructor = require('../internals/species-constructor'); var ArrayBuffer = ArrayBufferModule.ArrayBuffer; var DataView = ArrayBufferModule.DataView; var nativeArrayBufferSlice = ArrayBuffer.prototype.slice; var INCORRECT_SLICE = fails(function () { return !new ArrayBuffer(2).slice(1, undefined).byteLength; }); // `ArrayBuffer.prototype.slice` method // https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice $({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, { slice: function slice(start, end) { if (nativeArrayBufferSlice !== undefined && end === undefined) { return nativeArrayBufferSlice.call(anObject(this), start); // FF fix } var length = anObject(this).byteLength; var first = toAbsoluteIndex(start, length); var fin = toAbsoluteIndex(end === undefined ? length : end, length); var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first)); var viewSource = new DataView(this); var viewTarget = new DataView(result); var index = 0; while (first < fin) { viewTarget.setUint8(index++, viewSource.getUint8(first++)); } return result; } }); },{"../internals/an-object":94,"../internals/array-buffer":97,"../internals/export":139,"../internals/fails":140,"../internals/species-constructor":212,"../internals/to-absolute-index":217,"../internals/to-length":221}],241:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var fails = require('../internals/fails'); var isArray = require('../internals/is-array'); var isObject = require('../internals/is-object'); var toObject = require('../internals/to-object'); var toLength = require('../internals/to-length'); var createProperty = require('../internals/create-property'); var arraySpeciesCreate = require('../internals/array-species-create'); var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support'); var wellKnownSymbol = require('../internals/well-known-symbol'); var V8_VERSION = require('../internals/engine-v8-version'); var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/679 var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { var array = []; array[IS_CONCAT_SPREADABLE] = false; return array.concat()[0] !== array; }); var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat'); var isConcatSpreadable = function (O) { if (!isObject(O)) return false; var spreadable = O[IS_CONCAT_SPREADABLE]; return spreadable !== undefined ? !!spreadable : isArray(O); }; var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; // `Array.prototype.concat` method // https://tc39.es/ecma262/#sec-array.prototype.concat // with adding support of @@isConcatSpreadable and @@species $({ target: 'Array', proto: true, forced: FORCED }, { // eslint-disable-next-line no-unused-vars -- required for `.length` concat: function concat(arg) { var O = toObject(this); var A = arraySpeciesCreate(O, 0); var n = 0; var i, k, length, len, E; for (i = -1, length = arguments.length; i < length; i++) { E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { len = toLength(E.length); if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); } else { if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); createProperty(A, n++, E); } } A.length = n; return A; } }); },{"../internals/array-method-has-species-support":106,"../internals/array-species-create":111,"../internals/create-property":122,"../internals/engine-v8-version":136,"../internals/export":139,"../internals/fails":140,"../internals/is-array":159,"../internals/is-object":162,"../internals/to-length":221,"../internals/to-object":222,"../internals/well-known-symbol":237}],242:[function(require,module,exports){ var $ = require('../internals/export'); var fill = require('../internals/array-fill'); var addToUnscopables = require('../internals/add-to-unscopables'); // `Array.prototype.fill` method // https://tc39.es/ecma262/#sec-array.prototype.fill $({ target: 'Array', proto: true }, { fill: fill }); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables('fill'); },{"../internals/add-to-unscopables":91,"../internals/array-fill":99,"../internals/export":139}],243:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var $filter = require('../internals/array-iteration').filter; var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support'); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); // `Array.prototype.filter` method // https://tc39.es/ecma262/#sec-array.prototype.filter // with adding support of @@species $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { filter: function filter(callbackfn /* , thisArg */) { return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); },{"../internals/array-iteration":104,"../internals/array-method-has-species-support":106,"../internals/export":139}],244:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var $find = require('../internals/array-iteration').find; var addToUnscopables = require('../internals/add-to-unscopables'); var FIND = 'find'; var SKIPS_HOLES = true; // Shouldn't skip holes if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); // `Array.prototype.find` method // https://tc39.es/ecma262/#sec-array.prototype.find $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { find: function find(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables(FIND); },{"../internals/add-to-unscopables":91,"../internals/array-iteration":104,"../internals/export":139}],245:[function(require,module,exports){ var $ = require('../internals/export'); var from = require('../internals/array-from'); var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration'); var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) { // eslint-disable-next-line es/no-array-from -- required for testing Array.from(iterable); }); // `Array.from` method // https://tc39.es/ecma262/#sec-array.from $({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { from: from }); },{"../internals/array-from":102,"../internals/check-correctness-of-iteration":113,"../internals/export":139}],246:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var $includes = require('../internals/array-includes').includes; var addToUnscopables = require('../internals/add-to-unscopables'); // `Array.prototype.includes` method // https://tc39.es/ecma262/#sec-array.prototype.includes $({ target: 'Array', proto: true }, { includes: function includes(el /* , fromIndex = 0 */) { return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); } }); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables('includes'); },{"../internals/add-to-unscopables":91,"../internals/array-includes":103,"../internals/export":139}],247:[function(require,module,exports){ 'use strict'; var toIndexedObject = require('../internals/to-indexed-object'); var addToUnscopables = require('../internals/add-to-unscopables'); var Iterators = require('../internals/iterators'); var InternalStateModule = require('../internals/internal-state'); var defineIterator = require('../internals/define-iterator'); var ARRAY_ITERATOR = 'Array Iterator'; var setInternalState = InternalStateModule.set; var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); // `Array.prototype.entries` method // https://tc39.es/ecma262/#sec-array.prototype.entries // `Array.prototype.keys` method // https://tc39.es/ecma262/#sec-array.prototype.keys // `Array.prototype.values` method // https://tc39.es/ecma262/#sec-array.prototype.values // `Array.prototype[@@iterator]` method // https://tc39.es/ecma262/#sec-array.prototype-@@iterator // `CreateArrayIterator` internal method // https://tc39.es/ecma262/#sec-createarrayiterator module.exports = defineIterator(Array, 'Array', function (iterated, kind) { setInternalState(this, { type: ARRAY_ITERATOR, target: toIndexedObject(iterated), // target index: 0, // next index kind: kind // kind }); // `%ArrayIteratorPrototype%.next` method // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next }, function () { var state = getInternalState(this); var target = state.target; var kind = state.kind; var index = state.index++; if (!target || index >= target.length) { state.target = undefined; return { value: undefined, done: true }; } if (kind == 'keys') return { value: index, done: false }; if (kind == 'values') return { value: target[index], done: false }; return { value: [index, target[index]], done: false }; }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values% // https://tc39.es/ecma262/#sec-createunmappedargumentsobject // https://tc39.es/ecma262/#sec-createmappedargumentsobject Iterators.Arguments = Iterators.Array; // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables('keys'); addToUnscopables('values'); addToUnscopables('entries'); },{"../internals/add-to-unscopables":91,"../internals/define-iterator":123,"../internals/internal-state":157,"../internals/iterators":169,"../internals/to-indexed-object":219}],248:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var IndexedObject = require('../internals/indexed-object'); var toIndexedObject = require('../internals/to-indexed-object'); var arrayMethodIsStrict = require('../internals/array-method-is-strict'); var nativeJoin = [].join; var ES3_STRINGS = IndexedObject != Object; var STRICT_METHOD = arrayMethodIsStrict('join', ','); // `Array.prototype.join` method // https://tc39.es/ecma262/#sec-array.prototype.join $({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, { join: function join(separator) { return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator); } }); },{"../internals/array-method-is-strict":107,"../internals/export":139,"../internals/indexed-object":154,"../internals/to-indexed-object":219}],249:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var $map = require('../internals/array-iteration').map; var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support'); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map'); // `Array.prototype.map` method // https://tc39.es/ecma262/#sec-array.prototype.map // with adding support of @@species $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { map: function map(callbackfn /* , thisArg */) { return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); },{"../internals/array-iteration":104,"../internals/array-method-has-species-support":106,"../internals/export":139}],250:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var isObject = require('../internals/is-object'); var isArray = require('../internals/is-array'); var toAbsoluteIndex = require('../internals/to-absolute-index'); var toLength = require('../internals/to-length'); var toIndexedObject = require('../internals/to-indexed-object'); var createProperty = require('../internals/create-property'); var wellKnownSymbol = require('../internals/well-known-symbol'); var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support'); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); var SPECIES = wellKnownSymbol('species'); var nativeSlice = [].slice; var max = Math.max; // `Array.prototype.slice` method // https://tc39.es/ecma262/#sec-array.prototype.slice // fallback for not array-like ES3 strings and DOM objects $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { slice: function slice(start, end) { var O = toIndexedObject(this); var length = toLength(O.length); var k = toAbsoluteIndex(start, length); var fin = toAbsoluteIndex(end === undefined ? length : end, length); // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible var Constructor, result, n; if (isArray(O)) { Constructor = O.constructor; // cross-realm fallback if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) { Constructor = undefined; } else if (isObject(Constructor)) { Constructor = Constructor[SPECIES]; if (Constructor === null) Constructor = undefined; } if (Constructor === Array || Constructor === undefined) { return nativeSlice.call(O, k, fin); } } result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); result.length = n; return result; } }); },{"../internals/array-method-has-species-support":106,"../internals/create-property":122,"../internals/export":139,"../internals/is-array":159,"../internals/is-object":162,"../internals/to-absolute-index":217,"../internals/to-indexed-object":219,"../internals/to-length":221,"../internals/well-known-symbol":237}],251:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var aFunction = require('../internals/a-function'); var toObject = require('../internals/to-object'); var toLength = require('../internals/to-length'); var toString = require('../internals/to-string'); var fails = require('../internals/fails'); var internalSort = require('../internals/array-sort'); var arrayMethodIsStrict = require('../internals/array-method-is-strict'); var FF = require('../internals/engine-ff-version'); var IE_OR_EDGE = require('../internals/engine-is-ie-or-edge'); var V8 = require('../internals/engine-v8-version'); var WEBKIT = require('../internals/engine-webkit-version'); var test = []; var nativeSort = test.sort; // IE8- var FAILS_ON_UNDEFINED = fails(function () { test.sort(undefined); }); // V8 bug var FAILS_ON_NULL = fails(function () { test.sort(null); }); // Old WebKit var STRICT_METHOD = arrayMethodIsStrict('sort'); var STABLE_SORT = !fails(function () { // feature detection can be too slow, so check engines versions if (V8) return V8 < 70; if (FF && FF > 3) return; if (IE_OR_EDGE) return true; if (WEBKIT) return WEBKIT < 603; var result = ''; var code, chr, value, index; // generate an array with more 512 elements (Chakra and old V8 fails only in this case) for (code = 65; code < 76; code++) { chr = String.fromCharCode(code); switch (code) { case 66: case 69: case 70: case 72: value = 3; break; case 68: case 71: value = 4; break; default: value = 2; } for (index = 0; index < 47; index++) { test.push({ k: chr + index, v: value }); } } test.sort(function (a, b) { return b.v - a.v; }); for (index = 0; index < test.length; index++) { chr = test[index].k.charAt(0); if (result.charAt(result.length - 1) !== chr) result += chr; } return result !== 'DGBEFHACIJK'; }); var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT; var getSortCompare = function (comparefn) { return function (x, y) { if (y === undefined) return -1; if (x === undefined) return 1; if (comparefn !== undefined) return +comparefn(x, y) || 0; return toString(x) > toString(y) ? 1 : -1; }; }; // `Array.prototype.sort` method // https://tc39.es/ecma262/#sec-array.prototype.sort $({ target: 'Array', proto: true, forced: FORCED }, { sort: function sort(comparefn) { if (comparefn !== undefined) aFunction(comparefn); var array = toObject(this); if (STABLE_SORT) return comparefn === undefined ? nativeSort.call(array) : nativeSort.call(array, comparefn); var items = []; var arrayLength = toLength(array.length); var itemsLength, index; for (index = 0; index < arrayLength; index++) { if (index in array) items.push(array[index]); } items = internalSort(items, getSortCompare(comparefn)); itemsLength = items.length; index = 0; while (index < itemsLength) array[index] = items[index++]; while (index < arrayLength) delete array[index++]; return array; } }); },{"../internals/a-function":89,"../internals/array-method-is-strict":107,"../internals/array-sort":109,"../internals/engine-ff-version":128,"../internals/engine-is-ie-or-edge":130,"../internals/engine-v8-version":136,"../internals/engine-webkit-version":137,"../internals/export":139,"../internals/fails":140,"../internals/to-length":221,"../internals/to-object":222,"../internals/to-string":228}],252:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var toAbsoluteIndex = require('../internals/to-absolute-index'); var toInteger = require('../internals/to-integer'); var toLength = require('../internals/to-length'); var toObject = require('../internals/to-object'); var arraySpeciesCreate = require('../internals/array-species-create'); var createProperty = require('../internals/create-property'); var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support'); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); var max = Math.max; var min = Math.min; var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; // `Array.prototype.splice` method // https://tc39.es/ecma262/#sec-array.prototype.splice // with adding support of @@species $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { splice: function splice(start, deleteCount /* , ...items */) { var O = toObject(this); var len = toLength(O.length); var actualStart = toAbsoluteIndex(start, len); var argumentsLength = arguments.length; var insertCount, actualDeleteCount, A, k, from, to; if (argumentsLength === 0) { insertCount = actualDeleteCount = 0; } else if (argumentsLength === 1) { insertCount = 0; actualDeleteCount = len - actualStart; } else { insertCount = argumentsLength - 2; actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart); } if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) { throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); } A = arraySpeciesCreate(O, actualDeleteCount); for (k = 0; k < actualDeleteCount; k++) { from = actualStart + k; if (from in O) createProperty(A, k, O[from]); } A.length = actualDeleteCount; if (insertCount < actualDeleteCount) { for (k = actualStart; k < len - actualDeleteCount; k++) { from = k + actualDeleteCount; to = k + insertCount; if (from in O) O[to] = O[from]; else delete O[to]; } for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; } else if (insertCount > actualDeleteCount) { for (k = len - actualDeleteCount; k > actualStart; k--) { from = k + actualDeleteCount - 1; to = k + insertCount - 1; if (from in O) O[to] = O[from]; else delete O[to]; } } for (k = 0; k < insertCount; k++) { O[k + actualStart] = arguments[k + 2]; } O.length = len - actualDeleteCount + insertCount; return A; } }); },{"../internals/array-method-has-species-support":106,"../internals/array-species-create":111,"../internals/create-property":122,"../internals/export":139,"../internals/to-absolute-index":217,"../internals/to-integer":220,"../internals/to-length":221,"../internals/to-object":222}],253:[function(require,module,exports){ var DESCRIPTORS = require('../internals/descriptors'); var defineProperty = require('../internals/object-define-property').f; var FunctionPrototype = Function.prototype; var FunctionPrototypeToString = FunctionPrototype.toString; var nameRE = /^\s*function ([^ (]*)/; var NAME = 'name'; // Function instances `.name` property // https://tc39.es/ecma262/#sec-function-instances-name if (DESCRIPTORS && !(NAME in FunctionPrototype)) { defineProperty(FunctionPrototype, NAME, { configurable: true, get: function () { try { return FunctionPrototypeToString.call(this).match(nameRE)[1]; } catch (error) { return ''; } } }); } },{"../internals/descriptors":125,"../internals/object-define-property":179}],254:[function(require,module,exports){ 'use strict'; var DESCRIPTORS = require('../internals/descriptors'); var global = require('../internals/global'); var isForced = require('../internals/is-forced'); var redefine = require('../internals/redefine'); var has = require('../internals/has'); var classof = require('../internals/classof-raw'); var inheritIfRequired = require('../internals/inherit-if-required'); var isSymbol = require('../internals/is-symbol'); var toPrimitive = require('../internals/to-primitive'); var fails = require('../internals/fails'); var create = require('../internals/object-create'); var getOwnPropertyNames = require('../internals/object-get-own-property-names').f; var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; var defineProperty = require('../internals/object-define-property').f; var trim = require('../internals/string-trim').trim; var NUMBER = 'Number'; var NativeNumber = global[NUMBER]; var NumberPrototype = NativeNumber.prototype; // Opera ~12 has broken Object#toString var BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER; // `ToNumber` abstract operation // https://tc39.es/ecma262/#sec-tonumber var toNumber = function (argument) { if (isSymbol(argument)) throw TypeError('Cannot convert a Symbol value to a number'); var it = toPrimitive(argument, 'number'); var first, third, radix, maxCode, digits, length, index, code; if (typeof it == 'string' && it.length > 2) { it = trim(it); first = it.charCodeAt(0); if (first === 43 || first === 45) { third = it.charCodeAt(2); if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix } else if (first === 48) { switch (it.charCodeAt(1)) { case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i default: return +it; } digits = it.slice(2); length = digits.length; for (index = 0; index < length; index++) { code = digits.charCodeAt(index); // parseInt parses a string to a first unavailable symbol // but ToNumber should return NaN if a string contains unavailable symbols if (code < 48 || code > maxCode) return NaN; } return parseInt(digits, radix); } } return +it; }; // `Number` constructor // https://tc39.es/ecma262/#sec-number-constructor if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) { var NumberWrapper = function Number(value) { var it = arguments.length < 1 ? 0 : value; var dummy = this; return dummy instanceof NumberWrapper // check on 1..constructor(foo) case && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER) ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it); }; for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : ( // ES3: 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + // ES2015 (in case, if modules with ES2015 Number statics required before): 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' + // ESNext 'fromString,range' ).split(','), j = 0, key; keys.length > j; j++) { if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) { defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key)); } } NumberWrapper.prototype = NumberPrototype; NumberPrototype.constructor = NumberWrapper; redefine(global, NUMBER, NumberWrapper); } },{"../internals/classof-raw":114,"../internals/descriptors":125,"../internals/fails":140,"../internals/global":147,"../internals/has":148,"../internals/inherit-if-required":155,"../internals/is-forced":160,"../internals/is-symbol":165,"../internals/object-create":177,"../internals/object-define-property":179,"../internals/object-get-own-property-descriptor":180,"../internals/object-get-own-property-names":182,"../internals/redefine":197,"../internals/string-trim":215,"../internals/to-primitive":225}],255:[function(require,module,exports){ var $ = require('../internals/export'); var assign = require('../internals/object-assign'); // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign // eslint-disable-next-line es/no-object-assign -- required for testing $({ target: 'Object', stat: true, forced: Object.assign !== assign }, { assign: assign }); },{"../internals/export":139,"../internals/object-assign":176}],256:[function(require,module,exports){ var $ = require('../internals/export'); var $entries = require('../internals/object-to-array').entries; // `Object.entries` method // https://tc39.es/ecma262/#sec-object.entries $({ target: 'Object', stat: true }, { entries: function entries(O) { return $entries(O); } }); },{"../internals/export":139,"../internals/object-to-array":189}],257:[function(require,module,exports){ var $ = require('../internals/export'); var toObject = require('../internals/to-object'); var nativeKeys = require('../internals/object-keys'); var fails = require('../internals/fails'); var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); }); // `Object.keys` method // https://tc39.es/ecma262/#sec-object.keys $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { keys: function keys(it) { return nativeKeys(toObject(it)); } }); },{"../internals/export":139,"../internals/fails":140,"../internals/object-keys":186,"../internals/to-object":222}],258:[function(require,module,exports){ var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support'); var redefine = require('../internals/redefine'); var toString = require('../internals/object-to-string'); // `Object.prototype.toString` method // https://tc39.es/ecma262/#sec-object.prototype.tostring if (!TO_STRING_TAG_SUPPORT) { redefine(Object.prototype, 'toString', toString, { unsafe: true }); } },{"../internals/object-to-string":190,"../internals/redefine":197,"../internals/to-string-tag-support":227}],259:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var IS_PURE = require('../internals/is-pure'); var global = require('../internals/global'); var getBuiltIn = require('../internals/get-built-in'); var NativePromise = require('../internals/native-promise-constructor'); var redefine = require('../internals/redefine'); var redefineAll = require('../internals/redefine-all'); var setPrototypeOf = require('../internals/object-set-prototype-of'); var setToStringTag = require('../internals/set-to-string-tag'); var setSpecies = require('../internals/set-species'); var isObject = require('../internals/is-object'); var aFunction = require('../internals/a-function'); var anInstance = require('../internals/an-instance'); var inspectSource = require('../internals/inspect-source'); var iterate = require('../internals/iterate'); var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration'); var speciesConstructor = require('../internals/species-constructor'); var task = require('../internals/task').set; var microtask = require('../internals/microtask'); var promiseResolve = require('../internals/promise-resolve'); var hostReportErrors = require('../internals/host-report-errors'); var newPromiseCapabilityModule = require('../internals/new-promise-capability'); var perform = require('../internals/perform'); var InternalStateModule = require('../internals/internal-state'); var isForced = require('../internals/is-forced'); var wellKnownSymbol = require('../internals/well-known-symbol'); var IS_BROWSER = require('../internals/engine-is-browser'); var IS_NODE = require('../internals/engine-is-node'); var V8_VERSION = require('../internals/engine-v8-version'); var SPECIES = wellKnownSymbol('species'); var PROMISE = 'Promise'; var getInternalState = InternalStateModule.get; var setInternalState = InternalStateModule.set; var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); var NativePromisePrototype = NativePromise && NativePromise.prototype; var PromiseConstructor = NativePromise; var PromiseConstructorPrototype = NativePromisePrototype; var TypeError = global.TypeError; var document = global.document; var process = global.process; var newPromiseCapability = newPromiseCapabilityModule.f; var newGenericPromiseCapability = newPromiseCapability; var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent); var NATIVE_REJECTION_EVENT = typeof PromiseRejectionEvent == 'function'; var UNHANDLED_REJECTION = 'unhandledrejection'; var REJECTION_HANDLED = 'rejectionhandled'; var PENDING = 0; var FULFILLED = 1; var REJECTED = 2; var HANDLED = 1; var UNHANDLED = 2; var SUBCLASSING = false; var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; var FORCED = isForced(PROMISE, function () { var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor); var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor); // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 // We can't detect it synchronously, so just check versions if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true; // We need Promise#finally in the pure version for preventing prototype pollution if (IS_PURE && !PromiseConstructorPrototype['finally']) return true; // We can't use @@species feature detection in V8 since it causes // deoptimization and performance degradation // https://github.com/zloirock/core-js/issues/679 if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false; // Detect correctness of subclassing with @@species support var promise = new PromiseConstructor(function (resolve) { resolve(1); }); var FakePromise = function (exec) { exec(function () { /* empty */ }, function () { /* empty */ }); }; var constructor = promise.constructor = {}; constructor[SPECIES] = FakePromise; SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise; if (!SUBCLASSING) return true; // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT; }); var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) { PromiseConstructor.all(iterable)['catch'](function () { /* empty */ }); }); // helpers var isThenable = function (it) { var then; return isObject(it) && typeof (then = it.then) == 'function' ? then : false; }; var notify = function (state, isReject) { if (state.notified) return; state.notified = true; var chain = state.reactions; microtask(function () { var value = state.value; var ok = state.state == FULFILLED; var index = 0; // variable length - can't use forEach while (chain.length > index) { var reaction = chain[index++]; var handler = ok ? reaction.ok : reaction.fail; var resolve = reaction.resolve; var reject = reaction.reject; var domain = reaction.domain; var result, then, exited; try { if (handler) { if (!ok) { if (state.rejection === UNHANDLED) onHandleUnhandled(state); state.rejection = HANDLED; } if (handler === true) result = value; else { if (domain) domain.enter(); result = handler(value); // can throw if (domain) { domain.exit(); exited = true; } } if (result === reaction.promise) { reject(TypeError('Promise-chain cycle')); } else if (then = isThenable(result)) { then.call(result, resolve, reject); } else resolve(result); } else reject(value); } catch (error) { if (domain && !exited) domain.exit(); reject(error); } } state.reactions = []; state.notified = false; if (isReject && !state.rejection) onUnhandled(state); }); }; var dispatchEvent = function (name, promise, reason) { var event, handler; if (DISPATCH_EVENT) { event = document.createEvent('Event'); event.promise = promise; event.reason = reason; event.initEvent(name, false, true); global.dispatchEvent(event); } else event = { promise: promise, reason: reason }; if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event); else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); }; var onUnhandled = function (state) { task.call(global, function () { var promise = state.facade; var value = state.value; var IS_UNHANDLED = isUnhandled(state); var result; if (IS_UNHANDLED) { result = perform(function () { if (IS_NODE) { process.emit('unhandledRejection', value, promise); } else dispatchEvent(UNHANDLED_REJECTION, promise, value); }); // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED; if (result.error) throw result.value; } }); }; var isUnhandled = function (state) { return state.rejection !== HANDLED && !state.parent; }; var onHandleUnhandled = function (state) { task.call(global, function () { var promise = state.facade; if (IS_NODE) { process.emit('rejectionHandled', promise); } else dispatchEvent(REJECTION_HANDLED, promise, state.value); }); }; var bind = function (fn, state, unwrap) { return function (value) { fn(state, value, unwrap); }; }; var internalReject = function (state, value, unwrap) { if (state.done) return; state.done = true; if (unwrap) state = unwrap; state.value = value; state.state = REJECTED; notify(state, true); }; var internalResolve = function (state, value, unwrap) { if (state.done) return; state.done = true; if (unwrap) state = unwrap; try { if (state.facade === value) throw TypeError("Promise can't be resolved itself"); var then = isThenable(value); if (then) { microtask(function () { var wrapper = { done: false }; try { then.call(value, bind(internalResolve, wrapper, state), bind(internalReject, wrapper, state) ); } catch (error) { internalReject(wrapper, error, state); } }); } else { state.value = value; state.state = FULFILLED; notify(state, false); } } catch (error) { internalReject({ done: false }, error, state); } }; // constructor polyfill if (FORCED) { // 25.4.3.1 Promise(executor) PromiseConstructor = function Promise(executor) { anInstance(this, PromiseConstructor, PROMISE); aFunction(executor); Internal.call(this); var state = getInternalState(this); try { executor(bind(internalResolve, state), bind(internalReject, state)); } catch (error) { internalReject(state, error); } }; PromiseConstructorPrototype = PromiseConstructor.prototype; // eslint-disable-next-line no-unused-vars -- required for `.length` Internal = function Promise(executor) { setInternalState(this, { type: PROMISE, done: false, notified: false, parent: false, reactions: [], rejection: false, state: PENDING, value: undefined }); }; Internal.prototype = redefineAll(PromiseConstructorPrototype, { // `Promise.prototype.then` method // https://tc39.es/ecma262/#sec-promise.prototype.then then: function then(onFulfilled, onRejected) { var state = getInternalPromiseState(this); var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; reaction.fail = typeof onRejected == 'function' && onRejected; reaction.domain = IS_NODE ? process.domain : undefined; state.parent = true; state.reactions.push(reaction); if (state.state != PENDING) notify(state, false); return reaction.promise; }, // `Promise.prototype.catch` method // https://tc39.es/ecma262/#sec-promise.prototype.catch 'catch': function (onRejected) { return this.then(undefined, onRejected); } }); OwnPromiseCapability = function () { var promise = new Internal(); var state = getInternalState(promise); this.promise = promise; this.resolve = bind(internalResolve, state); this.reject = bind(internalReject, state); }; newPromiseCapabilityModule.f = newPromiseCapability = function (C) { return C === PromiseConstructor || C === PromiseWrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C); }; if (!IS_PURE && typeof NativePromise == 'function' && NativePromisePrototype !== Object.prototype) { nativeThen = NativePromisePrototype.then; if (!SUBCLASSING) { // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) { var that = this; return new PromiseConstructor(function (resolve, reject) { nativeThen.call(that, resolve, reject); }).then(onFulfilled, onRejected); // https://github.com/zloirock/core-js/issues/640 }, { unsafe: true }); // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then` redefine(NativePromisePrototype, 'catch', PromiseConstructorPrototype['catch'], { unsafe: true }); } // make `.constructor === Promise` work for native promise-based APIs try { delete NativePromisePrototype.constructor; } catch (error) { /* empty */ } // make `instanceof Promise` work for native promise-based APIs if (setPrototypeOf) { setPrototypeOf(NativePromisePrototype, PromiseConstructorPrototype); } } } $({ global: true, wrap: true, forced: FORCED }, { Promise: PromiseConstructor }); setToStringTag(PromiseConstructor, PROMISE, false, true); setSpecies(PROMISE); PromiseWrapper = getBuiltIn(PROMISE); // statics $({ target: PROMISE, stat: true, forced: FORCED }, { // `Promise.reject` method // https://tc39.es/ecma262/#sec-promise.reject reject: function reject(r) { var capability = newPromiseCapability(this); capability.reject.call(undefined, r); return capability.promise; } }); $({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, { // `Promise.resolve` method // https://tc39.es/ecma262/#sec-promise.resolve resolve: function resolve(x) { return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x); } }); $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, { // `Promise.all` method // https://tc39.es/ecma262/#sec-promise.all all: function all(iterable) { var C = this; var capability = newPromiseCapability(C); var resolve = capability.resolve; var reject = capability.reject; var result = perform(function () { var $promiseResolve = aFunction(C.resolve); var values = []; var counter = 0; var remaining = 1; iterate(iterable, function (promise) { var index = counter++; var alreadyCalled = false; values.push(undefined); remaining++; $promiseResolve.call(C, promise).then(function (value) { if (alreadyCalled) return; alreadyCalled = true; values[index] = value; --remaining || resolve(values); }, reject); }); --remaining || resolve(values); }); if (result.error) reject(result.value); return capability.promise; }, // `Promise.race` method // https://tc39.es/ecma262/#sec-promise.race race: function race(iterable) { var C = this; var capability = newPromiseCapability(C); var reject = capability.reject; var result = perform(function () { var $promiseResolve = aFunction(C.resolve); iterate(iterable, function (promise) { $promiseResolve.call(C, promise).then(capability.resolve, reject); }); }); if (result.error) reject(result.value); return capability.promise; } }); },{"../internals/a-function":89,"../internals/an-instance":93,"../internals/check-correctness-of-iteration":113,"../internals/engine-is-browser":129,"../internals/engine-is-node":133,"../internals/engine-v8-version":136,"../internals/export":139,"../internals/get-built-in":143,"../internals/global":147,"../internals/host-report-errors":150,"../internals/inspect-source":156,"../internals/internal-state":157,"../internals/is-forced":160,"../internals/is-object":162,"../internals/is-pure":163,"../internals/iterate":166,"../internals/microtask":170,"../internals/native-promise-constructor":171,"../internals/new-promise-capability":174,"../internals/object-set-prototype-of":188,"../internals/perform":194,"../internals/promise-resolve":195,"../internals/redefine":197,"../internals/redefine-all":196,"../internals/set-species":207,"../internals/set-to-string-tag":208,"../internals/species-constructor":212,"../internals/task":216,"../internals/well-known-symbol":237}],260:[function(require,module,exports){ var DESCRIPTORS = require('../internals/descriptors'); var global = require('../internals/global'); var isForced = require('../internals/is-forced'); var inheritIfRequired = require('../internals/inherit-if-required'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var defineProperty = require('../internals/object-define-property').f; var getOwnPropertyNames = require('../internals/object-get-own-property-names').f; var isRegExp = require('../internals/is-regexp'); var toString = require('../internals/to-string'); var getFlags = require('../internals/regexp-flags'); var stickyHelpers = require('../internals/regexp-sticky-helpers'); var redefine = require('../internals/redefine'); var fails = require('../internals/fails'); var has = require('../internals/has'); var enforceInternalState = require('../internals/internal-state').enforce; var setSpecies = require('../internals/set-species'); var wellKnownSymbol = require('../internals/well-known-symbol'); var UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all'); var UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg'); var MATCH = wellKnownSymbol('match'); var NativeRegExp = global.RegExp; var RegExpPrototype = NativeRegExp.prototype; // TODO: Use only propper RegExpIdentifierName var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; var re1 = /a/g; var re2 = /a/g; // "new" should create a new object, old webkit bug var CORRECT_NEW = new NativeRegExp(re1) !== re1; var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; var BASE_FORCED = DESCRIPTORS && (!CORRECT_NEW || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () { re2[MATCH] = false; // RegExp constructor can alter flags and IsRegExp works correct with @@match return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; })); var handleDotAll = function (string) { var length = string.length; var index = 0; var result = ''; var brackets = false; var chr; for (; index <= length; index++) { chr = string.charAt(index); if (chr === '\\') { result += chr + string.charAt(++index); continue; } if (!brackets && chr === '.') { result += '[\\s\\S]'; } else { if (chr === '[') { brackets = true; } else if (chr === ']') { brackets = false; } result += chr; } } return result; }; var handleNCG = function (string) { var length = string.length; var index = 0; var result = ''; var named = []; var names = {}; var brackets = false; var ncg = false; var groupid = 0; var groupname = ''; var chr; for (; index <= length; index++) { chr = string.charAt(index); if (chr === '\\') { chr = chr + string.charAt(++index); } else if (chr === ']') { brackets = false; } else if (!brackets) switch (true) { case chr === '[': brackets = true; break; case chr === '(': if (IS_NCG.test(string.slice(index + 1))) { index += 2; ncg = true; } result += chr; groupid++; continue; case chr === '>' && ncg: if (groupname === '' || has(names, groupname)) { throw new SyntaxError('Invalid capture group name'); } names[groupname] = true; named.push([groupname, groupid]); ncg = false; groupname = ''; continue; } if (ncg) groupname += chr; else result += chr; } return [result, named]; }; // `RegExp` constructor // https://tc39.es/ecma262/#sec-regexp-constructor if (isForced('RegExp', BASE_FORCED)) { var RegExpWrapper = function RegExp(pattern, flags) { var thisIsRegExp = this instanceof RegExpWrapper; var patternIsRegExp = isRegExp(pattern); var flagsAreUndefined = flags === undefined; var groups = []; var rawPattern = pattern; var rawFlags, dotAll, sticky, handled, result, state; if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) { return pattern; } if (patternIsRegExp || pattern instanceof RegExpWrapper) { pattern = pattern.source; if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags.call(rawPattern); } pattern = pattern === undefined ? '' : toString(pattern); flags = flags === undefined ? '' : toString(flags); rawPattern = pattern; if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) { dotAll = !!flags && flags.indexOf('s') > -1; if (dotAll) flags = flags.replace(/s/g, ''); } rawFlags = flags; if (UNSUPPORTED_Y && 'sticky' in re1) { sticky = !!flags && flags.indexOf('y') > -1; if (sticky) flags = flags.replace(/y/g, ''); } if (UNSUPPORTED_NCG) { handled = handleNCG(pattern); pattern = handled[0]; groups = handled[1]; } result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper); if (dotAll || sticky || groups.length) { state = enforceInternalState(result); if (dotAll) { state.dotAll = true; state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); } if (sticky) state.sticky = true; if (groups.length) state.groups = groups; } if (pattern !== rawPattern) try { // fails in old engines, but we have no alternatives for unsupported regex syntax createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern); } catch (error) { /* empty */ } return result; }; var proxy = function (key) { key in RegExpWrapper || defineProperty(RegExpWrapper, key, { configurable: true, get: function () { return NativeRegExp[key]; }, set: function (it) { NativeRegExp[key] = it; } }); }; for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) { proxy(keys[index++]); } RegExpPrototype.constructor = RegExpWrapper; RegExpWrapper.prototype = RegExpPrototype; redefine(global, 'RegExp', RegExpWrapper); } // https://tc39.es/ecma262/#sec-get-regexp-@@species setSpecies('RegExp'); },{"../internals/create-non-enumerable-property":120,"../internals/descriptors":125,"../internals/fails":140,"../internals/global":147,"../internals/has":148,"../internals/inherit-if-required":155,"../internals/internal-state":157,"../internals/is-forced":160,"../internals/is-regexp":164,"../internals/object-define-property":179,"../internals/object-get-own-property-names":182,"../internals/redefine":197,"../internals/regexp-flags":200,"../internals/regexp-sticky-helpers":201,"../internals/regexp-unsupported-dot-all":202,"../internals/regexp-unsupported-ncg":203,"../internals/set-species":207,"../internals/to-string":228,"../internals/well-known-symbol":237}],261:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var exec = require('../internals/regexp-exec'); // `RegExp.prototype.exec` method // https://tc39.es/ecma262/#sec-regexp.prototype.exec $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { exec: exec }); },{"../internals/export":139,"../internals/regexp-exec":199}],262:[function(require,module,exports){ 'use strict'; var redefine = require('../internals/redefine'); var anObject = require('../internals/an-object'); var $toString = require('../internals/to-string'); var fails = require('../internals/fails'); var flags = require('../internals/regexp-flags'); var TO_STRING = 'toString'; var RegExpPrototype = RegExp.prototype; var nativeToString = RegExpPrototype[TO_STRING]; var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); // FF44- RegExp#toString has a wrong name var INCORRECT_NAME = nativeToString.name != TO_STRING; // `RegExp.prototype.toString` method // https://tc39.es/ecma262/#sec-regexp.prototype.tostring if (NOT_GENERIC || INCORRECT_NAME) { redefine(RegExp.prototype, TO_STRING, function toString() { var R = anObject(this); var p = $toString(R.source); var rf = R.flags; var f = $toString(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf); return '/' + p + '/' + f; }, { unsafe: true }); } },{"../internals/an-object":94,"../internals/fails":140,"../internals/redefine":197,"../internals/regexp-flags":200,"../internals/to-string":228}],263:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var notARegExp = require('../internals/not-a-regexp'); var requireObjectCoercible = require('../internals/require-object-coercible'); var toString = require('../internals/to-string'); var correctIsRegExpLogic = require('../internals/correct-is-regexp-logic'); // `String.prototype.includes` method // https://tc39.es/ecma262/#sec-string.prototype.includes $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, { includes: function includes(searchString /* , position = 0 */) { return !!~toString(requireObjectCoercible(this)) .indexOf(toString(notARegExp(searchString)), arguments.length > 1 ? arguments[1] : undefined); } }); },{"../internals/correct-is-regexp-logic":117,"../internals/export":139,"../internals/not-a-regexp":175,"../internals/require-object-coercible":204,"../internals/to-string":228}],264:[function(require,module,exports){ 'use strict'; var charAt = require('../internals/string-multibyte').charAt; var toString = require('../internals/to-string'); var InternalStateModule = require('../internals/internal-state'); var defineIterator = require('../internals/define-iterator'); var STRING_ITERATOR = 'String Iterator'; var setInternalState = InternalStateModule.set; var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); // `String.prototype[@@iterator]` method // https://tc39.es/ecma262/#sec-string.prototype-@@iterator defineIterator(String, 'String', function (iterated) { setInternalState(this, { type: STRING_ITERATOR, string: toString(iterated), index: 0 }); // `%StringIteratorPrototype%.next` method // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next }, function next() { var state = getInternalState(this); var string = state.string; var index = state.index; var point; if (index >= string.length) return { value: undefined, done: true }; point = charAt(string, index); state.index += point.length; return { value: point, done: false }; }); },{"../internals/define-iterator":123,"../internals/internal-state":157,"../internals/string-multibyte":213,"../internals/to-string":228}],265:[function(require,module,exports){ 'use strict'; var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); var anObject = require('../internals/an-object'); var toLength = require('../internals/to-length'); var toString = require('../internals/to-string'); var requireObjectCoercible = require('../internals/require-object-coercible'); var advanceStringIndex = require('../internals/advance-string-index'); var regExpExec = require('../internals/regexp-exec-abstract'); // @@match logic fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) { return [ // `String.prototype.match` method // https://tc39.es/ecma262/#sec-string.prototype.match function match(regexp) { var O = requireObjectCoercible(this); var matcher = regexp == undefined ? undefined : regexp[MATCH]; return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](toString(O)); }, // `RegExp.prototype[@@match]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@match function (string) { var rx = anObject(this); var S = toString(string); var res = maybeCallNative(nativeMatch, rx, S); if (res.done) return res.value; if (!rx.global) return regExpExec(rx, S); var fullUnicode = rx.unicode; rx.lastIndex = 0; var A = []; var n = 0; var result; while ((result = regExpExec(rx, S)) !== null) { var matchStr = toString(result[0]); A[n] = matchStr; if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); n++; } return n === 0 ? null : A; } ]; }); },{"../internals/advance-string-index":92,"../internals/an-object":94,"../internals/fix-regexp-well-known-symbol-logic":141,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":204,"../internals/to-length":221,"../internals/to-string":228}],266:[function(require,module,exports){ 'use strict'; var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); var fails = require('../internals/fails'); var anObject = require('../internals/an-object'); var toInteger = require('../internals/to-integer'); var toLength = require('../internals/to-length'); var toString = require('../internals/to-string'); var requireObjectCoercible = require('../internals/require-object-coercible'); var advanceStringIndex = require('../internals/advance-string-index'); var getSubstitution = require('../internals/get-substitution'); var regExpExec = require('../internals/regexp-exec-abstract'); var wellKnownSymbol = require('../internals/well-known-symbol'); var REPLACE = wellKnownSymbol('replace'); var max = Math.max; var min = Math.min; var maybeToString = function (it) { return it === undefined ? it : String(it); }; // IE <= 11 replaces $0 with the whole match, as if it was $& // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 var REPLACE_KEEPS_$0 = (function () { // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing return 'a'.replace(/./, '$0') === '$0'; })(); // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { if (/./[REPLACE]) { return /./[REPLACE]('a', '$0') === ''; } return false; })(); var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { var re = /./; re.exec = function () { var result = []; result.groups = { a: '7' }; return result; }; // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive return ''.replace(re, '$<a>') !== '7'; }); // @@replace logic fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) { var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; return [ // `String.prototype.replace` method // https://tc39.es/ecma262/#sec-string.prototype.replace function replace(searchValue, replaceValue) { var O = requireObjectCoercible(this); var replacer = searchValue == undefined ? undefined : searchValue[REPLACE]; return replacer !== undefined ? replacer.call(searchValue, O, replaceValue) : nativeReplace.call(toString(O), searchValue, replaceValue); }, // `RegExp.prototype[@@replace]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace function (string, replaceValue) { var rx = anObject(this); var S = toString(string); if ( typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1 && replaceValue.indexOf('$<') === -1 ) { var res = maybeCallNative(nativeReplace, rx, S, replaceValue); if (res.done) return res.value; } var functionalReplace = typeof replaceValue === 'function'; if (!functionalReplace) replaceValue = toString(replaceValue); var global = rx.global; if (global) { var fullUnicode = rx.unicode; rx.lastIndex = 0; } var results = []; while (true) { var result = regExpExec(rx, S); if (result === null) break; results.push(result); if (!global) break; var matchStr = toString(result[0]); if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); } var accumulatedResult = ''; var nextSourcePosition = 0; for (var i = 0; i < results.length; i++) { result = results[i]; var matched = toString(result[0]); var position = max(min(toInteger(result.index), S.length), 0); var captures = []; // NOTE: This is equivalent to // captures = result.slice(1).map(maybeToString) // but for some reason `nativeSlice.call(result, 1, result.length)` (called in // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); var namedCaptures = result.groups; if (functionalReplace) { var replacerArgs = [matched].concat(captures, position, S); if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); var replacement = toString(replaceValue.apply(undefined, replacerArgs)); } else { replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); } if (position >= nextSourcePosition) { accumulatedResult += S.slice(nextSourcePosition, position) + replacement; nextSourcePosition = position + matched.length; } } return accumulatedResult + S.slice(nextSourcePosition); } ]; }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); },{"../internals/advance-string-index":92,"../internals/an-object":94,"../internals/fails":140,"../internals/fix-regexp-well-known-symbol-logic":141,"../internals/get-substitution":146,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":204,"../internals/to-integer":220,"../internals/to-length":221,"../internals/to-string":228,"../internals/well-known-symbol":237}],267:[function(require,module,exports){ 'use strict'; var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); var anObject = require('../internals/an-object'); var requireObjectCoercible = require('../internals/require-object-coercible'); var sameValue = require('../internals/same-value'); var toString = require('../internals/to-string'); var regExpExec = require('../internals/regexp-exec-abstract'); // @@search logic fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) { return [ // `String.prototype.search` method // https://tc39.es/ecma262/#sec-string.prototype.search function search(regexp) { var O = requireObjectCoercible(this); var searcher = regexp == undefined ? undefined : regexp[SEARCH]; return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](toString(O)); }, // `RegExp.prototype[@@search]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@search function (string) { var rx = anObject(this); var S = toString(string); var res = maybeCallNative(nativeSearch, rx, S); if (res.done) return res.value; var previousLastIndex = rx.lastIndex; if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; var result = regExpExec(rx, S); if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; return result === null ? -1 : result.index; } ]; }); },{"../internals/an-object":94,"../internals/fix-regexp-well-known-symbol-logic":141,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":204,"../internals/same-value":205,"../internals/to-string":228}],268:[function(require,module,exports){ 'use strict'; var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); var isRegExp = require('../internals/is-regexp'); var anObject = require('../internals/an-object'); var requireObjectCoercible = require('../internals/require-object-coercible'); var speciesConstructor = require('../internals/species-constructor'); var advanceStringIndex = require('../internals/advance-string-index'); var toLength = require('../internals/to-length'); var toString = require('../internals/to-string'); var callRegExpExec = require('../internals/regexp-exec-abstract'); var regexpExec = require('../internals/regexp-exec'); var stickyHelpers = require('../internals/regexp-sticky-helpers'); var fails = require('../internals/fails'); var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; var arrayPush = [].push; var min = Math.min; var MAX_UINT32 = 0xFFFFFFFF; // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec // Weex JS has frozen built-in prototypes, so use try / catch wrapper var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { // eslint-disable-next-line regexp/no-empty-group -- required for testing var re = /(?:)/; var originalExec = re.exec; re.exec = function () { return originalExec.apply(this, arguments); }; var result = 'ab'.split(re); return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; }); // @@split logic fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) { var internalSplit; if ( 'abbc'.split(/(b)*/)[1] == 'c' || // eslint-disable-next-line regexp/no-empty-group -- required for testing 'test'.split(/(?:)/, -1).length != 4 || 'ab'.split(/(?:ab)*/).length != 2 || '.'.split(/(.?)(.?)/).length != 4 || // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing '.'.split(/()()/).length > 1 || ''.split(/.?/).length ) { // based on es5-shim implementation, need to rework it internalSplit = function (separator, limit) { var string = toString(requireObjectCoercible(this)); var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; if (lim === 0) return []; if (separator === undefined) return [string]; // If `separator` is not a regex, use native split if (!isRegExp(separator)) { return nativeSplit.call(string, separator, lim); } var output = []; var flags = (separator.ignoreCase ? 'i' : '') + (separator.multiline ? 'm' : '') + (separator.unicode ? 'u' : '') + (separator.sticky ? 'y' : ''); var lastLastIndex = 0; // Make `global` and avoid `lastIndex` issues by working with a copy var separatorCopy = new RegExp(separator.source, flags + 'g'); var match, lastIndex, lastLength; while (match = regexpExec.call(separatorCopy, string)) { lastIndex = separatorCopy.lastIndex; if (lastIndex > lastLastIndex) { output.push(string.slice(lastLastIndex, match.index)); if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1)); lastLength = match[0].length; lastLastIndex = lastIndex; if (output.length >= lim) break; } if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop } if (lastLastIndex === string.length) { if (lastLength || !separatorCopy.test('')) output.push(''); } else output.push(string.slice(lastLastIndex)); return output.length > lim ? output.slice(0, lim) : output; }; // Chakra, V8 } else if ('0'.split(undefined, 0).length) { internalSplit = function (separator, limit) { return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit); }; } else internalSplit = nativeSplit; return [ // `String.prototype.split` method // https://tc39.es/ecma262/#sec-string.prototype.split function split(separator, limit) { var O = requireObjectCoercible(this); var splitter = separator == undefined ? undefined : separator[SPLIT]; return splitter !== undefined ? splitter.call(separator, O, limit) : internalSplit.call(toString(O), separator, limit); }, // `RegExp.prototype[@@split]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@split // // NOTE: This cannot be properly polyfilled in engines that don't support // the 'y' flag. function (string, limit) { var rx = anObject(this); var S = toString(string); var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit); if (res.done) return res.value; var C = speciesConstructor(rx, RegExp); var unicodeMatching = rx.unicode; var flags = (rx.ignoreCase ? 'i' : '') + (rx.multiline ? 'm' : '') + (rx.unicode ? 'u' : '') + (UNSUPPORTED_Y ? 'g' : 'y'); // ^(? + rx + ) is needed, in combination with some S slicing, to // simulate the 'y' flag. var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags); var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; if (lim === 0) return []; if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; var p = 0; var q = 0; var A = []; while (q < S.length) { splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; var z = callRegExpExec(splitter, UNSUPPORTED_Y ? S.slice(q) : S); var e; if ( z === null || (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p ) { q = advanceStringIndex(S, q, unicodeMatching); } else { A.push(S.slice(p, q)); if (A.length === lim) return A; for (var i = 1; i <= z.length - 1; i++) { A.push(z[i]); if (A.length === lim) return A; } q = p = e; } } A.push(S.slice(p)); return A; } ]; }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); },{"../internals/advance-string-index":92,"../internals/an-object":94,"../internals/fails":140,"../internals/fix-regexp-well-known-symbol-logic":141,"../internals/is-regexp":164,"../internals/regexp-exec":199,"../internals/regexp-exec-abstract":198,"../internals/regexp-sticky-helpers":201,"../internals/require-object-coercible":204,"../internals/species-constructor":212,"../internals/to-length":221,"../internals/to-string":228}],269:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var $trim = require('../internals/string-trim').trim; var forcedStringTrimMethod = require('../internals/string-trim-forced'); // `String.prototype.trim` method // https://tc39.es/ecma262/#sec-string.prototype.trim $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, { trim: function trim() { return $trim(this); } }); },{"../internals/export":139,"../internals/string-trim":215,"../internals/string-trim-forced":214}],270:[function(require,module,exports){ // `Symbol.prototype.description` getter // https://tc39.es/ecma262/#sec-symbol.prototype.description 'use strict'; var $ = require('../internals/export'); var DESCRIPTORS = require('../internals/descriptors'); var global = require('../internals/global'); var has = require('../internals/has'); var isObject = require('../internals/is-object'); var defineProperty = require('../internals/object-define-property').f; var copyConstructorProperties = require('../internals/copy-constructor-properties'); var NativeSymbol = global.Symbol; if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) || // Safari 12 bug NativeSymbol().description !== undefined )) { var EmptyStringDescriptionStore = {}; // wrap Symbol constructor for correct work with undefined description var SymbolWrapper = function Symbol() { var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]); var result = this instanceof SymbolWrapper ? new NativeSymbol(description) // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' : description === undefined ? NativeSymbol() : NativeSymbol(description); if (description === '') EmptyStringDescriptionStore[result] = true; return result; }; copyConstructorProperties(SymbolWrapper, NativeSymbol); var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype; symbolPrototype.constructor = SymbolWrapper; var symbolToString = symbolPrototype.toString; var nativeSymbol = String(NativeSymbol('test')) == 'Symbol(test)'; var regexp = /^Symbol\((.*)\)[^)]+$/; defineProperty(symbolPrototype, 'description', { configurable: true, get: function description() { var symbol = isObject(this) ? this.valueOf() : this; var string = symbolToString.call(symbol); if (has(EmptyStringDescriptionStore, symbol)) return ''; var desc = nativeSymbol ? string.slice(7, -1) : string.replace(regexp, '$1'); return desc === '' ? undefined : desc; } }); $({ global: true, forced: true }, { Symbol: SymbolWrapper }); } },{"../internals/copy-constructor-properties":116,"../internals/descriptors":125,"../internals/export":139,"../internals/global":147,"../internals/has":148,"../internals/is-object":162,"../internals/object-define-property":179}],271:[function(require,module,exports){ 'use strict'; var $ = require('../internals/export'); var global = require('../internals/global'); var getBuiltIn = require('../internals/get-built-in'); var IS_PURE = require('../internals/is-pure'); var DESCRIPTORS = require('../internals/descriptors'); var NATIVE_SYMBOL = require('../internals/native-symbol'); var fails = require('../internals/fails'); var has = require('../internals/has'); var isArray = require('../internals/is-array'); var isObject = require('../internals/is-object'); var isSymbol = require('../internals/is-symbol'); var anObject = require('../internals/an-object'); var toObject = require('../internals/to-object'); var toIndexedObject = require('../internals/to-indexed-object'); var toPropertyKey = require('../internals/to-property-key'); var $toString = require('../internals/to-string'); var createPropertyDescriptor = require('../internals/create-property-descriptor'); var nativeObjectCreate = require('../internals/object-create'); var objectKeys = require('../internals/object-keys'); var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names'); var getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external'); var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols'); var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor'); var definePropertyModule = require('../internals/object-define-property'); var propertyIsEnumerableModule = require('../internals/object-property-is-enumerable'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var redefine = require('../internals/redefine'); var shared = require('../internals/shared'); var sharedKey = require('../internals/shared-key'); var hiddenKeys = require('../internals/hidden-keys'); var uid = require('../internals/uid'); var wellKnownSymbol = require('../internals/well-known-symbol'); var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped'); var defineWellKnownSymbol = require('../internals/define-well-known-symbol'); var setToStringTag = require('../internals/set-to-string-tag'); var InternalStateModule = require('../internals/internal-state'); var $forEach = require('../internals/array-iteration').forEach; var HIDDEN = sharedKey('hidden'); var SYMBOL = 'Symbol'; var PROTOTYPE = 'prototype'; var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); var setInternalState = InternalStateModule.set; var getInternalState = InternalStateModule.getterFor(SYMBOL); var ObjectPrototype = Object[PROTOTYPE]; var $Symbol = global.Symbol; var $stringify = getBuiltIn('JSON', 'stringify'); var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; var nativeDefineProperty = definePropertyModule.f; var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; var AllSymbols = shared('symbols'); var ObjectPrototypeSymbols = shared('op-symbols'); var StringToSymbolRegistry = shared('string-to-symbol-registry'); var SymbolToStringRegistry = shared('symbol-to-string-registry'); var WellKnownSymbolsStore = shared('wks'); var QObject = global.QObject; // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 var setSymbolDescriptor = DESCRIPTORS && fails(function () { return nativeObjectCreate(nativeDefineProperty({}, 'a', { get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } })).a != 7; }) ? function (O, P, Attributes) { var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P); if (ObjectPrototypeDescriptor) delete ObjectPrototype[P]; nativeDefineProperty(O, P, Attributes); if (ObjectPrototypeDescriptor && O !== ObjectPrototype) { nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor); } } : nativeDefineProperty; var wrap = function (tag, description) { var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]); setInternalState(symbol, { type: SYMBOL, tag: tag, description: description }); if (!DESCRIPTORS) symbol.description = description; return symbol; }; var $defineProperty = function defineProperty(O, P, Attributes) { if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes); anObject(O); var key = toPropertyKey(P); anObject(Attributes); if (has(AllSymbols, key)) { if (!Attributes.enumerable) { if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); O[HIDDEN][key] = true; } else { if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); } return setSymbolDescriptor(O, key, Attributes); } return nativeDefineProperty(O, key, Attributes); }; var $defineProperties = function defineProperties(O, Properties) { anObject(O); var properties = toIndexedObject(Properties); var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); $forEach(keys, function (key) { if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]); }); return O; }; var $create = function create(O, Properties) { return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); }; var $propertyIsEnumerable = function propertyIsEnumerable(V) { var P = toPropertyKey(V); var enumerable = nativePropertyIsEnumerable.call(this, P); if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false; return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true; }; var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { var it = toIndexedObject(O); var key = toPropertyKey(P); if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return; var descriptor = nativeGetOwnPropertyDescriptor(it, key); if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) { descriptor.enumerable = true; } return descriptor; }; var $getOwnPropertyNames = function getOwnPropertyNames(O) { var names = nativeGetOwnPropertyNames(toIndexedObject(O)); var result = []; $forEach(names, function (key) { if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key); }); return result; }; var $getOwnPropertySymbols = function getOwnPropertySymbols(O) { var IS_OBJECT_PROTOTYPE = O === ObjectPrototype; var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); var result = []; $forEach(names, function (key) { if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) { result.push(AllSymbols[key]); } }); return result; }; // `Symbol` constructor // https://tc39.es/ecma262/#sec-symbol-constructor if (!NATIVE_SYMBOL) { $Symbol = function Symbol() { if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor'); var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]); var tag = uid(description); var setter = function (value) { if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value); if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); }; if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); return wrap(tag, description); }; redefine($Symbol[PROTOTYPE], 'toString', function toString() { return getInternalState(this).tag; }); redefine($Symbol, 'withoutSetter', function (description) { return wrap(uid(description), description); }); propertyIsEnumerableModule.f = $propertyIsEnumerable; definePropertyModule.f = $defineProperty; getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; getOwnPropertySymbolsModule.f = $getOwnPropertySymbols; wrappedWellKnownSymbolModule.f = function (name) { return wrap(wellKnownSymbol(name), name); }; if (DESCRIPTORS) { // https://github.com/tc39/proposal-Symbol-description nativeDefineProperty($Symbol[PROTOTYPE], 'description', { configurable: true, get: function description() { return getInternalState(this).description; } }); if (!IS_PURE) { redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); } } } $({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { Symbol: $Symbol }); $forEach(objectKeys(WellKnownSymbolsStore), function (name) { defineWellKnownSymbol(name); }); $({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { // `Symbol.for` method // https://tc39.es/ecma262/#sec-symbol.for 'for': function (key) { var string = $toString(key); if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; var symbol = $Symbol(string); StringToSymbolRegistry[string] = symbol; SymbolToStringRegistry[symbol] = string; return symbol; }, // `Symbol.keyFor` method // https://tc39.es/ecma262/#sec-symbol.keyfor keyFor: function keyFor(sym) { if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol'); if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; }, useSetter: function () { USE_SETTER = true; }, useSimple: function () { USE_SETTER = false; } }); $({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { // `Object.create` method // https://tc39.es/ecma262/#sec-object.create create: $create, // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty defineProperty: $defineProperty, // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties defineProperties: $defineProperties, // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors getOwnPropertyDescriptor: $getOwnPropertyDescriptor }); $({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames getOwnPropertyNames: $getOwnPropertyNames, // `Object.getOwnPropertySymbols` method // https://tc39.es/ecma262/#sec-object.getownpropertysymbols getOwnPropertySymbols: $getOwnPropertySymbols }); // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives // https://bugs.chromium.org/p/v8/issues/detail?id=3443 $({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, { getOwnPropertySymbols: function getOwnPropertySymbols(it) { return getOwnPropertySymbolsModule.f(toObject(it)); } }); // `JSON.stringify` method behavior with symbols // https://tc39.es/ecma262/#sec-json.stringify if ($stringify) { var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () { var symbol = $Symbol(); // MS Edge converts symbol values to JSON as {} return $stringify([symbol]) != '[null]' // WebKit converts symbol values to JSON as null || $stringify({ a: symbol }) != '{}' // V8 throws on boxed symbols || $stringify(Object(symbol)) != '{}'; }); $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, { // eslint-disable-next-line no-unused-vars -- required for `.length` stringify: function stringify(it, replacer, space) { var args = [it]; var index = 1; var $replacer; while (arguments.length > index) args.push(arguments[index++]); $replacer = replacer; if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined if (!isArray(replacer)) replacer = function (key, value) { if (typeof $replacer == 'function') value = $replacer.call(this, key, value); if (!isSymbol(value)) return value; }; args[1] = replacer; return $stringify.apply(null, args); } }); } // `Symbol.prototype[@@toPrimitive]` method // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) { createNonEnumerableProperty($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); } // `Symbol.prototype[@@toStringTag]` property // https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag setToStringTag($Symbol, SYMBOL); hiddenKeys[HIDDEN] = true; },{"../internals/an-object":94,"../internals/array-iteration":104,"../internals/create-non-enumerable-property":120,"../internals/create-property-descriptor":121,"../internals/define-well-known-symbol":124,"../internals/descriptors":125,"../internals/export":139,"../internals/fails":140,"../internals/get-built-in":143,"../internals/global":147,"../internals/has":148,"../internals/hidden-keys":149,"../internals/internal-state":157,"../internals/is-array":159,"../internals/is-object":162,"../internals/is-pure":163,"../internals/is-symbol":165,"../internals/native-symbol":172,"../internals/object-create":177,"../internals/object-define-property":179,"../internals/object-get-own-property-descriptor":180,"../internals/object-get-own-property-names":182,"../internals/object-get-own-property-names-external":181,"../internals/object-get-own-property-symbols":183,"../internals/object-keys":186,"../internals/object-property-is-enumerable":187,"../internals/redefine":197,"../internals/set-to-string-tag":208,"../internals/shared":211,"../internals/shared-key":209,"../internals/to-indexed-object":219,"../internals/to-object":222,"../internals/to-property-key":226,"../internals/to-string":228,"../internals/uid":234,"../internals/well-known-symbol":237,"../internals/well-known-symbol-wrapped":236}],272:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $copyWithin = require('../internals/array-copy-within'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.copyWithin` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) { return $copyWithin.call(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined); }); },{"../internals/array-buffer-view-core":96,"../internals/array-copy-within":98}],273:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $every = require('../internals/array-iteration').every; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.every` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.every exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) { return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); },{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104}],274:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $fill = require('../internals/array-fill'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.fill` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill // eslint-disable-next-line no-unused-vars -- required for `.length` exportTypedArrayMethod('fill', function fill(value /* , start, end */) { return $fill.apply(aTypedArray(this), arguments); }); },{"../internals/array-buffer-view-core":96,"../internals/array-fill":99}],275:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $filter = require('../internals/array-iteration').filter; var fromSpeciesAndList = require('../internals/typed-array-from-species-and-list'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.filter` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter exportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) { var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); return fromSpeciesAndList(this, list); }); },{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104,"../internals/typed-array-from-species-and-list":231}],276:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $findIndex = require('../internals/array-iteration').findIndex; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.findIndex` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) { return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); }); },{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104}],277:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $find = require('../internals/array-iteration').find; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.find` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.find exportTypedArrayMethod('find', function find(predicate /* , thisArg */) { return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); }); },{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104}],278:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $forEach = require('../internals/array-iteration').forEach; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.forEach` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) { $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); },{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104}],279:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $includes = require('../internals/array-includes').includes; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.includes` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes exportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) { return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }); },{"../internals/array-buffer-view-core":96,"../internals/array-includes":103}],280:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $indexOf = require('../internals/array-includes').indexOf; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.indexOf` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) { return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }); },{"../internals/array-buffer-view-core":96,"../internals/array-includes":103}],281:[function(require,module,exports){ 'use strict'; var global = require('../internals/global'); var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var ArrayIterators = require('../modules/es.array.iterator'); var wellKnownSymbol = require('../internals/well-known-symbol'); var ITERATOR = wellKnownSymbol('iterator'); var Uint8Array = global.Uint8Array; var arrayValues = ArrayIterators.values; var arrayKeys = ArrayIterators.keys; var arrayEntries = ArrayIterators.entries; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; var nativeTypedArrayIterator = Uint8Array && Uint8Array.prototype[ITERATOR]; var CORRECT_ITER_NAME = !!nativeTypedArrayIterator && (nativeTypedArrayIterator.name == 'values' || nativeTypedArrayIterator.name == undefined); var typedArrayValues = function values() { return arrayValues.call(aTypedArray(this)); }; // `%TypedArray%.prototype.entries` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries exportTypedArrayMethod('entries', function entries() { return arrayEntries.call(aTypedArray(this)); }); // `%TypedArray%.prototype.keys` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys exportTypedArrayMethod('keys', function keys() { return arrayKeys.call(aTypedArray(this)); }); // `%TypedArray%.prototype.values` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.values exportTypedArrayMethod('values', typedArrayValues, !CORRECT_ITER_NAME); // `%TypedArray%.prototype[@@iterator]` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator exportTypedArrayMethod(ITERATOR, typedArrayValues, !CORRECT_ITER_NAME); },{"../internals/array-buffer-view-core":96,"../internals/global":147,"../internals/well-known-symbol":237,"../modules/es.array.iterator":247}],282:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; var $join = [].join; // `%TypedArray%.prototype.join` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.join // eslint-disable-next-line no-unused-vars -- required for `.length` exportTypedArrayMethod('join', function join(separator) { return $join.apply(aTypedArray(this), arguments); }); },{"../internals/array-buffer-view-core":96}],283:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $lastIndexOf = require('../internals/array-last-index-of'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.lastIndexOf` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof // eslint-disable-next-line no-unused-vars -- required for `.length` exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) { return $lastIndexOf.apply(aTypedArray(this), arguments); }); },{"../internals/array-buffer-view-core":96,"../internals/array-last-index-of":105}],284:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $map = require('../internals/array-iteration').map; var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.map` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.map exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) { return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) { return new (typedArraySpeciesConstructor(O))(length); }); }); },{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104,"../internals/typed-array-species-constructor":233}],285:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $reduceRight = require('../internals/array-reduce').right; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.reduceRicht` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) { return $reduceRight(aTypedArray(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); }); },{"../internals/array-buffer-view-core":96,"../internals/array-reduce":108}],286:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $reduce = require('../internals/array-reduce').left; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.reduce` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) { return $reduce(aTypedArray(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); }); },{"../internals/array-buffer-view-core":96,"../internals/array-reduce":108}],287:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; var floor = Math.floor; // `%TypedArray%.prototype.reverse` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse exportTypedArrayMethod('reverse', function reverse() { var that = this; var length = aTypedArray(that).length; var middle = floor(length / 2); var index = 0; var value; while (index < middle) { value = that[index]; that[index++] = that[--length]; that[length] = value; } return that; }); },{"../internals/array-buffer-view-core":96}],288:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var toLength = require('../internals/to-length'); var toOffset = require('../internals/to-offset'); var toObject = require('../internals/to-object'); var fails = require('../internals/fails'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; var FORCED = fails(function () { // eslint-disable-next-line es/no-typed-arrays -- required for testing new Int8Array(1).set({}); }); // `%TypedArray%.prototype.set` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.set exportTypedArrayMethod('set', function set(arrayLike /* , offset */) { aTypedArray(this); var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1); var length = this.length; var src = toObject(arrayLike); var len = toLength(src.length); var index = 0; if (len + offset > length) throw RangeError('Wrong length'); while (index < len) this[offset + index] = src[index++]; }, FORCED); },{"../internals/array-buffer-view-core":96,"../internals/fails":140,"../internals/to-length":221,"../internals/to-object":222,"../internals/to-offset":223}],289:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor'); var fails = require('../internals/fails'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; var $slice = [].slice; var FORCED = fails(function () { // eslint-disable-next-line es/no-typed-arrays -- required for testing new Int8Array(1).slice(); }); // `%TypedArray%.prototype.slice` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice exportTypedArrayMethod('slice', function slice(start, end) { var list = $slice.call(aTypedArray(this), start, end); var C = typedArraySpeciesConstructor(this); var index = 0; var length = list.length; var result = new C(length); while (length > index) result[index] = list[index++]; return result; }, FORCED); },{"../internals/array-buffer-view-core":96,"../internals/fails":140,"../internals/typed-array-species-constructor":233}],290:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var $some = require('../internals/array-iteration').some; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.some` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.some exportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) { return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); },{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104}],291:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var global = require('../internals/global'); var fails = require('../internals/fails'); var aFunction = require('../internals/a-function'); var toLength = require('../internals/to-length'); var internalSort = require('../internals/array-sort'); var FF = require('../internals/engine-ff-version'); var IE_OR_EDGE = require('../internals/engine-is-ie-or-edge'); var V8 = require('../internals/engine-v8-version'); var WEBKIT = require('../internals/engine-webkit-version'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; var Uint16Array = global.Uint16Array; var nativeSort = Uint16Array && Uint16Array.prototype.sort; // WebKit var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !fails(function () { var array = new Uint16Array(2); array.sort(null); array.sort({}); }); var STABLE_SORT = !!nativeSort && !fails(function () { // feature detection can be too slow, so check engines versions if (V8) return V8 < 74; if (FF) return FF < 67; if (IE_OR_EDGE) return true; if (WEBKIT) return WEBKIT < 602; var array = new Uint16Array(516); var expected = Array(516); var index, mod; for (index = 0; index < 516; index++) { mod = index % 4; array[index] = 515 - index; expected[index] = index - 2 * mod + 3; } array.sort(function (a, b) { return (a / 4 | 0) - (b / 4 | 0); }); for (index = 0; index < 516; index++) { if (array[index] !== expected[index]) return true; } }); var getSortCompare = function (comparefn) { return function (x, y) { if (comparefn !== undefined) return +comparefn(x, y) || 0; // eslint-disable-next-line no-self-compare -- NaN check if (y !== y) return -1; // eslint-disable-next-line no-self-compare -- NaN check if (x !== x) return 1; if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1; return x > y; }; }; // `%TypedArray%.prototype.sort` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort exportTypedArrayMethod('sort', function sort(comparefn) { var array = this; if (comparefn !== undefined) aFunction(comparefn); if (STABLE_SORT) return nativeSort.call(array, comparefn); aTypedArray(array); var arrayLength = toLength(array.length); var items = Array(arrayLength); var index; for (index = 0; index < arrayLength; index++) { items[index] = array[index]; } items = internalSort(array, getSortCompare(comparefn)); for (index = 0; index < arrayLength; index++) { array[index] = items[index]; } return array; }, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS); },{"../internals/a-function":89,"../internals/array-buffer-view-core":96,"../internals/array-sort":109,"../internals/engine-ff-version":128,"../internals/engine-is-ie-or-edge":130,"../internals/engine-v8-version":136,"../internals/engine-webkit-version":137,"../internals/fails":140,"../internals/global":147,"../internals/to-length":221}],292:[function(require,module,exports){ 'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var toLength = require('../internals/to-length'); var toAbsoluteIndex = require('../internals/to-absolute-index'); var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; // `%TypedArray%.prototype.subarray` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray exportTypedArrayMethod('subarray', function subarray(begin, end) { var O = aTypedArray(this); var length = O.length; var beginIndex = toAbsoluteIndex(begin, length); var C = typedArraySpeciesConstructor(O); return new C( O.buffer, O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex) ); }); },{"../internals/array-buffer-view-core":96,"../internals/to-absolute-index":217,"../internals/to-length":221,"../internals/typed-array-species-constructor":233}],293:[function(require,module,exports){ 'use strict'; var global = require('../internals/global'); var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var fails = require('../internals/fails'); var Int8Array = global.Int8Array; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; var $toLocaleString = [].toLocaleString; var $slice = [].slice; // iOS Safari 6.x fails here var TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () { $toLocaleString.call(new Int8Array(1)); }); var FORCED = fails(function () { return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString(); }) || !fails(function () { Int8Array.prototype.toLocaleString.call([1, 2]); }); // `%TypedArray%.prototype.toLocaleString` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring exportTypedArrayMethod('toLocaleString', function toLocaleString() { return $toLocaleString.apply(TO_LOCALE_STRING_BUG ? $slice.call(aTypedArray(this)) : aTypedArray(this), arguments); }, FORCED); },{"../internals/array-buffer-view-core":96,"../internals/fails":140,"../internals/global":147}],294:[function(require,module,exports){ 'use strict'; var exportTypedArrayMethod = require('../internals/array-buffer-view-core').exportTypedArrayMethod; var fails = require('../internals/fails'); var global = require('../internals/global'); var Uint8Array = global.Uint8Array; var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {}; var arrayToString = [].toString; var arrayJoin = [].join; if (fails(function () { arrayToString.call({}); })) { arrayToString = function toString() { return arrayJoin.call(this); }; } var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString; // `%TypedArray%.prototype.toString` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD); },{"../internals/array-buffer-view-core":96,"../internals/fails":140,"../internals/global":147}],295:[function(require,module,exports){ var createTypedArrayConstructor = require('../internals/typed-array-constructor'); // `Uint8Array` constructor // https://tc39.es/ecma262/#sec-typedarray-objects createTypedArrayConstructor('Uint8', function (init) { return function Uint8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); },{"../internals/typed-array-constructor":229}],296:[function(require,module,exports){ var global = require('../internals/global'); var DOMIterables = require('../internals/dom-iterables'); var forEach = require('../internals/array-for-each'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); for (var COLLECTION_NAME in DOMIterables) { var Collection = global[COLLECTION_NAME]; var CollectionPrototype = Collection && Collection.prototype; // some Chrome versions have non-configurable methods on DOMTokenList if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach); } catch (error) { CollectionPrototype.forEach = forEach; } } },{"../internals/array-for-each":100,"../internals/create-non-enumerable-property":120,"../internals/dom-iterables":127,"../internals/global":147}],297:[function(require,module,exports){ var global = require('../internals/global'); var DOMIterables = require('../internals/dom-iterables'); var ArrayIteratorMethods = require('../modules/es.array.iterator'); var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var wellKnownSymbol = require('../internals/well-known-symbol'); var ITERATOR = wellKnownSymbol('iterator'); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); var ArrayValues = ArrayIteratorMethods.values; for (var COLLECTION_NAME in DOMIterables) { var Collection = global[COLLECTION_NAME]; var CollectionPrototype = Collection && Collection.prototype; if (CollectionPrototype) { // some Chrome versions have non-configurable methods on DOMTokenList if (CollectionPrototype[ITERATOR] !== ArrayValues) try { createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); } catch (error) { CollectionPrototype[ITERATOR] = ArrayValues; } if (!CollectionPrototype[TO_STRING_TAG]) { createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); } if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { // some Chrome versions have non-configurable methods on DOMTokenList if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); } catch (error) { CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; } } } } },{"../internals/create-non-enumerable-property":120,"../internals/dom-iterables":127,"../internals/global":147,"../internals/well-known-symbol":237,"../modules/es.array.iterator":247}],298:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. // NOTE: These type checking functions intentionally don't use `instanceof` // because it is fragile and can be easily faked with `Object.create()`. function isArray(arg) { if (Array.isArray) { return Array.isArray(arg); } return objectToString(arg) === '[object Array]'; } exports.isArray = isArray; function isBoolean(arg) { return typeof arg === 'boolean'; } exports.isBoolean = isBoolean; function isNull(arg) { return arg === null; } exports.isNull = isNull; function isNullOrUndefined(arg) { return arg == null; } exports.isNullOrUndefined = isNullOrUndefined; function isNumber(arg) { return typeof arg === 'number'; } exports.isNumber = isNumber; function isString(arg) { return typeof arg === 'string'; } exports.isString = isString; function isSymbol(arg) { return typeof arg === 'symbol'; } exports.isSymbol = isSymbol; function isUndefined(arg) { return arg === void 0; } exports.isUndefined = isUndefined; function isRegExp(re) { return objectToString(re) === '[object RegExp]'; } exports.isRegExp = isRegExp; function isObject(arg) { return typeof arg === 'object' && arg !== null; } exports.isObject = isObject; function isDate(d) { return objectToString(d) === '[object Date]'; } exports.isDate = isDate; function isError(e) { return (objectToString(e) === '[object Error]' || e instanceof Error); } exports.isError = isError; function isFunction(arg) { return typeof arg === 'function'; } exports.isFunction = isFunction; function isPrimitive(arg) { return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || typeof arg === 'symbol' || // ES6 symbol typeof arg === 'undefined'; } exports.isPrimitive = isPrimitive; exports.isBuffer = require('buffer').Buffer.isBuffer; function objectToString(o) { return Object.prototype.toString.call(o); } },{"buffer":85}],299:[function(require,module,exports){ /* * Date Format 1.2.3 * (c) 2007-2009 Steven Levithan <stevenlevithan.com> * MIT license * * Includes enhancements by Scott Trenda <scott.trenda.net> * and Kris Kowal <cixar.com/~kris.kowal/> * * Accepts a date, a mask, or a date and a mask. * Returns a formatted version of the given date. * The date defaults to the current date/time. * The mask defaults to dateFormat.masks.default. */ (function(global) { 'use strict'; var dateFormat = (function() { var token = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g; var timezone = /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g; var timezoneClip = /[^-+\dA-Z]/g; // Regexes and supporting functions are cached through closure return function (date, mask, utc, gmt) { // You can't provide utc if you skip other args (use the 'UTC:' mask prefix) if (arguments.length === 1 && kindOf(date) === 'string' && !/\d/.test(date)) { mask = date; date = undefined; } date = date || new Date; if(!(date instanceof Date)) { date = new Date(date); } if (isNaN(date)) { throw TypeError('Invalid date'); } mask = String(dateFormat.masks[mask] || mask || dateFormat.masks['default']); // Allow setting the utc/gmt argument via the mask var maskSlice = mask.slice(0, 4); if (maskSlice === 'UTC:' || maskSlice === 'GMT:') { mask = mask.slice(4); utc = true; if (maskSlice === 'GMT:') { gmt = true; } } var _ = utc ? 'getUTC' : 'get'; var d = date[_ + 'Date'](); var D = date[_ + 'Day'](); var m = date[_ + 'Month'](); var y = date[_ + 'FullYear'](); var H = date[_ + 'Hours'](); var M = date[_ + 'Minutes'](); var s = date[_ + 'Seconds'](); var L = date[_ + 'Milliseconds'](); var o = utc ? 0 : date.getTimezoneOffset(); var W = getWeek(date); var N = getDayOfWeek(date); var flags = { d: d, dd: pad(d), ddd: dateFormat.i18n.dayNames[D], dddd: dateFormat.i18n.dayNames[D + 7], m: m + 1, mm: pad(m + 1), mmm: dateFormat.i18n.monthNames[m], mmmm: dateFormat.i18n.monthNames[m + 12], yy: String(y).slice(2), yyyy: y, h: H % 12 || 12, hh: pad(H % 12 || 12), H: H, HH: pad(H), M: M, MM: pad(M), s: s, ss: pad(s), l: pad(L, 3), L: pad(Math.round(L / 10)), t: H < 12 ? 'a' : 'p', tt: H < 12 ? 'am' : 'pm', T: H < 12 ? 'A' : 'P', TT: H < 12 ? 'AM' : 'PM', Z: gmt ? 'GMT' : utc ? 'UTC' : (String(date).match(timezone) || ['']).pop().replace(timezoneClip, ''), o: (o > 0 ? '-' : '+') + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4), S: ['th', 'st', 'nd', 'rd'][d % 10 > 3 ? 0 : (d % 100 - d % 10 != 10) * d % 10], W: W, N: N }; return mask.replace(token, function (match) { if (match in flags) { return flags[match]; } return match.slice(1, match.length - 1); }); }; })(); dateFormat.masks = { 'default': 'ddd mmm dd yyyy HH:MM:ss', 'shortDate': 'm/d/yy', 'mediumDate': 'mmm d, yyyy', 'longDate': 'mmmm d, yyyy', 'fullDate': 'dddd, mmmm d, yyyy', 'shortTime': 'h:MM TT', 'mediumTime': 'h:MM:ss TT', 'longTime': 'h:MM:ss TT Z', 'isoDate': 'yyyy-mm-dd', 'isoTime': 'HH:MM:ss', 'isoDateTime': 'yyyy-mm-dd\'T\'HH:MM:sso', 'isoUtcDateTime': 'UTC:yyyy-mm-dd\'T\'HH:MM:ss\'Z\'', 'expiresHeaderFormat': 'ddd, dd mmm yyyy HH:MM:ss Z' }; // Internationalization strings dateFormat.i18n = { dayNames: [ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ], monthNames: [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ] }; function pad(val, len) { val = String(val); len = len || 2; while (val.length < len) { val = '0' + val; } return val; } /** * Get the ISO 8601 week number * Based on comments from * http://techblog.procurios.nl/k/n618/news/view/33796/14863/Calculate-ISO-8601-week-and-year-in-javascript.html * * @param {Object} `date` * @return {Number} */ function getWeek(date) { // Remove time components of date var targetThursday = new Date(date.getFullYear(), date.getMonth(), date.getDate()); // Change date to Thursday same week targetThursday.setDate(targetThursday.getDate() - ((targetThursday.getDay() + 6) % 7) + 3); // Take January 4th as it is always in week 1 (see ISO 8601) var firstThursday = new Date(targetThursday.getFullYear(), 0, 4); // Change date to Thursday same week firstThursday.setDate(firstThursday.getDate() - ((firstThursday.getDay() + 6) % 7) + 3); // Check if daylight-saving-time-switch occurred and correct for it var ds = targetThursday.getTimezoneOffset() - firstThursday.getTimezoneOffset(); targetThursday.setHours(targetThursday.getHours() - ds); // Number of weeks between target Thursday and first Thursday var weekDiff = (targetThursday - firstThursday) / (86400000*7); return 1 + Math.floor(weekDiff); } /** * Get ISO-8601 numeric representation of the day of the week * 1 (for Monday) through 7 (for Sunday) * * @param {Object} `date` * @return {Number} */ function getDayOfWeek(date) { var dow = date.getDay(); if(dow === 0) { dow = 7; } return dow; } /** * kind-of shortcut * @param {*} val * @return {String} */ function kindOf(val) { if (val === null) { return 'null'; } if (val === undefined) { return 'undefined'; } if (typeof val !== 'object') { return typeof val; } if (Array.isArray(val)) { return 'array'; } return {}.toString.call(val) .slice(8, -1).toLowerCase(); }; if (typeof define === 'function' && define.amd) { define(function () { return dateFormat; }); } else if (typeof exports === 'object') { module.exports = dateFormat; } else { global.dateFormat = dateFormat; } })(this); },{}],300:[function(require,module,exports){ /*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed */ 'use strict'; /** * Module variables. * @private */ var matchHtmlRegExp = /["'&<>]/; /** * Module exports. * @public */ module.exports = escapeHtml; /** * Escape special characters in the given string of html. * * @param {string} string The string to escape for inserting into HTML * @return {string} * @public */ function escapeHtml(string) { var str = '' + string; var match = matchHtmlRegExp.exec(str); if (!match) { return str; } var escape; var html = ''; var index = 0; var lastIndex = 0; for (index = match.index; index < str.length; index++) { switch (str.charCodeAt(index)) { case 34: // " escape = '"'; break; case 38: // & escape = '&'; break; case 39: // ' escape = '''; break; case 60: // < escape = '<'; break; case 62: // > escape = '>'; break; default: continue; } if (lastIndex !== index) { html += str.substring(lastIndex, index); } lastIndex = index + 1; html += escape; } return lastIndex !== index ? html + str.substring(lastIndex, index) : html; } },{}],301:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. function EventEmitter() { this._events = this._events || {}; this._maxListeners = this._maxListeners || undefined; } module.exports = EventEmitter; // Backwards-compat with node 0.10.x EventEmitter.EventEmitter = EventEmitter; EventEmitter.prototype._events = undefined; EventEmitter.prototype._maxListeners = undefined; // By default EventEmitters will print a warning if more than 10 listeners are // added to it. This is a useful default which helps finding memory leaks. EventEmitter.defaultMaxListeners = 10; // Obviously not all Emitters should be limited to 10. This function allows // that to be increased. Set to zero for unlimited. EventEmitter.prototype.setMaxListeners = function(n) { if (!isNumber(n) || n < 0 || isNaN(n)) throw TypeError('n must be a positive number'); this._maxListeners = n; return this; }; EventEmitter.prototype.emit = function(type) { var er, handler, len, args, i, listeners; if (!this._events) this._events = {}; // If there is no 'error' event listener then throw. if (type === 'error') { if (!this._events.error || (isObject(this._events.error) && !this._events.error.length)) { er = arguments[1]; if (er instanceof Error) { throw er; // Unhandled 'error' event } else { // At least give some kind of context to the user var err = new Error('Uncaught, unspecified "error" event. (' + er + ')'); err.context = er; throw err; } } } handler = this._events[type]; if (isUndefined(handler)) return false; if (isFunction(handler)) { switch (arguments.length) { // fast cases case 1: handler.call(this); break; case 2: handler.call(this, arguments[1]); break; case 3: handler.call(this, arguments[1], arguments[2]); break; // slower default: args = Array.prototype.slice.call(arguments, 1); handler.apply(this, args); } } else if (isObject(handler)) { args = Array.prototype.slice.call(arguments, 1); listeners = handler.slice(); len = listeners.length; for (i = 0; i < len; i++) listeners[i].apply(this, args); } return true; }; EventEmitter.prototype.addListener = function(type, listener) { var m; if (!isFunction(listener)) throw TypeError('listener must be a function'); if (!this._events) this._events = {}; // To avoid recursion in the case that type === "newListener"! Before // adding it to the listeners, first emit "newListener". if (this._events.newListener) this.emit('newListener', type, isFunction(listener.listener) ? listener.listener : listener); if (!this._events[type]) // Optimize the case of one listener. Don't need the extra array object. this._events[type] = listener; else if (isObject(this._events[type])) // If we've already got an array, just append. this._events[type].push(listener); else // Adding the second element, need to change to array. this._events[type] = [this._events[type], listener]; // Check for listener leak if (isObject(this._events[type]) && !this._events[type].warned) { if (!isUndefined(this._maxListeners)) { m = this._maxListeners; } else { m = EventEmitter.defaultMaxListeners; } if (m && m > 0 && this._events[type].length > m) { this._events[type].warned = true; console.error('(node) warning: possible EventEmitter memory ' + 'leak detected. %d listeners added. ' + 'Use emitter.setMaxListeners() to increase limit.', this._events[type].length); if (typeof console.trace === 'function') { // not supported in IE 10 console.trace(); } } } return this; }; EventEmitter.prototype.on = EventEmitter.prototype.addListener; EventEmitter.prototype.once = function(type, listener) { if (!isFunction(listener)) throw TypeError('listener must be a function'); var fired = false; function g() { this.removeListener(type, g); if (!fired) { fired = true; listener.apply(this, arguments); } } g.listener = listener; this.on(type, g); return this; }; // emits a 'removeListener' event iff the listener was removed EventEmitter.prototype.removeListener = function(type, listener) { var list, position, length, i; if (!isFunction(listener)) throw TypeError('listener must be a function'); if (!this._events || !this._events[type]) return this; list = this._events[type]; length = list.length; position = -1; if (list === listener || (isFunction(list.listener) && list.listener === listener)) { delete this._events[type]; if (this._events.removeListener) this.emit('removeListener', type, listener); } else if (isObject(list)) { for (i = length; i-- > 0;) { if (list[i] === listener || (list[i].listener && list[i].listener === listener)) { position = i; break; } } if (position < 0) return this; if (list.length === 1) { list.length = 0; delete this._events[type]; } else { list.splice(position, 1); } if (this._events.removeListener) this.emit('removeListener', type, listener); } return this; }; EventEmitter.prototype.removeAllListeners = function(type) { var key, listeners; if (!this._events) return this; // not listening for removeListener, no need to emit if (!this._events.removeListener) { if (arguments.length === 0) this._events = {}; else if (this._events[type]) delete this._events[type]; return this; } // emit removeListener for all listeners on all events if (arguments.length === 0) { for (key in this._events) { if (key === 'removeListener') continue; this.removeAllListeners(key); } this.removeAllListeners('removeListener'); this._events = {}; return this; } listeners = this._events[type]; if (isFunction(listeners)) { this.removeListener(type, listeners); } else if (listeners) { // LIFO order while (listeners.length) this.removeListener(type, listeners[listeners.length - 1]); } delete this._events[type]; return this; }; EventEmitter.prototype.listeners = function(type) { var ret; if (!this._events || !this._events[type]) ret = []; else if (isFunction(this._events[type])) ret = [this._events[type]]; else ret = this._events[type].slice(); return ret; }; EventEmitter.prototype.listenerCount = function(type) { if (this._events) { var evlistener = this._events[type]; if (isFunction(evlistener)) return 1; else if (evlistener) return evlistener.length; } return 0; }; EventEmitter.listenerCount = function(emitter, type) { return emitter.listenerCount(type); }; function isFunction(arg) { return typeof arg === 'function'; } function isNumber(arg) { return typeof arg === 'number'; } function isObject(arg) { return typeof arg === 'object' && arg !== null; } function isUndefined(arg) { return arg === void 0; } },{}],302:[function(require,module,exports){ var http = require('http'); var https = module.exports; for (var key in http) { if (http.hasOwnProperty(key)) https[key] = http[key]; }; https.request = function (params, cb) { if (!params) params = {}; params.scheme = 'https'; params.protocol = 'https:'; return http.request.call(this, params, cb); } },{"http":400}],303:[function(require,module,exports){ /*! * humanize-ms - index.js * Copyright(c) 2014 dead_horse <dead_horse@qq.com> * MIT Licensed */ 'use strict'; /** * Module dependencies. */ var util = require('util'); var ms = require('ms'); module.exports = function (t) { if (typeof t === 'number') return t; var r = ms(t); if (r === undefined) { var err = new Error(util.format('humanize-ms(%j) result undefined', t)); console.warn(err.stack); } return r; }; },{"ms":319,"util":352}],304:[function(require,module,exports){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ exports.read = function (buffer, offset, isLE, mLen, nBytes) { var e, m var eLen = (nBytes * 8) - mLen - 1 var eMax = (1 << eLen) - 1 var eBias = eMax >> 1 var nBits = -7 var i = isLE ? (nBytes - 1) : 0 var d = isLE ? -1 : 1 var s = buffer[offset + i] i += d e = s & ((1 << (-nBits)) - 1) s >>= (-nBits) nBits += eLen for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {} m = e & ((1 << (-nBits)) - 1) e >>= (-nBits) nBits += mLen for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {} if (e === 0) { e = 1 - eBias } else if (e === eMax) { return m ? NaN : ((s ? -1 : 1) * Infinity) } else { m = m + Math.pow(2, mLen) e = e - eBias } return (s ? -1 : 1) * m * Math.pow(2, e - mLen) } exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { var e, m, c var eLen = (nBytes * 8) - mLen - 1 var eMax = (1 << eLen) - 1 var eBias = eMax >> 1 var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0) var i = isLE ? 0 : (nBytes - 1) var d = isLE ? 1 : -1 var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0 value = Math.abs(value) if (isNaN(value) || value === Infinity) { m = isNaN(value) ? 1 : 0 e = eMax } else { e = Math.floor(Math.log(value) / Math.LN2) if (value * (c = Math.pow(2, -e)) < 1) { e-- c *= 2 } if (e + eBias >= 1) { value += rt / c } else { value += rt * Math.pow(2, 1 - eBias) } if (value * c >= 2) { e++ c /= 2 } if (e + eBias >= eMax) { m = 0 e = eMax } else if (e + eBias >= 1) { m = ((value * c) - 1) * Math.pow(2, mLen) e = e + eBias } else { m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen) e = 0 } } for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {} e = (e << mLen) | m eLen += mLen for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} buffer[offset + i - d] |= s * 128 } },{}],305:[function(require,module,exports){ 'use strict'; var types = [ require('./nextTick'), require('./queueMicrotask'), require('./mutation.js'), require('./messageChannel'), require('./stateChange'), require('./timeout') ]; var draining; var currentQueue; var queueIndex = -1; var queue = []; var scheduled = false; function cleanUpNextTick() { if (!draining || !currentQueue) { return; } draining = false; if (currentQueue.length) { queue = currentQueue.concat(queue); } else { queueIndex = -1; } if (queue.length) { nextTick(); } } //named nextTick for less confusing stack traces function nextTick() { if (draining) { return; } scheduled = false; draining = true; var len = queue.length; var timeout = setTimeout(cleanUpNextTick); while (len) { currentQueue = queue; queue = []; while (currentQueue && ++queueIndex < len) { currentQueue[queueIndex].run(); } queueIndex = -1; len = queue.length; } currentQueue = null; queueIndex = -1; draining = false; clearTimeout(timeout); } var scheduleDrain; var i = -1; var len = types.length; while (++i < len) { if (types[i] && types[i].test && types[i].test()) { scheduleDrain = types[i].install(nextTick); break; } } // v8 likes predictible objects function Item(fun, array) { this.fun = fun; this.array = array; } Item.prototype.run = function () { var fun = this.fun; var array = this.array; switch (array.length) { case 0: return fun(); case 1: return fun(array[0]); case 2: return fun(array[0], array[1]); case 3: return fun(array[0], array[1], array[2]); default: return fun.apply(null, array); } }; module.exports = immediate; function immediate(task) { var args = new Array(arguments.length - 1); if (arguments.length > 1) { for (var i = 1; i < arguments.length; i++) { args[i - 1] = arguments[i]; } } queue.push(new Item(task, args)); if (!scheduled && !draining) { scheduled = true; scheduleDrain(); } } },{"./messageChannel":306,"./mutation.js":307,"./nextTick":84,"./queueMicrotask":308,"./stateChange":309,"./timeout":310}],306:[function(require,module,exports){ (function (global){(function (){ 'use strict'; exports.test = function () { if (global.setImmediate) { // we can only get here in IE10 // which doesn't handel postMessage well return false; } return typeof global.MessageChannel !== 'undefined'; }; exports.install = function (func) { var channel = new global.MessageChannel(); channel.port1.onmessage = func; return function () { channel.port2.postMessage(0); }; }; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],307:[function(require,module,exports){ (function (global){(function (){ 'use strict'; //based off rsvp https://github.com/tildeio/rsvp.js //license https://github.com/tildeio/rsvp.js/blob/master/LICENSE //https://github.com/tildeio/rsvp.js/blob/master/lib/rsvp/asap.js var Mutation = global.MutationObserver || global.WebKitMutationObserver; exports.test = function () { return Mutation; }; exports.install = function (handle) { var called = 0; var observer = new Mutation(handle); var element = global.document.createTextNode(''); observer.observe(element, { characterData: true }); return function () { element.data = (called = ++called % 2); }; }; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],308:[function(require,module,exports){ (function (global){(function (){ 'use strict'; exports.test = function () { return typeof global.queueMicrotask === 'function'; }; exports.install = function (func) { return function () { global.queueMicrotask(func); }; }; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],309:[function(require,module,exports){ (function (global){(function (){ 'use strict'; exports.test = function () { return 'document' in global && 'onreadystatechange' in global.document.createElement('script'); }; exports.install = function (handle) { return function () { // Create a <script> element; its readystatechange event will be fired asynchronously once it is inserted // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called. var scriptEl = global.document.createElement('script'); scriptEl.onreadystatechange = function () { handle(); scriptEl.onreadystatechange = null; scriptEl.parentNode.removeChild(scriptEl); scriptEl = null; }; global.document.documentElement.appendChild(scriptEl); return handle; }; }; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],310:[function(require,module,exports){ 'use strict'; exports.test = function () { return true; }; exports.install = function (t) { return function () { setTimeout(t, 0); }; }; },{}],311:[function(require,module,exports){ if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { if (superCtor) { ctor.super_ = superCtor ctor.prototype = Object.create(superCtor.prototype, { constructor: { value: ctor, enumerable: false, writable: true, configurable: true } }) } }; } else { // old school shim for old browsers module.exports = function inherits(ctor, superCtor) { if (superCtor) { ctor.super_ = superCtor var TempCtor = function () {} TempCtor.prototype = superCtor.prototype ctor.prototype = new TempCtor() ctor.prototype.constructor = ctor } } } },{}],312:[function(require,module,exports){ /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */ // The _isBuffer check is for Safari 5-7 support, because it's missing // Object.prototype.constructor. Remove this eventually module.exports = function (obj) { return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer) } function isBuffer (obj) { return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj) } // For Node v0.10 support. Remove this eventually. function isSlowBuffer (obj) { return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0)) } },{}],313:[function(require,module,exports){ var toString = {}.toString; module.exports = Array.isArray || function (arr) { return toString.call(arr) == '[object Array]'; }; },{}],314:[function(require,module,exports){ (function (global){(function (){ /* * base64.js * * Licensed under the BSD 3-Clause License. * http://opensource.org/licenses/BSD-3-Clause * * References: * http://en.wikipedia.org/wiki/Base64 */ ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(global) : typeof define === 'function' && define.amd ? define(factory) : factory(global) }(( typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : this ), function(global) { 'use strict'; // existing version for noConflict() global = global || {}; var _Base64 = global.Base64; var version = "2.6.4"; // constants var b64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; var b64tab = function(bin) { var t = {}; for (var i = 0, l = bin.length; i < l; i++) t[bin.charAt(i)] = i; return t; }(b64chars); var fromCharCode = String.fromCharCode; // encoder stuff var cb_utob = function(c) { if (c.length < 2) { var cc = c.charCodeAt(0); return cc < 0x80 ? c : cc < 0x800 ? (fromCharCode(0xc0 | (cc >>> 6)) + fromCharCode(0x80 | (cc & 0x3f))) : (fromCharCode(0xe0 | ((cc >>> 12) & 0x0f)) + fromCharCode(0x80 | ((cc >>> 6) & 0x3f)) + fromCharCode(0x80 | ( cc & 0x3f))); } else { var cc = 0x10000 + (c.charCodeAt(0) - 0xD800) * 0x400 + (c.charCodeAt(1) - 0xDC00); return (fromCharCode(0xf0 | ((cc >>> 18) & 0x07)) + fromCharCode(0x80 | ((cc >>> 12) & 0x3f)) + fromCharCode(0x80 | ((cc >>> 6) & 0x3f)) + fromCharCode(0x80 | ( cc & 0x3f))); } }; var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g; var utob = function(u) { return u.replace(re_utob, cb_utob); }; var cb_encode = function(ccc) { var padlen = [0, 2, 1][ccc.length % 3], ord = ccc.charCodeAt(0) << 16 | ((ccc.length > 1 ? ccc.charCodeAt(1) : 0) << 8) | ((ccc.length > 2 ? ccc.charCodeAt(2) : 0)), chars = [ b64chars.charAt( ord >>> 18), b64chars.charAt((ord >>> 12) & 63), padlen >= 2 ? '=' : b64chars.charAt((ord >>> 6) & 63), padlen >= 1 ? '=' : b64chars.charAt(ord & 63) ]; return chars.join(''); }; var btoa = global.btoa && typeof global.btoa == 'function' ? function(b){ return global.btoa(b) } : function(b) { if (b.match(/[^\x00-\xFF]/)) throw new RangeError( 'The string contains invalid characters.' ); return b.replace(/[\s\S]{1,3}/g, cb_encode); }; var _encode = function(u) { return btoa(utob(String(u))); }; var mkUriSafe = function (b64) { return b64.replace(/[+\/]/g, function(m0) { return m0 == '+' ? '-' : '_'; }).replace(/=/g, ''); }; var encode = function(u, urisafe) { return urisafe ? mkUriSafe(_encode(u)) : _encode(u); }; var encodeURI = function(u) { return encode(u, true) }; var fromUint8Array; if (global.Uint8Array) fromUint8Array = function(a, urisafe) { // return btoa(fromCharCode.apply(null, a)); var b64 = ''; for (var i = 0, l = a.length; i < l; i += 3) { var a0 = a[i], a1 = a[i+1], a2 = a[i+2]; var ord = a0 << 16 | a1 << 8 | a2; b64 += b64chars.charAt( ord >>> 18) + b64chars.charAt((ord >>> 12) & 63) + ( typeof a1 != 'undefined' ? b64chars.charAt((ord >>> 6) & 63) : '=') + ( typeof a2 != 'undefined' ? b64chars.charAt( ord & 63) : '='); } return urisafe ? mkUriSafe(b64) : b64; }; // decoder stuff var re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g; var cb_btou = function(cccc) { switch(cccc.length) { case 4: var cp = ((0x07 & cccc.charCodeAt(0)) << 18) | ((0x3f & cccc.charCodeAt(1)) << 12) | ((0x3f & cccc.charCodeAt(2)) << 6) | (0x3f & cccc.charCodeAt(3)), offset = cp - 0x10000; return (fromCharCode((offset >>> 10) + 0xD800) + fromCharCode((offset & 0x3FF) + 0xDC00)); case 3: return fromCharCode( ((0x0f & cccc.charCodeAt(0)) << 12) | ((0x3f & cccc.charCodeAt(1)) << 6) | (0x3f & cccc.charCodeAt(2)) ); default: return fromCharCode( ((0x1f & cccc.charCodeAt(0)) << 6) | (0x3f & cccc.charCodeAt(1)) ); } }; var btou = function(b) { return b.replace(re_btou, cb_btou); }; var cb_decode = function(cccc) { var len = cccc.length, padlen = len % 4, n = (len > 0 ? b64tab[cccc.charAt(0)] << 18 : 0) | (len > 1 ? b64tab[cccc.charAt(1)] << 12 : 0) | (len > 2 ? b64tab[cccc.charAt(2)] << 6 : 0) | (len > 3 ? b64tab[cccc.charAt(3)] : 0), chars = [ fromCharCode( n >>> 16), fromCharCode((n >>> 8) & 0xff), fromCharCode( n & 0xff) ]; chars.length -= [0, 0, 2, 1][padlen]; return chars.join(''); }; var _atob = global.atob && typeof global.atob == 'function' ? function(a){ return global.atob(a) } : function(a){ return a.replace(/\S{1,4}/g, cb_decode); }; var atob = function(a) { return _atob(String(a).replace(/[^A-Za-z0-9\+\/]/g, '')); }; var _decode = function(a) { return btou(_atob(a)) }; var _fromURI = function(a) { return String(a).replace(/[-_]/g, function(m0) { return m0 == '-' ? '+' : '/' }).replace(/[^A-Za-z0-9\+\/]/g, ''); }; var decode = function(a){ return _decode(_fromURI(a)); }; var toUint8Array; if (global.Uint8Array) toUint8Array = function(a) { return Uint8Array.from(atob(_fromURI(a)), function(c) { return c.charCodeAt(0); }); }; var noConflict = function() { var Base64 = global.Base64; global.Base64 = _Base64; return Base64; }; // export Base64 global.Base64 = { VERSION: version, atob: atob, btoa: btoa, fromBase64: decode, toBase64: encode, utob: utob, encode: encode, encodeURI: encodeURI, btou: btou, decode: decode, noConflict: noConflict, fromUint8Array: fromUint8Array, toUint8Array: toUint8Array }; // if ES5 is available, make Base64.extendString() available if (typeof Object.defineProperty === 'function') { var noEnum = function(v){ return {value:v,enumerable:false,writable:true,configurable:true}; }; global.Base64.extendString = function () { Object.defineProperty( String.prototype, 'fromBase64', noEnum(function () { return decode(this) })); Object.defineProperty( String.prototype, 'toBase64', noEnum(function (urisafe) { return encode(this, urisafe) })); Object.defineProperty( String.prototype, 'toBase64URI', noEnum(function () { return encode(this, true) })); }; } // // export Base64 to the namespace // if (global['Meteor']) { // Meteor.js Base64 = global.Base64; } // module.exports and AMD are mutually exclusive. // module.exports has precedence. if (typeof module !== 'undefined' && module.exports) { module.exports.Base64 = global.Base64; } else if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define([], function(){ return global.Base64 }); } // that's it! return {Base64: global.Base64} })); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],315:[function(require,module,exports){ /*! * merge-descriptors * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */ 'use strict' /** * Module exports. * @public */ module.exports = merge /** * Module variables. * @private */ var hasOwnProperty = Object.prototype.hasOwnProperty /** * Merge the property descriptors of `src` into `dest` * * @param {object} dest Object to add descriptors to * @param {object} src Object to clone descriptors from * @param {boolean} [redefine=true] Redefine `dest` properties with `src` properties * @returns {object} Reference to dest * @public */ function merge(dest, src, redefine) { if (!dest) { throw new TypeError('argument dest is required') } if (!src) { throw new TypeError('argument src is required') } if (redefine === undefined) { // Default to true redefine = true } Object.getOwnPropertyNames(src).forEach(function forEachOwnPropertyName(name) { if (!redefine && hasOwnProperty.call(dest, name)) { // Skip desriptor return } // Copy descriptor var descriptor = Object.getOwnPropertyDescriptor(src, name) Object.defineProperty(dest, name, descriptor) }) return dest } },{}],316:[function(require,module,exports){ 'use strict'; /** * @param typeMap [Object] Map of MIME type -> Array[extensions] * @param ... */ require("core-js/modules/es.array.map.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.replace.js"); require("core-js/modules/es.regexp.constructor.js"); require("core-js/modules/es.regexp.to-string.js"); function Mime() { this._types = Object.create(null); this._extensions = Object.create(null); for (var i = 0; i < arguments.length; i++) { this.define(arguments[i]); } this.define = this.define.bind(this); this.getType = this.getType.bind(this); this.getExtension = this.getExtension.bind(this); } /** * Define mimetype -> extension mappings. Each key is a mime-type that maps * to an array of extensions associated with the type. The first extension is * used as the default extension for the type. * * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']}); * * If a type declares an extension that has already been defined, an error will * be thrown. To suppress this error and force the extension to be associated * with the new type, pass `force`=true. Alternatively, you may prefix the * extension with "*" to map the type to extension, without mapping the * extension to the type. * * e.g. mime.define({'audio/wav', ['wav']}, {'audio/x-wav', ['*wav']}); * * * @param map (Object) type definitions * @param force (Boolean) if true, force overriding of existing definitions */ Mime.prototype.define = function (typeMap, force) { for (var type in typeMap) { var extensions = typeMap[type].map(function (t) { return t.toLowerCase(); }); type = type.toLowerCase(); for (var i = 0; i < extensions.length; i++) { var ext = extensions[i]; // '*' prefix = not the preferred type for this extension. So fixup the // extension, and skip it. if (ext[0] === '*') { continue; } if (!force && ext in this._types) { throw new Error('Attempt to change mapping for "' + ext + '" extension from "' + this._types[ext] + '" to "' + type + '". Pass `force=true` to allow this, otherwise remove "' + ext + '" from the list of extensions for "' + type + '".'); } this._types[ext] = type; } // Use first extension as default if (force || !this._extensions[type]) { var _ext = extensions[0]; this._extensions[type] = _ext[0] !== '*' ? _ext : _ext.substr(1); } } }; /** * Lookup a mime type based on extension */ Mime.prototype.getType = function (path) { path = String(path); var last = path.replace(/^.*[/\\]/, '').toLowerCase(); var ext = last.replace(/^.*\./, '').toLowerCase(); var hasPath = last.length < path.length; var hasDot = ext.length < last.length - 1; return (hasDot || !hasPath) && this._types[ext] || null; }; /** * Return file extension associated with a mime type */ Mime.prototype.getExtension = function (type) { type = /^\s*([^;\s]*)/.test(type) && RegExp.$1; return type && this._extensions[type.toLowerCase()] || null; }; module.exports = Mime; },{"core-js/modules/es.array.map.js":249,"core-js/modules/es.regexp.constructor.js":260,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.replace.js":266}],317:[function(require,module,exports){ 'use strict'; var Mime = require('./Mime'); module.exports = new Mime(require('./types/standard')); },{"./Mime":316,"./types/standard":318}],318:[function(require,module,exports){ "use strict"; module.exports = { "application/andrew-inset": ["ez"], "application/applixware": ["aw"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomdeleted+xml": ["atomdeleted"], "application/atomsvc+xml": ["atomsvc"], "application/atsc-dwd+xml": ["dwd"], "application/atsc-held+xml": ["held"], "application/atsc-rsat+xml": ["rsat"], "application/bdoc": ["bdoc"], "application/calendar+xml": ["xcs"], "application/ccxml+xml": ["ccxml"], "application/cdfx+xml": ["cdfx"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cu-seeme": ["cu"], "application/dash+xml": ["mpd"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma", "es"], "application/emma+xml": ["emma"], "application/emotionml+xml": ["emotionml"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/fdt+xml": ["fdt"], "application/font-tdpfr": ["pfr"], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hjson": ["hjson"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/its+xml": ["its"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["js", "mjs"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lgr+xml": ["lgr"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mmt-aei+xml": ["maei"], "application/mmt-usd+xml": ["musd"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["mp4s", "m4p"], "application/mrb-consumer+xml": ["*xdf"], "application/mrb-publish+xml": ["*xdf"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/n-quads": ["nq"], "application/n-triples": ["nt"], "application/node": ["cjs"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/p2p-overlay+xml": ["relo"], "application/patch-ops-error+xml": ["*xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-signature": ["asc", "sig"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/provenance+xml": ["provx"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf", "owl"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/route-apd+xml": ["rapd"], "application/route-s-tsid+xml": ["sls"], "application/route-usd+xml": ["rusd"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/senml+xml": ["senmlx"], "application/sensml+xml": ["sensmlx"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/sieve": ["siv", "sieve"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/swid+xml": ["swidtag"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/toml": ["toml"], "application/ttml+xml": ["ttml"], "application/ubjson": ["ubj"], "application/urc-ressheet+xml": ["rsheet"], "application/urc-targetdesc+xml": ["td"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/xaml+xml": ["xaml"], "application/xcap-att+xml": ["xav"], "application/xcap-caps+xml": ["xca"], "application/xcap-diff+xml": ["xdf"], "application/xcap-el+xml": ["xel"], "application/xcap-error+xml": ["xer"], "application/xcap-ns+xml": ["xns"], "application/xenc+xml": ["xenc"], "application/xhtml+xml": ["xhtml", "xht"], "application/xliff+xml": ["xlf"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["*xsl", "xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": ["*3gpp"], "audio/adpcm": ["adp"], "audio/amr": ["amr"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mobile-xmf": ["mxmf"], "audio/mp3": ["*mp3"], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx", "opus"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/wav": ["wav"], "audio/wave": ["*wav"], "audio/webm": ["weba"], "audio/xm": ["xm"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/aces": ["exr"], "image/apng": ["apng"], "image/avif": ["avif"], "image/bmp": ["bmp"], "image/cgm": ["cgm"], "image/dicom-rle": ["drle"], "image/emf": ["emf"], "image/fits": ["fits"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/heic": ["heic"], "image/heic-sequence": ["heics"], "image/heif": ["heif"], "image/heif-sequence": ["heifs"], "image/hej2k": ["hej2"], "image/hsj2": ["hsj2"], "image/ief": ["ief"], "image/jls": ["jls"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jph": ["jph"], "image/jphc": ["jhc"], "image/jpm": ["jpm"], "image/jpx": ["jpx", "jpf"], "image/jxr": ["jxr"], "image/jxra": ["jxra"], "image/jxrs": ["jxrs"], "image/jxs": ["jxs"], "image/jxsc": ["jxsc"], "image/jxsi": ["jxsi"], "image/jxss": ["jxss"], "image/ktx": ["ktx"], "image/ktx2": ["ktx2"], "image/png": ["png"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/t38": ["t38"], "image/tiff": ["tif", "tiff"], "image/tiff-fx": ["tfx"], "image/webp": ["webp"], "image/wmf": ["wmf"], "message/disposition-notification": ["disposition-notification"], "message/global": ["u8msg"], "message/global-delivery-status": ["u8dsn"], "message/global-disposition-notification": ["u8mdn"], "message/global-headers": ["u8hdr"], "message/rfc822": ["eml", "mime"], "model/3mf": ["3mf"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/mesh": ["msh", "mesh", "silo"], "model/mtl": ["mtl"], "model/obj": ["obj"], "model/stl": ["stl"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["*x3db", "x3dbz"], "model/x3d+fastinfoset": ["x3db"], "model/x3d+vrml": ["*x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "model/x3d-vrml": ["x3dv"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["markdown", "md"], "text/mathml": ["mml"], "text/mdx": ["mdx"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/richtext": ["rtx"], "text/rtf": ["*rtf"], "text/sgml": ["sgml", "sgm"], "text/shex": ["shex"], "text/slim": ["slim", "slm"], "text/spdx": ["spdx"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vtt": ["vtt"], "text/xml": ["*xml"], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/iso.segment": ["m4s"], "video/jpeg": ["jpgv"], "video/jpm": ["*jpm", "jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/webm": ["webm"] }; },{}],319:[function(require,module,exports){ /** * Helpers. */ var s = 1000; var m = s * 60; var h = m * 60; var d = h * 24; var w = d * 7; var y = d * 365.25; /** * Parse or format the given `val`. * * Options: * * - `long` verbose formatting [false] * * @param {String|Number} val * @param {Object} [options] * @throws {Error} throw an error if val is not a non-empty string or a number * @return {String|Number} * @api public */ module.exports = function (val, options) { options = options || {}; var type = typeof val; if (type === 'string' && val.length > 0) { return parse(val); } else if (type === 'number' && isFinite(val)) { return options.long ? fmtLong(val) : fmtShort(val); } throw new Error( 'val is not a non-empty string or a valid number. val=' + JSON.stringify(val) ); }; /** * Parse the given `str` and return milliseconds. * * @param {String} str * @return {Number} * @api private */ function parse(str) { str = String(str); if (str.length > 100) { return; } var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( str ); if (!match) { return; } var n = parseFloat(match[1]); var type = (match[2] || 'ms').toLowerCase(); switch (type) { case 'years': case 'year': case 'yrs': case 'yr': case 'y': return n * y; case 'weeks': case 'week': case 'w': return n * w; case 'days': case 'day': case 'd': return n * d; case 'hours': case 'hour': case 'hrs': case 'hr': case 'h': return n * h; case 'minutes': case 'minute': case 'mins': case 'min': case 'm': return n * m; case 'seconds': case 'second': case 'secs': case 'sec': case 's': return n * s; case 'milliseconds': case 'millisecond': case 'msecs': case 'msec': case 'ms': return n; default: return undefined; } } /** * Short format for `ms`. * * @param {Number} ms * @return {String} * @api private */ function fmtShort(ms) { var msAbs = Math.abs(ms); if (msAbs >= d) { return Math.round(ms / d) + 'd'; } if (msAbs >= h) { return Math.round(ms / h) + 'h'; } if (msAbs >= m) { return Math.round(ms / m) + 'm'; } if (msAbs >= s) { return Math.round(ms / s) + 's'; } return ms + 'ms'; } /** * Long format for `ms`. * * @param {Number} ms * @return {String} * @api private */ function fmtLong(ms) { var msAbs = Math.abs(ms); if (msAbs >= d) { return plural(ms, msAbs, d, 'day'); } if (msAbs >= h) { return plural(ms, msAbs, h, 'hour'); } if (msAbs >= m) { return plural(ms, msAbs, m, 'minute'); } if (msAbs >= s) { return plural(ms, msAbs, s, 'second'); } return ms + ' ms'; } /** * Pluralization helper. */ function plural(ms, msAbs, n, name) { var isPlural = msAbs >= n * 1.5; return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); } },{}],320:[function(require,module,exports){ /* object-assign (c) Sindre Sorhus @license MIT */ 'use strict'; /* eslint-disable no-unused-vars */ var getOwnPropertySymbols = Object.getOwnPropertySymbols; var hasOwnProperty = Object.prototype.hasOwnProperty; var propIsEnumerable = Object.prototype.propertyIsEnumerable; function toObject(val) { if (val === null || val === undefined) { throw new TypeError('Object.assign cannot be called with null or undefined'); } return Object(val); } function shouldUseNative() { try { if (!Object.assign) { return false; } // Detect buggy property enumeration order in older V8 versions. // https://bugs.chromium.org/p/v8/issues/detail?id=4118 var test1 = new String('abc'); // eslint-disable-line no-new-wrappers test1[5] = 'de'; if (Object.getOwnPropertyNames(test1)[0] === '5') { return false; } // https://bugs.chromium.org/p/v8/issues/detail?id=3056 var test2 = {}; for (var i = 0; i < 10; i++) { test2['_' + String.fromCharCode(i)] = i; } var order2 = Object.getOwnPropertyNames(test2).map(function (n) { return test2[n]; }); if (order2.join('') !== '0123456789') { return false; } // https://bugs.chromium.org/p/v8/issues/detail?id=3056 var test3 = {}; 'abcdefghijklmnopqrst'.split('').forEach(function (letter) { test3[letter] = letter; }); if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') { return false; } return true; } catch (err) { // We don't expect any of the above to throw, but better to be safe. return false; } } module.exports = shouldUseNative() ? Object.assign : function (target, source) { var from; var to = toObject(target); var symbols; for (var s = 1; s < arguments.length; s++) { from = Object(arguments[s]); for (var key in from) { if (hasOwnProperty.call(from, key)) { to[key] = from[key]; } } if (getOwnPropertySymbols) { symbols = getOwnPropertySymbols(from); for (var i = 0; i < symbols.length; i++) { if (propIsEnumerable.call(from, symbols[i])) { to[symbols[i]] = from[symbols[i]]; } } } } return to; }; },{}],321:[function(require,module,exports){ (function (process){(function (){ // .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1, // backported and transplited with Babel, with backwards-compat fixes // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. // resolves . and .. elements in a path array with directory names there // must be no slashes, empty elements, or device names (c:\) in the array // (so also no leading and trailing slashes - it does not distinguish // relative and absolute paths) function normalizeArray(parts, allowAboveRoot) { // if the path tries to go above the root, `up` ends up > 0 var up = 0; for (var i = parts.length - 1; i >= 0; i--) { var last = parts[i]; if (last === '.') { parts.splice(i, 1); } else if (last === '..') { parts.splice(i, 1); up++; } else if (up) { parts.splice(i, 1); up--; } } // if the path is allowed to go above the root, restore leading ..s if (allowAboveRoot) { for (; up--; up) { parts.unshift('..'); } } return parts; } // path.resolve([from ...], to) // posix version exports.resolve = function() { var resolvedPath = '', resolvedAbsolute = false; for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { var path = (i >= 0) ? arguments[i] : process.cwd(); // Skip empty and invalid entries if (typeof path !== 'string') { throw new TypeError('Arguments to path.resolve must be strings'); } else if (!path) { continue; } resolvedPath = path + '/' + resolvedPath; resolvedAbsolute = path.charAt(0) === '/'; } // At this point the path should be resolved to a full absolute path, but // handle relative paths to be safe (might happen when process.cwd() fails) // Normalize the path resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) { return !!p; }), !resolvedAbsolute).join('/'); return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.'; }; // path.normalize(path) // posix version exports.normalize = function(path) { var isAbsolute = exports.isAbsolute(path), trailingSlash = substr(path, -1) === '/'; // Normalize the path path = normalizeArray(filter(path.split('/'), function(p) { return !!p; }), !isAbsolute).join('/'); if (!path && !isAbsolute) { path = '.'; } if (path && trailingSlash) { path += '/'; } return (isAbsolute ? '/' : '') + path; }; // posix version exports.isAbsolute = function(path) { return path.charAt(0) === '/'; }; // posix version exports.join = function() { var paths = Array.prototype.slice.call(arguments, 0); return exports.normalize(filter(paths, function(p, index) { if (typeof p !== 'string') { throw new TypeError('Arguments to path.join must be strings'); } return p; }).join('/')); }; // path.relative(from, to) // posix version exports.relative = function(from, to) { from = exports.resolve(from).substr(1); to = exports.resolve(to).substr(1); function trim(arr) { var start = 0; for (; start < arr.length; start++) { if (arr[start] !== '') break; } var end = arr.length - 1; for (; end >= 0; end--) { if (arr[end] !== '') break; } if (start > end) return []; return arr.slice(start, end - start + 1); } var fromParts = trim(from.split('/')); var toParts = trim(to.split('/')); var length = Math.min(fromParts.length, toParts.length); var samePartsLength = length; for (var i = 0; i < length; i++) { if (fromParts[i] !== toParts[i]) { samePartsLength = i; break; } } var outputParts = []; for (var i = samePartsLength; i < fromParts.length; i++) { outputParts.push('..'); } outputParts = outputParts.concat(toParts.slice(samePartsLength)); return outputParts.join('/'); }; exports.sep = '/'; exports.delimiter = ':'; exports.dirname = function (path) { if (typeof path !== 'string') path = path + ''; if (path.length === 0) return '.'; var code = path.charCodeAt(0); var hasRoot = code === 47 /*/*/; var end = -1; var matchedSlash = true; for (var i = path.length - 1; i >= 1; --i) { code = path.charCodeAt(i); if (code === 47 /*/*/) { if (!matchedSlash) { end = i; break; } } else { // We saw the first non-path separator matchedSlash = false; } } if (end === -1) return hasRoot ? '/' : '.'; if (hasRoot && end === 1) { // return '//'; // Backwards-compat fix: return '/'; } return path.slice(0, end); }; function basename(path) { if (typeof path !== 'string') path = path + ''; var start = 0; var end = -1; var matchedSlash = true; var i; for (i = path.length - 1; i >= 0; --i) { if (path.charCodeAt(i) === 47 /*/*/) { // If we reached a path separator that was not part of a set of path // separators at the end of the string, stop now if (!matchedSlash) { start = i + 1; break; } } else if (end === -1) { // We saw the first non-path separator, mark this as the end of our // path component matchedSlash = false; end = i + 1; } } if (end === -1) return ''; return path.slice(start, end); } // Uses a mixed approach for backwards-compatibility, as ext behavior changed // in new Node.js versions, so only basename() above is backported here exports.basename = function (path, ext) { var f = basename(path); if (ext && f.substr(-1 * ext.length) === ext) { f = f.substr(0, f.length - ext.length); } return f; }; exports.extname = function (path) { if (typeof path !== 'string') path = path + ''; var startDot = -1; var startPart = 0; var end = -1; var matchedSlash = true; // Track the state of characters (if any) we see before our first dot and // after any path separator we find var preDotState = 0; for (var i = path.length - 1; i >= 0; --i) { var code = path.charCodeAt(i); if (code === 47 /*/*/) { // If we reached a path separator that was not part of a set of path // separators at the end of the string, stop now if (!matchedSlash) { startPart = i + 1; break; } continue; } if (end === -1) { // We saw the first non-path separator, mark this as the end of our // extension matchedSlash = false; end = i + 1; } if (code === 46 /*.*/) { // If this is our first dot, mark it as the start of our extension if (startDot === -1) startDot = i; else if (preDotState !== 1) preDotState = 1; } else if (startDot !== -1) { // We saw a non-dot and non-path separator before our dot, so we should // have a good chance at having a non-empty extension preDotState = -1; } } if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot preDotState === 0 || // The (right-most) trimmed path component is exactly '..' preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { return ''; } return path.slice(startDot, end); }; function filter (xs, f) { if (xs.filter) return xs.filter(f); var res = []; for (var i = 0; i < xs.length; i++) { if (f(xs[i], i, xs)) res.push(xs[i]); } return res; } // String.prototype.substr - negative index don't work in IE8 var substr = 'ab'.substr(-1) === 'b' ? function (str, start, len) { return str.substr(start, len) } : function (str, start, len) { if (start < 0) start = str.length + start; return str.substr(start, len); } ; }).call(this)}).call(this,require('_process')) },{"_process":399}],322:[function(require,module,exports){ (function (global){(function (){ /*! * Platform.js v1.3.6 * Copyright 2014-2020 Benjamin Tan * Copyright 2011-2013 John-David Dalton * Available under MIT license */ ;(function() { 'use strict'; /** Used to determine if values are of the language type `Object`. */ var objectTypes = { 'function': true, 'object': true }; /** Used as a reference to the global object. */ var root = (objectTypes[typeof window] && window) || this; /** Backup possible global object. */ var oldRoot = root; /** Detect free variable `exports`. */ var freeExports = objectTypes[typeof exports] && exports; /** Detect free variable `module`. */ var freeModule = objectTypes[typeof module] && module && !module.nodeType && module; /** Detect free variable `global` from Node.js or Browserified code and use it as `root`. */ var freeGlobal = freeExports && freeModule && typeof global == 'object' && global; if (freeGlobal && (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal || freeGlobal.self === freeGlobal)) { root = freeGlobal; } /** * Used as the maximum length of an array-like object. * See the [ES6 spec](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength) * for more details. */ var maxSafeInteger = Math.pow(2, 53) - 1; /** Regular expression to detect Opera. */ var reOpera = /\bOpera/; /** Possible global object. */ var thisBinding = this; /** Used for native method references. */ var objectProto = Object.prototype; /** Used to check for own properties of an object. */ var hasOwnProperty = objectProto.hasOwnProperty; /** Used to resolve the internal `[[Class]]` of values. */ var toString = objectProto.toString; /*--------------------------------------------------------------------------*/ /** * Capitalizes a string value. * * @private * @param {string} string The string to capitalize. * @returns {string} The capitalized string. */ function capitalize(string) { string = String(string); return string.charAt(0).toUpperCase() + string.slice(1); } /** * A utility function to clean up the OS name. * * @private * @param {string} os The OS name to clean up. * @param {string} [pattern] A `RegExp` pattern matching the OS name. * @param {string} [label] A label for the OS. */ function cleanupOS(os, pattern, label) { // Platform tokens are defined at: // http://msdn.microsoft.com/en-us/library/ms537503(VS.85).aspx // http://web.archive.org/web/20081122053950/http://msdn.microsoft.com/en-us/library/ms537503(VS.85).aspx var data = { '10.0': '10', '6.4': '10 Technical Preview', '6.3': '8.1', '6.2': '8', '6.1': 'Server 2008 R2 / 7', '6.0': 'Server 2008 / Vista', '5.2': 'Server 2003 / XP 64-bit', '5.1': 'XP', '5.01': '2000 SP1', '5.0': '2000', '4.0': 'NT', '4.90': 'ME' }; // Detect Windows version from platform tokens. if (pattern && label && /^Win/i.test(os) && !/^Windows Phone /i.test(os) && (data = data[/[\d.]+$/.exec(os)])) { os = 'Windows ' + data; } // Correct character case and cleanup string. os = String(os); if (pattern && label) { os = os.replace(RegExp(pattern, 'i'), label); } os = format( os.replace(/ ce$/i, ' CE') .replace(/\bhpw/i, 'web') .replace(/\bMacintosh\b/, 'Mac OS') .replace(/_PowerPC\b/i, ' OS') .replace(/\b(OS X) [^ \d]+/i, '$1') .replace(/\bMac (OS X)\b/, '$1') .replace(/\/(\d)/, ' $1') .replace(/_/g, '.') .replace(/(?: BePC|[ .]*fc[ \d.]+)$/i, '') .replace(/\bx86\.64\b/gi, 'x86_64') .replace(/\b(Windows Phone) OS\b/, '$1') .replace(/\b(Chrome OS \w+) [\d.]+\b/, '$1') .split(' on ')[0] ); return os; } /** * An iteration utility for arrays and objects. * * @private * @param {Array|Object} object The object to iterate over. * @param {Function} callback The function called per iteration. */ function each(object, callback) { var index = -1, length = object ? object.length : 0; if (typeof length == 'number' && length > -1 && length <= maxSafeInteger) { while (++index < length) { callback(object[index], index, object); } } else { forOwn(object, callback); } } /** * Trim and conditionally capitalize string values. * * @private * @param {string} string The string to format. * @returns {string} The formatted string. */ function format(string) { string = trim(string); return /^(?:webOS|i(?:OS|P))/.test(string) ? string : capitalize(string); } /** * Iterates over an object's own properties, executing the `callback` for each. * * @private * @param {Object} object The object to iterate over. * @param {Function} callback The function executed per own property. */ function forOwn(object, callback) { for (var key in object) { if (hasOwnProperty.call(object, key)) { callback(object[key], key, object); } } } /** * Gets the internal `[[Class]]` of a value. * * @private * @param {*} value The value. * @returns {string} The `[[Class]]`. */ function getClassOf(value) { return value == null ? capitalize(value) : toString.call(value).slice(8, -1); } /** * Host objects can return type values that are different from their actual * data type. The objects we are concerned with usually return non-primitive * types of "object", "function", or "unknown". * * @private * @param {*} object The owner of the property. * @param {string} property The property to check. * @returns {boolean} Returns `true` if the property value is a non-primitive, else `false`. */ function isHostType(object, property) { var type = object != null ? typeof object[property] : 'number'; return !/^(?:boolean|number|string|undefined)$/.test(type) && (type == 'object' ? !!object[property] : true); } /** * Prepares a string for use in a `RegExp` by making hyphens and spaces optional. * * @private * @param {string} string The string to qualify. * @returns {string} The qualified string. */ function qualify(string) { return String(string).replace(/([ -])(?!$)/g, '$1?'); } /** * A bare-bones `Array#reduce` like utility function. * * @private * @param {Array} array The array to iterate over. * @param {Function} callback The function called per iteration. * @returns {*} The accumulated result. */ function reduce(array, callback) { var accumulator = null; each(array, function(value, index) { accumulator = callback(accumulator, value, index, array); }); return accumulator; } /** * Removes leading and trailing whitespace from a string. * * @private * @param {string} string The string to trim. * @returns {string} The trimmed string. */ function trim(string) { return String(string).replace(/^ +| +$/g, ''); } /*--------------------------------------------------------------------------*/ /** * Creates a new platform object. * * @memberOf platform * @param {Object|string} [ua=navigator.userAgent] The user agent string or * context object. * @returns {Object} A platform object. */ function parse(ua) { /** The environment context object. */ var context = root; /** Used to flag when a custom context is provided. */ var isCustomContext = ua && typeof ua == 'object' && getClassOf(ua) != 'String'; // Juggle arguments. if (isCustomContext) { context = ua; ua = null; } /** Browser navigator object. */ var nav = context.navigator || {}; /** Browser user agent string. */ var userAgent = nav.userAgent || ''; ua || (ua = userAgent); /** Used to flag when `thisBinding` is the [ModuleScope]. */ var isModuleScope = isCustomContext || thisBinding == oldRoot; /** Used to detect if browser is like Chrome. */ var likeChrome = isCustomContext ? !!nav.likeChrome : /\bChrome\b/.test(ua) && !/internal|\n/i.test(toString.toString()); /** Internal `[[Class]]` value shortcuts. */ var objectClass = 'Object', airRuntimeClass = isCustomContext ? objectClass : 'ScriptBridgingProxyObject', enviroClass = isCustomContext ? objectClass : 'Environment', javaClass = (isCustomContext && context.java) ? 'JavaPackage' : getClassOf(context.java), phantomClass = isCustomContext ? objectClass : 'RuntimeObject'; /** Detect Java environments. */ var java = /\bJava/.test(javaClass) && context.java; /** Detect Rhino. */ var rhino = java && getClassOf(context.environment) == enviroClass; /** A character to represent alpha. */ var alpha = java ? 'a' : '\u03b1'; /** A character to represent beta. */ var beta = java ? 'b' : '\u03b2'; /** Browser document object. */ var doc = context.document || {}; /** * Detect Opera browser (Presto-based). * http://www.howtocreate.co.uk/operaStuff/operaObject.html * http://dev.opera.com/articles/view/opera-mini-web-content-authoring-guidelines/#operamini */ var opera = context.operamini || context.opera; /** Opera `[[Class]]`. */ var operaClass = reOpera.test(operaClass = (isCustomContext && opera) ? opera['[[Class]]'] : getClassOf(opera)) ? operaClass : (opera = null); /*------------------------------------------------------------------------*/ /** Temporary variable used over the script's lifetime. */ var data; /** The CPU architecture. */ var arch = ua; /** Platform description array. */ var description = []; /** Platform alpha/beta indicator. */ var prerelease = null; /** A flag to indicate that environment features should be used to resolve the platform. */ var useFeatures = ua == userAgent; /** The browser/environment version. */ var version = useFeatures && opera && typeof opera.version == 'function' && opera.version(); /** A flag to indicate if the OS ends with "/ Version" */ var isSpecialCasedOS; /* Detectable layout engines (order is important). */ var layout = getLayout([ { 'label': 'EdgeHTML', 'pattern': 'Edge' }, 'Trident', { 'label': 'WebKit', 'pattern': 'AppleWebKit' }, 'iCab', 'Presto', 'NetFront', 'Tasman', 'KHTML', 'Gecko' ]); /* Detectable browser names (order is important). */ var name = getName([ 'Adobe AIR', 'Arora', 'Avant Browser', 'Breach', 'Camino', 'Electron', 'Epiphany', 'Fennec', 'Flock', 'Galeon', 'GreenBrowser', 'iCab', 'Iceweasel', 'K-Meleon', 'Konqueror', 'Lunascape', 'Maxthon', { 'label': 'Microsoft Edge', 'pattern': '(?:Edge|Edg|EdgA|EdgiOS)' }, 'Midori', 'Nook Browser', 'PaleMoon', 'PhantomJS', 'Raven', 'Rekonq', 'RockMelt', { 'label': 'Samsung Internet', 'pattern': 'SamsungBrowser' }, 'SeaMonkey', { 'label': 'Silk', 'pattern': '(?:Cloud9|Silk-Accelerated)' }, 'Sleipnir', 'SlimBrowser', { 'label': 'SRWare Iron', 'pattern': 'Iron' }, 'Sunrise', 'Swiftfox', 'Vivaldi', 'Waterfox', 'WebPositive', { 'label': 'Yandex Browser', 'pattern': 'YaBrowser' }, { 'label': 'UC Browser', 'pattern': 'UCBrowser' }, 'Opera Mini', { 'label': 'Opera Mini', 'pattern': 'OPiOS' }, 'Opera', { 'label': 'Opera', 'pattern': 'OPR' }, 'Chromium', 'Chrome', { 'label': 'Chrome', 'pattern': '(?:HeadlessChrome)' }, { 'label': 'Chrome Mobile', 'pattern': '(?:CriOS|CrMo)' }, { 'label': 'Firefox', 'pattern': '(?:Firefox|Minefield)' }, { 'label': 'Firefox for iOS', 'pattern': 'FxiOS' }, { 'label': 'IE', 'pattern': 'IEMobile' }, { 'label': 'IE', 'pattern': 'MSIE' }, 'Safari' ]); /* Detectable products (order is important). */ var product = getProduct([ { 'label': 'BlackBerry', 'pattern': 'BB10' }, 'BlackBerry', { 'label': 'Galaxy S', 'pattern': 'GT-I9000' }, { 'label': 'Galaxy S2', 'pattern': 'GT-I9100' }, { 'label': 'Galaxy S3', 'pattern': 'GT-I9300' }, { 'label': 'Galaxy S4', 'pattern': 'GT-I9500' }, { 'label': 'Galaxy S5', 'pattern': 'SM-G900' }, { 'label': 'Galaxy S6', 'pattern': 'SM-G920' }, { 'label': 'Galaxy S6 Edge', 'pattern': 'SM-G925' }, { 'label': 'Galaxy S7', 'pattern': 'SM-G930' }, { 'label': 'Galaxy S7 Edge', 'pattern': 'SM-G935' }, 'Google TV', 'Lumia', 'iPad', 'iPod', 'iPhone', 'Kindle', { 'label': 'Kindle Fire', 'pattern': '(?:Cloud9|Silk-Accelerated)' }, 'Nexus', 'Nook', 'PlayBook', 'PlayStation Vita', 'PlayStation', 'TouchPad', 'Transformer', { 'label': 'Wii U', 'pattern': 'WiiU' }, 'Wii', 'Xbox One', { 'label': 'Xbox 360', 'pattern': 'Xbox' }, 'Xoom' ]); /* Detectable manufacturers. */ var manufacturer = getManufacturer({ 'Apple': { 'iPad': 1, 'iPhone': 1, 'iPod': 1 }, 'Alcatel': {}, 'Archos': {}, 'Amazon': { 'Kindle': 1, 'Kindle Fire': 1 }, 'Asus': { 'Transformer': 1 }, 'Barnes & Noble': { 'Nook': 1 }, 'BlackBerry': { 'PlayBook': 1 }, 'Google': { 'Google TV': 1, 'Nexus': 1 }, 'HP': { 'TouchPad': 1 }, 'HTC': {}, 'Huawei': {}, 'Lenovo': {}, 'LG': {}, 'Microsoft': { 'Xbox': 1, 'Xbox One': 1 }, 'Motorola': { 'Xoom': 1 }, 'Nintendo': { 'Wii U': 1, 'Wii': 1 }, 'Nokia': { 'Lumia': 1 }, 'Oppo': {}, 'Samsung': { 'Galaxy S': 1, 'Galaxy S2': 1, 'Galaxy S3': 1, 'Galaxy S4': 1 }, 'Sony': { 'PlayStation': 1, 'PlayStation Vita': 1 }, 'Xiaomi': { 'Mi': 1, 'Redmi': 1 } }); /* Detectable operating systems (order is important). */ var os = getOS([ 'Windows Phone', 'KaiOS', 'Android', 'CentOS', { 'label': 'Chrome OS', 'pattern': 'CrOS' }, 'Debian', { 'label': 'DragonFly BSD', 'pattern': 'DragonFly' }, 'Fedora', 'FreeBSD', 'Gentoo', 'Haiku', 'Kubuntu', 'Linux Mint', 'OpenBSD', 'Red Hat', 'SuSE', 'Ubuntu', 'Xubuntu', 'Cygwin', 'Symbian OS', 'hpwOS', 'webOS ', 'webOS', 'Tablet OS', 'Tizen', 'Linux', 'Mac OS X', 'Macintosh', 'Mac', 'Windows 98;', 'Windows ' ]); /*------------------------------------------------------------------------*/ /** * Picks the layout engine from an array of guesses. * * @private * @param {Array} guesses An array of guesses. * @returns {null|string} The detected layout engine. */ function getLayout(guesses) { return reduce(guesses, function(result, guess) { return result || RegExp('\\b' + ( guess.pattern || qualify(guess) ) + '\\b', 'i').exec(ua) && (guess.label || guess); }); } /** * Picks the manufacturer from an array of guesses. * * @private * @param {Array} guesses An object of guesses. * @returns {null|string} The detected manufacturer. */ function getManufacturer(guesses) { return reduce(guesses, function(result, value, key) { // Lookup the manufacturer by product or scan the UA for the manufacturer. return result || ( value[product] || value[/^[a-z]+(?: +[a-z]+\b)*/i.exec(product)] || RegExp('\\b' + qualify(key) + '(?:\\b|\\w*\\d)', 'i').exec(ua) ) && key; }); } /** * Picks the browser name from an array of guesses. * * @private * @param {Array} guesses An array of guesses. * @returns {null|string} The detected browser name. */ function getName(guesses) { return reduce(guesses, function(result, guess) { return result || RegExp('\\b' + ( guess.pattern || qualify(guess) ) + '\\b', 'i').exec(ua) && (guess.label || guess); }); } /** * Picks the OS name from an array of guesses. * * @private * @param {Array} guesses An array of guesses. * @returns {null|string} The detected OS name. */ function getOS(guesses) { return reduce(guesses, function(result, guess) { var pattern = guess.pattern || qualify(guess); if (!result && (result = RegExp('\\b' + pattern + '(?:/[\\d.]+|[ \\w.]*)', 'i').exec(ua) )) { result = cleanupOS(result, pattern, guess.label || guess); } return result; }); } /** * Picks the product name from an array of guesses. * * @private * @param {Array} guesses An array of guesses. * @returns {null|string} The detected product name. */ function getProduct(guesses) { return reduce(guesses, function(result, guess) { var pattern = guess.pattern || qualify(guess); if (!result && (result = RegExp('\\b' + pattern + ' *\\d+[.\\w_]*', 'i').exec(ua) || RegExp('\\b' + pattern + ' *\\w+-[\\w]*', 'i').exec(ua) || RegExp('\\b' + pattern + '(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)', 'i').exec(ua) )) { // Split by forward slash and append product version if needed. if ((result = String((guess.label && !RegExp(pattern, 'i').test(guess.label)) ? guess.label : result).split('/'))[1] && !/[\d.]+/.test(result[0])) { result[0] += ' ' + result[1]; } // Correct character case and cleanup string. guess = guess.label || guess; result = format(result[0] .replace(RegExp(pattern, 'i'), guess) .replace(RegExp('; *(?:' + guess + '[_-])?', 'i'), ' ') .replace(RegExp('(' + guess + ')[-_.]?(\\w)', 'i'), '$1 $2')); } return result; }); } /** * Resolves the version using an array of UA patterns. * * @private * @param {Array} patterns An array of UA patterns. * @returns {null|string} The detected version. */ function getVersion(patterns) { return reduce(patterns, function(result, pattern) { return result || (RegExp(pattern + '(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)', 'i').exec(ua) || 0)[1] || null; }); } /** * Returns `platform.description` when the platform object is coerced to a string. * * @name toString * @memberOf platform * @returns {string} Returns `platform.description` if available, else an empty string. */ function toStringPlatform() { return this.description || ''; } /*------------------------------------------------------------------------*/ // Convert layout to an array so we can add extra details. layout && (layout = [layout]); // Detect Android products. // Browsers on Android devices typically provide their product IDS after "Android;" // up to "Build" or ") AppleWebKit". // Example: // "Mozilla/5.0 (Linux; Android 8.1.0; Moto G (5) Plus) AppleWebKit/537.36 // (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36" if (/\bAndroid\b/.test(os) && !product && (data = /\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(ua))) { product = trim(data[1]) // Replace any language codes (eg. "en-US"). .replace(/^[a-z]{2}-[a-z]{2};\s*/i, '') || null; } // Detect product names that contain their manufacturer's name. if (manufacturer && !product) { product = getProduct([manufacturer]); } else if (manufacturer && product) { product = product .replace(RegExp('^(' + qualify(manufacturer) + ')[-_.\\s]', 'i'), manufacturer + ' ') .replace(RegExp('^(' + qualify(manufacturer) + ')[-_.]?(\\w)', 'i'), manufacturer + ' $2'); } // Clean up Google TV. if ((data = /\bGoogle TV\b/.exec(product))) { product = data[0]; } // Detect simulators. if (/\bSimulator\b/i.test(ua)) { product = (product ? product + ' ' : '') + 'Simulator'; } // Detect Opera Mini 8+ running in Turbo/Uncompressed mode on iOS. if (name == 'Opera Mini' && /\bOPiOS\b/.test(ua)) { description.push('running in Turbo/Uncompressed mode'); } // Detect IE Mobile 11. if (name == 'IE' && /\blike iPhone OS\b/.test(ua)) { data = parse(ua.replace(/like iPhone OS/, '')); manufacturer = data.manufacturer; product = data.product; } // Detect iOS. else if (/^iP/.test(product)) { name || (name = 'Safari'); os = 'iOS' + ((data = / OS ([\d_]+)/i.exec(ua)) ? ' ' + data[1].replace(/_/g, '.') : ''); } // Detect Kubuntu. else if (name == 'Konqueror' && /^Linux\b/i.test(os)) { os = 'Kubuntu'; } // Detect Android browsers. else if ((manufacturer && manufacturer != 'Google' && ((/Chrome/.test(name) && !/\bMobile Safari\b/i.test(ua)) || /\bVita\b/.test(product))) || (/\bAndroid\b/.test(os) && /^Chrome/.test(name) && /\bVersion\//i.test(ua))) { name = 'Android Browser'; os = /\bAndroid\b/.test(os) ? os : 'Android'; } // Detect Silk desktop/accelerated modes. else if (name == 'Silk') { if (!/\bMobi/i.test(ua)) { os = 'Android'; description.unshift('desktop mode'); } if (/Accelerated *= *true/i.test(ua)) { description.unshift('accelerated'); } } // Detect UC Browser speed mode. else if (name == 'UC Browser' && /\bUCWEB\b/.test(ua)) { description.push('speed mode'); } // Detect PaleMoon identifying as Firefox. else if (name == 'PaleMoon' && (data = /\bFirefox\/([\d.]+)\b/.exec(ua))) { description.push('identifying as Firefox ' + data[1]); } // Detect Firefox OS and products running Firefox. else if (name == 'Firefox' && (data = /\b(Mobile|Tablet|TV)\b/i.exec(ua))) { os || (os = 'Firefox OS'); product || (product = data[1]); } // Detect false positives for Firefox/Safari. else if (!name || (data = !/\bMinefield\b/i.test(ua) && /\b(?:Firefox|Safari)\b/.exec(name))) { // Escape the `/` for Firefox 1. if (name && !product && /[\/,]|^[^(]+?\)/.test(ua.slice(ua.indexOf(data + '/') + 8))) { // Clear name of false positives. name = null; } // Reassign a generic name. if ((data = product || manufacturer || os) && (product || manufacturer || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(os))) { name = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(os) ? os : data) + ' Browser'; } } // Add Chrome version to description for Electron. else if (name == 'Electron' && (data = (/\bChrome\/([\d.]+)\b/.exec(ua) || 0)[1])) { description.push('Chromium ' + data); } // Detect non-Opera (Presto-based) versions (order is important). if (!version) { version = getVersion([ '(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)', 'Version', qualify(name), '(?:Firefox|Minefield|NetFront)' ]); } // Detect stubborn layout engines. if ((data = layout == 'iCab' && parseFloat(version) > 3 && 'WebKit' || /\bOpera\b/.test(name) && (/\bOPR\b/.test(ua) ? 'Blink' : 'Presto') || /\b(?:Midori|Nook|Safari)\b/i.test(ua) && !/^(?:Trident|EdgeHTML)$/.test(layout) && 'WebKit' || !layout && /\bMSIE\b/i.test(ua) && (os == 'Mac OS' ? 'Tasman' : 'Trident') || layout == 'WebKit' && /\bPlayStation\b(?! Vita\b)/i.test(name) && 'NetFront' )) { layout = [data]; } // Detect Windows Phone 7 desktop mode. if (name == 'IE' && (data = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(ua) || 0)[1])) { name += ' Mobile'; os = 'Windows Phone ' + (/\+$/.test(data) ? data : data + '.x'); description.unshift('desktop mode'); } // Detect Windows Phone 8.x desktop mode. else if (/\bWPDesktop\b/i.test(ua)) { name = 'IE Mobile'; os = 'Windows Phone 8.x'; description.unshift('desktop mode'); version || (version = (/\brv:([\d.]+)/.exec(ua) || 0)[1]); } // Detect IE 11 identifying as other browsers. else if (name != 'IE' && layout == 'Trident' && (data = /\brv:([\d.]+)/.exec(ua))) { if (name) { description.push('identifying as ' + name + (version ? ' ' + version : '')); } name = 'IE'; version = data[1]; } // Leverage environment features. if (useFeatures) { // Detect server-side environments. // Rhino has a global function while others have a global object. if (isHostType(context, 'global')) { if (java) { data = java.lang.System; arch = data.getProperty('os.arch'); os = os || data.getProperty('os.name') + ' ' + data.getProperty('os.version'); } if (rhino) { try { version = context.require('ringo/engine').version.join('.'); name = 'RingoJS'; } catch(e) { if ((data = context.system) && data.global.system == context.system) { name = 'Narwhal'; os || (os = data[0].os || null); } } if (!name) { name = 'Rhino'; } } else if ( typeof context.process == 'object' && !context.process.browser && (data = context.process) ) { if (typeof data.versions == 'object') { if (typeof data.versions.electron == 'string') { description.push('Node ' + data.versions.node); name = 'Electron'; version = data.versions.electron; } else if (typeof data.versions.nw == 'string') { description.push('Chromium ' + version, 'Node ' + data.versions.node); name = 'NW.js'; version = data.versions.nw; } } if (!name) { name = 'Node.js'; arch = data.arch; os = data.platform; version = /[\d.]+/.exec(data.version); version = version ? version[0] : null; } } } // Detect Adobe AIR. else if (getClassOf((data = context.runtime)) == airRuntimeClass) { name = 'Adobe AIR'; os = data.flash.system.Capabilities.os; } // Detect PhantomJS. else if (getClassOf((data = context.phantom)) == phantomClass) { name = 'PhantomJS'; version = (data = data.version || null) && (data.major + '.' + data.minor + '.' + data.patch); } // Detect IE compatibility modes. else if (typeof doc.documentMode == 'number' && (data = /\bTrident\/(\d+)/i.exec(ua))) { // We're in compatibility mode when the Trident version + 4 doesn't // equal the document mode. version = [version, doc.documentMode]; if ((data = +data[1] + 4) != version[1]) { description.push('IE ' + version[1] + ' mode'); layout && (layout[1] = ''); version[1] = data; } version = name == 'IE' ? String(version[1].toFixed(1)) : version[0]; } // Detect IE 11 masking as other browsers. else if (typeof doc.documentMode == 'number' && /^(?:Chrome|Firefox)\b/.test(name)) { description.push('masking as ' + name + ' ' + version); name = 'IE'; version = '11.0'; layout = ['Trident']; os = 'Windows'; } os = os && format(os); } // Detect prerelease phases. if (version && (data = /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(version) || /(?:alpha|beta)(?: ?\d)?/i.exec(ua + ';' + (useFeatures && nav.appMinorVersion)) || /\bMinefield\b/i.test(ua) && 'a' )) { prerelease = /b/i.test(data) ? 'beta' : 'alpha'; version = version.replace(RegExp(data + '\\+?$'), '') + (prerelease == 'beta' ? beta : alpha) + (/\d+\+?/.exec(data) || ''); } // Detect Firefox Mobile. if (name == 'Fennec' || name == 'Firefox' && /\b(?:Android|Firefox OS|KaiOS)\b/.test(os)) { name = 'Firefox Mobile'; } // Obscure Maxthon's unreliable version. else if (name == 'Maxthon' && version) { version = version.replace(/\.[\d.]+/, '.x'); } // Detect Xbox 360 and Xbox One. else if (/\bXbox\b/i.test(product)) { if (product == 'Xbox 360') { os = null; } if (product == 'Xbox 360' && /\bIEMobile\b/.test(ua)) { description.unshift('mobile mode'); } } // Add mobile postfix. else if ((/^(?:Chrome|IE|Opera)$/.test(name) || name && !product && !/Browser|Mobi/.test(name)) && (os == 'Windows CE' || /Mobi/i.test(ua))) { name += ' Mobile'; } // Detect IE platform preview. else if (name == 'IE' && useFeatures) { try { if (context.external === null) { description.unshift('platform preview'); } } catch(e) { description.unshift('embedded'); } } // Detect BlackBerry OS version. // http://docs.blackberry.com/en/developers/deliverables/18169/HTTP_headers_sent_by_BB_Browser_1234911_11.jsp else if ((/\bBlackBerry\b/.test(product) || /\bBB10\b/.test(ua)) && (data = (RegExp(product.replace(/ +/g, ' *') + '/([.\\d]+)', 'i').exec(ua) || 0)[1] || version )) { data = [data, /BB10/.test(ua)]; os = (data[1] ? (product = null, manufacturer = 'BlackBerry') : 'Device Software') + ' ' + data[0]; version = null; } // Detect Opera identifying/masking itself as another browser. // http://www.opera.com/support/kb/view/843/ else if (this != forOwn && product != 'Wii' && ( (useFeatures && opera) || (/Opera/.test(name) && /\b(?:MSIE|Firefox)\b/i.test(ua)) || (name == 'Firefox' && /\bOS X (?:\d+\.){2,}/.test(os)) || (name == 'IE' && ( (os && !/^Win/.test(os) && version > 5.5) || /\bWindows XP\b/.test(os) && version > 8 || version == 8 && !/\bTrident\b/.test(ua) )) ) && !reOpera.test((data = parse.call(forOwn, ua.replace(reOpera, '') + ';'))) && data.name) { // When "identifying", the UA contains both Opera and the other browser's name. data = 'ing as ' + data.name + ((data = data.version) ? ' ' + data : ''); if (reOpera.test(name)) { if (/\bIE\b/.test(data) && os == 'Mac OS') { os = null; } data = 'identify' + data; } // When "masking", the UA contains only the other browser's name. else { data = 'mask' + data; if (operaClass) { name = format(operaClass.replace(/([a-z])([A-Z])/g, '$1 $2')); } else { name = 'Opera'; } if (/\bIE\b/.test(data)) { os = null; } if (!useFeatures) { version = null; } } layout = ['Presto']; description.push(data); } // Detect WebKit Nightly and approximate Chrome/Safari versions. if ((data = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(ua) || 0)[1])) { // Correct build number for numeric comparison. // (e.g. "532.5" becomes "532.05") data = [parseFloat(data.replace(/\.(\d)$/, '.0$1')), data]; // Nightly builds are postfixed with a "+". if (name == 'Safari' && data[1].slice(-1) == '+') { name = 'WebKit Nightly'; prerelease = 'alpha'; version = data[1].slice(0, -1); } // Clear incorrect browser versions. else if (version == data[1] || version == (data[2] = (/\bSafari\/([\d.]+\+?)/i.exec(ua) || 0)[1])) { version = null; } // Use the full Chrome version when available. data[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(ua) || 0)[1]; // Detect Blink layout engine. if (data[0] == 537.36 && data[2] == 537.36 && parseFloat(data[1]) >= 28 && layout == 'WebKit') { layout = ['Blink']; } // Detect JavaScriptCore. // http://stackoverflow.com/questions/6768474/how-can-i-detect-which-javascript-engine-v8-or-jsc-is-used-at-runtime-in-androi if (!useFeatures || (!likeChrome && !data[1])) { layout && (layout[1] = 'like Safari'); data = (data = data[0], data < 400 ? 1 : data < 500 ? 2 : data < 526 ? 3 : data < 533 ? 4 : data < 534 ? '4+' : data < 535 ? 5 : data < 537 ? 6 : data < 538 ? 7 : data < 601 ? 8 : data < 602 ? 9 : data < 604 ? 10 : data < 606 ? 11 : data < 608 ? 12 : '12'); } else { layout && (layout[1] = 'like Chrome'); data = data[1] || (data = data[0], data < 530 ? 1 : data < 532 ? 2 : data < 532.05 ? 3 : data < 533 ? 4 : data < 534.03 ? 5 : data < 534.07 ? 6 : data < 534.10 ? 7 : data < 534.13 ? 8 : data < 534.16 ? 9 : data < 534.24 ? 10 : data < 534.30 ? 11 : data < 535.01 ? 12 : data < 535.02 ? '13+' : data < 535.07 ? 15 : data < 535.11 ? 16 : data < 535.19 ? 17 : data < 536.05 ? 18 : data < 536.10 ? 19 : data < 537.01 ? 20 : data < 537.11 ? '21+' : data < 537.13 ? 23 : data < 537.18 ? 24 : data < 537.24 ? 25 : data < 537.36 ? 26 : layout != 'Blink' ? '27' : '28'); } // Add the postfix of ".x" or "+" for approximate versions. layout && (layout[1] += ' ' + (data += typeof data == 'number' ? '.x' : /[.+]/.test(data) ? '' : '+')); // Obscure version for some Safari 1-2 releases. if (name == 'Safari' && (!version || parseInt(version) > 45)) { version = data; } else if (name == 'Chrome' && /\bHeadlessChrome/i.test(ua)) { description.unshift('headless'); } } // Detect Opera desktop modes. if (name == 'Opera' && (data = /\bzbov|zvav$/.exec(os))) { name += ' '; description.unshift('desktop mode'); if (data == 'zvav') { name += 'Mini'; version = null; } else { name += 'Mobile'; } os = os.replace(RegExp(' *' + data + '$'), ''); } // Detect Chrome desktop mode. else if (name == 'Safari' && /\bChrome\b/.exec(layout && layout[1])) { description.unshift('desktop mode'); name = 'Chrome Mobile'; version = null; if (/\bOS X\b/.test(os)) { manufacturer = 'Apple'; os = 'iOS 4.3+'; } else { os = null; } } // Newer versions of SRWare Iron uses the Chrome tag to indicate its version number. else if (/\bSRWare Iron\b/.test(name) && !version) { version = getVersion('Chrome'); } // Strip incorrect OS versions. if (version && version.indexOf((data = /[\d.]+$/.exec(os))) == 0 && ua.indexOf('/' + data + '-') > -1) { os = trim(os.replace(data, '')); } // Ensure OS does not include the browser name. if (os && os.indexOf(name) != -1 && !RegExp(name + ' OS').test(os)) { os = os.replace(RegExp(' *' + qualify(name) + ' *'), ''); } // Add layout engine. if (layout && !/\b(?:Avant|Nook)\b/.test(name) && ( /Browser|Lunascape|Maxthon/.test(name) || name != 'Safari' && /^iOS/.test(os) && /\bSafari\b/.test(layout[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(name) && layout[1])) { // Don't add layout details to description if they are falsey. (data = layout[layout.length - 1]) && description.push(data); } // Combine contextual information. if (description.length) { description = ['(' + description.join('; ') + ')']; } // Append manufacturer to description. if (manufacturer && product && product.indexOf(manufacturer) < 0) { description.push('on ' + manufacturer); } // Append product to description. if (product) { description.push((/^on /.test(description[description.length - 1]) ? '' : 'on ') + product); } // Parse the OS into an object. if (os) { data = / ([\d.+]+)$/.exec(os); isSpecialCasedOS = data && os.charAt(os.length - data[0].length - 1) == '/'; os = { 'architecture': 32, 'family': (data && !isSpecialCasedOS) ? os.replace(data[0], '') : os, 'version': data ? data[1] : null, 'toString': function() { var version = this.version; return this.family + ((version && !isSpecialCasedOS) ? ' ' + version : '') + (this.architecture == 64 ? ' 64-bit' : ''); } }; } // Add browser/OS architecture. if ((data = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(arch)) && !/\bi686\b/i.test(arch)) { if (os) { os.architecture = 64; os.family = os.family.replace(RegExp(' *' + data), ''); } if ( name && (/\bWOW64\b/i.test(ua) || (useFeatures && /\w(?:86|32)$/.test(nav.cpuClass || nav.platform) && !/\bWin64; x64\b/i.test(ua))) ) { description.unshift('32-bit'); } } // Chrome 39 and above on OS X is always 64-bit. else if ( os && /^OS X/.test(os.family) && name == 'Chrome' && parseFloat(version) >= 39 ) { os.architecture = 64; } ua || (ua = null); /*------------------------------------------------------------------------*/ /** * The platform object. * * @name platform * @type Object */ var platform = {}; /** * The platform description. * * @memberOf platform * @type string|null */ platform.description = ua; /** * The name of the browser's layout engine. * * The list of common layout engines include: * "Blink", "EdgeHTML", "Gecko", "Trident" and "WebKit" * * @memberOf platform * @type string|null */ platform.layout = layout && layout[0]; /** * The name of the product's manufacturer. * * The list of manufacturers include: * "Apple", "Archos", "Amazon", "Asus", "Barnes & Noble", "BlackBerry", * "Google", "HP", "HTC", "LG", "Microsoft", "Motorola", "Nintendo", * "Nokia", "Samsung" and "Sony" * * @memberOf platform * @type string|null */ platform.manufacturer = manufacturer; /** * The name of the browser/environment. * * The list of common browser names include: * "Chrome", "Electron", "Firefox", "Firefox for iOS", "IE", * "Microsoft Edge", "PhantomJS", "Safari", "SeaMonkey", "Silk", * "Opera Mini" and "Opera" * * Mobile versions of some browsers have "Mobile" appended to their name: * eg. "Chrome Mobile", "Firefox Mobile", "IE Mobile" and "Opera Mobile" * * @memberOf platform * @type string|null */ platform.name = name; /** * The alpha/beta release indicator. * * @memberOf platform * @type string|null */ platform.prerelease = prerelease; /** * The name of the product hosting the browser. * * The list of common products include: * * "BlackBerry", "Galaxy S4", "Lumia", "iPad", "iPod", "iPhone", "Kindle", * "Kindle Fire", "Nexus", "Nook", "PlayBook", "TouchPad" and "Transformer" * * @memberOf platform * @type string|null */ platform.product = product; /** * The browser's user agent string. * * @memberOf platform * @type string|null */ platform.ua = ua; /** * The browser/environment version. * * @memberOf platform * @type string|null */ platform.version = name && version; /** * The name of the operating system. * * @memberOf platform * @type Object */ platform.os = os || { /** * The CPU architecture the OS is built for. * * @memberOf platform.os * @type number|null */ 'architecture': null, /** * The family of the OS. * * Common values include: * "Windows", "Windows Server 2008 R2 / 7", "Windows Server 2008 / Vista", * "Windows XP", "OS X", "Linux", "Ubuntu", "Debian", "Fedora", "Red Hat", * "SuSE", "Android", "iOS" and "Windows Phone" * * @memberOf platform.os * @type string|null */ 'family': null, /** * The version of the OS. * * @memberOf platform.os * @type string|null */ 'version': null, /** * Returns the OS string. * * @memberOf platform.os * @returns {string} The OS string. */ 'toString': function() { return 'null'; } }; platform.parse = parse; platform.toString = toStringPlatform; if (platform.version) { description.unshift(version); } if (platform.name) { description.unshift(name); } if (os && name && !(os == String(os).split(' ')[0] && (os == name.split(' ')[0] || product))) { description.push(product ? '(' + os + ')' : 'on ' + os); } if (description.length) { platform.description = description.join(' '); } return platform; } /*--------------------------------------------------------------------------*/ // Export platform. var platform = parse(); // Some AMD build optimizers, like r.js, check for condition patterns like the following: if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) { // Expose platform on the global object to prevent errors when platform is // loaded by a script tag in the presence of an AMD loader. // See http://requirejs.org/docs/errors.html#mismatch for more details. root.platform = platform; // Define as an anonymous module so platform can be aliased through path mapping. define(function() { return platform; }); } // Check for `exports` after `define` in case a build optimizer adds an `exports` object. else if (freeExports && freeModule) { // Export for CommonJS support. forOwn(platform, function(value, key) { freeExports[key] = value; }); } else { // Export to the global object. root.platform = platform; } }.call(this)); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],323:[function(require,module,exports){ (function (process){(function (){ 'use strict'; if (typeof process === 'undefined' || !process.version || process.version.indexOf('v0.') === 0 || process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) { module.exports = { nextTick: nextTick }; } else { module.exports = process } function nextTick(fn, arg1, arg2, arg3) { if (typeof fn !== 'function') { throw new TypeError('"callback" argument must be a function'); } var len = arguments.length; var args, i; switch (len) { case 0: case 1: return process.nextTick(fn); case 2: return process.nextTick(function afterTickOne() { fn.call(null, arg1); }); case 3: return process.nextTick(function afterTickTwo() { fn.call(null, arg1, arg2); }); case 4: return process.nextTick(function afterTickThree() { fn.call(null, arg1, arg2, arg3); }); default: args = new Array(len - 1); i = 0; while (i < args.length) { args[i++] = arguments[i]; } return process.nextTick(function afterTick() { fn.apply(null, args); }); } } }).call(this)}).call(this,require('_process')) },{"_process":399}],324:[function(require,module,exports){ // shim for using process in browser var process = module.exports = {}; // cached from whatever global is present so that test runners that stub it // don't break things. But we need to wrap it in a try catch in case it is // wrapped in strict mode code which doesn't define any globals. It's inside a // function because try/catches deoptimize in certain engines. var cachedSetTimeout; var cachedClearTimeout; function defaultSetTimout() { throw new Error('setTimeout has not been defined'); } function defaultClearTimeout () { throw new Error('clearTimeout has not been defined'); } (function () { try { if (typeof setTimeout === 'function') { cachedSetTimeout = setTimeout; } else { cachedSetTimeout = defaultSetTimout; } } catch (e) { cachedSetTimeout = defaultSetTimout; } try { if (typeof clearTimeout === 'function') { cachedClearTimeout = clearTimeout; } else { cachedClearTimeout = defaultClearTimeout; } } catch (e) { cachedClearTimeout = defaultClearTimeout; } } ()) function runTimeout(fun) { if (cachedSetTimeout === setTimeout) { //normal enviroments in sane situations return setTimeout(fun, 0); } // if setTimeout wasn't available but was latter defined if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { cachedSetTimeout = setTimeout; return setTimeout(fun, 0); } try { // when when somebody has screwed with setTimeout but no I.E. maddness return cachedSetTimeout(fun, 0); } catch(e){ try { // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally return cachedSetTimeout.call(null, fun, 0); } catch(e){ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error return cachedSetTimeout.call(this, fun, 0); } } } function runClearTimeout(marker) { if (cachedClearTimeout === clearTimeout) { //normal enviroments in sane situations return clearTimeout(marker); } // if clearTimeout wasn't available but was latter defined if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { cachedClearTimeout = clearTimeout; return clearTimeout(marker); } try { // when when somebody has screwed with setTimeout but no I.E. maddness return cachedClearTimeout(marker); } catch (e){ try { // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally return cachedClearTimeout.call(null, marker); } catch (e){ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. // Some versions of I.E. have different rules for clearTimeout vs setTimeout return cachedClearTimeout.call(this, marker); } } } var queue = []; var draining = false; var currentQueue; var queueIndex = -1; function cleanUpNextTick() { if (!draining || !currentQueue) { return; } draining = false; if (currentQueue.length) { queue = currentQueue.concat(queue); } else { queueIndex = -1; } if (queue.length) { drainQueue(); } } function drainQueue() { if (draining) { return; } var timeout = runTimeout(cleanUpNextTick); draining = true; var len = queue.length; while(len) { currentQueue = queue; queue = []; while (++queueIndex < len) { if (currentQueue) { currentQueue[queueIndex].run(); } } queueIndex = -1; len = queue.length; } currentQueue = null; draining = false; runClearTimeout(timeout); } process.nextTick = function (fun) { var args = new Array(arguments.length - 1); if (arguments.length > 1) { for (var i = 1; i < arguments.length; i++) { args[i - 1] = arguments[i]; } } queue.push(new Item(fun, args)); if (queue.length === 1 && !draining) { runTimeout(drainQueue); } }; // v8 likes predictible objects function Item(fun, array) { this.fun = fun; this.array = array; } Item.prototype.run = function () { this.fun.apply(null, this.array); }; process.title = 'browser'; process.browser = true; process.env = {}; process.argv = []; process.version = ''; // empty string to avoid regexp issues process.versions = {}; function noop() {} process.on = noop; process.addListener = noop; process.once = noop; process.off = noop; process.removeListener = noop; process.removeAllListeners = noop; process.emit = noop; process.prependListener = noop; process.prependOnceListener = noop; process.listeners = function (name) { return [] } process.binding = function (name) { throw new Error('process.binding is not supported'); }; process.cwd = function () { return '/' }; process.chdir = function (dir) { throw new Error('process.chdir is not supported'); }; process.umask = function() { return 0; }; },{}],325:[function(require,module,exports){ (function (global){(function (){ /*! https://mths.be/punycode v1.4.1 by @mathias */ ;(function(root) { /** Detect free variables */ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; var freeModule = typeof module == 'object' && module && !module.nodeType && module; var freeGlobal = typeof global == 'object' && global; if ( freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal || freeGlobal.self === freeGlobal ) { root = freeGlobal; } /** * The `punycode` object. * @name punycode * @type Object */ var punycode, /** Highest positive signed 32-bit float value */ maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1 /** Bootstring parameters */ base = 36, tMin = 1, tMax = 26, skew = 38, damp = 700, initialBias = 72, initialN = 128, // 0x80 delimiter = '-', // '\x2D' /** Regular expressions */ regexPunycode = /^xn--/, regexNonASCII = /[^\x20-\x7E]/, // unprintable ASCII chars + non-ASCII chars regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, // RFC 3490 separators /** Error messages */ errors = { 'overflow': 'Overflow: input needs wider integers to process', 'not-basic': 'Illegal input >= 0x80 (not a basic code point)', 'invalid-input': 'Invalid input' }, /** Convenience shortcuts */ baseMinusTMin = base - tMin, floor = Math.floor, stringFromCharCode = String.fromCharCode, /** Temporary variable */ key; /*--------------------------------------------------------------------------*/ /** * A generic error utility function. * @private * @param {String} type The error type. * @returns {Error} Throws a `RangeError` with the applicable error message. */ function error(type) { throw new RangeError(errors[type]); } /** * A generic `Array#map` utility function. * @private * @param {Array} array The array to iterate over. * @param {Function} callback The function that gets called for every array * item. * @returns {Array} A new array of values returned by the callback function. */ function map(array, fn) { var length = array.length; var result = []; while (length--) { result[length] = fn(array[length]); } return result; } /** * A simple `Array#map`-like wrapper to work with domain name strings or email * addresses. * @private * @param {String} domain The domain name or email address. * @param {Function} callback The function that gets called for every * character. * @returns {Array} A new string of characters returned by the callback * function. */ function mapDomain(string, fn) { var parts = string.split('@'); var result = ''; if (parts.length > 1) { // In email addresses, only the domain name should be punycoded. Leave // the local part (i.e. everything up to `@`) intact. result = parts[0] + '@'; string = parts[1]; } // Avoid `split(regex)` for IE8 compatibility. See #17. string = string.replace(regexSeparators, '\x2E'); var labels = string.split('.'); var encoded = map(labels, fn).join('.'); return result + encoded; } /** * Creates an array containing the numeric code points of each Unicode * character in the string. While JavaScript uses UCS-2 internally, * this function will convert a pair of surrogate halves (each of which * UCS-2 exposes as separate characters) into a single code point, * matching UTF-16. * @see `punycode.ucs2.encode` * @see <https://mathiasbynens.be/notes/javascript-encoding> * @memberOf punycode.ucs2 * @name decode * @param {String} string The Unicode input string (UCS-2). * @returns {Array} The new array of code points. */ function ucs2decode(string) { var output = [], counter = 0, length = string.length, value, extra; while (counter < length) { value = string.charCodeAt(counter++); if (value >= 0xD800 && value <= 0xDBFF && counter < length) { // high surrogate, and there is a next character extra = string.charCodeAt(counter++); if ((extra & 0xFC00) == 0xDC00) { // low surrogate output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); } else { // unmatched surrogate; only append this code unit, in case the next // code unit is the high surrogate of a surrogate pair output.push(value); counter--; } } else { output.push(value); } } return output; } /** * Creates a string based on an array of numeric code points. * @see `punycode.ucs2.decode` * @memberOf punycode.ucs2 * @name encode * @param {Array} codePoints The array of numeric code points. * @returns {String} The new Unicode string (UCS-2). */ function ucs2encode(array) { return map(array, function(value) { var output = ''; if (value > 0xFFFF) { value -= 0x10000; output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800); value = 0xDC00 | value & 0x3FF; } output += stringFromCharCode(value); return output; }).join(''); } /** * Converts a basic code point into a digit/integer. * @see `digitToBasic()` * @private * @param {Number} codePoint The basic numeric code point value. * @returns {Number} The numeric value of a basic code point (for use in * representing integers) in the range `0` to `base - 1`, or `base` if * the code point does not represent a value. */ function basicToDigit(codePoint) { if (codePoint - 48 < 10) { return codePoint - 22; } if (codePoint - 65 < 26) { return codePoint - 65; } if (codePoint - 97 < 26) { return codePoint - 97; } return base; } /** * Converts a digit/integer into a basic code point. * @see `basicToDigit()` * @private * @param {Number} digit The numeric value of a basic code point. * @returns {Number} The basic code point whose value (when used for * representing integers) is `digit`, which needs to be in the range * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is * used; else, the lowercase form is used. The behavior is undefined * if `flag` is non-zero and `digit` has no uppercase form. */ function digitToBasic(digit, flag) { // 0..25 map to ASCII a..z or A..Z // 26..35 map to ASCII 0..9 return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5); } /** * Bias adaptation function as per section 3.4 of RFC 3492. * https://tools.ietf.org/html/rfc3492#section-3.4 * @private */ function adapt(delta, numPoints, firstTime) { var k = 0; delta = firstTime ? floor(delta / damp) : delta >> 1; delta += floor(delta / numPoints); for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { delta = floor(delta / baseMinusTMin); } return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); } /** * Converts a Punycode string of ASCII-only symbols to a string of Unicode * symbols. * @memberOf punycode * @param {String} input The Punycode string of ASCII-only symbols. * @returns {String} The resulting string of Unicode symbols. */ function decode(input) { // Don't use UCS-2 var output = [], inputLength = input.length, out, i = 0, n = initialN, bias = initialBias, basic, j, index, oldi, w, k, digit, t, /** Cached calculation results */ baseMinusT; // Handle the basic code points: let `basic` be the number of input code // points before the last delimiter, or `0` if there is none, then copy // the first basic code points to the output. basic = input.lastIndexOf(delimiter); if (basic < 0) { basic = 0; } for (j = 0; j < basic; ++j) { // if it's not a basic code point if (input.charCodeAt(j) >= 0x80) { error('not-basic'); } output.push(input.charCodeAt(j)); } // Main decoding loop: start just after the last delimiter if any basic code // points were copied; start at the beginning otherwise. for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) { // `index` is the index of the next character to be consumed. // Decode a generalized variable-length integer into `delta`, // which gets added to `i`. The overflow checking is easier // if we increase `i` as we go, then subtract off its starting // value at the end to obtain `delta`. for (oldi = i, w = 1, k = base; /* no condition */; k += base) { if (index >= inputLength) { error('invalid-input'); } digit = basicToDigit(input.charCodeAt(index++)); if (digit >= base || digit > floor((maxInt - i) / w)) { error('overflow'); } i += digit * w; t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); if (digit < t) { break; } baseMinusT = base - t; if (w > floor(maxInt / baseMinusT)) { error('overflow'); } w *= baseMinusT; } out = output.length + 1; bias = adapt(i - oldi, out, oldi == 0); // `i` was supposed to wrap around from `out` to `0`, // incrementing `n` each time, so we'll fix that now: if (floor(i / out) > maxInt - n) { error('overflow'); } n += floor(i / out); i %= out; // Insert `n` at position `i` of the output output.splice(i++, 0, n); } return ucs2encode(output); } /** * Converts a string of Unicode symbols (e.g. a domain name label) to a * Punycode string of ASCII-only symbols. * @memberOf punycode * @param {String} input The string of Unicode symbols. * @returns {String} The resulting Punycode string of ASCII-only symbols. */ function encode(input) { var n, delta, handledCPCount, basicLength, bias, j, m, q, k, t, currentValue, output = [], /** `inputLength` will hold the number of code points in `input`. */ inputLength, /** Cached calculation results */ handledCPCountPlusOne, baseMinusT, qMinusT; // Convert the input in UCS-2 to Unicode input = ucs2decode(input); // Cache the length inputLength = input.length; // Initialize the state n = initialN; delta = 0; bias = initialBias; // Handle the basic code points for (j = 0; j < inputLength; ++j) { currentValue = input[j]; if (currentValue < 0x80) { output.push(stringFromCharCode(currentValue)); } } handledCPCount = basicLength = output.length; // `handledCPCount` is the number of code points that have been handled; // `basicLength` is the number of basic code points. // Finish the basic string - if it is not empty - with a delimiter if (basicLength) { output.push(delimiter); } // Main encoding loop: while (handledCPCount < inputLength) { // All non-basic code points < n have been handled already. Find the next // larger one: for (m = maxInt, j = 0; j < inputLength; ++j) { currentValue = input[j]; if (currentValue >= n && currentValue < m) { m = currentValue; } } // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, // but guard against overflow handledCPCountPlusOne = handledCPCount + 1; if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { error('overflow'); } delta += (m - n) * handledCPCountPlusOne; n = m; for (j = 0; j < inputLength; ++j) { currentValue = input[j]; if (currentValue < n && ++delta > maxInt) { error('overflow'); } if (currentValue == n) { // Represent delta as a generalized variable-length integer for (q = delta, k = base; /* no condition */; k += base) { t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); if (q < t) { break; } qMinusT = q - t; baseMinusT = base - t; output.push( stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)) ); q = floor(qMinusT / baseMinusT); } output.push(stringFromCharCode(digitToBasic(q, 0))); bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); delta = 0; ++handledCPCount; } } ++delta; ++n; } return output.join(''); } /** * Converts a Punycode string representing a domain name or an email address * to Unicode. Only the Punycoded parts of the input will be converted, i.e. * it doesn't matter if you call it on a string that has already been * converted to Unicode. * @memberOf punycode * @param {String} input The Punycoded domain name or email address to * convert to Unicode. * @returns {String} The Unicode representation of the given Punycode * string. */ function toUnicode(input) { return mapDomain(input, function(string) { return regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string; }); } /** * Converts a Unicode string representing a domain name or an email address to * Punycode. Only the non-ASCII parts of the domain name will be converted, * i.e. it doesn't matter if you call it with a domain that's already in * ASCII. * @memberOf punycode * @param {String} input The domain name or email address to convert, as a * Unicode string. * @returns {String} The Punycode representation of the given domain name or * email address. */ function toASCII(input) { return mapDomain(input, function(string) { return regexNonASCII.test(string) ? 'xn--' + encode(string) : string; }); } /*--------------------------------------------------------------------------*/ /** Define the public API */ punycode = { /** * A string representing the current Punycode.js version number. * @memberOf punycode * @type String */ 'version': '1.4.1', /** * An object of methods to convert from JavaScript's internal character * representation (UCS-2) to Unicode code points, and back. * @see <https://mathiasbynens.be/notes/javascript-encoding> * @memberOf punycode * @type Object */ 'ucs2': { 'decode': ucs2decode, 'encode': ucs2encode }, 'decode': decode, 'encode': encode, 'toASCII': toASCII, 'toUnicode': toUnicode }; /** Expose `punycode` */ // Some AMD build optimizers, like r.js, check for specific condition patterns // like the following: if ( typeof define == 'function' && typeof define.amd == 'object' && define.amd ) { define('punycode', function() { return punycode; }); } else if (freeExports && freeModule) { if (module.exports == freeExports) { // in Node.js, io.js, or RingoJS v0.8.0+ freeModule.exports = punycode; } else { // in Narwhal or RingoJS v0.7.0- for (key in punycode) { punycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]); } } } else { // in Rhino or a web browser root.punycode = punycode; } }(this)); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],326:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; // If obj.hasOwnProperty has been overridden, then calling // obj.hasOwnProperty(prop) will break. // See: https://github.com/joyent/node/issues/1707 function hasOwnProperty(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } module.exports = function(qs, sep, eq, options) { sep = sep || '&'; eq = eq || '='; var obj = {}; if (typeof qs !== 'string' || qs.length === 0) { return obj; } var regexp = /\+/g; qs = qs.split(sep); var maxKeys = 1000; if (options && typeof options.maxKeys === 'number') { maxKeys = options.maxKeys; } var len = qs.length; // maxKeys <= 0 means that we should not limit keys count if (maxKeys > 0 && len > maxKeys) { len = maxKeys; } for (var i = 0; i < len; ++i) { var x = qs[i].replace(regexp, '%20'), idx = x.indexOf(eq), kstr, vstr, k, v; if (idx >= 0) { kstr = x.substr(0, idx); vstr = x.substr(idx + 1); } else { kstr = x; vstr = ''; } k = decodeURIComponent(kstr); v = decodeURIComponent(vstr); if (!hasOwnProperty(obj, k)) { obj[k] = v; } else if (isArray(obj[k])) { obj[k].push(v); } else { obj[k] = [obj[k], v]; } } return obj; }; var isArray = Array.isArray || function (xs) { return Object.prototype.toString.call(xs) === '[object Array]'; }; },{}],327:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; var stringifyPrimitive = function(v) { switch (typeof v) { case 'string': return v; case 'boolean': return v ? 'true' : 'false'; case 'number': return isFinite(v) ? v : ''; default: return ''; } }; module.exports = function(obj, sep, eq, name) { sep = sep || '&'; eq = eq || '='; if (obj === null) { obj = undefined; } if (typeof obj === 'object') { return map(objectKeys(obj), function(k) { var ks = encodeURIComponent(stringifyPrimitive(k)) + eq; if (isArray(obj[k])) { return map(obj[k], function(v) { return ks + encodeURIComponent(stringifyPrimitive(v)); }).join(sep); } else { return ks + encodeURIComponent(stringifyPrimitive(obj[k])); } }).join(sep); } if (!name) return ''; return encodeURIComponent(stringifyPrimitive(name)) + eq + encodeURIComponent(stringifyPrimitive(obj)); }; var isArray = Array.isArray || function (xs) { return Object.prototype.toString.call(xs) === '[object Array]'; }; function map (xs, f) { if (xs.map) return xs.map(f); var res = []; for (var i = 0; i < xs.length; i++) { res.push(f(xs[i], i)); } return res; } var objectKeys = Object.keys || function (obj) { var res = []; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key); } return res; }; },{}],328:[function(require,module,exports){ 'use strict'; exports.decode = exports.parse = require('./decode'); exports.encode = exports.stringify = require('./encode'); },{"./decode":326,"./encode":327}],329:[function(require,module,exports){ module.exports = require('./lib/_stream_duplex.js'); },{"./lib/_stream_duplex.js":330}],330:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. // a duplex stream is just a stream that is both readable and writable. // Since JS doesn't have multiple prototypal inheritance, this class // prototypally inherits from Readable, and then parasitically from // Writable. 'use strict'; /*<replacement>*/ var pna = require('process-nextick-args'); /*</replacement>*/ /*<replacement>*/ var objectKeys = Object.keys || function (obj) { var keys = []; for (var key in obj) { keys.push(key); }return keys; }; /*</replacement>*/ module.exports = Duplex; /*<replacement>*/ var util = Object.create(require('core-util-is')); util.inherits = require('inherits'); /*</replacement>*/ var Readable = require('./_stream_readable'); var Writable = require('./_stream_writable'); util.inherits(Duplex, Readable); { // avoid scope creep, the keys array can then be collected var keys = objectKeys(Writable.prototype); for (var v = 0; v < keys.length; v++) { var method = keys[v]; if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method]; } } function Duplex(options) { if (!(this instanceof Duplex)) return new Duplex(options); Readable.call(this, options); Writable.call(this, options); if (options && options.readable === false) this.readable = false; if (options && options.writable === false) this.writable = false; this.allowHalfOpen = true; if (options && options.allowHalfOpen === false) this.allowHalfOpen = false; this.once('end', onend); } Object.defineProperty(Duplex.prototype, 'writableHighWaterMark', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function () { return this._writableState.highWaterMark; } }); // the no-half-open enforcer function onend() { // if we allow half-open state, or if the writable side ended, // then we're ok. if (this.allowHalfOpen || this._writableState.ended) return; // no more data can be written. // But allow more writes to happen in this tick. pna.nextTick(onEndNT, this); } function onEndNT(self) { self.end(); } Object.defineProperty(Duplex.prototype, 'destroyed', { get: function () { if (this._readableState === undefined || this._writableState === undefined) { return false; } return this._readableState.destroyed && this._writableState.destroyed; }, set: function (value) { // we ignore the value if the stream // has not been initialized yet if (this._readableState === undefined || this._writableState === undefined) { return; } // backward compatibility, the user is explicitly // managing destroyed this._readableState.destroyed = value; this._writableState.destroyed = value; } }); Duplex.prototype._destroy = function (err, cb) { this.push(null); this.end(); pna.nextTick(cb, err); }; },{"./_stream_readable":332,"./_stream_writable":334,"core-util-is":298,"inherits":311,"process-nextick-args":323}],331:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. // a passthrough stream. // basically just the most minimal sort of Transform stream. // Every written chunk gets output as-is. 'use strict'; module.exports = PassThrough; var Transform = require('./_stream_transform'); /*<replacement>*/ var util = Object.create(require('core-util-is')); util.inherits = require('inherits'); /*</replacement>*/ util.inherits(PassThrough, Transform); function PassThrough(options) { if (!(this instanceof PassThrough)) return new PassThrough(options); Transform.call(this, options); } PassThrough.prototype._transform = function (chunk, encoding, cb) { cb(null, chunk); }; },{"./_stream_transform":333,"core-util-is":298,"inherits":311}],332:[function(require,module,exports){ (function (process,global){(function (){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; /*<replacement>*/ var pna = require('process-nextick-args'); /*</replacement>*/ module.exports = Readable; /*<replacement>*/ var isArray = require('isarray'); /*</replacement>*/ /*<replacement>*/ var Duplex; /*</replacement>*/ Readable.ReadableState = ReadableState; /*<replacement>*/ var EE = require('events').EventEmitter; var EElistenerCount = function (emitter, type) { return emitter.listeners(type).length; }; /*</replacement>*/ /*<replacement>*/ var Stream = require('./internal/streams/stream'); /*</replacement>*/ /*<replacement>*/ var Buffer = require('safe-buffer').Buffer; var OurUint8Array = global.Uint8Array || function () {}; function _uint8ArrayToBuffer(chunk) { return Buffer.from(chunk); } function _isUint8Array(obj) { return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; } /*</replacement>*/ /*<replacement>*/ var util = Object.create(require('core-util-is')); util.inherits = require('inherits'); /*</replacement>*/ /*<replacement>*/ var debugUtil = require('util'); var debug = void 0; if (debugUtil && debugUtil.debuglog) { debug = debugUtil.debuglog('stream'); } else { debug = function () {}; } /*</replacement>*/ var BufferList = require('./internal/streams/BufferList'); var destroyImpl = require('./internal/streams/destroy'); var StringDecoder; util.inherits(Readable, Stream); var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume']; function prependListener(emitter, event, fn) { // Sadly this is not cacheable as some libraries bundle their own // event emitter implementation with them. if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); // This is a hack to make sure that our error handler is attached before any // userland ones. NEVER DO THIS. This is here only because this code needs // to continue to work with older versions of Node.js that do not include // the prependListener() method. The goal is to eventually remove this hack. if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]]; } function ReadableState(options, stream) { Duplex = Duplex || require('./_stream_duplex'); options = options || {}; // Duplex streams are both readable and writable, but share // the same options object. // However, some cases require setting options to different // values for the readable and the writable sides of the duplex stream. // These options can be provided separately as readableXXX and writableXXX. var isDuplex = stream instanceof Duplex; // object stream flag. Used to make read(n) ignore n and to // make all the buffer merging and length checks go away this.objectMode = !!options.objectMode; if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer // Note: 0 is a valid value, means "don't call _read preemptively ever" var hwm = options.highWaterMark; var readableHwm = options.readableHighWaterMark; var defaultHwm = this.objectMode ? 16 : 16 * 1024; if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm === 0)) this.highWaterMark = readableHwm;else this.highWaterMark = defaultHwm; // cast to ints. this.highWaterMark = Math.floor(this.highWaterMark); // A linked list is used to store data chunks instead of an array because the // linked list can remove elements from the beginning faster than // array.shift() this.buffer = new BufferList(); this.length = 0; this.pipes = null; this.pipesCount = 0; this.flowing = null; this.ended = false; this.endEmitted = false; this.reading = false; // a flag to be able to tell if the event 'readable'/'data' is emitted // immediately, or on a later tick. We set this to true at first, because // any actions that shouldn't happen until "later" should generally also // not happen before the first read call. this.sync = true; // whenever we return null, then we set a flag to say // that we're awaiting a 'readable' event emission. this.needReadable = false; this.emittedReadable = false; this.readableListening = false; this.resumeScheduled = false; // has it been destroyed this.destroyed = false; // Crypto is kind of old and crusty. Historically, its default string // encoding is 'binary' so we have to make this configurable. // Everything else in the universe uses 'utf8', though. this.defaultEncoding = options.defaultEncoding || 'utf8'; // the number of writers that are awaiting a drain event in .pipe()s this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled this.readingMore = false; this.decoder = null; this.encoding = null; if (options.encoding) { if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; this.decoder = new StringDecoder(options.encoding); this.encoding = options.encoding; } } function Readable(options) { Duplex = Duplex || require('./_stream_duplex'); if (!(this instanceof Readable)) return new Readable(options); this._readableState = new ReadableState(options, this); // legacy this.readable = true; if (options) { if (typeof options.read === 'function') this._read = options.read; if (typeof options.destroy === 'function') this._destroy = options.destroy; } Stream.call(this); } Object.defineProperty(Readable.prototype, 'destroyed', { get: function () { if (this._readableState === undefined) { return false; } return this._readableState.destroyed; }, set: function (value) { // we ignore the value if the stream // has not been initialized yet if (!this._readableState) { return; } // backward compatibility, the user is explicitly // managing destroyed this._readableState.destroyed = value; } }); Readable.prototype.destroy = destroyImpl.destroy; Readable.prototype._undestroy = destroyImpl.undestroy; Readable.prototype._destroy = function (err, cb) { this.push(null); cb(err); }; // Manually shove something into the read() buffer. // This returns true if the highWaterMark has not been hit yet, // similar to how Writable.write() returns true if you should // write() some more. Readable.prototype.push = function (chunk, encoding) { var state = this._readableState; var skipChunkCheck; if (!state.objectMode) { if (typeof chunk === 'string') { encoding = encoding || state.defaultEncoding; if (encoding !== state.encoding) { chunk = Buffer.from(chunk, encoding); encoding = ''; } skipChunkCheck = true; } } else { skipChunkCheck = true; } return readableAddChunk(this, chunk, encoding, false, skipChunkCheck); }; // Unshift should *always* be something directly out of read() Readable.prototype.unshift = function (chunk) { return readableAddChunk(this, chunk, null, true, false); }; function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) { var state = stream._readableState; if (chunk === null) { state.reading = false; onEofChunk(stream, state); } else { var er; if (!skipChunkCheck) er = chunkInvalid(state, chunk); if (er) { stream.emit('error', er); } else if (state.objectMode || chunk && chunk.length > 0) { if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) { chunk = _uint8ArrayToBuffer(chunk); } if (addToFront) { if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true); } else if (state.ended) { stream.emit('error', new Error('stream.push() after EOF')); } else { state.reading = false; if (state.decoder && !encoding) { chunk = state.decoder.write(chunk); if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state); } else { addChunk(stream, state, chunk, false); } } } else if (!addToFront) { state.reading = false; } } return needMoreData(state); } function addChunk(stream, state, chunk, addToFront) { if (state.flowing && state.length === 0 && !state.sync) { stream.emit('data', chunk); stream.read(0); } else { // update the buffer info. state.length += state.objectMode ? 1 : chunk.length; if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk); if (state.needReadable) emitReadable(stream); } maybeReadMore(stream, state); } function chunkInvalid(state, chunk) { var er; if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { er = new TypeError('Invalid non-string/buffer chunk'); } return er; } // if it's past the high water mark, we can push in some more. // Also, if we have no data yet, we can stand some // more bytes. This is to work around cases where hwm=0, // such as the repl. Also, if the push() triggered a // readable event, and the user called read(largeNumber) such that // needReadable was set, then we ought to push more, so that another // 'readable' event will be triggered. function needMoreData(state) { return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0); } Readable.prototype.isPaused = function () { return this._readableState.flowing === false; }; // backwards compatibility. Readable.prototype.setEncoding = function (enc) { if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; this._readableState.decoder = new StringDecoder(enc); this._readableState.encoding = enc; return this; }; // Don't raise the hwm > 8MB var MAX_HWM = 0x800000; function computeNewHighWaterMark(n) { if (n >= MAX_HWM) { n = MAX_HWM; } else { // Get the next highest power of 2 to prevent increasing hwm excessively in // tiny amounts n--; n |= n >>> 1; n |= n >>> 2; n |= n >>> 4; n |= n >>> 8; n |= n >>> 16; n++; } return n; } // This function is designed to be inlinable, so please take care when making // changes to the function body. function howMuchToRead(n, state) { if (n <= 0 || state.length === 0 && state.ended) return 0; if (state.objectMode) return 1; if (n !== n) { // Only flow one buffer at a time if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length; } // If we're asking for more than the current hwm, then raise the hwm. if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n); if (n <= state.length) return n; // Don't have enough if (!state.ended) { state.needReadable = true; return 0; } return state.length; } // you can override either this method, or the async _read(n) below. Readable.prototype.read = function (n) { debug('read', n); n = parseInt(n, 10); var state = this._readableState; var nOrig = n; if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we // already have a bunch of data in the buffer, then just trigger // the 'readable' event and move on. if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) { debug('read: emitReadable', state.length, state.ended); if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this); return null; } n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up. if (n === 0 && state.ended) { if (state.length === 0) endReadable(this); return null; } // All the actual chunk generation logic needs to be // *below* the call to _read. The reason is that in certain // synthetic stream cases, such as passthrough streams, _read // may be a completely synchronous operation which may change // the state of the read buffer, providing enough data when // before there was *not* enough. // // So, the steps are: // 1. Figure out what the state of things will be after we do // a read from the buffer. // // 2. If that resulting state will trigger a _read, then call _read. // Note that this may be asynchronous, or synchronous. Yes, it is // deeply ugly to write APIs this way, but that still doesn't mean // that the Readable class should behave improperly, as streams are // designed to be sync/async agnostic. // Take note if the _read call is sync or async (ie, if the read call // has returned yet), so that we know whether or not it's safe to emit // 'readable' etc. // // 3. Actually pull the requested chunks out of the buffer and return. // if we need a readable event, then we need to do some reading. var doRead = state.needReadable; debug('need readable', doRead); // if we currently have less than the highWaterMark, then also read some if (state.length === 0 || state.length - n < state.highWaterMark) { doRead = true; debug('length less than watermark', doRead); } // however, if we've ended, then there's no point, and if we're already // reading, then it's unnecessary. if (state.ended || state.reading) { doRead = false; debug('reading or ended', doRead); } else if (doRead) { debug('do read'); state.reading = true; state.sync = true; // if the length is currently zero, then we *need* a readable event. if (state.length === 0) state.needReadable = true; // call internal read method this._read(state.highWaterMark); state.sync = false; // If _read pushed data synchronously, then `reading` will be false, // and we need to re-evaluate how much data we can return to the user. if (!state.reading) n = howMuchToRead(nOrig, state); } var ret; if (n > 0) ret = fromList(n, state);else ret = null; if (ret === null) { state.needReadable = true; n = 0; } else { state.length -= n; } if (state.length === 0) { // If we have nothing in the buffer, then we want to know // as soon as we *do* get something into the buffer. if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick. if (nOrig !== n && state.ended) endReadable(this); } if (ret !== null) this.emit('data', ret); return ret; }; function onEofChunk(stream, state) { if (state.ended) return; if (state.decoder) { var chunk = state.decoder.end(); if (chunk && chunk.length) { state.buffer.push(chunk); state.length += state.objectMode ? 1 : chunk.length; } } state.ended = true; // emit 'readable' now to make sure it gets picked up. emitReadable(stream); } // Don't emit readable right away in sync mode, because this can trigger // another read() call => stack overflow. This way, it might trigger // a nextTick recursion warning, but that's not so bad. function emitReadable(stream) { var state = stream._readableState; state.needReadable = false; if (!state.emittedReadable) { debug('emitReadable', state.flowing); state.emittedReadable = true; if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream); } } function emitReadable_(stream) { debug('emit readable'); stream.emit('readable'); flow(stream); } // at this point, the user has presumably seen the 'readable' event, // and called read() to consume some data. that may have triggered // in turn another _read(n) call, in which case reading = true if // it's in progress. // However, if we're not ended, or reading, and the length < hwm, // then go ahead and try to read some more preemptively. function maybeReadMore(stream, state) { if (!state.readingMore) { state.readingMore = true; pna.nextTick(maybeReadMore_, stream, state); } } function maybeReadMore_(stream, state) { var len = state.length; while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) { debug('maybeReadMore read 0'); stream.read(0); if (len === state.length) // didn't get any data, stop spinning. break;else len = state.length; } state.readingMore = false; } // abstract method. to be overridden in specific implementation classes. // call cb(er, data) where data is <= n in length. // for virtual (non-string, non-buffer) streams, "length" is somewhat // arbitrary, and perhaps not very meaningful. Readable.prototype._read = function (n) { this.emit('error', new Error('_read() is not implemented')); }; Readable.prototype.pipe = function (dest, pipeOpts) { var src = this; var state = this._readableState; switch (state.pipesCount) { case 0: state.pipes = dest; break; case 1: state.pipes = [state.pipes, dest]; break; default: state.pipes.push(dest); break; } state.pipesCount += 1; debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts); var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr; var endFn = doEnd ? onend : unpipe; if (state.endEmitted) pna.nextTick(endFn);else src.once('end', endFn); dest.on('unpipe', onunpipe); function onunpipe(readable, unpipeInfo) { debug('onunpipe'); if (readable === src) { if (unpipeInfo && unpipeInfo.hasUnpiped === false) { unpipeInfo.hasUnpiped = true; cleanup(); } } } function onend() { debug('onend'); dest.end(); } // when the dest drains, it reduces the awaitDrain counter // on the source. This would be more elegant with a .once() // handler in flow(), but adding and removing repeatedly is // too slow. var ondrain = pipeOnDrain(src); dest.on('drain', ondrain); var cleanedUp = false; function cleanup() { debug('cleanup'); // cleanup event handlers once the pipe is broken dest.removeListener('close', onclose); dest.removeListener('finish', onfinish); dest.removeListener('drain', ondrain); dest.removeListener('error', onerror); dest.removeListener('unpipe', onunpipe); src.removeListener('end', onend); src.removeListener('end', unpipe); src.removeListener('data', ondata); cleanedUp = true; // if the reader is waiting for a drain event from this // specific writer, then it would cause it to never start // flowing again. // So, if this is awaiting a drain, then we just call it now. // If we don't know, then assume that we are waiting for one. if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain(); } // If the user pushes more data while we're writing to dest then we'll end up // in ondata again. However, we only want to increase awaitDrain once because // dest will only emit one 'drain' event for the multiple writes. // => Introduce a guard on increasing awaitDrain. var increasedAwaitDrain = false; src.on('data', ondata); function ondata(chunk) { debug('ondata'); increasedAwaitDrain = false; var ret = dest.write(chunk); if (false === ret && !increasedAwaitDrain) { // If the user unpiped during `dest.write()`, it is possible // to get stuck in a permanently paused state if that write // also returned false. // => Check whether `dest` is still a piping destination. if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) { debug('false write response, pause', src._readableState.awaitDrain); src._readableState.awaitDrain++; increasedAwaitDrain = true; } src.pause(); } } // if the dest has an error, then stop piping into it. // however, don't suppress the throwing behavior for this. function onerror(er) { debug('onerror', er); unpipe(); dest.removeListener('error', onerror); if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er); } // Make sure our error handler is attached before userland ones. prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once. function onclose() { dest.removeListener('finish', onfinish); unpipe(); } dest.once('close', onclose); function onfinish() { debug('onfinish'); dest.removeListener('close', onclose); unpipe(); } dest.once('finish', onfinish); function unpipe() { debug('unpipe'); src.unpipe(dest); } // tell the dest that it's being piped to dest.emit('pipe', src); // start the flow if it hasn't been started already. if (!state.flowing) { debug('pipe resume'); src.resume(); } return dest; }; function pipeOnDrain(src) { return function () { var state = src._readableState; debug('pipeOnDrain', state.awaitDrain); if (state.awaitDrain) state.awaitDrain--; if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) { state.flowing = true; flow(src); } }; } Readable.prototype.unpipe = function (dest) { var state = this._readableState; var unpipeInfo = { hasUnpiped: false }; // if we're not piping anywhere, then do nothing. if (state.pipesCount === 0) return this; // just one destination. most common case. if (state.pipesCount === 1) { // passed in one, but it's not the right one. if (dest && dest !== state.pipes) return this; if (!dest) dest = state.pipes; // got a match. state.pipes = null; state.pipesCount = 0; state.flowing = false; if (dest) dest.emit('unpipe', this, unpipeInfo); return this; } // slow case. multiple pipe destinations. if (!dest) { // remove all. var dests = state.pipes; var len = state.pipesCount; state.pipes = null; state.pipesCount = 0; state.flowing = false; for (var i = 0; i < len; i++) { dests[i].emit('unpipe', this, unpipeInfo); }return this; } // try to find the right one. var index = indexOf(state.pipes, dest); if (index === -1) return this; state.pipes.splice(index, 1); state.pipesCount -= 1; if (state.pipesCount === 1) state.pipes = state.pipes[0]; dest.emit('unpipe', this, unpipeInfo); return this; }; // set up data events if they are asked for // Ensure readable listeners eventually get something Readable.prototype.on = function (ev, fn) { var res = Stream.prototype.on.call(this, ev, fn); if (ev === 'data') { // Start flowing on next tick if stream isn't explicitly paused if (this._readableState.flowing !== false) this.resume(); } else if (ev === 'readable') { var state = this._readableState; if (!state.endEmitted && !state.readableListening) { state.readableListening = state.needReadable = true; state.emittedReadable = false; if (!state.reading) { pna.nextTick(nReadingNextTick, this); } else if (state.length) { emitReadable(this); } } } return res; }; Readable.prototype.addListener = Readable.prototype.on; function nReadingNextTick(self) { debug('readable nexttick read 0'); self.read(0); } // pause() and resume() are remnants of the legacy readable stream API // If the user uses them, then switch into old mode. Readable.prototype.resume = function () { var state = this._readableState; if (!state.flowing) { debug('resume'); state.flowing = true; resume(this, state); } return this; }; function resume(stream, state) { if (!state.resumeScheduled) { state.resumeScheduled = true; pna.nextTick(resume_, stream, state); } } function resume_(stream, state) { if (!state.reading) { debug('resume read 0'); stream.read(0); } state.resumeScheduled = false; state.awaitDrain = 0; stream.emit('resume'); flow(stream); if (state.flowing && !state.reading) stream.read(0); } Readable.prototype.pause = function () { debug('call pause flowing=%j', this._readableState.flowing); if (false !== this._readableState.flowing) { debug('pause'); this._readableState.flowing = false; this.emit('pause'); } return this; }; function flow(stream) { var state = stream._readableState; debug('flow', state.flowing); while (state.flowing && stream.read() !== null) {} } // wrap an old-style stream as the async data source. // This is *not* part of the readable stream interface. // It is an ugly unfortunate mess of history. Readable.prototype.wrap = function (stream) { var _this = this; var state = this._readableState; var paused = false; stream.on('end', function () { debug('wrapped end'); if (state.decoder && !state.ended) { var chunk = state.decoder.end(); if (chunk && chunk.length) _this.push(chunk); } _this.push(null); }); stream.on('data', function (chunk) { debug('wrapped data'); if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return; var ret = _this.push(chunk); if (!ret) { paused = true; stream.pause(); } }); // proxy all the other methods. // important when wrapping filters and duplexes. for (var i in stream) { if (this[i] === undefined && typeof stream[i] === 'function') { this[i] = function (method) { return function () { return stream[method].apply(stream, arguments); }; }(i); } } // proxy certain important events. for (var n = 0; n < kProxyEvents.length; n++) { stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n])); } // when we try to consume some more bytes, simply unpause the // underlying stream. this._read = function (n) { debug('wrapped _read', n); if (paused) { paused = false; stream.resume(); } }; return this; }; Object.defineProperty(Readable.prototype, 'readableHighWaterMark', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function () { return this._readableState.highWaterMark; } }); // exposed for testing purposes only. Readable._fromList = fromList; // Pluck off n bytes from an array of buffers. // Length is the combined lengths of all the buffers in the list. // This function is designed to be inlinable, so please take care when making // changes to the function body. function fromList(n, state) { // nothing buffered if (state.length === 0) return null; var ret; if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) { // read it all, truncate the list if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length); state.buffer.clear(); } else { // read part of list ret = fromListPartial(n, state.buffer, state.decoder); } return ret; } // Extracts only enough buffered data to satisfy the amount requested. // This function is designed to be inlinable, so please take care when making // changes to the function body. function fromListPartial(n, list, hasStrings) { var ret; if (n < list.head.data.length) { // slice is the same for buffers and strings ret = list.head.data.slice(0, n); list.head.data = list.head.data.slice(n); } else if (n === list.head.data.length) { // first chunk is a perfect match ret = list.shift(); } else { // result spans more than one buffer ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list); } return ret; } // Copies a specified amount of characters from the list of buffered data // chunks. // This function is designed to be inlinable, so please take care when making // changes to the function body. function copyFromBufferString(n, list) { var p = list.head; var c = 1; var ret = p.data; n -= ret.length; while (p = p.next) { var str = p.data; var nb = n > str.length ? str.length : n; if (nb === str.length) ret += str;else ret += str.slice(0, n); n -= nb; if (n === 0) { if (nb === str.length) { ++c; if (p.next) list.head = p.next;else list.head = list.tail = null; } else { list.head = p; p.data = str.slice(nb); } break; } ++c; } list.length -= c; return ret; } // Copies a specified amount of bytes from the list of buffered data chunks. // This function is designed to be inlinable, so please take care when making // changes to the function body. function copyFromBuffer(n, list) { var ret = Buffer.allocUnsafe(n); var p = list.head; var c = 1; p.data.copy(ret); n -= p.data.length; while (p = p.next) { var buf = p.data; var nb = n > buf.length ? buf.length : n; buf.copy(ret, ret.length - n, 0, nb); n -= nb; if (n === 0) { if (nb === buf.length) { ++c; if (p.next) list.head = p.next;else list.head = list.tail = null; } else { list.head = p; p.data = buf.slice(nb); } break; } ++c; } list.length -= c; return ret; } function endReadable(stream) { var state = stream._readableState; // If we get here before consuming all the bytes, then that is a // bug in node. Should never happen. if (state.length > 0) throw new Error('"endReadable()" called on non-empty stream'); if (!state.endEmitted) { state.ended = true; pna.nextTick(endReadableNT, state, stream); } } function endReadableNT(state, stream) { // Check that we didn't get one last unshift. if (!state.endEmitted && state.length === 0) { state.endEmitted = true; stream.readable = false; stream.emit('end'); } } function indexOf(xs, x) { for (var i = 0, l = xs.length; i < l; i++) { if (xs[i] === x) return i; } return -1; } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{"./_stream_duplex":330,"./internal/streams/BufferList":335,"./internal/streams/destroy":336,"./internal/streams/stream":337,"_process":399,"core-util-is":298,"events":301,"inherits":311,"isarray":313,"process-nextick-args":323,"safe-buffer":343,"string_decoder/":346,"util":84}],333:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. // a transform stream is a readable/writable stream where you do // something with the data. Sometimes it's called a "filter", // but that's not a great name for it, since that implies a thing where // some bits pass through, and others are simply ignored. (That would // be a valid example of a transform, of course.) // // While the output is causally related to the input, it's not a // necessarily symmetric or synchronous transformation. For example, // a zlib stream might take multiple plain-text writes(), and then // emit a single compressed chunk some time in the future. // // Here's how this works: // // The Transform stream has all the aspects of the readable and writable // stream classes. When you write(chunk), that calls _write(chunk,cb) // internally, and returns false if there's a lot of pending writes // buffered up. When you call read(), that calls _read(n) until // there's enough pending readable data buffered up. // // In a transform stream, the written data is placed in a buffer. When // _read(n) is called, it transforms the queued up data, calling the // buffered _write cb's as it consumes chunks. If consuming a single // written chunk would result in multiple output chunks, then the first // outputted bit calls the readcb, and subsequent chunks just go into // the read buffer, and will cause it to emit 'readable' if necessary. // // This way, back-pressure is actually determined by the reading side, // since _read has to be called to start processing a new chunk. However, // a pathological inflate type of transform can cause excessive buffering // here. For example, imagine a stream where every byte of input is // interpreted as an integer from 0-255, and then results in that many // bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in // 1kb of data being output. In this case, you could write a very small // amount of input, and end up with a very large amount of output. In // such a pathological inflating mechanism, there'd be no way to tell // the system to stop doing the transform. A single 4MB write could // cause the system to run out of memory. // // However, even in such a pathological case, only a single written chunk // would be consumed, and then the rest would wait (un-transformed) until // the results of the previous transformed chunk were consumed. 'use strict'; module.exports = Transform; var Duplex = require('./_stream_duplex'); /*<replacement>*/ var util = Object.create(require('core-util-is')); util.inherits = require('inherits'); /*</replacement>*/ util.inherits(Transform, Duplex); function afterTransform(er, data) { var ts = this._transformState; ts.transforming = false; var cb = ts.writecb; if (!cb) { return this.emit('error', new Error('write callback called multiple times')); } ts.writechunk = null; ts.writecb = null; if (data != null) // single equals check for both `null` and `undefined` this.push(data); cb(er); var rs = this._readableState; rs.reading = false; if (rs.needReadable || rs.length < rs.highWaterMark) { this._read(rs.highWaterMark); } } function Transform(options) { if (!(this instanceof Transform)) return new Transform(options); Duplex.call(this, options); this._transformState = { afterTransform: afterTransform.bind(this), needTransform: false, transforming: false, writecb: null, writechunk: null, writeencoding: null }; // start out asking for a readable event once data is transformed. this._readableState.needReadable = true; // we have implemented the _read method, and done the other things // that Readable wants before the first _read call, so unset the // sync guard flag. this._readableState.sync = false; if (options) { if (typeof options.transform === 'function') this._transform = options.transform; if (typeof options.flush === 'function') this._flush = options.flush; } // When the writable side finishes, then flush out anything remaining. this.on('prefinish', prefinish); } function prefinish() { var _this = this; if (typeof this._flush === 'function') { this._flush(function (er, data) { done(_this, er, data); }); } else { done(this, null, null); } } Transform.prototype.push = function (chunk, encoding) { this._transformState.needTransform = false; return Duplex.prototype.push.call(this, chunk, encoding); }; // This is the part where you do stuff! // override this function in implementation classes. // 'chunk' is an input chunk. // // Call `push(newChunk)` to pass along transformed output // to the readable side. You may call 'push' zero or more times. // // Call `cb(err)` when you are done with this chunk. If you pass // an error, then that'll put the hurt on the whole operation. If you // never call cb(), then you'll never get another chunk. Transform.prototype._transform = function (chunk, encoding, cb) { throw new Error('_transform() is not implemented'); }; Transform.prototype._write = function (chunk, encoding, cb) { var ts = this._transformState; ts.writecb = cb; ts.writechunk = chunk; ts.writeencoding = encoding; if (!ts.transforming) { var rs = this._readableState; if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark); } }; // Doesn't matter what the args are here. // _transform does all the work. // That we got here means that the readable side wants more data. Transform.prototype._read = function (n) { var ts = this._transformState; if (ts.writechunk !== null && ts.writecb && !ts.transforming) { ts.transforming = true; this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform); } else { // mark that we need a transform, so that any data that comes in // will get processed, now that we've asked for it. ts.needTransform = true; } }; Transform.prototype._destroy = function (err, cb) { var _this2 = this; Duplex.prototype._destroy.call(this, err, function (err2) { cb(err2); _this2.emit('close'); }); }; function done(stream, er, data) { if (er) return stream.emit('error', er); if (data != null) // single equals check for both `null` and `undefined` stream.push(data); // if there's nothing in the write buffer, then that means // that nothing more will ever be provided if (stream._writableState.length) throw new Error('Calling transform done when ws.length != 0'); if (stream._transformState.transforming) throw new Error('Calling transform done when still transforming'); return stream.push(null); } },{"./_stream_duplex":330,"core-util-is":298,"inherits":311}],334:[function(require,module,exports){ (function (process,global,setImmediate){(function (){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. // A bit simpler than readable streams. // Implement an async ._write(chunk, encoding, cb), and it'll handle all // the drain event emission and buffering. 'use strict'; /*<replacement>*/ var pna = require('process-nextick-args'); /*</replacement>*/ module.exports = Writable; /* <replacement> */ function WriteReq(chunk, encoding, cb) { this.chunk = chunk; this.encoding = encoding; this.callback = cb; this.next = null; } // It seems a linked list but it is not // there will be only 2 of these for each stream function CorkedRequest(state) { var _this = this; this.next = null; this.entry = null; this.finish = function () { onCorkedFinish(_this, state); }; } /* </replacement> */ /*<replacement>*/ var asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick; /*</replacement>*/ /*<replacement>*/ var Duplex; /*</replacement>*/ Writable.WritableState = WritableState; /*<replacement>*/ var util = Object.create(require('core-util-is')); util.inherits = require('inherits'); /*</replacement>*/ /*<replacement>*/ var internalUtil = { deprecate: require('util-deprecate') }; /*</replacement>*/ /*<replacement>*/ var Stream = require('./internal/streams/stream'); /*</replacement>*/ /*<replacement>*/ var Buffer = require('safe-buffer').Buffer; var OurUint8Array = global.Uint8Array || function () {}; function _uint8ArrayToBuffer(chunk) { return Buffer.from(chunk); } function _isUint8Array(obj) { return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; } /*</replacement>*/ var destroyImpl = require('./internal/streams/destroy'); util.inherits(Writable, Stream); function nop() {} function WritableState(options, stream) { Duplex = Duplex || require('./_stream_duplex'); options = options || {}; // Duplex streams are both readable and writable, but share // the same options object. // However, some cases require setting options to different // values for the readable and the writable sides of the duplex stream. // These options can be provided separately as readableXXX and writableXXX. var isDuplex = stream instanceof Duplex; // object stream flag to indicate whether or not this stream // contains buffers or objects. this.objectMode = !!options.objectMode; if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false // Note: 0 is a valid value, means that we always return false if // the entire buffer is not flushed immediately on write() var hwm = options.highWaterMark; var writableHwm = options.writableHighWaterMark; var defaultHwm = this.objectMode ? 16 : 16 * 1024; if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm === 0)) this.highWaterMark = writableHwm;else this.highWaterMark = defaultHwm; // cast to ints. this.highWaterMark = Math.floor(this.highWaterMark); // if _final has been called this.finalCalled = false; // drain event flag. this.needDrain = false; // at the start of calling end() this.ending = false; // when end() has been called, and returned this.ended = false; // when 'finish' is emitted this.finished = false; // has it been destroyed this.destroyed = false; // should we decode strings into buffers before passing to _write? // this is here so that some node-core streams can optimize string // handling at a lower level. var noDecode = options.decodeStrings === false; this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string // encoding is 'binary' so we have to make this configurable. // Everything else in the universe uses 'utf8', though. this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement // of how much we're waiting to get pushed to some underlying // socket or file. this.length = 0; // a flag to see when we're in the middle of a write. this.writing = false; // when true all writes will be buffered until .uncork() call this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately, // or on a later tick. We set this to true at first, because any // actions that shouldn't happen until "later" should generally also // not happen before the first write call. this.sync = true; // a flag to know if we're processing previously buffered items, which // may call the _write() callback in the same tick, so that we don't // end up in an overlapped onwrite situation. this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb) this.onwrite = function (er) { onwrite(stream, er); }; // the callback that the user supplies to write(chunk,encoding,cb) this.writecb = null; // the amount that is being written when _write is called. this.writelen = 0; this.bufferedRequest = null; this.lastBufferedRequest = null; // number of pending user-supplied write callbacks // this must be 0 before 'finish' can be emitted this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs // This is relevant for synchronous Transform streams this.prefinished = false; // True if the error was already emitted and should not be thrown again this.errorEmitted = false; // count buffered requests this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always // one allocated and free to use, and we maintain at most two this.corkedRequestsFree = new CorkedRequest(this); } WritableState.prototype.getBuffer = function getBuffer() { var current = this.bufferedRequest; var out = []; while (current) { out.push(current); current = current.next; } return out; }; (function () { try { Object.defineProperty(WritableState.prototype, 'buffer', { get: internalUtil.deprecate(function () { return this.getBuffer(); }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003') }); } catch (_) {} })(); // Test _writableState for inheritance to account for Duplex streams, // whose prototype chain only points to Readable. var realHasInstance; if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') { realHasInstance = Function.prototype[Symbol.hasInstance]; Object.defineProperty(Writable, Symbol.hasInstance, { value: function (object) { if (realHasInstance.call(this, object)) return true; if (this !== Writable) return false; return object && object._writableState instanceof WritableState; } }); } else { realHasInstance = function (object) { return object instanceof this; }; } function Writable(options) { Duplex = Duplex || require('./_stream_duplex'); // Writable ctor is applied to Duplexes, too. // `realHasInstance` is necessary because using plain `instanceof` // would return false, as no `_writableState` property is attached. // Trying to use the custom `instanceof` for Writable here will also break the // Node.js LazyTransform implementation, which has a non-trivial getter for // `_writableState` that would lead to infinite recursion. if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) { return new Writable(options); } this._writableState = new WritableState(options, this); // legacy. this.writable = true; if (options) { if (typeof options.write === 'function') this._write = options.write; if (typeof options.writev === 'function') this._writev = options.writev; if (typeof options.destroy === 'function') this._destroy = options.destroy; if (typeof options.final === 'function') this._final = options.final; } Stream.call(this); } // Otherwise people can pipe Writable streams, which is just wrong. Writable.prototype.pipe = function () { this.emit('error', new Error('Cannot pipe, not readable')); }; function writeAfterEnd(stream, cb) { var er = new Error('write after end'); // TODO: defer error events consistently everywhere, not just the cb stream.emit('error', er); pna.nextTick(cb, er); } // Checks that a user-supplied chunk is valid, especially for the particular // mode the stream is in. Currently this means that `null` is never accepted // and undefined/non-string values are only allowed in object mode. function validChunk(stream, state, chunk, cb) { var valid = true; var er = false; if (chunk === null) { er = new TypeError('May not write null values to stream'); } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { er = new TypeError('Invalid non-string/buffer chunk'); } if (er) { stream.emit('error', er); pna.nextTick(cb, er); valid = false; } return valid; } Writable.prototype.write = function (chunk, encoding, cb) { var state = this._writableState; var ret = false; var isBuf = !state.objectMode && _isUint8Array(chunk); if (isBuf && !Buffer.isBuffer(chunk)) { chunk = _uint8ArrayToBuffer(chunk); } if (typeof encoding === 'function') { cb = encoding; encoding = null; } if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding; if (typeof cb !== 'function') cb = nop; if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) { state.pendingcb++; ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb); } return ret; }; Writable.prototype.cork = function () { var state = this._writableState; state.corked++; }; Writable.prototype.uncork = function () { var state = this._writableState; if (state.corked) { state.corked--; if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state); } }; Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) { // node::ParseEncoding() requires lower case. if (typeof encoding === 'string') encoding = encoding.toLowerCase(); if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding); this._writableState.defaultEncoding = encoding; return this; }; function decodeChunk(state, chunk, encoding) { if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') { chunk = Buffer.from(chunk, encoding); } return chunk; } Object.defineProperty(Writable.prototype, 'writableHighWaterMark', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function () { return this._writableState.highWaterMark; } }); // if we're already writing something, then just put this // in the queue, and wait our turn. Otherwise, call _write // If we return false, then we need a drain event, so set that flag. function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) { if (!isBuf) { var newChunk = decodeChunk(state, chunk, encoding); if (chunk !== newChunk) { isBuf = true; encoding = 'buffer'; chunk = newChunk; } } var len = state.objectMode ? 1 : chunk.length; state.length += len; var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false. if (!ret) state.needDrain = true; if (state.writing || state.corked) { var last = state.lastBufferedRequest; state.lastBufferedRequest = { chunk: chunk, encoding: encoding, isBuf: isBuf, callback: cb, next: null }; if (last) { last.next = state.lastBufferedRequest; } else { state.bufferedRequest = state.lastBufferedRequest; } state.bufferedRequestCount += 1; } else { doWrite(stream, state, false, len, chunk, encoding, cb); } return ret; } function doWrite(stream, state, writev, len, chunk, encoding, cb) { state.writelen = len; state.writecb = cb; state.writing = true; state.sync = true; if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite); state.sync = false; } function onwriteError(stream, state, sync, er, cb) { --state.pendingcb; if (sync) { // defer the callback if we are being called synchronously // to avoid piling up things on the stack pna.nextTick(cb, er); // this can emit finish, and it will always happen // after error pna.nextTick(finishMaybe, stream, state); stream._writableState.errorEmitted = true; stream.emit('error', er); } else { // the caller expect this to happen before if // it is async cb(er); stream._writableState.errorEmitted = true; stream.emit('error', er); // this can emit finish, but finish must // always follow error finishMaybe(stream, state); } } function onwriteStateUpdate(state) { state.writing = false; state.writecb = null; state.length -= state.writelen; state.writelen = 0; } function onwrite(stream, er) { var state = stream._writableState; var sync = state.sync; var cb = state.writecb; onwriteStateUpdate(state); if (er) onwriteError(stream, state, sync, er, cb);else { // Check if we're actually ready to finish, but don't emit yet var finished = needFinish(state); if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) { clearBuffer(stream, state); } if (sync) { /*<replacement>*/ asyncWrite(afterWrite, stream, state, finished, cb); /*</replacement>*/ } else { afterWrite(stream, state, finished, cb); } } } function afterWrite(stream, state, finished, cb) { if (!finished) onwriteDrain(stream, state); state.pendingcb--; cb(); finishMaybe(stream, state); } // Must force callback to be called on nextTick, so that we don't // emit 'drain' before the write() consumer gets the 'false' return // value, and has a chance to attach a 'drain' listener. function onwriteDrain(stream, state) { if (state.length === 0 && state.needDrain) { state.needDrain = false; stream.emit('drain'); } } // if there's something in the buffer waiting, then process it function clearBuffer(stream, state) { state.bufferProcessing = true; var entry = state.bufferedRequest; if (stream._writev && entry && entry.next) { // Fast case, write everything using _writev() var l = state.bufferedRequestCount; var buffer = new Array(l); var holder = state.corkedRequestsFree; holder.entry = entry; var count = 0; var allBuffers = true; while (entry) { buffer[count] = entry; if (!entry.isBuf) allBuffers = false; entry = entry.next; count += 1; } buffer.allBuffers = allBuffers; doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time // as the hot path ends with doWrite state.pendingcb++; state.lastBufferedRequest = null; if (holder.next) { state.corkedRequestsFree = holder.next; holder.next = null; } else { state.corkedRequestsFree = new CorkedRequest(state); } state.bufferedRequestCount = 0; } else { // Slow case, write chunks one-by-one while (entry) { var chunk = entry.chunk; var encoding = entry.encoding; var cb = entry.callback; var len = state.objectMode ? 1 : chunk.length; doWrite(stream, state, false, len, chunk, encoding, cb); entry = entry.next; state.bufferedRequestCount--; // if we didn't call the onwrite immediately, then // it means that we need to wait until it does. // also, that means that the chunk and cb are currently // being processed, so move the buffer counter past them. if (state.writing) { break; } } if (entry === null) state.lastBufferedRequest = null; } state.bufferedRequest = entry; state.bufferProcessing = false; } Writable.prototype._write = function (chunk, encoding, cb) { cb(new Error('_write() is not implemented')); }; Writable.prototype._writev = null; Writable.prototype.end = function (chunk, encoding, cb) { var state = this._writableState; if (typeof chunk === 'function') { cb = chunk; chunk = null; encoding = null; } else if (typeof encoding === 'function') { cb = encoding; encoding = null; } if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); // .end() fully uncorks if (state.corked) { state.corked = 1; this.uncork(); } // ignore unnecessary end() calls. if (!state.ending && !state.finished) endWritable(this, state, cb); }; function needFinish(state) { return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing; } function callFinal(stream, state) { stream._final(function (err) { state.pendingcb--; if (err) { stream.emit('error', err); } state.prefinished = true; stream.emit('prefinish'); finishMaybe(stream, state); }); } function prefinish(stream, state) { if (!state.prefinished && !state.finalCalled) { if (typeof stream._final === 'function') { state.pendingcb++; state.finalCalled = true; pna.nextTick(callFinal, stream, state); } else { state.prefinished = true; stream.emit('prefinish'); } } } function finishMaybe(stream, state) { var need = needFinish(state); if (need) { prefinish(stream, state); if (state.pendingcb === 0) { state.finished = true; stream.emit('finish'); } } return need; } function endWritable(stream, state, cb) { state.ending = true; finishMaybe(stream, state); if (cb) { if (state.finished) pna.nextTick(cb);else stream.once('finish', cb); } state.ended = true; stream.writable = false; } function onCorkedFinish(corkReq, state, err) { var entry = corkReq.entry; corkReq.entry = null; while (entry) { var cb = entry.callback; state.pendingcb--; cb(err); entry = entry.next; } if (state.corkedRequestsFree) { state.corkedRequestsFree.next = corkReq; } else { state.corkedRequestsFree = corkReq; } } Object.defineProperty(Writable.prototype, 'destroyed', { get: function () { if (this._writableState === undefined) { return false; } return this._writableState.destroyed; }, set: function (value) { // we ignore the value if the stream // has not been initialized yet if (!this._writableState) { return; } // backward compatibility, the user is explicitly // managing destroyed this._writableState.destroyed = value; } }); Writable.prototype.destroy = destroyImpl.destroy; Writable.prototype._undestroy = destroyImpl.undestroy; Writable.prototype._destroy = function (err, cb) { this.end(); cb(err); }; }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("timers").setImmediate) },{"./_stream_duplex":330,"./internal/streams/destroy":336,"./internal/streams/stream":337,"_process":399,"core-util-is":298,"inherits":311,"process-nextick-args":323,"safe-buffer":343,"timers":347,"util-deprecate":349}],335:[function(require,module,exports){ 'use strict'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var Buffer = require('safe-buffer').Buffer; var util = require('util'); function copyBuffer(src, target, offset) { src.copy(target, offset); } module.exports = function () { function BufferList() { _classCallCheck(this, BufferList); this.head = null; this.tail = null; this.length = 0; } BufferList.prototype.push = function push(v) { var entry = { data: v, next: null }; if (this.length > 0) this.tail.next = entry;else this.head = entry; this.tail = entry; ++this.length; }; BufferList.prototype.unshift = function unshift(v) { var entry = { data: v, next: this.head }; if (this.length === 0) this.tail = entry; this.head = entry; ++this.length; }; BufferList.prototype.shift = function shift() { if (this.length === 0) return; var ret = this.head.data; if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next; --this.length; return ret; }; BufferList.prototype.clear = function clear() { this.head = this.tail = null; this.length = 0; }; BufferList.prototype.join = function join(s) { if (this.length === 0) return ''; var p = this.head; var ret = '' + p.data; while (p = p.next) { ret += s + p.data; }return ret; }; BufferList.prototype.concat = function concat(n) { if (this.length === 0) return Buffer.alloc(0); if (this.length === 1) return this.head.data; var ret = Buffer.allocUnsafe(n >>> 0); var p = this.head; var i = 0; while (p) { copyBuffer(p.data, ret, i); i += p.data.length; p = p.next; } return ret; }; return BufferList; }(); if (util && util.inspect && util.inspect.custom) { module.exports.prototype[util.inspect.custom] = function () { var obj = util.inspect({ length: this.length }); return this.constructor.name + ' ' + obj; }; } },{"safe-buffer":343,"util":84}],336:[function(require,module,exports){ 'use strict'; /*<replacement>*/ var pna = require('process-nextick-args'); /*</replacement>*/ // undocumented cb() API, needed for core, not for public API function destroy(err, cb) { var _this = this; var readableDestroyed = this._readableState && this._readableState.destroyed; var writableDestroyed = this._writableState && this._writableState.destroyed; if (readableDestroyed || writableDestroyed) { if (cb) { cb(err); } else if (err && (!this._writableState || !this._writableState.errorEmitted)) { pna.nextTick(emitErrorNT, this, err); } return this; } // we set destroyed to true before firing error callbacks in order // to make it re-entrance safe in case destroy() is called within callbacks if (this._readableState) { this._readableState.destroyed = true; } // if this is a duplex stream mark the writable part as destroyed as well if (this._writableState) { this._writableState.destroyed = true; } this._destroy(err || null, function (err) { if (!cb && err) { pna.nextTick(emitErrorNT, _this, err); if (_this._writableState) { _this._writableState.errorEmitted = true; } } else if (cb) { cb(err); } }); return this; } function undestroy() { if (this._readableState) { this._readableState.destroyed = false; this._readableState.reading = false; this._readableState.ended = false; this._readableState.endEmitted = false; } if (this._writableState) { this._writableState.destroyed = false; this._writableState.ended = false; this._writableState.ending = false; this._writableState.finished = false; this._writableState.errorEmitted = false; } } function emitErrorNT(self, err) { self.emit('error', err); } module.exports = { destroy: destroy, undestroy: undestroy }; },{"process-nextick-args":323}],337:[function(require,module,exports){ module.exports = require('events').EventEmitter; },{"events":301}],338:[function(require,module,exports){ module.exports = require('./readable').PassThrough },{"./readable":339}],339:[function(require,module,exports){ exports = module.exports = require('./lib/_stream_readable.js'); exports.Stream = exports; exports.Readable = exports; exports.Writable = require('./lib/_stream_writable.js'); exports.Duplex = require('./lib/_stream_duplex.js'); exports.Transform = require('./lib/_stream_transform.js'); exports.PassThrough = require('./lib/_stream_passthrough.js'); },{"./lib/_stream_duplex.js":330,"./lib/_stream_passthrough.js":331,"./lib/_stream_readable.js":332,"./lib/_stream_transform.js":333,"./lib/_stream_writable.js":334}],340:[function(require,module,exports){ module.exports = require('./readable').Transform },{"./readable":339}],341:[function(require,module,exports){ module.exports = require('./lib/_stream_writable.js'); },{"./lib/_stream_writable.js":334}],342:[function(require,module,exports){ /** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var runtime = (function (exports) { "use strict"; var Op = Object.prototype; var hasOwn = Op.hasOwnProperty; var undefined; // More compressible than void 0. var $Symbol = typeof Symbol === "function" ? Symbol : {}; var iteratorSymbol = $Symbol.iterator || "@@iterator"; var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); return obj[key]; } try { // IE 8 has a broken Object.defineProperty that only works on DOM objects. define({}, ""); } catch (err) { define = function(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; var generator = Object.create(protoGenerator.prototype); var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next, // .throw, and .return methods. generator._invoke = makeInvokeMethod(innerFn, self, context); return generator; } exports.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion // record like context.tryEntries[i].completion. This interface could // have been (and was previously) designed to take a closure to be // invoked without arguments, but in all the cases we care about we // already have an existing method we want to call, so there's no need // to create a new function object. We can even get away with assuming // the method takes exactly one argument, since that happens to be true // in every case, so we don't have to touch the arguments object. The // only additional allocation required is the completion record, which // has a stable shape and so hopefully should be cheap to allocate. function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } var GenStateSuspendedStart = "suspendedStart"; var GenStateSuspendedYield = "suspendedYield"; var GenStateExecuting = "executing"; var GenStateCompleted = "completed"; // Returning this object from the innerFn has the same effect as // breaking out of the dispatch switch statement. var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and // .constructor.prototype properties for functions that return Generator // objects. For full spec compliance, you may wish to configure your // minifier not to mangle the names of these two functions. function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} // This is a polyfill for %IteratorPrototype% for environments that // don't natively support it. var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf; var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { // This environment has a native %IteratorPrototype%; use it instead // of the polyfill. IteratorPrototype = NativeIteratorPrototype; } var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); GeneratorFunction.prototype = GeneratorFunctionPrototype; define(Gp, "constructor", GeneratorFunctionPrototype); define(GeneratorFunctionPrototype, "constructor", GeneratorFunction); GeneratorFunction.displayName = define( GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction" ); // Helper for defining the .next, .throw, and .return methods of the // Iterator interface in terms of a single ._invoke method. function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function(method) { define(prototype, method, function(arg) { return this._invoke(method, arg); }); }); } exports.isGeneratorFunction = function(genFun) { var ctor = typeof genFun === "function" && genFun.constructor; return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can // do is to check its .name property. (ctor.displayName || ctor.name) === "GeneratorFunction" : false; }; exports.mark = function(genFun) { if (Object.setPrototypeOf) { Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); } else { genFun.__proto__ = GeneratorFunctionPrototype; define(genFun, toStringTagSymbol, "GeneratorFunction"); } genFun.prototype = Object.create(Gp); return genFun; }; // Within the body of any async function, `await x` is transformed to // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test // `hasOwn.call(value, "__await")` to determine if the yielded value is // meant to be awaited. exports.awrap = function(arg) { return { __await: arg }; }; function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if (record.type === "throw") { reject(record.arg); } else { var result = record.arg; var value = result.value; if (value && typeof value === "object" && hasOwn.call(value, "__await")) { return PromiseImpl.resolve(value.__await).then(function(value) { invoke("next", value, resolve, reject); }, function(err) { invoke("throw", err, resolve, reject); }); } return PromiseImpl.resolve(value).then(function(unwrapped) { // When a yielded Promise is resolved, its final value becomes // the .value of the Promise<{value,done}> result for the // current iteration. result.value = unwrapped; resolve(result); }, function(error) { // If a rejected Promise was yielded, throw the rejection back // into the async generator function so it can be handled there. return invoke("throw", error, resolve, reject); }); } } var previousPromise; function enqueue(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function(resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = // If enqueue has been called before, then we want to wait until // all previous Promises have been resolved before calling invoke, // so that results are always delivered in the correct order. If // enqueue has not been called before, then it is important to // call invoke immediately, without waiting on a callback to fire, // so that the async generator function has the opportunity to do // any necessary setup in a predictable way. This predictability // is why the Promise constructor synchronously invokes its // executor callback, and why async functions synchronously // execute code before the first await. Since we implement simple // async functions in terms of async generators, it is especially // important to get this right, even though it requires care. previousPromise ? previousPromise.then( callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later // invocations of the iterator. callInvokeWithMethodAndArg ) : callInvokeWithMethodAndArg(); } // Define the unified helper method that is used to implement .next, // .throw, and .return (see defineIteratorMethods). this._invoke = enqueue; } defineIteratorMethods(AsyncIterator.prototype); define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }); exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of // AsyncIterator objects; they just return a Promise for the value of // the final result produced by the iterator. exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { if (PromiseImpl === void 0) PromiseImpl = Promise; var iter = new AsyncIterator( wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl ); return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator. : iter.next().then(function(result) { return result.done ? result.value : iter.next(); }); }; function makeInvokeMethod(innerFn, self, context) { var state = GenStateSuspendedStart; return function invoke(method, arg) { if (state === GenStateExecuting) { throw new Error("Generator is already running"); } if (state === GenStateCompleted) { if (method === "throw") { throw arg; } // Be forgiving, per 25.3.3.3.3 of the spec: // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume return doneResult(); } context.method = method; context.arg = arg; while (true) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if (context.method === "next") { // Setting context._sent for legacy support of Babel's // function.sent implementation. context.sent = context._sent = context.arg; } else if (context.method === "throw") { if (state === GenStateSuspendedStart) { state = GenStateCompleted; throw context.arg; } context.dispatchException(context.arg); } else if (context.method === "return") { context.abrupt("return", context.arg); } state = GenStateExecuting; var record = tryCatch(innerFn, self, context); if (record.type === "normal") { // If an exception is thrown from innerFn, we leave state === // GenStateExecuting and loop back for another invocation. state = context.done ? GenStateCompleted : GenStateSuspendedYield; if (record.arg === ContinueSentinel) { continue; } return { value: record.arg, done: context.done }; } else if (record.type === "throw") { state = GenStateCompleted; // Dispatch the exception by looping back around to the // context.dispatchException(context.arg) call above. context.method = "throw"; context.arg = record.arg; } } }; } // Call delegate.iterator[context.method](context.arg) and handle the // result, either by returning a { value, done } result from the // delegate iterator, or by modifying context.method and context.arg, // setting context.delegate to null, and returning the ContinueSentinel. function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (method === undefined) { // A .throw or .return when the delegate iterator has no .throw // method always terminates the yield* loop. context.delegate = null; if (context.method === "throw") { // Note: ["return"] must be used for ES3 parsing compatibility. if (delegate.iterator["return"]) { // If the delegate iterator has a return method, give it a // chance to clean up. context.method = "return"; context.arg = undefined; maybeInvokeDelegate(delegate, context); if (context.method === "throw") { // If maybeInvokeDelegate(context) changed context.method from // "return" to "throw", let that override the TypeError below. return ContinueSentinel; } } context.method = "throw"; context.arg = new TypeError( "The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if (record.type === "throw") { context.method = "throw"; context.arg = record.arg; context.delegate = null; return ContinueSentinel; } var info = record.arg; if (! info) { context.method = "throw"; context.arg = new TypeError("iterator result is not an object"); context.delegate = null; return ContinueSentinel; } if (info.done) { // Assign the result of the finished delegate to the temporary // variable specified by delegate.resultName (see delegateYield). context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield). context.next = delegate.nextLoc; // If context.method was "throw" but the delegate handled the // exception, let the outer generator proceed normally. If // context.method was "next", forget context.arg since it has been // "consumed" by the delegate iterator. If context.method was // "return", allow the original .return call to continue in the // outer generator. if (context.method !== "return") { context.method = "next"; context.arg = undefined; } } else { // Re-yield the result returned by the delegate method. return info; } // The delegate iterator is finished, so forget it and continue with // the outer generator. context.delegate = null; return ContinueSentinel; } // Define Generator.prototype.{next,throw,return} in terms of the // unified ._invoke helper method. defineIteratorMethods(Gp); define(Gp, toStringTagSymbol, "Generator"); // A Generator should always return itself as the iterator object when the // @@iterator function is called on it. Some browsers' implementations of the // iterator prototype chain incorrectly implement this, causing the Generator // object to not be returned from this call. This ensures that doesn't happen. // See https://github.com/facebook/regenerator/issues/274 for more details. define(Gp, iteratorSymbol, function() { return this; }); define(Gp, "toString", function() { return "[object Generator]"; }); function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; if (1 in locs) { entry.catchLoc = locs[1]; } if (2 in locs) { entry.finallyLoc = locs[2]; entry.afterLoc = locs[3]; } this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal"; delete record.arg; entry.completion = record; } function Context(tryLocsList) { // The root entry object (effectively a try statement without a catch // or a finally block) gives us a place to store values thrown from // locations where there is no enclosing try statement. this.tryEntries = [{ tryLoc: "root" }]; tryLocsList.forEach(pushTryEntry, this); this.reset(true); } exports.keys = function(object) { var keys = []; for (var key in object) { keys.push(key); } keys.reverse(); // Rather than returning an object with a next method, we keep // things simple and return the next function itself. return function next() { while (keys.length) { var key = keys.pop(); if (key in object) { next.value = key; next.done = false; return next; } } // To avoid creating an additional object, we just hang the .value // and .done properties off the next function object itself. This // also ensures that the minifier will not anonymize the function. next.done = true; return next; }; }; function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) { return iteratorMethod.call(iterable); } if (typeof iterable.next === "function") { return iterable; } if (!isNaN(iterable.length)) { var i = -1, next = function next() { while (++i < iterable.length) { if (hasOwn.call(iterable, i)) { next.value = iterable[i]; next.done = false; return next; } } next.value = undefined; next.done = true; return next; }; return next.next = next; } } // Return an iterator with no values. return { next: doneResult }; } exports.values = values; function doneResult() { return { value: undefined, done: true }; } Context.prototype = { constructor: Context, reset: function(skipTempReset) { this.prev = 0; this.next = 0; // Resetting context._sent for legacy support of Babel's // function.sent implementation. this.sent = this._sent = undefined; this.done = false; this.delegate = null; this.method = "next"; this.arg = undefined; this.tryEntries.forEach(resetTryEntry); if (!skipTempReset) { for (var name in this) { // Not sure about the optimal order of these conditions: if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) { this[name] = undefined; } } } }, stop: function() { this.done = true; var rootEntry = this.tryEntries[0]; var rootRecord = rootEntry.completion; if (rootRecord.type === "throw") { throw rootRecord.arg; } return this.rval; }, dispatchException: function(exception) { if (this.done) { throw exception; } var context = this; function handle(loc, caught) { record.type = "throw"; record.arg = exception; context.next = loc; if (caught) { // If the dispatched exception was caught by a catch block, // then let that catch block handle the exception normally. context.method = "next"; context.arg = undefined; } return !! caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; var record = entry.completion; if (entry.tryLoc === "root") { // Exception thrown outside of any try block that could handle // it, so set the completion value of the entire function to // throw the exception. return handle("end"); } if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"); var hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) { return handle(entry.catchLoc, true); } else if (this.prev < entry.finallyLoc) { return handle(entry.finallyLoc); } } else if (hasCatch) { if (this.prev < entry.catchLoc) { return handle(entry.catchLoc, true); } } else if (hasFinally) { if (this.prev < entry.finallyLoc) { return handle(entry.finallyLoc); } } else { throw new Error("try statement without catch or finally"); } } } }, abrupt: function(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) { // Ignore the finally entry if control is not jumping to a // location outside the try/catch block. finallyEntry = null; } var record = finallyEntry ? finallyEntry.completion : {}; record.type = type; record.arg = arg; if (finallyEntry) { this.method = "next"; this.next = finallyEntry.finallyLoc; return ContinueSentinel; } return this.complete(record); }, complete: function(record, afterLoc) { if (record.type === "throw") { throw record.arg; } if (record.type === "break" || record.type === "continue") { this.next = record.arg; } else if (record.type === "return") { this.rval = this.arg = record.arg; this.method = "return"; this.next = "end"; } else if (record.type === "normal" && afterLoc) { this.next = afterLoc; } return ContinueSentinel; }, finish: function(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) { this.complete(entry.completion, entry.afterLoc); resetTryEntry(entry); return ContinueSentinel; } } }, "catch": function(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if (record.type === "throw") { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } // The context.catch method must only be called with a location // argument that corresponds to a known catch block. throw new Error("illegal catch attempt"); }, delegateYield: function(iterable, resultName, nextLoc) { this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }; if (this.method === "next") { // Deliberately forget the last sent value so that we don't // accidentally pass it on to the delegate. this.arg = undefined; } return ContinueSentinel; } }; // Regardless of whether this script is executing as a CommonJS module // or not, return the runtime object so that we can declare the variable // regeneratorRuntime in the outer scope, which allows this module to be // injected easily by `bin/regenerator --include-runtime script.js`. return exports; }( // If this script is executing as a CommonJS module, use module.exports // as the regeneratorRuntime namespace. Otherwise create a new empty // object. Either way, the resulting object will be used to initialize // the regeneratorRuntime variable at the top of this file. typeof module === "object" ? module.exports : {} )); try { regeneratorRuntime = runtime; } catch (accidentalStrictMode) { // This module should not be running in strict mode, so the above // assignment should always work unless something is misconfigured. Just // in case runtime.js accidentally runs in strict mode, in modern engines // we can explicitly access globalThis. In older engines we can escape // strict mode using a global Function call. This could conceivably fail // if a Content Security Policy forbids using Function, but in that case // the proper solution is to fix the accidental strict mode problem. If // you've misconfigured your bundler to force strict mode and applied a // CSP to forbid Function, and you're not willing to fix either of those // problems, please detail your unique predicament in a GitHub issue. if (typeof globalThis === "object") { globalThis.regeneratorRuntime = runtime; } else { Function("r", "regeneratorRuntime = r")(runtime); } } },{}],343:[function(require,module,exports){ /* eslint-disable node/no-deprecated-api */ var buffer = require('buffer') var Buffer = buffer.Buffer // alternative to using Object.keys for old browsers function copyProps (src, dst) { for (var key in src) { dst[key] = src[key] } } if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { module.exports = buffer } else { // Copy properties from require('buffer') copyProps(buffer, exports) exports.Buffer = SafeBuffer } function SafeBuffer (arg, encodingOrOffset, length) { return Buffer(arg, encodingOrOffset, length) } // Copy static methods from Buffer copyProps(Buffer, SafeBuffer) SafeBuffer.from = function (arg, encodingOrOffset, length) { if (typeof arg === 'number') { throw new TypeError('Argument must not be a number') } return Buffer(arg, encodingOrOffset, length) } SafeBuffer.alloc = function (size, fill, encoding) { if (typeof size !== 'number') { throw new TypeError('Argument must be a number') } var buf = Buffer(size) if (fill !== undefined) { if (typeof encoding === 'string') { buf.fill(fill, encoding) } else { buf.fill(fill) } } else { buf.fill(0) } return buf } SafeBuffer.allocUnsafe = function (size) { if (typeof size !== 'number') { throw new TypeError('Argument must be a number') } return Buffer(size) } SafeBuffer.allocUnsafeSlow = function (size) { if (typeof size !== 'number') { throw new TypeError('Argument must be a number') } return buffer.SlowBuffer(size) } },{"buffer":85}],344:[function(require,module,exports){ (function (Buffer){(function (){ ;(function (sax) { // wrapper for non-node envs sax.parser = function (strict, opt) { return new SAXParser(strict, opt) } sax.SAXParser = SAXParser sax.SAXStream = SAXStream sax.createStream = createStream // When we pass the MAX_BUFFER_LENGTH position, start checking for buffer overruns. // When we check, schedule the next check for MAX_BUFFER_LENGTH - (max(buffer lengths)), // since that's the earliest that a buffer overrun could occur. This way, checks are // as rare as required, but as often as necessary to ensure never crossing this bound. // Furthermore, buffers are only tested at most once per write(), so passing a very // large string into write() might have undesirable effects, but this is manageable by // the caller, so it is assumed to be safe. Thus, a call to write() may, in the extreme // edge case, result in creating at most one complete copy of the string passed in. // Set to Infinity to have unlimited buffers. sax.MAX_BUFFER_LENGTH = 64 * 1024 var buffers = [ 'comment', 'sgmlDecl', 'textNode', 'tagName', 'doctype', 'procInstName', 'procInstBody', 'entity', 'attribName', 'attribValue', 'cdata', 'script' ] sax.EVENTS = [ 'text', 'processinginstruction', 'sgmldeclaration', 'doctype', 'comment', 'opentagstart', 'attribute', 'opentag', 'closetag', 'opencdata', 'cdata', 'closecdata', 'error', 'end', 'ready', 'script', 'opennamespace', 'closenamespace' ] function SAXParser (strict, opt) { if (!(this instanceof SAXParser)) { return new SAXParser(strict, opt) } var parser = this clearBuffers(parser) parser.q = parser.c = '' parser.bufferCheckPosition = sax.MAX_BUFFER_LENGTH parser.opt = opt || {} parser.opt.lowercase = parser.opt.lowercase || parser.opt.lowercasetags parser.looseCase = parser.opt.lowercase ? 'toLowerCase' : 'toUpperCase' parser.tags = [] parser.closed = parser.closedRoot = parser.sawRoot = false parser.tag = parser.error = null parser.strict = !!strict parser.noscript = !!(strict || parser.opt.noscript) parser.state = S.BEGIN parser.strictEntities = parser.opt.strictEntities parser.ENTITIES = parser.strictEntities ? Object.create(sax.XML_ENTITIES) : Object.create(sax.ENTITIES) parser.attribList = [] // namespaces form a prototype chain. // it always points at the current tag, // which protos to its parent tag. if (parser.opt.xmlns) { parser.ns = Object.create(rootNS) } // mostly just for error reporting parser.trackPosition = parser.opt.position !== false if (parser.trackPosition) { parser.position = parser.line = parser.column = 0 } emit(parser, 'onready') } if (!Object.create) { Object.create = function (o) { function F () {} F.prototype = o var newf = new F() return newf } } if (!Object.keys) { Object.keys = function (o) { var a = [] for (var i in o) if (o.hasOwnProperty(i)) a.push(i) return a } } function checkBufferLength (parser) { var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10) var maxActual = 0 for (var i = 0, l = buffers.length; i < l; i++) { var len = parser[buffers[i]].length if (len > maxAllowed) { // Text/cdata nodes can get big, and since they're buffered, // we can get here under normal conditions. // Avoid issues by emitting the text node now, // so at least it won't get any bigger. switch (buffers[i]) { case 'textNode': closeText(parser) break case 'cdata': emitNode(parser, 'oncdata', parser.cdata) parser.cdata = '' break case 'script': emitNode(parser, 'onscript', parser.script) parser.script = '' break default: error(parser, 'Max buffer length exceeded: ' + buffers[i]) } } maxActual = Math.max(maxActual, len) } // schedule the next check for the earliest possible buffer overrun. var m = sax.MAX_BUFFER_LENGTH - maxActual parser.bufferCheckPosition = m + parser.position } function clearBuffers (parser) { for (var i = 0, l = buffers.length; i < l; i++) { parser[buffers[i]] = '' } } function flushBuffers (parser) { closeText(parser) if (parser.cdata !== '') { emitNode(parser, 'oncdata', parser.cdata) parser.cdata = '' } if (parser.script !== '') { emitNode(parser, 'onscript', parser.script) parser.script = '' } } SAXParser.prototype = { end: function () { end(this) }, write: write, resume: function () { this.error = null; return this }, close: function () { return this.write(null) }, flush: function () { flushBuffers(this) } } var Stream try { Stream = require('stream').Stream } catch (ex) { Stream = function () {} } var streamWraps = sax.EVENTS.filter(function (ev) { return ev !== 'error' && ev !== 'end' }) function createStream (strict, opt) { return new SAXStream(strict, opt) } function SAXStream (strict, opt) { if (!(this instanceof SAXStream)) { return new SAXStream(strict, opt) } Stream.apply(this) this._parser = new SAXParser(strict, opt) this.writable = true this.readable = true var me = this this._parser.onend = function () { me.emit('end') } this._parser.onerror = function (er) { me.emit('error', er) // if didn't throw, then means error was handled. // go ahead and clear error, so we can write again. me._parser.error = null } this._decoder = null streamWraps.forEach(function (ev) { Object.defineProperty(me, 'on' + ev, { get: function () { return me._parser['on' + ev] }, set: function (h) { if (!h) { me.removeAllListeners(ev) me._parser['on' + ev] = h return h } me.on(ev, h) }, enumerable: true, configurable: false }) }) } SAXStream.prototype = Object.create(Stream.prototype, { constructor: { value: SAXStream } }) SAXStream.prototype.write = function (data) { if (typeof Buffer === 'function' && typeof Buffer.isBuffer === 'function' && Buffer.isBuffer(data)) { if (!this._decoder) { var SD = require('string_decoder').StringDecoder this._decoder = new SD('utf8') } data = this._decoder.write(data) } this._parser.write(data.toString()) this.emit('data', data) return true } SAXStream.prototype.end = function (chunk) { if (chunk && chunk.length) { this.write(chunk) } this._parser.end() return true } SAXStream.prototype.on = function (ev, handler) { var me = this if (!me._parser['on' + ev] && streamWraps.indexOf(ev) !== -1) { me._parser['on' + ev] = function () { var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments) args.splice(0, 0, ev) me.emit.apply(me, args) } } return Stream.prototype.on.call(me, ev, handler) } // this really needs to be replaced with character classes. // XML allows all manner of ridiculous numbers and digits. var CDATA = '[CDATA[' var DOCTYPE = 'DOCTYPE' var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace' var XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/' var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE } // http://www.w3.org/TR/REC-xml/#NT-NameStartChar // This implementation works on strings, a single character at a time // as such, it cannot ever support astral-plane characters (10000-EFFFF) // without a significant breaking change to either this parser, or the // JavaScript language. Implementation of an emoji-capable xml parser // is left as an exercise for the reader. var nameStart = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/ var nameBody = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/ var entityStart = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/ var entityBody = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/ function isWhitespace (c) { return c === ' ' || c === '\n' || c === '\r' || c === '\t' } function isQuote (c) { return c === '"' || c === '\'' } function isAttribEnd (c) { return c === '>' || isWhitespace(c) } function isMatch (regex, c) { return regex.test(c) } function notMatch (regex, c) { return !isMatch(regex, c) } var S = 0 sax.STATE = { BEGIN: S++, // leading byte order mark or whitespace BEGIN_WHITESPACE: S++, // leading whitespace TEXT: S++, // general stuff TEXT_ENTITY: S++, // & and such. OPEN_WAKA: S++, // < SGML_DECL: S++, // <!BLARG SGML_DECL_QUOTED: S++, // <!BLARG foo "bar DOCTYPE: S++, // <!DOCTYPE DOCTYPE_QUOTED: S++, // <!DOCTYPE "//blah DOCTYPE_DTD: S++, // <!DOCTYPE "//blah" [ ... DOCTYPE_DTD_QUOTED: S++, // <!DOCTYPE "//blah" [ "foo COMMENT_STARTING: S++, // <!- COMMENT: S++, // <!-- COMMENT_ENDING: S++, // <!-- blah - COMMENT_ENDED: S++, // <!-- blah -- CDATA: S++, // <![CDATA[ something CDATA_ENDING: S++, // ] CDATA_ENDING_2: S++, // ]] PROC_INST: S++, // <?hi PROC_INST_BODY: S++, // <?hi there PROC_INST_ENDING: S++, // <?hi "there" ? OPEN_TAG: S++, // <strong OPEN_TAG_SLASH: S++, // <strong / ATTRIB: S++, // <a ATTRIB_NAME: S++, // <a foo ATTRIB_NAME_SAW_WHITE: S++, // <a foo _ ATTRIB_VALUE: S++, // <a foo= ATTRIB_VALUE_QUOTED: S++, // <a foo="bar ATTRIB_VALUE_CLOSED: S++, // <a foo="bar" ATTRIB_VALUE_UNQUOTED: S++, // <a foo=bar ATTRIB_VALUE_ENTITY_Q: S++, // <foo bar=""" ATTRIB_VALUE_ENTITY_U: S++, // <foo bar=" CLOSE_TAG: S++, // </a CLOSE_TAG_SAW_WHITE: S++, // </a > SCRIPT: S++, // <script> ... SCRIPT_ENDING: S++ // <script> ... < } sax.XML_ENTITIES = { 'amp': '&', 'gt': '>', 'lt': '<', 'quot': '"', 'apos': "'" } sax.ENTITIES = { 'amp': '&', 'gt': '>', 'lt': '<', 'quot': '"', 'apos': "'", 'AElig': 198, 'Aacute': 193, 'Acirc': 194, 'Agrave': 192, 'Aring': 197, 'Atilde': 195, 'Auml': 196, 'Ccedil': 199, 'ETH': 208, 'Eacute': 201, 'Ecirc': 202, 'Egrave': 200, 'Euml': 203, 'Iacute': 205, 'Icirc': 206, 'Igrave': 204, 'Iuml': 207, 'Ntilde': 209, 'Oacute': 211, 'Ocirc': 212, 'Ograve': 210, 'Oslash': 216, 'Otilde': 213, 'Ouml': 214, 'THORN': 222, 'Uacute': 218, 'Ucirc': 219, 'Ugrave': 217, 'Uuml': 220, 'Yacute': 221, 'aacute': 225, 'acirc': 226, 'aelig': 230, 'agrave': 224, 'aring': 229, 'atilde': 227, 'auml': 228, 'ccedil': 231, 'eacute': 233, 'ecirc': 234, 'egrave': 232, 'eth': 240, 'euml': 235, 'iacute': 237, 'icirc': 238, 'igrave': 236, 'iuml': 239, 'ntilde': 241, 'oacute': 243, 'ocirc': 244, 'ograve': 242, 'oslash': 248, 'otilde': 245, 'ouml': 246, 'szlig': 223, 'thorn': 254, 'uacute': 250, 'ucirc': 251, 'ugrave': 249, 'uuml': 252, 'yacute': 253, 'yuml': 255, 'copy': 169, 'reg': 174, 'nbsp': 160, 'iexcl': 161, 'cent': 162, 'pound': 163, 'curren': 164, 'yen': 165, 'brvbar': 166, 'sect': 167, 'uml': 168, 'ordf': 170, 'laquo': 171, 'not': 172, 'shy': 173, 'macr': 175, 'deg': 176, 'plusmn': 177, 'sup1': 185, 'sup2': 178, 'sup3': 179, 'acute': 180, 'micro': 181, 'para': 182, 'middot': 183, 'cedil': 184, 'ordm': 186, 'raquo': 187, 'frac14': 188, 'frac12': 189, 'frac34': 190, 'iquest': 191, 'times': 215, 'divide': 247, 'OElig': 338, 'oelig': 339, 'Scaron': 352, 'scaron': 353, 'Yuml': 376, 'fnof': 402, 'circ': 710, 'tilde': 732, 'Alpha': 913, 'Beta': 914, 'Gamma': 915, 'Delta': 916, 'Epsilon': 917, 'Zeta': 918, 'Eta': 919, 'Theta': 920, 'Iota': 921, 'Kappa': 922, 'Lambda': 923, 'Mu': 924, 'Nu': 925, 'Xi': 926, 'Omicron': 927, 'Pi': 928, 'Rho': 929, 'Sigma': 931, 'Tau': 932, 'Upsilon': 933, 'Phi': 934, 'Chi': 935, 'Psi': 936, 'Omega': 937, 'alpha': 945, 'beta': 946, 'gamma': 947, 'delta': 948, 'epsilon': 949, 'zeta': 950, 'eta': 951, 'theta': 952, 'iota': 953, 'kappa': 954, 'lambda': 955, 'mu': 956, 'nu': 957, 'xi': 958, 'omicron': 959, 'pi': 960, 'rho': 961, 'sigmaf': 962, 'sigma': 963, 'tau': 964, 'upsilon': 965, 'phi': 966, 'chi': 967, 'psi': 968, 'omega': 969, 'thetasym': 977, 'upsih': 978, 'piv': 982, 'ensp': 8194, 'emsp': 8195, 'thinsp': 8201, 'zwnj': 8204, 'zwj': 8205, 'lrm': 8206, 'rlm': 8207, 'ndash': 8211, 'mdash': 8212, 'lsquo': 8216, 'rsquo': 8217, 'sbquo': 8218, 'ldquo': 8220, 'rdquo': 8221, 'bdquo': 8222, 'dagger': 8224, 'Dagger': 8225, 'bull': 8226, 'hellip': 8230, 'permil': 8240, 'prime': 8242, 'Prime': 8243, 'lsaquo': 8249, 'rsaquo': 8250, 'oline': 8254, 'frasl': 8260, 'euro': 8364, 'image': 8465, 'weierp': 8472, 'real': 8476, 'trade': 8482, 'alefsym': 8501, 'larr': 8592, 'uarr': 8593, 'rarr': 8594, 'darr': 8595, 'harr': 8596, 'crarr': 8629, 'lArr': 8656, 'uArr': 8657, 'rArr': 8658, 'dArr': 8659, 'hArr': 8660, 'forall': 8704, 'part': 8706, 'exist': 8707, 'empty': 8709, 'nabla': 8711, 'isin': 8712, 'notin': 8713, 'ni': 8715, 'prod': 8719, 'sum': 8721, 'minus': 8722, 'lowast': 8727, 'radic': 8730, 'prop': 8733, 'infin': 8734, 'ang': 8736, 'and': 8743, 'or': 8744, 'cap': 8745, 'cup': 8746, 'int': 8747, 'there4': 8756, 'sim': 8764, 'cong': 8773, 'asymp': 8776, 'ne': 8800, 'equiv': 8801, 'le': 8804, 'ge': 8805, 'sub': 8834, 'sup': 8835, 'nsub': 8836, 'sube': 8838, 'supe': 8839, 'oplus': 8853, 'otimes': 8855, 'perp': 8869, 'sdot': 8901, 'lceil': 8968, 'rceil': 8969, 'lfloor': 8970, 'rfloor': 8971, 'lang': 9001, 'rang': 9002, 'loz': 9674, 'spades': 9824, 'clubs': 9827, 'hearts': 9829, 'diams': 9830 } Object.keys(sax.ENTITIES).forEach(function (key) { var e = sax.ENTITIES[key] var s = typeof e === 'number' ? String.fromCharCode(e) : e sax.ENTITIES[key] = s }) for (var s in sax.STATE) { sax.STATE[sax.STATE[s]] = s } // shorthand S = sax.STATE function emit (parser, event, data) { parser[event] && parser[event](data) } function emitNode (parser, nodeType, data) { if (parser.textNode) closeText(parser) emit(parser, nodeType, data) } function closeText (parser) { parser.textNode = textopts(parser.opt, parser.textNode) if (parser.textNode) emit(parser, 'ontext', parser.textNode) parser.textNode = '' } function textopts (opt, text) { if (opt.trim) text = text.trim() if (opt.normalize) text = text.replace(/\s+/g, ' ') return text } function error (parser, er) { closeText(parser) if (parser.trackPosition) { er += '\nLine: ' + parser.line + '\nColumn: ' + parser.column + '\nChar: ' + parser.c } er = new Error(er) parser.error = er emit(parser, 'onerror', er) return parser } function end (parser) { if (parser.sawRoot && !parser.closedRoot) strictFail(parser, 'Unclosed root tag') if ((parser.state !== S.BEGIN) && (parser.state !== S.BEGIN_WHITESPACE) && (parser.state !== S.TEXT)) { error(parser, 'Unexpected end') } closeText(parser) parser.c = '' parser.closed = true emit(parser, 'onend') SAXParser.call(parser, parser.strict, parser.opt) return parser } function strictFail (parser, message) { if (typeof parser !== 'object' || !(parser instanceof SAXParser)) { throw new Error('bad call to strictFail') } if (parser.strict) { error(parser, message) } } function newTag (parser) { if (!parser.strict) parser.tagName = parser.tagName[parser.looseCase]() var parent = parser.tags[parser.tags.length - 1] || parser var tag = parser.tag = { name: parser.tagName, attributes: {} } // will be overridden if tag contails an xmlns="foo" or xmlns:foo="bar" if (parser.opt.xmlns) { tag.ns = parent.ns } parser.attribList.length = 0 emitNode(parser, 'onopentagstart', tag) } function qname (name, attribute) { var i = name.indexOf(':') var qualName = i < 0 ? [ '', name ] : name.split(':') var prefix = qualName[0] var local = qualName[1] // <x "xmlns"="http://foo"> if (attribute && name === 'xmlns') { prefix = 'xmlns' local = '' } return { prefix: prefix, local: local } } function attrib (parser) { if (!parser.strict) { parser.attribName = parser.attribName[parser.looseCase]() } if (parser.attribList.indexOf(parser.attribName) !== -1 || parser.tag.attributes.hasOwnProperty(parser.attribName)) { parser.attribName = parser.attribValue = '' return } if (parser.opt.xmlns) { var qn = qname(parser.attribName, true) var prefix = qn.prefix var local = qn.local if (prefix === 'xmlns') { // namespace binding attribute. push the binding into scope if (local === 'xml' && parser.attribValue !== XML_NAMESPACE) { strictFail(parser, 'xml: prefix must be bound to ' + XML_NAMESPACE + '\n' + 'Actual: ' + parser.attribValue) } else if (local === 'xmlns' && parser.attribValue !== XMLNS_NAMESPACE) { strictFail(parser, 'xmlns: prefix must be bound to ' + XMLNS_NAMESPACE + '\n' + 'Actual: ' + parser.attribValue) } else { var tag = parser.tag var parent = parser.tags[parser.tags.length - 1] || parser if (tag.ns === parent.ns) { tag.ns = Object.create(parent.ns) } tag.ns[local] = parser.attribValue } } // defer onattribute events until all attributes have been seen // so any new bindings can take effect. preserve attribute order // so deferred events can be emitted in document order parser.attribList.push([parser.attribName, parser.attribValue]) } else { // in non-xmlns mode, we can emit the event right away parser.tag.attributes[parser.attribName] = parser.attribValue emitNode(parser, 'onattribute', { name: parser.attribName, value: parser.attribValue }) } parser.attribName = parser.attribValue = '' } function openTag (parser, selfClosing) { if (parser.opt.xmlns) { // emit namespace binding events var tag = parser.tag // add namespace info to tag var qn = qname(parser.tagName) tag.prefix = qn.prefix tag.local = qn.local tag.uri = tag.ns[qn.prefix] || '' if (tag.prefix && !tag.uri) { strictFail(parser, 'Unbound namespace prefix: ' + JSON.stringify(parser.tagName)) tag.uri = qn.prefix } var parent = parser.tags[parser.tags.length - 1] || parser if (tag.ns && parent.ns !== tag.ns) { Object.keys(tag.ns).forEach(function (p) { emitNode(parser, 'onopennamespace', { prefix: p, uri: tag.ns[p] }) }) } // handle deferred onattribute events // Note: do not apply default ns to attributes: // http://www.w3.org/TR/REC-xml-names/#defaulting for (var i = 0, l = parser.attribList.length; i < l; i++) { var nv = parser.attribList[i] var name = nv[0] var value = nv[1] var qualName = qname(name, true) var prefix = qualName.prefix var local = qualName.local var uri = prefix === '' ? '' : (tag.ns[prefix] || '') var a = { name: name, value: value, prefix: prefix, local: local, uri: uri } // if there's any attributes with an undefined namespace, // then fail on them now. if (prefix && prefix !== 'xmlns' && !uri) { strictFail(parser, 'Unbound namespace prefix: ' + JSON.stringify(prefix)) a.uri = prefix } parser.tag.attributes[name] = a emitNode(parser, 'onattribute', a) } parser.attribList.length = 0 } parser.tag.isSelfClosing = !!selfClosing // process the tag parser.sawRoot = true parser.tags.push(parser.tag) emitNode(parser, 'onopentag', parser.tag) if (!selfClosing) { // special case for <script> in non-strict mode. if (!parser.noscript && parser.tagName.toLowerCase() === 'script') { parser.state = S.SCRIPT } else { parser.state = S.TEXT } parser.tag = null parser.tagName = '' } parser.attribName = parser.attribValue = '' parser.attribList.length = 0 } function closeTag (parser) { if (!parser.tagName) { strictFail(parser, 'Weird empty close tag.') parser.textNode += '</>' parser.state = S.TEXT return } if (parser.script) { if (parser.tagName !== 'script') { parser.script += '</' + parser.tagName + '>' parser.tagName = '' parser.state = S.SCRIPT return } emitNode(parser, 'onscript', parser.script) parser.script = '' } // first make sure that the closing tag actually exists. // <a><b></c></b></a> will close everything, otherwise. var t = parser.tags.length var tagName = parser.tagName if (!parser.strict) { tagName = tagName[parser.looseCase]() } var closeTo = tagName while (t--) { var close = parser.tags[t] if (close.name !== closeTo) { // fail the first time in strict mode strictFail(parser, 'Unexpected close tag') } else { break } } // didn't find it. we already failed for strict, so just abort. if (t < 0) { strictFail(parser, 'Unmatched closing tag: ' + parser.tagName) parser.textNode += '</' + parser.tagName + '>' parser.state = S.TEXT return } parser.tagName = tagName var s = parser.tags.length while (s-- > t) { var tag = parser.tag = parser.tags.pop() parser.tagName = parser.tag.name emitNode(parser, 'onclosetag', parser.tagName) var x = {} for (var i in tag.ns) { x[i] = tag.ns[i] } var parent = parser.tags[parser.tags.length - 1] || parser if (parser.opt.xmlns && tag.ns !== parent.ns) { // remove namespace bindings introduced by tag Object.keys(tag.ns).forEach(function (p) { var n = tag.ns[p] emitNode(parser, 'onclosenamespace', { prefix: p, uri: n }) }) } } if (t === 0) parser.closedRoot = true parser.tagName = parser.attribValue = parser.attribName = '' parser.attribList.length = 0 parser.state = S.TEXT } function parseEntity (parser) { var entity = parser.entity var entityLC = entity.toLowerCase() var num var numStr = '' if (parser.ENTITIES[entity]) { return parser.ENTITIES[entity] } if (parser.ENTITIES[entityLC]) { return parser.ENTITIES[entityLC] } entity = entityLC if (entity.charAt(0) === '#') { if (entity.charAt(1) === 'x') { entity = entity.slice(2) num = parseInt(entity, 16) numStr = num.toString(16) } else { entity = entity.slice(1) num = parseInt(entity, 10) numStr = num.toString(10) } } entity = entity.replace(/^0+/, '') if (isNaN(num) || numStr.toLowerCase() !== entity) { strictFail(parser, 'Invalid character entity') return '&' + parser.entity + ';' } return String.fromCodePoint(num) } function beginWhiteSpace (parser, c) { if (c === '<') { parser.state = S.OPEN_WAKA parser.startTagPosition = parser.position } else if (!isWhitespace(c)) { // have to process this as a text node. // weird, but happens. strictFail(parser, 'Non-whitespace before first tag.') parser.textNode = c parser.state = S.TEXT } } function charAt (chunk, i) { var result = '' if (i < chunk.length) { result = chunk.charAt(i) } return result } function write (chunk) { var parser = this if (this.error) { throw this.error } if (parser.closed) { return error(parser, 'Cannot write after close. Assign an onready handler.') } if (chunk === null) { return end(parser) } if (typeof chunk === 'object') { chunk = chunk.toString() } var i = 0 var c = '' while (true) { c = charAt(chunk, i++) parser.c = c if (!c) { break } if (parser.trackPosition) { parser.position++ if (c === '\n') { parser.line++ parser.column = 0 } else { parser.column++ } } switch (parser.state) { case S.BEGIN: parser.state = S.BEGIN_WHITESPACE if (c === '\uFEFF') { continue } beginWhiteSpace(parser, c) continue case S.BEGIN_WHITESPACE: beginWhiteSpace(parser, c) continue case S.TEXT: if (parser.sawRoot && !parser.closedRoot) { var starti = i - 1 while (c && c !== '<' && c !== '&') { c = charAt(chunk, i++) if (c && parser.trackPosition) { parser.position++ if (c === '\n') { parser.line++ parser.column = 0 } else { parser.column++ } } } parser.textNode += chunk.substring(starti, i - 1) } if (c === '<' && !(parser.sawRoot && parser.closedRoot && !parser.strict)) { parser.state = S.OPEN_WAKA parser.startTagPosition = parser.position } else { if (!isWhitespace(c) && (!parser.sawRoot || parser.closedRoot)) { strictFail(parser, 'Text data outside of root node.') } if (c === '&') { parser.state = S.TEXT_ENTITY } else { parser.textNode += c } } continue case S.SCRIPT: // only non-strict if (c === '<') { parser.state = S.SCRIPT_ENDING } else { parser.script += c } continue case S.SCRIPT_ENDING: if (c === '/') { parser.state = S.CLOSE_TAG } else { parser.script += '<' + c parser.state = S.SCRIPT } continue case S.OPEN_WAKA: // either a /, ?, !, or text is coming next. if (c === '!') { parser.state = S.SGML_DECL parser.sgmlDecl = '' } else if (isWhitespace(c)) { // wait for it... } else if (isMatch(nameStart, c)) { parser.state = S.OPEN_TAG parser.tagName = c } else if (c === '/') { parser.state = S.CLOSE_TAG parser.tagName = '' } else if (c === '?') { parser.state = S.PROC_INST parser.procInstName = parser.procInstBody = '' } else { strictFail(parser, 'Unencoded <') // if there was some whitespace, then add that in. if (parser.startTagPosition + 1 < parser.position) { var pad = parser.position - parser.startTagPosition c = new Array(pad).join(' ') + c } parser.textNode += '<' + c parser.state = S.TEXT } continue case S.SGML_DECL: if ((parser.sgmlDecl + c).toUpperCase() === CDATA) { emitNode(parser, 'onopencdata') parser.state = S.CDATA parser.sgmlDecl = '' parser.cdata = '' } else if (parser.sgmlDecl + c === '--') { parser.state = S.COMMENT parser.comment = '' parser.sgmlDecl = '' } else if ((parser.sgmlDecl + c).toUpperCase() === DOCTYPE) { parser.state = S.DOCTYPE if (parser.doctype || parser.sawRoot) { strictFail(parser, 'Inappropriately located doctype declaration') } parser.doctype = '' parser.sgmlDecl = '' } else if (c === '>') { emitNode(parser, 'onsgmldeclaration', parser.sgmlDecl) parser.sgmlDecl = '' parser.state = S.TEXT } else if (isQuote(c)) { parser.state = S.SGML_DECL_QUOTED parser.sgmlDecl += c } else { parser.sgmlDecl += c } continue case S.SGML_DECL_QUOTED: if (c === parser.q) { parser.state = S.SGML_DECL parser.q = '' } parser.sgmlDecl += c continue case S.DOCTYPE: if (c === '>') { parser.state = S.TEXT emitNode(parser, 'ondoctype', parser.doctype) parser.doctype = true // just remember that we saw it. } else { parser.doctype += c if (c === '[') { parser.state = S.DOCTYPE_DTD } else if (isQuote(c)) { parser.state = S.DOCTYPE_QUOTED parser.q = c } } continue case S.DOCTYPE_QUOTED: parser.doctype += c if (c === parser.q) { parser.q = '' parser.state = S.DOCTYPE } continue case S.DOCTYPE_DTD: parser.doctype += c if (c === ']') { parser.state = S.DOCTYPE } else if (isQuote(c)) { parser.state = S.DOCTYPE_DTD_QUOTED parser.q = c } continue case S.DOCTYPE_DTD_QUOTED: parser.doctype += c if (c === parser.q) { parser.state = S.DOCTYPE_DTD parser.q = '' } continue case S.COMMENT: if (c === '-') { parser.state = S.COMMENT_ENDING } else { parser.comment += c } continue case S.COMMENT_ENDING: if (c === '-') { parser.state = S.COMMENT_ENDED parser.comment = textopts(parser.opt, parser.comment) if (parser.comment) { emitNode(parser, 'oncomment', parser.comment) } parser.comment = '' } else { parser.comment += '-' + c parser.state = S.COMMENT } continue case S.COMMENT_ENDED: if (c !== '>') { strictFail(parser, 'Malformed comment') // allow <!-- blah -- bloo --> in non-strict mode, // which is a comment of " blah -- bloo " parser.comment += '--' + c parser.state = S.COMMENT } else { parser.state = S.TEXT } continue case S.CDATA: if (c === ']') { parser.state = S.CDATA_ENDING } else { parser.cdata += c } continue case S.CDATA_ENDING: if (c === ']') { parser.state = S.CDATA_ENDING_2 } else { parser.cdata += ']' + c parser.state = S.CDATA } continue case S.CDATA_ENDING_2: if (c === '>') { if (parser.cdata) { emitNode(parser, 'oncdata', parser.cdata) } emitNode(parser, 'onclosecdata') parser.cdata = '' parser.state = S.TEXT } else if (c === ']') { parser.cdata += ']' } else { parser.cdata += ']]' + c parser.state = S.CDATA } continue case S.PROC_INST: if (c === '?') { parser.state = S.PROC_INST_ENDING } else if (isWhitespace(c)) { parser.state = S.PROC_INST_BODY } else { parser.procInstName += c } continue case S.PROC_INST_BODY: if (!parser.procInstBody && isWhitespace(c)) { continue } else if (c === '?') { parser.state = S.PROC_INST_ENDING } else { parser.procInstBody += c } continue case S.PROC_INST_ENDING: if (c === '>') { emitNode(parser, 'onprocessinginstruction', { name: parser.procInstName, body: parser.procInstBody }) parser.procInstName = parser.procInstBody = '' parser.state = S.TEXT } else { parser.procInstBody += '?' + c parser.state = S.PROC_INST_BODY } continue case S.OPEN_TAG: if (isMatch(nameBody, c)) { parser.tagName += c } else { newTag(parser) if (c === '>') { openTag(parser) } else if (c === '/') { parser.state = S.OPEN_TAG_SLASH } else { if (!isWhitespace(c)) { strictFail(parser, 'Invalid character in tag name') } parser.state = S.ATTRIB } } continue case S.OPEN_TAG_SLASH: if (c === '>') { openTag(parser, true) closeTag(parser) } else { strictFail(parser, 'Forward-slash in opening tag not followed by >') parser.state = S.ATTRIB } continue case S.ATTRIB: // haven't read the attribute name yet. if (isWhitespace(c)) { continue } else if (c === '>') { openTag(parser) } else if (c === '/') { parser.state = S.OPEN_TAG_SLASH } else if (isMatch(nameStart, c)) { parser.attribName = c parser.attribValue = '' parser.state = S.ATTRIB_NAME } else { strictFail(parser, 'Invalid attribute name') } continue case S.ATTRIB_NAME: if (c === '=') { parser.state = S.ATTRIB_VALUE } else if (c === '>') { strictFail(parser, 'Attribute without value') parser.attribValue = parser.attribName attrib(parser) openTag(parser) } else if (isWhitespace(c)) { parser.state = S.ATTRIB_NAME_SAW_WHITE } else if (isMatch(nameBody, c)) { parser.attribName += c } else { strictFail(parser, 'Invalid attribute name') } continue case S.ATTRIB_NAME_SAW_WHITE: if (c === '=') { parser.state = S.ATTRIB_VALUE } else if (isWhitespace(c)) { continue } else { strictFail(parser, 'Attribute without value') parser.tag.attributes[parser.attribName] = '' parser.attribValue = '' emitNode(parser, 'onattribute', { name: parser.attribName, value: '' }) parser.attribName = '' if (c === '>') { openTag(parser) } else if (isMatch(nameStart, c)) { parser.attribName = c parser.state = S.ATTRIB_NAME } else { strictFail(parser, 'Invalid attribute name') parser.state = S.ATTRIB } } continue case S.ATTRIB_VALUE: if (isWhitespace(c)) { continue } else if (isQuote(c)) { parser.q = c parser.state = S.ATTRIB_VALUE_QUOTED } else { strictFail(parser, 'Unquoted attribute value') parser.state = S.ATTRIB_VALUE_UNQUOTED parser.attribValue = c } continue case S.ATTRIB_VALUE_QUOTED: if (c !== parser.q) { if (c === '&') { parser.state = S.ATTRIB_VALUE_ENTITY_Q } else { parser.attribValue += c } continue } attrib(parser) parser.q = '' parser.state = S.ATTRIB_VALUE_CLOSED continue case S.ATTRIB_VALUE_CLOSED: if (isWhitespace(c)) { parser.state = S.ATTRIB } else if (c === '>') { openTag(parser) } else if (c === '/') { parser.state = S.OPEN_TAG_SLASH } else if (isMatch(nameStart, c)) { strictFail(parser, 'No whitespace between attributes') parser.attribName = c parser.attribValue = '' parser.state = S.ATTRIB_NAME } else { strictFail(parser, 'Invalid attribute name') } continue case S.ATTRIB_VALUE_UNQUOTED: if (!isAttribEnd(c)) { if (c === '&') { parser.state = S.ATTRIB_VALUE_ENTITY_U } else { parser.attribValue += c } continue } attrib(parser) if (c === '>') { openTag(parser) } else { parser.state = S.ATTRIB } continue case S.CLOSE_TAG: if (!parser.tagName) { if (isWhitespace(c)) { continue } else if (notMatch(nameStart, c)) { if (parser.script) { parser.script += '</' + c parser.state = S.SCRIPT } else { strictFail(parser, 'Invalid tagname in closing tag.') } } else { parser.tagName = c } } else if (c === '>') { closeTag(parser) } else if (isMatch(nameBody, c)) { parser.tagName += c } else if (parser.script) { parser.script += '</' + parser.tagName parser.tagName = '' parser.state = S.SCRIPT } else { if (!isWhitespace(c)) { strictFail(parser, 'Invalid tagname in closing tag') } parser.state = S.CLOSE_TAG_SAW_WHITE } continue case S.CLOSE_TAG_SAW_WHITE: if (isWhitespace(c)) { continue } if (c === '>') { closeTag(parser) } else { strictFail(parser, 'Invalid characters in closing tag') } continue case S.TEXT_ENTITY: case S.ATTRIB_VALUE_ENTITY_Q: case S.ATTRIB_VALUE_ENTITY_U: var returnState var buffer switch (parser.state) { case S.TEXT_ENTITY: returnState = S.TEXT buffer = 'textNode' break case S.ATTRIB_VALUE_ENTITY_Q: returnState = S.ATTRIB_VALUE_QUOTED buffer = 'attribValue' break case S.ATTRIB_VALUE_ENTITY_U: returnState = S.ATTRIB_VALUE_UNQUOTED buffer = 'attribValue' break } if (c === ';') { parser[buffer] += parseEntity(parser) parser.entity = '' parser.state = returnState } else if (isMatch(parser.entity.length ? entityBody : entityStart, c)) { parser.entity += c } else { strictFail(parser, 'Invalid character in entity name') parser[buffer] += '&' + parser.entity + c parser.entity = '' parser.state = returnState } continue default: throw new Error(parser, 'Unknown state: ' + parser.state) } } // while if (parser.position >= parser.bufferCheckPosition) { checkBufferLength(parser) } return parser } /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */ /* istanbul ignore next */ if (!String.fromCodePoint) { (function () { var stringFromCharCode = String.fromCharCode var floor = Math.floor var fromCodePoint = function () { var MAX_SIZE = 0x4000 var codeUnits = [] var highSurrogate var lowSurrogate var index = -1 var length = arguments.length if (!length) { return '' } var result = '' while (++index < length) { var codePoint = Number(arguments[index]) if ( !isFinite(codePoint) || // `NaN`, `+Infinity`, or `-Infinity` codePoint < 0 || // not a valid Unicode code point codePoint > 0x10FFFF || // not a valid Unicode code point floor(codePoint) !== codePoint // not an integer ) { throw RangeError('Invalid code point: ' + codePoint) } if (codePoint <= 0xFFFF) { // BMP code point codeUnits.push(codePoint) } else { // Astral code point; split in surrogate halves // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae codePoint -= 0x10000 highSurrogate = (codePoint >> 10) + 0xD800 lowSurrogate = (codePoint % 0x400) + 0xDC00 codeUnits.push(highSurrogate, lowSurrogate) } if (index + 1 === length || codeUnits.length > MAX_SIZE) { result += stringFromCharCode.apply(null, codeUnits) codeUnits.length = 0 } } return result } /* istanbul ignore next */ if (Object.defineProperty) { Object.defineProperty(String, 'fromCodePoint', { value: fromCodePoint, configurable: true, writable: true }) } else { String.fromCodePoint = fromCodePoint } }()) } })(typeof exports === 'undefined' ? this.sax = {} : exports) }).call(this)}).call(this,require("buffer").Buffer) },{"buffer":85,"stream":345,"string_decoder":86}],345:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. module.exports = Stream; var EE = require('events').EventEmitter; var inherits = require('inherits'); inherits(Stream, EE); Stream.Readable = require('readable-stream/readable.js'); Stream.Writable = require('readable-stream/writable.js'); Stream.Duplex = require('readable-stream/duplex.js'); Stream.Transform = require('readable-stream/transform.js'); Stream.PassThrough = require('readable-stream/passthrough.js'); // Backwards-compat with node 0.4.x Stream.Stream = Stream; // old-style streams. Note that the pipe method (the only relevant // part of this class) is overridden in the Readable class. function Stream() { EE.call(this); } Stream.prototype.pipe = function(dest, options) { var source = this; function ondata(chunk) { if (dest.writable) { if (false === dest.write(chunk) && source.pause) { source.pause(); } } } source.on('data', ondata); function ondrain() { if (source.readable && source.resume) { source.resume(); } } dest.on('drain', ondrain); // If the 'end' option is not supplied, dest.end() will be called when // source gets the 'end' or 'close' events. Only dest.end() once. if (!dest._isStdio && (!options || options.end !== false)) { source.on('end', onend); source.on('close', onclose); } var didOnEnd = false; function onend() { if (didOnEnd) return; didOnEnd = true; dest.end(); } function onclose() { if (didOnEnd) return; didOnEnd = true; if (typeof dest.destroy === 'function') dest.destroy(); } // don't leave dangling pipes when there are errors. function onerror(er) { cleanup(); if (EE.listenerCount(this, 'error') === 0) { throw er; // Unhandled stream error in pipe. } } source.on('error', onerror); dest.on('error', onerror); // remove all the event listeners that were added. function cleanup() { source.removeListener('data', ondata); dest.removeListener('drain', ondrain); source.removeListener('end', onend); source.removeListener('close', onclose); source.removeListener('error', onerror); dest.removeListener('error', onerror); source.removeListener('end', cleanup); source.removeListener('close', cleanup); dest.removeListener('close', cleanup); } source.on('end', cleanup); source.on('close', cleanup); dest.on('close', cleanup); dest.emit('pipe', source); // Allow for unix-like usage: A.pipe(B).pipe(C) return dest; }; },{"events":301,"inherits":311,"readable-stream/duplex.js":329,"readable-stream/passthrough.js":338,"readable-stream/readable.js":339,"readable-stream/transform.js":340,"readable-stream/writable.js":341}],346:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; /*<replacement>*/ var Buffer = require('safe-buffer').Buffer; /*</replacement>*/ var isEncoding = Buffer.isEncoding || function (encoding) { encoding = '' + encoding; switch (encoding && encoding.toLowerCase()) { case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw': return true; default: return false; } }; function _normalizeEncoding(enc) { if (!enc) return 'utf8'; var retried; while (true) { switch (enc) { case 'utf8': case 'utf-8': return 'utf8'; case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return 'utf16le'; case 'latin1': case 'binary': return 'latin1'; case 'base64': case 'ascii': case 'hex': return enc; default: if (retried) return; // undefined enc = ('' + enc).toLowerCase(); retried = true; } } }; // Do not cache `Buffer.isEncoding` when checking encoding names as some // modules monkey-patch it to support additional encodings function normalizeEncoding(enc) { var nenc = _normalizeEncoding(enc); if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc); return nenc || enc; } // StringDecoder provides an interface for efficiently splitting a series of // buffers into a series of JS strings without breaking apart multi-byte // characters. exports.StringDecoder = StringDecoder; function StringDecoder(encoding) { this.encoding = normalizeEncoding(encoding); var nb; switch (this.encoding) { case 'utf16le': this.text = utf16Text; this.end = utf16End; nb = 4; break; case 'utf8': this.fillLast = utf8FillLast; nb = 4; break; case 'base64': this.text = base64Text; this.end = base64End; nb = 3; break; default: this.write = simpleWrite; this.end = simpleEnd; return; } this.lastNeed = 0; this.lastTotal = 0; this.lastChar = Buffer.allocUnsafe(nb); } StringDecoder.prototype.write = function (buf) { if (buf.length === 0) return ''; var r; var i; if (this.lastNeed) { r = this.fillLast(buf); if (r === undefined) return ''; i = this.lastNeed; this.lastNeed = 0; } else { i = 0; } if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i); return r || ''; }; StringDecoder.prototype.end = utf8End; // Returns only complete characters in a Buffer StringDecoder.prototype.text = utf8Text; // Attempts to complete a partial non-UTF-8 character using bytes from a Buffer StringDecoder.prototype.fillLast = function (buf) { if (this.lastNeed <= buf.length) { buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed); return this.lastChar.toString(this.encoding, 0, this.lastTotal); } buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length); this.lastNeed -= buf.length; }; // Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a // continuation byte. If an invalid byte is detected, -2 is returned. function utf8CheckByte(byte) { if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4; return byte >> 6 === 0x02 ? -1 : -2; } // Checks at most 3 bytes at the end of a Buffer in order to detect an // incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4) // needed to complete the UTF-8 character (if applicable) are returned. function utf8CheckIncomplete(self, buf, i) { var j = buf.length - 1; if (j < i) return 0; var nb = utf8CheckByte(buf[j]); if (nb >= 0) { if (nb > 0) self.lastNeed = nb - 1; return nb; } if (--j < i || nb === -2) return 0; nb = utf8CheckByte(buf[j]); if (nb >= 0) { if (nb > 0) self.lastNeed = nb - 2; return nb; } if (--j < i || nb === -2) return 0; nb = utf8CheckByte(buf[j]); if (nb >= 0) { if (nb > 0) { if (nb === 2) nb = 0;else self.lastNeed = nb - 3; } return nb; } return 0; } // Validates as many continuation bytes for a multi-byte UTF-8 character as // needed or are available. If we see a non-continuation byte where we expect // one, we "replace" the validated continuation bytes we've seen so far with // a single UTF-8 replacement character ('\ufffd'), to match v8's UTF-8 decoding // behavior. The continuation byte check is included three times in the case // where all of the continuation bytes for a character exist in the same buffer. // It is also done this way as a slight performance increase instead of using a // loop. function utf8CheckExtraBytes(self, buf, p) { if ((buf[0] & 0xC0) !== 0x80) { self.lastNeed = 0; return '\ufffd'; } if (self.lastNeed > 1 && buf.length > 1) { if ((buf[1] & 0xC0) !== 0x80) { self.lastNeed = 1; return '\ufffd'; } if (self.lastNeed > 2 && buf.length > 2) { if ((buf[2] & 0xC0) !== 0x80) { self.lastNeed = 2; return '\ufffd'; } } } } // Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer. function utf8FillLast(buf) { var p = this.lastTotal - this.lastNeed; var r = utf8CheckExtraBytes(this, buf, p); if (r !== undefined) return r; if (this.lastNeed <= buf.length) { buf.copy(this.lastChar, p, 0, this.lastNeed); return this.lastChar.toString(this.encoding, 0, this.lastTotal); } buf.copy(this.lastChar, p, 0, buf.length); this.lastNeed -= buf.length; } // Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a // partial character, the character's bytes are buffered until the required // number of bytes are available. function utf8Text(buf, i) { var total = utf8CheckIncomplete(this, buf, i); if (!this.lastNeed) return buf.toString('utf8', i); this.lastTotal = total; var end = buf.length - (total - this.lastNeed); buf.copy(this.lastChar, 0, end); return buf.toString('utf8', i, end); } // For UTF-8, a replacement character is added when ending on a partial // character. function utf8End(buf) { var r = buf && buf.length ? this.write(buf) : ''; if (this.lastNeed) return r + '\ufffd'; return r; } // UTF-16LE typically needs two bytes per character, but even if we have an even // number of bytes available, we need to check if we end on a leading/high // surrogate. In that case, we need to wait for the next two bytes in order to // decode the last character properly. function utf16Text(buf, i) { if ((buf.length - i) % 2 === 0) { var r = buf.toString('utf16le', i); if (r) { var c = r.charCodeAt(r.length - 1); if (c >= 0xD800 && c <= 0xDBFF) { this.lastNeed = 2; this.lastTotal = 4; this.lastChar[0] = buf[buf.length - 2]; this.lastChar[1] = buf[buf.length - 1]; return r.slice(0, -1); } } return r; } this.lastNeed = 1; this.lastTotal = 2; this.lastChar[0] = buf[buf.length - 1]; return buf.toString('utf16le', i, buf.length - 1); } // For UTF-16LE we do not explicitly append special replacement characters if we // end on a partial character, we simply let v8 handle that. function utf16End(buf) { var r = buf && buf.length ? this.write(buf) : ''; if (this.lastNeed) { var end = this.lastTotal - this.lastNeed; return r + this.lastChar.toString('utf16le', 0, end); } return r; } function base64Text(buf, i) { var n = (buf.length - i) % 3; if (n === 0) return buf.toString('base64', i); this.lastNeed = 3 - n; this.lastTotal = 3; if (n === 1) { this.lastChar[0] = buf[buf.length - 1]; } else { this.lastChar[0] = buf[buf.length - 2]; this.lastChar[1] = buf[buf.length - 1]; } return buf.toString('base64', i, buf.length - n); } function base64End(buf) { var r = buf && buf.length ? this.write(buf) : ''; if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed); return r; } // Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex) function simpleWrite(buf) { return buf.toString(this.encoding); } function simpleEnd(buf) { return buf && buf.length ? this.write(buf) : ''; } },{"safe-buffer":343}],347:[function(require,module,exports){ (function (setImmediate,clearImmediate){(function (){ var nextTick = require('process/browser.js').nextTick; var apply = Function.prototype.apply; var slice = Array.prototype.slice; var immediateIds = {}; var nextImmediateId = 0; // DOM APIs, for completeness exports.setTimeout = function() { return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout); }; exports.setInterval = function() { return new Timeout(apply.call(setInterval, window, arguments), clearInterval); }; exports.clearTimeout = exports.clearInterval = function(timeout) { timeout.close(); }; function Timeout(id, clearFn) { this._id = id; this._clearFn = clearFn; } Timeout.prototype.unref = Timeout.prototype.ref = function() {}; Timeout.prototype.close = function() { this._clearFn.call(window, this._id); }; // Does not start the time, just sets up the members needed. exports.enroll = function(item, msecs) { clearTimeout(item._idleTimeoutId); item._idleTimeout = msecs; }; exports.unenroll = function(item) { clearTimeout(item._idleTimeoutId); item._idleTimeout = -1; }; exports._unrefActive = exports.active = function(item) { clearTimeout(item._idleTimeoutId); var msecs = item._idleTimeout; if (msecs >= 0) { item._idleTimeoutId = setTimeout(function onTimeout() { if (item._onTimeout) item._onTimeout(); }, msecs); } }; // That's not how node.js implements it but the exposed api is the same. exports.setImmediate = typeof setImmediate === "function" ? setImmediate : function(fn) { var id = nextImmediateId++; var args = arguments.length < 2 ? false : slice.call(arguments, 1); immediateIds[id] = true; nextTick(function onNextTick() { if (immediateIds[id]) { // fn.call() is faster so we optimize for the common use-case // @see http://jsperf.com/call-apply-segu if (args) { fn.apply(null, args); } else { fn.call(null); } // Prevent ids from leaking exports.clearImmediate(id); } }); return id; }; exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate : function(id) { delete immediateIds[id]; }; }).call(this)}).call(this,require("timers").setImmediate,require("timers").clearImmediate) },{"process/browser.js":324,"timers":347}],348:[function(require,module,exports){ var Buffer = require('buffer').Buffer module.exports = function (buf) { // If the buffer is backed by a Uint8Array, a faster version will work if (buf instanceof Uint8Array) { // If the buffer isn't a subarray, return the underlying ArrayBuffer if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) { return buf.buffer } else if (typeof buf.buffer.slice === 'function') { // Otherwise we need to get a proper copy return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength) } } if (Buffer.isBuffer(buf)) { // This is the slow version that will work with any Buffer // implementation (even in old browsers) var arrayCopy = new Uint8Array(buf.length) var len = buf.length for (var i = 0; i < len; i++) { arrayCopy[i] = buf[i] } return arrayCopy.buffer } else { throw new Error('Argument must be a Buffer') } } },{"buffer":85}],349:[function(require,module,exports){ (function (global){(function (){ /** * Module exports. */ module.exports = deprecate; /** * Mark that a method should not be used. * Returns a modified function which warns once by default. * * If `localStorage.noDeprecation = true` is set, then it is a no-op. * * If `localStorage.throwDeprecation = true` is set, then deprecated functions * will throw an Error when invoked. * * If `localStorage.traceDeprecation = true` is set, then deprecated functions * will invoke `console.trace()` instead of `console.error()`. * * @param {Function} fn - the function to deprecate * @param {String} msg - the string to print to the console when `fn` is invoked * @returns {Function} a new "deprecated" version of `fn` * @api public */ function deprecate (fn, msg) { if (config('noDeprecation')) { return fn; } var warned = false; function deprecated() { if (!warned) { if (config('throwDeprecation')) { throw new Error(msg); } else if (config('traceDeprecation')) { console.trace(msg); } else { console.warn(msg); } warned = true; } return fn.apply(this, arguments); } return deprecated; } /** * Checks `localStorage` for boolean values for the given `name`. * * @param {String} name * @returns {Boolean} * @api private */ function config (name) { // accessing global.localStorage can trigger a DOMException in sandboxed iframes try { if (!global.localStorage) return false; } catch (_) { return false; } var val = global.localStorage[name]; if (null == val) return false; return String(val).toLowerCase() === 'true'; } }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],350:[function(require,module,exports){ arguments[4][79][0].apply(exports,arguments) },{"dup":79}],351:[function(require,module,exports){ arguments[4][80][0].apply(exports,arguments) },{"dup":80}],352:[function(require,module,exports){ arguments[4][81][0].apply(exports,arguments) },{"./support/isBuffer":351,"_process":399,"dup":81,"inherits":350}],353:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { "use strict"; exports.stripBOM = function(str) { if (str[0] === '\uFEFF') { return str.substring(1); } else { return str; } }; }).call(this); },{}],354:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { "use strict"; var builder, defaults, escapeCDATA, requiresCDATA, wrapCDATA, hasProp = {}.hasOwnProperty; builder = require('xmlbuilder'); defaults = require('./defaults').defaults; requiresCDATA = function(entry) { return typeof entry === "string" && (entry.indexOf('&') >= 0 || entry.indexOf('>') >= 0 || entry.indexOf('<') >= 0); }; wrapCDATA = function(entry) { return "<![CDATA[" + (escapeCDATA(entry)) + "]]>"; }; escapeCDATA = function(entry) { return entry.replace(']]>', ']]]]><![CDATA[>'); }; exports.Builder = (function() { function Builder(opts) { var key, ref, value; this.options = {}; ref = defaults["0.2"]; for (key in ref) { if (!hasProp.call(ref, key)) continue; value = ref[key]; this.options[key] = value; } for (key in opts) { if (!hasProp.call(opts, key)) continue; value = opts[key]; this.options[key] = value; } } Builder.prototype.buildObject = function(rootObj) { var attrkey, charkey, render, rootElement, rootName; attrkey = this.options.attrkey; charkey = this.options.charkey; if ((Object.keys(rootObj).length === 1) && (this.options.rootName === defaults['0.2'].rootName)) { rootName = Object.keys(rootObj)[0]; rootObj = rootObj[rootName]; } else { rootName = this.options.rootName; } render = (function(_this) { return function(element, obj) { var attr, child, entry, index, key, value; if (typeof obj !== 'object') { if (_this.options.cdata && requiresCDATA(obj)) { element.raw(wrapCDATA(obj)); } else { element.txt(obj); } } else if (Array.isArray(obj)) { for (index in obj) { if (!hasProp.call(obj, index)) continue; child = obj[index]; for (key in child) { entry = child[key]; element = render(element.ele(key), entry).up(); } } } else { for (key in obj) { if (!hasProp.call(obj, key)) continue; child = obj[key]; if (key === attrkey) { if (typeof child === "object") { for (attr in child) { value = child[attr]; element = element.att(attr, value); } } } else if (key === charkey) { if (_this.options.cdata && requiresCDATA(child)) { element = element.raw(wrapCDATA(child)); } else { element = element.txt(child); } } else if (Array.isArray(child)) { for (index in child) { if (!hasProp.call(child, index)) continue; entry = child[index]; if (typeof entry === 'string') { if (_this.options.cdata && requiresCDATA(entry)) { element = element.ele(key).raw(wrapCDATA(entry)).up(); } else { element = element.ele(key, entry).up(); } } else { element = render(element.ele(key), entry).up(); } } } else if (typeof child === "object") { element = render(element.ele(key), child).up(); } else { if (typeof child === 'string' && _this.options.cdata && requiresCDATA(child)) { element = element.ele(key).raw(wrapCDATA(child)).up(); } else { if (child == null) { child = ''; } element = element.ele(key, child.toString()).up(); } } } } return element; }; })(this); rootElement = builder.create(rootName, this.options.xmldec, this.options.doctype, { headless: this.options.headless, allowSurrogateChars: this.options.allowSurrogateChars }); return render(rootElement, rootObj).end(this.options.renderOpts); }; return Builder; })(); }).call(this); },{"./defaults":355,"xmlbuilder":391}],355:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { exports.defaults = { "0.1": { explicitCharkey: false, trim: true, normalize: true, normalizeTags: false, attrkey: "@", charkey: "#", explicitArray: false, ignoreAttrs: false, mergeAttrs: false, explicitRoot: false, validator: null, xmlns: false, explicitChildren: false, childkey: '@@', charsAsChildren: false, includeWhiteChars: false, async: false, strict: true, attrNameProcessors: null, attrValueProcessors: null, tagNameProcessors: null, valueProcessors: null, emptyTag: '' }, "0.2": { explicitCharkey: false, trim: false, normalize: false, normalizeTags: false, attrkey: "$", charkey: "_", explicitArray: true, ignoreAttrs: false, mergeAttrs: false, explicitRoot: true, validator: null, xmlns: false, explicitChildren: false, preserveChildrenOrder: false, childkey: '$$', charsAsChildren: false, includeWhiteChars: false, async: false, strict: true, attrNameProcessors: null, attrValueProcessors: null, tagNameProcessors: null, valueProcessors: null, rootName: 'root', xmldec: { 'version': '1.0', 'encoding': 'UTF-8', 'standalone': true }, doctype: null, renderOpts: { 'pretty': true, 'indent': ' ', 'newline': '\n' }, headless: false, chunkSize: 10000, emptyTag: '', cdata: false } }; }).call(this); },{}],356:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { "use strict"; var bom, defaults, events, isEmpty, processItem, processors, sax, setImmediate, bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; sax = require('sax'); events = require('events'); bom = require('./bom'); processors = require('./processors'); setImmediate = require('timers').setImmediate; defaults = require('./defaults').defaults; isEmpty = function(thing) { return typeof thing === "object" && (thing != null) && Object.keys(thing).length === 0; }; processItem = function(processors, item, key) { var i, len, process; for (i = 0, len = processors.length; i < len; i++) { process = processors[i]; item = process(item, key); } return item; }; exports.Parser = (function(superClass) { extend(Parser, superClass); function Parser(opts) { this.parseStringPromise = bind(this.parseStringPromise, this); this.parseString = bind(this.parseString, this); this.reset = bind(this.reset, this); this.assignOrPush = bind(this.assignOrPush, this); this.processAsync = bind(this.processAsync, this); var key, ref, value; if (!(this instanceof exports.Parser)) { return new exports.Parser(opts); } this.options = {}; ref = defaults["0.2"]; for (key in ref) { if (!hasProp.call(ref, key)) continue; value = ref[key]; this.options[key] = value; } for (key in opts) { if (!hasProp.call(opts, key)) continue; value = opts[key]; this.options[key] = value; } if (this.options.xmlns) { this.options.xmlnskey = this.options.attrkey + "ns"; } if (this.options.normalizeTags) { if (!this.options.tagNameProcessors) { this.options.tagNameProcessors = []; } this.options.tagNameProcessors.unshift(processors.normalize); } this.reset(); } Parser.prototype.processAsync = function() { var chunk, err; try { if (this.remaining.length <= this.options.chunkSize) { chunk = this.remaining; this.remaining = ''; this.saxParser = this.saxParser.write(chunk); return this.saxParser.close(); } else { chunk = this.remaining.substr(0, this.options.chunkSize); this.remaining = this.remaining.substr(this.options.chunkSize, this.remaining.length); this.saxParser = this.saxParser.write(chunk); return setImmediate(this.processAsync); } } catch (error1) { err = error1; if (!this.saxParser.errThrown) { this.saxParser.errThrown = true; return this.emit(err); } } }; Parser.prototype.assignOrPush = function(obj, key, newValue) { if (!(key in obj)) { if (!this.options.explicitArray) { return obj[key] = newValue; } else { return obj[key] = [newValue]; } } else { if (!(obj[key] instanceof Array)) { obj[key] = [obj[key]]; } return obj[key].push(newValue); } }; Parser.prototype.reset = function() { var attrkey, charkey, ontext, stack; this.removeAllListeners(); this.saxParser = sax.parser(this.options.strict, { trim: false, normalize: false, xmlns: this.options.xmlns }); this.saxParser.errThrown = false; this.saxParser.onerror = (function(_this) { return function(error) { _this.saxParser.resume(); if (!_this.saxParser.errThrown) { _this.saxParser.errThrown = true; return _this.emit("error", error); } }; })(this); this.saxParser.onend = (function(_this) { return function() { if (!_this.saxParser.ended) { _this.saxParser.ended = true; return _this.emit("end", _this.resultObject); } }; })(this); this.saxParser.ended = false; this.EXPLICIT_CHARKEY = this.options.explicitCharkey; this.resultObject = null; stack = []; attrkey = this.options.attrkey; charkey = this.options.charkey; this.saxParser.onopentag = (function(_this) { return function(node) { var key, newValue, obj, processedKey, ref; obj = {}; obj[charkey] = ""; if (!_this.options.ignoreAttrs) { ref = node.attributes; for (key in ref) { if (!hasProp.call(ref, key)) continue; if (!(attrkey in obj) && !_this.options.mergeAttrs) { obj[attrkey] = {}; } newValue = _this.options.attrValueProcessors ? processItem(_this.options.attrValueProcessors, node.attributes[key], key) : node.attributes[key]; processedKey = _this.options.attrNameProcessors ? processItem(_this.options.attrNameProcessors, key) : key; if (_this.options.mergeAttrs) { _this.assignOrPush(obj, processedKey, newValue); } else { obj[attrkey][processedKey] = newValue; } } } obj["#name"] = _this.options.tagNameProcessors ? processItem(_this.options.tagNameProcessors, node.name) : node.name; if (_this.options.xmlns) { obj[_this.options.xmlnskey] = { uri: node.uri, local: node.local }; } return stack.push(obj); }; })(this); this.saxParser.onclosetag = (function(_this) { return function() { var cdata, emptyStr, key, node, nodeName, obj, objClone, old, s, xpath; obj = stack.pop(); nodeName = obj["#name"]; if (!_this.options.explicitChildren || !_this.options.preserveChildrenOrder) { delete obj["#name"]; } if (obj.cdata === true) { cdata = obj.cdata; delete obj.cdata; } s = stack[stack.length - 1]; if (obj[charkey].match(/^\s*$/) && !cdata) { emptyStr = obj[charkey]; delete obj[charkey]; } else { if (_this.options.trim) { obj[charkey] = obj[charkey].trim(); } if (_this.options.normalize) { obj[charkey] = obj[charkey].replace(/\s{2,}/g, " ").trim(); } obj[charkey] = _this.options.valueProcessors ? processItem(_this.options.valueProcessors, obj[charkey], nodeName) : obj[charkey]; if (Object.keys(obj).length === 1 && charkey in obj && !_this.EXPLICIT_CHARKEY) { obj = obj[charkey]; } } if (isEmpty(obj)) { obj = _this.options.emptyTag !== '' ? _this.options.emptyTag : emptyStr; } if (_this.options.validator != null) { xpath = "/" + ((function() { var i, len, results; results = []; for (i = 0, len = stack.length; i < len; i++) { node = stack[i]; results.push(node["#name"]); } return results; })()).concat(nodeName).join("/"); (function() { var err; try { return obj = _this.options.validator(xpath, s && s[nodeName], obj); } catch (error1) { err = error1; return _this.emit("error", err); } })(); } if (_this.options.explicitChildren && !_this.options.mergeAttrs && typeof obj === 'object') { if (!_this.options.preserveChildrenOrder) { node = {}; if (_this.options.attrkey in obj) { node[_this.options.attrkey] = obj[_this.options.attrkey]; delete obj[_this.options.attrkey]; } if (!_this.options.charsAsChildren && _this.options.charkey in obj) { node[_this.options.charkey] = obj[_this.options.charkey]; delete obj[_this.options.charkey]; } if (Object.getOwnPropertyNames(obj).length > 0) { node[_this.options.childkey] = obj; } obj = node; } else if (s) { s[_this.options.childkey] = s[_this.options.childkey] || []; objClone = {}; for (key in obj) { if (!hasProp.call(obj, key)) continue; objClone[key] = obj[key]; } s[_this.options.childkey].push(objClone); delete obj["#name"]; if (Object.keys(obj).length === 1 && charkey in obj && !_this.EXPLICIT_CHARKEY) { obj = obj[charkey]; } } } if (stack.length > 0) { return _this.assignOrPush(s, nodeName, obj); } else { if (_this.options.explicitRoot) { old = obj; obj = {}; obj[nodeName] = old; } _this.resultObject = obj; _this.saxParser.ended = true; return _this.emit("end", _this.resultObject); } }; })(this); ontext = (function(_this) { return function(text) { var charChild, s; s = stack[stack.length - 1]; if (s) { s[charkey] += text; if (_this.options.explicitChildren && _this.options.preserveChildrenOrder && _this.options.charsAsChildren && (_this.options.includeWhiteChars || text.replace(/\\n/g, '').trim() !== '')) { s[_this.options.childkey] = s[_this.options.childkey] || []; charChild = { '#name': '__text__' }; charChild[charkey] = text; if (_this.options.normalize) { charChild[charkey] = charChild[charkey].replace(/\s{2,}/g, " ").trim(); } s[_this.options.childkey].push(charChild); } return s; } }; })(this); this.saxParser.ontext = ontext; return this.saxParser.oncdata = (function(_this) { return function(text) { var s; s = ontext(text); if (s) { return s.cdata = true; } }; })(this); }; Parser.prototype.parseString = function(str, cb) { var err; if ((cb != null) && typeof cb === "function") { this.on("end", function(result) { this.reset(); return cb(null, result); }); this.on("error", function(err) { this.reset(); return cb(err); }); } try { str = str.toString(); if (str.trim() === '') { this.emit("end", null); return true; } str = bom.stripBOM(str); if (this.options.async) { this.remaining = str; setImmediate(this.processAsync); return this.saxParser; } return this.saxParser.write(str).close(); } catch (error1) { err = error1; if (!(this.saxParser.errThrown || this.saxParser.ended)) { this.emit('error', err); return this.saxParser.errThrown = true; } else if (this.saxParser.ended) { throw err; } } }; Parser.prototype.parseStringPromise = function(str) { return new Promise((function(_this) { return function(resolve, reject) { return _this.parseString(str, function(err, value) { if (err) { return reject(err); } else { return resolve(value); } }); }; })(this)); }; return Parser; })(events); exports.parseString = function(str, a, b) { var cb, options, parser; if (b != null) { if (typeof b === 'function') { cb = b; } if (typeof a === 'object') { options = a; } } else { if (typeof a === 'function') { cb = a; } options = {}; } parser = new exports.Parser(options); return parser.parseString(str, cb); }; exports.parseStringPromise = function(str, a) { var options, parser; if (typeof a === 'object') { options = a; } parser = new exports.Parser(options); return parser.parseStringPromise(str); }; }).call(this); },{"./bom":353,"./defaults":355,"./processors":357,"events":301,"sax":344,"timers":347}],357:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { "use strict"; var prefixMatch; prefixMatch = new RegExp(/(?!xmlns)^.*:/); exports.normalize = function(str) { return str.toLowerCase(); }; exports.firstCharLowerCase = function(str) { return str.charAt(0).toLowerCase() + str.slice(1); }; exports.stripPrefix = function(str) { return str.replace(prefixMatch, ''); }; exports.parseNumbers = function(str) { if (!isNaN(str)) { str = str % 1 === 0 ? parseInt(str, 10) : parseFloat(str); } return str; }; exports.parseBooleans = function(str) { if (/^(?:true|false)$/i.test(str)) { str = str.toLowerCase() === 'true'; } return str; }; }).call(this); },{}],358:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { "use strict"; var builder, defaults, parser, processors, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; defaults = require('./defaults'); builder = require('./builder'); parser = require('./parser'); processors = require('./processors'); exports.defaults = defaults.defaults; exports.processors = processors; exports.ValidationError = (function(superClass) { extend(ValidationError, superClass); function ValidationError(message) { this.message = message; } return ValidationError; })(Error); exports.Builder = builder.Builder; exports.Parser = parser.Parser; exports.parseString = parser.parseString; exports.parseStringPromise = parser.parseStringPromise; }).call(this); },{"./builder":354,"./defaults":355,"./parser":356,"./processors":357}],359:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { module.exports = { Disconnected: 1, Preceding: 2, Following: 4, Contains: 8, ContainedBy: 16, ImplementationSpecific: 32 }; }).call(this); },{}],360:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { module.exports = { Element: 1, Attribute: 2, Text: 3, CData: 4, EntityReference: 5, EntityDeclaration: 6, ProcessingInstruction: 7, Comment: 8, Document: 9, DocType: 10, DocumentFragment: 11, NotationDeclaration: 12, Declaration: 201, Raw: 202, AttributeDeclaration: 203, ElementDeclaration: 204, Dummy: 205 }; }).call(this); },{}],361:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var assign, getValue, isArray, isEmpty, isFunction, isObject, isPlainObject, slice = [].slice, hasProp = {}.hasOwnProperty; assign = function() { var i, key, len, source, sources, target; target = arguments[0], sources = 2 <= arguments.length ? slice.call(arguments, 1) : []; if (isFunction(Object.assign)) { Object.assign.apply(null, arguments); } else { for (i = 0, len = sources.length; i < len; i++) { source = sources[i]; if (source != null) { for (key in source) { if (!hasProp.call(source, key)) continue; target[key] = source[key]; } } } } return target; }; isFunction = function(val) { return !!val && Object.prototype.toString.call(val) === '[object Function]'; }; isObject = function(val) { var ref; return !!val && ((ref = typeof val) === 'function' || ref === 'object'); }; isArray = function(val) { if (isFunction(Array.isArray)) { return Array.isArray(val); } else { return Object.prototype.toString.call(val) === '[object Array]'; } }; isEmpty = function(val) { var key; if (isArray(val)) { return !val.length; } else { for (key in val) { if (!hasProp.call(val, key)) continue; return false; } return true; } }; isPlainObject = function(val) { var ctor, proto; return isObject(val) && (proto = Object.getPrototypeOf(val)) && (ctor = proto.constructor) && (typeof ctor === 'function') && (ctor instanceof ctor) && (Function.prototype.toString.call(ctor) === Function.prototype.toString.call(Object)); }; getValue = function(obj) { if (isFunction(obj.valueOf)) { return obj.valueOf(); } else { return obj; } }; module.exports.assign = assign; module.exports.isFunction = isFunction; module.exports.isObject = isObject; module.exports.isArray = isArray; module.exports.isEmpty = isEmpty; module.exports.isPlainObject = isPlainObject; module.exports.getValue = getValue; }).call(this); },{}],362:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { module.exports = { None: 0, OpenTag: 1, InsideTag: 2, CloseTag: 3 }; }).call(this); },{}],363:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLAttribute, XMLNode; NodeType = require('./NodeType'); XMLNode = require('./XMLNode'); module.exports = XMLAttribute = (function() { function XMLAttribute(parent, name, value) { this.parent = parent; if (this.parent) { this.options = this.parent.options; this.stringify = this.parent.stringify; } if (name == null) { throw new Error("Missing attribute name. " + this.debugInfo(name)); } this.name = this.stringify.name(name); this.value = this.stringify.attValue(value); this.type = NodeType.Attribute; this.isId = false; this.schemaTypeInfo = null; } Object.defineProperty(XMLAttribute.prototype, 'nodeType', { get: function() { return this.type; } }); Object.defineProperty(XMLAttribute.prototype, 'ownerElement', { get: function() { return this.parent; } }); Object.defineProperty(XMLAttribute.prototype, 'textContent', { get: function() { return this.value; }, set: function(value) { return this.value = value || ''; } }); Object.defineProperty(XMLAttribute.prototype, 'namespaceURI', { get: function() { return ''; } }); Object.defineProperty(XMLAttribute.prototype, 'prefix', { get: function() { return ''; } }); Object.defineProperty(XMLAttribute.prototype, 'localName', { get: function() { return this.name; } }); Object.defineProperty(XMLAttribute.prototype, 'specified', { get: function() { return true; } }); XMLAttribute.prototype.clone = function() { return Object.create(this); }; XMLAttribute.prototype.toString = function(options) { return this.options.writer.attribute(this, this.options.writer.filterOptions(options)); }; XMLAttribute.prototype.debugInfo = function(name) { name = name || this.name; if (name == null) { return "parent: <" + this.parent.name + ">"; } else { return "attribute: {" + name + "}, parent: <" + this.parent.name + ">"; } }; XMLAttribute.prototype.isEqualNode = function(node) { if (node.namespaceURI !== this.namespaceURI) { return false; } if (node.prefix !== this.prefix) { return false; } if (node.localName !== this.localName) { return false; } if (node.value !== this.value) { return false; } return true; }; return XMLAttribute; })(); }).call(this); },{"./NodeType":360,"./XMLNode":382}],364:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLCData, XMLCharacterData, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; NodeType = require('./NodeType'); XMLCharacterData = require('./XMLCharacterData'); module.exports = XMLCData = (function(superClass) { extend(XMLCData, superClass); function XMLCData(parent, text) { XMLCData.__super__.constructor.call(this, parent); if (text == null) { throw new Error("Missing CDATA text. " + this.debugInfo()); } this.name = "#cdata-section"; this.type = NodeType.CData; this.value = this.stringify.cdata(text); } XMLCData.prototype.clone = function() { return Object.create(this); }; XMLCData.prototype.toString = function(options) { return this.options.writer.cdata(this, this.options.writer.filterOptions(options)); }; return XMLCData; })(XMLCharacterData); }).call(this); },{"./NodeType":360,"./XMLCharacterData":365}],365:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLCharacterData, XMLNode, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; XMLNode = require('./XMLNode'); module.exports = XMLCharacterData = (function(superClass) { extend(XMLCharacterData, superClass); function XMLCharacterData(parent) { XMLCharacterData.__super__.constructor.call(this, parent); this.value = ''; } Object.defineProperty(XMLCharacterData.prototype, 'data', { get: function() { return this.value; }, set: function(value) { return this.value = value || ''; } }); Object.defineProperty(XMLCharacterData.prototype, 'length', { get: function() { return this.value.length; } }); Object.defineProperty(XMLCharacterData.prototype, 'textContent', { get: function() { return this.value; }, set: function(value) { return this.value = value || ''; } }); XMLCharacterData.prototype.clone = function() { return Object.create(this); }; XMLCharacterData.prototype.substringData = function(offset, count) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLCharacterData.prototype.appendData = function(arg) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLCharacterData.prototype.insertData = function(offset, arg) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLCharacterData.prototype.deleteData = function(offset, count) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLCharacterData.prototype.replaceData = function(offset, count, arg) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLCharacterData.prototype.isEqualNode = function(node) { if (!XMLCharacterData.__super__.isEqualNode.apply(this, arguments).isEqualNode(node)) { return false; } if (node.data !== this.data) { return false; } return true; }; return XMLCharacterData; })(XMLNode); }).call(this); },{"./XMLNode":382}],366:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLCharacterData, XMLComment, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; NodeType = require('./NodeType'); XMLCharacterData = require('./XMLCharacterData'); module.exports = XMLComment = (function(superClass) { extend(XMLComment, superClass); function XMLComment(parent, text) { XMLComment.__super__.constructor.call(this, parent); if (text == null) { throw new Error("Missing comment text. " + this.debugInfo()); } this.name = "#comment"; this.type = NodeType.Comment; this.value = this.stringify.comment(text); } XMLComment.prototype.clone = function() { return Object.create(this); }; XMLComment.prototype.toString = function(options) { return this.options.writer.comment(this, this.options.writer.filterOptions(options)); }; return XMLComment; })(XMLCharacterData); }).call(this); },{"./NodeType":360,"./XMLCharacterData":365}],367:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLDOMConfiguration, XMLDOMErrorHandler, XMLDOMStringList; XMLDOMErrorHandler = require('./XMLDOMErrorHandler'); XMLDOMStringList = require('./XMLDOMStringList'); module.exports = XMLDOMConfiguration = (function() { function XMLDOMConfiguration() { var clonedSelf; this.defaultParams = { "canonical-form": false, "cdata-sections": false, "comments": false, "datatype-normalization": false, "element-content-whitespace": true, "entities": true, "error-handler": new XMLDOMErrorHandler(), "infoset": true, "validate-if-schema": false, "namespaces": true, "namespace-declarations": true, "normalize-characters": false, "schema-location": '', "schema-type": '', "split-cdata-sections": true, "validate": false, "well-formed": true }; this.params = clonedSelf = Object.create(this.defaultParams); } Object.defineProperty(XMLDOMConfiguration.prototype, 'parameterNames', { get: function() { return new XMLDOMStringList(Object.keys(this.defaultParams)); } }); XMLDOMConfiguration.prototype.getParameter = function(name) { if (this.params.hasOwnProperty(name)) { return this.params[name]; } else { return null; } }; XMLDOMConfiguration.prototype.canSetParameter = function(name, value) { return true; }; XMLDOMConfiguration.prototype.setParameter = function(name, value) { if (value != null) { return this.params[name] = value; } else { return delete this.params[name]; } }; return XMLDOMConfiguration; })(); }).call(this); },{"./XMLDOMErrorHandler":368,"./XMLDOMStringList":370}],368:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLDOMErrorHandler; module.exports = XMLDOMErrorHandler = (function() { function XMLDOMErrorHandler() {} XMLDOMErrorHandler.prototype.handleError = function(error) { throw new Error(error); }; return XMLDOMErrorHandler; })(); }).call(this); },{}],369:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLDOMImplementation; module.exports = XMLDOMImplementation = (function() { function XMLDOMImplementation() {} XMLDOMImplementation.prototype.hasFeature = function(feature, version) { return true; }; XMLDOMImplementation.prototype.createDocumentType = function(qualifiedName, publicId, systemId) { throw new Error("This DOM method is not implemented."); }; XMLDOMImplementation.prototype.createDocument = function(namespaceURI, qualifiedName, doctype) { throw new Error("This DOM method is not implemented."); }; XMLDOMImplementation.prototype.createHTMLDocument = function(title) { throw new Error("This DOM method is not implemented."); }; XMLDOMImplementation.prototype.getFeature = function(feature, version) { throw new Error("This DOM method is not implemented."); }; return XMLDOMImplementation; })(); }).call(this); },{}],370:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLDOMStringList; module.exports = XMLDOMStringList = (function() { function XMLDOMStringList(arr) { this.arr = arr || []; } Object.defineProperty(XMLDOMStringList.prototype, 'length', { get: function() { return this.arr.length; } }); XMLDOMStringList.prototype.item = function(index) { return this.arr[index] || null; }; XMLDOMStringList.prototype.contains = function(str) { return this.arr.indexOf(str) !== -1; }; return XMLDOMStringList; })(); }).call(this); },{}],371:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDTDAttList, XMLNode, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; XMLNode = require('./XMLNode'); NodeType = require('./NodeType'); module.exports = XMLDTDAttList = (function(superClass) { extend(XMLDTDAttList, superClass); function XMLDTDAttList(parent, elementName, attributeName, attributeType, defaultValueType, defaultValue) { XMLDTDAttList.__super__.constructor.call(this, parent); if (elementName == null) { throw new Error("Missing DTD element name. " + this.debugInfo()); } if (attributeName == null) { throw new Error("Missing DTD attribute name. " + this.debugInfo(elementName)); } if (!attributeType) { throw new Error("Missing DTD attribute type. " + this.debugInfo(elementName)); } if (!defaultValueType) { throw new Error("Missing DTD attribute default. " + this.debugInfo(elementName)); } if (defaultValueType.indexOf('#') !== 0) { defaultValueType = '#' + defaultValueType; } if (!defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)) { throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. " + this.debugInfo(elementName)); } if (defaultValue && !defaultValueType.match(/^(#FIXED|#DEFAULT)$/)) { throw new Error("Default value only applies to #FIXED or #DEFAULT. " + this.debugInfo(elementName)); } this.elementName = this.stringify.name(elementName); this.type = NodeType.AttributeDeclaration; this.attributeName = this.stringify.name(attributeName); this.attributeType = this.stringify.dtdAttType(attributeType); if (defaultValue) { this.defaultValue = this.stringify.dtdAttDefault(defaultValue); } this.defaultValueType = defaultValueType; } XMLDTDAttList.prototype.toString = function(options) { return this.options.writer.dtdAttList(this, this.options.writer.filterOptions(options)); }; return XMLDTDAttList; })(XMLNode); }).call(this); },{"./NodeType":360,"./XMLNode":382}],372:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDTDElement, XMLNode, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; XMLNode = require('./XMLNode'); NodeType = require('./NodeType'); module.exports = XMLDTDElement = (function(superClass) { extend(XMLDTDElement, superClass); function XMLDTDElement(parent, name, value) { XMLDTDElement.__super__.constructor.call(this, parent); if (name == null) { throw new Error("Missing DTD element name. " + this.debugInfo()); } if (!value) { value = '(#PCDATA)'; } if (Array.isArray(value)) { value = '(' + value.join(',') + ')'; } this.name = this.stringify.name(name); this.type = NodeType.ElementDeclaration; this.value = this.stringify.dtdElementValue(value); } XMLDTDElement.prototype.toString = function(options) { return this.options.writer.dtdElement(this, this.options.writer.filterOptions(options)); }; return XMLDTDElement; })(XMLNode); }).call(this); },{"./NodeType":360,"./XMLNode":382}],373:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDTDEntity, XMLNode, isObject, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; isObject = require('./Utility').isObject; XMLNode = require('./XMLNode'); NodeType = require('./NodeType'); module.exports = XMLDTDEntity = (function(superClass) { extend(XMLDTDEntity, superClass); function XMLDTDEntity(parent, pe, name, value) { XMLDTDEntity.__super__.constructor.call(this, parent); if (name == null) { throw new Error("Missing DTD entity name. " + this.debugInfo(name)); } if (value == null) { throw new Error("Missing DTD entity value. " + this.debugInfo(name)); } this.pe = !!pe; this.name = this.stringify.name(name); this.type = NodeType.EntityDeclaration; if (!isObject(value)) { this.value = this.stringify.dtdEntityValue(value); this.internal = true; } else { if (!value.pubID && !value.sysID) { throw new Error("Public and/or system identifiers are required for an external entity. " + this.debugInfo(name)); } if (value.pubID && !value.sysID) { throw new Error("System identifier is required for a public external entity. " + this.debugInfo(name)); } this.internal = false; if (value.pubID != null) { this.pubID = this.stringify.dtdPubID(value.pubID); } if (value.sysID != null) { this.sysID = this.stringify.dtdSysID(value.sysID); } if (value.nData != null) { this.nData = this.stringify.dtdNData(value.nData); } if (this.pe && this.nData) { throw new Error("Notation declaration is not allowed in a parameter entity. " + this.debugInfo(name)); } } } Object.defineProperty(XMLDTDEntity.prototype, 'publicId', { get: function() { return this.pubID; } }); Object.defineProperty(XMLDTDEntity.prototype, 'systemId', { get: function() { return this.sysID; } }); Object.defineProperty(XMLDTDEntity.prototype, 'notationName', { get: function() { return this.nData || null; } }); Object.defineProperty(XMLDTDEntity.prototype, 'inputEncoding', { get: function() { return null; } }); Object.defineProperty(XMLDTDEntity.prototype, 'xmlEncoding', { get: function() { return null; } }); Object.defineProperty(XMLDTDEntity.prototype, 'xmlVersion', { get: function() { return null; } }); XMLDTDEntity.prototype.toString = function(options) { return this.options.writer.dtdEntity(this, this.options.writer.filterOptions(options)); }; return XMLDTDEntity; })(XMLNode); }).call(this); },{"./NodeType":360,"./Utility":361,"./XMLNode":382}],374:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDTDNotation, XMLNode, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; XMLNode = require('./XMLNode'); NodeType = require('./NodeType'); module.exports = XMLDTDNotation = (function(superClass) { extend(XMLDTDNotation, superClass); function XMLDTDNotation(parent, name, value) { XMLDTDNotation.__super__.constructor.call(this, parent); if (name == null) { throw new Error("Missing DTD notation name. " + this.debugInfo(name)); } if (!value.pubID && !value.sysID) { throw new Error("Public or system identifiers are required for an external entity. " + this.debugInfo(name)); } this.name = this.stringify.name(name); this.type = NodeType.NotationDeclaration; if (value.pubID != null) { this.pubID = this.stringify.dtdPubID(value.pubID); } if (value.sysID != null) { this.sysID = this.stringify.dtdSysID(value.sysID); } } Object.defineProperty(XMLDTDNotation.prototype, 'publicId', { get: function() { return this.pubID; } }); Object.defineProperty(XMLDTDNotation.prototype, 'systemId', { get: function() { return this.sysID; } }); XMLDTDNotation.prototype.toString = function(options) { return this.options.writer.dtdNotation(this, this.options.writer.filterOptions(options)); }; return XMLDTDNotation; })(XMLNode); }).call(this); },{"./NodeType":360,"./XMLNode":382}],375:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDeclaration, XMLNode, isObject, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; isObject = require('./Utility').isObject; XMLNode = require('./XMLNode'); NodeType = require('./NodeType'); module.exports = XMLDeclaration = (function(superClass) { extend(XMLDeclaration, superClass); function XMLDeclaration(parent, version, encoding, standalone) { var ref; XMLDeclaration.__super__.constructor.call(this, parent); if (isObject(version)) { ref = version, version = ref.version, encoding = ref.encoding, standalone = ref.standalone; } if (!version) { version = '1.0'; } this.type = NodeType.Declaration; this.version = this.stringify.xmlVersion(version); if (encoding != null) { this.encoding = this.stringify.xmlEncoding(encoding); } if (standalone != null) { this.standalone = this.stringify.xmlStandalone(standalone); } } XMLDeclaration.prototype.toString = function(options) { return this.options.writer.declaration(this, this.options.writer.filterOptions(options)); }; return XMLDeclaration; })(XMLNode); }).call(this); },{"./NodeType":360,"./Utility":361,"./XMLNode":382}],376:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLNamedNodeMap, XMLNode, isObject, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; isObject = require('./Utility').isObject; XMLNode = require('./XMLNode'); NodeType = require('./NodeType'); XMLDTDAttList = require('./XMLDTDAttList'); XMLDTDEntity = require('./XMLDTDEntity'); XMLDTDElement = require('./XMLDTDElement'); XMLDTDNotation = require('./XMLDTDNotation'); XMLNamedNodeMap = require('./XMLNamedNodeMap'); module.exports = XMLDocType = (function(superClass) { extend(XMLDocType, superClass); function XMLDocType(parent, pubID, sysID) { var child, i, len, ref, ref1, ref2; XMLDocType.__super__.constructor.call(this, parent); this.type = NodeType.DocType; if (parent.children) { ref = parent.children; for (i = 0, len = ref.length; i < len; i++) { child = ref[i]; if (child.type === NodeType.Element) { this.name = child.name; break; } } } this.documentObject = parent; if (isObject(pubID)) { ref1 = pubID, pubID = ref1.pubID, sysID = ref1.sysID; } if (sysID == null) { ref2 = [pubID, sysID], sysID = ref2[0], pubID = ref2[1]; } if (pubID != null) { this.pubID = this.stringify.dtdPubID(pubID); } if (sysID != null) { this.sysID = this.stringify.dtdSysID(sysID); } } Object.defineProperty(XMLDocType.prototype, 'entities', { get: function() { var child, i, len, nodes, ref; nodes = {}; ref = this.children; for (i = 0, len = ref.length; i < len; i++) { child = ref[i]; if ((child.type === NodeType.EntityDeclaration) && !child.pe) { nodes[child.name] = child; } } return new XMLNamedNodeMap(nodes); } }); Object.defineProperty(XMLDocType.prototype, 'notations', { get: function() { var child, i, len, nodes, ref; nodes = {}; ref = this.children; for (i = 0, len = ref.length; i < len; i++) { child = ref[i]; if (child.type === NodeType.NotationDeclaration) { nodes[child.name] = child; } } return new XMLNamedNodeMap(nodes); } }); Object.defineProperty(XMLDocType.prototype, 'publicId', { get: function() { return this.pubID; } }); Object.defineProperty(XMLDocType.prototype, 'systemId', { get: function() { return this.sysID; } }); Object.defineProperty(XMLDocType.prototype, 'internalSubset', { get: function() { throw new Error("This DOM method is not implemented." + this.debugInfo()); } }); XMLDocType.prototype.element = function(name, value) { var child; child = new XMLDTDElement(this, name, value); this.children.push(child); return this; }; XMLDocType.prototype.attList = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { var child; child = new XMLDTDAttList(this, elementName, attributeName, attributeType, defaultValueType, defaultValue); this.children.push(child); return this; }; XMLDocType.prototype.entity = function(name, value) { var child; child = new XMLDTDEntity(this, false, name, value); this.children.push(child); return this; }; XMLDocType.prototype.pEntity = function(name, value) { var child; child = new XMLDTDEntity(this, true, name, value); this.children.push(child); return this; }; XMLDocType.prototype.notation = function(name, value) { var child; child = new XMLDTDNotation(this, name, value); this.children.push(child); return this; }; XMLDocType.prototype.toString = function(options) { return this.options.writer.docType(this, this.options.writer.filterOptions(options)); }; XMLDocType.prototype.ele = function(name, value) { return this.element(name, value); }; XMLDocType.prototype.att = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { return this.attList(elementName, attributeName, attributeType, defaultValueType, defaultValue); }; XMLDocType.prototype.ent = function(name, value) { return this.entity(name, value); }; XMLDocType.prototype.pent = function(name, value) { return this.pEntity(name, value); }; XMLDocType.prototype.not = function(name, value) { return this.notation(name, value); }; XMLDocType.prototype.up = function() { return this.root() || this.documentObject; }; XMLDocType.prototype.isEqualNode = function(node) { if (!XMLDocType.__super__.isEqualNode.apply(this, arguments).isEqualNode(node)) { return false; } if (node.name !== this.name) { return false; } if (node.publicId !== this.publicId) { return false; } if (node.systemId !== this.systemId) { return false; } return true; }; return XMLDocType; })(XMLNode); }).call(this); },{"./NodeType":360,"./Utility":361,"./XMLDTDAttList":371,"./XMLDTDElement":372,"./XMLDTDEntity":373,"./XMLDTDNotation":374,"./XMLNamedNodeMap":381,"./XMLNode":382}],377:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDOMConfiguration, XMLDOMImplementation, XMLDocument, XMLNode, XMLStringWriter, XMLStringifier, isPlainObject, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; isPlainObject = require('./Utility').isPlainObject; XMLDOMImplementation = require('./XMLDOMImplementation'); XMLDOMConfiguration = require('./XMLDOMConfiguration'); XMLNode = require('./XMLNode'); NodeType = require('./NodeType'); XMLStringifier = require('./XMLStringifier'); XMLStringWriter = require('./XMLStringWriter'); module.exports = XMLDocument = (function(superClass) { extend(XMLDocument, superClass); function XMLDocument(options) { XMLDocument.__super__.constructor.call(this, null); this.name = "#document"; this.type = NodeType.Document; this.documentURI = null; this.domConfig = new XMLDOMConfiguration(); options || (options = {}); if (!options.writer) { options.writer = new XMLStringWriter(); } this.options = options; this.stringify = new XMLStringifier(options); } Object.defineProperty(XMLDocument.prototype, 'implementation', { value: new XMLDOMImplementation() }); Object.defineProperty(XMLDocument.prototype, 'doctype', { get: function() { var child, i, len, ref; ref = this.children; for (i = 0, len = ref.length; i < len; i++) { child = ref[i]; if (child.type === NodeType.DocType) { return child; } } return null; } }); Object.defineProperty(XMLDocument.prototype, 'documentElement', { get: function() { return this.rootObject || null; } }); Object.defineProperty(XMLDocument.prototype, 'inputEncoding', { get: function() { return null; } }); Object.defineProperty(XMLDocument.prototype, 'strictErrorChecking', { get: function() { return false; } }); Object.defineProperty(XMLDocument.prototype, 'xmlEncoding', { get: function() { if (this.children.length !== 0 && this.children[0].type === NodeType.Declaration) { return this.children[0].encoding; } else { return null; } } }); Object.defineProperty(XMLDocument.prototype, 'xmlStandalone', { get: function() { if (this.children.length !== 0 && this.children[0].type === NodeType.Declaration) { return this.children[0].standalone === 'yes'; } else { return false; } } }); Object.defineProperty(XMLDocument.prototype, 'xmlVersion', { get: function() { if (this.children.length !== 0 && this.children[0].type === NodeType.Declaration) { return this.children[0].version; } else { return "1.0"; } } }); Object.defineProperty(XMLDocument.prototype, 'URL', { get: function() { return this.documentURI; } }); Object.defineProperty(XMLDocument.prototype, 'origin', { get: function() { return null; } }); Object.defineProperty(XMLDocument.prototype, 'compatMode', { get: function() { return null; } }); Object.defineProperty(XMLDocument.prototype, 'characterSet', { get: function() { return null; } }); Object.defineProperty(XMLDocument.prototype, 'contentType', { get: function() { return null; } }); XMLDocument.prototype.end = function(writer) { var writerOptions; writerOptions = {}; if (!writer) { writer = this.options.writer; } else if (isPlainObject(writer)) { writerOptions = writer; writer = this.options.writer; } return writer.document(this, writer.filterOptions(writerOptions)); }; XMLDocument.prototype.toString = function(options) { return this.options.writer.document(this, this.options.writer.filterOptions(options)); }; XMLDocument.prototype.createElement = function(tagName) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createDocumentFragment = function() { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createTextNode = function(data) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createComment = function(data) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createCDATASection = function(data) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createProcessingInstruction = function(target, data) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createAttribute = function(name) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createEntityReference = function(name) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.getElementsByTagName = function(tagname) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.importNode = function(importedNode, deep) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createElementNS = function(namespaceURI, qualifiedName) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createAttributeNS = function(namespaceURI, qualifiedName) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.getElementsByTagNameNS = function(namespaceURI, localName) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.getElementById = function(elementId) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.adoptNode = function(source) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.normalizeDocument = function() { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.renameNode = function(node, namespaceURI, qualifiedName) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.getElementsByClassName = function(classNames) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createEvent = function(eventInterface) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createRange = function() { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createNodeIterator = function(root, whatToShow, filter) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLDocument.prototype.createTreeWalker = function(root, whatToShow, filter) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; return XMLDocument; })(XMLNode); }).call(this); },{"./NodeType":360,"./Utility":361,"./XMLDOMConfiguration":367,"./XMLDOMImplementation":369,"./XMLNode":382,"./XMLStringWriter":387,"./XMLStringifier":388}],378:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLAttribute, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDocument, XMLDocumentCB, XMLElement, XMLProcessingInstruction, XMLRaw, XMLStringWriter, XMLStringifier, XMLText, getValue, isFunction, isObject, isPlainObject, ref, hasProp = {}.hasOwnProperty; ref = require('./Utility'), isObject = ref.isObject, isFunction = ref.isFunction, isPlainObject = ref.isPlainObject, getValue = ref.getValue; NodeType = require('./NodeType'); XMLDocument = require('./XMLDocument'); XMLElement = require('./XMLElement'); XMLCData = require('./XMLCData'); XMLComment = require('./XMLComment'); XMLRaw = require('./XMLRaw'); XMLText = require('./XMLText'); XMLProcessingInstruction = require('./XMLProcessingInstruction'); XMLDeclaration = require('./XMLDeclaration'); XMLDocType = require('./XMLDocType'); XMLDTDAttList = require('./XMLDTDAttList'); XMLDTDEntity = require('./XMLDTDEntity'); XMLDTDElement = require('./XMLDTDElement'); XMLDTDNotation = require('./XMLDTDNotation'); XMLAttribute = require('./XMLAttribute'); XMLStringifier = require('./XMLStringifier'); XMLStringWriter = require('./XMLStringWriter'); WriterState = require('./WriterState'); module.exports = XMLDocumentCB = (function() { function XMLDocumentCB(options, onData, onEnd) { var writerOptions; this.name = "?xml"; this.type = NodeType.Document; options || (options = {}); writerOptions = {}; if (!options.writer) { options.writer = new XMLStringWriter(); } else if (isPlainObject(options.writer)) { writerOptions = options.writer; options.writer = new XMLStringWriter(); } this.options = options; this.writer = options.writer; this.writerOptions = this.writer.filterOptions(writerOptions); this.stringify = new XMLStringifier(options); this.onDataCallback = onData || function() {}; this.onEndCallback = onEnd || function() {}; this.currentNode = null; this.currentLevel = -1; this.openTags = {}; this.documentStarted = false; this.documentCompleted = false; this.root = null; } XMLDocumentCB.prototype.createChildNode = function(node) { var att, attName, attributes, child, i, len, ref1, ref2; switch (node.type) { case NodeType.CData: this.cdata(node.value); break; case NodeType.Comment: this.comment(node.value); break; case NodeType.Element: attributes = {}; ref1 = node.attribs; for (attName in ref1) { if (!hasProp.call(ref1, attName)) continue; att = ref1[attName]; attributes[attName] = att.value; } this.node(node.name, attributes); break; case NodeType.Dummy: this.dummy(); break; case NodeType.Raw: this.raw(node.value); break; case NodeType.Text: this.text(node.value); break; case NodeType.ProcessingInstruction: this.instruction(node.target, node.value); break; default: throw new Error("This XML node type is not supported in a JS object: " + node.constructor.name); } ref2 = node.children; for (i = 0, len = ref2.length; i < len; i++) { child = ref2[i]; this.createChildNode(child); if (child.type === NodeType.Element) { this.up(); } } return this; }; XMLDocumentCB.prototype.dummy = function() { return this; }; XMLDocumentCB.prototype.node = function(name, attributes, text) { var ref1; if (name == null) { throw new Error("Missing node name."); } if (this.root && this.currentLevel === -1) { throw new Error("Document can only have one root node. " + this.debugInfo(name)); } this.openCurrent(); name = getValue(name); if (attributes == null) { attributes = {}; } attributes = getValue(attributes); if (!isObject(attributes)) { ref1 = [attributes, text], text = ref1[0], attributes = ref1[1]; } this.currentNode = new XMLElement(this, name, attributes); this.currentNode.children = false; this.currentLevel++; this.openTags[this.currentLevel] = this.currentNode; if (text != null) { this.text(text); } return this; }; XMLDocumentCB.prototype.element = function(name, attributes, text) { var child, i, len, oldValidationFlag, ref1, root; if (this.currentNode && this.currentNode.type === NodeType.DocType) { this.dtdElement.apply(this, arguments); } else { if (Array.isArray(name) || isObject(name) || isFunction(name)) { oldValidationFlag = this.options.noValidation; this.options.noValidation = true; root = new XMLDocument(this.options).element('TEMP_ROOT'); root.element(name); this.options.noValidation = oldValidationFlag; ref1 = root.children; for (i = 0, len = ref1.length; i < len; i++) { child = ref1[i]; this.createChildNode(child); if (child.type === NodeType.Element) { this.up(); } } } else { this.node(name, attributes, text); } } return this; }; XMLDocumentCB.prototype.attribute = function(name, value) { var attName, attValue; if (!this.currentNode || this.currentNode.children) { throw new Error("att() can only be used immediately after an ele() call in callback mode. " + this.debugInfo(name)); } if (name != null) { name = getValue(name); } if (isObject(name)) { for (attName in name) { if (!hasProp.call(name, attName)) continue; attValue = name[attName]; this.attribute(attName, attValue); } } else { if (isFunction(value)) { value = value.apply(); } if (this.options.keepNullAttributes && (value == null)) { this.currentNode.attribs[name] = new XMLAttribute(this, name, ""); } else if (value != null) { this.currentNode.attribs[name] = new XMLAttribute(this, name, value); } } return this; }; XMLDocumentCB.prototype.text = function(value) { var node; this.openCurrent(); node = new XMLText(this, value); this.onData(this.writer.text(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); return this; }; XMLDocumentCB.prototype.cdata = function(value) { var node; this.openCurrent(); node = new XMLCData(this, value); this.onData(this.writer.cdata(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); return this; }; XMLDocumentCB.prototype.comment = function(value) { var node; this.openCurrent(); node = new XMLComment(this, value); this.onData(this.writer.comment(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); return this; }; XMLDocumentCB.prototype.raw = function(value) { var node; this.openCurrent(); node = new XMLRaw(this, value); this.onData(this.writer.raw(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); return this; }; XMLDocumentCB.prototype.instruction = function(target, value) { var i, insTarget, insValue, len, node; this.openCurrent(); if (target != null) { target = getValue(target); } if (value != null) { value = getValue(value); } if (Array.isArray(target)) { for (i = 0, len = target.length; i < len; i++) { insTarget = target[i]; this.instruction(insTarget); } } else if (isObject(target)) { for (insTarget in target) { if (!hasProp.call(target, insTarget)) continue; insValue = target[insTarget]; this.instruction(insTarget, insValue); } } else { if (isFunction(value)) { value = value.apply(); } node = new XMLProcessingInstruction(this, target, value); this.onData(this.writer.processingInstruction(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); } return this; }; XMLDocumentCB.prototype.declaration = function(version, encoding, standalone) { var node; this.openCurrent(); if (this.documentStarted) { throw new Error("declaration() must be the first node."); } node = new XMLDeclaration(this, version, encoding, standalone); this.onData(this.writer.declaration(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); return this; }; XMLDocumentCB.prototype.doctype = function(root, pubID, sysID) { this.openCurrent(); if (root == null) { throw new Error("Missing root node name."); } if (this.root) { throw new Error("dtd() must come before the root node."); } this.currentNode = new XMLDocType(this, pubID, sysID); this.currentNode.rootNodeName = root; this.currentNode.children = false; this.currentLevel++; this.openTags[this.currentLevel] = this.currentNode; return this; }; XMLDocumentCB.prototype.dtdElement = function(name, value) { var node; this.openCurrent(); node = new XMLDTDElement(this, name, value); this.onData(this.writer.dtdElement(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); return this; }; XMLDocumentCB.prototype.attList = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { var node; this.openCurrent(); node = new XMLDTDAttList(this, elementName, attributeName, attributeType, defaultValueType, defaultValue); this.onData(this.writer.dtdAttList(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); return this; }; XMLDocumentCB.prototype.entity = function(name, value) { var node; this.openCurrent(); node = new XMLDTDEntity(this, false, name, value); this.onData(this.writer.dtdEntity(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); return this; }; XMLDocumentCB.prototype.pEntity = function(name, value) { var node; this.openCurrent(); node = new XMLDTDEntity(this, true, name, value); this.onData(this.writer.dtdEntity(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); return this; }; XMLDocumentCB.prototype.notation = function(name, value) { var node; this.openCurrent(); node = new XMLDTDNotation(this, name, value); this.onData(this.writer.dtdNotation(node, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1); return this; }; XMLDocumentCB.prototype.up = function() { if (this.currentLevel < 0) { throw new Error("The document node has no parent."); } if (this.currentNode) { if (this.currentNode.children) { this.closeNode(this.currentNode); } else { this.openNode(this.currentNode); } this.currentNode = null; } else { this.closeNode(this.openTags[this.currentLevel]); } delete this.openTags[this.currentLevel]; this.currentLevel--; return this; }; XMLDocumentCB.prototype.end = function() { while (this.currentLevel >= 0) { this.up(); } return this.onEnd(); }; XMLDocumentCB.prototype.openCurrent = function() { if (this.currentNode) { this.currentNode.children = true; return this.openNode(this.currentNode); } }; XMLDocumentCB.prototype.openNode = function(node) { var att, chunk, name, ref1; if (!node.isOpen) { if (!this.root && this.currentLevel === 0 && node.type === NodeType.Element) { this.root = node; } chunk = ''; if (node.type === NodeType.Element) { this.writerOptions.state = WriterState.OpenTag; chunk = this.writer.indent(node, this.writerOptions, this.currentLevel) + '<' + node.name; ref1 = node.attribs; for (name in ref1) { if (!hasProp.call(ref1, name)) continue; att = ref1[name]; chunk += this.writer.attribute(att, this.writerOptions, this.currentLevel); } chunk += (node.children ? '>' : '/>') + this.writer.endline(node, this.writerOptions, this.currentLevel); this.writerOptions.state = WriterState.InsideTag; } else { this.writerOptions.state = WriterState.OpenTag; chunk = this.writer.indent(node, this.writerOptions, this.currentLevel) + '<!DOCTYPE ' + node.rootNodeName; if (node.pubID && node.sysID) { chunk += ' PUBLIC "' + node.pubID + '" "' + node.sysID + '"'; } else if (node.sysID) { chunk += ' SYSTEM "' + node.sysID + '"'; } if (node.children) { chunk += ' ['; this.writerOptions.state = WriterState.InsideTag; } else { this.writerOptions.state = WriterState.CloseTag; chunk += '>'; } chunk += this.writer.endline(node, this.writerOptions, this.currentLevel); } this.onData(chunk, this.currentLevel); return node.isOpen = true; } }; XMLDocumentCB.prototype.closeNode = function(node) { var chunk; if (!node.isClosed) { chunk = ''; this.writerOptions.state = WriterState.CloseTag; if (node.type === NodeType.Element) { chunk = this.writer.indent(node, this.writerOptions, this.currentLevel) + '</' + node.name + '>' + this.writer.endline(node, this.writerOptions, this.currentLevel); } else { chunk = this.writer.indent(node, this.writerOptions, this.currentLevel) + ']>' + this.writer.endline(node, this.writerOptions, this.currentLevel); } this.writerOptions.state = WriterState.None; this.onData(chunk, this.currentLevel); return node.isClosed = true; } }; XMLDocumentCB.prototype.onData = function(chunk, level) { this.documentStarted = true; return this.onDataCallback(chunk, level + 1); }; XMLDocumentCB.prototype.onEnd = function() { this.documentCompleted = true; return this.onEndCallback(); }; XMLDocumentCB.prototype.debugInfo = function(name) { if (name == null) { return ""; } else { return "node: <" + name + ">"; } }; XMLDocumentCB.prototype.ele = function() { return this.element.apply(this, arguments); }; XMLDocumentCB.prototype.nod = function(name, attributes, text) { return this.node(name, attributes, text); }; XMLDocumentCB.prototype.txt = function(value) { return this.text(value); }; XMLDocumentCB.prototype.dat = function(value) { return this.cdata(value); }; XMLDocumentCB.prototype.com = function(value) { return this.comment(value); }; XMLDocumentCB.prototype.ins = function(target, value) { return this.instruction(target, value); }; XMLDocumentCB.prototype.dec = function(version, encoding, standalone) { return this.declaration(version, encoding, standalone); }; XMLDocumentCB.prototype.dtd = function(root, pubID, sysID) { return this.doctype(root, pubID, sysID); }; XMLDocumentCB.prototype.e = function(name, attributes, text) { return this.element(name, attributes, text); }; XMLDocumentCB.prototype.n = function(name, attributes, text) { return this.node(name, attributes, text); }; XMLDocumentCB.prototype.t = function(value) { return this.text(value); }; XMLDocumentCB.prototype.d = function(value) { return this.cdata(value); }; XMLDocumentCB.prototype.c = function(value) { return this.comment(value); }; XMLDocumentCB.prototype.r = function(value) { return this.raw(value); }; XMLDocumentCB.prototype.i = function(target, value) { return this.instruction(target, value); }; XMLDocumentCB.prototype.att = function() { if (this.currentNode && this.currentNode.type === NodeType.DocType) { return this.attList.apply(this, arguments); } else { return this.attribute.apply(this, arguments); } }; XMLDocumentCB.prototype.a = function() { if (this.currentNode && this.currentNode.type === NodeType.DocType) { return this.attList.apply(this, arguments); } else { return this.attribute.apply(this, arguments); } }; XMLDocumentCB.prototype.ent = function(name, value) { return this.entity(name, value); }; XMLDocumentCB.prototype.pent = function(name, value) { return this.pEntity(name, value); }; XMLDocumentCB.prototype.not = function(name, value) { return this.notation(name, value); }; return XMLDocumentCB; })(); }).call(this); },{"./NodeType":360,"./Utility":361,"./WriterState":362,"./XMLAttribute":363,"./XMLCData":364,"./XMLComment":366,"./XMLDTDAttList":371,"./XMLDTDElement":372,"./XMLDTDEntity":373,"./XMLDTDNotation":374,"./XMLDeclaration":375,"./XMLDocType":376,"./XMLDocument":377,"./XMLElement":380,"./XMLProcessingInstruction":384,"./XMLRaw":385,"./XMLStringWriter":387,"./XMLStringifier":388,"./XMLText":389}],379:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLDummy, XMLNode, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; XMLNode = require('./XMLNode'); NodeType = require('./NodeType'); module.exports = XMLDummy = (function(superClass) { extend(XMLDummy, superClass); function XMLDummy(parent) { XMLDummy.__super__.constructor.call(this, parent); this.type = NodeType.Dummy; } XMLDummy.prototype.clone = function() { return Object.create(this); }; XMLDummy.prototype.toString = function(options) { return ''; }; return XMLDummy; })(XMLNode); }).call(this); },{"./NodeType":360,"./XMLNode":382}],380:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLAttribute, XMLElement, XMLNamedNodeMap, XMLNode, getValue, isFunction, isObject, ref, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; ref = require('./Utility'), isObject = ref.isObject, isFunction = ref.isFunction, getValue = ref.getValue; XMLNode = require('./XMLNode'); NodeType = require('./NodeType'); XMLAttribute = require('./XMLAttribute'); XMLNamedNodeMap = require('./XMLNamedNodeMap'); module.exports = XMLElement = (function(superClass) { extend(XMLElement, superClass); function XMLElement(parent, name, attributes) { var child, j, len, ref1; XMLElement.__super__.constructor.call(this, parent); if (name == null) { throw new Error("Missing element name. " + this.debugInfo()); } this.name = this.stringify.name(name); this.type = NodeType.Element; this.attribs = {}; this.schemaTypeInfo = null; if (attributes != null) { this.attribute(attributes); } if (parent.type === NodeType.Document) { this.isRoot = true; this.documentObject = parent; parent.rootObject = this; if (parent.children) { ref1 = parent.children; for (j = 0, len = ref1.length; j < len; j++) { child = ref1[j]; if (child.type === NodeType.DocType) { child.name = this.name; break; } } } } } Object.defineProperty(XMLElement.prototype, 'tagName', { get: function() { return this.name; } }); Object.defineProperty(XMLElement.prototype, 'namespaceURI', { get: function() { return ''; } }); Object.defineProperty(XMLElement.prototype, 'prefix', { get: function() { return ''; } }); Object.defineProperty(XMLElement.prototype, 'localName', { get: function() { return this.name; } }); Object.defineProperty(XMLElement.prototype, 'id', { get: function() { throw new Error("This DOM method is not implemented." + this.debugInfo()); } }); Object.defineProperty(XMLElement.prototype, 'className', { get: function() { throw new Error("This DOM method is not implemented." + this.debugInfo()); } }); Object.defineProperty(XMLElement.prototype, 'classList', { get: function() { throw new Error("This DOM method is not implemented." + this.debugInfo()); } }); Object.defineProperty(XMLElement.prototype, 'attributes', { get: function() { if (!this.attributeMap || !this.attributeMap.nodes) { this.attributeMap = new XMLNamedNodeMap(this.attribs); } return this.attributeMap; } }); XMLElement.prototype.clone = function() { var att, attName, clonedSelf, ref1; clonedSelf = Object.create(this); if (clonedSelf.isRoot) { clonedSelf.documentObject = null; } clonedSelf.attribs = {}; ref1 = this.attribs; for (attName in ref1) { if (!hasProp.call(ref1, attName)) continue; att = ref1[attName]; clonedSelf.attribs[attName] = att.clone(); } clonedSelf.children = []; this.children.forEach(function(child) { var clonedChild; clonedChild = child.clone(); clonedChild.parent = clonedSelf; return clonedSelf.children.push(clonedChild); }); return clonedSelf; }; XMLElement.prototype.attribute = function(name, value) { var attName, attValue; if (name != null) { name = getValue(name); } if (isObject(name)) { for (attName in name) { if (!hasProp.call(name, attName)) continue; attValue = name[attName]; this.attribute(attName, attValue); } } else { if (isFunction(value)) { value = value.apply(); } if (this.options.keepNullAttributes && (value == null)) { this.attribs[name] = new XMLAttribute(this, name, ""); } else if (value != null) { this.attribs[name] = new XMLAttribute(this, name, value); } } return this; }; XMLElement.prototype.removeAttribute = function(name) { var attName, j, len; if (name == null) { throw new Error("Missing attribute name. " + this.debugInfo()); } name = getValue(name); if (Array.isArray(name)) { for (j = 0, len = name.length; j < len; j++) { attName = name[j]; delete this.attribs[attName]; } } else { delete this.attribs[name]; } return this; }; XMLElement.prototype.toString = function(options) { return this.options.writer.element(this, this.options.writer.filterOptions(options)); }; XMLElement.prototype.att = function(name, value) { return this.attribute(name, value); }; XMLElement.prototype.a = function(name, value) { return this.attribute(name, value); }; XMLElement.prototype.getAttribute = function(name) { if (this.attribs.hasOwnProperty(name)) { return this.attribs[name].value; } else { return null; } }; XMLElement.prototype.setAttribute = function(name, value) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.getAttributeNode = function(name) { if (this.attribs.hasOwnProperty(name)) { return this.attribs[name]; } else { return null; } }; XMLElement.prototype.setAttributeNode = function(newAttr) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.removeAttributeNode = function(oldAttr) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.getElementsByTagName = function(name) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.getAttributeNS = function(namespaceURI, localName) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.setAttributeNS = function(namespaceURI, qualifiedName, value) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.removeAttributeNS = function(namespaceURI, localName) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.getAttributeNodeNS = function(namespaceURI, localName) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.setAttributeNodeNS = function(newAttr) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.getElementsByTagNameNS = function(namespaceURI, localName) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.hasAttribute = function(name) { return this.attribs.hasOwnProperty(name); }; XMLElement.prototype.hasAttributeNS = function(namespaceURI, localName) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.setIdAttribute = function(name, isId) { if (this.attribs.hasOwnProperty(name)) { return this.attribs[name].isId; } else { return isId; } }; XMLElement.prototype.setIdAttributeNS = function(namespaceURI, localName, isId) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.setIdAttributeNode = function(idAttr, isId) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.getElementsByTagName = function(tagname) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.getElementsByTagNameNS = function(namespaceURI, localName) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.getElementsByClassName = function(classNames) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLElement.prototype.isEqualNode = function(node) { var i, j, ref1; if (!XMLElement.__super__.isEqualNode.apply(this, arguments).isEqualNode(node)) { return false; } if (node.namespaceURI !== this.namespaceURI) { return false; } if (node.prefix !== this.prefix) { return false; } if (node.localName !== this.localName) { return false; } if (node.attribs.length !== this.attribs.length) { return false; } for (i = j = 0, ref1 = this.attribs.length - 1; 0 <= ref1 ? j <= ref1 : j >= ref1; i = 0 <= ref1 ? ++j : --j) { if (!this.attribs[i].isEqualNode(node.attribs[i])) { return false; } } return true; }; return XMLElement; })(XMLNode); }).call(this); },{"./NodeType":360,"./Utility":361,"./XMLAttribute":363,"./XMLNamedNodeMap":381,"./XMLNode":382}],381:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLNamedNodeMap; module.exports = XMLNamedNodeMap = (function() { function XMLNamedNodeMap(nodes) { this.nodes = nodes; } Object.defineProperty(XMLNamedNodeMap.prototype, 'length', { get: function() { return Object.keys(this.nodes).length || 0; } }); XMLNamedNodeMap.prototype.clone = function() { return this.nodes = null; }; XMLNamedNodeMap.prototype.getNamedItem = function(name) { return this.nodes[name]; }; XMLNamedNodeMap.prototype.setNamedItem = function(node) { var oldNode; oldNode = this.nodes[node.nodeName]; this.nodes[node.nodeName] = node; return oldNode || null; }; XMLNamedNodeMap.prototype.removeNamedItem = function(name) { var oldNode; oldNode = this.nodes[name]; delete this.nodes[name]; return oldNode || null; }; XMLNamedNodeMap.prototype.item = function(index) { return this.nodes[Object.keys(this.nodes)[index]] || null; }; XMLNamedNodeMap.prototype.getNamedItemNS = function(namespaceURI, localName) { throw new Error("This DOM method is not implemented."); }; XMLNamedNodeMap.prototype.setNamedItemNS = function(node) { throw new Error("This DOM method is not implemented."); }; XMLNamedNodeMap.prototype.removeNamedItemNS = function(namespaceURI, localName) { throw new Error("This DOM method is not implemented."); }; return XMLNamedNodeMap; })(); }).call(this); },{}],382:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var DocumentPosition, NodeType, XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLDummy, XMLElement, XMLNamedNodeMap, XMLNode, XMLNodeList, XMLProcessingInstruction, XMLRaw, XMLText, getValue, isEmpty, isFunction, isObject, ref1, hasProp = {}.hasOwnProperty; ref1 = require('./Utility'), isObject = ref1.isObject, isFunction = ref1.isFunction, isEmpty = ref1.isEmpty, getValue = ref1.getValue; XMLElement = null; XMLCData = null; XMLComment = null; XMLDeclaration = null; XMLDocType = null; XMLRaw = null; XMLText = null; XMLProcessingInstruction = null; XMLDummy = null; NodeType = null; XMLNodeList = null; XMLNamedNodeMap = null; DocumentPosition = null; module.exports = XMLNode = (function() { function XMLNode(parent1) { this.parent = parent1; if (this.parent) { this.options = this.parent.options; this.stringify = this.parent.stringify; } this.value = null; this.children = []; this.baseURI = null; if (!XMLElement) { XMLElement = require('./XMLElement'); XMLCData = require('./XMLCData'); XMLComment = require('./XMLComment'); XMLDeclaration = require('./XMLDeclaration'); XMLDocType = require('./XMLDocType'); XMLRaw = require('./XMLRaw'); XMLText = require('./XMLText'); XMLProcessingInstruction = require('./XMLProcessingInstruction'); XMLDummy = require('./XMLDummy'); NodeType = require('./NodeType'); XMLNodeList = require('./XMLNodeList'); XMLNamedNodeMap = require('./XMLNamedNodeMap'); DocumentPosition = require('./DocumentPosition'); } } Object.defineProperty(XMLNode.prototype, 'nodeName', { get: function() { return this.name; } }); Object.defineProperty(XMLNode.prototype, 'nodeType', { get: function() { return this.type; } }); Object.defineProperty(XMLNode.prototype, 'nodeValue', { get: function() { return this.value; } }); Object.defineProperty(XMLNode.prototype, 'parentNode', { get: function() { return this.parent; } }); Object.defineProperty(XMLNode.prototype, 'childNodes', { get: function() { if (!this.childNodeList || !this.childNodeList.nodes) { this.childNodeList = new XMLNodeList(this.children); } return this.childNodeList; } }); Object.defineProperty(XMLNode.prototype, 'firstChild', { get: function() { return this.children[0] || null; } }); Object.defineProperty(XMLNode.prototype, 'lastChild', { get: function() { return this.children[this.children.length - 1] || null; } }); Object.defineProperty(XMLNode.prototype, 'previousSibling', { get: function() { var i; i = this.parent.children.indexOf(this); return this.parent.children[i - 1] || null; } }); Object.defineProperty(XMLNode.prototype, 'nextSibling', { get: function() { var i; i = this.parent.children.indexOf(this); return this.parent.children[i + 1] || null; } }); Object.defineProperty(XMLNode.prototype, 'ownerDocument', { get: function() { return this.document() || null; } }); Object.defineProperty(XMLNode.prototype, 'textContent', { get: function() { var child, j, len, ref2, str; if (this.nodeType === NodeType.Element || this.nodeType === NodeType.DocumentFragment) { str = ''; ref2 = this.children; for (j = 0, len = ref2.length; j < len; j++) { child = ref2[j]; if (child.textContent) { str += child.textContent; } } return str; } else { return null; } }, set: function(value) { throw new Error("This DOM method is not implemented." + this.debugInfo()); } }); XMLNode.prototype.setParent = function(parent) { var child, j, len, ref2, results; this.parent = parent; if (parent) { this.options = parent.options; this.stringify = parent.stringify; } ref2 = this.children; results = []; for (j = 0, len = ref2.length; j < len; j++) { child = ref2[j]; results.push(child.setParent(this)); } return results; }; XMLNode.prototype.element = function(name, attributes, text) { var childNode, item, j, k, key, lastChild, len, len1, ref2, ref3, val; lastChild = null; if (attributes === null && (text == null)) { ref2 = [{}, null], attributes = ref2[0], text = ref2[1]; } if (attributes == null) { attributes = {}; } attributes = getValue(attributes); if (!isObject(attributes)) { ref3 = [attributes, text], text = ref3[0], attributes = ref3[1]; } if (name != null) { name = getValue(name); } if (Array.isArray(name)) { for (j = 0, len = name.length; j < len; j++) { item = name[j]; lastChild = this.element(item); } } else if (isFunction(name)) { lastChild = this.element(name.apply()); } else if (isObject(name)) { for (key in name) { if (!hasProp.call(name, key)) continue; val = name[key]; if (isFunction(val)) { val = val.apply(); } if (!this.options.ignoreDecorators && this.stringify.convertAttKey && key.indexOf(this.stringify.convertAttKey) === 0) { lastChild = this.attribute(key.substr(this.stringify.convertAttKey.length), val); } else if (!this.options.separateArrayItems && Array.isArray(val) && isEmpty(val)) { lastChild = this.dummy(); } else if (isObject(val) && isEmpty(val)) { lastChild = this.element(key); } else if (!this.options.keepNullNodes && (val == null)) { lastChild = this.dummy(); } else if (!this.options.separateArrayItems && Array.isArray(val)) { for (k = 0, len1 = val.length; k < len1; k++) { item = val[k]; childNode = {}; childNode[key] = item; lastChild = this.element(childNode); } } else if (isObject(val)) { if (!this.options.ignoreDecorators && this.stringify.convertTextKey && key.indexOf(this.stringify.convertTextKey) === 0) { lastChild = this.element(val); } else { lastChild = this.element(key); lastChild.element(val); } } else { lastChild = this.element(key, val); } } } else if (!this.options.keepNullNodes && text === null) { lastChild = this.dummy(); } else { if (!this.options.ignoreDecorators && this.stringify.convertTextKey && name.indexOf(this.stringify.convertTextKey) === 0) { lastChild = this.text(text); } else if (!this.options.ignoreDecorators && this.stringify.convertCDataKey && name.indexOf(this.stringify.convertCDataKey) === 0) { lastChild = this.cdata(text); } else if (!this.options.ignoreDecorators && this.stringify.convertCommentKey && name.indexOf(this.stringify.convertCommentKey) === 0) { lastChild = this.comment(text); } else if (!this.options.ignoreDecorators && this.stringify.convertRawKey && name.indexOf(this.stringify.convertRawKey) === 0) { lastChild = this.raw(text); } else if (!this.options.ignoreDecorators && this.stringify.convertPIKey && name.indexOf(this.stringify.convertPIKey) === 0) { lastChild = this.instruction(name.substr(this.stringify.convertPIKey.length), text); } else { lastChild = this.node(name, attributes, text); } } if (lastChild == null) { throw new Error("Could not create any elements with: " + name + ". " + this.debugInfo()); } return lastChild; }; XMLNode.prototype.insertBefore = function(name, attributes, text) { var child, i, newChild, refChild, removed; if (name != null ? name.type : void 0) { newChild = name; refChild = attributes; newChild.setParent(this); if (refChild) { i = children.indexOf(refChild); removed = children.splice(i); children.push(newChild); Array.prototype.push.apply(children, removed); } else { children.push(newChild); } return newChild; } else { if (this.isRoot) { throw new Error("Cannot insert elements at root level. " + this.debugInfo(name)); } i = this.parent.children.indexOf(this); removed = this.parent.children.splice(i); child = this.parent.element(name, attributes, text); Array.prototype.push.apply(this.parent.children, removed); return child; } }; XMLNode.prototype.insertAfter = function(name, attributes, text) { var child, i, removed; if (this.isRoot) { throw new Error("Cannot insert elements at root level. " + this.debugInfo(name)); } i = this.parent.children.indexOf(this); removed = this.parent.children.splice(i + 1); child = this.parent.element(name, attributes, text); Array.prototype.push.apply(this.parent.children, removed); return child; }; XMLNode.prototype.remove = function() { var i, ref2; if (this.isRoot) { throw new Error("Cannot remove the root element. " + this.debugInfo()); } i = this.parent.children.indexOf(this); [].splice.apply(this.parent.children, [i, i - i + 1].concat(ref2 = [])), ref2; return this.parent; }; XMLNode.prototype.node = function(name, attributes, text) { var child, ref2; if (name != null) { name = getValue(name); } attributes || (attributes = {}); attributes = getValue(attributes); if (!isObject(attributes)) { ref2 = [attributes, text], text = ref2[0], attributes = ref2[1]; } child = new XMLElement(this, name, attributes); if (text != null) { child.text(text); } this.children.push(child); return child; }; XMLNode.prototype.text = function(value) { var child; if (isObject(value)) { this.element(value); } child = new XMLText(this, value); this.children.push(child); return this; }; XMLNode.prototype.cdata = function(value) { var child; child = new XMLCData(this, value); this.children.push(child); return this; }; XMLNode.prototype.comment = function(value) { var child; child = new XMLComment(this, value); this.children.push(child); return this; }; XMLNode.prototype.commentBefore = function(value) { var child, i, removed; i = this.parent.children.indexOf(this); removed = this.parent.children.splice(i); child = this.parent.comment(value); Array.prototype.push.apply(this.parent.children, removed); return this; }; XMLNode.prototype.commentAfter = function(value) { var child, i, removed; i = this.parent.children.indexOf(this); removed = this.parent.children.splice(i + 1); child = this.parent.comment(value); Array.prototype.push.apply(this.parent.children, removed); return this; }; XMLNode.prototype.raw = function(value) { var child; child = new XMLRaw(this, value); this.children.push(child); return this; }; XMLNode.prototype.dummy = function() { var child; child = new XMLDummy(this); return child; }; XMLNode.prototype.instruction = function(target, value) { var insTarget, insValue, instruction, j, len; if (target != null) { target = getValue(target); } if (value != null) { value = getValue(value); } if (Array.isArray(target)) { for (j = 0, len = target.length; j < len; j++) { insTarget = target[j]; this.instruction(insTarget); } } else if (isObject(target)) { for (insTarget in target) { if (!hasProp.call(target, insTarget)) continue; insValue = target[insTarget]; this.instruction(insTarget, insValue); } } else { if (isFunction(value)) { value = value.apply(); } instruction = new XMLProcessingInstruction(this, target, value); this.children.push(instruction); } return this; }; XMLNode.prototype.instructionBefore = function(target, value) { var child, i, removed; i = this.parent.children.indexOf(this); removed = this.parent.children.splice(i); child = this.parent.instruction(target, value); Array.prototype.push.apply(this.parent.children, removed); return this; }; XMLNode.prototype.instructionAfter = function(target, value) { var child, i, removed; i = this.parent.children.indexOf(this); removed = this.parent.children.splice(i + 1); child = this.parent.instruction(target, value); Array.prototype.push.apply(this.parent.children, removed); return this; }; XMLNode.prototype.declaration = function(version, encoding, standalone) { var doc, xmldec; doc = this.document(); xmldec = new XMLDeclaration(doc, version, encoding, standalone); if (doc.children.length === 0) { doc.children.unshift(xmldec); } else if (doc.children[0].type === NodeType.Declaration) { doc.children[0] = xmldec; } else { doc.children.unshift(xmldec); } return doc.root() || doc; }; XMLNode.prototype.dtd = function(pubID, sysID) { var child, doc, doctype, i, j, k, len, len1, ref2, ref3; doc = this.document(); doctype = new XMLDocType(doc, pubID, sysID); ref2 = doc.children; for (i = j = 0, len = ref2.length; j < len; i = ++j) { child = ref2[i]; if (child.type === NodeType.DocType) { doc.children[i] = doctype; return doctype; } } ref3 = doc.children; for (i = k = 0, len1 = ref3.length; k < len1; i = ++k) { child = ref3[i]; if (child.isRoot) { doc.children.splice(i, 0, doctype); return doctype; } } doc.children.push(doctype); return doctype; }; XMLNode.prototype.up = function() { if (this.isRoot) { throw new Error("The root node has no parent. Use doc() if you need to get the document object."); } return this.parent; }; XMLNode.prototype.root = function() { var node; node = this; while (node) { if (node.type === NodeType.Document) { return node.rootObject; } else if (node.isRoot) { return node; } else { node = node.parent; } } }; XMLNode.prototype.document = function() { var node; node = this; while (node) { if (node.type === NodeType.Document) { return node; } else { node = node.parent; } } }; XMLNode.prototype.end = function(options) { return this.document().end(options); }; XMLNode.prototype.prev = function() { var i; i = this.parent.children.indexOf(this); if (i < 1) { throw new Error("Already at the first node. " + this.debugInfo()); } return this.parent.children[i - 1]; }; XMLNode.prototype.next = function() { var i; i = this.parent.children.indexOf(this); if (i === -1 || i === this.parent.children.length - 1) { throw new Error("Already at the last node. " + this.debugInfo()); } return this.parent.children[i + 1]; }; XMLNode.prototype.importDocument = function(doc) { var clonedRoot; clonedRoot = doc.root().clone(); clonedRoot.parent = this; clonedRoot.isRoot = false; this.children.push(clonedRoot); return this; }; XMLNode.prototype.debugInfo = function(name) { var ref2, ref3; name = name || this.name; if ((name == null) && !((ref2 = this.parent) != null ? ref2.name : void 0)) { return ""; } else if (name == null) { return "parent: <" + this.parent.name + ">"; } else if (!((ref3 = this.parent) != null ? ref3.name : void 0)) { return "node: <" + name + ">"; } else { return "node: <" + name + ">, parent: <" + this.parent.name + ">"; } }; XMLNode.prototype.ele = function(name, attributes, text) { return this.element(name, attributes, text); }; XMLNode.prototype.nod = function(name, attributes, text) { return this.node(name, attributes, text); }; XMLNode.prototype.txt = function(value) { return this.text(value); }; XMLNode.prototype.dat = function(value) { return this.cdata(value); }; XMLNode.prototype.com = function(value) { return this.comment(value); }; XMLNode.prototype.ins = function(target, value) { return this.instruction(target, value); }; XMLNode.prototype.doc = function() { return this.document(); }; XMLNode.prototype.dec = function(version, encoding, standalone) { return this.declaration(version, encoding, standalone); }; XMLNode.prototype.e = function(name, attributes, text) { return this.element(name, attributes, text); }; XMLNode.prototype.n = function(name, attributes, text) { return this.node(name, attributes, text); }; XMLNode.prototype.t = function(value) { return this.text(value); }; XMLNode.prototype.d = function(value) { return this.cdata(value); }; XMLNode.prototype.c = function(value) { return this.comment(value); }; XMLNode.prototype.r = function(value) { return this.raw(value); }; XMLNode.prototype.i = function(target, value) { return this.instruction(target, value); }; XMLNode.prototype.u = function() { return this.up(); }; XMLNode.prototype.importXMLBuilder = function(doc) { return this.importDocument(doc); }; XMLNode.prototype.replaceChild = function(newChild, oldChild) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.removeChild = function(oldChild) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.appendChild = function(newChild) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.hasChildNodes = function() { return this.children.length !== 0; }; XMLNode.prototype.cloneNode = function(deep) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.normalize = function() { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.isSupported = function(feature, version) { return true; }; XMLNode.prototype.hasAttributes = function() { return this.attribs.length !== 0; }; XMLNode.prototype.compareDocumentPosition = function(other) { var ref, res; ref = this; if (ref === other) { return 0; } else if (this.document() !== other.document()) { res = DocumentPosition.Disconnected | DocumentPosition.ImplementationSpecific; if (Math.random() < 0.5) { res |= DocumentPosition.Preceding; } else { res |= DocumentPosition.Following; } return res; } else if (ref.isAncestor(other)) { return DocumentPosition.Contains | DocumentPosition.Preceding; } else if (ref.isDescendant(other)) { return DocumentPosition.Contains | DocumentPosition.Following; } else if (ref.isPreceding(other)) { return DocumentPosition.Preceding; } else { return DocumentPosition.Following; } }; XMLNode.prototype.isSameNode = function(other) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.lookupPrefix = function(namespaceURI) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.isDefaultNamespace = function(namespaceURI) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.lookupNamespaceURI = function(prefix) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.isEqualNode = function(node) { var i, j, ref2; if (node.nodeType !== this.nodeType) { return false; } if (node.children.length !== this.children.length) { return false; } for (i = j = 0, ref2 = this.children.length - 1; 0 <= ref2 ? j <= ref2 : j >= ref2; i = 0 <= ref2 ? ++j : --j) { if (!this.children[i].isEqualNode(node.children[i])) { return false; } } return true; }; XMLNode.prototype.getFeature = function(feature, version) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.setUserData = function(key, data, handler) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.getUserData = function(key) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLNode.prototype.contains = function(other) { if (!other) { return false; } return other === this || this.isDescendant(other); }; XMLNode.prototype.isDescendant = function(node) { var child, isDescendantChild, j, len, ref2; ref2 = this.children; for (j = 0, len = ref2.length; j < len; j++) { child = ref2[j]; if (node === child) { return true; } isDescendantChild = child.isDescendant(node); if (isDescendantChild) { return true; } } return false; }; XMLNode.prototype.isAncestor = function(node) { return node.isDescendant(this); }; XMLNode.prototype.isPreceding = function(node) { var nodePos, thisPos; nodePos = this.treePosition(node); thisPos = this.treePosition(this); if (nodePos === -1 || thisPos === -1) { return false; } else { return nodePos < thisPos; } }; XMLNode.prototype.isFollowing = function(node) { var nodePos, thisPos; nodePos = this.treePosition(node); thisPos = this.treePosition(this); if (nodePos === -1 || thisPos === -1) { return false; } else { return nodePos > thisPos; } }; XMLNode.prototype.treePosition = function(node) { var found, pos; pos = 0; found = false; this.foreachTreeNode(this.document(), function(childNode) { pos++; if (!found && childNode === node) { return found = true; } }); if (found) { return pos; } else { return -1; } }; XMLNode.prototype.foreachTreeNode = function(node, func) { var child, j, len, ref2, res; node || (node = this.document()); ref2 = node.children; for (j = 0, len = ref2.length; j < len; j++) { child = ref2[j]; if (res = func(child)) { return res; } else { res = this.foreachTreeNode(child, func); if (res) { return res; } } } }; return XMLNode; })(); }).call(this); },{"./DocumentPosition":359,"./NodeType":360,"./Utility":361,"./XMLCData":364,"./XMLComment":366,"./XMLDeclaration":375,"./XMLDocType":376,"./XMLDummy":379,"./XMLElement":380,"./XMLNamedNodeMap":381,"./XMLNodeList":383,"./XMLProcessingInstruction":384,"./XMLRaw":385,"./XMLText":389}],383:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLNodeList; module.exports = XMLNodeList = (function() { function XMLNodeList(nodes) { this.nodes = nodes; } Object.defineProperty(XMLNodeList.prototype, 'length', { get: function() { return this.nodes.length || 0; } }); XMLNodeList.prototype.clone = function() { return this.nodes = null; }; XMLNodeList.prototype.item = function(index) { return this.nodes[index] || null; }; return XMLNodeList; })(); }).call(this); },{}],384:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLCharacterData, XMLProcessingInstruction, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; NodeType = require('./NodeType'); XMLCharacterData = require('./XMLCharacterData'); module.exports = XMLProcessingInstruction = (function(superClass) { extend(XMLProcessingInstruction, superClass); function XMLProcessingInstruction(parent, target, value) { XMLProcessingInstruction.__super__.constructor.call(this, parent); if (target == null) { throw new Error("Missing instruction target. " + this.debugInfo()); } this.type = NodeType.ProcessingInstruction; this.target = this.stringify.insTarget(target); this.name = this.target; if (value) { this.value = this.stringify.insValue(value); } } XMLProcessingInstruction.prototype.clone = function() { return Object.create(this); }; XMLProcessingInstruction.prototype.toString = function(options) { return this.options.writer.processingInstruction(this, this.options.writer.filterOptions(options)); }; XMLProcessingInstruction.prototype.isEqualNode = function(node) { if (!XMLProcessingInstruction.__super__.isEqualNode.apply(this, arguments).isEqualNode(node)) { return false; } if (node.target !== this.target) { return false; } return true; }; return XMLProcessingInstruction; })(XMLCharacterData); }).call(this); },{"./NodeType":360,"./XMLCharacterData":365}],385:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLNode, XMLRaw, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; NodeType = require('./NodeType'); XMLNode = require('./XMLNode'); module.exports = XMLRaw = (function(superClass) { extend(XMLRaw, superClass); function XMLRaw(parent, text) { XMLRaw.__super__.constructor.call(this, parent); if (text == null) { throw new Error("Missing raw text. " + this.debugInfo()); } this.type = NodeType.Raw; this.value = this.stringify.raw(text); } XMLRaw.prototype.clone = function() { return Object.create(this); }; XMLRaw.prototype.toString = function(options) { return this.options.writer.raw(this, this.options.writer.filterOptions(options)); }; return XMLRaw; })(XMLNode); }).call(this); },{"./NodeType":360,"./XMLNode":382}],386:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLStreamWriter, XMLWriterBase, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; NodeType = require('./NodeType'); XMLWriterBase = require('./XMLWriterBase'); WriterState = require('./WriterState'); module.exports = XMLStreamWriter = (function(superClass) { extend(XMLStreamWriter, superClass); function XMLStreamWriter(stream, options) { this.stream = stream; XMLStreamWriter.__super__.constructor.call(this, options); } XMLStreamWriter.prototype.endline = function(node, options, level) { if (node.isLastRootNode && options.state === WriterState.CloseTag) { return ''; } else { return XMLStreamWriter.__super__.endline.call(this, node, options, level); } }; XMLStreamWriter.prototype.document = function(doc, options) { var child, i, j, k, len, len1, ref, ref1, results; ref = doc.children; for (i = j = 0, len = ref.length; j < len; i = ++j) { child = ref[i]; child.isLastRootNode = i === doc.children.length - 1; } options = this.filterOptions(options); ref1 = doc.children; results = []; for (k = 0, len1 = ref1.length; k < len1; k++) { child = ref1[k]; results.push(this.writeChildNode(child, options, 0)); } return results; }; XMLStreamWriter.prototype.attribute = function(att, options, level) { return this.stream.write(XMLStreamWriter.__super__.attribute.call(this, att, options, level)); }; XMLStreamWriter.prototype.cdata = function(node, options, level) { return this.stream.write(XMLStreamWriter.__super__.cdata.call(this, node, options, level)); }; XMLStreamWriter.prototype.comment = function(node, options, level) { return this.stream.write(XMLStreamWriter.__super__.comment.call(this, node, options, level)); }; XMLStreamWriter.prototype.declaration = function(node, options, level) { return this.stream.write(XMLStreamWriter.__super__.declaration.call(this, node, options, level)); }; XMLStreamWriter.prototype.docType = function(node, options, level) { var child, j, len, ref; level || (level = 0); this.openNode(node, options, level); options.state = WriterState.OpenTag; this.stream.write(this.indent(node, options, level)); this.stream.write('<!DOCTYPE ' + node.root().name); if (node.pubID && node.sysID) { this.stream.write(' PUBLIC "' + node.pubID + '" "' + node.sysID + '"'); } else if (node.sysID) { this.stream.write(' SYSTEM "' + node.sysID + '"'); } if (node.children.length > 0) { this.stream.write(' ['); this.stream.write(this.endline(node, options, level)); options.state = WriterState.InsideTag; ref = node.children; for (j = 0, len = ref.length; j < len; j++) { child = ref[j]; this.writeChildNode(child, options, level + 1); } options.state = WriterState.CloseTag; this.stream.write(']'); } options.state = WriterState.CloseTag; this.stream.write(options.spaceBeforeSlash + '>'); this.stream.write(this.endline(node, options, level)); options.state = WriterState.None; return this.closeNode(node, options, level); }; XMLStreamWriter.prototype.element = function(node, options, level) { var att, child, childNodeCount, firstChildNode, j, len, name, prettySuppressed, ref, ref1; level || (level = 0); this.openNode(node, options, level); options.state = WriterState.OpenTag; this.stream.write(this.indent(node, options, level) + '<' + node.name); ref = node.attribs; for (name in ref) { if (!hasProp.call(ref, name)) continue; att = ref[name]; this.attribute(att, options, level); } childNodeCount = node.children.length; firstChildNode = childNodeCount === 0 ? null : node.children[0]; if (childNodeCount === 0 || node.children.every(function(e) { return (e.type === NodeType.Text || e.type === NodeType.Raw) && e.value === ''; })) { if (options.allowEmpty) { this.stream.write('>'); options.state = WriterState.CloseTag; this.stream.write('</' + node.name + '>'); } else { options.state = WriterState.CloseTag; this.stream.write(options.spaceBeforeSlash + '/>'); } } else if (options.pretty && childNodeCount === 1 && (firstChildNode.type === NodeType.Text || firstChildNode.type === NodeType.Raw) && (firstChildNode.value != null)) { this.stream.write('>'); options.state = WriterState.InsideTag; options.suppressPrettyCount++; prettySuppressed = true; this.writeChildNode(firstChildNode, options, level + 1); options.suppressPrettyCount--; prettySuppressed = false; options.state = WriterState.CloseTag; this.stream.write('</' + node.name + '>'); } else { this.stream.write('>' + this.endline(node, options, level)); options.state = WriterState.InsideTag; ref1 = node.children; for (j = 0, len = ref1.length; j < len; j++) { child = ref1[j]; this.writeChildNode(child, options, level + 1); } options.state = WriterState.CloseTag; this.stream.write(this.indent(node, options, level) + '</' + node.name + '>'); } this.stream.write(this.endline(node, options, level)); options.state = WriterState.None; return this.closeNode(node, options, level); }; XMLStreamWriter.prototype.processingInstruction = function(node, options, level) { return this.stream.write(XMLStreamWriter.__super__.processingInstruction.call(this, node, options, level)); }; XMLStreamWriter.prototype.raw = function(node, options, level) { return this.stream.write(XMLStreamWriter.__super__.raw.call(this, node, options, level)); }; XMLStreamWriter.prototype.text = function(node, options, level) { return this.stream.write(XMLStreamWriter.__super__.text.call(this, node, options, level)); }; XMLStreamWriter.prototype.dtdAttList = function(node, options, level) { return this.stream.write(XMLStreamWriter.__super__.dtdAttList.call(this, node, options, level)); }; XMLStreamWriter.prototype.dtdElement = function(node, options, level) { return this.stream.write(XMLStreamWriter.__super__.dtdElement.call(this, node, options, level)); }; XMLStreamWriter.prototype.dtdEntity = function(node, options, level) { return this.stream.write(XMLStreamWriter.__super__.dtdEntity.call(this, node, options, level)); }; XMLStreamWriter.prototype.dtdNotation = function(node, options, level) { return this.stream.write(XMLStreamWriter.__super__.dtdNotation.call(this, node, options, level)); }; return XMLStreamWriter; })(XMLWriterBase); }).call(this); },{"./NodeType":360,"./WriterState":362,"./XMLWriterBase":390}],387:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLStringWriter, XMLWriterBase, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; XMLWriterBase = require('./XMLWriterBase'); module.exports = XMLStringWriter = (function(superClass) { extend(XMLStringWriter, superClass); function XMLStringWriter(options) { XMLStringWriter.__super__.constructor.call(this, options); } XMLStringWriter.prototype.document = function(doc, options) { var child, i, len, r, ref; options = this.filterOptions(options); r = ''; ref = doc.children; for (i = 0, len = ref.length; i < len; i++) { child = ref[i]; r += this.writeChildNode(child, options, 0); } if (options.pretty && r.slice(-options.newline.length) === options.newline) { r = r.slice(0, -options.newline.length); } return r; }; return XMLStringWriter; })(XMLWriterBase); }).call(this); },{"./XMLWriterBase":390}],388:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var XMLStringifier, bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, hasProp = {}.hasOwnProperty; module.exports = XMLStringifier = (function() { function XMLStringifier(options) { this.assertLegalName = bind(this.assertLegalName, this); this.assertLegalChar = bind(this.assertLegalChar, this); var key, ref, value; options || (options = {}); this.options = options; if (!this.options.version) { this.options.version = '1.0'; } ref = options.stringify || {}; for (key in ref) { if (!hasProp.call(ref, key)) continue; value = ref[key]; this[key] = value; } } XMLStringifier.prototype.name = function(val) { if (this.options.noValidation) { return val; } return this.assertLegalName('' + val || ''); }; XMLStringifier.prototype.text = function(val) { if (this.options.noValidation) { return val; } return this.assertLegalChar(this.textEscape('' + val || '')); }; XMLStringifier.prototype.cdata = function(val) { if (this.options.noValidation) { return val; } val = '' + val || ''; val = val.replace(']]>', ']]]]><![CDATA[>'); return this.assertLegalChar(val); }; XMLStringifier.prototype.comment = function(val) { if (this.options.noValidation) { return val; } val = '' + val || ''; if (val.match(/--/)) { throw new Error("Comment text cannot contain double-hypen: " + val); } return this.assertLegalChar(val); }; XMLStringifier.prototype.raw = function(val) { if (this.options.noValidation) { return val; } return '' + val || ''; }; XMLStringifier.prototype.attValue = function(val) { if (this.options.noValidation) { return val; } return this.assertLegalChar(this.attEscape(val = '' + val || '')); }; XMLStringifier.prototype.insTarget = function(val) { if (this.options.noValidation) { return val; } return this.assertLegalChar('' + val || ''); }; XMLStringifier.prototype.insValue = function(val) { if (this.options.noValidation) { return val; } val = '' + val || ''; if (val.match(/\?>/)) { throw new Error("Invalid processing instruction value: " + val); } return this.assertLegalChar(val); }; XMLStringifier.prototype.xmlVersion = function(val) { if (this.options.noValidation) { return val; } val = '' + val || ''; if (!val.match(/1\.[0-9]+/)) { throw new Error("Invalid version number: " + val); } return val; }; XMLStringifier.prototype.xmlEncoding = function(val) { if (this.options.noValidation) { return val; } val = '' + val || ''; if (!val.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/)) { throw new Error("Invalid encoding: " + val); } return this.assertLegalChar(val); }; XMLStringifier.prototype.xmlStandalone = function(val) { if (this.options.noValidation) { return val; } if (val) { return "yes"; } else { return "no"; } }; XMLStringifier.prototype.dtdPubID = function(val) { if (this.options.noValidation) { return val; } return this.assertLegalChar('' + val || ''); }; XMLStringifier.prototype.dtdSysID = function(val) { if (this.options.noValidation) { return val; } return this.assertLegalChar('' + val || ''); }; XMLStringifier.prototype.dtdElementValue = function(val) { if (this.options.noValidation) { return val; } return this.assertLegalChar('' + val || ''); }; XMLStringifier.prototype.dtdAttType = function(val) { if (this.options.noValidation) { return val; } return this.assertLegalChar('' + val || ''); }; XMLStringifier.prototype.dtdAttDefault = function(val) { if (this.options.noValidation) { return val; } return this.assertLegalChar('' + val || ''); }; XMLStringifier.prototype.dtdEntityValue = function(val) { if (this.options.noValidation) { return val; } return this.assertLegalChar('' + val || ''); }; XMLStringifier.prototype.dtdNData = function(val) { if (this.options.noValidation) { return val; } return this.assertLegalChar('' + val || ''); }; XMLStringifier.prototype.convertAttKey = '@'; XMLStringifier.prototype.convertPIKey = '?'; XMLStringifier.prototype.convertTextKey = '#text'; XMLStringifier.prototype.convertCDataKey = '#cdata'; XMLStringifier.prototype.convertCommentKey = '#comment'; XMLStringifier.prototype.convertRawKey = '#raw'; XMLStringifier.prototype.assertLegalChar = function(str) { var regex, res; if (this.options.noValidation) { return str; } regex = ''; if (this.options.version === '1.0') { regex = /[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; if (res = str.match(regex)) { throw new Error("Invalid character in string: " + str + " at index " + res.index); } } else if (this.options.version === '1.1') { regex = /[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; if (res = str.match(regex)) { throw new Error("Invalid character in string: " + str + " at index " + res.index); } } return str; }; XMLStringifier.prototype.assertLegalName = function(str) { var regex; if (this.options.noValidation) { return str; } this.assertLegalChar(str); regex = /^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/; if (!str.match(regex)) { throw new Error("Invalid character in name"); } return str; }; XMLStringifier.prototype.textEscape = function(str) { var ampregex; if (this.options.noValidation) { return str; } ampregex = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; return str.replace(ampregex, '&').replace(/</g, '<').replace(/>/g, '>').replace(/\r/g, '
'); }; XMLStringifier.prototype.attEscape = function(str) { var ampregex; if (this.options.noValidation) { return str; } ampregex = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; return str.replace(ampregex, '&').replace(/</g, '<').replace(/"/g, '"').replace(/\t/g, '	').replace(/\n/g, '
').replace(/\r/g, '
'); }; return XMLStringifier; })(); }).call(this); },{}],389:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, XMLCharacterData, XMLText, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; NodeType = require('./NodeType'); XMLCharacterData = require('./XMLCharacterData'); module.exports = XMLText = (function(superClass) { extend(XMLText, superClass); function XMLText(parent, text) { XMLText.__super__.constructor.call(this, parent); if (text == null) { throw new Error("Missing element text. " + this.debugInfo()); } this.name = "#text"; this.type = NodeType.Text; this.value = this.stringify.text(text); } Object.defineProperty(XMLText.prototype, 'isElementContentWhitespace', { get: function() { throw new Error("This DOM method is not implemented." + this.debugInfo()); } }); Object.defineProperty(XMLText.prototype, 'wholeText', { get: function() { var next, prev, str; str = ''; prev = this.previousSibling; while (prev) { str = prev.data + str; prev = prev.previousSibling; } str += this.data; next = this.nextSibling; while (next) { str = str + next.data; next = next.nextSibling; } return str; } }); XMLText.prototype.clone = function() { return Object.create(this); }; XMLText.prototype.toString = function(options) { return this.options.writer.text(this, this.options.writer.filterOptions(options)); }; XMLText.prototype.splitText = function(offset) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; XMLText.prototype.replaceWholeText = function(content) { throw new Error("This DOM method is not implemented." + this.debugInfo()); }; return XMLText; })(XMLCharacterData); }).call(this); },{"./NodeType":360,"./XMLCharacterData":365}],390:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDummy, XMLElement, XMLProcessingInstruction, XMLRaw, XMLText, XMLWriterBase, assign, hasProp = {}.hasOwnProperty; assign = require('./Utility').assign; NodeType = require('./NodeType'); XMLDeclaration = require('./XMLDeclaration'); XMLDocType = require('./XMLDocType'); XMLCData = require('./XMLCData'); XMLComment = require('./XMLComment'); XMLElement = require('./XMLElement'); XMLRaw = require('./XMLRaw'); XMLText = require('./XMLText'); XMLProcessingInstruction = require('./XMLProcessingInstruction'); XMLDummy = require('./XMLDummy'); XMLDTDAttList = require('./XMLDTDAttList'); XMLDTDElement = require('./XMLDTDElement'); XMLDTDEntity = require('./XMLDTDEntity'); XMLDTDNotation = require('./XMLDTDNotation'); WriterState = require('./WriterState'); module.exports = XMLWriterBase = (function() { function XMLWriterBase(options) { var key, ref, value; options || (options = {}); this.options = options; ref = options.writer || {}; for (key in ref) { if (!hasProp.call(ref, key)) continue; value = ref[key]; this["_" + key] = this[key]; this[key] = value; } } XMLWriterBase.prototype.filterOptions = function(options) { var filteredOptions, ref, ref1, ref2, ref3, ref4, ref5, ref6; options || (options = {}); options = assign({}, this.options, options); filteredOptions = { writer: this }; filteredOptions.pretty = options.pretty || false; filteredOptions.allowEmpty = options.allowEmpty || false; filteredOptions.indent = (ref = options.indent) != null ? ref : ' '; filteredOptions.newline = (ref1 = options.newline) != null ? ref1 : '\n'; filteredOptions.offset = (ref2 = options.offset) != null ? ref2 : 0; filteredOptions.dontPrettyTextNodes = (ref3 = (ref4 = options.dontPrettyTextNodes) != null ? ref4 : options.dontprettytextnodes) != null ? ref3 : 0; filteredOptions.spaceBeforeSlash = (ref5 = (ref6 = options.spaceBeforeSlash) != null ? ref6 : options.spacebeforeslash) != null ? ref5 : ''; if (filteredOptions.spaceBeforeSlash === true) { filteredOptions.spaceBeforeSlash = ' '; } filteredOptions.suppressPrettyCount = 0; filteredOptions.user = {}; filteredOptions.state = WriterState.None; return filteredOptions; }; XMLWriterBase.prototype.indent = function(node, options, level) { var indentLevel; if (!options.pretty || options.suppressPrettyCount) { return ''; } else if (options.pretty) { indentLevel = (level || 0) + options.offset + 1; if (indentLevel > 0) { return new Array(indentLevel).join(options.indent); } } return ''; }; XMLWriterBase.prototype.endline = function(node, options, level) { if (!options.pretty || options.suppressPrettyCount) { return ''; } else { return options.newline; } }; XMLWriterBase.prototype.attribute = function(att, options, level) { var r; this.openAttribute(att, options, level); r = ' ' + att.name + '="' + att.value + '"'; this.closeAttribute(att, options, level); return r; }; XMLWriterBase.prototype.cdata = function(node, options, level) { var r; this.openNode(node, options, level); options.state = WriterState.OpenTag; r = this.indent(node, options, level) + '<![CDATA['; options.state = WriterState.InsideTag; r += node.value; options.state = WriterState.CloseTag; r += ']]>' + this.endline(node, options, level); options.state = WriterState.None; this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.comment = function(node, options, level) { var r; this.openNode(node, options, level); options.state = WriterState.OpenTag; r = this.indent(node, options, level) + '<!-- '; options.state = WriterState.InsideTag; r += node.value; options.state = WriterState.CloseTag; r += ' -->' + this.endline(node, options, level); options.state = WriterState.None; this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.declaration = function(node, options, level) { var r; this.openNode(node, options, level); options.state = WriterState.OpenTag; r = this.indent(node, options, level) + '<?xml'; options.state = WriterState.InsideTag; r += ' version="' + node.version + '"'; if (node.encoding != null) { r += ' encoding="' + node.encoding + '"'; } if (node.standalone != null) { r += ' standalone="' + node.standalone + '"'; } options.state = WriterState.CloseTag; r += options.spaceBeforeSlash + '?>'; r += this.endline(node, options, level); options.state = WriterState.None; this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.docType = function(node, options, level) { var child, i, len, r, ref; level || (level = 0); this.openNode(node, options, level); options.state = WriterState.OpenTag; r = this.indent(node, options, level); r += '<!DOCTYPE ' + node.root().name; if (node.pubID && node.sysID) { r += ' PUBLIC "' + node.pubID + '" "' + node.sysID + '"'; } else if (node.sysID) { r += ' SYSTEM "' + node.sysID + '"'; } if (node.children.length > 0) { r += ' ['; r += this.endline(node, options, level); options.state = WriterState.InsideTag; ref = node.children; for (i = 0, len = ref.length; i < len; i++) { child = ref[i]; r += this.writeChildNode(child, options, level + 1); } options.state = WriterState.CloseTag; r += ']'; } options.state = WriterState.CloseTag; r += options.spaceBeforeSlash + '>'; r += this.endline(node, options, level); options.state = WriterState.None; this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.element = function(node, options, level) { var att, child, childNodeCount, firstChildNode, i, j, len, len1, name, prettySuppressed, r, ref, ref1, ref2; level || (level = 0); prettySuppressed = false; r = ''; this.openNode(node, options, level); options.state = WriterState.OpenTag; r += this.indent(node, options, level) + '<' + node.name; ref = node.attribs; for (name in ref) { if (!hasProp.call(ref, name)) continue; att = ref[name]; r += this.attribute(att, options, level); } childNodeCount = node.children.length; firstChildNode = childNodeCount === 0 ? null : node.children[0]; if (childNodeCount === 0 || node.children.every(function(e) { return (e.type === NodeType.Text || e.type === NodeType.Raw) && e.value === ''; })) { if (options.allowEmpty) { r += '>'; options.state = WriterState.CloseTag; r += '</' + node.name + '>' + this.endline(node, options, level); } else { options.state = WriterState.CloseTag; r += options.spaceBeforeSlash + '/>' + this.endline(node, options, level); } } else if (options.pretty && childNodeCount === 1 && (firstChildNode.type === NodeType.Text || firstChildNode.type === NodeType.Raw) && (firstChildNode.value != null)) { r += '>'; options.state = WriterState.InsideTag; options.suppressPrettyCount++; prettySuppressed = true; r += this.writeChildNode(firstChildNode, options, level + 1); options.suppressPrettyCount--; prettySuppressed = false; options.state = WriterState.CloseTag; r += '</' + node.name + '>' + this.endline(node, options, level); } else { if (options.dontPrettyTextNodes) { ref1 = node.children; for (i = 0, len = ref1.length; i < len; i++) { child = ref1[i]; if ((child.type === NodeType.Text || child.type === NodeType.Raw) && (child.value != null)) { options.suppressPrettyCount++; prettySuppressed = true; break; } } } r += '>' + this.endline(node, options, level); options.state = WriterState.InsideTag; ref2 = node.children; for (j = 0, len1 = ref2.length; j < len1; j++) { child = ref2[j]; r += this.writeChildNode(child, options, level + 1); } options.state = WriterState.CloseTag; r += this.indent(node, options, level) + '</' + node.name + '>'; if (prettySuppressed) { options.suppressPrettyCount--; } r += this.endline(node, options, level); options.state = WriterState.None; } this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.writeChildNode = function(node, options, level) { switch (node.type) { case NodeType.CData: return this.cdata(node, options, level); case NodeType.Comment: return this.comment(node, options, level); case NodeType.Element: return this.element(node, options, level); case NodeType.Raw: return this.raw(node, options, level); case NodeType.Text: return this.text(node, options, level); case NodeType.ProcessingInstruction: return this.processingInstruction(node, options, level); case NodeType.Dummy: return ''; case NodeType.Declaration: return this.declaration(node, options, level); case NodeType.DocType: return this.docType(node, options, level); case NodeType.AttributeDeclaration: return this.dtdAttList(node, options, level); case NodeType.ElementDeclaration: return this.dtdElement(node, options, level); case NodeType.EntityDeclaration: return this.dtdEntity(node, options, level); case NodeType.NotationDeclaration: return this.dtdNotation(node, options, level); default: throw new Error("Unknown XML node type: " + node.constructor.name); } }; XMLWriterBase.prototype.processingInstruction = function(node, options, level) { var r; this.openNode(node, options, level); options.state = WriterState.OpenTag; r = this.indent(node, options, level) + '<?'; options.state = WriterState.InsideTag; r += node.target; if (node.value) { r += ' ' + node.value; } options.state = WriterState.CloseTag; r += options.spaceBeforeSlash + '?>'; r += this.endline(node, options, level); options.state = WriterState.None; this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.raw = function(node, options, level) { var r; this.openNode(node, options, level); options.state = WriterState.OpenTag; r = this.indent(node, options, level); options.state = WriterState.InsideTag; r += node.value; options.state = WriterState.CloseTag; r += this.endline(node, options, level); options.state = WriterState.None; this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.text = function(node, options, level) { var r; this.openNode(node, options, level); options.state = WriterState.OpenTag; r = this.indent(node, options, level); options.state = WriterState.InsideTag; r += node.value; options.state = WriterState.CloseTag; r += this.endline(node, options, level); options.state = WriterState.None; this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.dtdAttList = function(node, options, level) { var r; this.openNode(node, options, level); options.state = WriterState.OpenTag; r = this.indent(node, options, level) + '<!ATTLIST'; options.state = WriterState.InsideTag; r += ' ' + node.elementName + ' ' + node.attributeName + ' ' + node.attributeType; if (node.defaultValueType !== '#DEFAULT') { r += ' ' + node.defaultValueType; } if (node.defaultValue) { r += ' "' + node.defaultValue + '"'; } options.state = WriterState.CloseTag; r += options.spaceBeforeSlash + '>' + this.endline(node, options, level); options.state = WriterState.None; this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.dtdElement = function(node, options, level) { var r; this.openNode(node, options, level); options.state = WriterState.OpenTag; r = this.indent(node, options, level) + '<!ELEMENT'; options.state = WriterState.InsideTag; r += ' ' + node.name + ' ' + node.value; options.state = WriterState.CloseTag; r += options.spaceBeforeSlash + '>' + this.endline(node, options, level); options.state = WriterState.None; this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.dtdEntity = function(node, options, level) { var r; this.openNode(node, options, level); options.state = WriterState.OpenTag; r = this.indent(node, options, level) + '<!ENTITY'; options.state = WriterState.InsideTag; if (node.pe) { r += ' %'; } r += ' ' + node.name; if (node.value) { r += ' "' + node.value + '"'; } else { if (node.pubID && node.sysID) { r += ' PUBLIC "' + node.pubID + '" "' + node.sysID + '"'; } else if (node.sysID) { r += ' SYSTEM "' + node.sysID + '"'; } if (node.nData) { r += ' NDATA ' + node.nData; } } options.state = WriterState.CloseTag; r += options.spaceBeforeSlash + '>' + this.endline(node, options, level); options.state = WriterState.None; this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.dtdNotation = function(node, options, level) { var r; this.openNode(node, options, level); options.state = WriterState.OpenTag; r = this.indent(node, options, level) + '<!NOTATION'; options.state = WriterState.InsideTag; r += ' ' + node.name; if (node.pubID && node.sysID) { r += ' PUBLIC "' + node.pubID + '" "' + node.sysID + '"'; } else if (node.pubID) { r += ' PUBLIC "' + node.pubID + '"'; } else if (node.sysID) { r += ' SYSTEM "' + node.sysID + '"'; } options.state = WriterState.CloseTag; r += options.spaceBeforeSlash + '>' + this.endline(node, options, level); options.state = WriterState.None; this.closeNode(node, options, level); return r; }; XMLWriterBase.prototype.openNode = function(node, options, level) {}; XMLWriterBase.prototype.closeNode = function(node, options, level) {}; XMLWriterBase.prototype.openAttribute = function(att, options, level) {}; XMLWriterBase.prototype.closeAttribute = function(att, options, level) {}; return XMLWriterBase; })(); }).call(this); },{"./NodeType":360,"./Utility":361,"./WriterState":362,"./XMLCData":364,"./XMLComment":366,"./XMLDTDAttList":371,"./XMLDTDElement":372,"./XMLDTDEntity":373,"./XMLDTDNotation":374,"./XMLDeclaration":375,"./XMLDocType":376,"./XMLDummy":379,"./XMLElement":380,"./XMLProcessingInstruction":384,"./XMLRaw":385,"./XMLText":389}],391:[function(require,module,exports){ // Generated by CoffeeScript 1.12.7 (function() { var NodeType, WriterState, XMLDOMImplementation, XMLDocument, XMLDocumentCB, XMLStreamWriter, XMLStringWriter, assign, isFunction, ref; ref = require('./Utility'), assign = ref.assign, isFunction = ref.isFunction; XMLDOMImplementation = require('./XMLDOMImplementation'); XMLDocument = require('./XMLDocument'); XMLDocumentCB = require('./XMLDocumentCB'); XMLStringWriter = require('./XMLStringWriter'); XMLStreamWriter = require('./XMLStreamWriter'); NodeType = require('./NodeType'); WriterState = require('./WriterState'); module.exports.create = function(name, xmldec, doctype, options) { var doc, root; if (name == null) { throw new Error("Root element needs a name."); } options = assign({}, xmldec, doctype, options); doc = new XMLDocument(options); root = doc.element(name); if (!options.headless) { doc.declaration(options); if ((options.pubID != null) || (options.sysID != null)) { doc.dtd(options); } } return root; }; module.exports.begin = function(options, onData, onEnd) { var ref1; if (isFunction(options)) { ref1 = [options, onData], onData = ref1[0], onEnd = ref1[1]; options = {}; } if (onData) { return new XMLDocumentCB(options, onData, onEnd); } else { return new XMLDocument(options); } }; module.exports.stringWriter = function(options) { return new XMLStringWriter(options); }; module.exports.streamWriter = function(stream, options) { return new XMLStreamWriter(stream, options); }; module.exports.implementation = new XMLDOMImplementation(); module.exports.nodeType = NodeType; module.exports.writerState = WriterState; }).call(this); },{"./NodeType":360,"./Utility":361,"./WriterState":362,"./XMLDOMImplementation":369,"./XMLDocument":377,"./XMLDocumentCB":378,"./XMLStreamWriter":386,"./XMLStringWriter":387}],392:[function(require,module,exports){ module.exports = extend var hasOwnProperty = Object.prototype.hasOwnProperty; function extend() { var target = {} for (var i = 0; i < arguments.length; i++) { var source = arguments[i] for (var key in source) { if (hasOwnProperty.call(source, key)) { target[key] = source[key] } } } return target } },{}],393:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.fill.js"); require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.regexp.to-string.js"); require("core-js/modules/es.array.join.js"); require("core-js/modules/es.array.slice.js"); var Buffer = require('buffer').Buffer; var sha = require('./sha'); var md5 = require('./md5'); var algorithms = { sha1: sha, md5: md5 }; var blocksize = 64; var zeroBuffer = Buffer.alloc(blocksize); zeroBuffer.fill(0); function hmac(fn, key, data) { if (!Buffer.isBuffer(key)) key = Buffer.from(key); if (!Buffer.isBuffer(data)) data = Buffer.from(data); if (key.length > blocksize) { key = fn(key); } else if (key.length < blocksize) { key = Buffer.concat([key, zeroBuffer], blocksize); } var ipad = Buffer.alloc(blocksize), opad = Buffer.alloc(blocksize); for (var i = 0; i < blocksize; i++) { ipad[i] = key[i] ^ 0x36; opad[i] = key[i] ^ 0x5C; } var hash = fn(Buffer.concat([ipad, data])); return fn(Buffer.concat([opad, hash])); } function hash(alg, key) { alg = alg || 'sha1'; var fn = algorithms[alg]; var bufs = []; var length = 0; if (!fn) error('algorithm:', alg, 'is not yet supported'); return { update: function update(data) { if (!Buffer.isBuffer(data)) data = Buffer.from(data); bufs.push(data); length += data.length; return this; }, digest: function digest(enc) { var buf = Buffer.concat(bufs); var r = key ? hmac(fn, key, buf) : fn(buf); bufs = null; return enc ? r.toString(enc) : r; } }; } function error() { var m = [].slice.call(arguments).join(' '); throw new Error([m, 'we accept pull requests', 'http://github.com/dominictarr/crypto-browserify'].join('\n')); } exports.createHash = function (alg) { return hash(alg); }; exports.createHmac = function (alg, key) { return hash(alg, key); }; exports.createCredentials = function () { error('sorry,createCredentials is not implemented yet'); }; exports.createCipher = function () { error('sorry,createCipher is not implemented yet'); }; exports.createCipheriv = function () { error('sorry,createCipheriv is not implemented yet'); }; exports.createDecipher = function () { error('sorry,createDecipher is not implemented yet'); }; exports.createDecipheriv = function () { error('sorry,createDecipheriv is not implemented yet'); }; exports.createSign = function () { error('sorry,createSign is not implemented yet'); }; exports.createVerify = function () { error('sorry,createVerify is not implemented yet'); }; exports.createDiffieHellman = function () { error('sorry,createDiffieHellman is not implemented yet'); }; exports.pbkdf2 = function () { error('sorry,pbkdf2 is not implemented yet'); }; },{"./md5":395,"./sha":396,"buffer":85,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.fill.js":242,"core-js/modules/es.array.join.js":248,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.to-string.js":262}],394:[function(require,module,exports){ "use strict"; require("core-js/modules/es.array.fill.js"); require("core-js/modules/es.array.concat.js"); var Buffer = require('buffer').Buffer; var intSize = 4; var zeroBuffer = Buffer.alloc(intSize); zeroBuffer.fill(0); var chrsz = 8; function toArray(buf, bigEndian) { if (buf.length % intSize !== 0) { var len = buf.length + (intSize - buf.length % intSize); buf = Buffer.concat([buf, zeroBuffer], len); } var arr = []; var fn = bigEndian ? buf.readInt32BE : buf.readInt32LE; for (var i = 0; i < buf.length; i += intSize) { arr.push(fn.call(buf, i)); } return arr; } function toBuffer(arr, size, bigEndian) { var buf = Buffer.alloc(size); var fn = bigEndian ? buf.writeInt32BE : buf.writeInt32LE; for (var i = 0; i < arr.length; i++) { fn.call(buf, arr[i], i * 4, true); } return buf; } function hash(buf, fn, hashSize, bigEndian) { if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf); var arr = fn(toArray(buf, bigEndian), buf.length * chrsz); return toBuffer(arr, hashSize, bigEndian); } module.exports = { hash: hash }; },{"buffer":85,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.fill.js":242}],395:[function(require,module,exports){ "use strict"; /* * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message * Digest Algorithm, as defined in RFC 1321. * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002. * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet * Distributed under the BSD License * See http://pajhome.org.uk/crypt/md5 for more info. */ var helpers = require('./helpers'); /* * Perform a simple self-test to see if the VM is working */ function md5_vm_test() { return hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72"; } /* * Calculate the MD5 of an array of little-endian words, and a bit length */ function core_md5(x, len) { /* append padding */ x[len >> 5] |= 0x80 << len % 32; x[(len + 64 >>> 9 << 4) + 14] = len; var a = 1732584193; var b = -271733879; var c = -1732584194; var d = 271733878; for (var i = 0; i < x.length; i += 16) { var olda = a; var oldb = b; var oldc = c; var oldd = d; a = md5_ff(a, b, c, d, x[i + 0], 7, -680876936); d = md5_ff(d, a, b, c, x[i + 1], 12, -389564586); c = md5_ff(c, d, a, b, x[i + 2], 17, 606105819); b = md5_ff(b, c, d, a, x[i + 3], 22, -1044525330); a = md5_ff(a, b, c, d, x[i + 4], 7, -176418897); d = md5_ff(d, a, b, c, x[i + 5], 12, 1200080426); c = md5_ff(c, d, a, b, x[i + 6], 17, -1473231341); b = md5_ff(b, c, d, a, x[i + 7], 22, -45705983); a = md5_ff(a, b, c, d, x[i + 8], 7, 1770035416); d = md5_ff(d, a, b, c, x[i + 9], 12, -1958414417); c = md5_ff(c, d, a, b, x[i + 10], 17, -42063); b = md5_ff(b, c, d, a, x[i + 11], 22, -1990404162); a = md5_ff(a, b, c, d, x[i + 12], 7, 1804603682); d = md5_ff(d, a, b, c, x[i + 13], 12, -40341101); c = md5_ff(c, d, a, b, x[i + 14], 17, -1502002290); b = md5_ff(b, c, d, a, x[i + 15], 22, 1236535329); a = md5_gg(a, b, c, d, x[i + 1], 5, -165796510); d = md5_gg(d, a, b, c, x[i + 6], 9, -1069501632); c = md5_gg(c, d, a, b, x[i + 11], 14, 643717713); b = md5_gg(b, c, d, a, x[i + 0], 20, -373897302); a = md5_gg(a, b, c, d, x[i + 5], 5, -701558691); d = md5_gg(d, a, b, c, x[i + 10], 9, 38016083); c = md5_gg(c, d, a, b, x[i + 15], 14, -660478335); b = md5_gg(b, c, d, a, x[i + 4], 20, -405537848); a = md5_gg(a, b, c, d, x[i + 9], 5, 568446438); d = md5_gg(d, a, b, c, x[i + 14], 9, -1019803690); c = md5_gg(c, d, a, b, x[i + 3], 14, -187363961); b = md5_gg(b, c, d, a, x[i + 8], 20, 1163531501); a = md5_gg(a, b, c, d, x[i + 13], 5, -1444681467); d = md5_gg(d, a, b, c, x[i + 2], 9, -51403784); c = md5_gg(c, d, a, b, x[i + 7], 14, 1735328473); b = md5_gg(b, c, d, a, x[i + 12], 20, -1926607734); a = md5_hh(a, b, c, d, x[i + 5], 4, -378558); d = md5_hh(d, a, b, c, x[i + 8], 11, -2022574463); c = md5_hh(c, d, a, b, x[i + 11], 16, 1839030562); b = md5_hh(b, c, d, a, x[i + 14], 23, -35309556); a = md5_hh(a, b, c, d, x[i + 1], 4, -1530992060); d = md5_hh(d, a, b, c, x[i + 4], 11, 1272893353); c = md5_hh(c, d, a, b, x[i + 7], 16, -155497632); b = md5_hh(b, c, d, a, x[i + 10], 23, -1094730640); a = md5_hh(a, b, c, d, x[i + 13], 4, 681279174); d = md5_hh(d, a, b, c, x[i + 0], 11, -358537222); c = md5_hh(c, d, a, b, x[i + 3], 16, -722521979); b = md5_hh(b, c, d, a, x[i + 6], 23, 76029189); a = md5_hh(a, b, c, d, x[i + 9], 4, -640364487); d = md5_hh(d, a, b, c, x[i + 12], 11, -421815835); c = md5_hh(c, d, a, b, x[i + 15], 16, 530742520); b = md5_hh(b, c, d, a, x[i + 2], 23, -995338651); a = md5_ii(a, b, c, d, x[i + 0], 6, -198630844); d = md5_ii(d, a, b, c, x[i + 7], 10, 1126891415); c = md5_ii(c, d, a, b, x[i + 14], 15, -1416354905); b = md5_ii(b, c, d, a, x[i + 5], 21, -57434055); a = md5_ii(a, b, c, d, x[i + 12], 6, 1700485571); d = md5_ii(d, a, b, c, x[i + 3], 10, -1894986606); c = md5_ii(c, d, a, b, x[i + 10], 15, -1051523); b = md5_ii(b, c, d, a, x[i + 1], 21, -2054922799); a = md5_ii(a, b, c, d, x[i + 8], 6, 1873313359); d = md5_ii(d, a, b, c, x[i + 15], 10, -30611744); c = md5_ii(c, d, a, b, x[i + 6], 15, -1560198380); b = md5_ii(b, c, d, a, x[i + 13], 21, 1309151649); a = md5_ii(a, b, c, d, x[i + 4], 6, -145523070); d = md5_ii(d, a, b, c, x[i + 11], 10, -1120210379); c = md5_ii(c, d, a, b, x[i + 2], 15, 718787259); b = md5_ii(b, c, d, a, x[i + 9], 21, -343485551); a = safe_add(a, olda); b = safe_add(b, oldb); c = safe_add(c, oldc); d = safe_add(d, oldd); } return Array(a, b, c, d); } /* * These functions implement the four basic operations the algorithm uses. */ function md5_cmn(q, a, b, x, s, t) { return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b); } function md5_ff(a, b, c, d, x, s, t) { return md5_cmn(b & c | ~b & d, a, b, x, s, t); } function md5_gg(a, b, c, d, x, s, t) { return md5_cmn(b & d | c & ~d, a, b, x, s, t); } function md5_hh(a, b, c, d, x, s, t) { return md5_cmn(b ^ c ^ d, a, b, x, s, t); } function md5_ii(a, b, c, d, x, s, t) { return md5_cmn(c ^ (b | ~d), a, b, x, s, t); } /* * Add integers, wrapping at 2^32. This uses 16-bit operations internally * to work around bugs in some JS interpreters. */ function safe_add(x, y) { var lsw = (x & 0xFFFF) + (y & 0xFFFF); var msw = (x >> 16) + (y >> 16) + (lsw >> 16); return msw << 16 | lsw & 0xFFFF; } /* * Bitwise rotate a 32-bit number to the left. */ function bit_rol(num, cnt) { return num << cnt | num >>> 32 - cnt; } module.exports = function md5(buf) { return helpers.hash(buf, core_md5, 16); }; },{"./helpers":394}],396:[function(require,module,exports){ "use strict"; /* * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined * in FIPS PUB 180-1 * Version 2.1a Copyright Paul Johnston 2000 - 2002. * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet * Distributed under the BSD License * See http://pajhome.org.uk/crypt/md5 for details. */ var helpers = require('./helpers'); /* * Calculate the SHA-1 of an array of big-endian words, and a bit length */ function core_sha1(x, len) { /* append padding */ x[len >> 5] |= 0x80 << 24 - len % 32; x[(len + 64 >> 9 << 4) + 15] = len; var w = Array(80); var a = 1732584193; var b = -271733879; var c = -1732584194; var d = 271733878; var e = -1009589776; for (var i = 0; i < x.length; i += 16) { var olda = a; var oldb = b; var oldc = c; var oldd = d; var olde = e; for (var j = 0; j < 80; j++) { if (j < 16) w[j] = x[i + j];else w[j] = rol(w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16], 1); var t = safe_add(safe_add(rol(a, 5), sha1_ft(j, b, c, d)), safe_add(safe_add(e, w[j]), sha1_kt(j))); e = d; d = c; c = rol(b, 30); b = a; a = t; } a = safe_add(a, olda); b = safe_add(b, oldb); c = safe_add(c, oldc); d = safe_add(d, oldd); e = safe_add(e, olde); } return Array(a, b, c, d, e); } /* * Perform the appropriate triplet combination function for the current * iteration */ function sha1_ft(t, b, c, d) { if (t < 20) return b & c | ~b & d; if (t < 40) return b ^ c ^ d; if (t < 60) return b & c | b & d | c & d; return b ^ c ^ d; } /* * Determine the appropriate additive constant for the current iteration */ function sha1_kt(t) { return t < 20 ? 1518500249 : t < 40 ? 1859775393 : t < 60 ? -1894007588 : -899497514; } /* * Add integers, wrapping at 2^32. This uses 16-bit operations internally * to work around bugs in some JS interpreters. */ function safe_add(x, y) { var lsw = (x & 0xFFFF) + (y & 0xFFFF); var msw = (x >> 16) + (y >> 16) + (lsw >> 16); return msw << 16 | lsw & 0xFFFF; } /* * Bitwise rotate a 32-bit number to the left. */ function rol(num, cnt) { return num << cnt | num >>> 32 - cnt; } module.exports = function sha1(buf) { return helpers.hash(buf, core_sha1, 20, true); }; },{"./helpers":394}],397:[function(require,module,exports){ "use strict"; module.exports = function () { return function () {}; }; },{}],398:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); var _require = require('stream'), Stream = _require.Stream; var _require2 = require('../lib/common/utils/isArray'), isArray = _require2.isArray; module.exports.string = function isString(obj) { return typeof obj === 'string'; }; module.exports.array = isArray; module.exports.buffer = Buffer.isBuffer; function isStream(obj) { return obj instanceof Stream; } module.exports.writableStream = function isWritableStream(obj) { return isStream(obj) && typeof obj._write === 'function' && (0, _typeof2.default)(obj._writableState) === 'object'; }; }).call(this)}).call(this,{"isBuffer":require("../node_modules/is-buffer/index.js")}) },{"../lib/common/utils/isArray":61,"../node_modules/is-buffer/index.js":312,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,"stream":345}],399:[function(require,module,exports){ "use strict"; var immediate = require('immediate'); var process = module.exports = {}; process.nextTick = immediate; process.title = 'browser'; process.browser = true; process.env = {}; process.argv = []; process.version = ''; // empty string to avoid regexp issues process.versions = {}; function noop() {} process.on = noop; process.addListener = noop; process.once = noop; process.off = noop; process.removeListener = noop; process.removeAllListeners = noop; process.emit = noop; process.prependListener = noop; process.prependOnceListener = noop; process.listeners = function (name) { return []; }; process.binding = function (name) { throw new Error('process.binding is not supported'); }; process.cwd = function () { return '/'; }; process.chdir = function (dir) { throw new Error('process.chdir is not supported'); }; process.umask = function () { return 0; }; },{"immediate":305}],400:[function(require,module,exports){ (function (global){(function (){ "use strict"; require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.search.js"); //"version": "2.8.2", var ClientRequest = require('./lib/request'); var response = require('./lib/response'); var extend = require('xtend'); var statusCodes = require('builtin-status-codes'); var url = require('url'); var http = exports; http.request = function (opts, cb) { if (typeof opts === 'string') opts = url.parse(opts);else opts = extend(opts); // Normally, the page is loaded from http or https, so not specifying a protocol // will result in a (valid) protocol-relative url. However, this won't work if // the protocol is something else, like 'file:' var defaultProtocol = global.location.protocol.search(/^https?:$/) === -1 ? 'http:' : ''; var protocol = opts.protocol || defaultProtocol; var host = opts.hostname || opts.host; var port = opts.port; var path = opts.path || '/'; // Necessary for IPv6 addresses if (host && host.indexOf(':') !== -1) host = '[' + host + ']'; // This may be a relative url. The browser should always be able to interpret it correctly. opts.url = (host ? protocol + '//' + host : '') + (port ? ':' + port : '') + path; opts.method = (opts.method || 'GET').toUpperCase(); opts.headers = opts.headers || {}; // Also valid opts.auth, opts.mode var req = new ClientRequest(opts); if (cb) req.on('response', cb); return req; }; http.get = function get(opts, cb) { var req = http.request(opts, cb); req.end(); return req; }; http.ClientRequest = ClientRequest; http.IncomingMessage = response.IncomingMessage; http.Agent = function () {}; http.Agent.defaultMaxSockets = 4; http.globalAgent = new http.Agent(); http.STATUS_CODES = statusCodes; http.METHODS = ['CHECKOUT', 'CONNECT', 'COPY', 'DELETE', 'GET', 'HEAD', 'LOCK', 'M-SEARCH', 'MERGE', 'MKACTIVITY', 'MKCOL', 'MOVE', 'NOTIFY', 'OPTIONS', 'PATCH', 'POST', 'PROPFIND', 'PROPPATCH', 'PURGE', 'PUT', 'REPORT', 'SEARCH', 'SUBSCRIBE', 'TRACE', 'UNLOCK', 'UNSUBSCRIBE']; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{"./lib/request":402,"./lib/response":403,"builtin-status-codes":87,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.search.js":267,"url":404,"xtend":392}],401:[function(require,module,exports){ (function (global){(function (){ "use strict"; require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.promise.js"); require("core-js/modules/es.array-buffer.constructor.js"); require("core-js/modules/es.array-buffer.slice.js"); require("core-js/modules/es.array.slice.js"); exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableStream); exports.writableStream = isFunction(global.WritableStream); exports.abortController = isFunction(global.AbortController); exports.blobConstructor = false; try { new Blob([new ArrayBuffer(1)]); exports.blobConstructor = true; } catch (e) {} // The xhr request to example.com may violate some restrictive CSP configurations, // so if we're running in a browser that supports `fetch`, avoid calling getXHR() // and assume support for certain features below. var xhr; function getXHR() { // Cache the xhr value if (xhr !== undefined) return xhr; if (global.XMLHttpRequest) { xhr = new global.XMLHttpRequest(); // If XDomainRequest is available (ie only, where xhr might not work // cross domain), use the page location. Otherwise use example.com // Note: this doesn't actually make an http request. try { xhr.open('GET', global.XDomainRequest ? '/' : 'https://example.com'); } catch (e) { xhr = null; } } else { // Service workers don't have XHR xhr = null; } return xhr; } function checkTypeSupport(type) { var xhr = getXHR(); if (!xhr) return false; try { xhr.responseType = type; return xhr.responseType === type; } catch (e) {} return false; } // For some strange reason, Safari 7.0 reports typeof global.ArrayBuffer === 'object'. // Safari 7.1 appears to have fixed this bug. var haveArrayBuffer = typeof global.ArrayBuffer !== 'undefined'; var haveSlice = haveArrayBuffer && isFunction(global.ArrayBuffer.prototype.slice); // If fetch is supported, then arraybuffer will be supported too. Skip calling // checkTypeSupport(), since that calls getXHR(). exports.arraybuffer = exports.fetch || haveArrayBuffer && checkTypeSupport('arraybuffer'); // These next two tests unavoidably show warnings in Chrome. Since fetch will always // be used if it's available, just return false for these to avoid the warnings. exports.msstream = !exports.fetch && haveSlice && checkTypeSupport('ms-stream'); exports.mozchunkedarraybuffer = !exports.fetch && haveArrayBuffer && checkTypeSupport('moz-chunked-arraybuffer'); // If fetch is supported, then overrideMimeType will be supported too. Skip calling // getXHR(). exports.overrideMimeType = exports.fetch || (getXHR() ? isFunction(getXHR().overrideMimeType) : false); exports.vbArray = isFunction(global.VBArray); function isFunction(value) { return typeof value === 'function'; } xhr = null; // Help gc }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{"core-js/modules/es.array-buffer.constructor.js":239,"core-js/modules/es.array-buffer.slice.js":240,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259}],402:[function(require,module,exports){ (function (process,global,Buffer){(function (){ "use strict"; require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.regexp.to-string.js"); require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.keys.js"); require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.array.map.js"); require("core-js/modules/es.function.name.js"); require("core-js/modules/es.promise.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.split.js"); var capability = require('./capability'); var inherits = require('inherits'); var response = require('./response'); var stream = require('readable-stream'); var toArrayBuffer = require('to-arraybuffer'); var IncomingMessage = response.IncomingMessage; var rStates = response.readyStates; function decideMode(preferBinary, useFetch) { if (capability.fetch && useFetch) { return 'fetch'; } else if (capability.mozchunkedarraybuffer) { return 'moz-chunked-arraybuffer'; } else if (capability.msstream) { return 'ms-stream'; } else if (capability.arraybuffer && preferBinary) { return 'arraybuffer'; } else if (capability.vbArray && preferBinary) { return 'text:vbarray'; } else { return 'text'; } } var ClientRequest = module.exports = function (opts) { var self = this; stream.Writable.call(self); self._opts = opts; self._body = []; self._headers = {}; if (opts.auth) self.setHeader('Authorization', 'Basic ' + new Buffer(opts.auth).toString('base64')); Object.keys(opts.headers).forEach(function (name) { self.setHeader(name, opts.headers[name]); }); var preferBinary; var useFetch = true; if (opts.mode === 'disable-fetch' || 'requestTimeout' in opts && !capability.abortController) { // If the use of XHR should be preferred. Not typically needed. useFetch = false; preferBinary = true; } else if (opts.mode === 'prefer-streaming') { // If streaming is a high priority but binary compatibility and // the accuracy of the 'content-type' header aren't preferBinary = false; } else if (opts.mode === 'allow-wrong-content-type') { // If streaming is more important than preserving the 'content-type' header preferBinary = !capability.overrideMimeType; } else if (!opts.mode || opts.mode === 'default' || opts.mode === 'prefer-fast') { // Use binary if text streaming may corrupt data or the content-type header, or for speed preferBinary = true; } else { throw new Error('Invalid value for opts.mode'); } self._mode = decideMode(preferBinary, useFetch); self._fetchTimer = null; self.on('finish', function () { self._onFinish(); }); }; inherits(ClientRequest, stream.Writable); ClientRequest.prototype.setHeader = function (name, value) { var self = this; var lowerName = name.toLowerCase(); // This check is not necessary, but it prevents warnings from browsers about setting unsafe // headers. To be honest I'm not entirely sure hiding these warnings is a good thing, but // http-browserify did it, so I will too. if (unsafeHeaders.indexOf(lowerName) !== -1) return; self._headers[lowerName] = { name: name, value: value }; }; ClientRequest.prototype.getHeader = function (name) { var header = this._headers[name.toLowerCase()]; if (header) return header.value; return null; }; ClientRequest.prototype.removeHeader = function (name) { var self = this; delete self._headers[name.toLowerCase()]; }; ClientRequest.prototype._onFinish = function () { var self = this; if (self._destroyed) return; var opts = self._opts; var headersObj = self._headers; var body = null; if (opts.method !== 'GET' && opts.method !== 'HEAD') { if (capability.arraybuffer) { body = toArrayBuffer(Buffer.concat(self._body)); } else if (capability.blobConstructor) { body = new global.Blob(self._body.map(function (buffer) { return toArrayBuffer(buffer); }), { type: (headersObj['content-type'] || {}).value || '' }); } else { // get utf8 string body = Buffer.concat(self._body).toString(); } } // create flattened list of headers var headersList = []; Object.keys(headersObj).forEach(function (keyName) { var name = headersObj[keyName].name; var value = headersObj[keyName].value; if (Array.isArray(value)) { value.forEach(function (v) { headersList.push([name, v]); }); } else { headersList.push([name, value]); } }); if (self._mode === 'fetch') { var signal = null; var fetchTimer = null; if (capability.abortController) { var controller = new AbortController(); signal = controller.signal; self._fetchAbortController = controller; if ('requestTimeout' in opts && opts.requestTimeout !== 0) { self._fetchTimer = global.setTimeout(function () { self.emit('requestTimeout'); if (self._fetchAbortController) self._fetchAbortController.abort(); }, opts.requestTimeout); } } global.fetch(self._opts.url, { method: self._opts.method, headers: headersList, body: body || undefined, mode: 'cors', credentials: opts.withCredentials ? 'include' : 'same-origin', signal: signal }).then(function (response) { self._fetchResponse = response; self._connect(); }, function (reason) { global.clearTimeout(self._fetchTimer); if (!self._destroyed) self.emit('error', reason); }); } else { var xhr = self._xhr = new global.XMLHttpRequest(); try { xhr.open(self._opts.method, self._opts.url, true); } catch (err) { process.nextTick(function () { self.emit('error', err); }); return; } // Can't set responseType on really old browsers if ('responseType' in xhr) xhr.responseType = self._mode.split(':')[0]; if ('withCredentials' in xhr) xhr.withCredentials = !!opts.withCredentials; if (self._mode === 'text' && 'overrideMimeType' in xhr) xhr.overrideMimeType('text/plain; charset=x-user-defined'); if ('requestTimeout' in opts) { xhr.timeout = opts.requestTimeout; xhr.ontimeout = function () { self.emit('requestTimeout'); }; } headersList.forEach(function (header) { xhr.setRequestHeader(header[0], header[1]); }); self._response = null; xhr.onreadystatechange = function () { switch (xhr.readyState) { case rStates.LOADING: case rStates.DONE: self._onXHRProgress(); break; } }; // Necessary for streaming in Firefox, since xhr.response is ONLY defined // in onprogress, not in onreadystatechange with xhr.readyState = 3 if (self._mode === 'moz-chunked-arraybuffer') { xhr.onprogress = function () { self._onXHRProgress(); }; } xhr.onerror = function () { if (self._destroyed) return; self.emit('error', new Error('XHR error')); }; try { xhr.send(body); } catch (err) { process.nextTick(function () { self.emit('error', err); }); return; } } }; /** * Checks if xhr.status is readable and non-zero, indicating no error. * Even though the spec says it should be available in readyState 3, * accessing it throws an exception in IE8 */ function statusValid(xhr) { try { var status = xhr.status; return status !== null && status !== 0; } catch (e) { return false; } } ClientRequest.prototype._onXHRProgress = function () { var self = this; if (!statusValid(self._xhr) || self._destroyed) return; if (!self._response) self._connect(); self._response._onXHRProgress(); }; ClientRequest.prototype._connect = function () { var self = this; if (self._destroyed) return; self._response = new IncomingMessage(self._xhr, self._fetchResponse, self._mode, self._fetchTimer); self._response.on('error', function (err) { self.emit('error', err); }); self.emit('response', self._response); }; ClientRequest.prototype._write = function (chunk, encoding, cb) { var self = this; self._body.push(chunk); cb(); }; ClientRequest.prototype.abort = ClientRequest.prototype.destroy = function () { var self = this; self._destroyed = true; global.clearTimeout(self._fetchTimer); if (self._response) self._response._destroyed = true; if (self._xhr) self._xhr.abort();else if (self._fetchAbortController) self._fetchAbortController.abort(); }; ClientRequest.prototype.end = function (data, encoding, cb) { var self = this; if (typeof data === 'function') { cb = data; data = undefined; } stream.Writable.prototype.end.call(self, data, encoding, cb); }; ClientRequest.prototype.flushHeaders = function () {}; ClientRequest.prototype.setTimeout = function () {}; ClientRequest.prototype.setNoDelay = function () {}; ClientRequest.prototype.setSocketKeepAlive = function () {}; // Taken from http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader%28%29-method var unsafeHeaders = ['accept-charset', 'accept-encoding', 'access-control-request-headers', 'access-control-request-method', 'connection', 'content-length', 'cookie', 'cookie2', 'date', 'dnt', 'expect', 'host', 'keep-alive', 'origin', 'referer', 'te', 'trailer', 'transfer-encoding', 'upgrade', 'user-agent', 'via']; }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer) },{"./capability":401,"./response":403,"_process":399,"buffer":85,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.map.js":249,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.split.js":268,"core-js/modules/web.dom-collections.for-each.js":296,"inherits":311,"readable-stream":339,"to-arraybuffer":348}],403:[function(require,module,exports){ (function (process,global,Buffer){(function (){ "use strict"; require("core-js/modules/web.dom-collections.for-each.js"); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.promise.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.split.js"); require("core-js/modules/es.string.match.js"); require("core-js/modules/es.array.iterator.js"); require("core-js/modules/es.array-buffer.slice.js"); require("core-js/modules/es.typed-array.uint8-array.js"); require("core-js/modules/es.typed-array.copy-within.js"); require("core-js/modules/es.typed-array.every.js"); require("core-js/modules/es.typed-array.fill.js"); require("core-js/modules/es.typed-array.filter.js"); require("core-js/modules/es.typed-array.find.js"); require("core-js/modules/es.typed-array.find-index.js"); require("core-js/modules/es.typed-array.for-each.js"); require("core-js/modules/es.typed-array.includes.js"); require("core-js/modules/es.typed-array.index-of.js"); require("core-js/modules/es.typed-array.iterator.js"); require("core-js/modules/es.typed-array.join.js"); require("core-js/modules/es.typed-array.last-index-of.js"); require("core-js/modules/es.typed-array.map.js"); require("core-js/modules/es.typed-array.reduce.js"); require("core-js/modules/es.typed-array.reduce-right.js"); require("core-js/modules/es.typed-array.reverse.js"); require("core-js/modules/es.typed-array.set.js"); require("core-js/modules/es.typed-array.slice.js"); require("core-js/modules/es.typed-array.some.js"); require("core-js/modules/es.typed-array.sort.js"); require("core-js/modules/es.typed-array.subarray.js"); require("core-js/modules/es.typed-array.to-locale-string.js"); require("core-js/modules/es.typed-array.to-string.js"); require("core-js/modules/es.array.slice.js"); var capability = require('./capability'); var inherits = require('inherits'); var stream = require('readable-stream'); var rStates = exports.readyStates = { UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 }; var IncomingMessage = exports.IncomingMessage = function (xhr, response, mode, fetchTimer) { var self = this; stream.Readable.call(self); self._mode = mode; self.headers = {}; self.rawHeaders = []; self.trailers = {}; self.rawTrailers = []; // Fake the 'close' event, but only once 'end' fires self.on('end', function () { // The nextTick is necessary to prevent the 'request' module from causing an infinite loop process.nextTick(function () { self.emit('close'); }); }); if (mode === 'fetch') { var read = function read() { reader.read().then(function (result) { if (self._destroyed) return; if (result.done) { global.clearTimeout(fetchTimer); self.push(null); return; } self.push(new Buffer(result.value)); read(); }).catch(function (err) { global.clearTimeout(fetchTimer); if (!self._destroyed) self.emit('error', err); }); }; self._fetchResponse = response; self.url = response.url; self.statusCode = response.status; self.statusMessage = response.statusText; response.headers.forEach(function (header, key) { self.headers[key.toLowerCase()] = header; self.rawHeaders.push(key, header); }); if (capability.writableStream) { var writable = new WritableStream({ write: function write(chunk) { return new Promise(function (resolve, reject) { if (self._destroyed) { reject(); } else if (self.push(new Buffer(chunk))) { resolve(); } else { self._resumeFetch = resolve; } }); }, close: function close() { global.clearTimeout(fetchTimer); if (!self._destroyed) self.push(null); }, abort: function abort(err) { if (!self._destroyed) self.emit('error', err); } }); try { response.body.pipeTo(writable).catch(function (err) { global.clearTimeout(fetchTimer); if (!self._destroyed) self.emit('error', err); }); return; } catch (e) {} // pipeTo method isn't defined. Can't find a better way to feature test this } // fallback for when writableStream or pipeTo aren't available var reader = response.body.getReader(); read(); } else { self._xhr = xhr; self._pos = 0; self.url = xhr.responseURL; self.statusCode = xhr.status; self.statusMessage = xhr.statusText; var headers = xhr.getAllResponseHeaders().split(/\r?\n/); headers.forEach(function (header) { var matches = header.match(/^([^:]+):\s*(.*)/); if (matches) { var key = matches[1].toLowerCase(); if (key === 'set-cookie') { if (self.headers[key] === undefined) { self.headers[key] = []; } self.headers[key].push(matches[2]); } else if (self.headers[key] !== undefined) { self.headers[key] += ', ' + matches[2]; } else { self.headers[key] = matches[2]; } self.rawHeaders.push(matches[1], matches[2]); } }); self._charset = 'x-user-defined'; if (!capability.overrideMimeType) { var mimeType = self.rawHeaders['mime-type']; if (mimeType) { var charsetMatch = mimeType.match(/;\s*charset=([^;])(;|$)/); if (charsetMatch) { self._charset = charsetMatch[1].toLowerCase(); } } if (!self._charset) self._charset = 'utf-8'; // best guess } } }; inherits(IncomingMessage, stream.Readable); IncomingMessage.prototype._read = function () { var self = this; var resolve = self._resumeFetch; if (resolve) { self._resumeFetch = null; resolve(); } }; IncomingMessage.prototype._onXHRProgress = function () { var self = this; var xhr = self._xhr; var response = null; switch (self._mode) { case 'text:vbarray': // For IE9 if (xhr.readyState !== rStates.DONE) break; try { // This fails in IE8 response = new global.VBArray(xhr.responseBody).toArray(); } catch (e) {} if (response !== null) { self.push(new Buffer(response)); break; } // Falls through in IE8 case 'text': try { // This will fail when readyState = 3 in IE9. Switch mode and wait for readyState = 4 response = xhr.responseText; } catch (e) { self._mode = 'text:vbarray'; break; } if (response.length > self._pos) { var newData = response.substr(self._pos); if (self._charset === 'x-user-defined') { var buffer = new Buffer(newData.length); for (var i = 0; i < newData.length; i++) { buffer[i] = newData.charCodeAt(i) & 0xff; } self.push(buffer); } else { self.push(newData, self._charset); } self._pos = response.length; } break; case 'arraybuffer': if (xhr.readyState !== rStates.DONE || !xhr.response) break; response = xhr.response; self.push(new Buffer(new Uint8Array(response))); break; case 'moz-chunked-arraybuffer': // take whole response = xhr.response; if (xhr.readyState !== rStates.LOADING || !response) break; self.push(new Buffer(new Uint8Array(response))); break; case 'ms-stream': response = xhr.response; if (xhr.readyState !== rStates.LOADING) break; var reader = new global.MSStreamReader(); reader.onprogress = function () { if (reader.result.byteLength > self._pos) { self.push(new Buffer(new Uint8Array(reader.result.slice(self._pos)))); self._pos = reader.result.byteLength; } }; reader.onload = function () { self.push(null); }; // reader.onerror = ??? // TODO: this reader.readAsArrayBuffer(response); break; } // The ms-stream case handles end separately in reader.onload() if (self._xhr.readyState === rStates.DONE && self._mode !== 'ms-stream') { self.push(null); } }; }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer) },{"./capability":401,"_process":399,"buffer":85,"core-js/modules/es.array-buffer.slice.js":240,"core-js/modules/es.array.iterator.js":247,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.match.js":265,"core-js/modules/es.string.split.js":268,"core-js/modules/es.typed-array.copy-within.js":272,"core-js/modules/es.typed-array.every.js":273,"core-js/modules/es.typed-array.fill.js":274,"core-js/modules/es.typed-array.filter.js":275,"core-js/modules/es.typed-array.find-index.js":276,"core-js/modules/es.typed-array.find.js":277,"core-js/modules/es.typed-array.for-each.js":278,"core-js/modules/es.typed-array.includes.js":279,"core-js/modules/es.typed-array.index-of.js":280,"core-js/modules/es.typed-array.iterator.js":281,"core-js/modules/es.typed-array.join.js":282,"core-js/modules/es.typed-array.last-index-of.js":283,"core-js/modules/es.typed-array.map.js":284,"core-js/modules/es.typed-array.reduce-right.js":285,"core-js/modules/es.typed-array.reduce.js":286,"core-js/modules/es.typed-array.reverse.js":287,"core-js/modules/es.typed-array.set.js":288,"core-js/modules/es.typed-array.slice.js":289,"core-js/modules/es.typed-array.some.js":290,"core-js/modules/es.typed-array.sort.js":291,"core-js/modules/es.typed-array.subarray.js":292,"core-js/modules/es.typed-array.to-locale-string.js":293,"core-js/modules/es.typed-array.to-string.js":294,"core-js/modules/es.typed-array.uint8-array.js":295,"core-js/modules/web.dom-collections.for-each.js":296,"inherits":311,"readable-stream":339}],404:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.search.js"); require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.string.split.js"); require("core-js/modules/es.string.replace.js"); require("core-js/modules/es.array.join.js"); require("core-js/modules/es.string.trim.js"); require("core-js/modules/es.string.match.js"); require("core-js/modules/es.array.slice.js"); require("core-js/modules/es.object.keys.js"); require("core-js/modules/es.array.splice.js"); var punycode = require('punycode'); var util = require('./util'); exports.parse = urlParse; exports.resolve = urlResolve; exports.resolveObject = urlResolveObject; exports.format = urlFormat; exports.Url = Url; function Url() { this.protocol = null; this.slashes = null; this.auth = null; this.host = null; this.port = null; this.hostname = null; this.hash = null; this.search = null; this.query = null; this.pathname = null; this.path = null; this.href = null; } // Reference: RFC 3986, RFC 1808, RFC 2396 // define these here so at least they only have to be // compiled once on the first module load. var protocolPattern = /^([a-z0-9.+-]+:)/i, portPattern = /:[0-9]*$/, // Special case for a simple path URL simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, // RFC 2396: characters reserved for delimiting URLs. // We actually just auto-escape these. delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'], // RFC 2396: characters not allowed for various reasons. unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims), // Allowed by RFCs, but cause of XSS attacks. Always escape these. autoEscape = ['\''].concat(unwise), // Characters that are never ever allowed in a hostname. // Note that any invalid chars are also handled, but these // are the ones that are *expected* to be seen, so we fast-path // them. nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape), hostEndingChars = ['/', '?', '#'], hostnameMaxLen = 255, hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/, hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, // protocols that can allow "unsafe" and "unwise" chars. unsafeProtocol = { 'javascript': true, 'javascript:': true }, // protocols that never have a hostname. hostlessProtocol = { 'javascript': true, 'javascript:': true }, // protocols that always contain a // bit. slashedProtocol = { 'http': true, 'https': true, 'ftp': true, 'gopher': true, 'file': true, 'http:': true, 'https:': true, 'ftp:': true, 'gopher:': true, 'file:': true }, querystring = require('querystring'); function urlParse(url, parseQueryString, slashesDenoteHost) { if (url && util.isObject(url) && url instanceof Url) return url; var u = new Url(); u.parse(url, parseQueryString, slashesDenoteHost); return u; } Url.prototype.parse = function (url, parseQueryString, slashesDenoteHost) { if (!util.isString(url)) { throw new TypeError("Parameter 'url' must be a string, not " + (0, _typeof2.default)(url)); } // Copy chrome, IE, opera backslash-handling behavior. // Back slashes before the query string get converted to forward slashes // See: https://code.google.com/p/chromium/issues/detail?id=25916 var queryIndex = url.indexOf('?'), splitter = queryIndex !== -1 && queryIndex < url.indexOf('#') ? '?' : '#', uSplit = url.split(splitter), slashRegex = /\\/g; uSplit[0] = uSplit[0].replace(slashRegex, '/'); url = uSplit.join(splitter); var rest = url; // trim before proceeding. // This is to support parse stuff like " http://foo.com \n" rest = rest.trim(); if (!slashesDenoteHost && url.split('#').length === 1) { // Try fast path regexp var simplePath = simplePathPattern.exec(rest); if (simplePath) { this.path = rest; this.href = rest; this.pathname = simplePath[1]; if (simplePath[2]) { this.search = simplePath[2]; if (parseQueryString) { this.query = querystring.parse(this.search.substr(1)); } else { this.query = this.search.substr(1); } } else if (parseQueryString) { this.search = ''; this.query = {}; } return this; } } var proto = protocolPattern.exec(rest); if (proto) { proto = proto[0]; var lowerProto = proto.toLowerCase(); this.protocol = lowerProto; rest = rest.substr(proto.length); } // figure out if it's got a host // user@server is *always* interpreted as a hostname, and url // resolution will treat //foo/bar as host=foo,path=bar because that's // how the browser resolves relative URLs. if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) { var slashes = rest.substr(0, 2) === '//'; if (slashes && !(proto && hostlessProtocol[proto])) { rest = rest.substr(2); this.slashes = true; } } if (!hostlessProtocol[proto] && (slashes || proto && !slashedProtocol[proto])) { // there's a hostname. // the first instance of /, ?, ;, or # ends the host. // // If there is an @ in the hostname, then non-host chars *are* allowed // to the left of the last @ sign, unless some host-ending character // comes *before* the @-sign. // URLs are obnoxious. // // ex: // http://a@b@c/ => user:a@b host:c // http://a@b?@c => user:a host:c path:/?@c // v0.12 TODO(isaacs): This is not quite how Chrome does things. // Review our test case against browsers more comprehensively. // find the first instance of any hostEndingChars var hostEnd = -1; for (var i = 0; i < hostEndingChars.length; i++) { var hec = rest.indexOf(hostEndingChars[i]); if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec; } // at this point, either we have an explicit point where the // auth portion cannot go past, or the last @ char is the decider. var auth, atSign; if (hostEnd === -1) { // atSign can be anywhere. atSign = rest.lastIndexOf('@'); } else { // atSign must be in auth portion. // http://a@b/c@d => host:b auth:a path:/c@d atSign = rest.lastIndexOf('@', hostEnd); } // Now we have a portion which is definitely the auth. // Pull that off. if (atSign !== -1) { auth = rest.slice(0, atSign); rest = rest.slice(atSign + 1); this.auth = decodeURIComponent(auth); } // the host is the remaining to the left of the first non-host char hostEnd = -1; for (var i = 0; i < nonHostChars.length; i++) { var hec = rest.indexOf(nonHostChars[i]); if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec; } // if we still have not hit it, then the entire thing is a host. if (hostEnd === -1) hostEnd = rest.length; this.host = rest.slice(0, hostEnd); rest = rest.slice(hostEnd); // pull out port. this.parseHost(); // we've indicated that there is a hostname, // so even if it's empty, it has to be present. this.hostname = this.hostname || ''; // if hostname begins with [ and ends with ] // assume that it's an IPv6 address. var ipv6Hostname = this.hostname[0] === '[' && this.hostname[this.hostname.length - 1] === ']'; // validate a little. if (!ipv6Hostname) { var hostparts = this.hostname.split('.'); for (var i = 0, l = hostparts.length; i < l; i++) { var part = hostparts[i]; if (!part) continue; if (!part.match(hostnamePartPattern)) { var newpart = ''; for (var j = 0, k = part.length; j < k; j++) { if (part.charCodeAt(j) > 127) { // we replace non-ASCII char with a temporary placeholder // we need this to make sure size of hostname is not // broken by replacing non-ASCII by nothing newpart += 'x'; } else { newpart += part[j]; } } // we test again with ASCII char only if (!newpart.match(hostnamePartPattern)) { var validParts = hostparts.slice(0, i); var notHost = hostparts.slice(i + 1); var bit = part.match(hostnamePartStart); if (bit) { validParts.push(bit[1]); notHost.unshift(bit[2]); } if (notHost.length) { rest = '/' + notHost.join('.') + rest; } this.hostname = validParts.join('.'); break; } } } } if (this.hostname.length > hostnameMaxLen) { this.hostname = ''; } else { // hostnames are always lower case. this.hostname = this.hostname.toLowerCase(); } if (!ipv6Hostname) { // IDNA Support: Returns a punycoded representation of "domain". // It only converts parts of the domain name that // have non-ASCII characters, i.e. it doesn't matter if // you call it with a domain that already is ASCII-only. this.hostname = punycode.toASCII(this.hostname); } var p = this.port ? ':' + this.port : ''; var h = this.hostname || ''; this.host = h + p; this.href += this.host; // strip [ and ] from the hostname // the host field still retains them, though if (ipv6Hostname) { this.hostname = this.hostname.substr(1, this.hostname.length - 2); if (rest[0] !== '/') { rest = '/' + rest; } } } // now rest is set to the post-host stuff. // chop off any delim chars. if (!unsafeProtocol[lowerProto]) { // First, make 100% sure that any "autoEscape" chars get // escaped, even if encodeURIComponent doesn't think they // need to be. for (var i = 0, l = autoEscape.length; i < l; i++) { var ae = autoEscape[i]; if (rest.indexOf(ae) === -1) continue; var esc = encodeURIComponent(ae); if (esc === ae) { esc = escape(ae); } rest = rest.split(ae).join(esc); } } // chop off from the tail first. var hash = rest.indexOf('#'); if (hash !== -1) { // got a fragment string. this.hash = rest.substr(hash); rest = rest.slice(0, hash); } var qm = rest.indexOf('?'); if (qm !== -1) { this.search = rest.substr(qm); this.query = rest.substr(qm + 1); if (parseQueryString) { this.query = querystring.parse(this.query); } rest = rest.slice(0, qm); } else if (parseQueryString) { // no query string, but parseQueryString still requested this.search = ''; this.query = {}; } if (rest) this.pathname = rest; if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) { this.pathname = '/'; } //to support http.request if (this.pathname || this.search) { var p = this.pathname || ''; var s = this.search || ''; this.path = p + s; } // finally, reconstruct the href based on what has been validated. this.href = this.format(); return this; }; // format a parsed object into a url string function urlFormat(obj) { // ensure it's an object, and not a string url. // If it's an obj, this is a no-op. // this way, you can call url_format() on strings // to clean up potentially wonky urls. if (util.isString(obj)) obj = urlParse(obj); if (!(obj instanceof Url)) return Url.prototype.format.call(obj); return obj.format(); } Url.prototype.format = function () { var auth = this.auth || ''; if (auth) { auth = encodeURIComponent(auth); auth = auth.replace(/%3A/i, ':'); auth += '@'; } var protocol = this.protocol || '', pathname = this.pathname || '', hash = this.hash || '', host = false, query = ''; if (this.host) { host = auth + this.host; } else if (this.hostname) { host = auth + (this.hostname.indexOf(':') === -1 ? this.hostname : '[' + this.hostname + ']'); if (this.port) { host += ':' + this.port; } } if (this.query && util.isObject(this.query) && Object.keys(this.query).length) { query = querystring.stringify(this.query); } var search = this.search || query && '?' + query || ''; if (protocol && protocol.substr(-1) !== ':') protocol += ':'; // only the slashedProtocols get the //. Not mailto:, xmpp:, etc. // unless they had them to begin with. if (this.slashes || (!protocol || slashedProtocol[protocol]) && host !== false) { host = '//' + (host || ''); if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname; } else if (!host) { host = ''; } if (hash && hash.charAt(0) !== '#') hash = '#' + hash; if (search && search.charAt(0) !== '?') search = '?' + search; pathname = pathname.replace(/[?#]/g, function (match) { return encodeURIComponent(match); }); search = search.replace('#', '%23'); return protocol + host + pathname + search + hash; }; function urlResolve(source, relative) { return urlParse(source, false, true).resolve(relative); } Url.prototype.resolve = function (relative) { return this.resolveObject(urlParse(relative, false, true)).format(); }; function urlResolveObject(source, relative) { if (!source) return relative; return urlParse(source, false, true).resolveObject(relative); } Url.prototype.resolveObject = function (relative) { if (util.isString(relative)) { var rel = new Url(); rel.parse(relative, false, true); relative = rel; } var result = new Url(); var tkeys = Object.keys(this); for (var tk = 0; tk < tkeys.length; tk++) { var tkey = tkeys[tk]; result[tkey] = this[tkey]; } // hash is always overridden, no matter what. // even href="" will remove it. result.hash = relative.hash; // if the relative url is empty, then there's nothing left to do here. if (relative.href === '') { result.href = result.format(); return result; } // hrefs like //foo/bar always cut to the protocol. if (relative.slashes && !relative.protocol) { // take everything except the protocol from relative var rkeys = Object.keys(relative); for (var rk = 0; rk < rkeys.length; rk++) { var rkey = rkeys[rk]; if (rkey !== 'protocol') result[rkey] = relative[rkey]; } //urlParse appends trailing / to urls like http://www.example.com if (slashedProtocol[result.protocol] && result.hostname && !result.pathname) { result.path = result.pathname = '/'; } result.href = result.format(); return result; } if (relative.protocol && relative.protocol !== result.protocol) { // if it's a known url protocol, then changing // the protocol does weird things // first, if it's not file:, then we MUST have a host, // and if there was a path // to begin with, then we MUST have a path. // if it is file:, then the host is dropped, // because that's known to be hostless. // anything else is assumed to be absolute. if (!slashedProtocol[relative.protocol]) { var keys = Object.keys(relative); for (var v = 0; v < keys.length; v++) { var k = keys[v]; result[k] = relative[k]; } result.href = result.format(); return result; } result.protocol = relative.protocol; if (!relative.host && !hostlessProtocol[relative.protocol]) { var relPath = (relative.pathname || '').split('/'); while (relPath.length && !(relative.host = relPath.shift())) { ; } if (!relative.host) relative.host = ''; if (!relative.hostname) relative.hostname = ''; if (relPath[0] !== '') relPath.unshift(''); if (relPath.length < 2) relPath.unshift(''); result.pathname = relPath.join('/'); } else { result.pathname = relative.pathname; } result.search = relative.search; result.query = relative.query; result.host = relative.host || ''; result.auth = relative.auth; result.hostname = relative.hostname || relative.host; result.port = relative.port; // to support http.request if (result.pathname || result.search) { var p = result.pathname || ''; var s = result.search || ''; result.path = p + s; } result.slashes = result.slashes || relative.slashes; result.href = result.format(); return result; } var isSourceAbs = result.pathname && result.pathname.charAt(0) === '/', isRelAbs = relative.host || relative.pathname && relative.pathname.charAt(0) === '/', mustEndAbs = isRelAbs || isSourceAbs || result.host && relative.pathname, removeAllDots = mustEndAbs, srcPath = result.pathname && result.pathname.split('/') || [], relPath = relative.pathname && relative.pathname.split('/') || [], psychotic = result.protocol && !slashedProtocol[result.protocol]; // if the url is a non-slashed url, then relative // links like ../.. should be able // to crawl up to the hostname, as well. This is strange. // result.protocol has already been set by now. // Later on, put the first path part into the host field. if (psychotic) { result.hostname = ''; result.port = null; if (result.host) { if (srcPath[0] === '') srcPath[0] = result.host;else srcPath.unshift(result.host); } result.host = ''; if (relative.protocol) { relative.hostname = null; relative.port = null; if (relative.host) { if (relPath[0] === '') relPath[0] = relative.host;else relPath.unshift(relative.host); } relative.host = null; } mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === ''); } if (isRelAbs) { // it's absolute. result.host = relative.host || relative.host === '' ? relative.host : result.host; result.hostname = relative.hostname || relative.hostname === '' ? relative.hostname : result.hostname; result.search = relative.search; result.query = relative.query; srcPath = relPath; // fall through to the dot-handling below. } else if (relPath.length) { // it's relative // throw away the existing file, and take the new path instead. if (!srcPath) srcPath = []; srcPath.pop(); srcPath = srcPath.concat(relPath); result.search = relative.search; result.query = relative.query; } else if (!util.isNullOrUndefined(relative.search)) { // just pull out the search. // like href='?foo'. // Put this after the other two cases because it simplifies the booleans if (psychotic) { result.hostname = result.host = srcPath.shift(); //occationaly the auth can get stuck only in host //this especially happens in cases like //url.resolveObject('mailto:local1@domain1', 'local2@domain2') var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false; if (authInHost) { result.auth = authInHost.shift(); result.host = result.hostname = authInHost.shift(); } } result.search = relative.search; result.query = relative.query; //to support http.request if (!util.isNull(result.pathname) || !util.isNull(result.search)) { result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : ''); } result.href = result.format(); return result; } if (!srcPath.length) { // no path at all. easy. // we've already handled the other stuff above. result.pathname = null; //to support http.request if (result.search) { result.path = '/' + result.search; } else { result.path = null; } result.href = result.format(); return result; } // if a url ENDs in . or .., then it must get a trailing slash. // however, if it ends in anything else non-slashy, // then it must NOT get a trailing slash. var last = srcPath.slice(-1)[0]; var hasTrailingSlash = (result.host || relative.host || srcPath.length > 1) && (last === '.' || last === '..') || last === ''; // strip single dots, resolve double dots to parent dir // if the path tries to go above the root, `up` ends up > 0 var up = 0; for (var i = srcPath.length; i >= 0; i--) { last = srcPath[i]; if (last === '.') { srcPath.splice(i, 1); } else if (last === '..') { srcPath.splice(i, 1); up++; } else if (up) { srcPath.splice(i, 1); up--; } } // if the path is allowed to go above the root, restore leading ..s if (!mustEndAbs && !removeAllDots) { for (; up--; up) { srcPath.unshift('..'); } } if (mustEndAbs && srcPath[0] !== '' && (!srcPath[0] || srcPath[0].charAt(0) !== '/')) { srcPath.unshift(''); } if (hasTrailingSlash && srcPath.join('/').substr(-1) !== '/') { srcPath.push(''); } var isAbsolute = srcPath[0] === '' || srcPath[0] && srcPath[0].charAt(0) === '/'; // put the host back if (psychotic) { result.hostname = result.host = isAbsolute ? '' : srcPath.length ? srcPath.shift() : ''; //occationaly the auth can get stuck only in host //this especially happens in cases like //url.resolveObject('mailto:local1@domain1', 'local2@domain2') var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false; if (authInHost) { result.auth = authInHost.shift(); result.host = result.hostname = authInHost.shift(); } } mustEndAbs = mustEndAbs || result.host && srcPath.length; if (mustEndAbs && !isAbsolute) { srcPath.unshift(''); } if (!srcPath.length) { result.pathname = null; result.path = null; } else { result.pathname = srcPath.join('/'); } //to support request.http if (!util.isNull(result.pathname) || !util.isNull(result.search)) { result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : ''); } result.auth = relative.auth || result.auth; result.slashes = result.slashes || relative.slashes; result.href = result.format(); return result; }; Url.prototype.parseHost = function () { var host = this.host; var port = portPattern.exec(host); if (port) { port = port[0]; if (port !== ':') { this.port = port.substr(1); } host = host.substr(0, host.length - port.length); } if (host) this.hostname = host; }; },{"./util":405,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.join.js":248,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.array.splice.js":252,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.match.js":265,"core-js/modules/es.string.replace.js":266,"core-js/modules/es.string.search.js":267,"core-js/modules/es.string.split.js":268,"core-js/modules/es.string.trim.js":269,"punycode":325,"querystring":328}],405:[function(require,module,exports){ 'use strict'; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); module.exports = { isString: function isString(arg) { return typeof arg === 'string'; }, isObject: function isObject(arg) { return (0, _typeof2.default)(arg) === 'object' && arg !== null; }, isNull: function isNull(arg) { return arg === null; }, isNullOrUndefined: function isNullOrUndefined(arg) { return arg == null; } }; },{"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75}],406:[function(require,module,exports){ "use strict"; require("core-js/modules/es.number.constructor.js"); // copy from https://github.com/node-modules/utility for browser exports.encodeURIComponent = function (text) { try { return encodeURIComponent(text); } catch (e) { return text; } }; exports.escape = require('escape-html'); exports.timestamp = function timestamp(t) { if (t) { var v = t; if (typeof v === 'string') { v = Number(v); } if (String(t).length === 10) { v *= 1000; } return new Date(v); } return Math.round(Date.now() / 1000); }; },{"core-js/modules/es.number.constructor.js":254,"escape-html":300}],407:[function(require,module,exports){ (function (process,Buffer){(function (){ 'use strict'; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); require("core-js/modules/es.string.trim.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.string.split.js"); require("core-js/modules/es.object.to-string.js"); require("core-js/modules/es.promise.js"); require("core-js/modules/es.function.name.js"); require("core-js/modules/es.array.concat.js"); var util = require('util'); var urlutil = require('url'); var http = require('http'); var https = require('https'); var debug = require('debug')('urllib'); var ms = require('humanize-ms'); var REQUEST_ID = 0; var MAX_VALUE = Math.pow(2, 31) - 10; var PROTO_RE = /^https?:\/\//i; function getAgent(agent, defaultAgent) { return agent === undefined ? defaultAgent : agent; } function parseContentType(str) { if (!str) { return ''; } return str.split(';')[0].trim().toLowerCase(); } function makeCallback(resolve, reject) { return function (err, data, res) { if (err) { return reject(err); } resolve({ data: data, status: res.statusCode, headers: res.headers, res: res }); }; } // exports.TIMEOUT = ms('5s'); exports.TIMEOUTS = [ms('300s'), ms('300s')]; var TEXT_DATA_TYPES = ['json', 'text']; exports.request = function request(url, args, callback) { // request(url, callback) if (arguments.length === 2 && typeof args === 'function') { callback = args; args = null; } if (typeof callback === 'function') { return exports.requestWithCallback(url, args, callback); } return new Promise(function (resolve, reject) { exports.requestWithCallback(url, args, makeCallback(resolve, reject)); }); }; exports.requestWithCallback = function requestWithCallback(url, args, callback) { if (!url || typeof url !== 'string' && (0, _typeof2.default)(url) !== 'object') { var msg = util.format('expect request url to be a string or a http request options, but got' + ' %j', url); throw new Error(msg); } if (arguments.length === 2 && typeof args === 'function') { callback = args; args = null; } args = args || {}; if (REQUEST_ID >= MAX_VALUE) { REQUEST_ID = 0; } var reqId = ++REQUEST_ID; args.requestUrls = args.requestUrls || []; var reqMeta = { requestId: reqId, url: url, args: args, ctx: args.ctx }; if (args.emitter) { args.emitter.emit('request', reqMeta); } args.timeout = args.timeout || exports.TIMEOUTS; args.maxRedirects = args.maxRedirects || 10; args.streaming = args.streaming || args.customResponse; var requestStartTime = Date.now(); var parsedUrl; if (typeof url === 'string') { if (!PROTO_RE.test(url)) { // Support `request('www.server.com')` url = 'https://' + url; } parsedUrl = urlutil.parse(url); } else { parsedUrl = url; } var method = (args.type || args.method || parsedUrl.method || 'GET').toUpperCase(); var port = parsedUrl.port || 80; var httplib = http; var agent = getAgent(args.agent, exports.agent); var fixJSONCtlChars = args.fixJSONCtlChars; if (parsedUrl.protocol === 'https:') { httplib = https; agent = getAgent(args.httpsAgent, exports.httpsAgent); if (!parsedUrl.port) { port = 443; } } // request through proxy tunnel // var proxyTunnelAgent = detectProxyAgent(parsedUrl, args); // if (proxyTunnelAgent) { // agent = proxyTunnelAgent; // } var options = { host: parsedUrl.hostname || parsedUrl.host || 'localhost', path: parsedUrl.path || '/', method: method, port: port, agent: agent, headers: args.headers || {}, // default is dns.lookup // https://github.com/nodejs/node/blob/master/lib/net.js#L986 // custom dnslookup require node >= 4.0.0 // https://github.com/nodejs/node/blob/archived-io.js-v0.12/lib/net.js#L952 lookup: args.lookup }; if (Array.isArray(args.timeout)) { options.requestTimeout = args.timeout[args.timeout.length - 1]; } else if (typeof args.timeout !== 'undefined') { options.requestTimeout = args.timeout; } // const sslNames = [ // 'pfx', // 'key', // 'passphrase', // 'cert', // 'ca', // 'ciphers', // 'rejectUnauthorized', // 'secureProtocol', // 'secureOptions', // ]; // for (let i = 0; i < sslNames.length; i++) { // const name = sslNames[i]; // if (args.hasOwnProperty(name)) { // options[name] = args[name]; // } // } // don't check ssl // if (options.rejectUnauthorized === false && !options.hasOwnProperty('secureOptions')) { // options.secureOptions = require('constants').SSL_OP_NO_TLSv1_2; // } var auth = args.auth || parsedUrl.auth; if (auth) { options.auth = auth; } // content undefined data 有值 var body = args.content || args.data; var dataAsQueryString = method === 'GET' || method === 'HEAD' || args.dataAsQueryString; if (!args.content) { if (body && !(typeof body === 'string' || Buffer.isBuffer(body))) { if (dataAsQueryString) { // read: GET, HEAD, use query string body = args.nestedQuerystring ? qs.stringify(body) : querystring.stringify(body); } else { var contentType = options.headers['Content-Type'] || options.headers['content-type']; // auto add application/x-www-form-urlencoded when using urlencode form request if (!contentType) { if (args.contentType === 'json') { contentType = 'application/json'; } else { contentType = 'application/x-www-form-urlencoded'; } options.headers['Content-Type'] = contentType; } if (parseContentType(contentType) === 'application/json') { body = JSON.stringify(body); } else { // 'application/x-www-form-urlencoded' body = args.nestedQuerystring ? qs.stringify(body) : querystring.stringify(body); } } } } // if it's a GET or HEAD request, data should be sent as query string if (dataAsQueryString && body) { options.path += (parsedUrl.query ? '&' : '?') + body; body = null; } var requestSize = 0; if (body) { var length = body.length; if (!Buffer.isBuffer(body)) { length = Buffer.byteLength(body); } requestSize = options.headers['Content-Length'] = length; } if (args.dataType === 'json') { options.headers.Accept = 'application/json'; } if (typeof args.beforeRequest === 'function') { // you can use this hook to change every thing. args.beforeRequest(options); } var connectTimer = null; var responseTimer = null; var __err = null; var connected = false; // socket connected or not var keepAliveSocket = false; // request with keepalive socket var responseSize = 0; var statusCode = -1; var responseAborted = false; var remoteAddress = ''; var remotePort = ''; var timing = null; if (args.timing) { timing = { // socket assigned queuing: 0, // dns lookup time dnslookup: 0, // socket connected connected: 0, // request sent requestSent: 0, // Time to first byte (TTFB) waiting: 0, contentDownload: 0 }; } function cancelConnectTimer() { if (connectTimer) { clearTimeout(connectTimer); connectTimer = null; } } function cancelResponseTimer() { if (responseTimer) { clearTimeout(responseTimer); responseTimer = null; } } function done(err, data, res) { cancelResponseTimer(); if (!callback) { console.warn('[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!', Date(), reqId, process.pid, options.method, url); // https://github.com/node-modules/urllib/pull/30 if (err) { console.warn('[urllib:warn] [%s] [%s] [worker:%s] %s: %s\nstack: %s', Date(), reqId, process.pid, err.name, err.message, err.stack); } return; } var cb = callback; callback = null; var headers = {}; if (res) { statusCode = res.statusCode; headers = res.headers; } // handle digest auth // if (statusCode === 401 && headers['www-authenticate'] // && (!args.headers || !args.headers.Authorization) && args.digestAuth) { // const authenticate = headers['www-authenticate']; // if (authenticate.indexOf('Digest ') >= 0) { // debug('Request#%d %s: got digest auth header WWW-Authenticate: %s', reqId, url, authenticate); // args.headers = args.headers || {}; // args.headers.Authorization = digestAuthHeader(options.method, options.path, authenticate, args.digestAuth); // debug('Request#%d %s: auth with digest header: %s', reqId, url, args.headers.Authorization); // if (res.headers['set-cookie']) { // args.headers.Cookie = res.headers['set-cookie'].join(';'); // } // return exports.requestWithCallback(url, args, cb); // } // } var requestUseTime = Date.now() - requestStartTime; if (timing) { timing.contentDownload = requestUseTime; } debug('[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j', requestUseTime, responseSize, statusCode, options.method, options.host, options.path, keepAliveSocket, timing); var response = { status: statusCode, statusCode: statusCode, headers: headers, size: responseSize, aborted: responseAborted, rt: requestUseTime, keepAliveSocket: keepAliveSocket, data: data, requestUrls: args.requestUrls, timing: timing, remoteAddress: remoteAddress, remotePort: remotePort }; if (err) { var agentStatus = ''; if (agent && typeof agent.getCurrentStatus === 'function') { // add current agent status to error message for logging and debug agentStatus = ', agent status: ' + JSON.stringify(agent.getCurrentStatus()); } err.message += ', ' + options.method + ' ' + url + ' ' + statusCode + ' (connected: ' + connected + ', keepalive socket: ' + keepAliveSocket + agentStatus + ')' + '\nheaders: ' + JSON.stringify(headers); err.data = data; err.path = options.path; err.status = statusCode; err.headers = headers; err.res = response; } cb(err, data, args.streaming ? res : response); if (args.emitter) { // keep to use the same reqMeta object on request event before reqMeta.url = url; reqMeta.socket = req && req.connection; reqMeta.options = options; reqMeta.size = requestSize; args.emitter.emit('response', { requestId: reqId, error: err, ctx: args.ctx, req: reqMeta, res: response }); } } function handleRedirect(res) { var err = null; if (args.followRedirect && statuses.redirect[res.statusCode]) { // handle redirect args._followRedirectCount = (args._followRedirectCount || 0) + 1; var location = res.headers.location; if (!location) { err = new Error('Got statusCode ' + res.statusCode + ' but cannot resolve next location from headers'); err.name = 'FollowRedirectError'; } else if (args._followRedirectCount > args.maxRedirects) { err = new Error('Exceeded maxRedirects. Probably stuck in a redirect loop ' + url); err.name = 'MaxRedirectError'; } else { var newUrl = args.formatRedirectUrl ? args.formatRedirectUrl(url, location) : urlutil.resolve(url, location); debug('Request#%d %s: `redirected` from %s to %s', reqId, options.path, url, newUrl); // make sure timer stop cancelResponseTimer(); // should clean up headers.Host on `location: http://other-domain/url` if (args.headers && args.headers.Host && PROTO_RE.test(location)) { args.headers.Host = null; } // avoid done will be execute in the future change. var cb = callback; callback = null; exports.requestWithCallback(newUrl, args, cb); return { redirect: true, error: null }; } } return { redirect: false, error: err }; } if (args.gzip) { if (!options.headers['Accept-Encoding'] && !options.headers['accept-encoding']) { options.headers['Accept-Encoding'] = 'gzip'; } } function decodeContent(res, body, cb) { var encoding = res.headers['content-encoding']; // if (body.length === 0) { // return cb(null, body, encoding); // } // if (!encoding || encoding.toLowerCase() !== 'gzip') { return cb(null, body, encoding); // } // debug('gunzip %d length body', body.length); // zlib.gunzip(body, cb); } var writeStream = args.writeStream; debug('Request#%d %s %s with headers %j, options.path: %s', reqId, method, url, options.headers, options.path); args.requestUrls.push(url); function onResponse(res) { if (timing) { timing.waiting = Date.now() - requestStartTime; } debug('Request#%d %s `req response` event emit: status %d, headers: %j', reqId, url, res.statusCode, res.headers); if (args.streaming) { var result = handleRedirect(res); if (result.redirect) { res.resume(); return; } if (result.error) { res.resume(); return done(result.error, null, res); } return done(null, null, res); } res.on('close', function () { debug('Request#%d %s: `res close` event emit, total size %d', reqId, url, responseSize); }); res.on('error', function () { debug('Request#%d %s: `res error` event emit, total size %d', reqId, url, responseSize); }); res.on('aborted', function () { responseAborted = true; debug('Request#%d %s: `res aborted` event emit, total size %d', reqId, url, responseSize); }); if (writeStream) { // If there's a writable stream to recieve the response data, just pipe the // response stream to that writable stream and call the callback when it has // finished writing. // // NOTE that when the response stream `res` emits an 'end' event it just // means that it has finished piping data to another stream. In the // meanwhile that writable stream may still writing data to the disk until // it emits a 'close' event. // // That means that we should not apply callback until the 'close' of the // writable stream is emited. // // See also: // - https://github.com/TBEDP/urllib/commit/959ac3365821e0e028c231a5e8efca6af410eabb // - http://nodejs.org/api/stream.html#stream_event_end // - http://nodejs.org/api/stream.html#stream_event_close_1 var _result = handleRedirect(res); if (_result.redirect) { res.resume(); return; } if (_result.error) { res.resume(); // end ths stream first writeStream.end(); return done(_result.error, null, res); } // you can set consumeWriteStream false that only wait response end if (args.consumeWriteStream === false) { res.on('end', done.bind(null, null, null, res)); } else { // node 0.10, 0.12: only emit res aborted, writeStream close not fired // if (isNode010 || isNode012) { // first([ // [ writeStream, 'close' ], // [ res, 'aborted' ], // ], function(_, stream, event) { // debug('Request#%d %s: writeStream or res %s event emitted', reqId, url, event); // done(__err || null, null, res); // }); if (false) {} else { writeStream.on('close', function () { debug('Request#%d %s: writeStream close event emitted', reqId, url); done(__err || null, null, res); }); } } return res.pipe(writeStream); } // Otherwise, just concat those buffers. // // NOTE that the `chunk` is not a String but a Buffer. It means that if // you simply concat two chunk with `+` you're actually converting both // Buffers into Strings before concating them. It'll cause problems when // dealing with multi-byte characters. // // The solution is to store each chunk in an array and concat them with // 'buffer-concat' when all chunks is recieved. // // See also: // http://cnodejs.org/topic/4faf65852e8fb5bc65113403 var chunks = []; res.on('data', function (chunk) { debug('Request#%d %s: `res data` event emit, size %d', reqId, url, chunk.length); responseSize += chunk.length; chunks.push(chunk); }); res.on('end', function () { var body = Buffer.concat(chunks, responseSize); debug('Request#%d %s: `res end` event emit, total size %d, _dumped: %s', reqId, url, responseSize, res._dumped); if (__err) { // req.abort() after `res data` event emit. return done(__err, body, res); } var result = handleRedirect(res); if (result.error) { return done(result.error, body, res); } if (result.redirect) { return; } decodeContent(res, body, function (err, data, encoding) { if (err) { return done(err, body, res); } // if body not decode, dont touch it if (!encoding && TEXT_DATA_TYPES.indexOf(args.dataType) >= 0) { // try to decode charset try { data = decodeBodyByCharset(data, res); } catch (e) { debug('decodeBodyByCharset error: %s', e); // if error, dont touch it return done(null, data, res); } if (args.dataType === 'json') { if (responseSize === 0) { data = null; } else { var r = parseJSON(data, fixJSONCtlChars); if (r.error) { err = r.error; } else { data = r.data; } } } } if (responseAborted) { // err = new Error('Remote socket was terminated before `response.end()` was called'); // err.name = 'RemoteSocketClosedError'; debug('Request#%d %s: Remote socket was terminated before `response.end()` was called', reqId, url); } done(err, data, res); }); }); } var connectTimeout, responseTimeout; if (Array.isArray(args.timeout)) { connectTimeout = ms(args.timeout[0]); responseTimeout = ms(args.timeout[1]); } else { // set both timeout equal connectTimeout = responseTimeout = ms(args.timeout); } debug('ConnectTimeout: %d, ResponseTimeout: %d', connectTimeout, responseTimeout); function startConnectTimer() { debug('Connect timer ticking, timeout: %d', connectTimeout); connectTimer = setTimeout(function () { connectTimer = null; if (statusCode === -1) { statusCode = -2; } var msg = 'Connect timeout for ' + connectTimeout + 'ms'; var errorName = 'ConnectionTimeoutError'; if (!req.socket) { errorName = 'SocketAssignTimeoutError'; msg += ', working sockets is full'; } __err = new Error(msg); __err.name = errorName; __err.requestId = reqId; debug('ConnectTimeout: Request#%d %s %s: %s, connected: %s', reqId, url, __err.name, msg, connected); abortRequest(); }, connectTimeout); } function startResposneTimer() { debug('Response timer ticking, timeout: %d', responseTimeout); responseTimer = setTimeout(function () { responseTimer = null; var msg = 'Response timeout for ' + responseTimeout + 'ms'; var errorName = 'ResponseTimeoutError'; __err = new Error(msg); __err.name = errorName; __err.requestId = reqId; debug('ResponseTimeout: Request#%d %s %s: %s, connected: %s', reqId, url, __err.name, msg, connected); abortRequest(); }, responseTimeout); } var req; // request headers checker will throw error options.mode = args.mode ? args.mode : ''; try { req = httplib.request(options, onResponse); } catch (err) { return done(err); } // environment detection: browser or nodejs if (typeof window === 'undefined') { // start connect timer just after `request` return, and just in nodejs environment startConnectTimer(); } else { req.on('requestTimeout', function () { if (statusCode === -1) { statusCode = -2; } var msg = 'Connect timeout for ' + connectTimeout + 'ms'; var errorName = 'ConnectionTimeoutError'; __err = new Error(msg); __err.name = errorName; __err.requestId = reqId; abortRequest(); }); } function abortRequest() { debug('Request#%d %s abort, connected: %s', reqId, url, connected); // it wont case error event when req haven't been assigned a socket yet. if (!req.socket) { __err.noSocket = true; done(__err); } req.abort(); } if (timing) { // request sent req.on('finish', function () { timing.requestSent = Date.now() - requestStartTime; }); } req.once('socket', function (socket) { if (timing) { // socket queuing time timing.queuing = Date.now() - requestStartTime; } // https://github.com/nodejs/node/blob/master/lib/net.js#L377 // https://github.com/nodejs/node/blob/v0.10.40-release/lib/net.js#L352 // should use socket.socket on 0.10.x // if (isNode010 && socket.socket) { // socket = socket.socket; // } var readyState = socket.readyState; if (readyState === 'opening') { socket.once('lookup', function (err, ip, addressType) { debug('Request#%d %s lookup: %s, %s, %s', reqId, url, err, ip, addressType); if (timing) { timing.dnslookup = Date.now() - requestStartTime; } if (ip) { remoteAddress = ip; } }); socket.once('connect', function () { if (timing) { // socket connected timing.connected = Date.now() - requestStartTime; } // cancel socket timer at first and start tick for TTFB cancelConnectTimer(); startResposneTimer(); debug('Request#%d %s new socket connected', reqId, url); connected = true; if (!remoteAddress) { remoteAddress = socket.remoteAddress; } remotePort = socket.remotePort; }); return; } debug('Request#%d %s reuse socket connected, readyState: %s', reqId, url, readyState); connected = true; keepAliveSocket = true; if (!remoteAddress) { remoteAddress = socket.remoteAddress; } remotePort = socket.remotePort; // reuse socket, timer should be canceled. cancelConnectTimer(); startResposneTimer(); }); req.on('error', function (err) { //TypeError for browser fetch api, Error for browser xmlhttprequest api if (err.name === 'Error' || err.name === 'TypeError') { err.name = connected ? 'ResponseError' : 'RequestError'; } err.message += ' (req "error")'; debug('Request#%d %s `req error` event emit, %s: %s', reqId, url, err.name, err.message); done(__err || err); }); if (writeStream) { writeStream.once('error', function (err) { err.message += ' (writeStream "error")'; __err = err; debug('Request#%d %s `writeStream error` event emit, %s: %s', reqId, url, err.name, err.message); abortRequest(); }); } if (args.stream) { args.stream.pipe(req); args.stream.once('error', function (err) { err.message += ' (stream "error")'; __err = err; debug('Request#%d %s `readStream error` event emit, %s: %s', reqId, url, err.name, err.message); abortRequest(); }); } else { req.end(body); } req.requestId = reqId; return req; }; }).call(this)}).call(this,require('_process'),require("buffer").Buffer) },{"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,"_process":399,"buffer":85,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.split.js":268,"core-js/modules/es.string.trim.js":269,"debug":397,"http":400,"https":302,"humanize-ms":303,"url":404,"util":352}]},{},[1])(1) }); /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("DuR2"))) /***/ }), /***/ "/gFw": /***/ (function(module, exports, __webpack_require__) { var trunc = __webpack_require__("Lzej"); // `ToIntegerOrInfinity` abstract operation // https://tc39.es/ecma262/#sec-tointegerorinfinity module.exports = function (argument) { var number = +argument; // eslint-disable-next-line no-self-compare -- NaN check return number !== number || number === 0 ? 0 : trunc(number); }; /***/ }), /***/ "/hIk": /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__("8Nt4"); var definePropertyModule = __webpack_require__("TQ+1"); var createPropertyDescriptor = __webpack_require__("ynKZ"); module.exports = DESCRIPTORS ? function (object, key, value) { return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); } : function (object, key, value) { object[key] = value; return object; }; /***/ }), /***/ "/kZo": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".fres[data-v-572ad797]{animation:spin-data-v-572ad797 1s linear}[data-v-572ad797]{margin:0;padding:0}.clear[data-v-572ad797]{clear:both}a[data-v-572ad797]{text-decoration:none;color:#fff;font-size:12px}body[data-v-572ad797]{font-size:12px;font-family:\\\\5FAE\\8F6F\\96C5\\9ED1;background:#2c2b2b;padding-top:199px}.index[data-v-572ad797]{padding-top:144px}.resd[data-v-572ad797]{color:red!important}.blingColor[data-v-572ad797]{color:#ff0}.index-header[data-v-572ad797]{background:#171717;width:100%;position:relative;z-index:12;border-bottom:1px solid #262626}.index-header .header-top[data-v-572ad797]{height:36px;border-bottom:1px solid #262626}.index-header .header-top .w1000[data-v-572ad797]{width:1200px;height:100%;margin:0 auto;padding-left:6px}.index-header .header-top .w1000 .toplink[data-v-572ad797]{line-height:36px;color:#573626;position:relative;padding-right:0}.index-header .header-top .w1000 .toplink a[data-v-572ad797]{color:#959595;margin:0 10px;transition:all .4s}.index-header .header-top .w1000 .toplink a.fs[data-v-572ad797]{color:#959595;transition:all 0s}.index-header .header-top .w1000 .toplink a.xl[data-v-572ad797]{color:#dfbb4c;margin-right:0}.index-header .header-top .w1000 .toplink a.color1[data-v-572ad797]{color:red}.index-header .header-top .w1000 .toplink a[data-v-572ad797]:hover{color:#fff}.index-header .header-top .w1000 .toplink .time[data-v-572ad797]{font-size:12px;color:#d9d243;margin:0}.index-header .header-top .w1000 .toplink .commonFunc[data-v-572ad797]{position:relative;float:right;transform:translate(10px)}.index-header .header-top .w1000 .toplink .commonFunc .detection[data-v-572ad797]{color:#ff0}.index-header .header-top .w1000 .toplink .commonFunc .download[data-v-572ad797],.index-header .header-top .w1000 .toplink .commonFunc .guanjia[data-v-572ad797],.index-header .header-top .w1000 .toplink .commonFunc .jiebei[data-v-572ad797]{margin-right:10px;color:#ff0}.index-header .header-top .w1000 .toplink .commonFunc .suggestion[data-v-572ad797]{color:#ff0}.index-header .header-float[data-v-572ad797]{position:relative;width:1200px;margin:0 auto;z-index:9999!important}.index-header .header-float .navbg[data-v-572ad797]{height:106px}.index-header .header-float .navbg .nav[data-v-572ad797]{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.index-header .header-float .navbg .nav .logo[data-v-572ad797]{background:url(/static/xpj83/img/home_logo.png) no-repeat;background-size:contain;width:302px;height:100%;margin-right:70px}.index-header .header-float .navbg .nav #head-container[data-v-572ad797]{-ms-flex:1;flex:1;height:100%;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;z-index:1000}.index-header .header-float .navbg .nav #head-container li[data-v-572ad797]{margin:0;height:100%;text-align:center;position:relative}.index-header .header-float .navbg .nav #head-container li a[data-v-572ad797]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;height:100%;color:#ffd053;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.index-header .header-float .navbg .nav #head-container li a .ico[data-v-572ad797]{width:100%;height:22px;margin-bottom:10px}.index-header .header-float .navbg .nav #head-container li a .ico.home[data-v-572ad797]{background:url(/static/xpj83/img/homeico.png) no-repeat 50%}.index-header .header-float .navbg .nav #head-container li a .ico.elec[data-v-572ad797]{background:url(/static/xpj83/img/elecico.png) no-repeat 50%}.index-header .header-float .navbg .nav #head-container li a .ico.chess[data-v-572ad797]{background:url(/static/xpj83/img/chess_icon.png) no-repeat 50%}.index-header .header-float .navbg .nav #head-container li a .ico.casino[data-v-572ad797]{background:url(/static/xpj83/img/casinoico.png) no-repeat 50%}.index-header .header-float .navbg .nav #head-container li a .ico.lottery[data-v-572ad797]{background:url(/static/xpj83/img/lotteryico.png) no-repeat 50%}.index-header .header-float .navbg .nav #head-container li a .ico.fishing[data-v-572ad797]{background:url(/static/xpj83/img/fishingico.png) no-repeat 50%}.index-header .header-float .navbg .nav #head-container li a .ico.esport[data-v-572ad797]{background:url(/static/xpj83/img/esportico.png) no-repeat 50%}.index-header .header-float .navbg .nav #head-container li a .ico.promo[data-v-572ad797]{background:url(/static/xpj83/img/promoico.png) no-repeat 50%}.index-header .header-float .navbg .nav #head-container li a .ico.service[data-v-572ad797]{background:url(/static/xpj83/img/serviceico.png) no-repeat 50%}.index-header .header-float .navbg .nav #head-container li a img[data-v-572ad797]{position:absolute;top:10px;right:-14px}.index-header .header-float .navbg .nav #head-container li a .ch[data-v-572ad797]{font-size:16px}.index-header .lgobox[data-v-572ad797]{width:1200px;margin:0 auto;position:absolute;left:50%;z-index:3;transform:translate(-50%)}.index-header .lgobox .index-bannercon #loginForms[data-v-572ad797]{position:absolute;top:50%;left:0;transform:translateY(-50%);z-index:20}.index-header .lgobox .index-bannercon #loginForms .index-login[data-v-572ad797]{width:280px;height:360px;overflow:hidden;position:relative;padding-top:28px}.index-header .lgobox .index-bannercon #loginForms .index-login.withCode[data-v-572ad797]{background:url(/static/xpj83/img/login/with_code.png) no-repeat}.index-header .lgobox .index-bannercon #loginForms .index-login.withCode .subbtn[data-v-572ad797]{bottom:10px}.index-header .lgobox .index-bannercon #loginForms .index-login.noCode[data-v-572ad797]{background:url(/static/xpj83/img/login/no_code.png) no-repeat}.index-header .lgobox .index-bannercon #loginForms .index-login.noCode .subbtn[data-v-572ad797]{bottom:64px}.index-header .lgobox .index-bannercon #loginForms .index-login .title[data-v-572ad797]{width:100%;height:24px;margin-bottom:12px;background:url(/static/xpj83/img/login/title.png) 50% no-repeat}.index-header .lgobox .index-bannercon #loginForms .index-login p[data-v-572ad797]{width:82%;height:42px;line-height:42px;margin:0 auto;border:1px solid #212121}.index-header .lgobox .index-bannercon #loginForms .index-login p[data-v-572ad797]:hover{border:1px solid #d9b575}.index-header .lgobox .index-bannercon #loginForms .index-login p.username_box[data-v-572ad797]{margin-bottom:10px;background:url(/static/xpj83/img/login/user_input.png) no-repeat 50%}.index-header .lgobox .index-bannercon #loginForms .index-login p.pwd_box[data-v-572ad797]{background:url(/static/xpj83/img/login/pwd_input.png) no-repeat 50%}.index-header .lgobox .index-bannercon #loginForms .index-login p.code_box0[data-v-572ad797]{height:48px;line-height:48px;padding-top:4px;width:83%;margin:12px auto;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.index-header .lgobox .index-bannercon #loginForms .index-login p.code_box0 .yzm[data-v-572ad797]{width:52%;height:40px;line-height:40px;background:transparent;border:none;color:#fff!important;font-size:15px;outline:0;margin:0;padding-left:13px;border:1px solid #626262}.index-header .lgobox .index-bannercon #loginForms .index-login p.code_box0 .yzm[data-v-572ad797]::-webkit-input-placeholder{color:#fff}.index-header .lgobox .index-bannercon #loginForms .index-login p.code_box0 .yzm[data-v-572ad797]::-moz-placeholder{color:#fff;opacity:1}.index-header .lgobox .index-bannercon #loginForms .index-login p.code_box0 .yzm[data-v-572ad797]:hover{border:1px solid #d9b575!important}.index-header .lgobox .index-bannercon #loginForms .index-login p.code_box0 .yzmimg[data-v-572ad797]{width:44%;height:40px;margin-top:0}.index-header .lgobox .index-bannercon #loginForms .index-login p input[data-v-572ad797]{width:85%;height:40px;line-height:40px;background:transparent;border:none;color:#fff!important;font-size:15px;display:block;outline:0;margin:0 34px;padding-right:10px;caret-color:#fff}.index-header .lgobox .index-bannercon #loginForms .index-login p input[data-v-572ad797]::-webkit-input-placeholder{color:#fff}.index-header .lgobox .index-bannercon #loginForms .index-login p input[data-v-572ad797]::-moz-placeholder{color:#fff;opacity:1}.index-header .lgobox .index-bannercon #loginForms .index-login .code_box0[data-v-572ad797]{border:0!important}.index-header .lgobox .index-bannercon #loginForms .index-login .code_box[data-v-572ad797]{height:48px;line-height:48px;padding-top:4px;width:83%;margin:12px auto;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.index-header .lgobox .index-bannercon #loginForms .index-login .code_box .yzm[data-v-572ad797]{width:52%;height:40px;line-height:40px;background:transparent;border:none;color:#fff!important;font-size:15px;outline:0;margin:0;padding-left:13px;border:1px solid #212121}.index-header .lgobox .index-bannercon #loginForms .index-login .code_box .yzm[data-v-572ad797]::-webkit-input-placeholder{color:#fff}.index-header .lgobox .index-bannercon #loginForms .index-login .code_box .yzm[data-v-572ad797]::-moz-placeholder{color:#fff;opacity:1}.index-header .lgobox .index-bannercon #loginForms .index-login .code_box .yzmimg[data-v-572ad797]{width:44%;height:40px;margin-top:0}.index-header .lgobox .index-bannercon #loginForms .index-login .button[data-v-572ad797]{width:82%;height:42px;margin:12px auto;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.index-header .lgobox .index-bannercon #loginForms .index-login .button a[data-v-572ad797]{width:48%;height:100%}.index-header .lgobox .index-bannercon #loginForms .index-login .button a.login_btn[data-v-572ad797]{text-decoration:none;background:url(/static/xpj83/img/login/login_btn.png) no-repeat 50%;background-size:contain}.index-header .lgobox .index-bannercon #loginForms .index-login .button a.login_btn[data-v-572ad797]:hover{color:#fefba6}.index-header .lgobox .index-bannercon #loginForms .index-login .button a.forget[data-v-572ad797]{background:url(/static/xpj83/img/login/forget_pwd.png) no-repeat 50%;background-size:contain}.index-header .lgobox .index-bannercon #loginForms .index-login .button .subbtn[data-v-572ad797]{background:#27c6fa;border-radius:4px;width:259px;height:46px;line-height:40px;text-align:center;border:none;color:#282203;font-size:18px;font-family:\\\\5FAE\\8F6F\\96C5\\9ED1;cursor:pointer;display:block;margin:0 auto;transition:all .4s;position:absolute;left:50%;transform:translate(-50%)}.index-header .lgobox .index-bannercon #loginForms .index-login .button .subbtn[data-v-572ad797]:hover{background:#5cd7ff}.index-header .lgobox .index-bannercon #loginForms .index-login .register_btn[data-v-572ad797]{display:block;background:url(/static/xpj83/img/login/register_btn.png) no-repeat 50%;width:83%;height:42px}.index-header .lgobox .index-bannercon #loginForms .index-login .register_btn.show_code[data-v-572ad797]{margin:0 auto}.index-header .lgobox .index-bannercon #loginForms .index-login .register_btn.no_code[data-v-572ad797]{margin:25px auto 0}.index-header .header-login[data-v-572ad797]{width:100%;height:55px;background:#0c0c0c;z-index:1;border-bottom:1px solid #0c0c0c}.index-header .header-login #loginForm[data-v-572ad797]{width:1200px;height:100%;margin:0 auto}.index-header .header-login #loginForm .header-logincon[data-v-572ad797]{background:url(/static/xpj83/img/headerlogin.png) 0 no-repeat;height:100%;width:1200px;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:start;-ms-flex-align:center;align-items:center;transform:translate(10px)}.index-header .header-login #loginForm .header-logincon input[data-v-572ad797]{background:#000;width:190px;height:34px;line-height:34px;border:1px solid #434343;color:#fff;padding-left:15px;float:left;display:block;margin-left:5px}.index-header .header-login #loginForm .header-logincon input.user[data-v-572ad797]{transition:all .4s;margin-left:150px}.index-header .header-login #loginForm .header-logincon input.user[data-v-572ad797]:hover{border:1px solid #ffd053;transition:all .4s ease}.index-header .header-login #loginForm .header-logincon input.pass[data-v-572ad797]{transition:all .4s}.index-header .header-login #loginForm .header-logincon input.pass[data-v-572ad797]:hover{border:1px solid #ffd053;transition:all .4s ease}.index-header .header-login #loginForm .header-logincon input.code[data-v-572ad797]{width:178px;padding-left:10px;transition:all .4s}.index-header .header-login #loginForm .header-logincon input[data-v-572ad797]::-webkit-input-placeholder{color:#fff}.index-header .header-login #loginForm .header-logincon input[data-v-572ad797]:-moz-placeholder,.index-header .header-login #loginForm .header-logincon input[data-v-572ad797]::-moz-placeholder{color:#fff;opacity:1}.index-header .header-login #loginForm .header-logincon .verify_code_box .codeimg[data-v-572ad797]{height:30px;display:block;float:left;position:relative;margin-left:-56px;margin-top:2px;cursor:pointer}.index-header .header-login #loginForm .header-logincon .forget[data-v-572ad797]{background:url(/static/xpj83/img/forget.png) no-repeat;width:60px;height:32px;display:block;float:left;position:relative;margin-left:-61px;margin-top:-1px;background-size:cover}.index-header .header-login #loginForm .header-logincon .subbtn[data-v-572ad797]{background:url(/static/xpj83/img/subbtn.png) no-repeat;width:130px;height:34px;border:none;padding:0;cursor:pointer;margin-left:10px}.index-header .header-login #loginForm .header-logincon .subbtn[data-v-572ad797]:hover{background-position:bottom}.index-header .header-login #loginForm .header-logincon .regbtn[data-v-572ad797]{background:url(/static/xpj83/img/regbtn.png) top no-repeat;width:130px;height:34px;display:block;float:left;margin-left:7px}.index-header .header-login #loginForm .header-logincon .regbtn[data-v-572ad797] :hover{background-position:bottom}.index-header .header-login .w1000[data-v-572ad797]{color:#fff;width:1200px;height:100%;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;position:relative;z-index:4}.index-header .header-login .w1000 .left[data-v-572ad797]{min-width:250px;height:100%;text-align:left;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-left:96px}.index-header .header-login .w1000 .left span[data-v-572ad797]{height:100%;line-height:54px;font-size:16px;padding:0 1px 0 0}.index-header .header-login .w1000 .left span.account[data-v-572ad797]{margin:0 6px 0 0}.index-header .header-login .w1000 .left span.account font[data-v-572ad797]{display:inline-block;min-width:68px}.index-header .header-login .w1000 .left span.user_money font[data-v-572ad797]{display:inline-block;min-width:35px}.index-header .header-login .w1000 .left span.refresh_balance .refresh[data-v-572ad797]{display:inline-block;width:22px;height:20px;background:url(\"/static/xpj83/img/refresh.png\") 50% no-repeat;margin-top:17px}.index-header .header-login .w1000 .left span.refresh_balance .newfresh[data-v-572ad797]{background:url(\"/static/xpj83/img/newfresh.png\") no-repeat 50%}.index-header .header-login .w1000 .left span.refresh_balance .fres[data-v-572ad797]{animation:spin-data-v-572ad797 1s linear}@keyframes spin-data-v-572ad797{0%{transform:rotate(0deg) scale(1.2)}to{transform:rotate(1turn) scale(1.2)}}.index-header .header-login .w1000 .right[data-v-572ad797]{-ms-flex:1;flex:1;margin-left:8px}.index-header .header-login .w1000 .right span a[data-v-572ad797]{font-size:15px}.index-header .header-login .w1000 .right span a.unread_msg[data-v-572ad797]{margin:0 8px}.index-header .header-login .w1000 .right span a.logOut[data-v-572ad797]{display:inline-block;width:62px;height:24px;line-height:24px;text-align:center;color:#000;background:url(/static/xpj83/img/log_out.png) 50% no-repeat;background-size:contain}.index-header .notice[data-v-572ad797]{height:36px;line-height:36px;width:100%;margin-top:0;background:url(/static/xpj83/img/noticebg.png) repeat-x}.index-header .notice .w1000[data-v-572ad797]{width:1040px;height:100%;margin:auto}.index-header .notice .w1000 span[data-v-572ad797]{font-size:12px;background:url(/static/xpj83/img/notice.png) 0 no-repeat;padding-left:30px;width:128px;float:left;display:block;height:36px;line-height:37px;color:#e0bf55}.index-header .notice .w1000 span i[data-v-572ad797]{font-style:normal}.index-header .notice .w1000 marquee[data-v-572ad797]{float:right;width:860px;margin-right:10px;color:#fff;height:36px;line-height:36px}.header-top .lang[data-v-572ad797]{float:right;height:36px}.header-top .lang a.cn[data-v-572ad797]{background-position:0 0}.header-top .lang a.hk[data-v-572ad797]{background-position:-23px 0}.header-top .lang a.usa[data-v-572ad797]{background-position:-45px 0}.lisence[data-v-572ad797]{position:absolute;left:-100px;top:30px;display:none;z-index:1000}.nav_fixed[data-v-572ad797]{position:fixed;top:0;left:0;z-index:999}.nav ul li>a span[data-v-572ad797]{background:none;height:23px;display:block;margin:0 auto}.nav ul li>a span.i2[data-v-572ad797]{background-position:-240px 0;width:41px}.nav ul li>a span.i3[data-v-572ad797]{background-position:-157px 0}.nav ul li>a span.i4[data-v-572ad797]{background-position:-340px 0;width:30px}.nav ul li>a span.i5[data-v-572ad797]{background-position:-70px 0;width:30px}.nav ul li>a span.i6[data-v-572ad797]{background-position:-433px 0;width:23px}.nav ul li>a span.i7[data-v-572ad797]{background-position:-520px 0;width:20px}.nav ul li>a span.i8[data-v-572ad797]{background-position:-605px 0;width:25px}.nav ul li>a span.i2[data-v-572ad797]{background-position:-240px -44px}.nav ul li>a span.i3[data-v-572ad797]{background-position:-157px -45px}.nav ul li>a span.i4[data-v-572ad797]{background-position:-340px -44px}.nav ul li>a span.i5[data-v-572ad797]{background-position:-70px -44px}.nav ul li>a span.i6[data-v-572ad797]{background-position:-430px -44px}.nav ul li>a span.i7[data-v-572ad797]{background-position:-520px -44px}.nav ul li>a span.i8[data-v-572ad797]{background-position:-605px -44px}.nav ul li>a[data-v-572ad797]{color:#fff}.nav ul li a p[data-v-572ad797]{margin-top:10px;height:12px;font-size:14px}.nav ul li a i[data-v-572ad797]{display:inline-block;font-style:normal;font-family:Arial;margin-top:9px;font-size:13px}.nav ul li>a.color1[data-v-572ad797]{color:#e60012}.nav ul li>a.color2[data-v-572ad797]{color:#ffd053}.nav ul li>a span.i2.color1[data-v-572ad797]{background-position:-240px -22px}.nav ul li>a span.i3.color1[data-v-572ad797]{background-position:-157px -22px}.nav ul li>a span.i5.color1[data-v-572ad797]{background-position:-70px -22px}.nav ul li>a span.i7.color1[data-v-572ad797]{background-position:-520px -22px}.nav ul li:hover>a span.i2[data-v-572ad797]{background-position:-240px -44px}.nav ul li:hover>a span.i4[data-v-572ad797]{background-position:-340px -44px}.nav ul li:hover>a span.i5[data-v-572ad797]{background-position:-70px -44px}.nav ul li:hover>a span.i6[data-v-572ad797]{background-position:-430px -44px}.nav ul li:hover>a span.i7[data-v-572ad797]{background-position:-520px -44px}.nav ul li:hover>a span.i8[data-v-572ad797]{background-position:-605px -44px}.nav ul li:hover>a>i[data-v-572ad797],.nav ul li:hover>a>p[data-v-572ad797]{color:#ffd053}.nav ul li>a span.i3[data-v-572ad797]{width:37px;background-position:6px -44px}.nav ul li>a span.i88[data-v-572ad797]{width:37px;background-position:-58px -44px}.nav ul li>a span.i78[data-v-572ad797]{width:37px;background-position:-130px -44px}.nav ul li>a span.i68[data-v-572ad797]{width:45px;background-position:-199px -44px}.nav ul li>a span.i58[data-v-572ad797]{width:38px;background-position:-278px -44px}.nav ul li>a span.i48[data-v-572ad797]{width:38px;background-position:-339px -44px}.nav ul li>a span.i38[data-v-572ad797]{width:38px;background-position:-471px -44px}.nav ul li>a span.i28[data-v-572ad797]{width:38px;background-position:-539px -44px}.nav ul li>a span.i98[data-v-572ad797]{width:38px;background-position:-601px -44px}.nav ul li>a span.i168[data-v-572ad797]{width:38px;background-position:-398px -44px}.header .nav .subnav[data-v-572ad797]{position:absolute;line-height:36px;left:-42px;top:86px;z-index:99;display:none;padding-top:5px}.header .nav .subnav .jt[data-v-572ad797]{background:url(/static/xpj83/img/menujt.png) no-repeat;height:5px;width:9px;display:block;margin:0 auto}.header .nav .subnav .con[data-v-572ad797]{background:rgba(0,0,0,.85);width:150px;border:2px solid #ffd053;height:auto;padding-top:3px}.header .nav .subnav .con a[data-v-572ad797]{color:#c7c7c7;font-size:13px;display:block;width:120px;height:36px;line-height:36px;text-align:center;border-bottom:1px dotted hsla(0,0%,100%,.15);margin:0 auto;padding:5px 15px 0;position:relative}.header .nav .subnav .con a[data-v-572ad797]:hover{color:#d6bd7b}.header .nav .subnav .con a img[data-v-572ad797]{position:absolute;z-index:99;right:5px;top:50%;transform:translateY(-35%)}.CHESS:hover .subnav[data-v-572ad797],.FISHING:hover .subnav[data-v-572ad797],.GAME:hover .subnav[data-v-572ad797],.SPORTS:hover .subnav[data-v-572ad797]{display:block}[data-v-572ad797]::-webkit-input-placeholder{color:#f5e97b}input[data-v-572ad797]:-webkit-autofill{-webkit-text-fill-color:#fff!important;-webkit-box-shadow:0 0 0 1000px transparent inset!important;background-color:transparent!important;background-image:none!important;transition:background-color 50000s ease-in-out 0s!important}", ""]); // exports /***/ }), /***/ "/xxc": /***/ (function(module, exports, __webpack_require__) { var escape = __webpack_require__("kxFB"); exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".filter[data-v-658789c4]{left:0;right:0;bottom:0;margin:auto;background:rgba(0,0,0,.5)}.filter[data-v-658789c4],.red-box[data-v-658789c4]{width:100%;height:100%;position:fixed;top:0;z-index:10002}.red-box[data-v-658789c4]{animation:scaleDraw 1s ease-in-out 1}.red-box.hongbao .open_red[data-v-658789c4]{animation:openRed 1s cubic-bezier(.72,.58,.93,.72) 1}.red-box.hongbao .red-close[data-v-658789c4]{width:495px;height:584px;background-image:url(\"/static/public/image/redlope/hongbao/1.png\");background-size:100%;background-repeat:no-repeat;top:50%;left:50%;position:relative;transform:translate(-50%,-50%)}.red-box.hongbao .red-close div[data-v-658789c4]:first-child{width:160px;height:160px;position:absolute;left:165px;bottom:150px;cursor:pointer}.red-box.hongbao .red-close .red-close-btn[data-v-658789c4]{width:69px;height:72px;position:absolute;right:-25px;top:-20px;background-image:url(\"/static/public/image/redlope/btn-close.png\");background-size:100%;background-repeat:no-repeat;cursor:pointer}.red-box.hongbao .red-open[data-v-658789c4]{width:546px;height:675px;background-image:url(\"/static/public/image/redlope/hongbao/2.png\");background-size:100%;background-repeat:no-repeat;top:50%;left:50%;position:relative;transform:translate(-50%,-50%)}.red-box.hongbao .red-open .red-open-jb[data-v-658789c4]{height:100px;width:546px;margin:auto;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;overflow:hidden}.red-box.hongbao .red-open .red-open-jb>span[data-v-658789c4]{width:60px;height:46px;display:inline-block;background-image:url(\"/static/public/image/redlope/hongbao/7.png\");background-size:100%;background-repeat:no-repeat;animation:roatejb 1.5s linear 1}.red-box.hongbao .red-open .red-open-zb[data-v-658789c4]{height:400px;width:480px;margin:auto}.red-box.hongbao .red-open .red-open-zb>span[data-v-658789c4]:first-child{display:inline-block;width:56px;height:45px;background-image:url(\"/static/public/image/redlope/hongbao/3.png\");background-size:100%;background-repeat:no-repeat;position:relative;left:16px;top:0;animation:rotezb1 3s linear 1}.red-box.hongbao .red-open .red-open-zb>span[data-v-658789c4]:nth-child(2){display:inline-block;width:55px;height:47px;background-image:url(\"/static/public/image/redlope/hongbao/4.png\");background-size:100%;background-repeat:no-repeat;position:relative;left:65px;top:0;animation:rotezb1 2.8s linear 1}.red-box.hongbao .red-open .red-open-zb>span[data-v-658789c4]:nth-child(3){display:inline-block;width:47px;height:38px;background-image:url(\"/static/public/image/redlope/hongbao/8.png\");background-size:100%;background-repeat:no-repeat;position:relative;left:160px;top:0;animation:rotezb1 3.2s linear 1}.red-box.hongbao .red-open .red-open-zb>span[data-v-658789c4]:nth-child(4){display:inline-block;width:46px;height:39px;background-image:url(\"/static/public/image/redlope/hongbao/9.png\");background-size:100%;background-repeat:no-repeat;position:relative;left:210px;top:0;animation:rotezb1 2.6s linear 1}.red-box.hongbao .red-open .red-open-zb>span[data-v-658789c4]:nth-child(5){display:inline-block;width:29px;height:26px;background-image:url(\"/static/public/image/redlope/hongbao/10.png\");background-size:100%;background-repeat:no-repeat;position:relative;left:220px;top:-30px;animation:rotezb1 3s linear 1}.red-box.hongbao .red-open .get-money[data-v-658789c4]{width:100%;height:100px;position:absolute;line-height:100px;font-size:70px;color:#e32a03;font-weight:400;top:216px;text-align:center}.red-box.hongbao .red-open .getMoney[data-v-658789c4]{width:160px;height:160px;position:absolute;left:193px;bottom:172px;cursor:pointer}.red-box.egg .box-wrap[data-v-658789c4]{width:697px;height:631px;top:50%;left:50%;position:absolute;transform:translate(-50%,-50%)}.red-box.egg .preloadImg[data-v-658789c4]{visibility:hidden;background:url(\"/static/public/image/redlope/egg/close.png\"),url(\"/static/public/image/redlope/egg/5.png\"),url(\"/static/public/image/redlope/egg/6.png\"),url(\"/static/public/image/redlope/egg/7.png\"),url(\"/static/public/image/redlope/egg/8.png\"),url(\"/static/public/image/redlope/egg/9.png\"),url(\"/static/public/image/redlope/egg/10.png\"),url(\"/static/public/image/redlope/egg/11.png\"),url(\"/static/public/image/redlope/egg/12.png\"),url(\"/static/public/image/redlope/egg/13.png\"),url(\"/static/public/image/redlope/egg/14.png\"),url(\"/static/public/image/redlope/egg/15.png\"),url(\"/static/public/image/redlope/egg/16.png\"),url(\"/static/public/image/redlope/egg/17.png\"),url(\"/static/public/image/redlope/egg/24.png\")}.red-box.egg .red-close[data-v-658789c4]{width:100%;height:100%;background-image:url(\"/static/public/image/redlope/egg/close.png\");background-repeat:no-repeat;background-position:50%;top:50%;left:50%;position:absolute;transform:translate(-50%,-50%)}.red-box.egg .red-close[data-v-658789c4]:hover{cursor:pointer}.red-box.egg .red-close[data-v-658789c4]:hover:before{opacity:1;transition:opacity 1s}.red-box.egg .red-close[data-v-658789c4]:before{opacity:0;transition:opacity 1s;content:\"\";width:201px;height:244px;background:url(\"/static/public/image/redlope/egg/hammer.png\") no-repeat;position:absolute;right:11px;top:70px}.red-box.egg .red-close.open_red[data-v-658789c4]{animation:openRedEgg1Bg .1s 1 step-end;animation-delay:.8s;animation:openRedEgg2Bg 2s 1 step-end;animation-delay:.5s;animation-fill-mode:forwards}.red-box.egg .red-close.open_red[data-v-658789c4]:before{visibility:hidden;opacity:1;animation:openRedEgg1Hammer .8s 1 cubic-bezier(.72,.58,.93,.72);animation-fill-mode:forwards}.red-box.egg .red-open[data-v-658789c4]{width:100%;height:100%;top:50%;left:50%;position:absolute;transform:translate(-50%,-50%);animation:openRedEgg3Bg 3s 1 step-end;animation-fill-mode:forwards;background-image:url(\"/static/public/image/redlope/egg/24.png\");background-repeat:no-repeat;background-position:50%}.red-box.egg .red-open .get-money[data-v-658789c4]{position:absolute;line-height:100px;font-size:60px;color:#e32a03;top:50%;left:50%;text-align:center;transform:translate(-50%,-50%);font-weight:700;text-shadow:#fff 0 2px 2px;letter-spacing:.05em}.red-box.egg .red-open .getMoney[data-v-658789c4]{width:250px;height:66px;position:absolute;top:50%;left:50%;transform:translate(-50%,calc(-50% + 133px));cursor:pointer}.spring-container[data-v-658789c4]{width:100%;height:100%;top:0;position:fixed;z-index:1000}.spring-container .red-envelope-fall-wrapper[data-v-658789c4]{z-index:1001;position:relative;top:-5rem;width:100%;height:100%;text-align:left}.spring-container .red-envelope[data-v-658789c4]{display:inline-block;animation-timing-function:ease-in-out;animation-iteration-count:infinite}.spring-container .red-envelope img[data-v-658789c4]{width:100%;height:100%}.spring-container .red-envelope[data-v-658789c4]:first-of-type{animation-name:fallingTypeOne-data-v-658789c4;animation-duration:9s;animation-delay:1s;width:40px;height:50px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(2){animation-name:fallingTypeTwo-data-v-658789c4;animation-duration:5s;animation-delay:.6s;width:40px;height:50px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(3){animation-name:fallingTypeThree-data-v-658789c4;animation-duration:6.5s;animation-delay:0s;width:40px;height:50px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(4){animation-name:fallingTypeFour-data-v-658789c4;animation-duration:6s;animation-delay:.2s;width:40px;height:50px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(5){animation-name:fallingTypeFive-data-v-658789c4;animation-duration:8s;animation-delay:.8s;width:40px;height:50px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(6){animation-name:fallingTypeSix-data-v-658789c4;animation-duration:6s;animation-delay:.7s;width:40px;height:50px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(7){animation-name:fallingTypeSeven-data-v-658789c4;animation-duration:7s;animation-delay:1s;width:40px;height:50px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(8){animation-name:fallingTypeEight-data-v-658789c4;animation-duration:5.6s;animation-delay:.3s;width:40px;height:50px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(9){animation-name:fallingTypeNine-data-v-658789c4;animation-duration:7.4s;animation-delay:.8s;width:40px;height:50px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(10){animation-name:fallingTypeTen-data-v-658789c4;animation-duration:4.8s;animation-delay:0s;width:40px;height:50px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(11){animation-name:fallingTypeEleven-data-v-658789c4;animation-duration:8s;animation-delay:1s;width:38px;height:22px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(12){animation-name:fallingTypeTwelve-data-v-658789c4;animation-duration:5s;animation-delay:.6s;width:38px;height:22px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(13){animation-name:fallingTypeThirteen-data-v-658789c4;animation-duration:6s;animation-delay:0s;width:38px;height:22px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(14){animation-name:fallingTypeFourteen-data-v-658789c4;animation-duration:7s;animation-delay:.8s;width:38px;height:22px}.spring-container .red-envelope[data-v-658789c4]:nth-of-type(15){animation-name:fallingTypeFifteen-data-v-658789c4;animation-duration:6.6s;animation-delay:.4s;width:38px;height:22px}@keyframes fallingTypeOne-data-v-658789c4{0%{transform:translate3d(30vw,0,0) rotate(15deg)}to{transform:translate3d(40vw,140vh,0) rotate(15deg)}}@keyframes fallingTypeTwo-data-v-658789c4{0%{transform:translate3d(20vw,0,0) rotate(-25deg)}to{transform:translate3d(60vw,140vh,0) rotate(-25deg)}}@keyframes fallingTypeThree-data-v-658789c4{0%{transform:translate3d(50vw,0,0) rotate(10deg)}to{transform:translate3d(100vw,140vh,0) rotate(10deg)}}@keyframes fallingTypeFour-data-v-658789c4{0%{transform:translate3d(70vw,0,0) rotate(-20deg)}to{transform:translate3d(22vw,140vh,0) rotate(-20deg)}}@keyframes fallingTypeFive-data-v-658789c4{0%{transform:translate3d(40vw,0,0) rotate(5deg)}to{transform:translate3d(28vw,140vh,0) rotate(5deg)}}@keyframes fallingTypeSix-data-v-658789c4{0%{transform:translate3d(12vw,0,0) rotate(30deg)}to{transform:translate3d(50vw,140vh,0) rotate(30deg)}}@keyframes fallingTypeSeven-data-v-658789c4{0%{transform:translate3d(1vw,0,0) rotate(5deg)}to{transform:translate3d(20vw,140vh,0) rotate(5deg)}}@keyframes fallingTypeEight-data-v-658789c4{0%{transform:translate3d(80vw,0,0) rotate(5deg)}to{transform:translate3d(60vw,140vh,0) rotate(5deg)}}@keyframes fallingTypeNine-data-v-658789c4{0%{transform:translate3d(90vw,0,0) rotate(5deg)}to{transform:translate3d(55vw,140vh,0) rotate(5deg)}}@keyframes fallingTypeTen-data-v-658789c4{0%{transform:translate3d(11vw,0,0) rotate(5deg)}to{transform:translate3d(46vw,140vh,0) rotate(5deg)}}@keyframes fallingTypeEleven-data-v-658789c4{0%{transform:translate3d(66vw,0,0) rotate(-30deg)}to{transform:translate3d(25vw,140vh,0) rotate(-30deg)}}@keyframes fallingTypeTwelve-data-v-658789c4{0%{transform:translate3d(77vw,0,0) rotate(20deg)}to{transform:translate3d(59vw,140vh,0) rotate(20deg)}}@keyframes fallingTypeThirteen-data-v-658789c4{0%{transform:translate3d(19vw,0,0) rotate(25deg)}to{transform:translate3d(27vw,140vh,0) rotate(25deg)}}@keyframes fallingTypeFourteen-data-v-658789c4{0%{transform:translate3d(23vw,0,0) rotate(-10deg)}to{transform:translate3d(52rem,140vh,0) rotate(-10deg)}}@keyframes fallingTypeFifteen-data-v-658789c4{0%{transform:translate3d(88vw,0,0) rotate(15deg)}to{transform:translate3d(70vw,140vh,0) rotate(15deg)}}.spring-container .red-open[data-v-658789c4]{z-index:1002;width:360px;height:395px;background-image:url(" + escape(__webpack_require__("u7Za")) + ");background-size:100%;background-repeat:no-repeat;top:50%;left:50%;position:absolute;transform:translate(-50%,-50%)}.spring-container .red-open .get-money[data-v-658789c4]{text-align:center;position:absolute;width:63%;color:#ffe297;font-weight:700;left:50%;transform:translate(-50%);top:77%}.spring-container .red-open .get-money p[data-v-658789c4]{word-break:break-all;font-size:20px}.spring-container .red-open .get-money span[data-v-658789c4]{font-size:35px}.spring-container .red-open .red-close-btn[data-v-658789c4]{width:30px;height:30px;position:absolute;left:50%;transform:translateX(-50%);bottom:-1rem;background-image:url(" + escape(__webpack_require__("EeUV")) + ");background-size:100%;background-repeat:no-repeat}.spring-toast-container[data-v-658789c4]{width:100%;height:100%;background-color:#00000080}.spring-toast-container .redlop-tips[data-v-658789c4]{width:300px;display:-ms-flexbox;display:flex;position:absolute;transform:translateX(-50%);-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;font-family:PingFangTC-Regular,PingFangTC;overflow:hidden;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);transition:all .4s;transform-origin:top}.spring-toast-container .redlop-tips img[data-v-658789c4]{width:100%}.spring-toast-container .redlop-word[data-v-658789c4]{position:absolute;top:20%;left:50%;transform:translateX(-50%);text-shadow:0 2px 3px hsla(12,2%,48%,.5);font-family:PingFangSC;font-weight:500;letter-spacing:1.2px;font-size:17px;text-align:center;color:#ac5327}.spring-toast-container .show.redlop-tips[data-v-658789c4]{transform:translate(-50%,-50%) scale(1)!important}.spring-toast-container .toast[data-v-658789c4]{height:76px;padding:33px 80px;opacity:.84;border-radius:20px;background-color:#2b2b2b;position:absolute;right:40%;top:30px;border-radius:5px;z-index:99000}.spring-toast-container .toast p[data-v-658789c4]{color:#fff;opacity:1}", ""]); // exports /***/ }), /***/ "01N2": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("qtT6"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("26b61a50", content, true, {}); /***/ }), /***/ "0Et8": /***/ (function(module, exports, __webpack_require__) { "use strict"; var DESCRIPTORS = __webpack_require__("8Nt4"); var uncurryThis = __webpack_require__("CwQ2"); var call = __webpack_require__("JAKr"); var fails = __webpack_require__("fwHU"); var objectKeys = __webpack_require__("NmtO"); var getOwnPropertySymbolsModule = __webpack_require__("LxyK"); var propertyIsEnumerableModule = __webpack_require__("jAFY"); var toObject = __webpack_require__("cdvp"); var IndexedObject = __webpack_require__("3xPw"); // eslint-disable-next-line es-x/no-object-assign -- safe var $assign = Object.assign; // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing var defineProperty = Object.defineProperty; var concat = uncurryThis([].concat); // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign module.exports = !$assign || fails(function () { // should have correct order of operations (Edge bug) if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { enumerable: true, get: function () { defineProperty(this, 'b', { value: 3, enumerable: false }); } }), { b: 2 })).b !== 1) return true; // should work with symbols and should have deterministic property order (V8 bug) var A = {}; var B = {}; // eslint-disable-next-line es-x/no-symbol -- safe var symbol = Symbol(); var alphabet = 'abcdefghijklmnopqrst'; A[symbol] = 7; alphabet.split('').forEach(function (chr) { B[chr] = chr; }); return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet; }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` var T = toObject(target); var argumentsLength = arguments.length; var index = 1; var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; var propertyIsEnumerable = propertyIsEnumerableModule.f; while (argumentsLength > index) { var S = IndexedObject(arguments[index++]); var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); var length = keys.length; var j = 0; var key; while (length > j) { key = keys[j++]; if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key]; } } return T; } : $assign; /***/ }), /***/ "0ImA": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("p0rj"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("3c29d52d", content, true, {}); /***/ }), /***/ "0bVG": /***/ (function(module, exports, __webpack_require__) { "use strict"; var fails = __webpack_require__("fwHU"); var isCallable = __webpack_require__("ELn+"); var create = __webpack_require__("BV6M"); var getPrototypeOf = __webpack_require__("XT0I"); var defineBuiltIn = __webpack_require__("MKw7"); var wellKnownSymbol = __webpack_require__("Jd8B"); var IS_PURE = __webpack_require__("alnp"); var ITERATOR = wellKnownSymbol('iterator'); var BUGGY_SAFARI_ITERATORS = false; // `%IteratorPrototype%` object // https://tc39.es/ecma262/#sec-%iteratorprototype%-object var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; /* eslint-disable es-x/no-array-prototype-keys -- safe */ if ([].keys) { arrayIterator = [].keys(); // Safari 8 has buggy iterators w/o `next` if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; else { PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; } } var NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () { var test = {}; // FF44- legacy iterators case return IteratorPrototype[ITERATOR].call(test) !== test; }); if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); // `%IteratorPrototype%[@@iterator]()` method // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator if (!isCallable(IteratorPrototype[ITERATOR])) { defineBuiltIn(IteratorPrototype, ITERATOR, function () { return this; }); } module.exports = { IteratorPrototype: IteratorPrototype, BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS }; /***/ }), /***/ "0g/h": /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__("pzgD"); var call = __webpack_require__("JAKr"); var IS_PURE = __webpack_require__("alnp"); var FunctionName = __webpack_require__("YR2i"); var isCallable = __webpack_require__("ELn+"); var createIteratorConstructor = __webpack_require__("WqqV"); var getPrototypeOf = __webpack_require__("XT0I"); var setPrototypeOf = __webpack_require__("OQFF"); var setToStringTag = __webpack_require__("Zu+f"); var createNonEnumerableProperty = __webpack_require__("/hIk"); var defineBuiltIn = __webpack_require__("MKw7"); var wellKnownSymbol = __webpack_require__("Jd8B"); var Iterators = __webpack_require__("DhWz"); var IteratorsCore = __webpack_require__("0bVG"); var PROPER_FUNCTION_NAME = FunctionName.PROPER; var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; var IteratorPrototype = IteratorsCore.IteratorPrototype; var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; var ITERATOR = wellKnownSymbol('iterator'); var KEYS = 'keys'; var VALUES = 'values'; var ENTRIES = 'entries'; var returnThis = function () { return this; }; module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { createIteratorConstructor(IteratorConstructor, NAME, next); var getIterationMethod = function (KIND) { if (KIND === DEFAULT && defaultIterator) return defaultIterator; if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; switch (KIND) { case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; } return function () { return new IteratorConstructor(this); }; }; var TO_STRING_TAG = NAME + ' Iterator'; var INCORRECT_VALUES_NAME = false; var IterablePrototype = Iterable.prototype; var nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype['@@iterator'] || DEFAULT && IterablePrototype[DEFAULT]; var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; var CurrentIteratorPrototype, methods, KEY; // fix native if (anyNativeIterator) { CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { if (setPrototypeOf) { setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis); } } // Set @@toStringTag to native iterators setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; } } // fix Array.prototype.{ values, @@iterator }.name in V8 / FF if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { createNonEnumerableProperty(IterablePrototype, 'name', VALUES); } else { INCORRECT_VALUES_NAME = true; defaultIterator = function values() { return call(nativeIterator, this); }; } } // export additional methods if (DEFAULT) { methods = { values: getIterationMethod(VALUES), keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), entries: getIterationMethod(ENTRIES) }; if (FORCED) for (KEY in methods) { if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { defineBuiltIn(IterablePrototype, KEY, methods[KEY]); } } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); } // define iterator if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); } Iterators[NAME] = defaultIterator; return methods; }; /***/ }), /***/ "0gMh": /***/ (function(module, exports, __webpack_require__) { var isPrototypeOf = __webpack_require__("KPk5"); var $TypeError = TypeError; module.exports = function (it, Prototype) { if (isPrototypeOf(Prototype, it)) return it; throw $TypeError('Incorrect invocation'); }; /***/ }), /***/ "14fT": /***/ (function(module, exports, __webpack_require__) { var fails = __webpack_require__("fwHU"); var isCallable = __webpack_require__("ELn+"); var hasOwn = __webpack_require__("SGKV"); var DESCRIPTORS = __webpack_require__("8Nt4"); var CONFIGURABLE_FUNCTION_NAME = __webpack_require__("YR2i").CONFIGURABLE; var inspectSource = __webpack_require__("oukt"); var InternalStateModule = __webpack_require__("VbOW"); var enforceInternalState = InternalStateModule.enforce; var getInternalState = InternalStateModule.get; // eslint-disable-next-line es-x/no-object-defineproperty -- safe var defineProperty = Object.defineProperty; var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); var TEMPLATE = String(String).split('String'); var makeBuiltIn = module.exports = function (value, name, options) { if (String(name).slice(0, 7) === 'Symbol(') { name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']'; } if (options && options.getter) name = 'get ' + name; if (options && options.setter) name = 'set ' + name; if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { defineProperty(value, 'name', { value: name, configurable: true }); } if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { defineProperty(value, 'length', { value: options.arity }); } try { if (options && hasOwn(options, 'constructor') && options.constructor) { if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable } else if (value.prototype) value.prototype = undefined; } catch (error) { /* empty */ } var state = enforceInternalState(value); if (!hasOwn(state, 'source')) { state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); } return value; }; // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative // eslint-disable-next-line no-extend-native -- required Function.prototype.toString = makeBuiltIn(function toString() { return isCallable(this) && getInternalState(this).source || inspectSource(this); }, 'toString'); /***/ }), /***/ "1FaH": /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__("pzgD"); var from = __webpack_require__("YX7v"); var checkCorrectnessOfIteration = __webpack_require__("PmyF"); var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) { // eslint-disable-next-line es-x/no-array-from -- required for testing Array.from(iterable); }); // `Array.from` method // https://tc39.es/ecma262/#sec-array.from $({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { from: from }); /***/ }), /***/ "1Y2G": /***/ (function(module, exports, __webpack_require__) { const Utils = __webpack_require__("oLzS") const ECCode = __webpack_require__("Sd0T") const ECLevel = __webpack_require__("utyv") const Mode = __webpack_require__("uF9H") const VersionCheck = __webpack_require__("yYhy") // Generator polynomial used to encode version information const G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0) const G18_BCH = Utils.getBCHDigit(G18) function getBestVersionForDataLength (mode, length, errorCorrectionLevel) { for (let currentVersion = 1; currentVersion <= 40; currentVersion++) { if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, mode)) { return currentVersion } } return undefined } function getReservedBitsCount (mode, version) { // Character count indicator + mode indicator bits return Mode.getCharCountIndicator(mode, version) + 4 } function getTotalBitsFromDataArray (segments, version) { let totalBits = 0 segments.forEach(function (data) { const reservedBits = getReservedBitsCount(data.mode, version) totalBits += reservedBits + data.getBitsLength() }) return totalBits } function getBestVersionForMixedData (segments, errorCorrectionLevel) { for (let currentVersion = 1; currentVersion <= 40; currentVersion++) { const length = getTotalBitsFromDataArray(segments, currentVersion) if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, Mode.MIXED)) { return currentVersion } } return undefined } /** * Returns version number from a value. * If value is not a valid version, returns defaultValue * * @param {Number|String} value QR Code version * @param {Number} defaultValue Fallback value * @return {Number} QR Code version number */ exports.from = function from (value, defaultValue) { if (VersionCheck.isValid(value)) { return parseInt(value, 10) } return defaultValue } /** * Returns how much data can be stored with the specified QR code version * and error correction level * * @param {Number} version QR Code version (1-40) * @param {Number} errorCorrectionLevel Error correction level * @param {Mode} mode Data mode * @return {Number} Quantity of storable data */ exports.getCapacity = function getCapacity (version, errorCorrectionLevel, mode) { if (!VersionCheck.isValid(version)) { throw new Error('Invalid QR Code version') } // Use Byte mode as default if (typeof mode === 'undefined') mode = Mode.BYTE // Total codewords for this QR code version (Data + Error correction) const totalCodewords = Utils.getSymbolTotalCodewords(version) // Total number of error correction codewords const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel) // Total number of data codewords const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8 if (mode === Mode.MIXED) return dataTotalCodewordsBits const usableBits = dataTotalCodewordsBits - getReservedBitsCount(mode, version) // Return max number of storable codewords switch (mode) { case Mode.NUMERIC: return Math.floor((usableBits / 10) * 3) case Mode.ALPHANUMERIC: return Math.floor((usableBits / 11) * 2) case Mode.KANJI: return Math.floor(usableBits / 13) case Mode.BYTE: default: return Math.floor(usableBits / 8) } } /** * Returns the minimum version needed to contain the amount of data * * @param {Segment} data Segment of data * @param {Number} [errorCorrectionLevel=H] Error correction level * @param {Mode} mode Data mode * @return {Number} QR Code version */ exports.getBestVersionForData = function getBestVersionForData (data, errorCorrectionLevel) { let seg const ecl = ECLevel.from(errorCorrectionLevel, ECLevel.M) if (Array.isArray(data)) { if (data.length > 1) { return getBestVersionForMixedData(data, ecl) } if (data.length === 0) { return 1 } seg = data[0] } else { seg = data } return getBestVersionForDataLength(seg.mode, seg.getLength(), ecl) } /** * Returns version information with relative error correction bits * * The version information is included in QR Code symbols of version 7 or larger. * It consists of an 18-bit sequence containing 6 data bits, * with 12 error correction bits calculated using the (18, 6) Golay code. * * @param {Number} version QR Code version * @return {Number} Encoded version info bits */ exports.getEncodedBits = function getEncodedBits (version) { if (!VersionCheck.isValid(version) || version < 7) { throw new Error('Invalid QR Code version') } let d = version << 12 while (Utils.getBCHDigit(d) - G18_BCH >= 0) { d ^= (G18 << (Utils.getBCHDigit(d) - G18_BCH)) } return (version << 12) | d } /***/ }), /***/ "1fdL": /***/ (function(module, exports, __webpack_require__) { var classof = __webpack_require__("J+MD"); var getMethod = __webpack_require__("Zgmh"); var Iterators = __webpack_require__("DhWz"); var wellKnownSymbol = __webpack_require__("Jd8B"); var ITERATOR = wellKnownSymbol('iterator'); module.exports = function (it) { if (it != undefined) return getMethod(it, ITERATOR) || getMethod(it, '@@iterator') || Iterators[classof(it)]; }; /***/ }), /***/ "1nuA": /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.decode = exports.parse = __webpack_require__("kMPS"); exports.encode = exports.stringify = __webpack_require__("xaZU"); /***/ }), /***/ "27jM": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("Tg9W"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("6fb37286", content, true, {}); /***/ }), /***/ "2NnI": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("Pky8"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("31421a34", content, true, {}); /***/ }), /***/ "2lZ1": /***/ (function(module, exports, __webpack_require__) { var fails = __webpack_require__("fwHU"); module.exports = !fails(function () { // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-preventextensions -- required for testing return Object.isExtensible(Object.preventExtensions({})); }); /***/ }), /***/ "2nDa": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__checkbox_vue__ = __webpack_require__("56XX"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__checkbox_group_vue__ = __webpack_require__("9pVw"); __WEBPACK_IMPORTED_MODULE_0__checkbox_vue__["a" /* default */].Group = __WEBPACK_IMPORTED_MODULE_1__checkbox_group_vue__["a" /* default */]; /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0__checkbox_vue__["a" /* default */]); /***/ }), /***/ "2ozg": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("6HkZ"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("678e7e3f", content, true, {}); /***/ }), /***/ "2tWt": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".changeC[data-v-a5bea734]{color:#ff6362!important}.free-money .header[data-v-a5bea734]{display:-ms-flexbox;display:flex;padding-left:10px;margin-left:14px}.free-money .header span[data-v-a5bea734]{display:inline-block;height:66px;width:95px;border-bottom:1px solid #f3f3f3;font-size:18px;padding-left:10px;color:#696969;line-height:70px;font-weight:400;cursor:pointer}.free-money .active[data-v-a5bea734]{border-bottom:2px solid #ff6362!important;color:#ff6262!important}.free-money .borrow-content[data-v-a5bea734]{background:#fff;padding-top:5px}.free-money .borrow-content .borrow-input[data-v-a5bea734]{width:960px;height:150px;background:#eee;border-radius:10px;padding:5px 15px 15px;margin:auto}.free-money .borrow-content .borrow-input p[data-v-a5bea734]{color:#000;font-size:16px;line-height:39px;border-bottom:1px solid #fff}.free-money .borrow-content .borrow-input span[data-v-a5bea734]{font-size:16px}.free-money .borrow-content .borrow-input input[data-v-a5bea734]{height:35px;width:885px;border:none;background:#eee;font-size:16px;margin-top:11px;outline:none}.free-money .borrow-content .day[data-v-a5bea734]{text-align:right;color:#bcbcbc;font-size:16px;margin:15px 34px 15px 0}.free-money .borrow-content .confirm[data-v-a5bea734]{width:141px;margin:auto;padding-bottom:378px}.free-money .borrow-content .confirm button[data-v-a5bea734]{width:141px;height:41px;background:linear-gradient(0deg,#ff194f,#ff2286);border-radius:10px;color:#f5f5f5;line-height:41px;text-align:center;outline:none;border:none;font-size:16px}.free-money .borrow-content .quota .title[data-v-a5bea734]{width:964px;height:40px;margin:10px auto;background:#ff6362;border-radius:10px;line-height:40px;text-align:center;font-size:16px;color:#fff;border-bottom:1px solid #f4f4f4}.free-money .borrow-content .quota .levelTable[data-v-a5bea734]{padding-bottom:20px}.free-money .borrow-content .quota .levelTable .someTitle[data-v-a5bea734]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-bottom:1px solid #f4f4f4}.free-money .borrow-content .quota .levelTable .someTitle span[data-v-a5bea734]{display:inline-block;width:321px;border-right:1px solid #f4f4f4;height:35px;line-height:35px;text-align:center;color:#696969;font-size:15px}.free-money .borrow-content .quota .levelTable .someTitle span[data-v-a5bea734]:first-child{border-left:1px solid #f4f4f4}.free-money .borrow-content .quota .levelTable div[data-v-a5bea734]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:964px;height:35px;margin:auto;background:#fff;border-top:1px solid #f4f4f4}.free-money .borrow-content .quota .levelTable div p[data-v-a5bea734]{width:50%;color:#696969;font-size:14px;line-height:35px;font-size:15px;text-align:center;cursor:pointer;border-right:1px solid #f4f4f4}.free-money .borrow-content .quota .levelTable div p[data-v-a5bea734]:first-child{border-left:1px solid #f4f4f4}.free-money .borrow-content .quota .levelTable ul[data-v-a5bea734]::-webkit-scrollbar{display:none}.free-money .borrow-content .quota .levelTable .nodata[data-v-a5bea734]{position:absolute;top:60%;left:57%;transform:translate(-50%,-50%)}.free-money .borrow-content .quota .levelTable ul[data-v-a5bea734]{width:964px;height:432px;margin:auto;background:#fff;overflow-y:scroll;position:relative}.free-money .borrow-content .quota .levelTable ul li[data-v-a5bea734]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-bottom:1px solid #f4f4f4}.free-money .borrow-content .quota .levelTable ul li span[data-v-a5bea734]{display:inline-block;height:35px;line-height:35px;font-size:15px;text-align:center;width:321px}.free-money .borrow-content .quota .levelTable ul li span[data-v-a5bea734]:first-child{border-left:1px solid #f4f4f4}.free-money .borrow-content .quota .levelTable ul li span[data-v-a5bea734]:last-child{border-right:1px solid #f4f4f4}.free-money .borrow-content .quota .levelTable ul li span[data-v-a5bea734]:nth-child(2){border-left:1px solid #f4f4f4;border-right:1px solid #f4f4f4}.free-money .borrow-content .rule[data-v-a5bea734]::-webkit-scrollbar{display:none}.free-money .borrow-content .rule[data-v-a5bea734]{width:963px;margin:auto;padding:5px 0 20px;height:580px;overflow-y:scroll}.free-money .borrow-content .rule .bolder[data-v-a5bea734]{font-weight:700;font-size:16px}.free-money .borrow-content .rule p[data-v-a5bea734]{color:#696969;font-size:15px;line-height:30px}.free-money .borrow-content .rule p span[data-v-a5bea734]{color:#fe0100}", ""]); // exports /***/ }), /***/ "32pD": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("jI+G"); module.exports = global; /***/ }), /***/ "3Irw": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".withdrawal-record[data-v-70f459f4]{border-bottom-right-radius:15px!important;overflow:hidden}.withdrawal-record .content .search[data-v-70f459f4]{height:64px;line-height:64px;padding:0 10px;padding:0 14px}.withdrawal-record .content .search .searchSpan[data-v-70f459f4]{display:inline-block;width:80px;height:36px;line-height:36px;text-align:center;font-size:1.6em;font-weight:200;color:#fff;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:5px;margin-left:18px;letter-spacing:5px;cursor:pointer}.withdrawal-record .content .page[data-v-70f459f4]{position:absolute;right:25px;bottom:20px}[data-v-70f459f4] .ivu-modal-mask,[data-v-70f459f4] .ivu-modal-wrap{z-index:9999}[data-v-70f459f4] .ivu-modal{z-index:9999;top:250px}.message-modal[data-v-70f459f4] .ivu-modal-content{border-radius:12px}.message-modal[data-v-70f459f4] .ivu-modal-footer{padding:0}.message-modal-main[data-v-70f459f4]{font-family:Microsoft YaHei;color:#696969}.message-modal-main h2[data-v-70f459f4]{font-size:24px;font-weight:700;margin-bottom:10px;text-align:center}.message-modal-main p[data-v-70f459f4]{font-size:20px}.message-modal-footer .button[data-v-70f459f4],.message-modal-footer[data-v-70f459f4]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.message-modal-footer .button[data-v-70f459f4]{width:50%;height:60px;font-size:20px;-ms-flex-pack:center;justify-content:center;background-color:#f90;cursor:pointer}.message-modal-footer-cancel[data-v-70f459f4]{color:#996002;border-right:.5px solid #e9eaec;border-radius:0 0 0 10px}.message-modal-footer-confirm[data-v-70f459f4]{color:#e9eaec;border-left:.5px solid #e9eaec;border-radius:0 0 10px 0}", ""]); // exports /***/ }), /***/ "3R99": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("XBoG"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("1b63bc93", content, true, {}); /***/ }), /***/ "3mWa": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".message[data-v-0867e91a]{color:#fff;font-weight:200}.message ul[data-v-0867e91a]{overflow-y:scroll;height:520px;-ms-overflow-style:none;overflow:-moz-scrollbars-none;scrollbar-width:none;padding-top:5px;margin-top:-5px}.message ul[data-v-0867e91a]::-webkit-scrollbar{display:none}.message ul li[data-v-0867e91a]{height:50px;line-height:50px;text-align:center;font-size:1.6em;cursor:pointer;position:relative}.message ul li span[data-v-0867e91a]{padding:8px 18px;border-radius:10px;font-family:Microsoft YaHei;font-weight:400}.message ul li .showMessg[data-v-0867e91a]{color:#d12323;width:20px;height:20px;border-radius:50%;background-color:#fff;position:absolute;right:25px;top:-4px;line-height:20px;text-align:center;display:block}.message ul li .iconImg[data-v-0867e91a]{display:block;position:absolute;width:54px;height:22px;right:4px;top:-4px}.message ul li .hot-text[data-v-0867e91a]{display:block;position:absolute;height:20px;right:10px;top:-6px;padding:0;background:#6cf!important;font-size:12px;line-height:20px;padding:0 10px}.message ul .liActive span[data-v-0867e91a]{background-color:#d12323}.message .hideBank li[data-v-0867e91a]:nth-child(2),.message .hideBank li[data-v-0867e91a]:nth-child(5),.message .hideEbao li[data-v-0867e91a]:nth-child(4),.message .hideEbao li[data-v-0867e91a]:nth-child(7),.message .hideUsdt li[data-v-0867e91a]:nth-child(3),.message .hideUsdt li[data-v-0867e91a]:nth-child(6){display:none}.message1[data-v-0867e91a]{color:#fff;font-weight:200}.message1 ul[data-v-0867e91a]{overflow-y:scroll;height:520px;-ms-overflow-style:none;overflow:-moz-scrollbars-none;scrollbar-width:none;padding-top:5px;margin-top:-5px}.message1 ul[data-v-0867e91a]::-webkit-scrollbar{display:none}.message1 ul .ull li[data-v-0867e91a]:nth-child(5){display:none}.message1 ul li[data-v-0867e91a]{height:50px;line-height:50px;text-align:center;font-size:1.6em;position:relative;cursor:pointer}.message1 ul li span[data-v-0867e91a]{padding:8px 18px;border-radius:10px;font-family:Microsoft YaHei;font-weight:400}.message1 ul .showMessg[data-v-0867e91a]{color:#d12323;width:20px;height:20px;border-radius:50%;background-color:#fff;position:absolute;right:25px;top:-4px;line-height:20px;text-align:center;display:block}.message1 ul .iconImg[data-v-0867e91a]{display:block;position:absolute;width:54px;height:22px;right:4px;top:-4px}.message1 ul .hot-text[data-v-0867e91a]{display:block;position:absolute;height:20px;right:10px;top:-6px;padding:0;background:#6cf!important;font-size:12px;line-height:20px;padding:0 10px}.message1 ul .liActive span[data-v-0867e91a]{background-color:#d12323}.hidden[data-v-0867e91a],.message1 .perul li[data-v-0867e91a]:nth-child(7){display:none}", ""]); // exports /***/ }), /***/ "3qyc": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("YEZ0"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("0145bbf9", content, true, {}); /***/ }), /***/ "3r2m": /***/ (function(module, exports, __webpack_require__) { var call = __webpack_require__("JAKr"); var aCallable = __webpack_require__("Nh07"); var anObject = __webpack_require__("dkz4"); var tryToString = __webpack_require__("l9Ez"); var getIteratorMethod = __webpack_require__("1fdL"); var $TypeError = TypeError; module.exports = function (argument, usingIterator) { var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); throw $TypeError(tryToString(argument) + ' is not iterable'); }; /***/ }), /***/ "3xPw": /***/ (function(module, exports, __webpack_require__) { var uncurryThis = __webpack_require__("CwQ2"); var fails = __webpack_require__("fwHU"); var classof = __webpack_require__("PFdJ"); var $Object = Object; var split = uncurryThis(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings module.exports = fails(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins -- safe return !$Object('z').propertyIsEnumerable(0); }) ? function (it) { return classof(it) == 'String' ? split(it, '') : $Object(it); } : $Object; /***/ }), /***/ "3z/6": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("LFZ5"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("119b411c", content, true, {}); /***/ }), /***/ "3zc3": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("2tWt"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("c007d004", content, true, {}); /***/ }), /***/ "40kW": /***/ (function(module, exports, __webpack_require__) { var bind = __webpack_require__("NFMI"); var uncurryThis = __webpack_require__("CwQ2"); var IndexedObject = __webpack_require__("3xPw"); var toObject = __webpack_require__("cdvp"); var lengthOfArrayLike = __webpack_require__("DrWn"); var arraySpeciesCreate = __webpack_require__("m28F"); var push = uncurryThis([].push); // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation var createMethod = function (TYPE) { var IS_MAP = TYPE == 1; var IS_FILTER = TYPE == 2; var IS_SOME = TYPE == 3; var IS_EVERY = TYPE == 4; var IS_FIND_INDEX = TYPE == 6; var IS_FILTER_REJECT = TYPE == 7; var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; return function ($this, callbackfn, that, specificCreate) { var O = toObject($this); var self = IndexedObject(O); var boundFunction = bind(callbackfn, that); var length = lengthOfArrayLike(self); var index = 0; var create = specificCreate || arraySpeciesCreate; var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; var value, result; for (;length > index; index++) if (NO_HOLES || index in self) { value = self[index]; result = boundFunction(value, index, O); if (TYPE) { if (IS_MAP) target[index] = result; // map else if (result) switch (TYPE) { case 3: return true; // some case 5: return value; // find case 6: return index; // findIndex case 2: push(target, value); // filter } else switch (TYPE) { case 4: return false; // every case 7: push(target, value); // filterReject } } } return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; }; }; module.exports = { // `Array.prototype.forEach` method // https://tc39.es/ecma262/#sec-array.prototype.foreach forEach: createMethod(0), // `Array.prototype.map` method // https://tc39.es/ecma262/#sec-array.prototype.map map: createMethod(1), // `Array.prototype.filter` method // https://tc39.es/ecma262/#sec-array.prototype.filter filter: createMethod(2), // `Array.prototype.some` method // https://tc39.es/ecma262/#sec-array.prototype.some some: createMethod(3), // `Array.prototype.every` method // https://tc39.es/ecma262/#sec-array.prototype.every every: createMethod(4), // `Array.prototype.find` method // https://tc39.es/ecma262/#sec-array.prototype.find find: createMethod(5), // `Array.prototype.findIndex` method // https://tc39.es/ecma262/#sec-array.prototype.findIndex findIndex: createMethod(6), // `Array.prototype.filterReject` method // https://github.com/tc39/proposal-array-filtering filterReject: createMethod(7) }; /***/ }), /***/ "4ONC": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".upload-wrap[data-v-16efbc2a]{border-top:1px solid #f4f4f4;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex}.upload-wrap .desc[data-v-16efbc2a]{margin-right:6px}.upload-wrap .desc h4[data-v-16efbc2a]{font-size:13px;color:#696969;line-height:24px}.upload-wrap .desc h5[data-v-16efbc2a]{font-size:11px;color:#f23d3d}.previewImgModal[data-v-16efbc2a] .ivu-modal-mask{cursor:pointer}.previewImgModal[data-v-16efbc2a] .ivu-modal-mask,.previewImgModal[data-v-16efbc2a] .ivu-modal-wrap{z-index:2002}.ivu-upload.upload-credential[data-v-16efbc2a]{display:inline-block;width:76px}.ivu-upload.upload-credential[data-v-16efbc2a] .ivu-upload-drag,.ivu-upload.upload-credential[data-v-16efbc2a] .ivu-upload-drag:hover{border:none}.ivu-upload.upload-credential .upload-button[data-v-16efbc2a]{background-image:url(\"/static/public/image/trade/upload-img.png\");background-size:contain;background-color:transparent;width:76px;height:76px;line-height:76px}.ivu-upload.upload-credential.disabled[data-v-16efbc2a]{display:none!important}.ivu-upload.upload-credential.unready[data-v-16efbc2a]{pointer-events:none;opacity:.2}.upload-list[data-v-16efbc2a]{display:inline-block;width:76px;height:76px;text-align:center;line-height:76px;border:1px solid transparent;border-radius:4px;overflow:hidden;background:#fff;position:relative;box-shadow:0 1px 1px rgba(0,0,0,.2);margin-right:4px}.upload-list img[data-v-16efbc2a]{width:100%;height:100%}.upload-list-cover[data-v-16efbc2a]{display:none;position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.6)}.upload-list:hover .upload-list-cover[data-v-16efbc2a]{display:block}.upload-list-cover i[data-v-16efbc2a]{color:#fff;font-size:20px;cursor:pointer;margin:0 2px}", ""]); // exports /***/ }), /***/ "4dR8": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".quick-withdrawal[data-v-01eb10a4]{width:100%;max-height:100%;color:#696969}.waiting-order[data-v-01eb10a4]{font-size:16px;text-align:center}.waiting-order .title[data-v-01eb10a4]{font-weight:600;margin:44px 0;color:#fd3332}.waiting-order .desc[data-v-01eb10a4]{line-height:2}.waiting-order .desc span[data-v-01eb10a4]{color:#fd3332}.quick-withdrawal-content[data-v-01eb10a4]{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;padding:0 20px}.quick-withdrawal-item[data-v-01eb10a4]{height:92px}.quick-withdrawal-item[data-v-01eb10a4]:not(:last-of-type){border-bottom:1px solid #eee}.quick-withdrawal-item .orange[data-v-01eb10a4]{color:#f90}.quick-withdrawal-item .red[data-v-01eb10a4]{color:#fd3332}.quick-withdrawal-item .blue[data-v-01eb10a4]{color:#4176fa}.quick-withdrawal-item .green[data-v-01eb10a4]{color:#41c04b}.quick-withdrawal-item .grey[data-v-01eb10a4]{color:#a3a6ab}.quick-withdrawal-item .withdrawal-info[data-v-01eb10a4]{font-size:16px;padding-top:4px}.quick-withdrawal-item .withdrawal-info .info-box[data-v-01eb10a4]{margin-bottom:6px;height:25px;line-height:25px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.quick-withdrawal-item .withdrawal-info .info-box .label[data-v-01eb10a4]{display:inline-block;width:80px;text-align:right}.quick-withdrawal-item .withdrawal-info .info-box .info .hint[data-v-01eb10a4]{font-size:12px;margin-left:16px}.quick-withdrawal-item .withdrawal-info .info-box .alert[data-v-01eb10a4]{font-size:14px;color:red}.quick-withdrawal-item .tips[data-v-01eb10a4]{text-align:center;padding:0 20px}.quick-withdrawal-item .tips .tip-a[data-v-01eb10a4]{font-size:16px;font-weight:600;height:42px;line-height:42px;border-radius:21px;background-color:#ffeacb}.quick-withdrawal-item .tips .tip-b[data-v-01eb10a4]{height:32px;line-height:32px;font-size:12px;line-height:2.67}.quick-withdrawal-item .withdrawal-money-status[data-v-01eb10a4]{overflow-y:auto;padding-top:15px}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item[data-v-01eb10a4]{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;padding-bottom:10px;border-bottom:1px solid #eee}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item .title[data-v-01eb10a4]{font-size:16px;height:44px;line-height:44px}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item .title .money[data-v-01eb10a4]{margin:0 8px;font-size:26px;line-height:1;vertical-align:middle}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item .status-content[data-v-01eb10a4]{font-size:16px;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item .status-content .status[data-v-01eb10a4]{font-size:16px;width:144px;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item .status-content .status .expext[data-v-01eb10a4]{font-size:12px;line-height:1.67;color:#a3a6ab}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item .status-content .btn[data-v-01eb10a4]{border:1px solid #ddd;height:26px;padding:0 8px;font-size:12px;line-height:26px;border-radius:13px;color:#696969;margin-left:16px;cursor:pointer}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item .status-content .btn.blur[data-v-01eb10a4]{color:#a3a6ab;background-color:#f0f0f0;pointer-events:none}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item .status-content .btn-red[data-v-01eb10a4]{border:1px solid red;color:red}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item .status-content .btn-purple[data-v-01eb10a4]{border:1px solid purple;color:purple}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item .status-content .btn-blue[data-v-01eb10a4]{border:1px solid blue;color:blue}.quick-withdrawal-item .withdrawal-money-status .withdrawal-item .status-content .btn-large[data-v-01eb10a4]{height:auto;line-height:20px;padding:2px 8px}", ""]); // exports /***/ }), /***/ "5+hi": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".preferential .header[data-v-3b2a00d6]{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400;margin:0 14px}.preferential .content .left[data-v-3b2a00d6]{width:52%;padding-top:20px;position:relative;height:654px}.preferential .content .left .left-time[data-v-3b2a00d6]{position:absolute;top:20px;left:0;height:530px;width:106px;border-right:1px solid #dbdbdb}.preferential .content .left .row[data-v-3b2a00d6]{padding-right:24px;padding-left:36px;position:relative}.preferential .content .left .row .time[data-v-3b2a00d6]{line-height:26px;margin-top:15px;font-size:16px}.preferential .content .left .row .time p[data-v-3b2a00d6]:nth-child(2){font-size:14px}.preferential .content .left .row .round[data-v-3b2a00d6]{display:inline-block;width:10px;height:10px;background:#f90;border-radius:50%;position:absolute;left:100px;top:36px}.preferential .content .left .row .system[data-v-3b2a00d6]{display:inline-block;width:42px;height:24px;background:#f90;line-height:24px;text-align:center;color:#fff;border-radius:5px;font-size:14px;position:absolute;top:29px;left:122px}.preferential .content .left .row .system .systemmessage[data-v-3b2a00d6]{width:20px;height:20px;border-radius:50%;background-color:red;position:absolute;left:32px;top:-10px;line-height:20px;text-align:center;display:block}.preferential .content .left .row .system[data-v-3b2a00d6]:after{content:\"\";width:0;height:0;border-width:4px 7px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:8px;left:-7px}.preferential .content .left .row .content[data-v-3b2a00d6]{width:336px;border-radius:10px;height:86px;padding:10px 30px 10px 20px;cursor:pointer}.preferential .content .left .row .content .title[data-v-3b2a00d6]{color:#333;font-size:16px;font-weight:600;margin-bottom:14px}.preferential .content .left .row .content .main[data-v-3b2a00d6]{line-height:18px;height:36px;overflow:hidden}.preferential .content .left .row .contentActive[data-v-3b2a00d6]{background:#f9f9f9}.preferential .content .left .page[data-v-3b2a00d6]{position:absolute;right:25px;bottom:80px}.preferential .content .right[data-v-3b2a00d6]{width:48%;background:#f2f2f2;padding:28px;border-radius:0 0 15px 0;height:584px}", ""]); // exports /***/ }), /***/ "5DoR": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".filter[data-v-462d9565]{width:100%;height:100%;position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;background:rgba(0,0,0,.5);z-index:2000;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.filter .red-box[data-v-462d9565]{width:395px;height:503px;position:relative}.filter .red-box .red-top[data-v-462d9565]{width:346px;height:105px;margin:0 24.5px;background-image:url(\"/static/public/image/open/gaizi.png\");background-size:100%;background-repeat:no-repeat;background-position:50%;animation:hezi-on .6s ease-in 1s 1 normal;animation:dous-b .6s linear 1.5s infinite alternate}.filter .red-box .red-cont[data-v-462d9565]{width:395px;height:398px;margin:auto;background-image:url(\"/static/public/image/open/hezi.png\");background-size:100%;background-repeat:no-repeat;background-position:50%;position:relative;overflow:hidden}.filter .red-box .red-cont .text[data-v-462d9565]{margin-top:66px;text-align:center;font-size:18px;color:#e48428}.filter .red-box .red-cont .money[data-v-462d9565]{color:#f7211e;text-align:center;margin-top:32px;font-size:45px}.filter .red-box .red-cont .money>span[data-v-462d9565]{font-size:26px;margin-left:6px}.filter .red-box .red-cont .balance[data-v-462d9565]{text-align:center;margin-top:59px;font-size:18px;font-weight:400;color:#f7211e}.filter .red-box .red-cont .ikonw[data-v-462d9565]{position:absolute;width:275px;height:57px;left:60px;bottom:60px;background-image:url(\"/static/public/image/open/button.png\");background-size:100%;background-repeat:no-repeat;background-position:50%;z-index:2060;cursor:pointer}.filter .red-box #leafContainer[data-v-462d9565],.filter .red-box .jinbi-cont[data-v-462d9565]{position:absolute;width:100%;height:100%;overflow:hidden;left:0;top:0}.filter .red-box #leafContainer z-index:\\2050 .leaf3 .leafimg3[data-v-462d9565],.filter .red-box #leafContainer z-index:\\2050 .leaf3[data-v-462d9565],.filter .red-box .jinbi-cont z-index:\\2050 .leaf3 .leafimg3[data-v-462d9565],.filter .red-box .jinbi-cont z-index:\\2050 .leaf3[data-v-462d9565]{width:36px;height:19px}.filter .red-box #leafContainer .leaf4 .leafimg4[data-v-462d9565],.filter .red-box #leafContainer .leaf4[data-v-462d9565],.filter .red-box .jinbi-cont .leaf4 .leafimg4[data-v-462d9565],.filter .red-box .jinbi-cont .leaf4[data-v-462d9565]{width:28px;height:14px}.filter .red-box #leafContainer .leaf5[data-v-462d9565],.filter .red-box .jinbi-cont .leaf5[data-v-462d9565]{width:24px;height:19px}.filter .red-box #leafContainer .leaf5 .leafimg5[data-v-462d9565],.filter .red-box .jinbi-cont .leaf5 .leafimg5[data-v-462d9565]{width:24px;height:1px}.filter .red-box #leafContainer .leaf6 .leafimg6[data-v-462d9565],.filter .red-box #leafContainer .leaf6[data-v-462d9565],.filter .red-box .jinbi-cont .leaf6 .leafimg6[data-v-462d9565],.filter .red-box .jinbi-cont .leaf6[data-v-462d9565]{width:14px;height:21px}", ""]); // exports /***/ }), /***/ "5eX8": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("i1FO"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("6dd7f0dd", content, true, {}); /***/ }), /***/ "5hNP": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("jI+G"); var userAgent = __webpack_require__("+G1J"); var process = global.process; var Deno = global.Deno; var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; if (v8) { match = v8.split('.'); // in old Chrome, versions of V8 isn't V8 = Chrome / 10 // but their correct versions are not interesting for us version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); } // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` // so check `userAgent` even if `.v8` exists, but 0 if (!version && userAgent) { match = userAgent.match(/Edge\/(\d+)/); if (!match || match[1] >= 74) { match = userAgent.match(/Chrome\/(\d+)/); if (match) version = +match[1]; } } module.exports = version; /***/ }), /***/ "62Hn": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/static/public/image/bank/upay.2506229.png"; /***/ }), /***/ "670Z": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/src/assets/img/springFestival/ingots.551378b.png"; /***/ }), /***/ "6Cwq": /***/ (function(module, exports, __webpack_require__) { /* eslint-disable es-x/no-object-getownpropertynames -- safe */ var classof = __webpack_require__("PFdJ"); var toIndexedObject = __webpack_require__("OPii"); var $getOwnPropertyNames = __webpack_require__("i4+6").f; var arraySlice = __webpack_require__("Fq4z"); var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; var getWindowNames = function (it) { try { return $getOwnPropertyNames(it); } catch (error) { return arraySlice(windowNames); } }; // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window module.exports.f = function getOwnPropertyNames(it) { return windowNames && classof(it) == 'Window' ? getWindowNames(it) : $getOwnPropertyNames(toIndexedObject(it)); }; /***/ }), /***/ "6HkZ": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".sent-right{overflow-y:auto}.sent-right .title{font-size:16px;color:#333;margin-bottom:10px}.sent-right .times{margin-bottom:24px}.sent-right .content{line-height:26px}.sent-right .huifu-title{color:#000}.sent-right .huifu-content,.sent-right .huifu-title{font-size:14px;margin-top:20px}", ""]); // exports /***/ }), /***/ "6iyp": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("nE5+"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("652081dc", content, true, {}); /***/ }), /***/ "71e1": /***/ (function(module, exports, __webpack_require__) { const canPromise = __webpack_require__("cJP9") const QRCode = __webpack_require__("WEzc") const CanvasRenderer = __webpack_require__("9ff9") const SvgRenderer = __webpack_require__("729m") function renderCanvas (renderFunc, canvas, text, opts, cb) { const args = [].slice.call(arguments, 1) const argsNum = args.length const isLastArgCb = typeof args[argsNum - 1] === 'function' if (!isLastArgCb && !canPromise()) { throw new Error('Callback required as last argument') } if (isLastArgCb) { if (argsNum < 2) { throw new Error('Too few arguments provided') } if (argsNum === 2) { cb = text text = canvas canvas = opts = undefined } else if (argsNum === 3) { if (canvas.getContext && typeof cb === 'undefined') { cb = opts opts = undefined } else { cb = opts opts = text text = canvas canvas = undefined } } } else { if (argsNum < 1) { throw new Error('Too few arguments provided') } if (argsNum === 1) { text = canvas canvas = opts = undefined } else if (argsNum === 2 && !canvas.getContext) { opts = text text = canvas canvas = undefined } return new Promise(function (resolve, reject) { try { const data = QRCode.create(text, opts) resolve(renderFunc(data, canvas, opts)) } catch (e) { reject(e) } }) } try { const data = QRCode.create(text, opts) cb(null, renderFunc(data, canvas, opts)) } catch (e) { cb(e) } } exports.create = QRCode.create exports.toCanvas = renderCanvas.bind(null, CanvasRenderer.render) exports.toDataURL = renderCanvas.bind(null, CanvasRenderer.renderToDataURL) // only svg for now. exports.toString = renderCanvas.bind(null, function (data, _, opts) { return SvgRenderer.render(data, opts) }) /***/ }), /***/ "729m": /***/ (function(module, exports, __webpack_require__) { const Utils = __webpack_require__("nwDn") function getColorAttrib (color, attrib) { const alpha = color.a / 255 const str = attrib + '="' + color.hex + '"' return alpha < 1 ? str + ' ' + attrib + '-opacity="' + alpha.toFixed(2).slice(1) + '"' : str } function svgCmd (cmd, x, y) { let str = cmd + x if (typeof y !== 'undefined') str += ' ' + y return str } function qrToPath (data, size, margin) { let path = '' let moveBy = 0 let newRow = false let lineLength = 0 for (let i = 0; i < data.length; i++) { const col = Math.floor(i % size) const row = Math.floor(i / size) if (!col && !newRow) newRow = true if (data[i]) { lineLength++ if (!(i > 0 && col > 0 && data[i - 1])) { path += newRow ? svgCmd('M', col + margin, 0.5 + row + margin) : svgCmd('m', moveBy, 0) moveBy = 0 newRow = false } if (!(col + 1 < size && data[i + 1])) { path += svgCmd('h', lineLength) lineLength = 0 } } else { moveBy++ } } return path } exports.render = function render (qrData, options, cb) { const opts = Utils.getOptions(options) const size = qrData.modules.size const data = qrData.modules.data const qrcodesize = size + opts.margin * 2 const bg = !opts.color.light.a ? '' : '<path ' + getColorAttrib(opts.color.light, 'fill') + ' d="M0 0h' + qrcodesize + 'v' + qrcodesize + 'H0z"/>' const path = '<path ' + getColorAttrib(opts.color.dark, 'stroke') + ' d="' + qrToPath(data, size, opts.margin) + '"/>' const viewBox = 'viewBox="' + '0 0 ' + qrcodesize + ' ' + qrcodesize + '"' const width = !opts.width ? '' : 'width="' + opts.width + '" height="' + opts.width + '" ' const svgTag = '<svg xmlns="http://www.w3.org/2000/svg" ' + width + viewBox + ' shape-rendering="crispEdges">' + bg + path + '</svg>\n' if (typeof cb === 'function') { cb(null, svgTag) } return svgTag } /***/ }), /***/ "72vt": /***/ (function(module, exports, __webpack_require__) { __webpack_require__("GmIv"); __webpack_require__("haTd"); __webpack_require__("xmDC"); __webpack_require__("fD3f"); var path = __webpack_require__("32pD"); module.exports = path.Set; /***/ }), /***/ "7CSh": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("y+8m"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("e87ae692", content, true, {}); /***/ }), /***/ "7EW6": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".withdrawal-record[data-v-f16fa50e]{border-bottom-right-radius:15px!important;overflow:hidden}.withdrawal-record .content .search[data-v-f16fa50e]{height:64px;line-height:64px;padding:0 10px;padding:0 14px}.withdrawal-record .content .search .searchSpan[data-v-f16fa50e]{display:inline-block;width:80px;height:36px;line-height:36px;text-align:center;font-size:1.6em;font-weight:200;color:#fff;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:5px;margin-left:18px;letter-spacing:5px;cursor:pointer}.withdrawal-record .content .page[data-v-f16fa50e]{position:absolute;right:25px;bottom:20px}", ""]); // exports /***/ }), /***/ "7KcU": /***/ (function(module, exports, __webpack_require__) { // FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it var fails = __webpack_require__("fwHU"); module.exports = fails(function () { if (typeof ArrayBuffer == 'function') { var buffer = new ArrayBuffer(8); // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-defineproperty -- safe if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 }); } }); /***/ }), /***/ "7gB5": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".my-info[data-v-62f5a74f]{padding:0 14px}.my-info .header[data-v-62f5a74f]{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400}.my-info .content[data-v-62f5a74f]{border-bottom:1px solid #f3f3f3;padding-bottom:25px}.my-info .content .row[data-v-62f5a74f]{margin-top:30px}.my-info .content .row label[data-v-62f5a74f]{width:150px;display:inline-block;text-align:right;font-size:15px;font-family:Microsoft YaHei}.my-info .content .row span[data-v-62f5a74f]{font-size:15px}.my-info .content .row input[data-v-62f5a74f]{height:36px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;text-align:left;text-indent:5px;padding-left:5px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.my-info .content .row input[data-v-62f5a74f]:not(.other){width:240px;height:36px}.my-info .content .row input[data-v-62f5a74f]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.my-info .submitInfo[data-v-62f5a74f]{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin-top:25px;margin-left:150px;display:inline-block;cursor:pointer}.my-info .toast[data-v-62f5a74f]{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:400px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.my-info .toast[data-v-62f5a74f]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}", ""]); // exports /***/ }), /***/ "7phe": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".test1Dialog[data-v-f336ba58]{width:100%;height:100%;position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;z-index:1998;font-family:microsoft jhenghei!important}.test1Dialog .fadeIn[data-v-f336ba58]{transition:all .3s;opacity:0}.test1Dialog .fadeOut[data-v-f336ba58]{transition:all .3s;opacity:1}.test1Dialog .betDialog[data-v-f336ba58]{width:1075px!important}.test1Dialog .betDialog .listContainer .contentBox[data-v-f336ba58]{width:730px!important}.test1Dialog .betDialog .listContainer .contentBox ul[data-v-f336ba58]{width:710px!important;height:503px!important}.test1Dialog .jsylDialog[data-v-f336ba58]{transform:translate(-50%,-46.5%)!important}.test1Dialog .dialogContent[data-v-f336ba58]{width:1128px;height:629px;overflow:hidden;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9999;background:#fff;border-radius:5px;box-shadow:0 0 25px rgba(0,0,0,.3)}.test1Dialog .dialogContent .listHead:first-child span[data-v-f336ba58]{display:inline-block;height:60px;width:160px;line-height:60px;text-align:center;color:#68b0d8;font-size:30px;font-family:STHeiti,microsoft yahei,\\\\5FAE\\8F6F\\96C5\\9ED1,simsun,\\\\5B8B\\4F53,arial;font-weight:400}.test1Dialog .dialogContent .listHead:first-child span[data-v-f336ba58]:last-child{float:right}.test1Dialog .dialogContent .listHead:first-child span:last-child i[data-v-f336ba58]{display:inline-block;width:20px;height:5px;background:#afd6eb;transform:rotate(45deg);position:relative;left:45px;top:-10px;cursor:pointer}.test1Dialog .dialogContent .listHead:first-child span:last-child i[data-v-f336ba58]:after{content:\"\";display:block;width:20px;height:5px;font-weight:700;background:#afd6eb;transform:rotate(-90deg);cursor:pointer}.test1Dialog .dialogContent .listHead:first-child span:last-child .amhgSpan[data-v-f336ba58],.test1Dialog .dialogContent .listHead:first-child span:last-child .amhgSpan[data-v-f336ba58]:after{background:#c2a775}.test1Dialog .dialogContent .listHead:first-child span:last-child .boyeSpan[data-v-f336ba58],.test1Dialog .dialogContent .listHead:first-child span:last-child .boyeSpan[data-v-f336ba58]:after,.test1Dialog .dialogContent .listHead:first-child span:last-child .mgm90Span[data-v-f336ba58],.test1Dialog .dialogContent .listHead:first-child span:last-child .mgm90Span[data-v-f336ba58]:after{background:#e52429}.test1Dialog .dialogContent .listHead:first-child span:last-child em[data-v-f336ba58]{display:inline-block;height:21px;width:21px;background:url(\"/static/public/image/logClose.png\") no-repeat;background-size:100% 100%;position:relative;left:40px;cursor:pointer}.test1Dialog .dialogContent .listContainer[data-v-f336ba58]{display:-ms-flexbox;display:flex;border-top:1px solid #dfdfdf}.test1Dialog .dialogContent .listContainer div[data-v-f336ba58]:first-child{width:348px;background:#f2f2ea;border-right:1px solid #dfdfdf}.test1Dialog .dialogContent .listContainer div:first-child ul[data-v-f336ba58]{border-right:1px solid #fff;height:565px;overflow-y:scroll}.test1Dialog .dialogContent .listContainer div:first-child ul[data-v-f336ba58]::-webkit-scrollbar{display:none}.test1Dialog .dialogContent .listContainer div:first-child .hoverName1[data-v-f336ba58]:hover{background:#68b0d8;color:#fff;border-left:3px solid #68b0d8}.test1Dialog .dialogContent .listContainer div:first-child .hoverName1:hover .listIcon[data-v-f336ba58]{background-position-y:-16px}.test1Dialog .dialogContent .listContainer div:first-child .hoverName2[data-v-f336ba58]:hover{background:#18b88f;color:#fff;border-left:3px solid #18b88f}.test1Dialog .dialogContent .listContainer div:first-child .hoverName2:hover .listIcon[data-v-f336ba58]{background-position-y:-16px}.test1Dialog .dialogContent .listContainer div:first-child .hoverName3[data-v-f336ba58]:hover{background:#63666d;color:#fff!important;border-left:3px solid #63666d!important}.test1Dialog .dialogContent .listContainer div:first-child .hoverName3:hover .listIcon[data-v-f336ba58]{background-position-y:-16px}.test1Dialog .dialogContent .listContainer div:first-child .hoverName4[data-v-f336ba58]:hover{background:#c1172e;color:#fff!important;border-left:3px solid #c1172e!important}.test1Dialog .dialogContent .listContainer div:first-child .hoverName4:hover .listIcon[data-v-f336ba58]{background-position-y:-16px}.test1Dialog .dialogContent .listContainer div:first-child .hoverName5[data-v-f336ba58]:hover{background:#7265b9;color:#fff!important;border-left:3px solid #7265b9!important}.test1Dialog .dialogContent .listContainer div:first-child .hoverName5:hover .listIcon[data-v-f336ba58]{background-position-y:-16px}.test1Dialog .dialogContent .listContainer div:first-child .hoverName6[data-v-f336ba58]:hover{background:#927340;color:#fff!important;border-left:3px solid #927340!important}.test1Dialog .dialogContent .listContainer div:first-child .hoverName6:hover .listIcon[data-v-f336ba58]{background-position-y:-16px}.test1Dialog .dialogContent .listContainer div:first-child .hoverName7[data-v-f336ba58]:hover{background:#c2a775;color:#fff!important;border-left:3px solid #c2a775!important}.test1Dialog .dialogContent .listContainer div:first-child .hoverName7:hover .listIcon[data-v-f336ba58]{background-position-y:-16px}.test1Dialog .dialogContent .listContainer div:first-child .hoverName7.boye[data-v-f336ba58]:hover,.test1Dialog .dialogContent .listContainer div:first-child .hoverName7.mgm90[data-v-f336ba58]:hover{background:#f33523!important;color:#fff!important;border-left:3px solid #f33523!important}.test1Dialog .dialogContent .listContainer div:first-child .hoverName8[data-v-f336ba58]:hover{background:#7cd6ed;color:#fff!important;border-left:3px solid #7cd6ed!important}.test1Dialog .dialogContent .listContainer div:first-child .hoverName8:hover .listIcon[data-v-f336ba58]{background-position-y:-16px}.test1Dialog .dialogContent .listContainer div:first-child .hoverName9[data-v-f336ba58]:hover{background:#021b54;color:#fff!important;border-left:3px solid #ffd601!important}.test1Dialog .dialogContent .listContainer div:first-child .hoverName9:hover .listIcon[data-v-f336ba58]{background-position-y:-16px}.test1Dialog .dialogContent .listContainer div:first-child li[data-v-f336ba58]{margin:0!important;padding:0;display:list-item;text-align:-webkit-match-parent;position:relative}.test1Dialog .dialogContent .listContainer div:first-child li .listIcon[data-v-f336ba58]{display:inline-block;height:16px;width:16px;position:relative;top:3px;left:-9px;background:url(\"/static/public/image/list_icon.png\") no-repeat}.test1Dialog .dialogContent .listContainer div:first-child li a[data-v-f336ba58]{width:100%;display:inline-block;height:48px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding-left:20px;line-height:48px;border-left:3px solid #b0d6eb;color:#666;cursor:pointer;font-size:15px;font-family:STHeiti,microsoft yahei,\\\\5FAE\\8F6F\\96C5\\9ED1,simsun,\\\\5B8B\\4F53,arial!important}.test1Dialog .dialogContent .listContainer div:first-child li[data-v-f336ba58]:after{display:block;height:2px;content:\"\";width:100%;background-color:#dfdfdf;border-top:1px solid #fff;position:absolute;bottom:0}.test1Dialog .dialogContent .listContainer .contentBox[data-v-f336ba58]{width:780px;padding:15px;background:#f8f8f8;box-sizing:content-box;word-wrap:break-word;word-break:break-all;overflow:hidden}.test1Dialog .dialogContent .listContainer .contentBox ul[data-v-f336ba58]{width:760px;height:505px;overflow-y:auto}.test1Dialog .dialogContent .listContainer .contentBox ul li[data-v-f336ba58]{width:100%}.test1Dialog .dialogContent .listContainer .contentBox ul li p[data-v-f336ba58]{line-height:35px;font-weight:700}.test1Dialog .dialogContent .listContainer .contentBox .picTitle[data-v-f336ba58]{width:100%;background:none;font-size:18px;font-family:STHeiti,microsoft yahei,\\\\5FAE\\8F6F\\96C5\\9ED1,simsun,\\\\5B8B\\4F53,arial!important;margin-bottom:20px;font-weight:700;color:#78badc;border:none}.test1Dialog .dialogContent .listContainer .contentBox .picTitle i[data-v-f336ba58]{display:inline-block}.test1Active[data-v-f336ba58]{background:#68b0d8;color:#fff!important;border-left:3px solid #68b0d8!important}.test1Active .listIcon[data-v-f336ba58]{background-position-y:-16px!important}.betActive[data-v-f336ba58]{background:#18b88f;color:#fff!important;border-left:3px solid #18b88f!important}.betActive .listIcon[data-v-f336ba58]{background-position-y:-16px!important}.darkActive[data-v-f336ba58]{background:#63666d;color:#fff!important;border-left:3px solid #63666d!important}.darkActive .listIcon[data-v-f336ba58]{background-position-y:-16px!important}.redActive[data-v-f336ba58]{background:#c1172e;color:#fff!important;border-left:3px solid #c1172e!important}.redActive .listIcon[data-v-f336ba58]{background-position-y:-16px!important}.goldActive[data-v-f336ba58]{background:#927340;color:#fff!important;border-left:3px solid #927340!important}.goldActive .listIcon[data-v-f336ba58]{background-position-y:-16px!important}.purpleActive[data-v-f336ba58]{background:#7265b9;color:#fff!important;border-left:3px solid #7265b9!important}.purpleActive .listIcon[data-v-f336ba58]{background-position-y:-16px!important}.amhgActive[data-v-f336ba58]{background:#c2a775;color:#fff!important;border-left:3px solid #c2a775!important}.amhgActive .listIcon[data-v-f336ba58]{background-position-y:-16px!important}.boyeActive[data-v-f336ba58],.mgm90Active[data-v-f336ba58]{background:#e52429;color:#fff!important;border-left:3px solid #e52429!important}.boyeActive .listIcon[data-v-f336ba58],.mgm90Active .listIcon[data-v-f336ba58]{background-position-y:-16px!important}.blueActive[data-v-f336ba58]{background:#7cd6ed;color:#fff!important;border-left:3px solid #7cd6ed!important}.blueActive .listIcon[data-v-f336ba58]{background-position-y:-16px!important}.darkBlueActive[data-v-f336ba58]{background:#021b54;color:#fff!important;border-left:3px solid #ffd601!important}.darkBlueActive .listIcon[data-v-f336ba58]{background-position-y:-16px!important}", ""]); // exports /***/ }), /***/ "7t+N": /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! * jQuery JavaScript Library v3.6.0 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2021-03-02T17:08Z */ ( function( global, factory ) { "use strict"; if ( typeof module === "object" && typeof module.exports === "object" ) { // For CommonJS and CommonJS-like environments where a proper `window` // is present, execute the factory and get jQuery. // For environments that do not have a `window` with a `document` // (such as Node.js), expose a factory as module.exports. // This accentuates the need for the creation of a real `window`. // e.g. var jQuery = require("jquery")(window); // See ticket #14549 for more info. module.exports = global.document ? factory( global, true ) : function( w ) { if ( !w.document ) { throw new Error( "jQuery requires a window with a document" ); } return factory( w ); }; } else { factory( global ); } // Pass this if window is not defined yet } )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { // Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 // throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode // arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common // enough that all such attempts are guarded in a try block. "use strict"; var arr = []; var getProto = Object.getPrototypeOf; var slice = arr.slice; var flat = arr.flat ? function( array ) { return arr.flat.call( array ); } : function( array ) { return arr.concat.apply( [], array ); }; var push = arr.push; var indexOf = arr.indexOf; var class2type = {}; var toString = class2type.toString; var hasOwn = class2type.hasOwnProperty; var fnToString = hasOwn.toString; var ObjectFunctionString = fnToString.call( Object ); var support = {}; var isFunction = function isFunction( obj ) { // Support: Chrome <=57, Firefox <=52 // In some browsers, typeof returns "function" for HTML <object> elements // (i.e., `typeof document.createElement( "object" ) === "function"`). // We don't want to classify *any* DOM node as a function. // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 // Plus for old WebKit, typeof returns "function" for HTML collections // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) return typeof obj === "function" && typeof obj.nodeType !== "number" && typeof obj.item !== "function"; }; var isWindow = function isWindow( obj ) { return obj != null && obj === obj.window; }; var document = window.document; var preservedScriptAttributes = { type: true, src: true, nonce: true, noModule: true }; function DOMEval( code, node, doc ) { doc = doc || document; var i, val, script = doc.createElement( "script" ); script.text = code; if ( node ) { for ( i in preservedScriptAttributes ) { // Support: Firefox 64+, Edge 18+ // Some browsers don't support the "nonce" property on scripts. // On the other hand, just using `getAttribute` is not enough as // the `nonce` attribute is reset to an empty string whenever it // becomes browsing-context connected. // See https://github.com/whatwg/html/issues/2369 // See https://html.spec.whatwg.org/#nonce-attributes // The `node.getAttribute` check was added for the sake of // `jQuery.globalEval` so that it can fake a nonce-containing node // via an object. val = node[ i ] || node.getAttribute && node.getAttribute( i ); if ( val ) { script.setAttribute( i, val ); } } } doc.head.appendChild( script ).parentNode.removeChild( script ); } function toType( obj ) { if ( obj == null ) { return obj + ""; } // Support: Android <=2.3 only (functionish RegExp) return typeof obj === "object" || typeof obj === "function" ? class2type[ toString.call( obj ) ] || "object" : typeof obj; } /* global Symbol */ // Defining this global in .eslintrc.json would create a danger of using the global // unguarded in another place, it seems safer to define global only for this module var version = "3.6.0", // Define a local copy of jQuery jQuery = function( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' // Need init if jQuery is called (just allow error to be thrown if not included) return new jQuery.fn.init( selector, context ); }; jQuery.fn = jQuery.prototype = { // The current version of jQuery being used jquery: version, constructor: jQuery, // The default length of a jQuery object is 0 length: 0, toArray: function() { return slice.call( this ); }, // Get the Nth element in the matched element set OR // Get the whole matched element set as a clean array get: function( num ) { // Return all the elements in a clean array if ( num == null ) { return slice.call( this ); } // Return just the one element from the set return num < 0 ? this[ num + this.length ] : this[ num ]; }, // Take an array of elements and push it onto the stack // (returning the new matched element set) pushStack: function( elems ) { // Build a new jQuery matched element set var ret = jQuery.merge( this.constructor(), elems ); // Add the old object onto the stack (as a reference) ret.prevObject = this; // Return the newly-formed element set return ret; }, // Execute a callback for every element in the matched set. each: function( callback ) { return jQuery.each( this, callback ); }, map: function( callback ) { return this.pushStack( jQuery.map( this, function( elem, i ) { return callback.call( elem, i, elem ); } ) ); }, slice: function() { return this.pushStack( slice.apply( this, arguments ) ); }, first: function() { return this.eq( 0 ); }, last: function() { return this.eq( -1 ); }, even: function() { return this.pushStack( jQuery.grep( this, function( _elem, i ) { return ( i + 1 ) % 2; } ) ); }, odd: function() { return this.pushStack( jQuery.grep( this, function( _elem, i ) { return i % 2; } ) ); }, eq: function( i ) { var len = this.length, j = +i + ( i < 0 ? len : 0 ); return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); }, end: function() { return this.prevObject || this.constructor(); }, // For internal use only. // Behaves like an Array's method, not like a jQuery method. push: push, sort: arr.sort, splice: arr.splice }; jQuery.extend = jQuery.fn.extend = function() { var options, name, src, copy, copyIsArray, clone, target = arguments[ 0 ] || {}, i = 1, length = arguments.length, deep = false; // Handle a deep copy situation if ( typeof target === "boolean" ) { deep = target; // Skip the boolean and the target target = arguments[ i ] || {}; i++; } // Handle case when target is a string or something (possible in deep copy) if ( typeof target !== "object" && !isFunction( target ) ) { target = {}; } // Extend jQuery itself if only one argument is passed if ( i === length ) { target = this; i--; } for ( ; i < length; i++ ) { // Only deal with non-null/undefined values if ( ( options = arguments[ i ] ) != null ) { // Extend the base object for ( name in options ) { copy = options[ name ]; // Prevent Object.prototype pollution // Prevent never-ending loop if ( name === "__proto__" || target === copy ) { continue; } // Recurse if we're merging plain objects or arrays if ( deep && copy && ( jQuery.isPlainObject( copy ) || ( copyIsArray = Array.isArray( copy ) ) ) ) { src = target[ name ]; // Ensure proper type for the source value if ( copyIsArray && !Array.isArray( src ) ) { clone = []; } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { clone = {}; } else { clone = src; } copyIsArray = false; // Never move original objects, clone them target[ name ] = jQuery.extend( deep, clone, copy ); // Don't bring in undefined values } else if ( copy !== undefined ) { target[ name ] = copy; } } } } // Return the modified object return target; }; jQuery.extend( { // Unique for each copy of jQuery on the page expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), // Assume jQuery is ready without the ready module isReady: true, error: function( msg ) { throw new Error( msg ); }, noop: function() {}, isPlainObject: function( obj ) { var proto, Ctor; // Detect obvious negatives // Use toString instead of jQuery.type to catch host objects if ( !obj || toString.call( obj ) !== "[object Object]" ) { return false; } proto = getProto( obj ); // Objects with no prototype (e.g., `Object.create( null )`) are plain if ( !proto ) { return true; } // Objects with prototype are plain iff they were constructed by a global Object function Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; }, isEmptyObject: function( obj ) { var name; for ( name in obj ) { return false; } return true; }, // Evaluates a script in a provided context; falls back to the global one // if not specified. globalEval: function( code, options, doc ) { DOMEval( code, { nonce: options && options.nonce }, doc ); }, each: function( obj, callback ) { var length, i = 0; if ( isArrayLike( obj ) ) { length = obj.length; for ( ; i < length; i++ ) { if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { break; } } } else { for ( i in obj ) { if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { break; } } } return obj; }, // results is for internal usage only makeArray: function( arr, results ) { var ret = results || []; if ( arr != null ) { if ( isArrayLike( Object( arr ) ) ) { jQuery.merge( ret, typeof arr === "string" ? [ arr ] : arr ); } else { push.call( ret, arr ); } } return ret; }, inArray: function( elem, arr, i ) { return arr == null ? -1 : indexOf.call( arr, elem, i ); }, // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit merge: function( first, second ) { var len = +second.length, j = 0, i = first.length; for ( ; j < len; j++ ) { first[ i++ ] = second[ j ]; } first.length = i; return first; }, grep: function( elems, callback, invert ) { var callbackInverse, matches = [], i = 0, length = elems.length, callbackExpect = !invert; // Go through the array, only saving the items // that pass the validator function for ( ; i < length; i++ ) { callbackInverse = !callback( elems[ i ], i ); if ( callbackInverse !== callbackExpect ) { matches.push( elems[ i ] ); } } return matches; }, // arg is for internal usage only map: function( elems, callback, arg ) { var length, value, i = 0, ret = []; // Go through the array, translating each of the items to their new values if ( isArrayLike( elems ) ) { length = elems.length; for ( ; i < length; i++ ) { value = callback( elems[ i ], i, arg ); if ( value != null ) { ret.push( value ); } } // Go through every key on the object, } else { for ( i in elems ) { value = callback( elems[ i ], i, arg ); if ( value != null ) { ret.push( value ); } } } // Flatten any nested arrays return flat( ret ); }, // A global GUID counter for objects guid: 1, // jQuery.support is not used in Core but other projects attach their // properties to it so it needs to exist. support: support } ); if ( typeof Symbol === "function" ) { jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; } // Populate the class2type map jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), function( _i, name ) { class2type[ "[object " + name + "]" ] = name.toLowerCase(); } ); function isArrayLike( obj ) { // Support: real iOS 8.2 only (not reproducible in simulator) // `in` check used to prevent JIT error (gh-2145) // hasOwn isn't used here due to false negatives // regarding Nodelist length in IE var length = !!obj && "length" in obj && obj.length, type = toType( obj ); if ( isFunction( obj ) || isWindow( obj ) ) { return false; } return type === "array" || length === 0 || typeof length === "number" && length > 0 && ( length - 1 ) in obj; } var Sizzle = /*! * Sizzle CSS Selector Engine v2.3.6 * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://js.foundation/ * * Date: 2021-02-16 */ ( function( window ) { var i, support, Expr, getText, isXML, tokenize, compile, select, outermostContext, sortInput, hasDuplicate, // Local document vars setDocument, document, docElem, documentIsHTML, rbuggyQSA, rbuggyMatches, matches, contains, // Instance-specific data expando = "sizzle" + 1 * new Date(), preferredDoc = window.document, dirruns = 0, done = 0, classCache = createCache(), tokenCache = createCache(), compilerCache = createCache(), nonnativeSelectorCache = createCache(), sortOrder = function( a, b ) { if ( a === b ) { hasDuplicate = true; } return 0; }, // Instance methods hasOwn = ( {} ).hasOwnProperty, arr = [], pop = arr.pop, pushNative = arr.push, push = arr.push, slice = arr.slice, // Use a stripped-down indexOf as it's faster than native // https://jsperf.com/thor-indexof-vs-for/5 indexOf = function( list, elem ) { var i = 0, len = list.length; for ( ; i < len; i++ ) { if ( list[ i ] === elem ) { return i; } } return -1; }, booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + "ismap|loop|multiple|open|readonly|required|scoped", // Regular expressions // http://www.w3.org/TR/css3-selectors/#whitespace whitespace = "[\\x20\\t\\r\\n\\f]", // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + // Operator (capture 2) "*([*^$|!~]?=)" + whitespace + // "Attribute values must be CSS identifiers [capture 5] // or strings [capture 3 or capture 4]" "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + "*\\]", pseudos = ":(" + identifier + ")(?:\\((" + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: // 1. quoted (capture 3; capture 4 or capture 5) "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + // 2. simple (capture 6) "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + // 3. anything else (capture 2) ".*" + ")\\)|)", // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter rwhitespace = new RegExp( whitespace + "+", "g" ), rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), rdescend = new RegExp( whitespace + "|>" ), rpseudo = new RegExp( pseudos ), ridentifier = new RegExp( "^" + identifier + "$" ), matchExpr = { "ID": new RegExp( "^#(" + identifier + ")" ), "CLASS": new RegExp( "^\\.(" + identifier + ")" ), "TAG": new RegExp( "^(" + identifier + "|[*])" ), "ATTR": new RegExp( "^" + attributes ), "PSEUDO": new RegExp( "^" + pseudos ), "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), // For use in libraries implementing .is() // We use this for POS matching in `select` "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) }, rhtml = /HTML$/i, rinputs = /^(?:input|select|textarea|button)$/i, rheader = /^h\d$/i, rnative = /^[^{]+\{\s*\[native \w/, // Easily-parseable/retrievable ID or TAG or CLASS selectors rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, rsibling = /[+~]/, // CSS escapes // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), funescape = function( escape, nonHex ) { var high = "0x" + escape.slice( 1 ) - 0x10000; return nonHex ? // Strip the backslash prefix from a non-hex escape sequence nonHex : // Replace a hexadecimal escape sequence with the encoded Unicode code point // Support: IE <=11+ // For values outside the Basic Multilingual Plane (BMP), manually construct a // surrogate pair high < 0 ? String.fromCharCode( high + 0x10000 ) : String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); }, // CSS string/identifier serialization // https://drafts.csswg.org/cssom/#common-serializing-idioms rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, fcssescape = function( ch, asCodePoint ) { if ( asCodePoint ) { // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER if ( ch === "\0" ) { return "\uFFFD"; } // Control characters and (dependent upon position) numbers get escaped as code points return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; } // Other potentially-special ASCII characters get backslash-escaped return "\\" + ch; }, // Used for iframes // See setDocument() // Removing the function wrapper causes a "Permission Denied" // error in IE unloadHandler = function() { setDocument(); }, inDisabledFieldset = addCombinator( function( elem ) { return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; }, { dir: "parentNode", next: "legend" } ); // Optimize for push.apply( _, NodeList ) try { push.apply( ( arr = slice.call( preferredDoc.childNodes ) ), preferredDoc.childNodes ); // Support: Android<4.0 // Detect silently failing push.apply // eslint-disable-next-line no-unused-expressions arr[ preferredDoc.childNodes.length ].nodeType; } catch ( e ) { push = { apply: arr.length ? // Leverage slice if possible function( target, els ) { pushNative.apply( target, slice.call( els ) ); } : // Support: IE<9 // Otherwise append directly function( target, els ) { var j = target.length, i = 0; // Can't trust NodeList.length while ( ( target[ j++ ] = els[ i++ ] ) ) {} target.length = j - 1; } }; } function Sizzle( selector, context, results, seed ) { var m, i, elem, nid, match, groups, newSelector, newContext = context && context.ownerDocument, // nodeType defaults to 9, since context defaults to document nodeType = context ? context.nodeType : 9; results = results || []; // Return early from calls with invalid selector or context if ( typeof selector !== "string" || !selector || nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { return results; } // Try to shortcut find operations (as opposed to filters) in HTML documents if ( !seed ) { setDocument( context ); context = context || document; if ( documentIsHTML ) { // If the selector is sufficiently simple, try using a "get*By*" DOM method // (excepting DocumentFragment context, where the methods don't exist) if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { // ID selector if ( ( m = match[ 1 ] ) ) { // Document context if ( nodeType === 9 ) { if ( ( elem = context.getElementById( m ) ) ) { // Support: IE, Opera, Webkit // TODO: identify versions // getElementById can match elements by name instead of ID if ( elem.id === m ) { results.push( elem ); return results; } } else { return results; } // Element context } else { // Support: IE, Opera, Webkit // TODO: identify versions // getElementById can match elements by name instead of ID if ( newContext && ( elem = newContext.getElementById( m ) ) && contains( context, elem ) && elem.id === m ) { results.push( elem ); return results; } } // Type selector } else if ( match[ 2 ] ) { push.apply( results, context.getElementsByTagName( selector ) ); return results; // Class selector } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && context.getElementsByClassName ) { push.apply( results, context.getElementsByClassName( m ) ); return results; } } // Take advantage of querySelectorAll if ( support.qsa && !nonnativeSelectorCache[ selector + " " ] && ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && // Support: IE 8 only // Exclude object elements ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { newSelector = selector; newContext = context; // qSA considers elements outside a scoping root when evaluating child or // descendant combinators, which is not what we want. // In such cases, we work around the behavior by prefixing every selector in the // list with an ID selector referencing the scope context. // The technique has to be used as well when a leading combinator is used // as such selectors are not recognized by querySelectorAll. // Thanks to Andrew Dupont for this technique. if ( nodeType === 1 && ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { // Expand context for sibling selectors newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; // We can use :scope instead of the ID hack if the browser // supports it & if we're not changing the context. if ( newContext !== context || !support.scope ) { // Capture the context ID, setting it first if necessary if ( ( nid = context.getAttribute( "id" ) ) ) { nid = nid.replace( rcssescape, fcssescape ); } else { context.setAttribute( "id", ( nid = expando ) ); } } // Prefix every selector in the list groups = tokenize( selector ); i = groups.length; while ( i-- ) { groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + toSelector( groups[ i ] ); } newSelector = groups.join( "," ); } try { push.apply( results, newContext.querySelectorAll( newSelector ) ); return results; } catch ( qsaError ) { nonnativeSelectorCache( selector, true ); } finally { if ( nid === expando ) { context.removeAttribute( "id" ); } } } } } // All others return select( selector.replace( rtrim, "$1" ), context, results, seed ); } /** * Create key-value caches of limited size * @returns {function(string, object)} Returns the Object data after storing it on itself with * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) * deleting the oldest entry */ function createCache() { var keys = []; function cache( key, value ) { // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) if ( keys.push( key + " " ) > Expr.cacheLength ) { // Only keep the most recent entries delete cache[ keys.shift() ]; } return ( cache[ key + " " ] = value ); } return cache; } /** * Mark a function for special use by Sizzle * @param {Function} fn The function to mark */ function markFunction( fn ) { fn[ expando ] = true; return fn; } /** * Support testing using an element * @param {Function} fn Passed the created element and returns a boolean result */ function assert( fn ) { var el = document.createElement( "fieldset" ); try { return !!fn( el ); } catch ( e ) { return false; } finally { // Remove from its parent by default if ( el.parentNode ) { el.parentNode.removeChild( el ); } // release memory in IE el = null; } } /** * Adds the same handler for all of the specified attrs * @param {String} attrs Pipe-separated list of attributes * @param {Function} handler The method that will be applied */ function addHandle( attrs, handler ) { var arr = attrs.split( "|" ), i = arr.length; while ( i-- ) { Expr.attrHandle[ arr[ i ] ] = handler; } } /** * Checks document order of two siblings * @param {Element} a * @param {Element} b * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b */ function siblingCheck( a, b ) { var cur = b && a, diff = cur && a.nodeType === 1 && b.nodeType === 1 && a.sourceIndex - b.sourceIndex; // Use IE sourceIndex if available on both nodes if ( diff ) { return diff; } // Check if b follows a if ( cur ) { while ( ( cur = cur.nextSibling ) ) { if ( cur === b ) { return -1; } } } return a ? 1 : -1; } /** * Returns a function to use in pseudos for input types * @param {String} type */ function createInputPseudo( type ) { return function( elem ) { var name = elem.nodeName.toLowerCase(); return name === "input" && elem.type === type; }; } /** * Returns a function to use in pseudos for buttons * @param {String} type */ function createButtonPseudo( type ) { return function( elem ) { var name = elem.nodeName.toLowerCase(); return ( name === "input" || name === "button" ) && elem.type === type; }; } /** * Returns a function to use in pseudos for :enabled/:disabled * @param {Boolean} disabled true for :disabled; false for :enabled */ function createDisabledPseudo( disabled ) { // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable return function( elem ) { // Only certain elements can match :enabled or :disabled // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled if ( "form" in elem ) { // Check for inherited disabledness on relevant non-disabled elements: // * listed form-associated elements in a disabled fieldset // https://html.spec.whatwg.org/multipage/forms.html#category-listed // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled // * option elements in a disabled optgroup // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled // All such elements have a "form" property. if ( elem.parentNode && elem.disabled === false ) { // Option elements defer to a parent optgroup if present if ( "label" in elem ) { if ( "label" in elem.parentNode ) { return elem.parentNode.disabled === disabled; } else { return elem.disabled === disabled; } } // Support: IE 6 - 11 // Use the isDisabled shortcut property to check for disabled fieldset ancestors return elem.isDisabled === disabled || // Where there is no isDisabled, check manually /* jshint -W018 */ elem.isDisabled !== !disabled && inDisabledFieldset( elem ) === disabled; } return elem.disabled === disabled; // Try to winnow out elements that can't be disabled before trusting the disabled property. // Some victims get caught in our net (label, legend, menu, track), but it shouldn't // even exist on them, let alone have a boolean value. } else if ( "label" in elem ) { return elem.disabled === disabled; } // Remaining elements are neither :enabled nor :disabled return false; }; } /** * Returns a function to use in pseudos for positionals * @param {Function} fn */ function createPositionalPseudo( fn ) { return markFunction( function( argument ) { argument = +argument; return markFunction( function( seed, matches ) { var j, matchIndexes = fn( [], seed.length, argument ), i = matchIndexes.length; // Match elements found at the specified indexes while ( i-- ) { if ( seed[ ( j = matchIndexes[ i ] ) ] ) { seed[ j ] = !( matches[ j ] = seed[ j ] ); } } } ); } ); } /** * Checks a node for validity as a Sizzle context * @param {Element|Object=} context * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value */ function testContext( context ) { return context && typeof context.getElementsByTagName !== "undefined" && context; } // Expose support vars for convenience support = Sizzle.support = {}; /** * Detects XML nodes * @param {Element|Object} elem An element or a document * @returns {Boolean} True iff elem is a non-HTML XML node */ isXML = Sizzle.isXML = function( elem ) { var namespace = elem && elem.namespaceURI, docElem = elem && ( elem.ownerDocument || elem ).documentElement; // Support: IE <=8 // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes // https://bugs.jquery.com/ticket/4833 return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); }; /** * Sets document-related variables once based on the current document * @param {Element|Object} [doc] An element or document object to use to set the document * @returns {Object} Returns the current document */ setDocument = Sizzle.setDocument = function( node ) { var hasCompare, subWindow, doc = node ? node.ownerDocument || node : preferredDoc; // Return early if doc is invalid or already selected // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { return document; } // Update global variables document = doc; docElem = document.documentElement; documentIsHTML = !isXML( document ); // Support: IE 9 - 11+, Edge 12 - 18+ // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( preferredDoc != document && ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { // Support: IE 11, Edge if ( subWindow.addEventListener ) { subWindow.addEventListener( "unload", unloadHandler, false ); // Support: IE 9 - 10 only } else if ( subWindow.attachEvent ) { subWindow.attachEvent( "onunload", unloadHandler ); } } // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, // Safari 4 - 5 only, Opera <=11.6 - 12.x only // IE/Edge & older browsers don't support the :scope pseudo-class. // Support: Safari 6.0 only // Safari 6.0 supports :scope but it's an alias of :root there. support.scope = assert( function( el ) { docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); return typeof el.querySelectorAll !== "undefined" && !el.querySelectorAll( ":scope fieldset div" ).length; } ); /* Attributes ---------------------------------------------------------------------- */ // Support: IE<8 // Verify that getAttribute really returns attributes and not properties // (excepting IE8 booleans) support.attributes = assert( function( el ) { el.className = "i"; return !el.getAttribute( "className" ); } ); /* getElement(s)By* ---------------------------------------------------------------------- */ // Check if getElementsByTagName("*") returns only elements support.getElementsByTagName = assert( function( el ) { el.appendChild( document.createComment( "" ) ); return !el.getElementsByTagName( "*" ).length; } ); // Support: IE<9 support.getElementsByClassName = rnative.test( document.getElementsByClassName ); // Support: IE<10 // Check if getElementById returns elements by name // The broken getElementById methods don't pick up programmatically-set names, // so use a roundabout getElementsByName test support.getById = assert( function( el ) { docElem.appendChild( el ).id = expando; return !document.getElementsByName || !document.getElementsByName( expando ).length; } ); // ID filter and find if ( support.getById ) { Expr.filter[ "ID" ] = function( id ) { var attrId = id.replace( runescape, funescape ); return function( elem ) { return elem.getAttribute( "id" ) === attrId; }; }; Expr.find[ "ID" ] = function( id, context ) { if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { var elem = context.getElementById( id ); return elem ? [ elem ] : []; } }; } else { Expr.filter[ "ID" ] = function( id ) { var attrId = id.replace( runescape, funescape ); return function( elem ) { var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode( "id" ); return node && node.value === attrId; }; }; // Support: IE 6 - 7 only // getElementById is not reliable as a find shortcut Expr.find[ "ID" ] = function( id, context ) { if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { var node, i, elems, elem = context.getElementById( id ); if ( elem ) { // Verify the id attribute node = elem.getAttributeNode( "id" ); if ( node && node.value === id ) { return [ elem ]; } // Fall back on getElementsByName elems = context.getElementsByName( id ); i = 0; while ( ( elem = elems[ i++ ] ) ) { node = elem.getAttributeNode( "id" ); if ( node && node.value === id ) { return [ elem ]; } } } return []; } }; } // Tag Expr.find[ "TAG" ] = support.getElementsByTagName ? function( tag, context ) { if ( typeof context.getElementsByTagName !== "undefined" ) { return context.getElementsByTagName( tag ); // DocumentFragment nodes don't have gEBTN } else if ( support.qsa ) { return context.querySelectorAll( tag ); } } : function( tag, context ) { var elem, tmp = [], i = 0, // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too results = context.getElementsByTagName( tag ); // Filter out possible comments if ( tag === "*" ) { while ( ( elem = results[ i++ ] ) ) { if ( elem.nodeType === 1 ) { tmp.push( elem ); } } return tmp; } return results; }; // Class Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { return context.getElementsByClassName( className ); } }; /* QSA/matchesSelector ---------------------------------------------------------------------- */ // QSA and matchesSelector support // matchesSelector(:active) reports false when true (IE9/Opera 11.5) rbuggyMatches = []; // qSa(:focus) reports false when true (Chrome 21) // We allow this because of a bug in IE8/9 that throws an error // whenever `document.activeElement` is accessed on an iframe // So, we allow :focus to pass through QSA all the time to avoid the IE error // See https://bugs.jquery.com/ticket/13378 rbuggyQSA = []; if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { // Build QSA regex // Regex strategy adopted from Diego Perini assert( function( el ) { var input; // Select is set to empty string on purpose // This is to test IE's treatment of not explicitly // setting a boolean content attribute, // since its presence should be enough // https://bugs.jquery.com/ticket/12359 docElem.appendChild( el ).innerHTML = "<a id='" + expando + "'></a>" + "<select id='" + expando + "-\r\\' msallowcapture=''>" + "<option selected=''></option></select>"; // Support: IE8, Opera 11-12.16 // Nothing should be selected when empty strings follow ^= or $= or *= // The test attribute must be unknown in Opera but "safe" for WinRT // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); } // Support: IE8 // Boolean attributes and "value" are not treated correctly if ( !el.querySelectorAll( "[selected]" ).length ) { rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); } // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { rbuggyQSA.push( "~=" ); } // Support: IE 11+, Edge 15 - 18+ // IE 11/Edge don't find elements on a `[name='']` query in some cases. // Adding a temporary attribute to the document before the selection works // around the issue. // Interestingly, IE 10 & older don't seem to have the issue. input = document.createElement( "input" ); input.setAttribute( "name", "" ); el.appendChild( input ); if ( !el.querySelectorAll( "[name='']" ).length ) { rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + whitespace + "*(?:''|\"\")" ); } // Webkit/Opera - :checked should return selected option elements // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked // IE8 throws error here and will not see later tests if ( !el.querySelectorAll( ":checked" ).length ) { rbuggyQSA.push( ":checked" ); } // Support: Safari 8+, iOS 8+ // https://bugs.webkit.org/show_bug.cgi?id=136851 // In-page `selector#id sibling-combinator selector` fails if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { rbuggyQSA.push( ".#.+[+~]" ); } // Support: Firefox <=3.6 - 5 only // Old Firefox doesn't throw on a badly-escaped identifier. el.querySelectorAll( "\\\f" ); rbuggyQSA.push( "[\\r\\n\\f]" ); } ); assert( function( el ) { el.innerHTML = "<a href='' disabled='disabled'></a>" + "<select disabled='disabled'><option/></select>"; // Support: Windows 8 Native Apps // The type and name attributes are restricted during .innerHTML assignment var input = document.createElement( "input" ); input.setAttribute( "type", "hidden" ); el.appendChild( input ).setAttribute( "name", "D" ); // Support: IE8 // Enforce case-sensitivity of name attribute if ( el.querySelectorAll( "[name=d]" ).length ) { rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); } // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) // IE8 throws error here and will not see later tests if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { rbuggyQSA.push( ":enabled", ":disabled" ); } // Support: IE9-11+ // IE's :disabled selector does not pick up the children of disabled fieldsets docElem.appendChild( el ).disabled = true; if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { rbuggyQSA.push( ":enabled", ":disabled" ); } // Support: Opera 10 - 11 only // Opera 10-11 does not throw on post-comma invalid pseudos el.querySelectorAll( "*,:x" ); rbuggyQSA.push( ",.*:" ); } ); } if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || docElem.webkitMatchesSelector || docElem.mozMatchesSelector || docElem.oMatchesSelector || docElem.msMatchesSelector ) ) ) ) { assert( function( el ) { // Check to see if it's possible to do matchesSelector // on a disconnected node (IE 9) support.disconnectedMatch = matches.call( el, "*" ); // This should fail with an exception // Gecko does not error, returns false instead matches.call( el, "[s!='']:x" ); rbuggyMatches.push( "!=", pseudos ); } ); } rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); /* Contains ---------------------------------------------------------------------- */ hasCompare = rnative.test( docElem.compareDocumentPosition ); // Element contains another // Purposefully self-exclusive // As in, an element does not contain itself contains = hasCompare || rnative.test( docElem.contains ) ? function( a, b ) { var adown = a.nodeType === 9 ? a.documentElement : a, bup = b && b.parentNode; return a === bup || !!( bup && bup.nodeType === 1 && ( adown.contains ? adown.contains( bup ) : a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 ) ); } : function( a, b ) { if ( b ) { while ( ( b = b.parentNode ) ) { if ( b === a ) { return true; } } } return false; }; /* Sorting ---------------------------------------------------------------------- */ // Document order sorting sortOrder = hasCompare ? function( a, b ) { // Flag for duplicate removal if ( a === b ) { hasDuplicate = true; return 0; } // Sort on method existence if only one input has compareDocumentPosition var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; if ( compare ) { return compare; } // Calculate position if both inputs belong to the same document // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? a.compareDocumentPosition( b ) : // Otherwise we know they are disconnected 1; // Disconnected nodes if ( compare & 1 || ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { // Choose the first element that is related to our preferred document // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( a == document || a.ownerDocument == preferredDoc && contains( preferredDoc, a ) ) { return -1; } // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( b == document || b.ownerDocument == preferredDoc && contains( preferredDoc, b ) ) { return 1; } // Maintain original order return sortInput ? ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : 0; } return compare & 4 ? -1 : 1; } : function( a, b ) { // Exit early if the nodes are identical if ( a === b ) { hasDuplicate = true; return 0; } var cur, i = 0, aup = a.parentNode, bup = b.parentNode, ap = [ a ], bp = [ b ]; // Parentless nodes are either documents or disconnected if ( !aup || !bup ) { // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. /* eslint-disable eqeqeq */ return a == document ? -1 : b == document ? 1 : /* eslint-enable eqeqeq */ aup ? -1 : bup ? 1 : sortInput ? ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : 0; // If the nodes are siblings, we can do a quick check } else if ( aup === bup ) { return siblingCheck( a, b ); } // Otherwise we need full lists of their ancestors for comparison cur = a; while ( ( cur = cur.parentNode ) ) { ap.unshift( cur ); } cur = b; while ( ( cur = cur.parentNode ) ) { bp.unshift( cur ); } // Walk down the tree looking for a discrepancy while ( ap[ i ] === bp[ i ] ) { i++; } return i ? // Do a sibling check if the nodes have a common ancestor siblingCheck( ap[ i ], bp[ i ] ) : // Otherwise nodes in our document sort first // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. /* eslint-disable eqeqeq */ ap[ i ] == preferredDoc ? -1 : bp[ i ] == preferredDoc ? 1 : /* eslint-enable eqeqeq */ 0; }; return document; }; Sizzle.matches = function( expr, elements ) { return Sizzle( expr, null, null, elements ); }; Sizzle.matchesSelector = function( elem, expr ) { setDocument( elem ); if ( support.matchesSelector && documentIsHTML && !nonnativeSelectorCache[ expr + " " ] && ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { try { var ret = matches.call( elem, expr ); // IE 9's matchesSelector returns false on disconnected nodes if ( ret || support.disconnectedMatch || // As well, disconnected nodes are said to be in a document // fragment in IE 9 elem.document && elem.document.nodeType !== 11 ) { return ret; } } catch ( e ) { nonnativeSelectorCache( expr, true ); } } return Sizzle( expr, document, null, [ elem ] ).length > 0; }; Sizzle.contains = function( context, elem ) { // Set document vars if needed // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( ( context.ownerDocument || context ) != document ) { setDocument( context ); } return contains( context, elem ); }; Sizzle.attr = function( elem, name ) { // Set document vars if needed // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( ( elem.ownerDocument || elem ) != document ) { setDocument( elem ); } var fn = Expr.attrHandle[ name.toLowerCase() ], // Don't get fooled by Object.prototype properties (jQuery #13807) val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? fn( elem, name, !documentIsHTML ) : undefined; return val !== undefined ? val : support.attributes || !documentIsHTML ? elem.getAttribute( name ) : ( val = elem.getAttributeNode( name ) ) && val.specified ? val.value : null; }; Sizzle.escape = function( sel ) { return ( sel + "" ).replace( rcssescape, fcssescape ); }; Sizzle.error = function( msg ) { throw new Error( "Syntax error, unrecognized expression: " + msg ); }; /** * Document sorting and removing duplicates * @param {ArrayLike} results */ Sizzle.uniqueSort = function( results ) { var elem, duplicates = [], j = 0, i = 0; // Unless we *know* we can detect duplicates, assume their presence hasDuplicate = !support.detectDuplicates; sortInput = !support.sortStable && results.slice( 0 ); results.sort( sortOrder ); if ( hasDuplicate ) { while ( ( elem = results[ i++ ] ) ) { if ( elem === results[ i ] ) { j = duplicates.push( i ); } } while ( j-- ) { results.splice( duplicates[ j ], 1 ); } } // Clear input after sorting to release objects // See https://github.com/jquery/sizzle/pull/225 sortInput = null; return results; }; /** * Utility function for retrieving the text value of an array of DOM nodes * @param {Array|Element} elem */ getText = Sizzle.getText = function( elem ) { var node, ret = "", i = 0, nodeType = elem.nodeType; if ( !nodeType ) { // If no nodeType, this is expected to be an array while ( ( node = elem[ i++ ] ) ) { // Do not traverse comment nodes ret += getText( node ); } } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { // Use textContent for elements // innerText usage removed for consistency of new lines (jQuery #11153) if ( typeof elem.textContent === "string" ) { return elem.textContent; } else { // Traverse its children for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { ret += getText( elem ); } } } else if ( nodeType === 3 || nodeType === 4 ) { return elem.nodeValue; } // Do not include comment or processing instruction nodes return ret; }; Expr = Sizzle.selectors = { // Can be adjusted by the user cacheLength: 50, createPseudo: markFunction, match: matchExpr, attrHandle: {}, find: {}, relative: { ">": { dir: "parentNode", first: true }, " ": { dir: "parentNode" }, "+": { dir: "previousSibling", first: true }, "~": { dir: "previousSibling" } }, preFilter: { "ATTR": function( match ) { match[ 1 ] = match[ 1 ].replace( runescape, funescape ); // Move the given value to match[3] whether quoted or unquoted match[ 3 ] = ( match[ 3 ] || match[ 4 ] || match[ 5 ] || "" ).replace( runescape, funescape ); if ( match[ 2 ] === "~=" ) { match[ 3 ] = " " + match[ 3 ] + " "; } return match.slice( 0, 4 ); }, "CHILD": function( match ) { /* matches from matchExpr["CHILD"] 1 type (only|nth|...) 2 what (child|of-type) 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) 4 xn-component of xn+y argument ([+-]?\d*n|) 5 sign of xn-component 6 x of xn-component 7 sign of y-component 8 y of y-component */ match[ 1 ] = match[ 1 ].toLowerCase(); if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { // nth-* requires argument if ( !match[ 3 ] ) { Sizzle.error( match[ 0 ] ); } // numeric x and y parameters for Expr.filter.CHILD // remember that false/true cast respectively to 0/1 match[ 4 ] = +( match[ 4 ] ? match[ 5 ] + ( match[ 6 ] || 1 ) : 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); // other types prohibit arguments } else if ( match[ 3 ] ) { Sizzle.error( match[ 0 ] ); } return match; }, "PSEUDO": function( match ) { var excess, unquoted = !match[ 6 ] && match[ 2 ]; if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { return null; } // Accept quoted arguments as-is if ( match[ 3 ] ) { match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; // Strip excess characters from unquoted arguments } else if ( unquoted && rpseudo.test( unquoted ) && // Get excess from tokenize (recursively) ( excess = tokenize( unquoted, true ) ) && // advance to the next closing parenthesis ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { // excess is a negative index match[ 0 ] = match[ 0 ].slice( 0, excess ); match[ 2 ] = unquoted.slice( 0, excess ); } // Return only captures needed by the pseudo filter method (type and argument) return match.slice( 0, 3 ); } }, filter: { "TAG": function( nodeNameSelector ) { var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); return nodeNameSelector === "*" ? function() { return true; } : function( elem ) { return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; }; }, "CLASS": function( className ) { var pattern = classCache[ className + " " ]; return pattern || ( pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( className, function( elem ) { return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute( "class" ) || "" ); } ); }, "ATTR": function( name, operator, check ) { return function( elem ) { var result = Sizzle.attr( elem, name ); if ( result == null ) { return operator === "!="; } if ( !operator ) { return true; } result += ""; /* eslint-disable max-len */ return operator === "=" ? result === check : operator === "!=" ? result !== check : operator === "^=" ? check && result.indexOf( check ) === 0 : operator === "*=" ? check && result.indexOf( check ) > -1 : operator === "$=" ? check && result.slice( -check.length ) === check : operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : false; /* eslint-enable max-len */ }; }, "CHILD": function( type, what, _argument, first, last ) { var simple = type.slice( 0, 3 ) !== "nth", forward = type.slice( -4 ) !== "last", ofType = what === "of-type"; return first === 1 && last === 0 ? // Shortcut for :nth-*(n) function( elem ) { return !!elem.parentNode; } : function( elem, _context, xml ) { var cache, uniqueCache, outerCache, node, nodeIndex, start, dir = simple !== forward ? "nextSibling" : "previousSibling", parent = elem.parentNode, name = ofType && elem.nodeName.toLowerCase(), useCache = !xml && !ofType, diff = false; if ( parent ) { // :(first|last|only)-(child|of-type) if ( simple ) { while ( dir ) { node = elem; while ( ( node = node[ dir ] ) ) { if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { return false; } } // Reverse direction for :only-* (if we haven't yet done so) start = dir = type === "only" && !start && "nextSibling"; } return true; } start = [ forward ? parent.firstChild : parent.lastChild ]; // non-xml :nth-child(...) stores cache data on `parent` if ( forward && useCache ) { // Seek `elem` from a previously-cached index // ...in a gzip-friendly way node = parent; outerCache = node[ expando ] || ( node[ expando ] = {} ); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ node.uniqueID ] || ( outerCache[ node.uniqueID ] = {} ); cache = uniqueCache[ type ] || []; nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; diff = nodeIndex && cache[ 2 ]; node = nodeIndex && parent.childNodes[ nodeIndex ]; while ( ( node = ++nodeIndex && node && node[ dir ] || // Fallback to seeking `elem` from the start ( diff = nodeIndex = 0 ) || start.pop() ) ) { // When found, cache indexes on `parent` and break if ( node.nodeType === 1 && ++diff && node === elem ) { uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; break; } } } else { // Use previously-cached element index if available if ( useCache ) { // ...in a gzip-friendly way node = elem; outerCache = node[ expando ] || ( node[ expando ] = {} ); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ node.uniqueID ] || ( outerCache[ node.uniqueID ] = {} ); cache = uniqueCache[ type ] || []; nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; diff = nodeIndex; } // xml :nth-child(...) // or :nth-last-child(...) or :nth(-last)?-of-type(...) if ( diff === false ) { // Use the same loop as above to seek `elem` from the start while ( ( node = ++nodeIndex && node && node[ dir ] || ( diff = nodeIndex = 0 ) || start.pop() ) ) { if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { // Cache the index of each encountered element if ( useCache ) { outerCache = node[ expando ] || ( node[ expando ] = {} ); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ node.uniqueID ] || ( outerCache[ node.uniqueID ] = {} ); uniqueCache[ type ] = [ dirruns, diff ]; } if ( node === elem ) { break; } } } } } // Incorporate the offset, then check against cycle size diff -= last; return diff === first || ( diff % first === 0 && diff / first >= 0 ); } }; }, "PSEUDO": function( pseudo, argument ) { // pseudo-class names are case-insensitive // http://www.w3.org/TR/selectors/#pseudo-classes // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters // Remember that setFilters inherits from pseudos var args, fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || Sizzle.error( "unsupported pseudo: " + pseudo ); // The user may use createPseudo to indicate that // arguments are needed to create the filter function // just as Sizzle does if ( fn[ expando ] ) { return fn( argument ); } // But maintain support for old signatures if ( fn.length > 1 ) { args = [ pseudo, pseudo, "", argument ]; return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? markFunction( function( seed, matches ) { var idx, matched = fn( seed, argument ), i = matched.length; while ( i-- ) { idx = indexOf( seed, matched[ i ] ); seed[ idx ] = !( matches[ idx ] = matched[ i ] ); } } ) : function( elem ) { return fn( elem, 0, args ); }; } return fn; } }, pseudos: { // Potentially complex pseudos "not": markFunction( function( selector ) { // Trim the selector passed to compile // to avoid treating leading and trailing // spaces as combinators var input = [], results = [], matcher = compile( selector.replace( rtrim, "$1" ) ); return matcher[ expando ] ? markFunction( function( seed, matches, _context, xml ) { var elem, unmatched = matcher( seed, null, xml, [] ), i = seed.length; // Match elements unmatched by `matcher` while ( i-- ) { if ( ( elem = unmatched[ i ] ) ) { seed[ i ] = !( matches[ i ] = elem ); } } } ) : function( elem, _context, xml ) { input[ 0 ] = elem; matcher( input, null, xml, results ); // Don't keep the element (issue #299) input[ 0 ] = null; return !results.pop(); }; } ), "has": markFunction( function( selector ) { return function( elem ) { return Sizzle( selector, elem ).length > 0; }; } ), "contains": markFunction( function( text ) { text = text.replace( runescape, funescape ); return function( elem ) { return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; }; } ), // "Whether an element is represented by a :lang() selector // is based solely on the element's language value // being equal to the identifier C, // or beginning with the identifier C immediately followed by "-". // The matching of C against the element's language value is performed case-insensitively. // The identifier C does not have to be a valid language name." // http://www.w3.org/TR/selectors/#lang-pseudo "lang": markFunction( function( lang ) { // lang value must be a valid identifier if ( !ridentifier.test( lang || "" ) ) { Sizzle.error( "unsupported lang: " + lang ); } lang = lang.replace( runescape, funescape ).toLowerCase(); return function( elem ) { var elemLang; do { if ( ( elemLang = documentIsHTML ? elem.lang : elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { elemLang = elemLang.toLowerCase(); return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; } } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); return false; }; } ), // Miscellaneous "target": function( elem ) { var hash = window.location && window.location.hash; return hash && hash.slice( 1 ) === elem.id; }, "root": function( elem ) { return elem === docElem; }, "focus": function( elem ) { return elem === document.activeElement && ( !document.hasFocus || document.hasFocus() ) && !!( elem.type || elem.href || ~elem.tabIndex ); }, // Boolean properties "enabled": createDisabledPseudo( false ), "disabled": createDisabledPseudo( true ), "checked": function( elem ) { // In CSS3, :checked should return both checked and selected elements // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked var nodeName = elem.nodeName.toLowerCase(); return ( nodeName === "input" && !!elem.checked ) || ( nodeName === "option" && !!elem.selected ); }, "selected": function( elem ) { // Accessing this property makes selected-by-default // options in Safari work properly if ( elem.parentNode ) { // eslint-disable-next-line no-unused-expressions elem.parentNode.selectedIndex; } return elem.selected === true; }, // Contents "empty": function( elem ) { // http://www.w3.org/TR/selectors/#empty-pseudo // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), // but not by others (comment: 8; processing instruction: 7; etc.) // nodeType < 6 works because attributes (2) do not appear as children for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { if ( elem.nodeType < 6 ) { return false; } } return true; }, "parent": function( elem ) { return !Expr.pseudos[ "empty" ]( elem ); }, // Element/input types "header": function( elem ) { return rheader.test( elem.nodeName ); }, "input": function( elem ) { return rinputs.test( elem.nodeName ); }, "button": function( elem ) { var name = elem.nodeName.toLowerCase(); return name === "input" && elem.type === "button" || name === "button"; }, "text": function( elem ) { var attr; return elem.nodeName.toLowerCase() === "input" && elem.type === "text" && // Support: IE<8 // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" ( ( attr = elem.getAttribute( "type" ) ) == null || attr.toLowerCase() === "text" ); }, // Position-in-collection "first": createPositionalPseudo( function() { return [ 0 ]; } ), "last": createPositionalPseudo( function( _matchIndexes, length ) { return [ length - 1 ]; } ), "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { return [ argument < 0 ? argument + length : argument ]; } ), "even": createPositionalPseudo( function( matchIndexes, length ) { var i = 0; for ( ; i < length; i += 2 ) { matchIndexes.push( i ); } return matchIndexes; } ), "odd": createPositionalPseudo( function( matchIndexes, length ) { var i = 1; for ( ; i < length; i += 2 ) { matchIndexes.push( i ); } return matchIndexes; } ), "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { var i = argument < 0 ? argument + length : argument > length ? length : argument; for ( ; --i >= 0; ) { matchIndexes.push( i ); } return matchIndexes; } ), "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { var i = argument < 0 ? argument + length : argument; for ( ; ++i < length; ) { matchIndexes.push( i ); } return matchIndexes; } ) } }; Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; // Add button/input type pseudos for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { Expr.pseudos[ i ] = createInputPseudo( i ); } for ( i in { submit: true, reset: true } ) { Expr.pseudos[ i ] = createButtonPseudo( i ); } // Easy API for creating new setFilters function setFilters() {} setFilters.prototype = Expr.filters = Expr.pseudos; Expr.setFilters = new setFilters(); tokenize = Sizzle.tokenize = function( selector, parseOnly ) { var matched, match, tokens, type, soFar, groups, preFilters, cached = tokenCache[ selector + " " ]; if ( cached ) { return parseOnly ? 0 : cached.slice( 0 ); } soFar = selector; groups = []; preFilters = Expr.preFilter; while ( soFar ) { // Comma and first run if ( !matched || ( match = rcomma.exec( soFar ) ) ) { if ( match ) { // Don't consume trailing commas as valid soFar = soFar.slice( match[ 0 ].length ) || soFar; } groups.push( ( tokens = [] ) ); } matched = false; // Combinators if ( ( match = rcombinators.exec( soFar ) ) ) { matched = match.shift(); tokens.push( { value: matched, // Cast descendant combinators to space type: match[ 0 ].replace( rtrim, " " ) } ); soFar = soFar.slice( matched.length ); } // Filters for ( type in Expr.filter ) { if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || ( match = preFilters[ type ]( match ) ) ) ) { matched = match.shift(); tokens.push( { value: matched, type: type, matches: match } ); soFar = soFar.slice( matched.length ); } } if ( !matched ) { break; } } // Return the length of the invalid excess // if we're just parsing // Otherwise, throw an error or return tokens return parseOnly ? soFar.length : soFar ? Sizzle.error( selector ) : // Cache the tokens tokenCache( selector, groups ).slice( 0 ); }; function toSelector( tokens ) { var i = 0, len = tokens.length, selector = ""; for ( ; i < len; i++ ) { selector += tokens[ i ].value; } return selector; } function addCombinator( matcher, combinator, base ) { var dir = combinator.dir, skip = combinator.next, key = skip || dir, checkNonElements = base && key === "parentNode", doneName = done++; return combinator.first ? // Check against closest ancestor/preceding element function( elem, context, xml ) { while ( ( elem = elem[ dir ] ) ) { if ( elem.nodeType === 1 || checkNonElements ) { return matcher( elem, context, xml ); } } return false; } : // Check against all ancestor/preceding elements function( elem, context, xml ) { var oldCache, uniqueCache, outerCache, newCache = [ dirruns, doneName ]; // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching if ( xml ) { while ( ( elem = elem[ dir ] ) ) { if ( elem.nodeType === 1 || checkNonElements ) { if ( matcher( elem, context, xml ) ) { return true; } } } } else { while ( ( elem = elem[ dir ] ) ) { if ( elem.nodeType === 1 || checkNonElements ) { outerCache = elem[ expando ] || ( elem[ expando ] = {} ); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ elem.uniqueID ] || ( outerCache[ elem.uniqueID ] = {} ); if ( skip && skip === elem.nodeName.toLowerCase() ) { elem = elem[ dir ] || elem; } else if ( ( oldCache = uniqueCache[ key ] ) && oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { // Assign to newCache so results back-propagate to previous elements return ( newCache[ 2 ] = oldCache[ 2 ] ); } else { // Reuse newcache so results back-propagate to previous elements uniqueCache[ key ] = newCache; // A match means we're done; a fail means we have to keep checking if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { return true; } } } } } return false; }; } function elementMatcher( matchers ) { return matchers.length > 1 ? function( elem, context, xml ) { var i = matchers.length; while ( i-- ) { if ( !matchers[ i ]( elem, context, xml ) ) { return false; } } return true; } : matchers[ 0 ]; } function multipleContexts( selector, contexts, results ) { var i = 0, len = contexts.length; for ( ; i < len; i++ ) { Sizzle( selector, contexts[ i ], results ); } return results; } function condense( unmatched, map, filter, context, xml ) { var elem, newUnmatched = [], i = 0, len = unmatched.length, mapped = map != null; for ( ; i < len; i++ ) { if ( ( elem = unmatched[ i ] ) ) { if ( !filter || filter( elem, context, xml ) ) { newUnmatched.push( elem ); if ( mapped ) { map.push( i ); } } } } return newUnmatched; } function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { if ( postFilter && !postFilter[ expando ] ) { postFilter = setMatcher( postFilter ); } if ( postFinder && !postFinder[ expando ] ) { postFinder = setMatcher( postFinder, postSelector ); } return markFunction( function( seed, results, context, xml ) { var temp, i, elem, preMap = [], postMap = [], preexisting = results.length, // Get initial elements from seed or context elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), // Prefilter to get matcher input, preserving a map for seed-results synchronization matcherIn = preFilter && ( seed || !selector ) ? condense( elems, preMap, preFilter, context, xml ) : elems, matcherOut = matcher ? // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, postFinder || ( seed ? preFilter : preexisting || postFilter ) ? // ...intermediate processing is necessary [] : // ...otherwise use results directly results : matcherIn; // Find primary matches if ( matcher ) { matcher( matcherIn, matcherOut, context, xml ); } // Apply postFilter if ( postFilter ) { temp = condense( matcherOut, postMap ); postFilter( temp, [], context, xml ); // Un-match failing elements by moving them back to matcherIn i = temp.length; while ( i-- ) { if ( ( elem = temp[ i ] ) ) { matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); } } } if ( seed ) { if ( postFinder || preFilter ) { if ( postFinder ) { // Get the final matcherOut by condensing this intermediate into postFinder contexts temp = []; i = matcherOut.length; while ( i-- ) { if ( ( elem = matcherOut[ i ] ) ) { // Restore matcherIn since elem is not yet a final match temp.push( ( matcherIn[ i ] = elem ) ); } } postFinder( null, ( matcherOut = [] ), temp, xml ); } // Move matched elements from seed to results to keep them synchronized i = matcherOut.length; while ( i-- ) { if ( ( elem = matcherOut[ i ] ) && ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { seed[ temp ] = !( results[ temp ] = elem ); } } } // Add elements to results, through postFinder if defined } else { matcherOut = condense( matcherOut === results ? matcherOut.splice( preexisting, matcherOut.length ) : matcherOut ); if ( postFinder ) { postFinder( null, results, matcherOut, xml ); } else { push.apply( results, matcherOut ); } } } ); } function matcherFromTokens( tokens ) { var checkContext, matcher, j, len = tokens.length, leadingRelative = Expr.relative[ tokens[ 0 ].type ], implicitRelative = leadingRelative || Expr.relative[ " " ], i = leadingRelative ? 1 : 0, // The foundational matcher ensures that elements are reachable from top-level context(s) matchContext = addCombinator( function( elem ) { return elem === checkContext; }, implicitRelative, true ), matchAnyContext = addCombinator( function( elem ) { return indexOf( checkContext, elem ) > -1; }, implicitRelative, true ), matchers = [ function( elem, context, xml ) { var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( ( checkContext = context ).nodeType ? matchContext( elem, context, xml ) : matchAnyContext( elem, context, xml ) ); // Avoid hanging onto element (issue #299) checkContext = null; return ret; } ]; for ( ; i < len; i++ ) { if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; } else { matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); // Return special upon seeing a positional matcher if ( matcher[ expando ] ) { // Find the next relative operator (if any) for proper handling j = ++i; for ( ; j < len; j++ ) { if ( Expr.relative[ tokens[ j ].type ] ) { break; } } return setMatcher( i > 1 && elementMatcher( matchers ), i > 1 && toSelector( // If the preceding token was a descendant combinator, insert an implicit any-element `*` tokens .slice( 0, i - 1 ) .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) ).replace( rtrim, "$1" ), matcher, i < j && matcherFromTokens( tokens.slice( i, j ) ), j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), j < len && toSelector( tokens ) ); } matchers.push( matcher ); } } return elementMatcher( matchers ); } function matcherFromGroupMatchers( elementMatchers, setMatchers ) { var bySet = setMatchers.length > 0, byElement = elementMatchers.length > 0, superMatcher = function( seed, context, xml, results, outermost ) { var elem, j, matcher, matchedCount = 0, i = "0", unmatched = seed && [], setMatched = [], contextBackup = outermostContext, // We must always have either seed elements or outermost context elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), // Use integer dirruns iff this is the outermost matcher dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), len = elems.length; if ( outermost ) { // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq outermostContext = context == document || context || outermost; } // Add elements passing elementMatchers directly to results // Support: IE<9, Safari // Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { if ( byElement && elem ) { j = 0; // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( !context && elem.ownerDocument != document ) { setDocument( elem ); xml = !documentIsHTML; } while ( ( matcher = elementMatchers[ j++ ] ) ) { if ( matcher( elem, context || document, xml ) ) { results.push( elem ); break; } } if ( outermost ) { dirruns = dirrunsUnique; } } // Track unmatched elements for set filters if ( bySet ) { // They will have gone through all possible matchers if ( ( elem = !matcher && elem ) ) { matchedCount--; } // Lengthen the array for every element, matched or not if ( seed ) { unmatched.push( elem ); } } } // `i` is now the count of elements visited above, and adding it to `matchedCount` // makes the latter nonnegative. matchedCount += i; // Apply set filters to unmatched elements // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` // equals `i`), unless we didn't visit _any_ elements in the above loop because we have // no element matchers and no seed. // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that // case, which will result in a "00" `matchedCount` that differs from `i` but is also // numerically zero. if ( bySet && i !== matchedCount ) { j = 0; while ( ( matcher = setMatchers[ j++ ] ) ) { matcher( unmatched, setMatched, context, xml ); } if ( seed ) { // Reintegrate element matches to eliminate the need for sorting if ( matchedCount > 0 ) { while ( i-- ) { if ( !( unmatched[ i ] || setMatched[ i ] ) ) { setMatched[ i ] = pop.call( results ); } } } // Discard index placeholder values to get only actual matches setMatched = condense( setMatched ); } // Add matches to results push.apply( results, setMatched ); // Seedless set matches succeeding multiple successful matchers stipulate sorting if ( outermost && !seed && setMatched.length > 0 && ( matchedCount + setMatchers.length ) > 1 ) { Sizzle.uniqueSort( results ); } } // Override manipulation of globals by nested matchers if ( outermost ) { dirruns = dirrunsUnique; outermostContext = contextBackup; } return unmatched; }; return bySet ? markFunction( superMatcher ) : superMatcher; } compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { var i, setMatchers = [], elementMatchers = [], cached = compilerCache[ selector + " " ]; if ( !cached ) { // Generate a function of recursive functions that can be used to check each element if ( !match ) { match = tokenize( selector ); } i = match.length; while ( i-- ) { cached = matcherFromTokens( match[ i ] ); if ( cached[ expando ] ) { setMatchers.push( cached ); } else { elementMatchers.push( cached ); } } // Cache the compiled function cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); // Save selector and tokenization cached.selector = selector; } return cached; }; /** * A low-level selection function that works with Sizzle's compiled * selector functions * @param {String|Function} selector A selector or a pre-compiled * selector function built with Sizzle.compile * @param {Element} context * @param {Array} [results] * @param {Array} [seed] A set of elements to match against */ select = Sizzle.select = function( selector, context, results, seed ) { var i, tokens, token, type, find, compiled = typeof selector === "function" && selector, match = !seed && tokenize( ( selector = compiled.selector || selector ) ); results = results || []; // Try to minimize operations if there is only one selector in the list and no seed // (the latter of which guarantees us context) if ( match.length === 1 ) { // Reduce context if the leading compound selector is an ID tokens = match[ 0 ] = match[ 0 ].slice( 0 ); if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { context = ( Expr.find[ "ID" ]( token.matches[ 0 ] .replace( runescape, funescape ), context ) || [] )[ 0 ]; if ( !context ) { return results; // Precompiled matchers will still verify ancestry, so step up a level } else if ( compiled ) { context = context.parentNode; } selector = selector.slice( tokens.shift().value.length ); } // Fetch a seed set for right-to-left matching i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; while ( i-- ) { token = tokens[ i ]; // Abort if we hit a combinator if ( Expr.relative[ ( type = token.type ) ] ) { break; } if ( ( find = Expr.find[ type ] ) ) { // Search, expanding context for leading sibling combinators if ( ( seed = find( token.matches[ 0 ].replace( runescape, funescape ), rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || context ) ) ) { // If seed is empty or no tokens remain, we can return early tokens.splice( i, 1 ); selector = seed.length && toSelector( tokens ); if ( !selector ) { push.apply( results, seed ); return results; } break; } } } } // Compile and execute a filtering function if one is not provided // Provide `match` to avoid retokenization if we modified the selector above ( compiled || compile( selector, match ) )( seed, context, !documentIsHTML, results, !context || rsibling.test( selector ) && testContext( context.parentNode ) || context ); return results; }; // One-time assignments // Sort stability support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; // Support: Chrome 14-35+ // Always assume duplicates if they aren't passed to the comparison function support.detectDuplicates = !!hasDuplicate; // Initialize against the default document setDocument(); // Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) // Detached nodes confoundingly follow *each other* support.sortDetached = assert( function( el ) { // Should return 1, but returns 4 (following) return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; } ); // Support: IE<8 // Prevent attribute/property "interpolation" // https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx if ( !assert( function( el ) { el.innerHTML = "<a href='#'></a>"; return el.firstChild.getAttribute( "href" ) === "#"; } ) ) { addHandle( "type|href|height|width", function( elem, name, isXML ) { if ( !isXML ) { return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); } } ); } // Support: IE<9 // Use defaultValue in place of getAttribute("value") if ( !support.attributes || !assert( function( el ) { el.innerHTML = "<input/>"; el.firstChild.setAttribute( "value", "" ); return el.firstChild.getAttribute( "value" ) === ""; } ) ) { addHandle( "value", function( elem, _name, isXML ) { if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { return elem.defaultValue; } } ); } // Support: IE<9 // Use getAttributeNode to fetch booleans when getAttribute lies if ( !assert( function( el ) { return el.getAttribute( "disabled" ) == null; } ) ) { addHandle( booleans, function( elem, name, isXML ) { var val; if ( !isXML ) { return elem[ name ] === true ? name.toLowerCase() : ( val = elem.getAttributeNode( name ) ) && val.specified ? val.value : null; } } ); } return Sizzle; } )( window ); jQuery.find = Sizzle; jQuery.expr = Sizzle.selectors; // Deprecated jQuery.expr[ ":" ] = jQuery.expr.pseudos; jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; jQuery.text = Sizzle.getText; jQuery.isXMLDoc = Sizzle.isXML; jQuery.contains = Sizzle.contains; jQuery.escapeSelector = Sizzle.escape; var dir = function( elem, dir, until ) { var matched = [], truncate = until !== undefined; while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { if ( elem.nodeType === 1 ) { if ( truncate && jQuery( elem ).is( until ) ) { break; } matched.push( elem ); } } return matched; }; var siblings = function( n, elem ) { var matched = []; for ( ; n; n = n.nextSibling ) { if ( n.nodeType === 1 && n !== elem ) { matched.push( n ); } } return matched; }; var rneedsContext = jQuery.expr.match.needsContext; function nodeName( elem, name ) { return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); } var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); // Implement the identical functionality for filter and not function winnow( elements, qualifier, not ) { if ( isFunction( qualifier ) ) { return jQuery.grep( elements, function( elem, i ) { return !!qualifier.call( elem, i, elem ) !== not; } ); } // Single element if ( qualifier.nodeType ) { return jQuery.grep( elements, function( elem ) { return ( elem === qualifier ) !== not; } ); } // Arraylike of elements (jQuery, arguments, Array) if ( typeof qualifier !== "string" ) { return jQuery.grep( elements, function( elem ) { return ( indexOf.call( qualifier, elem ) > -1 ) !== not; } ); } // Filtered directly for both simple and complex selectors return jQuery.filter( qualifier, elements, not ); } jQuery.filter = function( expr, elems, not ) { var elem = elems[ 0 ]; if ( not ) { expr = ":not(" + expr + ")"; } if ( elems.length === 1 && elem.nodeType === 1 ) { return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; } return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { return elem.nodeType === 1; } ) ); }; jQuery.fn.extend( { find: function( selector ) { var i, ret, len = this.length, self = this; if ( typeof selector !== "string" ) { return this.pushStack( jQuery( selector ).filter( function() { for ( i = 0; i < len; i++ ) { if ( jQuery.contains( self[ i ], this ) ) { return true; } } } ) ); } ret = this.pushStack( [] ); for ( i = 0; i < len; i++ ) { jQuery.find( selector, self[ i ], ret ); } return len > 1 ? jQuery.uniqueSort( ret ) : ret; }, filter: function( selector ) { return this.pushStack( winnow( this, selector || [], false ) ); }, not: function( selector ) { return this.pushStack( winnow( this, selector || [], true ) ); }, is: function( selector ) { return !!winnow( this, // If this is a positional/relative selector, check membership in the returned set // so $("p:first").is("p:last") won't return true for a doc with two "p". typeof selector === "string" && rneedsContext.test( selector ) ? jQuery( selector ) : selector || [], false ).length; } } ); // Initialize a jQuery object // A central reference to the root jQuery(document) var rootjQuery, // A simple way to check for HTML strings // Prioritize #id over <tag> to avoid XSS via location.hash (#9521) // Strict HTML recognition (#11290: must start with <) // Shortcut simple #id case for speed rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, init = jQuery.fn.init = function( selector, context, root ) { var match, elem; // HANDLE: $(""), $(null), $(undefined), $(false) if ( !selector ) { return this; } // Method init() accepts an alternate rootjQuery // so migrate can support jQuery.sub (gh-2101) root = root || rootjQuery; // Handle HTML strings if ( typeof selector === "string" ) { if ( selector[ 0 ] === "<" && selector[ selector.length - 1 ] === ">" && selector.length >= 3 ) { // Assume that strings that start and end with <> are HTML and skip the regex check match = [ null, selector, null ]; } else { match = rquickExpr.exec( selector ); } // Match html or make sure no context is specified for #id if ( match && ( match[ 1 ] || !context ) ) { // HANDLE: $(html) -> $(array) if ( match[ 1 ] ) { context = context instanceof jQuery ? context[ 0 ] : context; // Option to run scripts is true for back-compat // Intentionally let the error be thrown if parseHTML is not present jQuery.merge( this, jQuery.parseHTML( match[ 1 ], context && context.nodeType ? context.ownerDocument || context : document, true ) ); // HANDLE: $(html, props) if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { for ( match in context ) { // Properties of context are called as methods if possible if ( isFunction( this[ match ] ) ) { this[ match ]( context[ match ] ); // ...and otherwise set as attributes } else { this.attr( match, context[ match ] ); } } } return this; // HANDLE: $(#id) } else { elem = document.getElementById( match[ 2 ] ); if ( elem ) { // Inject the element directly into the jQuery object this[ 0 ] = elem; this.length = 1; } return this; } // HANDLE: $(expr, $(...)) } else if ( !context || context.jquery ) { return ( context || root ).find( selector ); // HANDLE: $(expr, context) // (which is just equivalent to: $(context).find(expr) } else { return this.constructor( context ).find( selector ); } // HANDLE: $(DOMElement) } else if ( selector.nodeType ) { this[ 0 ] = selector; this.length = 1; return this; // HANDLE: $(function) // Shortcut for document ready } else if ( isFunction( selector ) ) { return root.ready !== undefined ? root.ready( selector ) : // Execute immediately if ready is not present selector( jQuery ); } return jQuery.makeArray( selector, this ); }; // Give the init function the jQuery prototype for later instantiation init.prototype = jQuery.fn; // Initialize central reference rootjQuery = jQuery( document ); var rparentsprev = /^(?:parents|prev(?:Until|All))/, // Methods guaranteed to produce a unique set when starting from a unique set guaranteedUnique = { children: true, contents: true, next: true, prev: true }; jQuery.fn.extend( { has: function( target ) { var targets = jQuery( target, this ), l = targets.length; return this.filter( function() { var i = 0; for ( ; i < l; i++ ) { if ( jQuery.contains( this, targets[ i ] ) ) { return true; } } } ); }, closest: function( selectors, context ) { var cur, i = 0, l = this.length, matched = [], targets = typeof selectors !== "string" && jQuery( selectors ); // Positional selectors never match, since there's no _selection_ context if ( !rneedsContext.test( selectors ) ) { for ( ; i < l; i++ ) { for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { // Always skip document fragments if ( cur.nodeType < 11 && ( targets ? targets.index( cur ) > -1 : // Don't pass non-elements to Sizzle cur.nodeType === 1 && jQuery.find.matchesSelector( cur, selectors ) ) ) { matched.push( cur ); break; } } } } return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); }, // Determine the position of an element within the set index: function( elem ) { // No argument, return index in parent if ( !elem ) { return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; } // Index in selector if ( typeof elem === "string" ) { return indexOf.call( jQuery( elem ), this[ 0 ] ); } // Locate the position of the desired element return indexOf.call( this, // If it receives a jQuery object, the first element is used elem.jquery ? elem[ 0 ] : elem ); }, add: function( selector, context ) { return this.pushStack( jQuery.uniqueSort( jQuery.merge( this.get(), jQuery( selector, context ) ) ) ); }, addBack: function( selector ) { return this.add( selector == null ? this.prevObject : this.prevObject.filter( selector ) ); } } ); function sibling( cur, dir ) { while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} return cur; } jQuery.each( { parent: function( elem ) { var parent = elem.parentNode; return parent && parent.nodeType !== 11 ? parent : null; }, parents: function( elem ) { return dir( elem, "parentNode" ); }, parentsUntil: function( elem, _i, until ) { return dir( elem, "parentNode", until ); }, next: function( elem ) { return sibling( elem, "nextSibling" ); }, prev: function( elem ) { return sibling( elem, "previousSibling" ); }, nextAll: function( elem ) { return dir( elem, "nextSibling" ); }, prevAll: function( elem ) { return dir( elem, "previousSibling" ); }, nextUntil: function( elem, _i, until ) { return dir( elem, "nextSibling", until ); }, prevUntil: function( elem, _i, until ) { return dir( elem, "previousSibling", until ); }, siblings: function( elem ) { return siblings( ( elem.parentNode || {} ).firstChild, elem ); }, children: function( elem ) { return siblings( elem.firstChild ); }, contents: function( elem ) { if ( elem.contentDocument != null && // Support: IE 11+ // <object> elements with no `data` attribute has an object // `contentDocument` with a `null` prototype. getProto( elem.contentDocument ) ) { return elem.contentDocument; } // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only // Treat the template element as a regular one in browsers that // don't support it. if ( nodeName( elem, "template" ) ) { elem = elem.content || elem; } return jQuery.merge( [], elem.childNodes ); } }, function( name, fn ) { jQuery.fn[ name ] = function( until, selector ) { var matched = jQuery.map( this, fn, until ); if ( name.slice( -5 ) !== "Until" ) { selector = until; } if ( selector && typeof selector === "string" ) { matched = jQuery.filter( selector, matched ); } if ( this.length > 1 ) { // Remove duplicates if ( !guaranteedUnique[ name ] ) { jQuery.uniqueSort( matched ); } // Reverse order for parents* and prev-derivatives if ( rparentsprev.test( name ) ) { matched.reverse(); } } return this.pushStack( matched ); }; } ); var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); // Convert String-formatted options into Object-formatted ones function createOptions( options ) { var object = {}; jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { object[ flag ] = true; } ); return object; } /* * Create a callback list using the following parameters: * * options: an optional list of space-separated options that will change how * the callback list behaves or a more traditional option object * * By default a callback list will act like an event callback list and can be * "fired" multiple times. * * Possible options: * * once: will ensure the callback list can only be fired once (like a Deferred) * * memory: will keep track of previous values and will call any callback added * after the list has been fired right away with the latest "memorized" * values (like a Deferred) * * unique: will ensure a callback can only be added once (no duplicate in the list) * * stopOnFalse: interrupt callings when a callback returns false * */ jQuery.Callbacks = function( options ) { // Convert options from String-formatted to Object-formatted if needed // (we check in cache first) options = typeof options === "string" ? createOptions( options ) : jQuery.extend( {}, options ); var // Flag to know if list is currently firing firing, // Last fire value for non-forgettable lists memory, // Flag to know if list was already fired fired, // Flag to prevent firing locked, // Actual callback list list = [], // Queue of execution data for repeatable lists queue = [], // Index of currently firing callback (modified by add/remove as needed) firingIndex = -1, // Fire callbacks fire = function() { // Enforce single-firing locked = locked || options.once; // Execute callbacks for all pending executions, // respecting firingIndex overrides and runtime changes fired = firing = true; for ( ; queue.length; firingIndex = -1 ) { memory = queue.shift(); while ( ++firingIndex < list.length ) { // Run callback and check for early termination if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && options.stopOnFalse ) { // Jump to end and forget the data so .add doesn't re-fire firingIndex = list.length; memory = false; } } } // Forget the data if we're done with it if ( !options.memory ) { memory = false; } firing = false; // Clean up if we're done firing for good if ( locked ) { // Keep an empty list if we have data for future add calls if ( memory ) { list = []; // Otherwise, this object is spent } else { list = ""; } } }, // Actual Callbacks object self = { // Add a callback or a collection of callbacks to the list add: function() { if ( list ) { // If we have memory from a past run, we should fire after adding if ( memory && !firing ) { firingIndex = list.length - 1; queue.push( memory ); } ( function add( args ) { jQuery.each( args, function( _, arg ) { if ( isFunction( arg ) ) { if ( !options.unique || !self.has( arg ) ) { list.push( arg ); } } else if ( arg && arg.length && toType( arg ) !== "string" ) { // Inspect recursively add( arg ); } } ); } )( arguments ); if ( memory && !firing ) { fire(); } } return this; }, // Remove a callback from the list remove: function() { jQuery.each( arguments, function( _, arg ) { var index; while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { list.splice( index, 1 ); // Handle firing indexes if ( index <= firingIndex ) { firingIndex--; } } } ); return this; }, // Check if a given callback is in the list. // If no argument is given, return whether or not list has callbacks attached. has: function( fn ) { return fn ? jQuery.inArray( fn, list ) > -1 : list.length > 0; }, // Remove all callbacks from the list empty: function() { if ( list ) { list = []; } return this; }, // Disable .fire and .add // Abort any current/pending executions // Clear all callbacks and values disable: function() { locked = queue = []; list = memory = ""; return this; }, disabled: function() { return !list; }, // Disable .fire // Also disable .add unless we have memory (since it would have no effect) // Abort any pending executions lock: function() { locked = queue = []; if ( !memory && !firing ) { list = memory = ""; } return this; }, locked: function() { return !!locked; }, // Call all callbacks with the given context and arguments fireWith: function( context, args ) { if ( !locked ) { args = args || []; args = [ context, args.slice ? args.slice() : args ]; queue.push( args ); if ( !firing ) { fire(); } } return this; }, // Call all the callbacks with the given arguments fire: function() { self.fireWith( this, arguments ); return this; }, // To know if the callbacks have already been called at least once fired: function() { return !!fired; } }; return self; }; function Identity( v ) { return v; } function Thrower( ex ) { throw ex; } function adoptValue( value, resolve, reject, noValue ) { var method; try { // Check for promise aspect first to privilege synchronous behavior if ( value && isFunction( ( method = value.promise ) ) ) { method.call( value ).done( resolve ).fail( reject ); // Other thenables } else if ( value && isFunction( ( method = value.then ) ) ) { method.call( value, resolve, reject ); // Other non-thenables } else { // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: // * false: [ value ].slice( 0 ) => resolve( value ) // * true: [ value ].slice( 1 ) => resolve() resolve.apply( undefined, [ value ].slice( noValue ) ); } // For Promises/A+, convert exceptions into rejections // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in // Deferred#then to conditionally suppress rejection. } catch ( value ) { // Support: Android 4.0 only // Strict mode functions invoked without .call/.apply get global-object context reject.apply( undefined, [ value ] ); } } jQuery.extend( { Deferred: function( func ) { var tuples = [ // action, add listener, callbacks, // ... .then handlers, argument index, [final state] [ "notify", "progress", jQuery.Callbacks( "memory" ), jQuery.Callbacks( "memory" ), 2 ], [ "resolve", "done", jQuery.Callbacks( "once memory" ), jQuery.Callbacks( "once memory" ), 0, "resolved" ], [ "reject", "fail", jQuery.Callbacks( "once memory" ), jQuery.Callbacks( "once memory" ), 1, "rejected" ] ], state = "pending", promise = { state: function() { return state; }, always: function() { deferred.done( arguments ).fail( arguments ); return this; }, "catch": function( fn ) { return promise.then( null, fn ); }, // Keep pipe for back-compat pipe: function( /* fnDone, fnFail, fnProgress */ ) { var fns = arguments; return jQuery.Deferred( function( newDefer ) { jQuery.each( tuples, function( _i, tuple ) { // Map tuples (progress, done, fail) to arguments (done, fail, progress) var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; // deferred.progress(function() { bind to newDefer or newDefer.notify }) // deferred.done(function() { bind to newDefer or newDefer.resolve }) // deferred.fail(function() { bind to newDefer or newDefer.reject }) deferred[ tuple[ 1 ] ]( function() { var returned = fn && fn.apply( this, arguments ); if ( returned && isFunction( returned.promise ) ) { returned.promise() .progress( newDefer.notify ) .done( newDefer.resolve ) .fail( newDefer.reject ); } else { newDefer[ tuple[ 0 ] + "With" ]( this, fn ? [ returned ] : arguments ); } } ); } ); fns = null; } ).promise(); }, then: function( onFulfilled, onRejected, onProgress ) { var maxDepth = 0; function resolve( depth, deferred, handler, special ) { return function() { var that = this, args = arguments, mightThrow = function() { var returned, then; // Support: Promises/A+ section 2.3.3.3.3 // https://promisesaplus.com/#point-59 // Ignore double-resolution attempts if ( depth < maxDepth ) { return; } returned = handler.apply( that, args ); // Support: Promises/A+ section 2.3.1 // https://promisesaplus.com/#point-48 if ( returned === deferred.promise() ) { throw new TypeError( "Thenable self-resolution" ); } // Support: Promises/A+ sections 2.3.3.1, 3.5 // https://promisesaplus.com/#point-54 // https://promisesaplus.com/#point-75 // Retrieve `then` only once then = returned && // Support: Promises/A+ section 2.3.4 // https://promisesaplus.com/#point-64 // Only check objects and functions for thenability ( typeof returned === "object" || typeof returned === "function" ) && returned.then; // Handle a returned thenable if ( isFunction( then ) ) { // Special processors (notify) just wait for resolution if ( special ) { then.call( returned, resolve( maxDepth, deferred, Identity, special ), resolve( maxDepth, deferred, Thrower, special ) ); // Normal processors (resolve) also hook into progress } else { // ...and disregard older resolution values maxDepth++; then.call( returned, resolve( maxDepth, deferred, Identity, special ), resolve( maxDepth, deferred, Thrower, special ), resolve( maxDepth, deferred, Identity, deferred.notifyWith ) ); } // Handle all other returned values } else { // Only substitute handlers pass on context // and multiple values (non-spec behavior) if ( handler !== Identity ) { that = undefined; args = [ returned ]; } // Process the value(s) // Default process is resolve ( special || deferred.resolveWith )( that, args ); } }, // Only normal processors (resolve) catch and reject exceptions process = special ? mightThrow : function() { try { mightThrow(); } catch ( e ) { if ( jQuery.Deferred.exceptionHook ) { jQuery.Deferred.exceptionHook( e, process.stackTrace ); } // Support: Promises/A+ section 2.3.3.3.4.1 // https://promisesaplus.com/#point-61 // Ignore post-resolution exceptions if ( depth + 1 >= maxDepth ) { // Only substitute handlers pass on context // and multiple values (non-spec behavior) if ( handler !== Thrower ) { that = undefined; args = [ e ]; } deferred.rejectWith( that, args ); } } }; // Support: Promises/A+ section 2.3.3.3.1 // https://promisesaplus.com/#point-57 // Re-resolve promises immediately to dodge false rejection from // subsequent errors if ( depth ) { process(); } else { // Call an optional hook to record the stack, in case of exception // since it's otherwise lost when execution goes async if ( jQuery.Deferred.getStackHook ) { process.stackTrace = jQuery.Deferred.getStackHook(); } window.setTimeout( process ); } }; } return jQuery.Deferred( function( newDefer ) { // progress_handlers.add( ... ) tuples[ 0 ][ 3 ].add( resolve( 0, newDefer, isFunction( onProgress ) ? onProgress : Identity, newDefer.notifyWith ) ); // fulfilled_handlers.add( ... ) tuples[ 1 ][ 3 ].add( resolve( 0, newDefer, isFunction( onFulfilled ) ? onFulfilled : Identity ) ); // rejected_handlers.add( ... ) tuples[ 2 ][ 3 ].add( resolve( 0, newDefer, isFunction( onRejected ) ? onRejected : Thrower ) ); } ).promise(); }, // Get a promise for this deferred // If obj is provided, the promise aspect is added to the object promise: function( obj ) { return obj != null ? jQuery.extend( obj, promise ) : promise; } }, deferred = {}; // Add list-specific methods jQuery.each( tuples, function( i, tuple ) { var list = tuple[ 2 ], stateString = tuple[ 5 ]; // promise.progress = list.add // promise.done = list.add // promise.fail = list.add promise[ tuple[ 1 ] ] = list.add; // Handle state if ( stateString ) { list.add( function() { // state = "resolved" (i.e., fulfilled) // state = "rejected" state = stateString; }, // rejected_callbacks.disable // fulfilled_callbacks.disable tuples[ 3 - i ][ 2 ].disable, // rejected_handlers.disable // fulfilled_handlers.disable tuples[ 3 - i ][ 3 ].disable, // progress_callbacks.lock tuples[ 0 ][ 2 ].lock, // progress_handlers.lock tuples[ 0 ][ 3 ].lock ); } // progress_handlers.fire // fulfilled_handlers.fire // rejected_handlers.fire list.add( tuple[ 3 ].fire ); // deferred.notify = function() { deferred.notifyWith(...) } // deferred.resolve = function() { deferred.resolveWith(...) } // deferred.reject = function() { deferred.rejectWith(...) } deferred[ tuple[ 0 ] ] = function() { deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); return this; }; // deferred.notifyWith = list.fireWith // deferred.resolveWith = list.fireWith // deferred.rejectWith = list.fireWith deferred[ tuple[ 0 ] + "With" ] = list.fireWith; } ); // Make the deferred a promise promise.promise( deferred ); // Call given func if any if ( func ) { func.call( deferred, deferred ); } // All done! return deferred; }, // Deferred helper when: function( singleValue ) { var // count of uncompleted subordinates remaining = arguments.length, // count of unprocessed arguments i = remaining, // subordinate fulfillment data resolveContexts = Array( i ), resolveValues = slice.call( arguments ), // the primary Deferred primary = jQuery.Deferred(), // subordinate callback factory updateFunc = function( i ) { return function( value ) { resolveContexts[ i ] = this; resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; if ( !( --remaining ) ) { primary.resolveWith( resolveContexts, resolveValues ); } }; }; // Single- and empty arguments are adopted like Promise.resolve if ( remaining <= 1 ) { adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, !remaining ); // Use .then() to unwrap secondary thenables (cf. gh-3000) if ( primary.state() === "pending" || isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { return primary.then(); } } // Multiple arguments are aggregated like Promise.all array elements while ( i-- ) { adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); } return primary.promise(); } } ); // These usually indicate a programmer mistake during development, // warn about them ASAP rather than swallowing them by default. var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; jQuery.Deferred.exceptionHook = function( error, stack ) { // Support: IE 8 - 9 only // Console exists when dev tools are open, which can happen at any time if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); } }; jQuery.readyException = function( error ) { window.setTimeout( function() { throw error; } ); }; // The deferred used on DOM ready var readyList = jQuery.Deferred(); jQuery.fn.ready = function( fn ) { readyList .then( fn ) // Wrap jQuery.readyException in a function so that the lookup // happens at the time of error handling instead of callback // registration. .catch( function( error ) { jQuery.readyException( error ); } ); return this; }; jQuery.extend( { // Is the DOM ready to be used? Set to true once it occurs. isReady: false, // A counter to track how many items to wait for before // the ready event fires. See #6781 readyWait: 1, // Handle when the DOM is ready ready: function( wait ) { // Abort if there are pending holds or we're already ready if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { return; } // Remember that the DOM is ready jQuery.isReady = true; // If a normal DOM Ready event fired, decrement, and wait if need be if ( wait !== true && --jQuery.readyWait > 0 ) { return; } // If there are functions bound, to execute readyList.resolveWith( document, [ jQuery ] ); } } ); jQuery.ready.then = readyList.then; // The ready event handler and self cleanup method function completed() { document.removeEventListener( "DOMContentLoaded", completed ); window.removeEventListener( "load", completed ); jQuery.ready(); } // Catch cases where $(document).ready() is called // after the browser event has already occurred. // Support: IE <=9 - 10 only // Older IE sometimes signals "interactive" too soon if ( document.readyState === "complete" || ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { // Handle it asynchronously to allow scripts the opportunity to delay ready window.setTimeout( jQuery.ready ); } else { // Use the handy event callback document.addEventListener( "DOMContentLoaded", completed ); // A fallback to window.onload, that will always work window.addEventListener( "load", completed ); } // Multifunctional method to get and set values of a collection // The value/s can optionally be executed if it's a function var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { var i = 0, len = elems.length, bulk = key == null; // Sets many values if ( toType( key ) === "object" ) { chainable = true; for ( i in key ) { access( elems, fn, i, key[ i ], true, emptyGet, raw ); } // Sets one value } else if ( value !== undefined ) { chainable = true; if ( !isFunction( value ) ) { raw = true; } if ( bulk ) { // Bulk operations run against the entire set if ( raw ) { fn.call( elems, value ); fn = null; // ...except when executing function values } else { bulk = fn; fn = function( elem, _key, value ) { return bulk.call( jQuery( elem ), value ); }; } } if ( fn ) { for ( ; i < len; i++ ) { fn( elems[ i ], key, raw ? value : value.call( elems[ i ], i, fn( elems[ i ], key ) ) ); } } } if ( chainable ) { return elems; } // Gets if ( bulk ) { return fn.call( elems ); } return len ? fn( elems[ 0 ], key ) : emptyGet; }; // Matches dashed string for camelizing var rmsPrefix = /^-ms-/, rdashAlpha = /-([a-z])/g; // Used by camelCase as callback to replace() function fcamelCase( _all, letter ) { return letter.toUpperCase(); } // Convert dashed to camelCase; used by the css and data modules // Support: IE <=9 - 11, Edge 12 - 15 // Microsoft forgot to hump their vendor prefix (#9572) function camelCase( string ) { return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); } var acceptData = function( owner ) { // Accepts only: // - Node // - Node.ELEMENT_NODE // - Node.DOCUMENT_NODE // - Object // - Any return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); }; function Data() { this.expando = jQuery.expando + Data.uid++; } Data.uid = 1; Data.prototype = { cache: function( owner ) { // Check if the owner object already has a cache var value = owner[ this.expando ]; // If not, create one if ( !value ) { value = {}; // We can accept data for non-element nodes in modern browsers, // but we should not, see #8335. // Always return an empty object. if ( acceptData( owner ) ) { // If it is a node unlikely to be stringify-ed or looped over // use plain assignment if ( owner.nodeType ) { owner[ this.expando ] = value; // Otherwise secure it in a non-enumerable property // configurable must be true to allow the property to be // deleted when data is removed } else { Object.defineProperty( owner, this.expando, { value: value, configurable: true } ); } } } return value; }, set: function( owner, data, value ) { var prop, cache = this.cache( owner ); // Handle: [ owner, key, value ] args // Always use camelCase key (gh-2257) if ( typeof data === "string" ) { cache[ camelCase( data ) ] = value; // Handle: [ owner, { properties } ] args } else { // Copy the properties one-by-one to the cache object for ( prop in data ) { cache[ camelCase( prop ) ] = data[ prop ]; } } return cache; }, get: function( owner, key ) { return key === undefined ? this.cache( owner ) : // Always use camelCase key (gh-2257) owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; }, access: function( owner, key, value ) { // In cases where either: // // 1. No key was specified // 2. A string key was specified, but no value provided // // Take the "read" path and allow the get method to determine // which value to return, respectively either: // // 1. The entire cache object // 2. The data stored at the key // if ( key === undefined || ( ( key && typeof key === "string" ) && value === undefined ) ) { return this.get( owner, key ); } // When the key is not a string, or both a key and value // are specified, set or extend (existing objects) with either: // // 1. An object of properties // 2. A key and value // this.set( owner, key, value ); // Since the "set" path can have two possible entry points // return the expected data based on which path was taken[*] return value !== undefined ? value : key; }, remove: function( owner, key ) { var i, cache = owner[ this.expando ]; if ( cache === undefined ) { return; } if ( key !== undefined ) { // Support array or space separated string of keys if ( Array.isArray( key ) ) { // If key is an array of keys... // We always set camelCase keys, so remove that. key = key.map( camelCase ); } else { key = camelCase( key ); // If a key with the spaces exists, use it. // Otherwise, create an array by matching non-whitespace key = key in cache ? [ key ] : ( key.match( rnothtmlwhite ) || [] ); } i = key.length; while ( i-- ) { delete cache[ key[ i ] ]; } } // Remove the expando if there's no more data if ( key === undefined || jQuery.isEmptyObject( cache ) ) { // Support: Chrome <=35 - 45 // Webkit & Blink performance suffers when deleting properties // from DOM nodes, so set to undefined instead // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) if ( owner.nodeType ) { owner[ this.expando ] = undefined; } else { delete owner[ this.expando ]; } } }, hasData: function( owner ) { var cache = owner[ this.expando ]; return cache !== undefined && !jQuery.isEmptyObject( cache ); } }; var dataPriv = new Data(); var dataUser = new Data(); // Implementation Summary // // 1. Enforce API surface and semantic compatibility with 1.9.x branch // 2. Improve the module's maintainability by reducing the storage // paths to a single mechanism. // 3. Use the same single mechanism to support "private" and "user" data. // 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) // 5. Avoid exposing implementation details on user objects (eg. expando properties) // 6. Provide a clear path for implementation upgrade to WeakMap in 2014 var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, rmultiDash = /[A-Z]/g; function getData( data ) { if ( data === "true" ) { return true; } if ( data === "false" ) { return false; } if ( data === "null" ) { return null; } // Only convert to a number if it doesn't change the string if ( data === +data + "" ) { return +data; } if ( rbrace.test( data ) ) { return JSON.parse( data ); } return data; } function dataAttr( elem, key, data ) { var name; // If nothing was found internally, try to fetch any // data from the HTML5 data-* attribute if ( data === undefined && elem.nodeType === 1 ) { name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); data = elem.getAttribute( name ); if ( typeof data === "string" ) { try { data = getData( data ); } catch ( e ) {} // Make sure we set the data so it isn't changed later dataUser.set( elem, key, data ); } else { data = undefined; } } return data; } jQuery.extend( { hasData: function( elem ) { return dataUser.hasData( elem ) || dataPriv.hasData( elem ); }, data: function( elem, name, data ) { return dataUser.access( elem, name, data ); }, removeData: function( elem, name ) { dataUser.remove( elem, name ); }, // TODO: Now that all calls to _data and _removeData have been replaced // with direct calls to dataPriv methods, these can be deprecated. _data: function( elem, name, data ) { return dataPriv.access( elem, name, data ); }, _removeData: function( elem, name ) { dataPriv.remove( elem, name ); } } ); jQuery.fn.extend( { data: function( key, value ) { var i, name, data, elem = this[ 0 ], attrs = elem && elem.attributes; // Gets all values if ( key === undefined ) { if ( this.length ) { data = dataUser.get( elem ); if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { i = attrs.length; while ( i-- ) { // Support: IE 11 only // The attrs elements can be null (#14894) if ( attrs[ i ] ) { name = attrs[ i ].name; if ( name.indexOf( "data-" ) === 0 ) { name = camelCase( name.slice( 5 ) ); dataAttr( elem, name, data[ name ] ); } } } dataPriv.set( elem, "hasDataAttrs", true ); } } return data; } // Sets multiple values if ( typeof key === "object" ) { return this.each( function() { dataUser.set( this, key ); } ); } return access( this, function( value ) { var data; // The calling jQuery object (element matches) is not empty // (and therefore has an element appears at this[ 0 ]) and the // `value` parameter was not undefined. An empty jQuery object // will result in `undefined` for elem = this[ 0 ] which will // throw an exception if an attempt to read a data cache is made. if ( elem && value === undefined ) { // Attempt to get data from the cache // The key will always be camelCased in Data data = dataUser.get( elem, key ); if ( data !== undefined ) { return data; } // Attempt to "discover" the data in // HTML5 custom data-* attrs data = dataAttr( elem, key ); if ( data !== undefined ) { return data; } // We tried really hard, but the data doesn't exist. return; } // Set the data... this.each( function() { // We always store the camelCased key dataUser.set( this, key, value ); } ); }, null, value, arguments.length > 1, null, true ); }, removeData: function( key ) { return this.each( function() { dataUser.remove( this, key ); } ); } } ); jQuery.extend( { queue: function( elem, type, data ) { var queue; if ( elem ) { type = ( type || "fx" ) + "queue"; queue = dataPriv.get( elem, type ); // Speed up dequeue by getting out quickly if this is just a lookup if ( data ) { if ( !queue || Array.isArray( data ) ) { queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); } else { queue.push( data ); } } return queue || []; } }, dequeue: function( elem, type ) { type = type || "fx"; var queue = jQuery.queue( elem, type ), startLength = queue.length, fn = queue.shift(), hooks = jQuery._queueHooks( elem, type ), next = function() { jQuery.dequeue( elem, type ); }; // If the fx queue is dequeued, always remove the progress sentinel if ( fn === "inprogress" ) { fn = queue.shift(); startLength--; } if ( fn ) { // Add a progress sentinel to prevent the fx queue from being // automatically dequeued if ( type === "fx" ) { queue.unshift( "inprogress" ); } // Clear up the last queue stop function delete hooks.stop; fn.call( elem, next, hooks ); } if ( !startLength && hooks ) { hooks.empty.fire(); } }, // Not public - generate a queueHooks object, or return the current one _queueHooks: function( elem, type ) { var key = type + "queueHooks"; return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { empty: jQuery.Callbacks( "once memory" ).add( function() { dataPriv.remove( elem, [ type + "queue", key ] ); } ) } ); } } ); jQuery.fn.extend( { queue: function( type, data ) { var setter = 2; if ( typeof type !== "string" ) { data = type; type = "fx"; setter--; } if ( arguments.length < setter ) { return jQuery.queue( this[ 0 ], type ); } return data === undefined ? this : this.each( function() { var queue = jQuery.queue( this, type, data ); // Ensure a hooks for this queue jQuery._queueHooks( this, type ); if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { jQuery.dequeue( this, type ); } } ); }, dequeue: function( type ) { return this.each( function() { jQuery.dequeue( this, type ); } ); }, clearQueue: function( type ) { return this.queue( type || "fx", [] ); }, // Get a promise resolved when queues of a certain type // are emptied (fx is the type by default) promise: function( type, obj ) { var tmp, count = 1, defer = jQuery.Deferred(), elements = this, i = this.length, resolve = function() { if ( !( --count ) ) { defer.resolveWith( elements, [ elements ] ); } }; if ( typeof type !== "string" ) { obj = type; type = undefined; } type = type || "fx"; while ( i-- ) { tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); if ( tmp && tmp.empty ) { count++; tmp.empty.add( resolve ); } } resolve(); return defer.promise( obj ); } } ); var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; var documentElement = document.documentElement; var isAttached = function( elem ) { return jQuery.contains( elem.ownerDocument, elem ); }, composed = { composed: true }; // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only // Check attachment across shadow DOM boundaries when possible (gh-3504) // Support: iOS 10.0-10.2 only // Early iOS 10 versions support `attachShadow` but not `getRootNode`, // leading to errors. We need to check for `getRootNode`. if ( documentElement.getRootNode ) { isAttached = function( elem ) { return jQuery.contains( elem.ownerDocument, elem ) || elem.getRootNode( composed ) === elem.ownerDocument; }; } var isHiddenWithinTree = function( elem, el ) { // isHiddenWithinTree might be called from jQuery#filter function; // in that case, element will be second argument elem = el || elem; // Inline style trumps all return elem.style.display === "none" || elem.style.display === "" && // Otherwise, check computed style // Support: Firefox <=43 - 45 // Disconnected elements can have computed display: none, so first confirm that elem is // in the document. isAttached( elem ) && jQuery.css( elem, "display" ) === "none"; }; function adjustCSS( elem, prop, valueParts, tween ) { var adjusted, scale, maxIterations = 20, currentValue = tween ? function() { return tween.cur(); } : function() { return jQuery.css( elem, prop, "" ); }, initial = currentValue(), unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), // Starting value computation is required for potential unit mismatches initialInUnit = elem.nodeType && ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && rcssNum.exec( jQuery.css( elem, prop ) ); if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { // Support: Firefox <=54 // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) initial = initial / 2; // Trust units reported by jQuery.css unit = unit || initialInUnit[ 3 ]; // Iteratively approximate from a nonzero starting point initialInUnit = +initial || 1; while ( maxIterations-- ) { // Evaluate and update our best guess (doubling guesses that zero out). // Finish if the scale equals or crosses 1 (making the old*new product non-positive). jQuery.style( elem, prop, initialInUnit + unit ); if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { maxIterations = 0; } initialInUnit = initialInUnit / scale; } initialInUnit = initialInUnit * 2; jQuery.style( elem, prop, initialInUnit + unit ); // Make sure we update the tween properties later on valueParts = valueParts || []; } if ( valueParts ) { initialInUnit = +initialInUnit || +initial || 0; // Apply relative offset (+=/-=) if specified adjusted = valueParts[ 1 ] ? initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : +valueParts[ 2 ]; if ( tween ) { tween.unit = unit; tween.start = initialInUnit; tween.end = adjusted; } } return adjusted; } var defaultDisplayMap = {}; function getDefaultDisplay( elem ) { var temp, doc = elem.ownerDocument, nodeName = elem.nodeName, display = defaultDisplayMap[ nodeName ]; if ( display ) { return display; } temp = doc.body.appendChild( doc.createElement( nodeName ) ); display = jQuery.css( temp, "display" ); temp.parentNode.removeChild( temp ); if ( display === "none" ) { display = "block"; } defaultDisplayMap[ nodeName ] = display; return display; } function showHide( elements, show ) { var display, elem, values = [], index = 0, length = elements.length; // Determine new display value for elements that need to change for ( ; index < length; index++ ) { elem = elements[ index ]; if ( !elem.style ) { continue; } display = elem.style.display; if ( show ) { // Since we force visibility upon cascade-hidden elements, an immediate (and slow) // check is required in this first loop unless we have a nonempty display value (either // inline or about-to-be-restored) if ( display === "none" ) { values[ index ] = dataPriv.get( elem, "display" ) || null; if ( !values[ index ] ) { elem.style.display = ""; } } if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { values[ index ] = getDefaultDisplay( elem ); } } else { if ( display !== "none" ) { values[ index ] = "none"; // Remember what we're overwriting dataPriv.set( elem, "display", display ); } } } // Set the display of the elements in a second loop to avoid constant reflow for ( index = 0; index < length; index++ ) { if ( values[ index ] != null ) { elements[ index ].style.display = values[ index ]; } } return elements; } jQuery.fn.extend( { show: function() { return showHide( this, true ); }, hide: function() { return showHide( this ); }, toggle: function( state ) { if ( typeof state === "boolean" ) { return state ? this.show() : this.hide(); } return this.each( function() { if ( isHiddenWithinTree( this ) ) { jQuery( this ).show(); } else { jQuery( this ).hide(); } } ); } } ); var rcheckableType = ( /^(?:checkbox|radio)$/i ); var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); ( function() { var fragment = document.createDocumentFragment(), div = fragment.appendChild( document.createElement( "div" ) ), input = document.createElement( "input" ); // Support: Android 4.0 - 4.3 only // Check state lost if the name is set (#11217) // Support: Windows Web Apps (WWA) // `name` and `type` must use .setAttribute for WWA (#14901) input.setAttribute( "type", "radio" ); input.setAttribute( "checked", "checked" ); input.setAttribute( "name", "t" ); div.appendChild( input ); // Support: Android <=4.1 only // Older WebKit doesn't clone checked state correctly in fragments support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; // Support: IE <=11 only // Make sure textarea (and checkbox) defaultValue is properly cloned div.innerHTML = "<textarea>x</textarea>"; support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; // Support: IE <=9 only // IE <=9 replaces <option> tags with their contents when inserted outside of // the select element. div.innerHTML = "<option></option>"; support.option = !!div.lastChild; } )(); // We have to close these tags to support XHTML (#13200) var wrapMap = { // XHTML parsers do not magically insert elements in the // same way that tag soup parsers do. So we cannot shorten // this by omitting <tbody> or other required elements. thead: [ 1, "<table>", "</table>" ], col: [ 2, "<table><colgroup>", "</colgroup></table>" ], tr: [ 2, "<table><tbody>", "</tbody></table>" ], td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], _default: [ 0, "", "" ] }; wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; wrapMap.th = wrapMap.td; // Support: IE <=9 only if ( !support.option ) { wrapMap.optgroup = wrapMap.option = [ 1, "<select multiple='multiple'>", "</select>" ]; } function getAll( context, tag ) { // Support: IE <=9 - 11 only // Use typeof to avoid zero-argument method invocation on host objects (#15151) var ret; if ( typeof context.getElementsByTagName !== "undefined" ) { ret = context.getElementsByTagName( tag || "*" ); } else if ( typeof context.querySelectorAll !== "undefined" ) { ret = context.querySelectorAll( tag || "*" ); } else { ret = []; } if ( tag === undefined || tag && nodeName( context, tag ) ) { return jQuery.merge( [ context ], ret ); } return ret; } // Mark scripts as having already been evaluated function setGlobalEval( elems, refElements ) { var i = 0, l = elems.length; for ( ; i < l; i++ ) { dataPriv.set( elems[ i ], "globalEval", !refElements || dataPriv.get( refElements[ i ], "globalEval" ) ); } } var rhtml = /<|&#?\w+;/; function buildFragment( elems, context, scripts, selection, ignored ) { var elem, tmp, tag, wrap, attached, j, fragment = context.createDocumentFragment(), nodes = [], i = 0, l = elems.length; for ( ; i < l; i++ ) { elem = elems[ i ]; if ( elem || elem === 0 ) { // Add nodes directly if ( toType( elem ) === "object" ) { // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); // Convert non-html into a text node } else if ( !rhtml.test( elem ) ) { nodes.push( context.createTextNode( elem ) ); // Convert html into DOM nodes } else { tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); // Deserialize a standard representation tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); wrap = wrapMap[ tag ] || wrapMap._default; tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; // Descend through wrappers to the right content j = wrap[ 0 ]; while ( j-- ) { tmp = tmp.lastChild; } // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit jQuery.merge( nodes, tmp.childNodes ); // Remember the top-level container tmp = fragment.firstChild; // Ensure the created nodes are orphaned (#12392) tmp.textContent = ""; } } } // Remove wrapper from fragment fragment.textContent = ""; i = 0; while ( ( elem = nodes[ i++ ] ) ) { // Skip elements already in the context collection (trac-4087) if ( selection && jQuery.inArray( elem, selection ) > -1 ) { if ( ignored ) { ignored.push( elem ); } continue; } attached = isAttached( elem ); // Append to fragment tmp = getAll( fragment.appendChild( elem ), "script" ); // Preserve script evaluation history if ( attached ) { setGlobalEval( tmp ); } // Capture executables if ( scripts ) { j = 0; while ( ( elem = tmp[ j++ ] ) ) { if ( rscriptType.test( elem.type || "" ) ) { scripts.push( elem ); } } } } return fragment; } var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; function returnTrue() { return true; } function returnFalse() { return false; } // Support: IE <=9 - 11+ // focus() and blur() are asynchronous, except when they are no-op. // So expect focus to be synchronous when the element is already active, // and blur to be synchronous when the element is not already active. // (focus and blur are always synchronous in other supported browsers, // this just defines when we can count on it). function expectSync( elem, type ) { return ( elem === safeActiveElement() ) === ( type === "focus" ); } // Support: IE <=9 only // Accessing document.activeElement can throw unexpectedly // https://bugs.jquery.com/ticket/13393 function safeActiveElement() { try { return document.activeElement; } catch ( err ) { } } function on( elem, types, selector, data, fn, one ) { var origFn, type; // Types can be a map of types/handlers if ( typeof types === "object" ) { // ( types-Object, selector, data ) if ( typeof selector !== "string" ) { // ( types-Object, data ) data = data || selector; selector = undefined; } for ( type in types ) { on( elem, type, selector, data, types[ type ], one ); } return elem; } if ( data == null && fn == null ) { // ( types, fn ) fn = selector; data = selector = undefined; } else if ( fn == null ) { if ( typeof selector === "string" ) { // ( types, selector, fn ) fn = data; data = undefined; } else { // ( types, data, fn ) fn = data; data = selector; selector = undefined; } } if ( fn === false ) { fn = returnFalse; } else if ( !fn ) { return elem; } if ( one === 1 ) { origFn = fn; fn = function( event ) { // Can use an empty set, since event contains the info jQuery().off( event ); return origFn.apply( this, arguments ); }; // Use same guid so caller can remove using origFn fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); } return elem.each( function() { jQuery.event.add( this, types, fn, data, selector ); } ); } /* * Helper functions for managing events -- not part of the public interface. * Props to Dean Edwards' addEvent library for many of the ideas. */ jQuery.event = { global: {}, add: function( elem, types, handler, data, selector ) { var handleObjIn, eventHandle, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.get( elem ); // Only attach events to objects that accept data if ( !acceptData( elem ) ) { return; } // Caller can pass in an object of custom data in lieu of the handler if ( handler.handler ) { handleObjIn = handler; handler = handleObjIn.handler; selector = handleObjIn.selector; } // Ensure that invalid selectors throw exceptions at attach time // Evaluate against documentElement in case elem is a non-element node (e.g., document) if ( selector ) { jQuery.find.matchesSelector( documentElement, selector ); } // Make sure that the handler has a unique ID, used to find/remove it later if ( !handler.guid ) { handler.guid = jQuery.guid++; } // Init the element's event structure and main handler, if this is the first if ( !( events = elemData.events ) ) { events = elemData.events = Object.create( null ); } if ( !( eventHandle = elemData.handle ) ) { eventHandle = elemData.handle = function( e ) { // Discard the second event of a jQuery.event.trigger() and // when an event is called after a page has unloaded return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? jQuery.event.dispatch.apply( elem, arguments ) : undefined; }; } // Handle multiple events separated by a space types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; t = types.length; while ( t-- ) { tmp = rtypenamespace.exec( types[ t ] ) || []; type = origType = tmp[ 1 ]; namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); // There *must* be a type, no attaching namespace-only handlers if ( !type ) { continue; } // If event changes its type, use the special event handlers for the changed type special = jQuery.event.special[ type ] || {}; // If selector defined, determine special event api type, otherwise given type type = ( selector ? special.delegateType : special.bindType ) || type; // Update special based on newly reset type special = jQuery.event.special[ type ] || {}; // handleObj is passed to all event handlers handleObj = jQuery.extend( { type: type, origType: origType, data: data, handler: handler, guid: handler.guid, selector: selector, needsContext: selector && jQuery.expr.match.needsContext.test( selector ), namespace: namespaces.join( "." ) }, handleObjIn ); // Init the event handler queue if we're the first if ( !( handlers = events[ type ] ) ) { handlers = events[ type ] = []; handlers.delegateCount = 0; // Only use addEventListener if the special events handler returns false if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { if ( elem.addEventListener ) { elem.addEventListener( type, eventHandle ); } } } if ( special.add ) { special.add.call( elem, handleObj ); if ( !handleObj.handler.guid ) { handleObj.handler.guid = handler.guid; } } // Add to the element's handler list, delegates in front if ( selector ) { handlers.splice( handlers.delegateCount++, 0, handleObj ); } else { handlers.push( handleObj ); } // Keep track of which events have ever been used, for event optimization jQuery.event.global[ type ] = true; } }, // Detach an event or set of events from an element remove: function( elem, types, handler, selector, mappedTypes ) { var j, origCount, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); if ( !elemData || !( events = elemData.events ) ) { return; } // Once for each type.namespace in types; type may be omitted types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; t = types.length; while ( t-- ) { tmp = rtypenamespace.exec( types[ t ] ) || []; type = origType = tmp[ 1 ]; namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); // Unbind all events (on this namespace, if provided) for the element if ( !type ) { for ( type in events ) { jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); } continue; } special = jQuery.event.special[ type ] || {}; type = ( selector ? special.delegateType : special.bindType ) || type; handlers = events[ type ] || []; tmp = tmp[ 2 ] && new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); // Remove matching events origCount = j = handlers.length; while ( j-- ) { handleObj = handlers[ j ]; if ( ( mappedTypes || origType === handleObj.origType ) && ( !handler || handler.guid === handleObj.guid ) && ( !tmp || tmp.test( handleObj.namespace ) ) && ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { handlers.splice( j, 1 ); if ( handleObj.selector ) { handlers.delegateCount--; } if ( special.remove ) { special.remove.call( elem, handleObj ); } } } // Remove generic event handler if we removed something and no more handlers exist // (avoids potential for endless recursion during removal of special event handlers) if ( origCount && !handlers.length ) { if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { jQuery.removeEvent( elem, type, elemData.handle ); } delete events[ type ]; } } // Remove data and the expando if it's no longer used if ( jQuery.isEmptyObject( events ) ) { dataPriv.remove( elem, "handle events" ); } }, dispatch: function( nativeEvent ) { var i, j, ret, matched, handleObj, handlerQueue, args = new Array( arguments.length ), // Make a writable jQuery.Event from the native event object event = jQuery.event.fix( nativeEvent ), handlers = ( dataPriv.get( this, "events" ) || Object.create( null ) )[ event.type ] || [], special = jQuery.event.special[ event.type ] || {}; // Use the fix-ed jQuery.Event rather than the (read-only) native event args[ 0 ] = event; for ( i = 1; i < arguments.length; i++ ) { args[ i ] = arguments[ i ]; } event.delegateTarget = this; // Call the preDispatch hook for the mapped type, and let it bail if desired if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { return; } // Determine handlers handlerQueue = jQuery.event.handlers.call( this, event, handlers ); // Run delegates first; they may want to stop propagation beneath us i = 0; while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { event.currentTarget = matched.elem; j = 0; while ( ( handleObj = matched.handlers[ j++ ] ) && !event.isImmediatePropagationStopped() ) { // If the event is namespaced, then each handler is only invoked if it is // specially universal or its namespaces are a superset of the event's. if ( !event.rnamespace || handleObj.namespace === false || event.rnamespace.test( handleObj.namespace ) ) { event.handleObj = handleObj; event.data = handleObj.data; ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || handleObj.handler ).apply( matched.elem, args ); if ( ret !== undefined ) { if ( ( event.result = ret ) === false ) { event.preventDefault(); event.stopPropagation(); } } } } } // Call the postDispatch hook for the mapped type if ( special.postDispatch ) { special.postDispatch.call( this, event ); } return event.result; }, handlers: function( event, handlers ) { var i, handleObj, sel, matchedHandlers, matchedSelectors, handlerQueue = [], delegateCount = handlers.delegateCount, cur = event.target; // Find delegate handlers if ( delegateCount && // Support: IE <=9 // Black-hole SVG <use> instance trees (trac-13180) cur.nodeType && // Support: Firefox <=42 // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click // Support: IE 11 only // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) !( event.type === "click" && event.button >= 1 ) ) { for ( ; cur !== this; cur = cur.parentNode || this ) { // Don't check non-elements (#13208) // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { matchedHandlers = []; matchedSelectors = {}; for ( i = 0; i < delegateCount; i++ ) { handleObj = handlers[ i ]; // Don't conflict with Object.prototype properties (#13203) sel = handleObj.selector + " "; if ( matchedSelectors[ sel ] === undefined ) { matchedSelectors[ sel ] = handleObj.needsContext ? jQuery( sel, this ).index( cur ) > -1 : jQuery.find( sel, this, null, [ cur ] ).length; } if ( matchedSelectors[ sel ] ) { matchedHandlers.push( handleObj ); } } if ( matchedHandlers.length ) { handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); } } } } // Add the remaining (directly-bound) handlers cur = this; if ( delegateCount < handlers.length ) { handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); } return handlerQueue; }, addProp: function( name, hook ) { Object.defineProperty( jQuery.Event.prototype, name, { enumerable: true, configurable: true, get: isFunction( hook ) ? function() { if ( this.originalEvent ) { return hook( this.originalEvent ); } } : function() { if ( this.originalEvent ) { return this.originalEvent[ name ]; } }, set: function( value ) { Object.defineProperty( this, name, { enumerable: true, configurable: true, writable: true, value: value } ); } } ); }, fix: function( originalEvent ) { return originalEvent[ jQuery.expando ] ? originalEvent : new jQuery.Event( originalEvent ); }, special: { load: { // Prevent triggered image.load events from bubbling to window.load noBubble: true }, click: { // Utilize native event to ensure correct state for checkable inputs setup: function( data ) { // For mutual compressibility with _default, replace `this` access with a local var. // `|| data` is dead code meant only to preserve the variable through minification. var el = this || data; // Claim the first handler if ( rcheckableType.test( el.type ) && el.click && nodeName( el, "input" ) ) { // dataPriv.set( el, "click", ... ) leverageNative( el, "click", returnTrue ); } // Return false to allow normal processing in the caller return false; }, trigger: function( data ) { // For mutual compressibility with _default, replace `this` access with a local var. // `|| data` is dead code meant only to preserve the variable through minification. var el = this || data; // Force setup before triggering a click if ( rcheckableType.test( el.type ) && el.click && nodeName( el, "input" ) ) { leverageNative( el, "click" ); } // Return non-false to allow normal event-path propagation return true; }, // For cross-browser consistency, suppress native .click() on links // Also prevent it if we're currently inside a leveraged native-event stack _default: function( event ) { var target = event.target; return rcheckableType.test( target.type ) && target.click && nodeName( target, "input" ) && dataPriv.get( target, "click" ) || nodeName( target, "a" ); } }, beforeunload: { postDispatch: function( event ) { // Support: Firefox 20+ // Firefox doesn't alert if the returnValue field is not set. if ( event.result !== undefined && event.originalEvent ) { event.originalEvent.returnValue = event.result; } } } } }; // Ensure the presence of an event listener that handles manually-triggered // synthetic events by interrupting progress until reinvoked in response to // *native* events that it fires directly, ensuring that state changes have // already occurred before other listeners are invoked. function leverageNative( el, type, expectSync ) { // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add if ( !expectSync ) { if ( dataPriv.get( el, type ) === undefined ) { jQuery.event.add( el, type, returnTrue ); } return; } // Register the controller as a special universal handler for all event namespaces dataPriv.set( el, type, false ); jQuery.event.add( el, type, { namespace: false, handler: function( event ) { var notAsync, result, saved = dataPriv.get( this, type ); if ( ( event.isTrigger & 1 ) && this[ type ] ) { // Interrupt processing of the outer synthetic .trigger()ed event // Saved data should be false in such cases, but might be a leftover capture object // from an async native handler (gh-4350) if ( !saved.length ) { // Store arguments for use when handling the inner native event // There will always be at least one argument (an event object), so this array // will not be confused with a leftover capture object. saved = slice.call( arguments ); dataPriv.set( this, type, saved ); // Trigger the native event and capture its result // Support: IE <=9 - 11+ // focus() and blur() are asynchronous notAsync = expectSync( this, type ); this[ type ](); result = dataPriv.get( this, type ); if ( saved !== result || notAsync ) { dataPriv.set( this, type, false ); } else { result = {}; } if ( saved !== result ) { // Cancel the outer synthetic event event.stopImmediatePropagation(); event.preventDefault(); // Support: Chrome 86+ // In Chrome, if an element having a focusout handler is blurred by // clicking outside of it, it invokes the handler synchronously. If // that handler calls `.remove()` on the element, the data is cleared, // leaving `result` undefined. We need to guard against this. return result && result.value; } // If this is an inner synthetic event for an event with a bubbling surrogate // (focus or blur), assume that the surrogate already propagated from triggering the // native event and prevent that from happening again here. // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the // bubbling surrogate propagates *after* the non-bubbling base), but that seems // less bad than duplication. } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { event.stopPropagation(); } // If this is a native event triggered above, everything is now in order // Fire an inner synthetic event with the original arguments } else if ( saved.length ) { // ...and capture the result dataPriv.set( this, type, { value: jQuery.event.trigger( // Support: IE <=9 - 11+ // Extend with the prototype to reset the above stopImmediatePropagation() jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), saved.slice( 1 ), this ) } ); // Abort handling of the native event event.stopImmediatePropagation(); } } } ); } jQuery.removeEvent = function( elem, type, handle ) { // This "if" is needed for plain objects if ( elem.removeEventListener ) { elem.removeEventListener( type, handle ); } }; jQuery.Event = function( src, props ) { // Allow instantiation without the 'new' keyword if ( !( this instanceof jQuery.Event ) ) { return new jQuery.Event( src, props ); } // Event object if ( src && src.type ) { this.originalEvent = src; this.type = src.type; // Events bubbling up the document may have been marked as prevented // by a handler lower down the tree; reflect the correct value. this.isDefaultPrevented = src.defaultPrevented || src.defaultPrevented === undefined && // Support: Android <=2.3 only src.returnValue === false ? returnTrue : returnFalse; // Create target properties // Support: Safari <=6 - 7 only // Target should not be a text node (#504, #13143) this.target = ( src.target && src.target.nodeType === 3 ) ? src.target.parentNode : src.target; this.currentTarget = src.currentTarget; this.relatedTarget = src.relatedTarget; // Event type } else { this.type = src; } // Put explicitly provided properties onto the event object if ( props ) { jQuery.extend( this, props ); } // Create a timestamp if incoming event doesn't have one this.timeStamp = src && src.timeStamp || Date.now(); // Mark it as fixed this[ jQuery.expando ] = true; }; // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding // https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html jQuery.Event.prototype = { constructor: jQuery.Event, isDefaultPrevented: returnFalse, isPropagationStopped: returnFalse, isImmediatePropagationStopped: returnFalse, isSimulated: false, preventDefault: function() { var e = this.originalEvent; this.isDefaultPrevented = returnTrue; if ( e && !this.isSimulated ) { e.preventDefault(); } }, stopPropagation: function() { var e = this.originalEvent; this.isPropagationStopped = returnTrue; if ( e && !this.isSimulated ) { e.stopPropagation(); } }, stopImmediatePropagation: function() { var e = this.originalEvent; this.isImmediatePropagationStopped = returnTrue; if ( e && !this.isSimulated ) { e.stopImmediatePropagation(); } this.stopPropagation(); } }; // Includes all common event props including KeyEvent and MouseEvent specific props jQuery.each( { altKey: true, bubbles: true, cancelable: true, changedTouches: true, ctrlKey: true, detail: true, eventPhase: true, metaKey: true, pageX: true, pageY: true, shiftKey: true, view: true, "char": true, code: true, charCode: true, key: true, keyCode: true, button: true, buttons: true, clientX: true, clientY: true, offsetX: true, offsetY: true, pointerId: true, pointerType: true, screenX: true, screenY: true, targetTouches: true, toElement: true, touches: true, which: true }, jQuery.event.addProp ); jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { jQuery.event.special[ type ] = { // Utilize native event if possible so blur/focus sequence is correct setup: function() { // Claim the first handler // dataPriv.set( this, "focus", ... ) // dataPriv.set( this, "blur", ... ) leverageNative( this, type, expectSync ); // Return false to allow normal processing in the caller return false; }, trigger: function() { // Force setup before trigger leverageNative( this, type ); // Return non-false to allow normal event-path propagation return true; }, // Suppress native focus or blur as it's already being fired // in leverageNative. _default: function() { return true; }, delegateType: delegateType }; } ); // Create mouseenter/leave events using mouseover/out and event-time checks // so that event delegation works in jQuery. // Do the same for pointerenter/pointerleave and pointerover/pointerout // // Support: Safari 7 only // Safari sends mouseenter too often; see: // https://bugs.chromium.org/p/chromium/issues/detail?id=470258 // for the description of the bug (it existed in older Chrome versions as well). jQuery.each( { mouseenter: "mouseover", mouseleave: "mouseout", pointerenter: "pointerover", pointerleave: "pointerout" }, function( orig, fix ) { jQuery.event.special[ orig ] = { delegateType: fix, bindType: fix, handle: function( event ) { var ret, target = this, related = event.relatedTarget, handleObj = event.handleObj; // For mouseenter/leave call the handler if related is outside the target. // NB: No relatedTarget if the mouse left/entered the browser window if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { event.type = handleObj.origType; ret = handleObj.handler.apply( this, arguments ); event.type = fix; } return ret; } }; } ); jQuery.fn.extend( { on: function( types, selector, data, fn ) { return on( this, types, selector, data, fn ); }, one: function( types, selector, data, fn ) { return on( this, types, selector, data, fn, 1 ); }, off: function( types, selector, fn ) { var handleObj, type; if ( types && types.preventDefault && types.handleObj ) { // ( event ) dispatched jQuery.Event handleObj = types.handleObj; jQuery( types.delegateTarget ).off( handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, handleObj.selector, handleObj.handler ); return this; } if ( typeof types === "object" ) { // ( types-object [, selector] ) for ( type in types ) { this.off( type, selector, types[ type ] ); } return this; } if ( selector === false || typeof selector === "function" ) { // ( types [, fn] ) fn = selector; selector = undefined; } if ( fn === false ) { fn = returnFalse; } return this.each( function() { jQuery.event.remove( this, types, fn, selector ); } ); } } ); var // Support: IE <=10 - 11, Edge 12 - 13 only // In IE/Edge using regex groups here causes severe slowdowns. // See https://connect.microsoft.com/IE/feedback/details/1736512/ rnoInnerhtml = /<script|<style|<link/i, // checked="checked" or checked rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g; // Prefer a tbody over its parent table for containing new rows function manipulationTarget( elem, content ) { if ( nodeName( elem, "table" ) && nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { return jQuery( elem ).children( "tbody" )[ 0 ] || elem; } return elem; } // Replace/restore the type attribute of script elements for safe DOM manipulation function disableScript( elem ) { elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; return elem; } function restoreScript( elem ) { if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { elem.type = elem.type.slice( 5 ); } else { elem.removeAttribute( "type" ); } return elem; } function cloneCopyEvent( src, dest ) { var i, l, type, pdataOld, udataOld, udataCur, events; if ( dest.nodeType !== 1 ) { return; } // 1. Copy private data: events, handlers, etc. if ( dataPriv.hasData( src ) ) { pdataOld = dataPriv.get( src ); events = pdataOld.events; if ( events ) { dataPriv.remove( dest, "handle events" ); for ( type in events ) { for ( i = 0, l = events[ type ].length; i < l; i++ ) { jQuery.event.add( dest, type, events[ type ][ i ] ); } } } } // 2. Copy user data if ( dataUser.hasData( src ) ) { udataOld = dataUser.access( src ); udataCur = jQuery.extend( {}, udataOld ); dataUser.set( dest, udataCur ); } } // Fix IE bugs, see support tests function fixInput( src, dest ) { var nodeName = dest.nodeName.toLowerCase(); // Fails to persist the checked state of a cloned checkbox or radio button. if ( nodeName === "input" && rcheckableType.test( src.type ) ) { dest.checked = src.checked; // Fails to return the selected option to the default selected state when cloning options } else if ( nodeName === "input" || nodeName === "textarea" ) { dest.defaultValue = src.defaultValue; } } function domManip( collection, args, callback, ignored ) { // Flatten any nested arrays args = flat( args ); var fragment, first, scripts, hasScripts, node, doc, i = 0, l = collection.length, iNoClone = l - 1, value = args[ 0 ], valueIsFunction = isFunction( value ); // We can't cloneNode fragments that contain checked, in WebKit if ( valueIsFunction || ( l > 1 && typeof value === "string" && !support.checkClone && rchecked.test( value ) ) ) { return collection.each( function( index ) { var self = collection.eq( index ); if ( valueIsFunction ) { args[ 0 ] = value.call( this, index, self.html() ); } domManip( self, args, callback, ignored ); } ); } if ( l ) { fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); first = fragment.firstChild; if ( fragment.childNodes.length === 1 ) { fragment = first; } // Require either new content or an interest in ignored elements to invoke the callback if ( first || ignored ) { scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); hasScripts = scripts.length; // Use the original fragment for the last item // instead of the first because it can end up // being emptied incorrectly in certain situations (#8070). for ( ; i < l; i++ ) { node = fragment; if ( i !== iNoClone ) { node = jQuery.clone( node, true, true ); // Keep references to cloned scripts for later restoration if ( hasScripts ) { // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit jQuery.merge( scripts, getAll( node, "script" ) ); } } callback.call( collection[ i ], node, i ); } if ( hasScripts ) { doc = scripts[ scripts.length - 1 ].ownerDocument; // Reenable scripts jQuery.map( scripts, restoreScript ); // Evaluate executable scripts on first document insertion for ( i = 0; i < hasScripts; i++ ) { node = scripts[ i ]; if ( rscriptType.test( node.type || "" ) && !dataPriv.access( node, "globalEval" ) && jQuery.contains( doc, node ) ) { if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { // Optional AJAX dependency, but won't run scripts if not present if ( jQuery._evalUrl && !node.noModule ) { jQuery._evalUrl( node.src, { nonce: node.nonce || node.getAttribute( "nonce" ) }, doc ); } } else { DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); } } } } } } return collection; } function remove( elem, selector, keepData ) { var node, nodes = selector ? jQuery.filter( selector, elem ) : elem, i = 0; for ( ; ( node = nodes[ i ] ) != null; i++ ) { if ( !keepData && node.nodeType === 1 ) { jQuery.cleanData( getAll( node ) ); } if ( node.parentNode ) { if ( keepData && isAttached( node ) ) { setGlobalEval( getAll( node, "script" ) ); } node.parentNode.removeChild( node ); } } return elem; } jQuery.extend( { htmlPrefilter: function( html ) { return html; }, clone: function( elem, dataAndEvents, deepDataAndEvents ) { var i, l, srcElements, destElements, clone = elem.cloneNode( true ), inPage = isAttached( elem ); // Fix IE cloning issues if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && !jQuery.isXMLDoc( elem ) ) { // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 destElements = getAll( clone ); srcElements = getAll( elem ); for ( i = 0, l = srcElements.length; i < l; i++ ) { fixInput( srcElements[ i ], destElements[ i ] ); } } // Copy the events from the original to the clone if ( dataAndEvents ) { if ( deepDataAndEvents ) { srcElements = srcElements || getAll( elem ); destElements = destElements || getAll( clone ); for ( i = 0, l = srcElements.length; i < l; i++ ) { cloneCopyEvent( srcElements[ i ], destElements[ i ] ); } } else { cloneCopyEvent( elem, clone ); } } // Preserve script evaluation history destElements = getAll( clone, "script" ); if ( destElements.length > 0 ) { setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); } // Return the cloned set return clone; }, cleanData: function( elems ) { var data, elem, type, special = jQuery.event.special, i = 0; for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { if ( acceptData( elem ) ) { if ( ( data = elem[ dataPriv.expando ] ) ) { if ( data.events ) { for ( type in data.events ) { if ( special[ type ] ) { jQuery.event.remove( elem, type ); // This is a shortcut to avoid jQuery.event.remove's overhead } else { jQuery.removeEvent( elem, type, data.handle ); } } } // Support: Chrome <=35 - 45+ // Assign undefined instead of using delete, see Data#remove elem[ dataPriv.expando ] = undefined; } if ( elem[ dataUser.expando ] ) { // Support: Chrome <=35 - 45+ // Assign undefined instead of using delete, see Data#remove elem[ dataUser.expando ] = undefined; } } } } } ); jQuery.fn.extend( { detach: function( selector ) { return remove( this, selector, true ); }, remove: function( selector ) { return remove( this, selector ); }, text: function( value ) { return access( this, function( value ) { return value === undefined ? jQuery.text( this ) : this.empty().each( function() { if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { this.textContent = value; } } ); }, null, value, arguments.length ); }, append: function() { return domManip( this, arguments, function( elem ) { if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { var target = manipulationTarget( this, elem ); target.appendChild( elem ); } } ); }, prepend: function() { return domManip( this, arguments, function( elem ) { if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { var target = manipulationTarget( this, elem ); target.insertBefore( elem, target.firstChild ); } } ); }, before: function() { return domManip( this, arguments, function( elem ) { if ( this.parentNode ) { this.parentNode.insertBefore( elem, this ); } } ); }, after: function() { return domManip( this, arguments, function( elem ) { if ( this.parentNode ) { this.parentNode.insertBefore( elem, this.nextSibling ); } } ); }, empty: function() { var elem, i = 0; for ( ; ( elem = this[ i ] ) != null; i++ ) { if ( elem.nodeType === 1 ) { // Prevent memory leaks jQuery.cleanData( getAll( elem, false ) ); // Remove any remaining nodes elem.textContent = ""; } } return this; }, clone: function( dataAndEvents, deepDataAndEvents ) { dataAndEvents = dataAndEvents == null ? false : dataAndEvents; deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; return this.map( function() { return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); } ); }, html: function( value ) { return access( this, function( value ) { var elem = this[ 0 ] || {}, i = 0, l = this.length; if ( value === undefined && elem.nodeType === 1 ) { return elem.innerHTML; } // See if we can take a shortcut and just use innerHTML if ( typeof value === "string" && !rnoInnerhtml.test( value ) && !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { value = jQuery.htmlPrefilter( value ); try { for ( ; i < l; i++ ) { elem = this[ i ] || {}; // Remove element nodes and prevent memory leaks if ( elem.nodeType === 1 ) { jQuery.cleanData( getAll( elem, false ) ); elem.innerHTML = value; } } elem = 0; // If using innerHTML throws an exception, use the fallback method } catch ( e ) {} } if ( elem ) { this.empty().append( value ); } }, null, value, arguments.length ); }, replaceWith: function() { var ignored = []; // Make the changes, replacing each non-ignored context element with the new content return domManip( this, arguments, function( elem ) { var parent = this.parentNode; if ( jQuery.inArray( this, ignored ) < 0 ) { jQuery.cleanData( getAll( this ) ); if ( parent ) { parent.replaceChild( elem, this ); } } // Force callback invocation }, ignored ); } } ); jQuery.each( { appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function( name, original ) { jQuery.fn[ name ] = function( selector ) { var elems, ret = [], insert = jQuery( selector ), last = insert.length - 1, i = 0; for ( ; i <= last; i++ ) { elems = i === last ? this : this.clone( true ); jQuery( insert[ i ] )[ original ]( elems ); // Support: Android <=4.0 only, PhantomJS 1 only // .get() because push.apply(_, arraylike) throws on ancient WebKit push.apply( ret, elems.get() ); } return this.pushStack( ret ); }; } ); var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); var getStyles = function( elem ) { // Support: IE <=11 only, Firefox <=30 (#15098, #14150) // IE throws on elements created in popups // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" var view = elem.ownerDocument.defaultView; if ( !view || !view.opener ) { view = window; } return view.getComputedStyle( elem ); }; var swap = function( elem, options, callback ) { var ret, name, old = {}; // Remember the old values, and insert the new ones for ( name in options ) { old[ name ] = elem.style[ name ]; elem.style[ name ] = options[ name ]; } ret = callback.call( elem ); // Revert the old values for ( name in options ) { elem.style[ name ] = old[ name ]; } return ret; }; var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); ( function() { // Executing both pixelPosition & boxSizingReliable tests require only one layout // so they're executed at the same time to save the second computation. function computeStyleTests() { // This is a singleton, we need to execute it only once if ( !div ) { return; } container.style.cssText = "position:absolute;left:-11111px;width:60px;" + "margin-top:1px;padding:0;border:0"; div.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + "margin:auto;border:1px;padding:1px;" + "width:60%;top:1%"; documentElement.appendChild( container ).appendChild( div ); var divStyle = window.getComputedStyle( div ); pixelPositionVal = divStyle.top !== "1%"; // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 // Some styles come back with percentage values, even though they shouldn't div.style.right = "60%"; pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; // Support: IE 9 - 11 only // Detect misreporting of content dimensions for box-sizing:border-box elements boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; // Support: IE 9 only // Detect overflow:scroll screwiness (gh-3699) // Support: Chrome <=64 // Don't get tricked when zoom affects offsetWidth (gh-4029) div.style.position = "absolute"; scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; documentElement.removeChild( container ); // Nullify the div so it wouldn't be stored in the memory and // it will also be a sign that checks already performed div = null; } function roundPixelMeasures( measure ) { return Math.round( parseFloat( measure ) ); } var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, reliableTrDimensionsVal, reliableMarginLeftVal, container = document.createElement( "div" ), div = document.createElement( "div" ); // Finish early in limited (non-browser) environments if ( !div.style ) { return; } // Support: IE <=9 - 11 only // Style of cloned element affects source element cloned (#8908) div.style.backgroundClip = "content-box"; div.cloneNode( true ).style.backgroundClip = ""; support.clearCloneStyle = div.style.backgroundClip === "content-box"; jQuery.extend( support, { boxSizingReliable: function() { computeStyleTests(); return boxSizingReliableVal; }, pixelBoxStyles: function() { computeStyleTests(); return pixelBoxStylesVal; }, pixelPosition: function() { computeStyleTests(); return pixelPositionVal; }, reliableMarginLeft: function() { computeStyleTests(); return reliableMarginLeftVal; }, scrollboxSize: function() { computeStyleTests(); return scrollboxSizeVal; }, // Support: IE 9 - 11+, Edge 15 - 18+ // IE/Edge misreport `getComputedStyle` of table rows with width/height // set in CSS while `offset*` properties report correct values. // Behavior in IE 9 is more subtle than in newer versions & it passes // some versions of this test; make sure not to make it pass there! // // Support: Firefox 70+ // Only Firefox includes border widths // in computed dimensions. (gh-4529) reliableTrDimensions: function() { var table, tr, trChild, trStyle; if ( reliableTrDimensionsVal == null ) { table = document.createElement( "table" ); tr = document.createElement( "tr" ); trChild = document.createElement( "div" ); table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; tr.style.cssText = "border:1px solid"; // Support: Chrome 86+ // Height set through cssText does not get applied. // Computed height then comes back as 0. tr.style.height = "1px"; trChild.style.height = "9px"; // Support: Android 8 Chrome 86+ // In our bodyBackground.html iframe, // display for all div elements is set to "inline", // which causes a problem only in Android 8 Chrome 86. // Ensuring the div is display: block // gets around this issue. trChild.style.display = "block"; documentElement .appendChild( table ) .appendChild( tr ) .appendChild( trChild ); trStyle = window.getComputedStyle( tr ); reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + parseInt( trStyle.borderTopWidth, 10 ) + parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; documentElement.removeChild( table ); } return reliableTrDimensionsVal; } } ); } )(); function curCSS( elem, name, computed ) { var width, minWidth, maxWidth, ret, // Support: Firefox 51+ // Retrieving style before computed somehow // fixes an issue with getting wrong values // on detached elements style = elem.style; computed = computed || getStyles( elem ); // getPropertyValue is needed for: // .css('filter') (IE 9 only, #12537) // .css('--customProperty) (#3144) if ( computed ) { ret = computed.getPropertyValue( name ) || computed[ name ]; if ( ret === "" && !isAttached( elem ) ) { ret = jQuery.style( elem, name ); } // A tribute to the "awesome hack by Dean Edwards" // Android Browser returns percentage for some values, // but width seems to be reliably pixels. // This is against the CSSOM draft spec: // https://drafts.csswg.org/cssom/#resolved-values if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { // Remember the original values width = style.width; minWidth = style.minWidth; maxWidth = style.maxWidth; // Put in the new values to get a computed value out style.minWidth = style.maxWidth = style.width = ret; ret = computed.width; // Revert the changed values style.width = width; style.minWidth = minWidth; style.maxWidth = maxWidth; } } return ret !== undefined ? // Support: IE <=9 - 11 only // IE returns zIndex value as an integer. ret + "" : ret; } function addGetHookIf( conditionFn, hookFn ) { // Define the hook, we'll check on the first run if it's really needed. return { get: function() { if ( conditionFn() ) { // Hook not needed (or it's not possible to use it due // to missing dependency), remove it. delete this.get; return; } // Hook needed; redefine it so that the support test is not executed again. return ( this.get = hookFn ).apply( this, arguments ); } }; } var cssPrefixes = [ "Webkit", "Moz", "ms" ], emptyStyle = document.createElement( "div" ).style, vendorProps = {}; // Return a vendor-prefixed property or undefined function vendorPropName( name ) { // Check for vendor prefixed names var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), i = cssPrefixes.length; while ( i-- ) { name = cssPrefixes[ i ] + capName; if ( name in emptyStyle ) { return name; } } } // Return a potentially-mapped jQuery.cssProps or vendor prefixed property function finalPropName( name ) { var final = jQuery.cssProps[ name ] || vendorProps[ name ]; if ( final ) { return final; } if ( name in emptyStyle ) { return name; } return vendorProps[ name ] = vendorPropName( name ) || name; } var // Swappable if display is none or starts with table // except "table", "table-cell", or "table-caption" // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display rdisplayswap = /^(none|table(?!-c[ea]).+)/, rcustomProp = /^--/, cssShow = { position: "absolute", visibility: "hidden", display: "block" }, cssNormalTransform = { letterSpacing: "0", fontWeight: "400" }; function setPositiveNumber( _elem, value, subtract ) { // Any relative (+/-) values have already been // normalized at this point var matches = rcssNum.exec( value ); return matches ? // Guard against undefined "subtract", e.g., when used as in cssHooks Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : value; } function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { var i = dimension === "width" ? 1 : 0, extra = 0, delta = 0; // Adjustment may not be necessary if ( box === ( isBorderBox ? "border" : "content" ) ) { return 0; } for ( ; i < 4; i += 2 ) { // Both box models exclude margin if ( box === "margin" ) { delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); } // If we get here with a content-box, we're seeking "padding" or "border" or "margin" if ( !isBorderBox ) { // Add padding delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); // For "border" or "margin", add border if ( box !== "padding" ) { delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); // But still keep track of it otherwise } else { extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); } // If we get here with a border-box (content + padding + border), we're seeking "content" or // "padding" or "margin" } else { // For "content", subtract padding if ( box === "content" ) { delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); } // For "content" or "padding", subtract border if ( box !== "margin" ) { delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); } } } // Account for positive content-box scroll gutter when requested by providing computedVal if ( !isBorderBox && computedVal >= 0 ) { // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border // Assuming integer scroll gutter, subtract the rest and round down delta += Math.max( 0, Math.ceil( elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - computedVal - delta - extra - 0.5 // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter // Use an explicit zero to avoid NaN (gh-3964) ) ) || 0; } return delta; } function getWidthOrHeight( elem, dimension, extra ) { // Start with computed style var styles = getStyles( elem ), // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). // Fake content-box until we know it's needed to know the true value. boxSizingNeeded = !support.boxSizingReliable() || extra, isBorderBox = boxSizingNeeded && jQuery.css( elem, "boxSizing", false, styles ) === "border-box", valueIsBorderBox = isBorderBox, val = curCSS( elem, dimension, styles ), offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); // Support: Firefox <=54 // Return a confounding non-pixel value or feign ignorance, as appropriate. if ( rnumnonpx.test( val ) ) { if ( !extra ) { return val; } val = "auto"; } // Support: IE 9 - 11 only // Use offsetWidth/offsetHeight for when box sizing is unreliable. // In those cases, the computed value can be trusted to be border-box. if ( ( !support.boxSizingReliable() && isBorderBox || // Support: IE 10 - 11+, Edge 15 - 18+ // IE/Edge misreport `getComputedStyle` of table rows with width/height // set in CSS while `offset*` properties report correct values. // Interestingly, in some cases IE 9 doesn't suffer from this issue. !support.reliableTrDimensions() && nodeName( elem, "tr" ) || // Fall back to offsetWidth/offsetHeight when value is "auto" // This happens for inline elements with no explicit setting (gh-3571) val === "auto" || // Support: Android <=4.1 - 4.3 only // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && // Make sure the element is visible & connected elem.getClientRects().length ) { isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; // Where available, offsetWidth/offsetHeight approximate border box dimensions. // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the // retrieved value as a content box dimension. valueIsBorderBox = offsetProp in elem; if ( valueIsBorderBox ) { val = elem[ offsetProp ]; } } // Normalize "" and auto val = parseFloat( val ) || 0; // Adjust for the element's box model return ( val + boxModelAdjustment( elem, dimension, extra || ( isBorderBox ? "border" : "content" ), valueIsBorderBox, styles, // Provide the current computed size to request scroll gutter calculation (gh-3589) val ) ) + "px"; } jQuery.extend( { // Add in style property hooks for overriding the default // behavior of getting and setting a style property cssHooks: { opacity: { get: function( elem, computed ) { if ( computed ) { // We should always get a number back from opacity var ret = curCSS( elem, "opacity" ); return ret === "" ? "1" : ret; } } } }, // Don't automatically add "px" to these possibly-unitless properties cssNumber: { "animationIterationCount": true, "columnCount": true, "fillOpacity": true, "flexGrow": true, "flexShrink": true, "fontWeight": true, "gridArea": true, "gridColumn": true, "gridColumnEnd": true, "gridColumnStart": true, "gridRow": true, "gridRowEnd": true, "gridRowStart": true, "lineHeight": true, "opacity": true, "order": true, "orphans": true, "widows": true, "zIndex": true, "zoom": true }, // Add in properties whose names you wish to fix before // setting or getting the value cssProps: {}, // Get and set the style property on a DOM Node style: function( elem, name, value, extra ) { // Don't set styles on text and comment nodes if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { return; } // Make sure that we're working with the right name var ret, type, hooks, origName = camelCase( name ), isCustomProp = rcustomProp.test( name ), style = elem.style; // Make sure that we're working with the right name. We don't // want to query the value if it is a CSS custom property // since they are user-defined. if ( !isCustomProp ) { name = finalPropName( origName ); } // Gets hook for the prefixed version, then unprefixed version hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; // Check if we're setting a value if ( value !== undefined ) { type = typeof value; // Convert "+=" or "-=" to relative numbers (#7345) if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { value = adjustCSS( elem, name, ret ); // Fixes bug #9237 type = "number"; } // Make sure that null and NaN values aren't set (#7116) if ( value == null || value !== value ) { return; } // If a number was passed in, add the unit (except for certain CSS properties) // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append // "px" to a few hardcoded values. if ( type === "number" && !isCustomProp ) { value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); } // background-* props affect original clone's values if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { style[ name ] = "inherit"; } // If a hook was provided, use that value, otherwise just set the specified value if ( !hooks || !( "set" in hooks ) || ( value = hooks.set( elem, value, extra ) ) !== undefined ) { if ( isCustomProp ) { style.setProperty( name, value ); } else { style[ name ] = value; } } } else { // If a hook was provided get the non-computed value from there if ( hooks && "get" in hooks && ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { return ret; } // Otherwise just get the value from the style object return style[ name ]; } }, css: function( elem, name, extra, styles ) { var val, num, hooks, origName = camelCase( name ), isCustomProp = rcustomProp.test( name ); // Make sure that we're working with the right name. We don't // want to modify the value if it is a CSS custom property // since they are user-defined. if ( !isCustomProp ) { name = finalPropName( origName ); } // Try prefixed name followed by the unprefixed name hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; // If a hook was provided get the computed value from there if ( hooks && "get" in hooks ) { val = hooks.get( elem, true, extra ); } // Otherwise, if a way to get the computed value exists, use that if ( val === undefined ) { val = curCSS( elem, name, styles ); } // Convert "normal" to computed value if ( val === "normal" && name in cssNormalTransform ) { val = cssNormalTransform[ name ]; } // Make numeric if forced or a qualifier was provided and val looks numeric if ( extra === "" || extra ) { num = parseFloat( val ); return extra === true || isFinite( num ) ? num || 0 : val; } return val; } } ); jQuery.each( [ "height", "width" ], function( _i, dimension ) { jQuery.cssHooks[ dimension ] = { get: function( elem, computed, extra ) { if ( computed ) { // Certain elements can have dimension info if we invisibly show them // but it must have a current display style that would benefit return rdisplayswap.test( jQuery.css( elem, "display" ) ) && // Support: Safari 8+ // Table columns in Safari have non-zero offsetWidth & zero // getBoundingClientRect().width unless display is changed. // Support: IE <=11 only // Running getBoundingClientRect on a disconnected node // in IE throws an error. ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? swap( elem, cssShow, function() { return getWidthOrHeight( elem, dimension, extra ); } ) : getWidthOrHeight( elem, dimension, extra ); } }, set: function( elem, value, extra ) { var matches, styles = getStyles( elem ), // Only read styles.position if the test has a chance to fail // to avoid forcing a reflow. scrollboxSizeBuggy = !support.scrollboxSize() && styles.position === "absolute", // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) boxSizingNeeded = scrollboxSizeBuggy || extra, isBorderBox = boxSizingNeeded && jQuery.css( elem, "boxSizing", false, styles ) === "border-box", subtract = extra ? boxModelAdjustment( elem, dimension, extra, isBorderBox, styles ) : 0; // Account for unreliable border-box dimensions by comparing offset* to computed and // faking a content-box to get border and padding (gh-3699) if ( isBorderBox && scrollboxSizeBuggy ) { subtract -= Math.ceil( elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - parseFloat( styles[ dimension ] ) - boxModelAdjustment( elem, dimension, "border", false, styles ) - 0.5 ); } // Convert to pixels if value adjustment is needed if ( subtract && ( matches = rcssNum.exec( value ) ) && ( matches[ 3 ] || "px" ) !== "px" ) { elem.style[ dimension ] = value; value = jQuery.css( elem, dimension ); } return setPositiveNumber( elem, value, subtract ); } }; } ); jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, function( elem, computed ) { if ( computed ) { return ( parseFloat( curCSS( elem, "marginLeft" ) ) || elem.getBoundingClientRect().left - swap( elem, { marginLeft: 0 }, function() { return elem.getBoundingClientRect().left; } ) ) + "px"; } } ); // These hooks are used by animate to expand properties jQuery.each( { margin: "", padding: "", border: "Width" }, function( prefix, suffix ) { jQuery.cssHooks[ prefix + suffix ] = { expand: function( value ) { var i = 0, expanded = {}, // Assumes a single number if not a string parts = typeof value === "string" ? value.split( " " ) : [ value ]; for ( ; i < 4; i++ ) { expanded[ prefix + cssExpand[ i ] + suffix ] = parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; } return expanded; } }; if ( prefix !== "margin" ) { jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; } } ); jQuery.fn.extend( { css: function( name, value ) { return access( this, function( elem, name, value ) { var styles, len, map = {}, i = 0; if ( Array.isArray( name ) ) { styles = getStyles( elem ); len = name.length; for ( ; i < len; i++ ) { map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); } return map; } return value !== undefined ? jQuery.style( elem, name, value ) : jQuery.css( elem, name ); }, name, value, arguments.length > 1 ); } } ); function Tween( elem, options, prop, end, easing ) { return new Tween.prototype.init( elem, options, prop, end, easing ); } jQuery.Tween = Tween; Tween.prototype = { constructor: Tween, init: function( elem, options, prop, end, easing, unit ) { this.elem = elem; this.prop = prop; this.easing = easing || jQuery.easing._default; this.options = options; this.start = this.now = this.cur(); this.end = end; this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); }, cur: function() { var hooks = Tween.propHooks[ this.prop ]; return hooks && hooks.get ? hooks.get( this ) : Tween.propHooks._default.get( this ); }, run: function( percent ) { var eased, hooks = Tween.propHooks[ this.prop ]; if ( this.options.duration ) { this.pos = eased = jQuery.easing[ this.easing ]( percent, this.options.duration * percent, 0, 1, this.options.duration ); } else { this.pos = eased = percent; } this.now = ( this.end - this.start ) * eased + this.start; if ( this.options.step ) { this.options.step.call( this.elem, this.now, this ); } if ( hooks && hooks.set ) { hooks.set( this ); } else { Tween.propHooks._default.set( this ); } return this; } }; Tween.prototype.init.prototype = Tween.prototype; Tween.propHooks = { _default: { get: function( tween ) { var result; // Use a property on the element directly when it is not a DOM element, // or when there is no matching style property that exists. if ( tween.elem.nodeType !== 1 || tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { return tween.elem[ tween.prop ]; } // Passing an empty string as a 3rd parameter to .css will automatically // attempt a parseFloat and fallback to a string if the parse fails. // Simple values such as "10px" are parsed to Float; // complex values such as "rotate(1rad)" are returned as-is. result = jQuery.css( tween.elem, tween.prop, "" ); // Empty strings, null, undefined and "auto" are converted to 0. return !result || result === "auto" ? 0 : result; }, set: function( tween ) { // Use step hook for back compat. // Use cssHook if its there. // Use .style if available and use plain properties where available. if ( jQuery.fx.step[ tween.prop ] ) { jQuery.fx.step[ tween.prop ]( tween ); } else if ( tween.elem.nodeType === 1 && ( jQuery.cssHooks[ tween.prop ] || tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); } else { tween.elem[ tween.prop ] = tween.now; } } } }; // Support: IE <=9 only // Panic based approach to setting things on disconnected nodes Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { set: function( tween ) { if ( tween.elem.nodeType && tween.elem.parentNode ) { tween.elem[ tween.prop ] = tween.now; } } }; jQuery.easing = { linear: function( p ) { return p; }, swing: function( p ) { return 0.5 - Math.cos( p * Math.PI ) / 2; }, _default: "swing" }; jQuery.fx = Tween.prototype.init; // Back compat <1.8 extension point jQuery.fx.step = {}; var fxNow, inProgress, rfxtypes = /^(?:toggle|show|hide)$/, rrun = /queueHooks$/; function schedule() { if ( inProgress ) { if ( document.hidden === false && window.requestAnimationFrame ) { window.requestAnimationFrame( schedule ); } else { window.setTimeout( schedule, jQuery.fx.interval ); } jQuery.fx.tick(); } } // Animations created synchronously will run synchronously function createFxNow() { window.setTimeout( function() { fxNow = undefined; } ); return ( fxNow = Date.now() ); } // Generate parameters to create a standard animation function genFx( type, includeWidth ) { var which, i = 0, attrs = { height: type }; // If we include width, step value is 1 to do all cssExpand values, // otherwise step value is 2 to skip over Left and Right includeWidth = includeWidth ? 1 : 0; for ( ; i < 4; i += 2 - includeWidth ) { which = cssExpand[ i ]; attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; } if ( includeWidth ) { attrs.opacity = attrs.width = type; } return attrs; } function createTween( value, prop, animation ) { var tween, collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), index = 0, length = collection.length; for ( ; index < length; index++ ) { if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { // We're done with this property return tween; } } } function defaultPrefilter( elem, props, opts ) { var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, isBox = "width" in props || "height" in props, anim = this, orig = {}, style = elem.style, hidden = elem.nodeType && isHiddenWithinTree( elem ), dataShow = dataPriv.get( elem, "fxshow" ); // Queue-skipping animations hijack the fx hooks if ( !opts.queue ) { hooks = jQuery._queueHooks( elem, "fx" ); if ( hooks.unqueued == null ) { hooks.unqueued = 0; oldfire = hooks.empty.fire; hooks.empty.fire = function() { if ( !hooks.unqueued ) { oldfire(); } }; } hooks.unqueued++; anim.always( function() { // Ensure the complete handler is called before this completes anim.always( function() { hooks.unqueued--; if ( !jQuery.queue( elem, "fx" ).length ) { hooks.empty.fire(); } } ); } ); } // Detect show/hide animations for ( prop in props ) { value = props[ prop ]; if ( rfxtypes.test( value ) ) { delete props[ prop ]; toggle = toggle || value === "toggle"; if ( value === ( hidden ? "hide" : "show" ) ) { // Pretend to be hidden if this is a "show" and // there is still data from a stopped show/hide if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { hidden = true; // Ignore all other no-op show/hide data } else { continue; } } orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); } } // Bail out if this is a no-op like .hide().hide() propTween = !jQuery.isEmptyObject( props ); if ( !propTween && jQuery.isEmptyObject( orig ) ) { return; } // Restrict "overflow" and "display" styles during box animations if ( isBox && elem.nodeType === 1 ) { // Support: IE <=9 - 11, Edge 12 - 15 // Record all 3 overflow attributes because IE does not infer the shorthand // from identically-valued overflowX and overflowY and Edge just mirrors // the overflowX value there. opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; // Identify a display type, preferring old show/hide data over the CSS cascade restoreDisplay = dataShow && dataShow.display; if ( restoreDisplay == null ) { restoreDisplay = dataPriv.get( elem, "display" ); } display = jQuery.css( elem, "display" ); if ( display === "none" ) { if ( restoreDisplay ) { display = restoreDisplay; } else { // Get nonempty value(s) by temporarily forcing visibility showHide( [ elem ], true ); restoreDisplay = elem.style.display || restoreDisplay; display = jQuery.css( elem, "display" ); showHide( [ elem ] ); } } // Animate inline elements as inline-block if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { if ( jQuery.css( elem, "float" ) === "none" ) { // Restore the original display value at the end of pure show/hide animations if ( !propTween ) { anim.done( function() { style.display = restoreDisplay; } ); if ( restoreDisplay == null ) { display = style.display; restoreDisplay = display === "none" ? "" : display; } } style.display = "inline-block"; } } } if ( opts.overflow ) { style.overflow = "hidden"; anim.always( function() { style.overflow = opts.overflow[ 0 ]; style.overflowX = opts.overflow[ 1 ]; style.overflowY = opts.overflow[ 2 ]; } ); } // Implement show/hide animations propTween = false; for ( prop in orig ) { // General show/hide setup for this element animation if ( !propTween ) { if ( dataShow ) { if ( "hidden" in dataShow ) { hidden = dataShow.hidden; } } else { dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); } // Store hidden/visible for toggle so `.stop().toggle()` "reverses" if ( toggle ) { dataShow.hidden = !hidden; } // Show elements before animating them if ( hidden ) { showHide( [ elem ], true ); } /* eslint-disable no-loop-func */ anim.done( function() { /* eslint-enable no-loop-func */ // The final step of a "hide" animation is actually hiding the element if ( !hidden ) { showHide( [ elem ] ); } dataPriv.remove( elem, "fxshow" ); for ( prop in orig ) { jQuery.style( elem, prop, orig[ prop ] ); } } ); } // Per-property setup propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); if ( !( prop in dataShow ) ) { dataShow[ prop ] = propTween.start; if ( hidden ) { propTween.end = propTween.start; propTween.start = 0; } } } } function propFilter( props, specialEasing ) { var index, name, easing, value, hooks; // camelCase, specialEasing and expand cssHook pass for ( index in props ) { name = camelCase( index ); easing = specialEasing[ name ]; value = props[ index ]; if ( Array.isArray( value ) ) { easing = value[ 1 ]; value = props[ index ] = value[ 0 ]; } if ( index !== name ) { props[ name ] = value; delete props[ index ]; } hooks = jQuery.cssHooks[ name ]; if ( hooks && "expand" in hooks ) { value = hooks.expand( value ); delete props[ name ]; // Not quite $.extend, this won't overwrite existing keys. // Reusing 'index' because we have the correct "name" for ( index in value ) { if ( !( index in props ) ) { props[ index ] = value[ index ]; specialEasing[ index ] = easing; } } } else { specialEasing[ name ] = easing; } } } function Animation( elem, properties, options ) { var result, stopped, index = 0, length = Animation.prefilters.length, deferred = jQuery.Deferred().always( function() { // Don't match elem in the :animated selector delete tick.elem; } ), tick = function() { if ( stopped ) { return false; } var currentTime = fxNow || createFxNow(), remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), // Support: Android 2.3 only // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) temp = remaining / animation.duration || 0, percent = 1 - temp, index = 0, length = animation.tweens.length; for ( ; index < length; index++ ) { animation.tweens[ index ].run( percent ); } deferred.notifyWith( elem, [ animation, percent, remaining ] ); // If there's more to do, yield if ( percent < 1 && length ) { return remaining; } // If this was an empty animation, synthesize a final progress notification if ( !length ) { deferred.notifyWith( elem, [ animation, 1, 0 ] ); } // Resolve the animation and report its conclusion deferred.resolveWith( elem, [ animation ] ); return false; }, animation = deferred.promise( { elem: elem, props: jQuery.extend( {}, properties ), opts: jQuery.extend( true, { specialEasing: {}, easing: jQuery.easing._default }, options ), originalProperties: properties, originalOptions: options, startTime: fxNow || createFxNow(), duration: options.duration, tweens: [], createTween: function( prop, end ) { var tween = jQuery.Tween( elem, animation.opts, prop, end, animation.opts.specialEasing[ prop ] || animation.opts.easing ); animation.tweens.push( tween ); return tween; }, stop: function( gotoEnd ) { var index = 0, // If we are going to the end, we want to run all the tweens // otherwise we skip this part length = gotoEnd ? animation.tweens.length : 0; if ( stopped ) { return this; } stopped = true; for ( ; index < length; index++ ) { animation.tweens[ index ].run( 1 ); } // Resolve when we played the last frame; otherwise, reject if ( gotoEnd ) { deferred.notifyWith( elem, [ animation, 1, 0 ] ); deferred.resolveWith( elem, [ animation, gotoEnd ] ); } else { deferred.rejectWith( elem, [ animation, gotoEnd ] ); } return this; } } ), props = animation.props; propFilter( props, animation.opts.specialEasing ); for ( ; index < length; index++ ) { result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); if ( result ) { if ( isFunction( result.stop ) ) { jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = result.stop.bind( result ); } return result; } } jQuery.map( props, createTween, animation ); if ( isFunction( animation.opts.start ) ) { animation.opts.start.call( elem, animation ); } // Attach callbacks from options animation .progress( animation.opts.progress ) .done( animation.opts.done, animation.opts.complete ) .fail( animation.opts.fail ) .always( animation.opts.always ); jQuery.fx.timer( jQuery.extend( tick, { elem: elem, anim: animation, queue: animation.opts.queue } ) ); return animation; } jQuery.Animation = jQuery.extend( Animation, { tweeners: { "*": [ function( prop, value ) { var tween = this.createTween( prop, value ); adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); return tween; } ] }, tweener: function( props, callback ) { if ( isFunction( props ) ) { callback = props; props = [ "*" ]; } else { props = props.match( rnothtmlwhite ); } var prop, index = 0, length = props.length; for ( ; index < length; index++ ) { prop = props[ index ]; Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; Animation.tweeners[ prop ].unshift( callback ); } }, prefilters: [ defaultPrefilter ], prefilter: function( callback, prepend ) { if ( prepend ) { Animation.prefilters.unshift( callback ); } else { Animation.prefilters.push( callback ); } } } ); jQuery.speed = function( speed, easing, fn ) { var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { complete: fn || !fn && easing || isFunction( speed ) && speed, duration: speed, easing: fn && easing || easing && !isFunction( easing ) && easing }; // Go to the end state if fx are off if ( jQuery.fx.off ) { opt.duration = 0; } else { if ( typeof opt.duration !== "number" ) { if ( opt.duration in jQuery.fx.speeds ) { opt.duration = jQuery.fx.speeds[ opt.duration ]; } else { opt.duration = jQuery.fx.speeds._default; } } } // Normalize opt.queue - true/undefined/null -> "fx" if ( opt.queue == null || opt.queue === true ) { opt.queue = "fx"; } // Queueing opt.old = opt.complete; opt.complete = function() { if ( isFunction( opt.old ) ) { opt.old.call( this ); } if ( opt.queue ) { jQuery.dequeue( this, opt.queue ); } }; return opt; }; jQuery.fn.extend( { fadeTo: function( speed, to, easing, callback ) { // Show any hidden elements after setting opacity to 0 return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() // Animate to the value specified .end().animate( { opacity: to }, speed, easing, callback ); }, animate: function( prop, speed, easing, callback ) { var empty = jQuery.isEmptyObject( prop ), optall = jQuery.speed( speed, easing, callback ), doAnimation = function() { // Operate on a copy of prop so per-property easing won't be lost var anim = Animation( this, jQuery.extend( {}, prop ), optall ); // Empty animations, or finishing resolves immediately if ( empty || dataPriv.get( this, "finish" ) ) { anim.stop( true ); } }; doAnimation.finish = doAnimation; return empty || optall.queue === false ? this.each( doAnimation ) : this.queue( optall.queue, doAnimation ); }, stop: function( type, clearQueue, gotoEnd ) { var stopQueue = function( hooks ) { var stop = hooks.stop; delete hooks.stop; stop( gotoEnd ); }; if ( typeof type !== "string" ) { gotoEnd = clearQueue; clearQueue = type; type = undefined; } if ( clearQueue ) { this.queue( type || "fx", [] ); } return this.each( function() { var dequeue = true, index = type != null && type + "queueHooks", timers = jQuery.timers, data = dataPriv.get( this ); if ( index ) { if ( data[ index ] && data[ index ].stop ) { stopQueue( data[ index ] ); } } else { for ( index in data ) { if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { stopQueue( data[ index ] ); } } } for ( index = timers.length; index--; ) { if ( timers[ index ].elem === this && ( type == null || timers[ index ].queue === type ) ) { timers[ index ].anim.stop( gotoEnd ); dequeue = false; timers.splice( index, 1 ); } } // Start the next in the queue if the last step wasn't forced. // Timers currently will call their complete callbacks, which // will dequeue but only if they were gotoEnd. if ( dequeue || !gotoEnd ) { jQuery.dequeue( this, type ); } } ); }, finish: function( type ) { if ( type !== false ) { type = type || "fx"; } return this.each( function() { var index, data = dataPriv.get( this ), queue = data[ type + "queue" ], hooks = data[ type + "queueHooks" ], timers = jQuery.timers, length = queue ? queue.length : 0; // Enable finishing flag on private data data.finish = true; // Empty the queue first jQuery.queue( this, type, [] ); if ( hooks && hooks.stop ) { hooks.stop.call( this, true ); } // Look for any active animations, and finish them for ( index = timers.length; index--; ) { if ( timers[ index ].elem === this && timers[ index ].queue === type ) { timers[ index ].anim.stop( true ); timers.splice( index, 1 ); } } // Look for any animations in the old queue and finish them for ( index = 0; index < length; index++ ) { if ( queue[ index ] && queue[ index ].finish ) { queue[ index ].finish.call( this ); } } // Turn off finishing flag delete data.finish; } ); } } ); jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { var cssFn = jQuery.fn[ name ]; jQuery.fn[ name ] = function( speed, easing, callback ) { return speed == null || typeof speed === "boolean" ? cssFn.apply( this, arguments ) : this.animate( genFx( name, true ), speed, easing, callback ); }; } ); // Generate shortcuts for custom animations jQuery.each( { slideDown: genFx( "show" ), slideUp: genFx( "hide" ), slideToggle: genFx( "toggle" ), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle" } }, function( name, props ) { jQuery.fn[ name ] = function( speed, easing, callback ) { return this.animate( props, speed, easing, callback ); }; } ); jQuery.timers = []; jQuery.fx.tick = function() { var timer, i = 0, timers = jQuery.timers; fxNow = Date.now(); for ( ; i < timers.length; i++ ) { timer = timers[ i ]; // Run the timer and safely remove it when done (allowing for external removal) if ( !timer() && timers[ i ] === timer ) { timers.splice( i--, 1 ); } } if ( !timers.length ) { jQuery.fx.stop(); } fxNow = undefined; }; jQuery.fx.timer = function( timer ) { jQuery.timers.push( timer ); jQuery.fx.start(); }; jQuery.fx.interval = 13; jQuery.fx.start = function() { if ( inProgress ) { return; } inProgress = true; schedule(); }; jQuery.fx.stop = function() { inProgress = null; }; jQuery.fx.speeds = { slow: 600, fast: 200, // Default speed _default: 400 }; // Based off of the plugin by Clint Helfers, with permission. // https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ jQuery.fn.delay = function( time, type ) { time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; type = type || "fx"; return this.queue( type, function( next, hooks ) { var timeout = window.setTimeout( next, time ); hooks.stop = function() { window.clearTimeout( timeout ); }; } ); }; ( function() { var input = document.createElement( "input" ), select = document.createElement( "select" ), opt = select.appendChild( document.createElement( "option" ) ); input.type = "checkbox"; // Support: Android <=4.3 only // Default value for a checkbox should be "on" support.checkOn = input.value !== ""; // Support: IE <=11 only // Must access selectedIndex to make default options select support.optSelected = opt.selected; // Support: IE <=11 only // An input loses its value after becoming a radio input = document.createElement( "input" ); input.value = "t"; input.type = "radio"; support.radioValue = input.value === "t"; } )(); var boolHook, attrHandle = jQuery.expr.attrHandle; jQuery.fn.extend( { attr: function( name, value ) { return access( this, jQuery.attr, name, value, arguments.length > 1 ); }, removeAttr: function( name ) { return this.each( function() { jQuery.removeAttr( this, name ); } ); } } ); jQuery.extend( { attr: function( elem, name, value ) { var ret, hooks, nType = elem.nodeType; // Don't get/set attributes on text, comment and attribute nodes if ( nType === 3 || nType === 8 || nType === 2 ) { return; } // Fallback to prop when attributes are not supported if ( typeof elem.getAttribute === "undefined" ) { return jQuery.prop( elem, name, value ); } // Attribute hooks are determined by the lowercase version // Grab necessary hook if one is defined if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { hooks = jQuery.attrHooks[ name.toLowerCase() ] || ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); } if ( value !== undefined ) { if ( value === null ) { jQuery.removeAttr( elem, name ); return; } if ( hooks && "set" in hooks && ( ret = hooks.set( elem, value, name ) ) !== undefined ) { return ret; } elem.setAttribute( name, value + "" ); return value; } if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { return ret; } ret = jQuery.find.attr( elem, name ); // Non-existent attributes return null, we normalize to undefined return ret == null ? undefined : ret; }, attrHooks: { type: { set: function( elem, value ) { if ( !support.radioValue && value === "radio" && nodeName( elem, "input" ) ) { var val = elem.value; elem.setAttribute( "type", value ); if ( val ) { elem.value = val; } return value; } } } }, removeAttr: function( elem, value ) { var name, i = 0, // Attribute names can contain non-HTML whitespace characters // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 attrNames = value && value.match( rnothtmlwhite ); if ( attrNames && elem.nodeType === 1 ) { while ( ( name = attrNames[ i++ ] ) ) { elem.removeAttribute( name ); } } } } ); // Hooks for boolean attributes boolHook = { set: function( elem, value, name ) { if ( value === false ) { // Remove boolean attributes when set to false jQuery.removeAttr( elem, name ); } else { elem.setAttribute( name, name ); } return name; } }; jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { var getter = attrHandle[ name ] || jQuery.find.attr; attrHandle[ name ] = function( elem, name, isXML ) { var ret, handle, lowercaseName = name.toLowerCase(); if ( !isXML ) { // Avoid an infinite loop by temporarily removing this function from the getter handle = attrHandle[ lowercaseName ]; attrHandle[ lowercaseName ] = ret; ret = getter( elem, name, isXML ) != null ? lowercaseName : null; attrHandle[ lowercaseName ] = handle; } return ret; }; } ); var rfocusable = /^(?:input|select|textarea|button)$/i, rclickable = /^(?:a|area)$/i; jQuery.fn.extend( { prop: function( name, value ) { return access( this, jQuery.prop, name, value, arguments.length > 1 ); }, removeProp: function( name ) { return this.each( function() { delete this[ jQuery.propFix[ name ] || name ]; } ); } } ); jQuery.extend( { prop: function( elem, name, value ) { var ret, hooks, nType = elem.nodeType; // Don't get/set properties on text, comment and attribute nodes if ( nType === 3 || nType === 8 || nType === 2 ) { return; } if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { // Fix name and attach hooks name = jQuery.propFix[ name ] || name; hooks = jQuery.propHooks[ name ]; } if ( value !== undefined ) { if ( hooks && "set" in hooks && ( ret = hooks.set( elem, value, name ) ) !== undefined ) { return ret; } return ( elem[ name ] = value ); } if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { return ret; } return elem[ name ]; }, propHooks: { tabIndex: { get: function( elem ) { // Support: IE <=9 - 11 only // elem.tabIndex doesn't always return the // correct value when it hasn't been explicitly set // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ // Use proper attribute retrieval(#12072) var tabindex = jQuery.find.attr( elem, "tabindex" ); if ( tabindex ) { return parseInt( tabindex, 10 ); } if ( rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ) { return 0; } return -1; } } }, propFix: { "for": "htmlFor", "class": "className" } } ); // Support: IE <=11 only // Accessing the selectedIndex property // forces the browser to respect setting selected // on the option // The getter ensures a default option is selected // when in an optgroup // eslint rule "no-unused-expressions" is disabled for this code // since it considers such accessions noop if ( !support.optSelected ) { jQuery.propHooks.selected = { get: function( elem ) { /* eslint no-unused-expressions: "off" */ var parent = elem.parentNode; if ( parent && parent.parentNode ) { parent.parentNode.selectedIndex; } return null; }, set: function( elem ) { /* eslint no-unused-expressions: "off" */ var parent = elem.parentNode; if ( parent ) { parent.selectedIndex; if ( parent.parentNode ) { parent.parentNode.selectedIndex; } } } }; } jQuery.each( [ "tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable" ], function() { jQuery.propFix[ this.toLowerCase() ] = this; } ); // Strip and collapse whitespace according to HTML spec // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace function stripAndCollapse( value ) { var tokens = value.match( rnothtmlwhite ) || []; return tokens.join( " " ); } function getClass( elem ) { return elem.getAttribute && elem.getAttribute( "class" ) || ""; } function classesToArray( value ) { if ( Array.isArray( value ) ) { return value; } if ( typeof value === "string" ) { return value.match( rnothtmlwhite ) || []; } return []; } jQuery.fn.extend( { addClass: function( value ) { var classes, elem, cur, curValue, clazz, j, finalValue, i = 0; if ( isFunction( value ) ) { return this.each( function( j ) { jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); } ); } classes = classesToArray( value ); if ( classes.length ) { while ( ( elem = this[ i++ ] ) ) { curValue = getClass( elem ); cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); if ( cur ) { j = 0; while ( ( clazz = classes[ j++ ] ) ) { if ( cur.indexOf( " " + clazz + " " ) < 0 ) { cur += clazz + " "; } } // Only assign if different to avoid unneeded rendering. finalValue = stripAndCollapse( cur ); if ( curValue !== finalValue ) { elem.setAttribute( "class", finalValue ); } } } } return this; }, removeClass: function( value ) { var classes, elem, cur, curValue, clazz, j, finalValue, i = 0; if ( isFunction( value ) ) { return this.each( function( j ) { jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); } ); } if ( !arguments.length ) { return this.attr( "class", "" ); } classes = classesToArray( value ); if ( classes.length ) { while ( ( elem = this[ i++ ] ) ) { curValue = getClass( elem ); // This expression is here for better compressibility (see addClass) cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); if ( cur ) { j = 0; while ( ( clazz = classes[ j++ ] ) ) { // Remove *all* instances while ( cur.indexOf( " " + clazz + " " ) > -1 ) { cur = cur.replace( " " + clazz + " ", " " ); } } // Only assign if different to avoid unneeded rendering. finalValue = stripAndCollapse( cur ); if ( curValue !== finalValue ) { elem.setAttribute( "class", finalValue ); } } } } return this; }, toggleClass: function( value, stateVal ) { var type = typeof value, isValidValue = type === "string" || Array.isArray( value ); if ( typeof stateVal === "boolean" && isValidValue ) { return stateVal ? this.addClass( value ) : this.removeClass( value ); } if ( isFunction( value ) ) { return this.each( function( i ) { jQuery( this ).toggleClass( value.call( this, i, getClass( this ), stateVal ), stateVal ); } ); } return this.each( function() { var className, i, self, classNames; if ( isValidValue ) { // Toggle individual class names i = 0; self = jQuery( this ); classNames = classesToArray( value ); while ( ( className = classNames[ i++ ] ) ) { // Check each className given, space separated list if ( self.hasClass( className ) ) { self.removeClass( className ); } else { self.addClass( className ); } } // Toggle whole class name } else if ( value === undefined || type === "boolean" ) { className = getClass( this ); if ( className ) { // Store className if set dataPriv.set( this, "__className__", className ); } // If the element has a class name or if we're passed `false`, // then remove the whole classname (if there was one, the above saved it). // Otherwise bring back whatever was previously saved (if anything), // falling back to the empty string if nothing was stored. if ( this.setAttribute ) { this.setAttribute( "class", className || value === false ? "" : dataPriv.get( this, "__className__" ) || "" ); } } } ); }, hasClass: function( selector ) { var className, elem, i = 0; className = " " + selector + " "; while ( ( elem = this[ i++ ] ) ) { if ( elem.nodeType === 1 && ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { return true; } } return false; } } ); var rreturn = /\r/g; jQuery.fn.extend( { val: function( value ) { var hooks, ret, valueIsFunction, elem = this[ 0 ]; if ( !arguments.length ) { if ( elem ) { hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; if ( hooks && "get" in hooks && ( ret = hooks.get( elem, "value" ) ) !== undefined ) { return ret; } ret = elem.value; // Handle most common string cases if ( typeof ret === "string" ) { return ret.replace( rreturn, "" ); } // Handle cases where value is null/undef or number return ret == null ? "" : ret; } return; } valueIsFunction = isFunction( value ); return this.each( function( i ) { var val; if ( this.nodeType !== 1 ) { return; } if ( valueIsFunction ) { val = value.call( this, i, jQuery( this ).val() ); } else { val = value; } // Treat null/undefined as ""; convert numbers to string if ( val == null ) { val = ""; } else if ( typeof val === "number" ) { val += ""; } else if ( Array.isArray( val ) ) { val = jQuery.map( val, function( value ) { return value == null ? "" : value + ""; } ); } hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; // If set returns undefined, fall back to normal setting if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { this.value = val; } } ); } } ); jQuery.extend( { valHooks: { option: { get: function( elem ) { var val = jQuery.find.attr( elem, "value" ); return val != null ? val : // Support: IE <=10 - 11 only // option.text throws exceptions (#14686, #14858) // Strip and collapse whitespace // https://html.spec.whatwg.org/#strip-and-collapse-whitespace stripAndCollapse( jQuery.text( elem ) ); } }, select: { get: function( elem ) { var value, option, i, options = elem.options, index = elem.selectedIndex, one = elem.type === "select-one", values = one ? null : [], max = one ? index + 1 : options.length; if ( index < 0 ) { i = max; } else { i = one ? index : 0; } // Loop through all the selected options for ( ; i < max; i++ ) { option = options[ i ]; // Support: IE <=9 only // IE8-9 doesn't update selected after form reset (#2551) if ( ( option.selected || i === index ) && // Don't return options that are disabled or in a disabled optgroup !option.disabled && ( !option.parentNode.disabled || !nodeName( option.parentNode, "optgroup" ) ) ) { // Get the specific value for the option value = jQuery( option ).val(); // We don't need an array for one selects if ( one ) { return value; } // Multi-Selects return an array values.push( value ); } } return values; }, set: function( elem, value ) { var optionSet, option, options = elem.options, values = jQuery.makeArray( value ), i = options.length; while ( i-- ) { option = options[ i ]; /* eslint-disable no-cond-assign */ if ( option.selected = jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 ) { optionSet = true; } /* eslint-enable no-cond-assign */ } // Force browsers to behave consistently when non-matching value is set if ( !optionSet ) { elem.selectedIndex = -1; } return values; } } } } ); // Radios and checkboxes getter/setter jQuery.each( [ "radio", "checkbox" ], function() { jQuery.valHooks[ this ] = { set: function( elem, value ) { if ( Array.isArray( value ) ) { return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); } } }; if ( !support.checkOn ) { jQuery.valHooks[ this ].get = function( elem ) { return elem.getAttribute( "value" ) === null ? "on" : elem.value; }; } } ); // Return jQuery for attributes-only inclusion support.focusin = "onfocusin" in window; var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, stopPropagationCallback = function( e ) { e.stopPropagation(); }; jQuery.extend( jQuery.event, { trigger: function( event, data, elem, onlyHandlers ) { var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, eventPath = [ elem || document ], type = hasOwn.call( event, "type" ) ? event.type : event, namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; cur = lastElement = tmp = elem = elem || document; // Don't do events on text and comment nodes if ( elem.nodeType === 3 || elem.nodeType === 8 ) { return; } // focus/blur morphs to focusin/out; ensure we're not firing them right now if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { return; } if ( type.indexOf( "." ) > -1 ) { // Namespaced trigger; create a regexp to match event type in handle() namespaces = type.split( "." ); type = namespaces.shift(); namespaces.sort(); } ontype = type.indexOf( ":" ) < 0 && "on" + type; // Caller can pass in a jQuery.Event object, Object, or just an event type string event = event[ jQuery.expando ] ? event : new jQuery.Event( type, typeof event === "object" && event ); // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) event.isTrigger = onlyHandlers ? 2 : 3; event.namespace = namespaces.join( "." ); event.rnamespace = event.namespace ? new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : null; // Clean up the event in case it is being reused event.result = undefined; if ( !event.target ) { event.target = elem; } // Clone any incoming data and prepend the event, creating the handler arg list data = data == null ? [ event ] : jQuery.makeArray( data, [ event ] ); // Allow special events to draw outside the lines special = jQuery.event.special[ type ] || {}; if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { return; } // Determine event propagation path in advance, per W3C events spec (#9951) // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { bubbleType = special.delegateType || type; if ( !rfocusMorph.test( bubbleType + type ) ) { cur = cur.parentNode; } for ( ; cur; cur = cur.parentNode ) { eventPath.push( cur ); tmp = cur; } // Only add window if we got to document (e.g., not plain obj or detached DOM) if ( tmp === ( elem.ownerDocument || document ) ) { eventPath.push( tmp.defaultView || tmp.parentWindow || window ); } } // Fire handlers on the event path i = 0; while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { lastElement = cur; event.type = i > 1 ? bubbleType : special.bindType || type; // jQuery handler handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && dataPriv.get( cur, "handle" ); if ( handle ) { handle.apply( cur, data ); } // Native handler handle = ontype && cur[ ontype ]; if ( handle && handle.apply && acceptData( cur ) ) { event.result = handle.apply( cur, data ); if ( event.result === false ) { event.preventDefault(); } } } event.type = type; // If nobody prevented the default action, do it now if ( !onlyHandlers && !event.isDefaultPrevented() ) { if ( ( !special._default || special._default.apply( eventPath.pop(), data ) === false ) && acceptData( elem ) ) { // Call a native DOM method on the target with the same name as the event. // Don't do default actions on window, that's where global variables be (#6170) if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { // Don't re-trigger an onFOO event when we call its FOO() method tmp = elem[ ontype ]; if ( tmp ) { elem[ ontype ] = null; } // Prevent re-triggering of the same event, since we already bubbled it above jQuery.event.triggered = type; if ( event.isPropagationStopped() ) { lastElement.addEventListener( type, stopPropagationCallback ); } elem[ type ](); if ( event.isPropagationStopped() ) { lastElement.removeEventListener( type, stopPropagationCallback ); } jQuery.event.triggered = undefined; if ( tmp ) { elem[ ontype ] = tmp; } } } } return event.result; }, // Piggyback on a donor event to simulate a different one // Used only for `focus(in | out)` events simulate: function( type, elem, event ) { var e = jQuery.extend( new jQuery.Event(), event, { type: type, isSimulated: true } ); jQuery.event.trigger( e, null, elem ); } } ); jQuery.fn.extend( { trigger: function( type, data ) { return this.each( function() { jQuery.event.trigger( type, data, this ); } ); }, triggerHandler: function( type, data ) { var elem = this[ 0 ]; if ( elem ) { return jQuery.event.trigger( type, data, elem, true ); } } } ); // Support: Firefox <=44 // Firefox doesn't have focus(in | out) events // Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 // // Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 // focus(in | out) events fire after focus & blur events, // which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order // Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 if ( !support.focusin ) { jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { // Attach a single capturing handler on the document while someone wants focusin/focusout var handler = function( event ) { jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); }; jQuery.event.special[ fix ] = { setup: function() { // Handle: regular nodes (via `this.ownerDocument`), window // (via `this.document`) & document (via `this`). var doc = this.ownerDocument || this.document || this, attaches = dataPriv.access( doc, fix ); if ( !attaches ) { doc.addEventListener( orig, handler, true ); } dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); }, teardown: function() { var doc = this.ownerDocument || this.document || this, attaches = dataPriv.access( doc, fix ) - 1; if ( !attaches ) { doc.removeEventListener( orig, handler, true ); dataPriv.remove( doc, fix ); } else { dataPriv.access( doc, fix, attaches ); } } }; } ); } var location = window.location; var nonce = { guid: Date.now() }; var rquery = ( /\?/ ); // Cross-browser xml parsing jQuery.parseXML = function( data ) { var xml, parserErrorElem; if ( !data || typeof data !== "string" ) { return null; } // Support: IE 9 - 11 only // IE throws on parseFromString with invalid input. try { xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); } catch ( e ) {} parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; if ( !xml || parserErrorElem ) { jQuery.error( "Invalid XML: " + ( parserErrorElem ? jQuery.map( parserErrorElem.childNodes, function( el ) { return el.textContent; } ).join( "\n" ) : data ) ); } return xml; }; var rbracket = /\[\]$/, rCRLF = /\r?\n/g, rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, rsubmittable = /^(?:input|select|textarea|keygen)/i; function buildParams( prefix, obj, traditional, add ) { var name; if ( Array.isArray( obj ) ) { // Serialize array item. jQuery.each( obj, function( i, v ) { if ( traditional || rbracket.test( prefix ) ) { // Treat each array item as a scalar. add( prefix, v ); } else { // Item is non-scalar (array or object), encode its numeric index. buildParams( prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", v, traditional, add ); } } ); } else if ( !traditional && toType( obj ) === "object" ) { // Serialize object item. for ( name in obj ) { buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); } } else { // Serialize scalar item. add( prefix, obj ); } } // Serialize an array of form elements or a set of // key/values into a query string jQuery.param = function( a, traditional ) { var prefix, s = [], add = function( key, valueOrFunction ) { // If value is a function, invoke it and use its return value var value = isFunction( valueOrFunction ) ? valueOrFunction() : valueOrFunction; s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value == null ? "" : value ); }; if ( a == null ) { return ""; } // If an array was passed in, assume that it is an array of form elements. if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { // Serialize the form elements jQuery.each( a, function() { add( this.name, this.value ); } ); } else { // If traditional, encode the "old" way (the way 1.3.2 or older // did it), otherwise encode params recursively. for ( prefix in a ) { buildParams( prefix, a[ prefix ], traditional, add ); } } // Return the resulting serialization return s.join( "&" ); }; jQuery.fn.extend( { serialize: function() { return jQuery.param( this.serializeArray() ); }, serializeArray: function() { return this.map( function() { // Can add propHook for "elements" to filter or add form elements var elements = jQuery.prop( this, "elements" ); return elements ? jQuery.makeArray( elements ) : this; } ).filter( function() { var type = this.type; // Use .is( ":disabled" ) so that fieldset[disabled] works return this.name && !jQuery( this ).is( ":disabled" ) && rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && ( this.checked || !rcheckableType.test( type ) ); } ).map( function( _i, elem ) { var val = jQuery( this ).val(); if ( val == null ) { return null; } if ( Array.isArray( val ) ) { return jQuery.map( val, function( val ) { return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; } ); } return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; } ).get(); } } ); var r20 = /%20/g, rhash = /#.*$/, rantiCache = /([?&])_=[^&]*/, rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, // #7653, #8125, #8152: local protocol detection rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, rnoContent = /^(?:GET|HEAD)$/, rprotocol = /^\/\//, /* Prefilters * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) * 2) These are called: * - BEFORE asking for a transport * - AFTER param serialization (s.data is a string if s.processData is true) * 3) key is the dataType * 4) the catchall symbol "*" can be used * 5) execution will start with transport dataType and THEN continue down to "*" if needed */ prefilters = {}, /* Transports bindings * 1) key is the dataType * 2) the catchall symbol "*" can be used * 3) selection will start with transport dataType and THEN go to "*" if needed */ transports = {}, // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression allTypes = "*/".concat( "*" ), // Anchor tag for parsing the document origin originAnchor = document.createElement( "a" ); originAnchor.href = location.href; // Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport function addToPrefiltersOrTransports( structure ) { // dataTypeExpression is optional and defaults to "*" return function( dataTypeExpression, func ) { if ( typeof dataTypeExpression !== "string" ) { func = dataTypeExpression; dataTypeExpression = "*"; } var dataType, i = 0, dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; if ( isFunction( func ) ) { // For each dataType in the dataTypeExpression while ( ( dataType = dataTypes[ i++ ] ) ) { // Prepend if requested if ( dataType[ 0 ] === "+" ) { dataType = dataType.slice( 1 ) || "*"; ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); // Otherwise append } else { ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); } } } }; } // Base inspection function for prefilters and transports function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { var inspected = {}, seekingTransport = ( structure === transports ); function inspect( dataType ) { var selected; inspected[ dataType ] = true; jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); if ( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) { options.dataTypes.unshift( dataTypeOrTransport ); inspect( dataTypeOrTransport ); return false; } else if ( seekingTransport ) { return !( selected = dataTypeOrTransport ); } } ); return selected; } return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); } // A special extend for ajax options // that takes "flat" options (not to be deep extended) // Fixes #9887 function ajaxExtend( target, src ) { var key, deep, flatOptions = jQuery.ajaxSettings.flatOptions || {}; for ( key in src ) { if ( src[ key ] !== undefined ) { ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; } } if ( deep ) { jQuery.extend( true, target, deep ); } return target; } /* Handles responses to an ajax request: * - finds the right dataType (mediates between content-type and expected dataType) * - returns the corresponding response */ function ajaxHandleResponses( s, jqXHR, responses ) { var ct, type, finalDataType, firstDataType, contents = s.contents, dataTypes = s.dataTypes; // Remove auto dataType and get content-type in the process while ( dataTypes[ 0 ] === "*" ) { dataTypes.shift(); if ( ct === undefined ) { ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); } } // Check if we're dealing with a known content-type if ( ct ) { for ( type in contents ) { if ( contents[ type ] && contents[ type ].test( ct ) ) { dataTypes.unshift( type ); break; } } } // Check to see if we have a response for the expected dataType if ( dataTypes[ 0 ] in responses ) { finalDataType = dataTypes[ 0 ]; } else { // Try convertible dataTypes for ( type in responses ) { if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { finalDataType = type; break; } if ( !firstDataType ) { firstDataType = type; } } // Or just use first one finalDataType = finalDataType || firstDataType; } // If we found a dataType // We add the dataType to the list if needed // and return the corresponding response if ( finalDataType ) { if ( finalDataType !== dataTypes[ 0 ] ) { dataTypes.unshift( finalDataType ); } return responses[ finalDataType ]; } } /* Chain conversions given the request and the original response * Also sets the responseXXX fields on the jqXHR instance */ function ajaxConvert( s, response, jqXHR, isSuccess ) { var conv2, current, conv, tmp, prev, converters = {}, // Work with a copy of dataTypes in case we need to modify it for conversion dataTypes = s.dataTypes.slice(); // Create converters map with lowercased keys if ( dataTypes[ 1 ] ) { for ( conv in s.converters ) { converters[ conv.toLowerCase() ] = s.converters[ conv ]; } } current = dataTypes.shift(); // Convert to each sequential dataType while ( current ) { if ( s.responseFields[ current ] ) { jqXHR[ s.responseFields[ current ] ] = response; } // Apply the dataFilter if provided if ( !prev && isSuccess && s.dataFilter ) { response = s.dataFilter( response, s.dataType ); } prev = current; current = dataTypes.shift(); if ( current ) { // There's only work to do if current dataType is non-auto if ( current === "*" ) { current = prev; // Convert response if prev dataType is non-auto and differs from current } else if ( prev !== "*" && prev !== current ) { // Seek a direct converter conv = converters[ prev + " " + current ] || converters[ "* " + current ]; // If none found, seek a pair if ( !conv ) { for ( conv2 in converters ) { // If conv2 outputs current tmp = conv2.split( " " ); if ( tmp[ 1 ] === current ) { // If prev can be converted to accepted input conv = converters[ prev + " " + tmp[ 0 ] ] || converters[ "* " + tmp[ 0 ] ]; if ( conv ) { // Condense equivalence converters if ( conv === true ) { conv = converters[ conv2 ]; // Otherwise, insert the intermediate dataType } else if ( converters[ conv2 ] !== true ) { current = tmp[ 0 ]; dataTypes.unshift( tmp[ 1 ] ); } break; } } } } // Apply converter (if not an equivalence) if ( conv !== true ) { // Unless errors are allowed to bubble, catch and return them if ( conv && s.throws ) { response = conv( response ); } else { try { response = conv( response ); } catch ( e ) { return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current }; } } } } } } return { state: "success", data: response }; } jQuery.extend( { // Counter for holding the number of active queries active: 0, // Last-Modified header cache for next request lastModified: {}, etag: {}, ajaxSettings: { url: location.href, type: "GET", isLocal: rlocalProtocol.test( location.protocol ), global: true, processData: true, async: true, contentType: "application/x-www-form-urlencoded; charset=UTF-8", /* timeout: 0, data: null, dataType: null, username: null, password: null, cache: null, throws: false, traditional: false, headers: {}, */ accepts: { "*": allTypes, text: "text/plain", html: "text/html", xml: "application/xml, text/xml", json: "application/json, text/javascript" }, contents: { xml: /\bxml\b/, html: /\bhtml/, json: /\bjson\b/ }, responseFields: { xml: "responseXML", text: "responseText", json: "responseJSON" }, // Data converters // Keys separate source (or catchall "*") and destination types with a single space converters: { // Convert anything to text "* text": String, // Text to html (true = no transformation) "text html": true, // Evaluate text as a json expression "text json": JSON.parse, // Parse text as xml "text xml": jQuery.parseXML }, // For options that shouldn't be deep extended: // you can add your own custom options here if // and when you create one that shouldn't be // deep extended (see ajaxExtend) flatOptions: { url: true, context: true } }, // Creates a full fledged settings object into target // with both ajaxSettings and settings fields. // If target is omitted, writes into ajaxSettings. ajaxSetup: function( target, settings ) { return settings ? // Building a settings object ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : // Extending ajaxSettings ajaxExtend( jQuery.ajaxSettings, target ); }, ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), ajaxTransport: addToPrefiltersOrTransports( transports ), // Main method ajax: function( url, options ) { // If url is an object, simulate pre-1.5 signature if ( typeof url === "object" ) { options = url; url = undefined; } // Force options to be an object options = options || {}; var transport, // URL without anti-cache param cacheURL, // Response headers responseHeadersString, responseHeaders, // timeout handle timeoutTimer, // Url cleanup var urlAnchor, // Request state (becomes false upon send and true upon completion) completed, // To know if global events are to be dispatched fireGlobals, // Loop variable i, // uncached part of the url uncached, // Create the final options object s = jQuery.ajaxSetup( {}, options ), // Callbacks context callbackContext = s.context || s, // Context for global events is callbackContext if it is a DOM node or jQuery collection globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ? jQuery( callbackContext ) : jQuery.event, // Deferreds deferred = jQuery.Deferred(), completeDeferred = jQuery.Callbacks( "once memory" ), // Status-dependent callbacks statusCode = s.statusCode || {}, // Headers (they are sent all at once) requestHeaders = {}, requestHeadersNames = {}, // Default abort message strAbort = "canceled", // Fake xhr jqXHR = { readyState: 0, // Builds headers hashtable if needed getResponseHeader: function( key ) { var match; if ( completed ) { if ( !responseHeaders ) { responseHeaders = {}; while ( ( match = rheaders.exec( responseHeadersString ) ) ) { responseHeaders[ match[ 1 ].toLowerCase() + " " ] = ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) .concat( match[ 2 ] ); } } match = responseHeaders[ key.toLowerCase() + " " ]; } return match == null ? null : match.join( ", " ); }, // Raw string getAllResponseHeaders: function() { return completed ? responseHeadersString : null; }, // Caches the header setRequestHeader: function( name, value ) { if ( completed == null ) { name = requestHeadersNames[ name.toLowerCase() ] = requestHeadersNames[ name.toLowerCase() ] || name; requestHeaders[ name ] = value; } return this; }, // Overrides response content-type header overrideMimeType: function( type ) { if ( completed == null ) { s.mimeType = type; } return this; }, // Status-dependent callbacks statusCode: function( map ) { var code; if ( map ) { if ( completed ) { // Execute the appropriate callbacks jqXHR.always( map[ jqXHR.status ] ); } else { // Lazy-add the new callbacks in a way that preserves old ones for ( code in map ) { statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; } } } return this; }, // Cancel the request abort: function( statusText ) { var finalText = statusText || strAbort; if ( transport ) { transport.abort( finalText ); } done( 0, finalText ); return this; } }; // Attach deferreds deferred.promise( jqXHR ); // Add protocol if not provided (prefilters might expect it) // Handle falsy url in the settings object (#10093: consistency with old signature) // We also use the url parameter if available s.url = ( ( url || s.url || location.href ) + "" ) .replace( rprotocol, location.protocol + "//" ); // Alias method option to type as per ticket #12004 s.type = options.method || options.type || s.method || s.type; // Extract dataTypes list s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; // A cross-domain request is in order when the origin doesn't match the current origin. if ( s.crossDomain == null ) { urlAnchor = document.createElement( "a" ); // Support: IE <=8 - 11, Edge 12 - 15 // IE throws exception on accessing the href property if url is malformed, // e.g. http://example.com:80x/ try { urlAnchor.href = s.url; // Support: IE <=8 - 11 only // Anchor's host property isn't correctly set when s.url is relative urlAnchor.href = urlAnchor.href; s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== urlAnchor.protocol + "//" + urlAnchor.host; } catch ( e ) { // If there is an error parsing the URL, assume it is crossDomain, // it can be rejected by the transport if it is invalid s.crossDomain = true; } } // Convert data if not already a string if ( s.data && s.processData && typeof s.data !== "string" ) { s.data = jQuery.param( s.data, s.traditional ); } // Apply prefilters inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); // If request was aborted inside a prefilter, stop there if ( completed ) { return jqXHR; } // We can fire global events as of now if asked to // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) fireGlobals = jQuery.event && s.global; // Watch for a new set of requests if ( fireGlobals && jQuery.active++ === 0 ) { jQuery.event.trigger( "ajaxStart" ); } // Uppercase the type s.type = s.type.toUpperCase(); // Determine if request has content s.hasContent = !rnoContent.test( s.type ); // Save the URL in case we're toying with the If-Modified-Since // and/or If-None-Match header later on // Remove hash to simplify url manipulation cacheURL = s.url.replace( rhash, "" ); // More options handling for requests with no content if ( !s.hasContent ) { // Remember the hash so we can put it back uncached = s.url.slice( cacheURL.length ); // If data is available and should be processed, append data to url if ( s.data && ( s.processData || typeof s.data === "string" ) ) { cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; // #9682: remove data so that it's not used in an eventual retry delete s.data; } // Add or update anti-cache param if needed if ( s.cache === false ) { cacheURL = cacheURL.replace( rantiCache, "$1" ); uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + uncached; } // Put hash and anti-cache on the URL that will be requested (gh-1732) s.url = cacheURL + uncached; // Change '%20' to '+' if this is encoded form body content (gh-2658) } else if ( s.data && s.processData && ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { s.data = s.data.replace( r20, "+" ); } // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. if ( s.ifModified ) { if ( jQuery.lastModified[ cacheURL ] ) { jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); } if ( jQuery.etag[ cacheURL ] ) { jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); } } // Set the correct header, if data is being sent if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { jqXHR.setRequestHeader( "Content-Type", s.contentType ); } // Set the Accepts header for the server, depending on the dataType jqXHR.setRequestHeader( "Accept", s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? s.accepts[ s.dataTypes[ 0 ] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : s.accepts[ "*" ] ); // Check for headers option for ( i in s.headers ) { jqXHR.setRequestHeader( i, s.headers[ i ] ); } // Allow custom headers/mimetypes and early abort if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { // Abort if not done already and return return jqXHR.abort(); } // Aborting is no longer a cancellation strAbort = "abort"; // Install callbacks on deferreds completeDeferred.add( s.complete ); jqXHR.done( s.success ); jqXHR.fail( s.error ); // Get transport transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); // If no transport, we auto-abort if ( !transport ) { done( -1, "No Transport" ); } else { jqXHR.readyState = 1; // Send global event if ( fireGlobals ) { globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); } // If request was aborted inside ajaxSend, stop there if ( completed ) { return jqXHR; } // Timeout if ( s.async && s.timeout > 0 ) { timeoutTimer = window.setTimeout( function() { jqXHR.abort( "timeout" ); }, s.timeout ); } try { completed = false; transport.send( requestHeaders, done ); } catch ( e ) { // Rethrow post-completion exceptions if ( completed ) { throw e; } // Propagate others as results done( -1, e ); } } // Callback for when everything is done function done( status, nativeStatusText, responses, headers ) { var isSuccess, success, error, response, modified, statusText = nativeStatusText; // Ignore repeat invocations if ( completed ) { return; } completed = true; // Clear timeout if it exists if ( timeoutTimer ) { window.clearTimeout( timeoutTimer ); } // Dereference transport for early garbage collection // (no matter how long the jqXHR object will be used) transport = undefined; // Cache response headers responseHeadersString = headers || ""; // Set readyState jqXHR.readyState = status > 0 ? 4 : 0; // Determine if successful isSuccess = status >= 200 && status < 300 || status === 304; // Get response data if ( responses ) { response = ajaxHandleResponses( s, jqXHR, responses ); } // Use a noop converter for missing script but not if jsonp if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 && jQuery.inArray( "json", s.dataTypes ) < 0 ) { s.converters[ "text script" ] = function() {}; } // Convert no matter what (that way responseXXX fields are always set) response = ajaxConvert( s, response, jqXHR, isSuccess ); // If successful, handle type chaining if ( isSuccess ) { // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. if ( s.ifModified ) { modified = jqXHR.getResponseHeader( "Last-Modified" ); if ( modified ) { jQuery.lastModified[ cacheURL ] = modified; } modified = jqXHR.getResponseHeader( "etag" ); if ( modified ) { jQuery.etag[ cacheURL ] = modified; } } // if no content if ( status === 204 || s.type === "HEAD" ) { statusText = "nocontent"; // if not modified } else if ( status === 304 ) { statusText = "notmodified"; // If we have data, let's convert it } else { statusText = response.state; success = response.data; error = response.error; isSuccess = !error; } } else { // Extract error from statusText and normalize for non-aborts error = statusText; if ( status || !statusText ) { statusText = "error"; if ( status < 0 ) { status = 0; } } } // Set data for the fake xhr object jqXHR.status = status; jqXHR.statusText = ( nativeStatusText || statusText ) + ""; // Success/Error if ( isSuccess ) { deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); } else { deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); } // Status-dependent callbacks jqXHR.statusCode( statusCode ); statusCode = undefined; if ( fireGlobals ) { globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", [ jqXHR, s, isSuccess ? success : error ] ); } // Complete completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); if ( fireGlobals ) { globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); // Handle the global AJAX counter if ( !( --jQuery.active ) ) { jQuery.event.trigger( "ajaxStop" ); } } } return jqXHR; }, getJSON: function( url, data, callback ) { return jQuery.get( url, data, callback, "json" ); }, getScript: function( url, callback ) { return jQuery.get( url, undefined, callback, "script" ); } } ); jQuery.each( [ "get", "post" ], function( _i, method ) { jQuery[ method ] = function( url, data, callback, type ) { // Shift arguments if data argument was omitted if ( isFunction( data ) ) { type = type || callback; callback = data; data = undefined; } // The url can be an options object (which then must have .url) return jQuery.ajax( jQuery.extend( { url: url, type: method, dataType: type, data: data, success: callback }, jQuery.isPlainObject( url ) && url ) ); }; } ); jQuery.ajaxPrefilter( function( s ) { var i; for ( i in s.headers ) { if ( i.toLowerCase() === "content-type" ) { s.contentType = s.headers[ i ] || ""; } } } ); jQuery._evalUrl = function( url, options, doc ) { return jQuery.ajax( { url: url, // Make this explicit, since user can override this through ajaxSetup (#11264) type: "GET", dataType: "script", cache: true, async: false, global: false, // Only evaluate the response if it is successful (gh-4126) // dataFilter is not invoked for failure responses, so using it instead // of the default converter is kludgy but it works. converters: { "text script": function() {} }, dataFilter: function( response ) { jQuery.globalEval( response, options, doc ); } } ); }; jQuery.fn.extend( { wrapAll: function( html ) { var wrap; if ( this[ 0 ] ) { if ( isFunction( html ) ) { html = html.call( this[ 0 ] ); } // The elements to wrap the target around wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); if ( this[ 0 ].parentNode ) { wrap.insertBefore( this[ 0 ] ); } wrap.map( function() { var elem = this; while ( elem.firstElementChild ) { elem = elem.firstElementChild; } return elem; } ).append( this ); } return this; }, wrapInner: function( html ) { if ( isFunction( html ) ) { return this.each( function( i ) { jQuery( this ).wrapInner( html.call( this, i ) ); } ); } return this.each( function() { var self = jQuery( this ), contents = self.contents(); if ( contents.length ) { contents.wrapAll( html ); } else { self.append( html ); } } ); }, wrap: function( html ) { var htmlIsFunction = isFunction( html ); return this.each( function( i ) { jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); } ); }, unwrap: function( selector ) { this.parent( selector ).not( "body" ).each( function() { jQuery( this ).replaceWith( this.childNodes ); } ); return this; } } ); jQuery.expr.pseudos.hidden = function( elem ) { return !jQuery.expr.pseudos.visible( elem ); }; jQuery.expr.pseudos.visible = function( elem ) { return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); }; jQuery.ajaxSettings.xhr = function() { try { return new window.XMLHttpRequest(); } catch ( e ) {} }; var xhrSuccessStatus = { // File protocol always yields status code 0, assume 200 0: 200, // Support: IE <=9 only // #1450: sometimes IE returns 1223 when it should be 204 1223: 204 }, xhrSupported = jQuery.ajaxSettings.xhr(); support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); support.ajax = xhrSupported = !!xhrSupported; jQuery.ajaxTransport( function( options ) { var callback, errorCallback; // Cross domain only allowed if supported through XMLHttpRequest if ( support.cors || xhrSupported && !options.crossDomain ) { return { send: function( headers, complete ) { var i, xhr = options.xhr(); xhr.open( options.type, options.url, options.async, options.username, options.password ); // Apply custom fields if provided if ( options.xhrFields ) { for ( i in options.xhrFields ) { xhr[ i ] = options.xhrFields[ i ]; } } // Override mime type if needed if ( options.mimeType && xhr.overrideMimeType ) { xhr.overrideMimeType( options.mimeType ); } // X-Requested-With header // For cross-domain requests, seeing as conditions for a preflight are // akin to a jigsaw puzzle, we simply never set it to be sure. // (it can always be set on a per-request basis or even using ajaxSetup) // For same-domain requests, won't change header if already provided. if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { headers[ "X-Requested-With" ] = "XMLHttpRequest"; } // Set headers for ( i in headers ) { xhr.setRequestHeader( i, headers[ i ] ); } // Callback callback = function( type ) { return function() { if ( callback ) { callback = errorCallback = xhr.onload = xhr.onerror = xhr.onabort = xhr.ontimeout = xhr.onreadystatechange = null; if ( type === "abort" ) { xhr.abort(); } else if ( type === "error" ) { // Support: IE <=9 only // On a manual native abort, IE9 throws // errors on any property access that is not readyState if ( typeof xhr.status !== "number" ) { complete( 0, "error" ); } else { complete( // File: protocol always yields status 0; see #8605, #14207 xhr.status, xhr.statusText ); } } else { complete( xhrSuccessStatus[ xhr.status ] || xhr.status, xhr.statusText, // Support: IE <=9 only // IE9 has no XHR2 but throws on binary (trac-11426) // For XHR2 non-text, let the caller handle it (gh-2498) ( xhr.responseType || "text" ) !== "text" || typeof xhr.responseText !== "string" ? { binary: xhr.response } : { text: xhr.responseText }, xhr.getAllResponseHeaders() ); } } }; }; // Listen to events xhr.onload = callback(); errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); // Support: IE 9 only // Use onreadystatechange to replace onabort // to handle uncaught aborts if ( xhr.onabort !== undefined ) { xhr.onabort = errorCallback; } else { xhr.onreadystatechange = function() { // Check readyState before timeout as it changes if ( xhr.readyState === 4 ) { // Allow onerror to be called first, // but that will not handle a native abort // Also, save errorCallback to a variable // as xhr.onerror cannot be accessed window.setTimeout( function() { if ( callback ) { errorCallback(); } } ); } }; } // Create the abort callback callback = callback( "abort" ); try { // Do send the request (this may raise an exception) xhr.send( options.hasContent && options.data || null ); } catch ( e ) { // #14683: Only rethrow if this hasn't been notified as an error yet if ( callback ) { throw e; } } }, abort: function() { if ( callback ) { callback(); } } }; } } ); // Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) jQuery.ajaxPrefilter( function( s ) { if ( s.crossDomain ) { s.contents.script = false; } } ); // Install script dataType jQuery.ajaxSetup( { accepts: { script: "text/javascript, application/javascript, " + "application/ecmascript, application/x-ecmascript" }, contents: { script: /\b(?:java|ecma)script\b/ }, converters: { "text script": function( text ) { jQuery.globalEval( text ); return text; } } } ); // Handle cache's special case and crossDomain jQuery.ajaxPrefilter( "script", function( s ) { if ( s.cache === undefined ) { s.cache = false; } if ( s.crossDomain ) { s.type = "GET"; } } ); // Bind script tag hack transport jQuery.ajaxTransport( "script", function( s ) { // This transport only deals with cross domain or forced-by-attrs requests if ( s.crossDomain || s.scriptAttrs ) { var script, callback; return { send: function( _, complete ) { script = jQuery( "<script>" ) .attr( s.scriptAttrs || {} ) .prop( { charset: s.scriptCharset, src: s.url } ) .on( "load error", callback = function( evt ) { script.remove(); callback = null; if ( evt ) { complete( evt.type === "error" ? 404 : 200, evt.type ); } } ); // Use native DOM manipulation to avoid our domManip AJAX trickery document.head.appendChild( script[ 0 ] ); }, abort: function() { if ( callback ) { callback(); } } }; } } ); var oldCallbacks = [], rjsonp = /(=)\?(?=&|$)|\?\?/; // Default jsonp settings jQuery.ajaxSetup( { jsonp: "callback", jsonpCallback: function() { var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce.guid++ ) ); this[ callback ] = true; return callback; } } ); // Detect, normalize options and install callbacks for jsonp requests jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { var callbackName, overwritten, responseContainer, jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? "url" : typeof s.data === "string" && ( s.contentType || "" ) .indexOf( "application/x-www-form-urlencoded" ) === 0 && rjsonp.test( s.data ) && "data" ); // Handle iff the expected data type is "jsonp" or we have a parameter to set if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { // Get callback name, remembering preexisting value associated with it callbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ? s.jsonpCallback() : s.jsonpCallback; // Insert callback into url or form data if ( jsonProp ) { s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); } else if ( s.jsonp !== false ) { s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; } // Use data converter to retrieve json after script execution s.converters[ "script json" ] = function() { if ( !responseContainer ) { jQuery.error( callbackName + " was not called" ); } return responseContainer[ 0 ]; }; // Force json dataType s.dataTypes[ 0 ] = "json"; // Install callback overwritten = window[ callbackName ]; window[ callbackName ] = function() { responseContainer = arguments; }; // Clean-up function (fires after converters) jqXHR.always( function() { // If previous value didn't exist - remove it if ( overwritten === undefined ) { jQuery( window ).removeProp( callbackName ); // Otherwise restore preexisting value } else { window[ callbackName ] = overwritten; } // Save back as free if ( s[ callbackName ] ) { // Make sure that re-using the options doesn't screw things around s.jsonpCallback = originalSettings.jsonpCallback; // Save the callback name for future use oldCallbacks.push( callbackName ); } // Call if it was a function and we have a response if ( responseContainer && isFunction( overwritten ) ) { overwritten( responseContainer[ 0 ] ); } responseContainer = overwritten = undefined; } ); // Delegate to script return "script"; } } ); // Support: Safari 8 only // In Safari 8 documents created via document.implementation.createHTMLDocument // collapse sibling forms: the second one becomes a child of the first one. // Because of that, this security measure has to be disabled in Safari 8. // https://bugs.webkit.org/show_bug.cgi?id=137337 support.createHTMLDocument = ( function() { var body = document.implementation.createHTMLDocument( "" ).body; body.innerHTML = "<form></form><form></form>"; return body.childNodes.length === 2; } )(); // Argument "data" should be string of html // context (optional): If specified, the fragment will be created in this context, // defaults to document // keepScripts (optional): If true, will include scripts passed in the html string jQuery.parseHTML = function( data, context, keepScripts ) { if ( typeof data !== "string" ) { return []; } if ( typeof context === "boolean" ) { keepScripts = context; context = false; } var base, parsed, scripts; if ( !context ) { // Stop scripts or inline event handlers from being executed immediately // by using document.implementation if ( support.createHTMLDocument ) { context = document.implementation.createHTMLDocument( "" ); // Set the base href for the created document // so any parsed elements with URLs // are based on the document's URL (gh-2965) base = context.createElement( "base" ); base.href = document.location.href; context.head.appendChild( base ); } else { context = document; } } parsed = rsingleTag.exec( data ); scripts = !keepScripts && []; // Single tag if ( parsed ) { return [ context.createElement( parsed[ 1 ] ) ]; } parsed = buildFragment( [ data ], context, scripts ); if ( scripts && scripts.length ) { jQuery( scripts ).remove(); } return jQuery.merge( [], parsed.childNodes ); }; /** * Load a url into a page */ jQuery.fn.load = function( url, params, callback ) { var selector, type, response, self = this, off = url.indexOf( " " ); if ( off > -1 ) { selector = stripAndCollapse( url.slice( off ) ); url = url.slice( 0, off ); } // If it's a function if ( isFunction( params ) ) { // We assume that it's the callback callback = params; params = undefined; // Otherwise, build a param string } else if ( params && typeof params === "object" ) { type = "POST"; } // If we have elements to modify, make the request if ( self.length > 0 ) { jQuery.ajax( { url: url, // If "type" variable is undefined, then "GET" method will be used. // Make value of this field explicit since // user can override it through ajaxSetup method type: type || "GET", dataType: "html", data: params } ).done( function( responseText ) { // Save response for use in complete callback response = arguments; self.html( selector ? // If a selector was specified, locate the right elements in a dummy div // Exclude scripts to avoid IE 'Permission Denied' errors jQuery( "<div>" ).append( jQuery.parseHTML( responseText ) ).find( selector ) : // Otherwise use the full result responseText ); // If the request succeeds, this function gets "data", "status", "jqXHR" // but they are ignored because response was set above. // If it fails, this function gets "jqXHR", "status", "error" } ).always( callback && function( jqXHR, status ) { self.each( function() { callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] ); } ); } ); } return this; }; jQuery.expr.pseudos.animated = function( elem ) { return jQuery.grep( jQuery.timers, function( fn ) { return elem === fn.elem; } ).length; }; jQuery.offset = { setOffset: function( elem, options, i ) { var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition, position = jQuery.css( elem, "position" ), curElem = jQuery( elem ), props = {}; // Set position first, in-case top/left are set even on static elem if ( position === "static" ) { elem.style.position = "relative"; } curOffset = curElem.offset(); curCSSTop = jQuery.css( elem, "top" ); curCSSLeft = jQuery.css( elem, "left" ); calculatePosition = ( position === "absolute" || position === "fixed" ) && ( curCSSTop + curCSSLeft ).indexOf( "auto" ) > -1; // Need to be able to calculate position if either // top or left is auto and position is either absolute or fixed if ( calculatePosition ) { curPosition = curElem.position(); curTop = curPosition.top; curLeft = curPosition.left; } else { curTop = parseFloat( curCSSTop ) || 0; curLeft = parseFloat( curCSSLeft ) || 0; } if ( isFunction( options ) ) { // Use jQuery.extend here to allow modification of coordinates argument (gh-1848) options = options.call( elem, i, jQuery.extend( {}, curOffset ) ); } if ( options.top != null ) { props.top = ( options.top - curOffset.top ) + curTop; } if ( options.left != null ) { props.left = ( options.left - curOffset.left ) + curLeft; } if ( "using" in options ) { options.using.call( elem, props ); } else { curElem.css( props ); } } }; jQuery.fn.extend( { // offset() relates an element's border box to the document origin offset: function( options ) { // Preserve chaining for setter if ( arguments.length ) { return options === undefined ? this : this.each( function( i ) { jQuery.offset.setOffset( this, options, i ); } ); } var rect, win, elem = this[ 0 ]; if ( !elem ) { return; } // Return zeros for disconnected and hidden (display: none) elements (gh-2310) // Support: IE <=11 only // Running getBoundingClientRect on a // disconnected node in IE throws an error if ( !elem.getClientRects().length ) { return { top: 0, left: 0 }; } // Get document-relative position by adding viewport scroll to viewport-relative gBCR rect = elem.getBoundingClientRect(); win = elem.ownerDocument.defaultView; return { top: rect.top + win.pageYOffset, left: rect.left + win.pageXOffset }; }, // position() relates an element's margin box to its offset parent's padding box // This corresponds to the behavior of CSS absolute positioning position: function() { if ( !this[ 0 ] ) { return; } var offsetParent, offset, doc, elem = this[ 0 ], parentOffset = { top: 0, left: 0 }; // position:fixed elements are offset from the viewport, which itself always has zero offset if ( jQuery.css( elem, "position" ) === "fixed" ) { // Assume position:fixed implies availability of getBoundingClientRect offset = elem.getBoundingClientRect(); } else { offset = this.offset(); // Account for the *real* offset parent, which can be the document or its root element // when a statically positioned element is identified doc = elem.ownerDocument; offsetParent = elem.offsetParent || doc.documentElement; while ( offsetParent && ( offsetParent === doc.body || offsetParent === doc.documentElement ) && jQuery.css( offsetParent, "position" ) === "static" ) { offsetParent = offsetParent.parentNode; } if ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) { // Incorporate borders into its offset, since they are outside its content origin parentOffset = jQuery( offsetParent ).offset(); parentOffset.top += jQuery.css( offsetParent, "borderTopWidth", true ); parentOffset.left += jQuery.css( offsetParent, "borderLeftWidth", true ); } } // Subtract parent offsets and element margins return { top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true ) }; }, // This method will return documentElement in the following cases: // 1) For the element inside the iframe without offsetParent, this method will return // documentElement of the parent window // 2) For the hidden or detached element // 3) For body or html element, i.e. in case of the html node - it will return itself // // but those exceptions were never presented as a real life use-cases // and might be considered as more preferable results. // // This logic, however, is not guaranteed and can change at any point in the future offsetParent: function() { return this.map( function() { var offsetParent = this.offsetParent; while ( offsetParent && jQuery.css( offsetParent, "position" ) === "static" ) { offsetParent = offsetParent.offsetParent; } return offsetParent || documentElement; } ); } } ); // Create scrollLeft and scrollTop methods jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) { var top = "pageYOffset" === prop; jQuery.fn[ method ] = function( val ) { return access( this, function( elem, method, val ) { // Coalesce documents and windows var win; if ( isWindow( elem ) ) { win = elem; } else if ( elem.nodeType === 9 ) { win = elem.defaultView; } if ( val === undefined ) { return win ? win[ prop ] : elem[ method ]; } if ( win ) { win.scrollTo( !top ? val : win.pageXOffset, top ? val : win.pageYOffset ); } else { elem[ method ] = val; } }, method, val, arguments.length ); }; } ); // Support: Safari <=7 - 9.1, Chrome <=37 - 49 // Add the top/left cssHooks using jQuery.fn.position // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 // Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347 // getComputedStyle returns percent when specified for top/left/bottom/right; // rather than make the css module depend on the offset module, just check for it here jQuery.each( [ "top", "left" ], function( _i, prop ) { jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition, function( elem, computed ) { if ( computed ) { computed = curCSS( elem, prop ); // If curCSS returns percentage, fallback to offset return rnumnonpx.test( computed ) ? jQuery( elem ).position()[ prop ] + "px" : computed; } } ); } ); // Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) { // Margin is only for outerHeight, outerWidth jQuery.fn[ funcName ] = function( margin, value ) { var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); return access( this, function( elem, type, value ) { var doc; if ( isWindow( elem ) ) { // $( window ).outerWidth/Height return w/h including scrollbars (gh-1729) return funcName.indexOf( "outer" ) === 0 ? elem[ "inner" + name ] : elem.document.documentElement[ "client" + name ]; } // Get document width or height if ( elem.nodeType === 9 ) { doc = elem.documentElement; // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], // whichever is greatest return Math.max( elem.body[ "scroll" + name ], doc[ "scroll" + name ], elem.body[ "offset" + name ], doc[ "offset" + name ], doc[ "client" + name ] ); } return value === undefined ? // Get width or height on the element, requesting but not forcing parseFloat jQuery.css( elem, type, extra ) : // Set width or height on the element jQuery.style( elem, type, value, extra ); }, type, chainable ? margin : undefined, chainable ); }; } ); } ); jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( _i, type ) { jQuery.fn[ type ] = function( fn ) { return this.on( type, fn ); }; } ); jQuery.fn.extend( { bind: function( types, data, fn ) { return this.on( types, null, data, fn ); }, unbind: function( types, fn ) { return this.off( types, null, fn ); }, delegate: function( selector, types, data, fn ) { return this.on( types, selector, data, fn ); }, undelegate: function( selector, types, fn ) { // ( namespace ) or ( selector, types [, fn] ) return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); }, hover: function( fnOver, fnOut ) { return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); } } ); jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + "change select submit keydown keypress keyup contextmenu" ).split( " " ), function( _i, name ) { // Handle event binding jQuery.fn[ name ] = function( data, fn ) { return arguments.length > 0 ? this.on( name, null, data, fn ) : this.trigger( name ); }; } ); // Support: Android <=4.0 only // Make sure we trim BOM and NBSP var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; // Bind a function to a context, optionally partially applying any // arguments. // jQuery.proxy is deprecated to promote standards (specifically Function#bind) // However, it is not slated for removal any time soon jQuery.proxy = function( fn, context ) { var tmp, args, proxy; if ( typeof context === "string" ) { tmp = fn[ context ]; context = fn; fn = tmp; } // Quick check to determine if target is callable, in the spec // this throws a TypeError, but we will just return undefined. if ( !isFunction( fn ) ) { return undefined; } // Simulated bind args = slice.call( arguments, 2 ); proxy = function() { return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); }; // Set the guid of unique handler to the same of original handler, so it can be removed proxy.guid = fn.guid = fn.guid || jQuery.guid++; return proxy; }; jQuery.holdReady = function( hold ) { if ( hold ) { jQuery.readyWait++; } else { jQuery.ready( true ); } }; jQuery.isArray = Array.isArray; jQuery.parseJSON = JSON.parse; jQuery.nodeName = nodeName; jQuery.isFunction = isFunction; jQuery.isWindow = isWindow; jQuery.camelCase = camelCase; jQuery.type = toType; jQuery.now = Date.now; jQuery.isNumeric = function( obj ) { // As of jQuery 3.0, isNumeric is limited to // strings and numbers (primitives or objects) // that can be coerced to finite numbers (gh-2662) var type = jQuery.type( obj ); return ( type === "number" || type === "string" ) && // parseFloat NaNs numeric-cast false positives ("") // ...but misinterprets leading-number strings, particularly hex literals ("0x...") // subtraction forces infinities to NaN !isNaN( obj - parseFloat( obj ) ); }; jQuery.trim = function( text ) { return text == null ? "" : ( text + "" ).replace( rtrim, "" ); }; // Register as a named AMD module, since jQuery can be concatenated with other // files that may use define, but not via a proper concatenation script that // understands anonymous AMD modules. A named AMD is safest and most robust // way to register. Lowercase jquery is used because AMD module names are // derived from file names, and jQuery is normally delivered in a lowercase // file name. Do this after creating the global so that if an AMD module wants // to call noConflict to hide this version of jQuery, it will work. // Note that for maximum portability, libraries that are not jQuery should // declare themselves as anonymous modules, and avoid setting a global if an // AMD loader is present. jQuery is a special case. For more information, see // https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon if ( true ) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function() { return jQuery; }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } var // Map over jQuery in case of overwrite _jQuery = window.jQuery, // Map over the $ in case of overwrite _$ = window.$; jQuery.noConflict = function( deep ) { if ( window.$ === jQuery ) { window.$ = _$; } if ( deep && window.jQuery === jQuery ) { window.jQuery = _jQuery; } return jQuery; }; // Expose jQuery and $ identifiers, even in AMD // (#7102#comment:10, https://github.com/jquery/jquery/pull/557) // and CommonJS for browser emulators (#13566) if ( typeof noGlobal === "undefined" ) { window.jQuery = window.$ = jQuery; } return jQuery; } ); /***/ }), /***/ "7tFu": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__service_public_UserService_js__ = __webpack_require__("xzxg"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__vuex_store__ = __webpack_require__("YtJ0"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__service_public_service_js__ = __webpack_require__("LjVS"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_vue__ = __webpack_require__("7+uW"); var mixin = { data: function data() { return { vType: "v1", passKey: {}, codeImg: "/static/public/image/common/code2.jpg", dengjiImg: "/static/public/image/common/vip-sprites.png", code_show: 0, // 用户å和密ç æç¤ºè¯ usertipMsg: "请输入æ£ç¡®çš„è´¦å·å¯†ç ", psdtipMsg: "è´¦å·æˆ–密ç 错误", // é”™è¯¯ä¿¡æ¯ pulicError: "", //isShowTnCode : JSON.parse(localStorage.config).VerificationCode.pc[0]=='tCode' ? true : false, tn_code_show: 0, isShowTnCode: false, websiteName: this.$websiteName, wm: null, anti_code2: "" }; }, mounted: function mounted() { // this.initWyToken(); }, methods: { tipMsg: function tipMsg() { switch (this.$tipMsg) { case "new": this.usertipMsg = "请输入æ£ç¡®çš„è´¦å·å¯†ç "; this.psdtipMsg = "è´¦å·æˆ–密ç 错误"; break; case "old": this.usertipMsg = "请输入æ£ç¡®çš„è´¦å·å¯†ç "; this.psdtipMsg = "è´¦å·æˆ–密ç 错误"; break; default: this.usertipMsg = "请输入æ£ç¡®çš„è´¦å·å¯†ç "; this.psdtipMsg = "è´¦å·æˆ–密ç 错误"; break; } }, getRedLope: function getRedLope() { var _this = this; this.$store.dispatch('home/getQipaiShouyeHongbao').then(function (res) { if (res.code === 200) { try { _this.$store.commit('home/getRedLopeMoney', res.data.gift_money); _this.$store.commit('home/getRedLopeId', res.data.id); _this.$store.commit('home/getRedLopeType', res.data.send_type); } catch (error) { _this.$store.commit('home/getRedLopeMoney', 0); } _this.$store.commit('home/getisRedLop', true); } }); }, getCode: function getCode() { var _this2 = this; this.initWyToken(); if (this.tn_code_show == 0) { return; } if (!this.passKey.userName) { return false; } if (this.passKey.userName.length < 5) { this.errorAlert(this.usertipMsg, "warn"); this.passKey.userName = ""; return false; } Object(__WEBPACK_IMPORTED_MODULE_2__service_public_service_js__["b" /* getS */])("captcha", { userName: this.passKey.userName }).then(function (res) { if (res.code == 200) { _this2.codeImg = res.data.captcha_image_text; _this2.passKey.captcha_key = res.data.captcha_key; } else { _this2.errorAlert(res.message, "warn"); } }); }, // 密ç 框ç¦æ¢è¾“å…¥ç©ºæ ¼ clearNull: function clearNull() { // this.passKey.password = this.passKey.password.replace(/\s+/g,""); }, initWyToken: function initWyToken() { // åˆå§‹åŒ–SDK,åªéœ€åˆå§‹åŒ–一次 // auto使用默认值,å³è‡ªåŠ¨åŒ–æ¨¡å¼ var that = this; initWatchman({ productNumber: 'YD00815584448686', onload: function onload(instance) { if (JSON.parse(localStorage.getItem('config')).antiCheatSystem && JSON.parse(localStorage.getItem('config')).antiCheatSystem == 'on') { instance.getToken('b0ee4d4447ca4bdb8a39b92a27378b8e', function (token) { that.anti_code2 = token; }); } } }); }, login: function login(name) { var _this3 = this; if (this.$websiteName == "betsb") { this.$errorAlert('预览版 暂未开放', 'warn'); return false; } if (name == 'betsb' || name == 'mgm-preview' || name == 'betsb-preview') { this.$errorAlert('预览版 暂未开放', 'warn'); return false; } else { if (!this.passKey.userName) { this.errorAlert("请输入账å·", "warn"); return false; } if (!this.validateLoginPwd(this.passKey.userName)) { this.errorAlert(this.usertipMsg, "warn"); return false; } if (!this.passKey.password) { this.errorAlert("请输入密ç ", "warn"); return false; } if (!this.validateLoginPwd(this.passKey.password)) { this.errorAlert(this.psdtipMsg, "warn"); return false; } if (this.code_show) { if (!this.passKey.code) { this.errorAlert("验è¯ç 请务必输入", "warn"); return false; } } if (this.code_show) { if (this.passKey.code.length < 4 || this.passKey.code.length > 4) { this.errorAlert("请输入4ä½éªŒè¯ç ", "warn"); return false; } } this.passKey.anti_code = this.anti_code2; this.passKey.device = "pc"; this.passKey.currentCaptchaType = this.$store.state.home.tempCurrentCaptchaType; if (this.isShowTnCode) { this.$store.commit('home/safeStatus', true); this.$store.commit('home/safeCheck', 1); this.$store.commit('home/safeName', this.passKey.userName); this.$store.commit('home/isLoginorRegister', 'login'); setTimeout(function () { _this3.$store.commit('home/safeCheck', 2); }, this.getRandom(1600, 3200)); } else { this.loginOpt(this.passKey); } } }, loginOpt: function loginOpt(params) { var _this4 = this; console.log(params); if (this.isShowTnCode) { this.$store.commit('home/safeLogin', ''); } var vType = this.vType; for (var key in params) { if (!params[key]) delete params[key]; } Object(__WEBPACK_IMPORTED_MODULE_2__service_public_service_js__["c" /* postS */])("login", params).then(function (res) { if (res.code == 200) { if (!res.data.token && res.data.userInfo.userType == "vm") { _this4.vType = "vm"; __WEBPACK_IMPORTED_MODULE_3_vue__["default"].prototype.$HOST_NAME = "/frontend/vm"; _this4.loginOpt(params); return false; } else { // 一切æ£å¸¸ __WEBPACK_IMPORTED_MODULE_0__service_public_UserService_js__["a" /* default */].setCachereg(res, vType); setTimeout(function () { __WEBPACK_IMPORTED_MODULE_0__service_public_UserService_js__["a" /* default */].ebaoWebScoket(); // UserService.vpGetBasWebsocIo(); }); _this4.getRedLope(); if (["qygj", "xpj80", 'xpj102', 'bet365', 'betsb', 'jsyl', "cmgm", 'pjdc', 'tycjt', 'tyc82'].includes(_this4.$websiteName)) { if (_this4.passKey.password.length < 8) { localStorage.setItem('qyLogin', true); } } window.location.href = "/"; // if(["qygj", 'bet365',"pjdc","jltx","xpj","mgm","amvnsr","jsyl",'amxpj','blr'].includes(this.$websiteName)){ // this.$router.push("/home"); // }else{ // } } localStorage.setItem('relope', true); } else if (res.code === 5016) { _this4.$errorAlert(res.message); _this4.$store.commit('home/safeStatus', false); _this4.is_code_show(); } else { _this4.errorAlert(res.message, "warn"); _this4.is_code_show(); } }); }, logout: function logout() { __WEBPACK_IMPORTED_MODULE_0__service_public_UserService_js__["a" /* default */].logout.call(this); }, is_code_show: function is_code_show() { var _this5 = this; //this.$store.commit('home/reloadeKefu',false) this.$store.commit('home/setCallIsShowCaptchAPI', false); Object(__WEBPACK_IMPORTED_MODULE_2__service_public_service_js__["b" /* getS */])("is-show-captcha-with-type", { device: 'pc' }).then(function (res) { if (res && res.code === 200) { _this5.code_show = res.data.isShowCaptcha; _this5.tn_code_show = res.data.isShowCaptcha; _this5.$store.commit('home/wyToken', res.data.key); _this5.isShowTnCode = res.data.captchaType === 'wyCode'; _this5.$store.dispatch('home/currentCaptchaType', res.data.currentCaptchaType); if (_this5.isShowTnCode) { _this5.code_show = 0; } if (_this5.code_show == 1) { _this5.getCode(); } _this5.$store.commit('home/setVerifyType', res.data.captchaType); // pages/public/user/register_copy.js ä¾èµ–æ¤å¤„获å–验è¯ç±»åž‹ } }); }, errorAlert: function errorAlert(errMsg, type) { errMsg = errMsg || "错误"; type = type || "warn"; var $loginStyle = this.$loginStyle; if (this.$router.history.current.path.includes("/plays/hall")) { $loginStyle = 2; } switch ($loginStyle) { case 1: this.pulicError = errMsg; break; case 2: // 常用弹框 this.$store.commit("alert/showTipModel", { bool: true, title: errMsg, model: type }); break; case 3: // ç¬¬ä¸‰ç§ this.dNotify(errMsg, type); break; case 4: // qygj,特殊弹框 this.$store.commit("alert/newshowtip", { bool: true, title: errMsg, model: "", leftspan: true }); break; default: // 常用弹框 this.$store.commit("alert/showTipModel", { bool: true, title: errMsg, model: type }); break; } } }, created: function created() { // if(this.$store.state.home.isImgortg=='tCode'||this.$store.state.home.isImgortg=='wyCode'){ // this.isShowTnCode = true // }else{ // this.isShowTnCode = false // } this.is_code_show(); this.tipMsg(); }, computed: { safeLogin: function safeLogin() { return this.$store.state.home.safeLogin; }, isImgortg: function isImgortg() { return this.$store.state.home.isImgortg; }, reloadeKefu: function reloadeKefu() { return this.$store.state.home.reloadeKefu; } }, watch: { safeLogin: function safeLogin(val) { if (val == 'login') { if (this.isShowTnCode) { if (this.tn_code_show) { this.passKey.code = '9695'; } this.loginOpt(this.passKey); } } }, reloadeKefu: function reloadeKefu(val) { if (val) { // if(this.$store.state.home.isImgortg=='tCode'||this.$store.state.home.isImgortg=='wyCode'){ // this.isShowTnCode = true // }else{ // this.isShowTnCode = false // } this.is_code_show(); } }, '$store.state.home.callIsShowCaptchAPI': { handler: function handler(val) { if (val) { this.is_code_show(); } } } }, store: __WEBPACK_IMPORTED_MODULE_1__vuex_store__["a" /* default */] }; /* harmony default export */ __webpack_exports__["a"] = (mixin); /***/ }), /***/ "7uCC": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("8CAG"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("3a66225b", content, true, {}); /***/ }), /***/ "8CAG": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".filter[data-v-d18e9b62]{left:0;right:0;bottom:0;margin:auto;background:rgba(0,0,0,.5)}.filter[data-v-d18e9b62],.red-box[data-v-d18e9b62]{width:100%;height:100%;position:fixed;top:0;z-index:10002}.red-box[data-v-d18e9b62]{animation:scaleDraw 1s ease-in-out 1}.red-box .open_red[data-v-d18e9b62]{animation:openRed 1s cubic-bezier(.72,.58,.93,.72) 1}.red-close[data-v-d18e9b62]{width:579px;height:517px;background-image:url(\"/static/public/image/qiandao/nopen.png\");background-size:100%;background-repeat:no-repeat;top:50%;left:50%;position:relative;transform:translate(-50%,-50%)}.red-close div[data-v-d18e9b62]:first-child{width:155px;height:165px;position:absolute;left:224px;bottom:141px;cursor:pointer;background-image:url(\"/static/public/image/qiandao/open-btn.png\");background-size:100%;background-repeat:no-repeat}.red-close .red-close-btn[data-v-d18e9b62]{width:71px;height:71px;position:absolute;right:-25px;top:-20px;background-image:url(\"/static/public/image/qiandao/close.png\");background-size:100%;background-repeat:no-repeat;cursor:pointer}.red-open[data-v-d18e9b62]{width:618px;height:613px;background-image:url(\"/static/public/image/qiandao/open.png\");background-size:100%;background-repeat:no-repeat;top:50%;left:50%;position:relative;transform:translate(-50%,-50%)}.red-open .get-money[data-v-d18e9b62]{width:100%;height:100px;position:absolute;line-height:100px;font-size:70px;color:#e32a03;font-weight:400;top:170px;text-align:center}.red-open .red-close-btn[data-v-d18e9b62]{width:71px;height:71px;right:74px;top:-20px;background-image:url(\"/static/public/image/qiandao/close.png\")}.red-open .getMoney[data-v-d18e9b62],.red-open .red-close-btn[data-v-d18e9b62]{position:absolute;background-size:100%;background-repeat:no-repeat;cursor:pointer}.red-open .getMoney[data-v-d18e9b62]{width:155px;height:165px;left:236px;bottom:175px;background-image:url(\"/static/public/image/qiandao/open-get.png\")}", ""]); // exports /***/ }), /***/ "8Nt4": /***/ (function(module, exports, __webpack_require__) { var fails = __webpack_require__("fwHU"); // Detect IE8's incomplete defineProperty implementation module.exports = !fails(function () { // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; }); /***/ }), /***/ "8T4L": /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__("8Nt4"); var fails = __webpack_require__("fwHU"); // V8 ~ Chrome 36- // https://bugs.chromium.org/p/v8/issues/detail?id=3334 module.exports = DESCRIPTORS && fails(function () { // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing return Object.defineProperty(function () { /* empty */ }, 'prototype', { value: 42, writable: false }).prototype != 42; }); /***/ }), /***/ "8i4O": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".new2019[data-v-45a8b813]{position:fixed;z-index:9999;cursor:pointer}.new2019 .clBtn[data-v-45a8b813]{z-index:99999;position:absolute;display:inline-block}.new2019:hover .clBtn[data-v-45a8b813]{display:block}.Mobile[data-v-45a8b813]{width:265px;height:258px;bottom:30px;right:20px;background-image:url(\"/static/public/image/activity/gift.png\")}.Mobile-close[data-v-45a8b813]{width:36px;height:36px;top:0;left:0}", ""]); // exports /***/ }), /***/ "90lM": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("HWtH"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("3f458a17", content, true, {}); /***/ }), /***/ "95YI": /***/ (function(module, exports, __webpack_require__) { !function(e,t){ true?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VDistpicker=t():e.VDistpicker=t()}(window,function(){return function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(i,n,function(t){return e[t]}.bind(null,n));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=4)}([function(e,t,r){var i=r(2);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);(0,r(5).default)("7341b954",i,!0,{})},function(e,t,r){"use strict";var i=r(0);r.n(i).a},function(e,t,r){(e.exports=r(3)(!1)).push([e.i,".distpicker-address-wrapper {\n color: #9caebf;\n}\n.distpicker-address-wrapper select {\n padding: .5rem .75rem;\n height: 40px;\n font-size: 1rem;\n line-height: 1.25;\n color: #464a4c;\n background-color: #fff;\n background-image: none;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: .25rem;\n -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;\n}\n.distpicker-address-wrapper select option {\n font-weight: normal;\n display: block;\n white-space: pre;\n min-height: 1.2em;\n padding: 0px 2px 1px;\n}\n.distpicker-address-wrapper ul {\n margin: 0;\n padding: 0;\n}\n.distpicker-address-wrapper ul li {\n list-style: none;\n}\n.distpicker-address-wrapper .address-header {\n background-color: #fff;\n}\n.distpicker-address-wrapper .address-header ul {\n display: flex;\n justify-content: space-around;\n align-items: stretch;\n}\n.distpicker-address-wrapper .address-header ul li {\n display: inline-block;\n padding: 10px 10px 7px;\n}\n.distpicker-address-wrapper .address-header ul li.active {\n border-bottom: #52697f solid 3px;\n color: #52697f;\n}\n.distpicker-address-wrapper .address-container {\n background-color: #fff;\n}\n.distpicker-address-wrapper .address-container ul {\n height: 100%;\n overflow: auto;\n}\n.distpicker-address-wrapper .address-container ul li {\n padding: 8px 10px;\n border-top: 1px solid #f6f6f6;\n}\n.distpicker-address-wrapper .address-container ul li.active {\n color: #52697f;\n}\n.disabled-color {\n background: #f8f8f8;\n}\n",""])},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=function(e,t){var r=e[1]||"",i=e[3];if(!i)return r;if(t&&"function"==typeof btoa){var n=(a=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),s=i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"});return[r].concat(s).concat([n]).join("\n")}var a;return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},n=0;n<this.length;n++){var s=this[n][0];null!=s&&(i[s]=!0)}for(n=0;n<e.length;n++){var a=e[n];null!=a[0]&&i[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),t.push(a))}},t}},function(e,t,r){"use strict";r.r(t);var i={100000:{110000:"北京市",120000:"天津市",130000:"河北çœ",140000:"山西çœ",150000:"内蒙å¤è‡ªæ²»åŒº",210000:"è¾½å®çœ",220000:"å‰æž—çœ",230000:"黑龙江çœ",310000:"上海市",320000:"江è‹çœ",330000:"浙江çœ",340000:"安徽çœ",350000:"ç¦å»ºçœ",360000:"江西çœ",370000:"山东çœ",410000:"æ²³å—çœ",420000:"湖北çœ",430000:"æ¹–å—çœ",440000:"广东çœ",450000:"广西壮æ—自治区",460000:"æµ·å—çœ",500000:"é‡åº†å¸‚",510000:"å››å·çœ",520000:"贵州çœ",530000:"云å—çœ",540000:"西è—自治区",610000:"陕西çœ",620000:"甘肃çœ",630000:"é’æµ·çœ",640000:"å®å¤å›žæ—自治区",650000:"新疆维å¾å°”自治区",710000:"å°æ¹¾çœ",810000:"香港特别行政区",820000:"澳门特别行政区",900000:"海外"},110000:{110100:"北京市"},110100:{110101:"东城区",110102:"西城区",110105:"æœé˜³åŒº",110106:"丰å°åŒº",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区"},120000:{120100:"天津市"},120100:{120101:"和平区",120102:"河东区",120103:"河西区",120104:"å—开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西é’区",120112:"æ´¥å—区",120113:"北辰区",120114:"æ¦æ¸…区",120115:"å®å»åŒº",120116:"滨海新区",120117:"å®æ²³åŒº",120118:"é™æµ·åŒº",120119:"蓟州区"},130000:{130100:"石家庄市",130200:"å”山市",130300:"秦皇岛市",130400:"邯郸市",130500:"é‚¢å°å¸‚",130600:"ä¿å®šå¸‚",130700:"å¼ å®¶å£å¸‚",130800:"承德市",130900:"沧州市",131000:"廊åŠå¸‚",131100:"衡水市"},130100:{130102:"长安区",130104:"桥西区",130105:"æ–°åŽåŒº",130107:"井陉矿区",130108:"裕åŽåŒº",130109:"è—城区",130110:"鹿泉区",130111:"æ ¾åŸŽåŒº",130121:"井陉县",130123:"æ£å®šåŽ¿",130125:"è¡Œå”县",130126:"çµå¯¿åŽ¿",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"æ— æžåŽ¿",130131:"平山县",130132:"å…ƒæ°åŽ¿",130133:"赵县",130171:"石家庄高新技术产业开å‘区",130172:"石家庄循环化工å›åŒº",130181:"辛集市",130183:"晋州市",130184:"æ–°ä¹å¸‚"},130200:{130202:"è·¯å—区",130203:"路北区",130204:"å¤å†¶åŒº",130205:"开平区",130207:"丰å—区",130208:"丰润区",130209:"曹妃甸区",130224:"滦å—县",130225:"ä¹äºåŽ¿",130227:"è¿è¥¿åŽ¿",130229:"玉田县",130271:"河北å”山芦å°ç»æµŽå¼€å‘区",130272:"å”山市汉沽管ç†åŒº",130273:"å”山高新技术产业开å‘区",130274:"河北å”山海港ç»æµŽå¼€å‘区",130281:"éµåŒ–市",130283:"è¿å®‰å¸‚",130284:"滦州市"},130300:{130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚å®åŒº",130321:"é’龙满æ—自治县",130322:"昌黎县",130324:"å¢é¾™åŽ¿",130371:"秦皇岛市ç»æµŽæŠ€æœ¯å¼€å‘区",130372:"北戴河新区"},130400:{130402:"邯山区",130403:"丛å°åŒº",130404:"å¤å…´åŒº",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"æˆå®‰åŽ¿",130425:"大å县",130426:"涉县",130427:"ç£åŽ¿",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"é县",130435:"曲周县",130471:"邯郸ç»æµŽæŠ€æœ¯å¼€å‘区",130473:"邯郸冀å—新区",130481:"æ¦å®‰å¸‚"},130500:{130502:"襄都区",130503:"信都区",130505:"任泽区",130506:"å—和区",130522:"临城县",130523:"内丘县",130524:"æŸä¹¡åŽ¿",130525:"隆尧县",130528:"å®æ™‹åŽ¿",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"å¨åŽ¿",130534:"清河县",130535:"临西县",130571:"河北邢å°ç»æµŽå¼€å‘区",130581:"å—宫市",130582:"沙河市"},130600:{130602:"竞秀区",130606:"èŽ²æ± åŒº",130607:"满城区",130608:"清苑区",130609:"å¾æ°´åŒº",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"å”县",130628:"高阳县",130629:"容城县",130630:"涞æºåŽ¿",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"è ¡åŽ¿",130636:"顺平县",130637:"åšé‡ŽåŽ¿",130638:"雄县",130671:"ä¿å®šé«˜æ–°æŠ€æœ¯äº§ä¸šå¼€å‘区",130672:"ä¿å®šç™½æ²Ÿæ–°åŸŽ",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市"},130700:{130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花å›åŒº",130708:"万全区",130709:"崇礼区",130722:"å¼ åŒ—åŽ¿",130723:"康ä¿åŽ¿",130724:"æ²½æºåŽ¿",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀æ¥åŽ¿",130731:"涿鹿县",130732:"赤城县",130771:"å¼ å®¶å£ç»æµŽå¼€å‘区",130772:"å¼ å®¶å£å¸‚察北管ç†åŒº",130773:"å¼ å®¶å£å¸‚塞北管ç†åŒº"},130800:{130802:"åŒæ¡¥åŒº",130803:"åŒæ»¦åŒº",130804:"鹰手è¥å矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰å®æ»¡æ—自治县",130827:"宽城满æ—自治县",130828:"围场满æ—è’™å¤æ—自治县",130871:"承德高新技术产业开å‘区",130881:"平泉市"},130900:{130902:"æ–°åŽåŒº",130903:"è¿æ²³åŒº",130921:"沧县",130922:"é’县",130923:"东光县",130924:"海兴县",130925:"ç›å±±åŽ¿",130926:"肃å®åŽ¿",130927:"å—皮县",130928:"å´æ¡¥åŽ¿",130929:"献县",130930:"åŸæ‘回æ—自治县",130971:"河北沧州ç»æµŽå¼€å‘区",130972:"沧州高新技术产业开å‘区",130973:"沧州渤海新区",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市"},131000:{131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回æ—自治县",131071:"廊åŠç»æµŽæŠ€æœ¯å¼€å‘区",131081:"霸州市",131082:"三河市"},131100:{131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"æ¦é‚‘县",131123:"æ¦å¼ºåŽ¿",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131171:"河北衡水高新技术产业开å‘区",131172:"衡水滨湖新区",131182:"深州市"},140000:{140100:"太原市",140200:"大åŒå¸‚",140300:"阳泉市",140400:"长治市",140500:"晋城市",140600:"朔州市",140700:"晋ä¸å¸‚",140800:"è¿åŸŽå¸‚",140900:"忻州市",141000:"临汾市",141100:"å•æ¢å¸‚"},140100:{140105:"å°åº—区",140106:"迎泽区",140107:"æ花å²åŒº",140108:"å°–è‰åªåŒº",140109:"万æŸæž—区",140110:"晋æºåŒº",140121:"清å¾åŽ¿",140122:"阳曲县",140123:"娄烦县",140171:"山西转型综åˆæ”¹é©ç¤ºèŒƒåŒº",140181:"å¤äº¤å¸‚"},140200:{140212:"æ–°è£åŒº",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广çµåŽ¿",140224:"çµä¸˜åŽ¿",140225:"浑æºåŽ¿",140226:"左云县",140271:"山西大åŒç»æµŽå¼€å‘区"},140300:{140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县"},140400:{140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"é•¿å县",140429:"æ¦ä¹¡åŽ¿",140430:"æ²åŽ¿",140431:"æ²æºåŽ¿",140471:"山西长治高新技术产业å›åŒº"},140500:{140502:"城区",140521:"æ²æ°´åŽ¿",140522:"阳城县",140524:"陵å·åŽ¿",140525:"泽州县",140581:"高平市"},140600:{140602:"朔城区",140603:"å¹³é²åŒº",140621:"山阴县",140622:"应县",140623:"å³çŽ‰åŽ¿",140671:"山西朔州ç»æµŽå¼€å‘区",140681:"怀ä»å¸‚"},140700:{140702:"榆次区",140703:"太谷区",140721:"榆社县",140722:"å·¦æƒåŽ¿",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140727:"ç¥åŽ¿",140728:"å¹³é¥åŽ¿",140729:"çµçŸ³åŽ¿",140781:"介休市"},140800:{140802:"ç›æ¹–区",140821:"临猗县",140822:"万è£åŽ¿",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"å¤åŽ¿",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市"},140900:{140902:"忻府区",140921:"定襄县",140922:"五å°åŽ¿",140923:"代县",140924:"ç¹å³™åŽ¿",140925:"å®æ¦åŽ¿",140926:"é™ä¹åŽ¿",140927:"ç¥žæ± åŽ¿",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"ä¿å¾·åŽ¿",140932:"å关县",140971:"五å°å±±é£Žæ™¯å胜区",140981:"原平市"},141000:{141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"å¤åŽ¿",141026:"安泽县",141027:"浮山县",141028:"å‰åŽ¿",141029:"乡å®åŽ¿",141030:"大å®åŽ¿",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"éœå·žå¸‚"},141100:{141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"ä¸é˜³åŽ¿",141130:"交å£åŽ¿",141181:"å义市",141182:"汾阳市"},150000:{150100:"呼和浩特市",150200:"包头市",150300:"乌海市",150400:"赤峰市",150500:"通辽市",150600:"鄂尔多斯市",150700:"呼伦è´å°”市",150800:"巴彦淖尔市",150900:"乌兰察布市",152200:"兴安盟",152500:"锡林éƒå‹’盟",152900:"阿拉善盟"},150100:{150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"å’Œæž—æ ¼å°”åŽ¿",150124:"清水河县",150125:"æ¦å·åŽ¿",150172:"呼和浩特ç»æµŽæŠ€æœ¯å¼€å‘区"},150200:{150202:"东河区",150203:"昆都仑区",150204:"é’山区",150205:"石æ‹åŒº",150206:"白云鄂åšçŸ¿åŒº",150207:"ä¹åŽŸåŒº",150221:"土默特å³æ——",150222:"固阳县",150223:"达尔罕茂明安è”åˆæ——",150271:"包头稀土高新技术产业开å‘区"},150300:{150302:"海勃湾区",150303:"æµ·å—区",150304:"乌达区"},150400:{150402:"红山区",150403:"å…ƒå®å±±åŒº",150404:"æ¾å±±åŒº",150421:"阿é²ç§‘å°”æ²æ——",150422:"巴林左旗",150423:"å·´æž—å³æ——",150424:"林西县",150425:"克什克腾旗",150426:"ç¿ç‰›ç‰¹æ——",150428:"喀喇æ²æ——",150429:"å®åŸŽåŽ¿",150430:"敖汉旗"},150500:{150502:"科尔æ²åŒº",150521:"科尔æ²å·¦ç¿¼ä¸æ——",150522:"科尔æ²å·¦ç¿¼åŽæ——",150523:"å¼€é²åŽ¿",150524:"库伦旗",150525:"奈曼旗",150526:"扎é²ç‰¹æ——",150571:"通辽ç»æµŽæŠ€æœ¯å¼€å‘区",150581:"éœæž—éƒå‹’市"},150600:{150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"å‡†æ ¼å°”æ——",150623:"鄂托克å‰æ——",150624:"鄂托克旗",150625:"æ锦旗",150626:"乌审旗",150627:"伊金éœæ´›æ——"},150700:{150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿è£æ——",150722:"莫力达瓦达斡尔æ—自治旗",150723:"鄂伦春自治旗",150724:"鄂温克æ—自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎å³æ——",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"é¢å°”å¤çº³å¸‚",150785:"æ ¹æ²³å¸‚"},150800:{150802:"临河区",150821:"五原县",150822:"磴å£åŽ¿",150823:"乌拉特å‰æ——",150824:"乌拉特ä¸æ——",150825:"乌拉特åŽæ——",150826:"æ锦åŽæ——"},150900:{150902:"集å®åŒº",150921:"å“资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔å³ç¿¼å‰æ——",150927:"察哈尔å³ç¿¼ä¸æ——",150928:"察哈尔å³ç¿¼åŽæ——",150929:"å››å王旗",150981:"丰镇市"},152200:{152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔æ²å³ç¿¼å‰æ——",152222:"科尔æ²å³ç¿¼ä¸æ——",152223:"扎赉特旗",152224:"çªæ³‰åŽ¿"},152500:{152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"è‹å°¼ç‰¹å·¦æ——",152524:"è‹å°¼ç‰¹å³æ——",152525:"东乌ç 穆æ²æ——",152526:"西乌ç 穆æ²æ——",152527:"太仆寺旗",152528:"镶黄旗",152529:"æ£é•¶ç™½æ——",152530:"æ£è“æ——",152531:"多伦县",152571:"乌拉盖管委会"},152900:{152921:"阿拉善左旗",152922:"阿拉善å³æ——",152923:"é¢æµŽçº³æ——",152971:"内蒙å¤é˜¿æ‹‰å–„高新技术产业开å‘区"},210000:{210100:"沈阳市",210200:"大连市",210300:"éžå±±å¸‚",210400:"抚顺市",210500:"本溪市",210600:"丹东市",210700:"锦州市",210800:"è¥å£å¸‚",210900:"阜新市",211000:"辽阳市",211100:"盘锦市",211200:"é“å²å¸‚",211300:"æœé˜³å¸‚",211400:"葫芦岛市"},210100:{210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"é“西区",210111:"è‹å®¶å±¯åŒº",210112:"浑å—区",210113:"沈北新区",210114:"于洪区",210115:"è¾½ä¸åŒº",210123:"康平县",210124:"法库县",210181:"新民市"},210200:{210202:"ä¸å±±åŒº",210203:"西岗区",210204:"沙河å£åŒº",210211:"甘井å区",210212:"旅顺å£åŒº",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店市",210283:"庄河市"},210300:{210302:"é“东区",210303:"é“西区",210304:"立山区",210311:"åƒå±±åŒº",210321:"å°å®‰åŽ¿",210323:"岫岩满æ—自治县",210381:"海城市"},210400:{210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满æ—自治县",210423:"清原满æ—自治县"},210500:{210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"å—芬区",210521:"本溪满æ—自治县",210522:"æ¡“ä»æ»¡æ—自治县"},210600:{210602:"å…ƒå®åŒº",210603:"振兴区",210604:"振安区",210624:"宽甸满æ—自治县",210681:"东港市",210682:"凤城市"},210700:{210702:"å¤å¡”区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市"},210800:{210802:"ç«™å‰åŒº",210803:"西市区",210804:"鲅鱼圈区",210811:"è€è¾¹åŒº",210881:"盖州市",210882:"大石桥市"},210900:{210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙å¤æ—自治县",210922:"å½°æ¦åŽ¿"},211000:{211002:"白塔区",211003:"文圣区",211004:"å®ä¼ŸåŒº",211005:"弓长å²åŒº",211011:"太å河区",211021:"辽阳县",211081:"ç¯å¡”市"},211100:{211102:"åŒå°å区",211103:"兴隆å°åŒº",211104:"大洼区",211122:"盘山县"},211200:{211202:"银州区",211204:"清河区",211221:"é“å²åŽ¿",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市"},211300:{211302:"åŒå¡”区",211303:"龙城区",211321:"æœé˜³åŽ¿",211322:"建平县",211324:"喀喇æ²å·¦ç¿¼è’™å¤æ—自治县",211381:"北票市",211382:"凌æºå¸‚"},211400:{211402:"连山区",211403:"龙港区",211404:"å—票区",211421:"绥ä¸åŽ¿",211422:"建昌县",211481:"兴城市"},220000:{220100:"长春市",220200:"å‰æž—市",220300:"四平市",220400:"è¾½æºå¸‚",220500:"通化市",220600:"白山市",220700:"æ¾åŽŸå¸‚",220800:"白城市",222400:"延边æœé²œæ—自治州"},220100:{220102:"å—关区",220103:"宽城区",220104:"æœé˜³åŒº",220105:"二é“区",220106:"绿å›åŒº",220112:"åŒé˜³åŒº",220113:"ä¹å°åŒº",220122:"农安县",220171:"长春ç»æµŽæŠ€æœ¯å¼€å‘区",220172:"长春净月高新技术产业开å‘区",220173:"长春高新技术产业开å‘区",220174:"长春汽车ç»æµŽæŠ€æœ¯å¼€å‘区",220182:"æ¦†æ ‘å¸‚",220183:"å¾·æƒ å¸‚",220184:"公主å²å¸‚"},220200:{220202:"昌邑区",220203:"é¾™æ½åŒº",220204:"船è¥åŒº",220211:"丰满区",220221:"æ°¸å‰åŽ¿",220271:"å‰æž—ç»æµŽå¼€å‘区",220272:"å‰æž—高新技术产业开å‘区",220273:"å‰æž—ä¸å›½æ–°åŠ å¡é£Ÿå“区",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"ç£çŸ³å¸‚"},220300:{220302:"é“西区",220303:"é“东区",220322:"æ¢¨æ ‘åŽ¿",220323:"伊通满æ—自治县",220382:"åŒè¾½å¸‚"},220400:{220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县"},220500:{220502:"东昌区",220503:"二é“江区",220521:"通化县",220523:"辉å—县",220524:"柳河县",220581:"梅河å£å¸‚",220582:"集安市"},220600:{220602:"浑江区",220605:"江æºåŒº",220621:"抚æ¾åŽ¿",220622:"é–宇县",220623:"长白æœé²œæ—自治县",220681:"临江市"},220700:{220702:"å®æ±ŸåŒº",220721:"å‰éƒå°”罗斯蒙å¤æ—自治县",220722:"é•¿å²åŽ¿",220723:"乾安县",220771:"å‰æž—æ¾åŽŸç»æµŽå¼€å‘区",220781:"扶余市"},220800:{220802:"洮北区",220821:"镇赉县",220822:"通榆县",220871:"å‰æž—白城ç»æµŽå¼€å‘区",220881:"æ´®å—市",220882:"大安市"},222400:{222401:"延å‰å¸‚",222402:"图们市",222403:"敦化市",222404:"ç²æ˜¥å¸‚",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县"},230000:{230100:"哈尔滨市",230200:"é½é½å“ˆå°”市",230300:"鸡西市",230400:"鹤岗市",230500:"åŒé¸å±±å¸‚",230600:"大庆市",230700:"伊春市",230800:"佳木斯市",230900:"七å°æ²³å¸‚",231000:"牡丹江市",231100:"黑河市",231200:"绥化市",232700:"大兴安å²åœ°åŒº"},230100:{230102:"é“里区",230103:"å—岗区",230104:"é“外区",230108:"平房区",230109:"æ¾åŒ—区",230110:"香åŠåŒº",230111:"呼兰区",230112:"阿城区",230113:"åŒåŸŽåŒº",230123:"ä¾å…°åŽ¿",230124:"æ–¹æ£åŽ¿",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志市",230184:"五常市"},230200:{230202:"龙沙区",230203:"建åŽåŒº",230204:"é“锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾å山区",230208:"梅里斯达斡尔æ—区",230221:"龙江县",230223:"ä¾å®‰åŽ¿",230224:"æ³°æ¥åŽ¿",230225:"甘å—县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市"},230300:{230302:"é¸¡å† åŒº",230303:"æ’山区",230304:"æ»´é“区",230305:"æ¢¨æ ‘åŒº",230306:"城å河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市"},230400:{230402:"å‘阳区",230403:"工农区",230404:"å—山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"è北县",230422:"绥滨县"},230500:{230502:"尖山区",230503:"å²ä¸œåŒº",230505:"四方å°åŒº",230506:"å®å±±åŒº",230521:"集贤县",230522:"å‹è°ŠåŽ¿",230523:"å®æ¸…县",230524:"饶河县"},230600:{230602:"è¨å°”图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大åŒåŒº",230621:"肇州县",230622:"肇æºåŽ¿",230623:"林甸县",230624:"æœå°”伯特蒙å¤æ—自治县",230671:"大庆高新技术产业开å‘区"},230700:{230717:"伊美区",230718:"ä¹Œç¿ åŒº",230719:"å‹å¥½åŒº",230722:"嘉è«åŽ¿",230723:"汤旺县",230724:"丰林县",230725:"大ç®å±±åŽ¿",230726:"å—岔县",230751:"金林区",230781:"é“力市"},230800:{230803:"å‘阳区",230804:"å‰è¿›åŒº",230805:"东风区",230811:"郊区",230822:"桦å—县",230826:"桦å·åŽ¿",230828:"汤原县",230881:"åŒæ±Ÿå¸‚",230882:"富锦市",230883:"抚远市"},230900:{230902:"新兴区",230903:"桃山区",230904:"茄å河区",230921:"勃利县"},231000:{231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"æž—å£åŽ¿",231071:"牡丹江ç»æµŽæŠ€æœ¯å¼€å‘区",231081:"绥芬河市",231083:"海林市",231084:"å®å®‰å¸‚",231085:"穆棱市",231086:"东å®å¸‚"},231100:{231102:"爱辉区",231123:"逊克县",231124:"å™å´åŽ¿",231181:"北安市",231182:"äº”å¤§è¿žæ± å¸‚",231183:"嫩江市"},231200:{231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"é’冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市"},232700:{232701:"æ¼ æ²³å¸‚",232721:"呼玛县",232722:"塔河县",232761:"åŠ æ ¼è¾¾å¥‡åŒº",232762:"æ¾å²åŒº",232763:"新林区",232764:"呼ä¸åŒº"},310000:{310100:"上海市"},310100:{310101:"黄浦区",310104:"å¾æ±‡åŒº",310105:"é•¿å®åŒº",310106:"é™å®‰åŒº",310107:"普陀区",310109:"虹å£åŒº",310110:"æ¨æµ¦åŒº",310112:"闵行区",310113:"å®å±±åŒº",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"æ¾æ±ŸåŒº",310118:"é’浦区",310120:"奉贤区",310151:"崇明区"},320000:{320100:"å—京市",320200:"æ— é”¡å¸‚",320300:"å¾å·žå¸‚",320400:"常州市",320500:"è‹å·žå¸‚",320600:"å—通市",320700:"连云港市",320800:"淮安市",320900:"ç›åŸŽå¸‚",321000:"扬州市",321100:"镇江市",321200:"泰州市",321300:"宿è¿å¸‚"},320100:{320102:"玄æ¦åŒº",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦å£åŒº",320113:"æ –éœžåŒº",320114:"雨花å°åŒº",320115:"江å®åŒº",320116:"å…åˆåŒº",320117:"溧水区",320118:"高淳区"},320200:{320205:"锡山区",320206:"æƒ å±±åŒº",320211:"滨湖区",320213:"æ¢æºªåŒº",320214:"æ–°å´åŒº",320281:"江阴市",320282:"宜兴市"},320300:{320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"ç¢å®åŽ¿",320371:"å¾å·žç»æµŽæŠ€æœ¯å¼€å‘区",320381:"新沂市",320382:"邳州市"},320400:{320402:"天å®åŒº",320404:"钟楼区",320411:"新北区",320412:"æ¦è¿›åŒº",320413:"金å›åŒº",320481:"溧阳市"},320500:{320505:"虎丘区",320506:"å´ä¸åŒº",320507:"相城区",320508:"姑è‹åŒº",320509:"å´æ±ŸåŒº",320571:"è‹å·žå·¥ä¸šå›åŒº",320581:"常熟市",320582:"å¼ å®¶æ¸¯å¸‚",320583:"昆山市",320585:"太仓市"},320600:{320612:"通州区",320613:"å´‡å·åŒº",320614:"海门区",320623:"如东县",320671:"å—通ç»æµŽæŠ€æœ¯å¼€å‘区",320681:"å¯ä¸œå¸‚",320682:"如皋市",320685:"海安市"},320700:{320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"çŒäº‘县",320724:"çŒå—县",320771:"连云港ç»æµŽæŠ€æœ¯å¼€å‘区",320772:"连云港高新技术产业开å‘区"},320800:{320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县",320871:"淮安ç»æµŽæŠ€æœ¯å¼€å‘区"},320900:{320902:"äºæ¹–区",320903:"ç›éƒ½åŒº",320904:"大丰区",320921:"å“水县",320922:"滨海县",320923:"阜å®åŽ¿",320924:"射阳县",320925:"建湖县",320971:"ç›åŸŽç»æµŽæŠ€æœ¯å¼€å‘区",320981:"东å°å¸‚"},321000:{321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"å®åº”县",321071:"扬州ç»æµŽæŠ€æœ¯å¼€å‘区",321081:"仪å¾å¸‚",321084:"高邮市"},321100:{321102:"京å£åŒº",321111:"润州区",321112:"丹徒区",321171:"镇江新区",321181:"丹阳市",321182:"扬ä¸å¸‚",321183:"å¥å®¹å¸‚"},321200:{321202:"海陵区",321203:"高港区",321204:"å§œå °åŒº",321271:"泰州医è¯é«˜æ–°æŠ€æœ¯äº§ä¸šå¼€å‘区",321281:"兴化市",321282:"é–江市",321283:"泰兴市"},321300:{321302:"宿城区",321311:"宿豫区",321322:"æ²é˜³åŽ¿",321323:"泗阳县",321324:"泗洪县",321371:"宿è¿ç»æµŽæŠ€æœ¯å¼€å‘区"},330000:{330100:"æ州市",330200:"å®æ³¢å¸‚",330300:"温州市",330400:"嘉兴市",330500:"湖州市",330600:"ç»å…´å¸‚",330700:"金åŽå¸‚",330800:"衢州市",330900:"舟山市",331000:"å°å·žå¸‚",331100:"丽水市"},330100:{330102:"上城区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"è§å±±åŒº",330110:"ä½™æ区",330111:"富阳区",330112:"临安区",330113:"临平区",330114:"钱塘区",330122:"æ¡åºåŽ¿",330127:"淳安县",330182:"建德市"},330200:{330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"å®æµ·åŽ¿",330281:"余姚市",330282:"慈溪市"},330300:{330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"è‹å—县",330328:"æ–‡æˆåŽ¿",330329:"泰顺县",330371:"温州ç»æµŽæŠ€æœ¯å¼€å‘区",330381:"瑞安市",330382:"ä¹æ¸…市",330383:"龙港市"},330400:{330402:"å—湖区",330411:"秀洲区",330421:"嘉善县",330424:"æµ·ç›åŽ¿",330481:"æµ·å®å¸‚",330482:"平湖市",330483:"æ¡ä¹¡å¸‚"},330500:{330502:"å´å…´åŒº",330503:"å—浔区",330521:"德清县",330522:"长兴县",330523:"安å‰åŽ¿"},330600:{330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨市",330683:"嵊州市"},330700:{330702:"婺城区",330703:"金东区",330723:"æ¦ä¹‰åŽ¿",330726:"浦江县",330727:"ç£å®‰åŽ¿",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市"},330800:{330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市"},330900:{330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县"},331000:{331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天å°åŽ¿",331024:"仙居县",331081:"温å²å¸‚",331082:"临海市",331083:"玉环市"},331100:{331102:"莲都区",331121:"é’田县",331122:"缙云县",331123:"é‚昌县",331124:"æ¾é˜³åŽ¿",331125:"云和县",331126:"庆元县",331127:"景å®ç•²æ—自治县",331181:"龙泉市"},340000:{340100:"åˆè‚¥å¸‚",340200:"芜湖市",340300:"èšŒåŸ å¸‚",340400:"æ·®å—市",340500:"马éžå±±å¸‚",340600:"淮北市",340700:"铜陵市",340800:"安庆市",341000:"黄山市",341100:"æ»å·žå¸‚",341200:"阜阳市",341300:"宿州市",341500:"å…安市",341600:"亳州市",341700:"æ± å·žå¸‚",341800:"宣城市"},340100:{340102:"瑶海区",340103:"åºé˜³åŒº",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"åºæ±ŸåŽ¿",340171:"åˆè‚¥é«˜æ–°æŠ€æœ¯äº§ä¸šå¼€å‘区",340172:"åˆè‚¥ç»æµŽæŠ€æœ¯å¼€å‘区",340173:"åˆè‚¥æ–°ç«™é«˜æ–°æŠ€æœ¯äº§ä¸šå¼€å‘区",340181:"巢湖市"},340200:{340202:"镜湖区",340207:"é¸ æ±ŸåŒº",340209:"弋江区",340210:"湾沚区",340212:"ç¹æ˜ŒåŒº",340223:"å—陵县",340271:"芜湖ç»æµŽæŠ€æœ¯å¼€å‘区",340272:"安徽芜湖三山ç»æµŽå¼€å‘区",340281:"æ— ä¸ºå¸‚"},340300:{340302:"é¾™å湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340371:"èšŒåŸ å¸‚é«˜æ–°æŠ€æœ¯å¼€å‘区",340372:"èšŒåŸ å¸‚ç»æµŽå¼€å‘区"},340400:{340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤å°åŽ¿",340422:"寿县"},340500:{340503:"花山区",340504:"雨山区",340506:"åšæœ›åŒº",340521:"当涂县",340522:"å«å±±åŽ¿",340523:"和县"},340600:{340602:"æœé›†åŒº",340603:"相山区",340604:"烈山区",340621:"濉溪县"},340700:{340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县"},340800:{340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀å®åŽ¿",340825:"太湖县",340826:"宿æ¾åŽ¿",340827:"望江县",340828:"岳西县",340871:"安徽安庆ç»æµŽå¼€å‘区",340881:"æ¡åŸŽå¸‚",340882:"潜山市"},341000:{341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"æ™åŽ¿",341022:"休å®åŽ¿",341023:"黟县",341024:"ç¥é—¨åŽ¿"},341100:{341102:"ç…çŠåŒº",341103:"å—谯区",341122:"æ¥å®‰åŽ¿",341124:"全椒县",341125:"定远县",341126:"凤阳县",341171:"ä¸æ–°è‹æ»é«˜æ–°æŠ€æœ¯äº§ä¸šå¼€å‘区",341172:"æ»å·žç»æµŽæŠ€æœ¯å¼€å‘区",341181:"天长市",341182:"明光市"},341200:{341202:"é¢å·žåŒº",341203:"é¢ä¸œåŒº",341204:"é¢æ³‰åŒº",341221:"临泉县",341222:"太和县",341225:"阜å—县",341226:"é¢ä¸ŠåŽ¿",341271:"阜阳åˆè‚¥çŽ°ä»£äº§ä¸šå›åŒº",341272:"阜阳ç»æµŽæŠ€æœ¯å¼€å‘区",341282:"界首市"},341300:{341302:"埇桥区",341321:"ç €å±±åŽ¿",341322:"è§åŽ¿",341323:"çµç’§åŽ¿",341324:"泗县",341371:"宿州马éžå±±çŽ°ä»£äº§ä¸šå›åŒº",341372:"宿州ç»æµŽæŠ€æœ¯å¼€å‘区"},341500:{341502:"金安区",341503:"裕安区",341504:"å¶é›†åŒº",341522:"éœé‚±åŽ¿",341523:"舒城县",341524:"金寨县",341525:"éœå±±åŽ¿"},341600:{341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县"},341700:{341702:"è´µæ± åŒº",341721:"东至县",341722:"石å°åŽ¿",341723:"é’阳县"},341800:{341802:"宣州区",341821:"郎溪县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341871:"宣城市ç»æµŽå¼€å‘区",341881:"å®å›½å¸‚",341882:"广德市"},350000:{350100:"ç¦å·žå¸‚",350200:"厦门市",350300:"莆田市",350400:"三明市",350500:"泉州市",350600:"漳州市",350700:"å—平市",350800:"龙岩市",350900:"å®å¾·å¸‚"},350100:{350102:"鼓楼区",350103:"å°æ±ŸåŒº",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"é•¿ä¹åŒº",350121:"闽侯县",350122:"连江县",350123:"ç½—æºåŽ¿",350124:"闽清县",350125:"永泰县",350128:"å¹³æ½åŽ¿",350181:"ç¦æ¸…市"},350200:{350203:"æ€æ˜ŽåŒº",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"åŒå®‰åŒº",350213:"翔安区"},350300:{350302:"城厢区",350303:"涵江区",350304:"è”城区",350305:"秀屿区",350322:"仙游县"},350400:{350404:"三元区",350405:"沙县区",350421:"明溪县",350423:"清æµåŽ¿",350424:"å®åŒ–县",350425:"大田县",350426:"尤溪县",350428:"å°†ä¹åŽ¿",350429:"æ³°å®åŽ¿",350430:"建å®åŽ¿",350481:"永安市"},350500:{350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"æƒ å®‰åŽ¿",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"å—安市"},350600:{350602:"芗城区",350603:"龙文区",350604:"龙海区",350605:"长泰区",350622:"云霄县",350623:"漳浦县",350624:"è¯å®‰åŽ¿",350626:"东山县",350627:"å—é–县",350628:"平和县",350629:"åŽå®‰åŽ¿"},350700:{350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"æ¾æºªåŽ¿",350725:"政和县",350781:"邵æ¦å¸‚",350782:"æ¦å¤·å±±å¸‚",350783:"建瓯市"},350800:{350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上æ县",350824:"æ¦å¹³åŽ¿",350825:"连城县",350881:"漳平市"},350900:{350902:"蕉城区",350921:"霞浦县",350922:"å¤ç”°åŽ¿",350923:"å±å—县",350924:"寿å®åŽ¿",350925:"周å®åŽ¿",350926:"柘è£åŽ¿",350981:"ç¦å®‰å¸‚",350982:"ç¦é¼Žå¸‚"},360000:{360100:"å—昌市",360200:"景德镇市",360300:"è乡市",360400:"ä¹æ±Ÿå¸‚",360500:"新余市",360600:"é¹°æ½å¸‚",360700:"赣州市",360800:"å‰å®‰å¸‚",360900:"宜春市",361000:"抚州市",361100:"上饶市"},360100:{360102:"东湖区",360103:"西湖区",360104:"é’云谱区",360111:"é’山湖区",360112:"新建区",360113:"红谷滩区",360121:"å—昌县",360123:"安义县",360124:"进贤县"},360200:{360202:"昌江区",360203:"ç 山区",360222:"æµ®æ¢åŽ¿",360281:"ä¹å¹³å¸‚"},360300:{360302:"安æºåŒº",360313:"湘东区",360321:"莲花县",360322:"ä¸Šæ —åŽ¿",360323:"芦溪县"},360400:{360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"æ¦å®åŽ¿",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"æ¹–å£åŽ¿",360430:"å½æ³½åŽ¿",360481:"瑞昌市",360482:"å…±é’城市",360483:"åºå±±å¸‚"},360500:{360502:"æ¸æ°´åŒº",360521:"分宜县"},360600:{360602:"月湖区",360603:"余江区",360681:"贵溪市"},360700:{360702:"ç« è´¡åŒº",360703:"å—康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360728:"定å—县",360729:"å…¨å—县",360730:"å®éƒ½åŽ¿",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市",360783:"é¾™å—市"},360800:{360802:"å‰å·žåŒº",360803:"é’原区",360821:"å‰å®‰åŽ¿",360822:"å‰æ°´åŽ¿",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"é‚å·åŽ¿",360828:"万安县",360829:"安ç¦åŽ¿",360830:"永新县",360881:"井冈山市"},360900:{360902:"è¢å·žåŒº",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"é–安县",360926:"铜鼓县",360981:"丰城市",360982:"æ¨Ÿæ ‘å¸‚",360983:"高安市"},361000:{361002:"临å·åŒº",361003:"东乡区",361021:"å—城县",361022:"黎å·åŽ¿",361023:"å—丰县",361024:"å´‡ä»åŽ¿",361025:"ä¹å®‰åŽ¿",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县"},361100:{361102:"信州区",361103:"广丰区",361104:"广信区",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺æºåŽ¿",361181:"德兴市"},370000:{370100:"济å—市",370200:"é’岛市",370300:"æ·„åšå¸‚",370400:"枣庄市",370500:"东è¥å¸‚",370600:"烟å°å¸‚",370700:"æ½åŠå¸‚",370800:"济å®å¸‚",370900:"泰安市",371000:"å¨æµ·å¸‚",371100:"日照市",371300:"临沂市",371400:"德州市",371500:"èŠåŸŽå¸‚",371600:"滨州市",371700:"è泽市"},370100:{370102:"历下区",370103:"市ä¸åŒº",370104:"æ§è«åŒº",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"ç« ä¸˜åŒº",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县",370171:"济å—高新技术产业开å‘区"},370200:{370202:"市å—区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"æŽæ²§åŒº",370214:"城阳区",370215:"å³å¢¨åŒº",370271:"é’岛高新技术产业开å‘区",370281:"胶州市",370283:"平度市",370285:"莱西市"},370300:{370302:"æ·„å·åŒº",370303:"å¼ åº—åŒº",370304:"åšå±±åŒº",370305:"临淄区",370306:"周æ‘区",370321:"æ¡“å°åŽ¿",370322:"高é’县",370323:"沂æºåŽ¿"},370400:{370402:"市ä¸åŒº",370403:"薛城区",370404:"峄城区",370405:"å°å„¿åº„区",370406:"å±±äºåŒº",370481:"滕州市"},370500:{370502:"东è¥åŒº",370503:"æ²³å£åŒº",370505:"垦利区",370522:"利津县",370523:"广饶县",370571:"东è¥ç»æµŽæŠ€æœ¯å¼€å‘区",370572:"东è¥æ¸¯ç»æµŽå¼€å‘区"},370600:{370602:"èŠç½˜åŒº",370611:"ç¦å±±åŒº",370612:"牟平区",370613:"莱山区",370614:"蓬莱区",370671:"烟å°é«˜æ–°æŠ€æœ¯äº§ä¸šå¼€å‘区",370672:"烟å°ç»æµŽæŠ€æœ¯å¼€å‘区",370681:"é¾™å£å¸‚",370682:"莱阳市",370683:"莱州市",370685:"招远市",370686:"æ –éœžå¸‚",370687:"海阳市"},370700:{370702:"æ½åŸŽåŒº",370703:"寒äºåŒº",370704:"åŠå区",370705:"奎文区",370724:"临æœåŽ¿",370725:"昌ä¹åŽ¿",370772:"æ½åŠæ»¨æµ·ç»æµŽæŠ€æœ¯å¼€å‘区",370781:"é’州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市"},370800:{370811:"任城区",370812:"兖州区",370826:"微山县",370827:"é±¼å°åŽ¿",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"æ¢å±±åŽ¿",370871:"济å®é«˜æ–°æŠ€æœ¯äº§ä¸šå¼€å‘区",370881:"曲阜市",370883:"邹城市"},370900:{370902:"泰山区",370911:"岱岳区",370921:"å®é˜³åŽ¿",370923:"东平县",370982:"新泰市",370983:"肥城市"},371000:{371002:"çŽ¯ç¿ åŒº",371003:"文登区",371071:"å¨æµ·ç«ç‚¬é«˜æŠ€æœ¯äº§ä¸šå¼€å‘区",371072:"å¨æµ·ç»æµŽæŠ€æœ¯å¼€å‘区",371073:"å¨æµ·ä¸´æ¸¯ç»æµŽæŠ€æœ¯å¼€å‘区",371082:"è£æˆå¸‚",371083:"乳山市"},371100:{371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371171:"日照ç»æµŽæŠ€æœ¯å¼€å‘区"},371300:{371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂å—县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒å—县",371328:"蒙阴县",371329:"临æ²åŽ¿",371371:"临沂高新技术产业开å‘区"},371400:{371402:"德城区",371403:"陵城区",371422:"å®æ´¥åŽ¿",371423:"庆云县",371424:"临邑县",371425:"é½æ²³åŽ¿",371426:"平原县",371427:"å¤æ´¥åŽ¿",371428:"æ¦åŸŽåŽ¿",371471:"å¾·å·žç»æµŽæŠ€æœ¯å¼€å‘区",371472:"å¾·å·žè¿æ²³ç»æµŽå¼€å‘区",371481:"ä¹é™µå¸‚",371482:"禹城市"},371500:{371502:"东昌府区",371503:"茌平区",371521:"阳谷县",371522:"莘县",371524:"东阿县",371525:"å† åŽ¿",371526:"高å”县",371581:"临清市"},371600:{371602:"滨城区",371603:"沾化区",371621:"æƒ æ°‘åŽ¿",371622:"阳信县",371623:"æ— æ££åŽ¿",371625:"åšå…´åŽ¿",371681:"邹平市"},371700:{371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"å•åŽ¿",371723:"æˆæ¦åŽ¿",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县",371771:"èæ³½ç»æµŽæŠ€æœ¯å¼€å‘区",371772:"è泽高新技术开å‘区"},410000:{410100:"郑州市",410200:"å¼€å°å¸‚",410300:"洛阳市",410400:"平顶山市",410500:"安阳市",410600:"鹤å£å¸‚",410700:"新乡市",410800:"焦作市",410900:"濮阳市",411000:"许昌市",411100:"漯河市",411200:"三门峡市",411300:"å—阳市",411400:"商丘市",411500:"信阳市",411600:"周å£å¸‚",411700:"驻马店市"},410100:{410102:"ä¸åŽŸåŒº",410103:"二七区",410104:"管城回æ—区",410105:"金水区",410106:"上街区",410108:"æƒ æµŽåŒº",410122:"ä¸ç‰ŸåŽ¿",410171:"郑州ç»æµŽæŠ€æœ¯å¼€å‘区",410172:"郑州高新技术产业开å‘区",410173:"郑州航空港ç»æµŽç»¼åˆå®žéªŒåŒº",410181:"巩义市",410182:"è¥é˜³å¸‚",410183:"新密市",410184:"新郑市",410185:"ç™»å°å¸‚"},410200:{410202:"é¾™äºåŒº",410203:"顺河回æ—区",410204:"鼓楼区",410205:"禹王å°åŒº",410212:"祥符区",410221:"æžåŽ¿",410222:"通许县",410223:"å°‰æ°åŽ¿",410225:"兰考县"},410300:{410302:"è€åŸŽåŒº",410303:"西工区",410304:"ç€æ²³å›žæ—区",410305:"涧西区",410307:"åƒå¸ˆåŒº",410308:"åŸæ´¥åŒº",410311:"洛龙区",410323:"新安县",410324:"æ ¾å·åŽ¿",410325:"嵩县",410326:"æ±é˜³åŽ¿",410327:"宜阳县",410328:"æ´›å®åŽ¿",410329:"伊å·åŽ¿",410371:"洛阳高新技术产业开å‘区"},410400:{410402:"æ–°åŽåŒº",410403:"å«ä¸œåŒº",410404:"石龙区",410411:"湛河区",410421:"å®ä¸°åŽ¿",410422:"å¶åŽ¿",410423:"é²å±±åŽ¿",410425:"éƒåŽ¿",410471:"平顶山高新技术产业开å‘区",410472:"平顶山市城乡一体化示范区",410481:"舞钢市",410482:"æ±å·žå¸‚"},410500:{410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410571:"安阳高新技术产业开å‘区",410581:"林州市"},410600:{410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410671:"鹤å£ç»æµŽæŠ€æœ¯å¼€å‘区"},410700:{410702:"红旗区",410703:"å«æ»¨åŒº",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"å°ä¸˜åŽ¿",410771:"新乡高新技术产业开å‘区",410772:"新乡ç»æµŽæŠ€æœ¯å¼€å‘区",410773:"新乡市平原城乡一体化示范区",410781:"å«è¾‰å¸‚",410782:"辉县市",410783:"长垣市"},410800:{410802:"解放区",410803:"ä¸ç«™åŒº",410804:"马æ‘区",410811:"山阳区",410821:"ä¿®æ¦åŽ¿",410822:"åšçˆ±åŽ¿",410823:"æ¦é™ŸåŽ¿",410825:"温县",410871:"焦作城乡一体化示范区",410882:"æ²é˜³å¸‚",410883:"åŸå·žå¸‚"},410900:{410902:"åŽé¾™åŒº",410922:"清丰县",410923:"å—ä¹åŽ¿",410926:"范县",410927:"å°å‰åŽ¿",410928:"濮阳县",410971:"æ²³å—濮阳工业å›åŒº",410972:"濮阳ç»æµŽæŠ€æœ¯å¼€å‘区"},411000:{411002:"é都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411071:"许昌ç»æµŽæŠ€æœ¯å¼€å‘区",411081:"禹州市",411082:"长葛市"},411100:{411102:"æºæ±‡åŒº",411103:"郾城区",411104:"å¬é™µåŒº",411121:"舞阳县",411122:"临é¢åŽ¿",411171:"漯河ç»æµŽæŠ€æœ¯å¼€å‘区"},411200:{411202:"湖滨区",411203:"陕州区",411221:"æ¸‘æ± åŽ¿",411224:"å¢æ°åŽ¿",411271:"æ²³å—三门峡ç»æµŽå¼€å‘区",411281:"义马市",411282:"çµå®å¸‚"},411300:{411302:"宛城区",411303:"å§é¾™åŒº",411321:"å—å¬åŽ¿",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"æ·…å·åŽ¿",411327:"社旗县",411328:"å”河县",411329:"新野县",411330:"æ¡æŸåŽ¿",411371:"å—阳高新技术产业开å‘区",411372:"å—阳市城乡一体化示范区",411381:"邓州市"},411400:{411402:"æ¢å›åŒº",411403:"ç¢é˜³åŒº",411421:"æ°‘æƒåŽ¿",411422:"ç¢åŽ¿",411423:"å®é™µåŽ¿",411424:"柘城县",411425:"虞城县",411426:"å¤é‚‘县",411471:"豫东综åˆç‰©æµäº§ä¸šèšé›†åŒº",411472:"æ²³å—商丘ç»æµŽå¼€å‘区",411481:"永城市"},411500:{411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"æ½¢å·åŽ¿",411527:"淮滨县",411528:"æ¯åŽ¿",411571:"信阳高新技术产业开å‘区"},411600:{411602:"å·æ±‡åŒº",411603:"淮阳区",411621:"扶沟县",411622:"西åŽåŽ¿",411623:"商水县",411624:"沈丘县",411625:"郸城县",411627:"太康县",411628:"鹿邑县",411671:"æ²³å—周å£ç»æµŽå¼€å‘区",411681:"项城市"},411700:{411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"æ£é˜³åŽ¿",411725:"确山县",411726:"泌阳县",411727:"æ±å—县",411728:"é‚平县",411729:"新蔡县",411771:"æ²³å—驻马店ç»æµŽå¼€å‘区"},420000:{420100:"æ¦æ±‰å¸‚",420200:"黄石市",420300:"åå °å¸‚",420500:"宜昌市",420600:"襄阳市",420700:"鄂州市",420800:"è†é—¨å¸‚",420900:"å感市",421000:"è†å·žå¸‚",421100:"黄冈市",421200:"å’¸å®å¸‚",421300:"éšå·žå¸‚",422800:"æ©æ–½åœŸå®¶æ—è‹—æ—自治州"},420100:{420102:"江岸区",420103:"江汉区",420104:"ç¡šå£åŒº",420105:"汉阳区",420106:"æ¦æ˜ŒåŒº",420107:"é’山区",420111:"洪山区",420112:"东西湖区",420113:"汉å—区",420114:"蔡甸区",420115:"江å¤åŒº",420116:"黄陂区",420117:"新洲区"},420200:{420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"é“山区",420222:"阳新县",420281:"大冶市"},420300:{420302:"茅ç®åŒº",420303:"å¼ æ¹¾åŒº",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江å£å¸‚"},420500:{420502:"西陵区",420503:"ä¼å®¶å²—区",420504:"点军区",420505:"猇äºåŒº",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"ç§å½’县",420528:"长阳土家æ—自治县",420529:"五峰土家æ—自治县",420581:"宜都市",420582:"当阳市",420583:"æžæ±Ÿå¸‚"},420600:{420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"å—漳县",420625:"谷城县",420626:"ä¿åº·åŽ¿",420682:"è€æ²³å£å¸‚",420683:"枣阳市",420684:"宜城市"},420700:{420702:"æ¢å湖区",420703:"åŽå®¹åŒº",420704:"鄂城区"},420800:{420802:"东å®åŒº",420804:"掇刀区",420822:"沙洋县",420881:"钟祥市",420882:"京山市"},420900:{420902:"åå—区",420921:"å昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉å·å¸‚"},421000:{421002:"沙市区",421003:"è†å·žåŒº",421022:"公安县",421024:"江陵县",421071:"è†å·žç»æµŽæŠ€æœ¯å¼€å‘区",421081:"石首市",421083:"洪湖市",421087:"æ¾æ»‹å¸‚",421088:"监利市"},421100:{421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"æµ æ°´åŽ¿",421126:"蕲春县",421127:"黄梅县",421171:"龙感湖管ç†åŒº",421181:"麻城市",421182:"æ¦ç©´å¸‚"},421200:{421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤å£å¸‚"},421300:{421303:"曾都区",421321:"éšåŽ¿",421381:"广水市"},422800:{422801:"æ©æ–½å¸‚",422802:"利å·å¸‚",422822:"建始县",422823:"巴东县",422825:"宣æ©åŽ¿",422826:"咸丰县",422827:"æ¥å‡¤åŽ¿",422828:"鹤峰县"},430000:{430100:"长沙市",430200:"æ ªæ´²å¸‚",430300:"湘æ½å¸‚",430400:"衡阳市",430500:"邵阳市",430600:"岳阳市",430700:"常德市",430800:"å¼ å®¶ç•Œå¸‚",430900:"益阳市",431000:"郴州市",431100:"永州市",431200:"怀化市",431300:"娄底市",433100:"湘西土家æ—è‹—æ—自治州"},430100:{430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"å¼€ç¦åŒº",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"æµé˜³å¸‚",430182:"å®ä¹¡å¸‚"},430200:{430202:"è·å¡˜åŒº",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌å£åŒº",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430271:"云龙示范区",430281:"醴陵市"},430300:{430302:"雨湖区",430304:"岳塘区",430321:"湘æ½åŽ¿",430371:"æ¹–å—湘æ½é«˜æ–°æŠ€æœ¯äº§ä¸šå›åŒº",430372:"湘æ½æ˜å±±ç¤ºèŒƒåŒº",430373:"湘æ½ä¹åŽç¤ºèŒƒåŒº",430381:"湘乡市",430382:"韶山市"},430400:{430405:"ç 晖区",430406:"é›å³°åŒº",430407:"石鼓区",430408:"蒸湘区",430412:"å—岳区",430421:"衡阳县",430422:"è¡¡å—县",430423:"衡山县",430424:"衡东县",430426:"ç¥ä¸œåŽ¿",430471:"衡阳综åˆä¿ç¨ŽåŒº",430472:"æ¹–å—衡阳高新技术产业å›åŒº",430473:"æ¹–å—衡阳æ¾æœ¨ç»æµŽå¼€å‘区",430481:"耒阳市",430482:"常å®å¸‚"},430500:{430502:"åŒæ¸…区",430503:"大祥区",430511:"北塔区",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"æ´žå£åŽ¿",430527:"绥å®åŽ¿",430528:"æ–°å®åŽ¿",430529:"城æ¥è‹—æ—自治县",430581:"æ¦å†ˆå¸‚",430582:"邵东市"},430600:{430602:"岳阳楼区",430603:"云溪区",430611:"å›å±±åŒº",430621:"岳阳县",430623:"åŽå®¹åŽ¿",430624:"湘阴县",430626:"平江县",430671:"岳阳市屈原管ç†åŒº",430681:"汨罗市",430682:"临湘市"},430700:{430702:"æ¦é™µåŒº",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃æºåŽ¿",430726:"石门县",430771:"常德市西洞åºç®¡ç†åŒº",430781:"津市市"},430800:{430802:"永定区",430811:"æ¦é™µæºåŒº",430821:"慈利县",430822:"æ¡‘æ¤åŽ¿"},430900:{430902:"资阳区",430903:"赫山区",430921:"å—县",430922:"桃江县",430923:"安化县",430971:"益阳市大通湖管ç†åŒº",430972:"æ¹–å—益阳高新技术产业å›åŒº",430981:"沅江市"},431000:{431002:"北湖区",431003:"è‹ä»™åŒº",431021:"桂阳县",431022:"å®œç« åŽ¿",431023:"永兴县",431024:"嘉禾县",431025:"临æ¦åŽ¿",431026:"æ±åŸŽåŽ¿",431027:"桂东县",431028:"安ä»åŽ¿",431081:"资兴市"},431100:{431102:"零陵区",431103:"冷水滩区",431122:"东安县",431123:"åŒç‰ŒåŽ¿",431124:"é“县",431125:"江永县",431126:"å®è¿œåŽ¿",431127:"è“山县",431128:"新田县",431129:"江åŽç‘¶æ—自治县",431171:"永州ç»æµŽæŠ€æœ¯å¼€å‘区",431173:"永州市回龙圩管ç†åŒº",431181:"ç¥é˜³å¸‚"},431200:{431202:"鹤城区",431221:"ä¸æ–¹åŽ¿",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会åŒåŽ¿",431226:"麻阳苗æ—自治县",431227:"新晃侗æ—自治县",431228:"芷江侗æ—自治县",431229:"é–å·žè‹—æ—ä¾—æ—自治县",431230:"通é“ä¾—æ—自治县",431271:"怀化市洪江管ç†åŒº",431281:"洪江市"},431300:{431302:"娄星区",431321:"åŒå³°åŽ¿",431322:"新化县",431381:"冷水江市",431382:"涟æºå¸‚"},433100:{433101:"å‰é¦–市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"ä¿é–县",433126:"å¤ä¸ˆåŽ¿",433127:"永顺县",433130:"龙山县"},440000:{440100:"广州市",440200:"韶关市",440300:"深圳市",440400:"ç 海市",440500:"汕头市",440600:"佛山市",440700:"江门市",440800:"湛江市",440900:"茂å市",441200:"肇庆市",441300:"æƒ å·žå¸‚",441400:"梅州市",441500:"汕尾市",441600:"æ²³æºå¸‚",441700:"阳江市",441800:"清远市",441900:"东莞市",442000:"ä¸å±±å¸‚",445100:"潮州市",445200:"æ阳市",445300:"云浮市"},440100:{440103:"è”湾区",440104:"越秀区",440105:"æµ·ç 区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"å—沙区",440117:"从化区",440118:"增城区"},440200:{440203:"æ¦æ±ŸåŒº",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"ä»åŒ–县",440229:"ç¿æºåŽ¿",440232:"ä¹³æºç‘¶æ—自治县",440233:"新丰县",440281:"ä¹æ˜Œå¸‚",440282:"å—雄市"},440300:{440303:"罗湖区",440304:"ç¦ç”°åŒº",440305:"å—山区",440306:"å®å®‰åŒº",440307:"龙岗区",440308:"ç›ç”°åŒº",440309:"é¾™åŽåŒº",440310:"åªå±±åŒº",440311:"光明区"},440400:{440402:"香洲区",440403:"斗门区",440404:"金湾区"},440500:{440507:"龙湖区",440511:"金平区",440512:"æ¿ æ±ŸåŒº",440513:"潮阳区",440514:"æ½®å—区",440515:"澄海区",440523:"å—澳县"},440600:{440604:"禅城区",440605:"å—海区",440606:"顺德区",440607:"三水区",440608:"高明区"},440700:{440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"å°å±±å¸‚",440783:"开平市",440784:"鹤山市",440785:"æ©å¹³å¸‚"},440800:{440802:"赤åŽåŒº",440803:"霞山区",440804:"å¡å¤´åŒº",440811:"éº»ç« åŒº",440823:"é‚溪县",440825:"å¾é—»åŽ¿",440881:"廉江市",440882:"雷州市",440883:"å´å·å¸‚"},440900:{440902:"茂å—区",440904:"电白区",440981:"高州市",440982:"化州市",440983:"信宜市"},441200:{441202:"端州区",441203:"鼎湖区",441204:"高è¦åŒº",441223:"广å®åŽ¿",441224:"怀集县",441225:"å°å¼€åŽ¿",441226:"德庆县",441284:"四会市"},441300:{441302:"æƒ åŸŽåŒº",441303:"æƒ é˜³åŒº",441322:"åšç½—县",441323:"æƒ ä¸œåŽ¿",441324:"龙门县"},441400:{441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五åŽåŽ¿",441426:"平远县",441427:"蕉å²åŽ¿",441481:"å…´å®å¸‚"},441500:{441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市"},441600:{441602:"æºåŸŽåŒº",441621:"紫金县",441622:"é¾™å·åŽ¿",441623:"连平县",441624:"和平县",441625:"东æºåŽ¿"},441700:{441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春市"},441800:{441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮æ—瑶æ—自治县",441826:"è¿žå—瑶æ—自治县",441881:"英德市",441882:"连州市"},441900:{44190011:"常平镇",441900003:"东城街é“",441900004:"å—城街é“",441900005:"万江街é“",441900006:"莞城街é“",441900101:"石碣镇",441900102:"石龙镇",441900103:"茶山镇",441900104:"石排镇",441900105:"ä¼çŸ³é•‡",441900106:"横沥镇",441900107:"桥头镇",441900108:"谢岗镇",441900109:"东å‘镇",441900111:"寮æ¥é•‡",441900112:"樟木头镇",441900113:"大朗镇",441900114:"黄江镇",441900115:"清溪镇",441900116:"塘厦镇",441900117:"凤岗镇",441900118:"大å²å±±é•‡",441900119:"长安镇",441900121:"虎门镇",441900122:"厚街镇",441900123:"沙田镇",441900124:"é“滘镇",441900125:"洪梅镇",441900126:"麻涌镇",441900127:"望牛墩镇",441900128:"ä¸å ‚镇",441900129:"高埗镇",441900401:"æ¾å±±æ¹–",441900402:"东莞港",441900403:"东莞生æ€å›",441900404:"东莞滨海湾新区"},442000:{44200011:"横æ 镇",442000001:"石å²è¡—é“",442000002:"东区街é“",442000003:"ä¸å±±æ¸¯è¡—é“",442000004:"西区街é“",442000005:"å—区街é“",442000006:"五桂山街é“",442000007:"æ°‘ä¼—è¡—é“",442000008:"å—朗街é“",442000101:"黄圃镇",442000103:"东凤镇",442000105:"å¤é•‡é•‡",442000106:"沙溪镇",442000107:"å¦æ´²é•‡",442000108:"港å£é•‡",442000109:"三角镇",442000111:"å—头镇",442000112:"阜沙镇",442000114:"三乡镇",442000115:"æ¿èŠ™é•‡",442000116:"大涌镇",442000117:"神湾镇",442000118:"å°æ¦„镇"},445100:{445102:"湘桥区",445103:"潮安区",445122:"饶平县"},445200:{445202:"榕城区",445203:"æ东区",445222:"æ西县",445224:"æƒ æ¥åŽ¿",445281:"æ™®å®å¸‚"},445300:{445302:"云城区",445303:"云安区",445321:"新兴县",445322:"éƒå—县",445381:"罗定市"},450000:{450100:"å—å®å¸‚",450200:"柳州市",450300:"桂林市",450400:"梧州市",450500:"北海市",450600:"防城港市",450700:"钦州市",450800:"贵港市",450900:"玉林市",451000:"百色市",451100:"贺州市",451200:"æ²³æ± å¸‚",451300:"æ¥å®¾å¸‚",451400:"崇左市"},450100:{450102:"å…´å®åŒº",450103:"é’秀区",450105:"江å—区",450107:"西乡塘区",450108:"良庆区",450109:"é‚•å®åŒº",450110:"æ¦é¸£åŒº",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450181:"横州市"},450200:{450202:"城ä¸åŒº",450203:"鱼峰区",450204:"柳å—区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"èžå®‰åŽ¿",450225:"èžæ°´è‹—æ—自治县",450226:"三江侗æ—自治县"},450300:{450302:"秀峰区",450303:"å 彩区",450304:"象山区",450305:"七星区",450311:"é›å±±åŒº",450312:"临桂区",450321:"阳朔县",450323:"çµå·åŽ¿",450324:"全州县",450325:"兴安县",450326:"æ°¸ç¦åŽ¿",450327:"çŒé˜³åŽ¿",450328:"龙胜å„æ—自治县",450329:"资æºåŽ¿",450330:"å¹³ä¹åŽ¿",450332:"æ城瑶æ—自治县",450381:"è”浦市"},450400:{450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"è‹æ¢§åŽ¿",450422:"藤县",450423:"蒙山县",450481:"岑溪市"},450500:{450502:"海城区",450503:"银海区",450512:"é“山港区",450521:"åˆæµ¦åŽ¿"},450600:{450602:"港å£åŒº",450603:"防城区",450621:"上æ€åŽ¿",450681:"东兴市"},450700:{450702:"é’¦å—区",450703:"钦北区",450721:"çµå±±åŽ¿",450722:"浦北县"},450800:{450802:"港北区",450803:"港å—区",450804:"覃塘区",450821:"å¹³å—县",450881:"桂平市"},450900:{450902:"玉州区",450903:"ç¦ç»µåŒº",450921:"容县",450922:"陆å·åŽ¿",450923:"åšç™½åŽ¿",450924:"兴业县",450981:"北æµå¸‚"},451000:{451002:"å³æ±ŸåŒº",451003:"田阳区",451022:"田东县",451024:"å¾·ä¿åŽ¿",451026:"é‚£å¡åŽ¿",451027:"凌云县",451028:"ä¹ä¸šåŽ¿",451029:"田林县",451030:"西林县",451031:"隆林å„æ—自治县",451081:"é–西市",451082:"平果市"},451100:{451102:"å…«æ¥åŒº",451103:"平桂区",451121:"æ˜å¹³åŽ¿",451122:"钟山县",451123:"富å·ç‘¶æ—自治县"},451200:{451202:"金城江区",451203:"宜州区",451221:"å—丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬æ—自治县",451226:"环江毛å—æ—自治县",451227:"巴马瑶æ—自治县",451228:"都安瑶æ—自治县",451229:"大化瑶æ—自治县"},451300:{451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"æ¦å®£åŽ¿",451324:"金秀瑶æ—自治县",451381:"åˆå±±å¸‚"},451400:{451402:"江州区",451421:"扶绥县",451422:"å®æ˜ŽåŽ¿",451423:"龙州县",451424:"大新县",451425:"天ç‰åŽ¿",451481:"å‡ç¥¥å¸‚"},460000:{460100:"æµ·å£å¸‚",460200:"三亚市",460300:"三沙市",460400:"儋州市"},460100:{460105:"秀英区",460106:"é¾™åŽåŒº",460107:"ç¼å±±åŒº",460108:"美兰区"},460200:{460202:"æµ·æ£ åŒº",460203:"å‰é˜³åŒº",460204:"天涯区",460205:"崖州区"},460300:{460321:"西沙群岛",460322:"å—沙群岛",460323:"ä¸æ²™ç¾¤å²›çš„å²›ç¤åŠå…¶æµ·åŸŸ"},460400:{4604001:"那大镇",4604005:"åŽå—çƒä½œå¦é™¢",460400101:"和庆镇",460400102:"å—丰镇",460400103:"大æˆé•‡",460400104:"雅星镇",460400105:"兰洋镇",460400106:"å…‰æ‘镇",460400107:"æœ¨æ£ é•‡",460400108:"海头镇",460400109:"峨蔓镇",460400111:"王五镇",460400112:"白马井镇",460400113:"ä¸å’Œé•‡",460400114:"排浦镇",460400115:"东æˆé•‡",460400116:"新州镇",460400499:"洋浦ç»æµŽå¼€å‘区"},500000:{500100:"é‡åº†å¸‚"},500100:{500101:"万州区",500102:"涪陵区",500103:"æ¸ä¸åŒº",500104:"大渡å£åŒº",500105:"江北区",500106:"æ²™åªå区",500107:"ä¹é¾™å¡åŒº",500108:"å—岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"æ¸åŒ—区",500113:"å·´å—区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"åˆå·åŒº",500118:"æ°¸å·åŒº",500119:"å—å·åŒº",500120:"璧山区",500151:"é“œæ¢åŒº",500152:"æ½¼å—区",500153:"è£æ˜ŒåŒº",500154:"开州区",500155:"æ¢å¹³åŒº",500156:"æ¦éš†åŒº"},510000:{510100:"æˆéƒ½å¸‚",510300:"自贡市",510400:"攀æžèŠ±å¸‚",510500:"泸州市",510600:"德阳市",510700:"绵阳市",510800:"广元市",510900:"é‚å®å¸‚",511000:"内江市",511100:"ä¹å±±å¸‚",511300:"å—充市",511400:"眉山市",511500:"宜宾市",511600:"广安市",511700:"达州市",511800:"雅安市",511900:"å·´ä¸å¸‚",512000:"资阳市",513200:"阿åè—æ—羌æ—自治州",513300:"甘åœè—æ—自治州",513400:"凉山å½æ—自治州"},510100:{510104:"锦江区",510105:"é’羊区",510106:"金牛区",510107:"æ¦ä¾¯åŒº",510108:"æˆåŽåŒº",510112:"龙泉驿区",510113:"é’白江区",510114:"新都区",510115:"温江区",510116:"åŒæµåŒº",510117:"郫都区",510118:"新津区",510121:"é‡‘å ‚åŽ¿",510129:"大邑县",510131:"蒲江县",510181:"éƒ½æ±Ÿå °å¸‚",510182:"å½å·žå¸‚",510183:"邛崃市",510184:"崇州市",510185:"简阳市"},510300:{510302:"自æµäº•åŒº",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"è£åŽ¿",510322:"富顺县"},510400:{510402:"东区",510403:"西区",510411:"ä»å’ŒåŒº",510421:"米易县",510422:"ç›è¾¹åŽ¿"},510500:{510502:"江阳区",510503:"纳溪区",510504:"龙马æ½åŒº",510521:"泸县",510522:"åˆæ±ŸåŽ¿",510524:"å™æ°¸åŽ¿",510525:"å¤è”ºåŽ¿"},510600:{510603:"旌阳区",510604:"罗江区",510623:"ä¸æ±ŸåŽ¿",510681:"广汉市",510682:"什邡市",510683:"绵竹市"},510700:{510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三å°åŽ¿",510723:"ç›äºåŽ¿",510725:"梓潼县",510726:"北å·ç¾Œæ—自治县",510727:"å¹³æ¦åŽ¿",510781:"江油市"},510800:{510802:"利州区",510811:"æ˜åŒ–区",510812:"æœå¤©åŒº",510821:"æ—ºè‹åŽ¿",510822:"é’å·åŽ¿",510823:"剑é˜åŽ¿",510824:"è‹æºªåŽ¿"},510900:{510903:"船山区",510904:"安居区",510921:"蓬溪县",510923:"大英县",510981:"射洪市"},511000:{511002:"市ä¸åŒº",511011:"东兴区",511024:"å¨è¿œåŽ¿",511025:"资ä¸åŽ¿",511071:"内江ç»æµŽå¼€å‘区",511083:"隆昌市"},511100:{511102:"市ä¸åŒº",511111:"沙湾区",511112:"五通桥区",511113:"金å£æ²³åŒº",511123:"çŠä¸ºåŽ¿",511124:"äº•ç ”åŽ¿",511126:"夹江县",511129:"æ²å·åŽ¿",511132:"峨边å½æ—自治县",511133:"马边å½æ—自治县",511181:"峨眉山市"},511300:{511302:"顺庆区",511303:"高åªåŒº",511304:"嘉陵区",511321:"å—部县",511322:"è¥å±±åŽ¿",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆ä¸å¸‚"},511400:{511402:"东å¡åŒº",511403:"å½å±±åŒº",511421:"ä»å¯¿åŽ¿",511423:"洪雅县",511424:"丹棱县",511425:"é’神县"},511500:{511502:"ç¿ å±åŒº",511503:"å—溪区",511504:"å™å·žåŒº",511523:"江安县",511524:"é•¿å®åŽ¿",511525:"高县",511526:"ç™åŽ¿",511527:"ç 连县",511528:"兴文县",511529:"å±å±±åŽ¿"},511600:{511602:"广安区",511603:"å‰é”‹åŒº",511621:"å²³æ± åŽ¿",511622:"æ¦èƒœåŽ¿",511623:"邻水县",511681:"åŽè“¥å¸‚"},511700:{511702:"通å·åŒº",511703:"è¾¾å·åŒº",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"æ¸ åŽ¿",511771:"达州ç»æµŽå¼€å‘区",511781:"万æºå¸‚"},511800:{511802:"雨城区",511803:"å山区",511822:"è¥ç»åŽ¿",511823:"汉æºåŽ¿",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"å®å…´åŽ¿"},511900:{511902:"巴州区",511903:"æ©é˜³åŒº",511921:"通江县",511922:"å—江县",511923:"平昌县",511971:"å·´ä¸ç»æµŽå¼€å‘区"},512000:{512002:"é›æ±ŸåŒº",512021:"安岳县",512022:"ä¹è‡³åŽ¿"},513200:{513201:"马尔康市",513221:"汶å·åŽ¿",513222:"ç†åŽ¿",513223:"茂县",513224:"æ¾æ½˜åŽ¿",513225:"ä¹å¯¨æ²ŸåŽ¿",513226:"金å·åŽ¿",513227:"å°é‡‘县",513228:"黑水县",513230:"壤塘县",513231:"阿å县",513232:"若尔盖县",513233:"红原县"},513300:{513301:"康定市",513322:"泸定县",513323:"丹巴县",513324:"ä¹é¾™åŽ¿",513325:"雅江县",513326:"é“åšåŽ¿",513327:"炉éœåŽ¿",513328:"甘åœåŽ¿",513329:"新龙县",513330:"å¾·æ ¼åŽ¿",513331:"白玉县",513332:"çŸ³æ¸ åŽ¿",513333:"色达县",513334:"ç†å¡˜åŽ¿",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"å¾—è£åŽ¿"},513400:{513401:"西昌市",513402:"会ç†å¸‚",513422:"木里è—æ—自治县",513423:"ç›æºåŽ¿",513424:"德昌县",513426:"会东县",513427:"å®å—县",513428:"æ™®æ ¼åŽ¿",513429:"布拖县",513430:"金阳县",513431:"æ˜è§‰åŽ¿",513432:"喜德县",513433:"冕å®åŽ¿",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县"},520000:{520100:"贵阳市",520200:"å…盘水市",520300:"éµä¹‰å¸‚",520400:"安顺市",520500:"毕节市",520600:"é“œä»å¸‚",522300:"黔西å—布ä¾æ—è‹—æ—自治州",522600:"黔东å—è‹—æ—ä¾—æ—自治州",522700:"é»”å—布ä¾æ—è‹—æ—自治州"},520100:{520102:"å—明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"æ¯çƒ½åŽ¿",520123:"修文县",520181:"清镇市"},520200:{520201:"钟山区",520203:"å…æžç‰¹åŒº",520204:"水城区",520281:"盘州市"},520300:{520302:"红花岗区",520303:"汇å·åŒº",520304:"æ’州区",520322:"æ¡æ¢“县",520323:"绥阳县",520324:"æ£å®‰åŽ¿",520325:"é“真仡佬æ—è‹—æ—自治县",520326:"务å·ä»¡ä½¬æ—è‹—æ—自治县",520327:"凤冈县",520328:"湄æ½åŽ¿",520329:"余庆县",520330:"ä¹ æ°´åŽ¿",520381:"赤水市",520382:"ä»æ€€å¸‚"},520400:{520402:"西秀区",520403:"å¹³å区",520422:"普定县",520423:"镇å®å¸ƒä¾æ—è‹—æ—自治县",520424:"å…³å²å¸ƒä¾æ—è‹—æ—自治县",520425:"紫云苗æ—布ä¾æ—自治县"},520500:{520502:"七星关区",520521:"大方县",520523:"金沙县",520524:"织金县",520525:"纳é›åŽ¿",520526:"å¨å®å½æ—回æ—è‹—æ—自治县",520527:"èµ«ç« åŽ¿",520581:"黔西市"},520600:{520602:"碧江区",520603:"万山区",520621:"江å£åŽ¿",520622:"玉å±ä¾—æ—自治县",520623:"石阡县",520624:"æ€å—县",520625:"å°æ±ŸåœŸå®¶æ—è‹—æ—自治县",520626:"德江县",520627:"沿河土家æ—自治县",520628:"æ¾æ¡ƒè‹—æ—自治县"},522300:{522301:"兴义市",522302:"å…´ä»å¸‚",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县"},522600:{522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦å±åŽ¿",522629:"剑河县",522630:"å°æ±ŸåŽ¿",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县"},522700:{522701:"都匀市",522702:"ç¦æ³‰å¸‚",522722:"è”波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"æƒ æ°´åŽ¿",522732:"三都水æ—自治县"},530000:{530100:"昆明市",530300:"曲é–市",530400:"玉溪市",530500:"ä¿å±±å¸‚",530600:"æ˜é€šå¸‚",530700:"丽江市",530800:"普洱市",530900:"临沧市",532300:"楚雄å½æ—自治州",532500:"红河哈尼æ—å½æ—自治州",532600:"文山壮æ—è‹—æ—自治州",532800:"西åŒç‰ˆçº³å‚£æ—自治州",532900:"大ç†ç™½æ—自治州",533100:"å¾·å®å‚£æ—景颇æ—自治州",533300:"怒江傈僳æ—自治州",533400:"迪庆è—æ—自治州"},530100:{530102:"五åŽåŒº",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东å·åŒº",530114:"呈贡区",530115:"晋å®åŒº",530124:"富民县",530125:"宜良县",530126:"石林å½æ—自治县",530127:"嵩明县",530128:"禄åŠå½æ—è‹—æ—自治县",530129:"寻甸回æ—å½æ—自治县",530181:"安å®å¸‚"},530300:{530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富æºåŽ¿",530326:"会泽县",530381:"宣å¨å¸‚"},530400:{530402:"红塔区",530403:"江å·åŒº",530423:"通海县",530424:"åŽå®åŽ¿",530425:"易门县",530426:"峨山å½æ—自治县",530427:"æ–°å¹³å½æ—å‚£æ—自治县",530428:"元江哈尼æ—å½æ—å‚£æ—自治县",530481:"澄江市"},530500:{530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌å®åŽ¿",530581:"腾冲市"},530600:{530602:"æ˜é˜³åŒº",530621:"é²ç”¸åŽ¿",530622:"巧家县",530623:"ç›æ´¥åŽ¿",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"å½è‰¯åŽ¿",530629:"å¨ä¿¡åŽ¿",530681:"水富市"},530700:{530702:"å¤åŸŽåŒº",530721:"玉龙纳西æ—自治县",530722:"永胜县",530723:"åŽåªåŽ¿",530724:"å®è’—å½æ—自治县"},530800:{530802:"æ€èŒ…区",530821:"å®æ´±å“ˆå°¼æ—å½æ—自治县",530822:"墨江哈尼æ—自治县",530823:"景东å½æ—自治县",530824:"景谷傣æ—å½æ—自治县",530825:"镇沅å½æ—哈尼æ—拉祜æ—自治县",530826:"江城哈尼æ—å½æ—自治县",530827:"åŸè¿žå‚£æ—拉祜æ—佤æ—自治县",530828:"澜沧拉祜æ—自治县",530829:"西盟佤æ—自治县"},530900:{530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"åŒæ±Ÿæ‹‰ç¥œæ—佤æ—布朗æ—å‚£æ—自治县",530926:"耿马傣æ—佤æ—自治县",530927:"沧æºä½¤æ—自治县"},532300:{532301:"楚雄市",532302:"禄丰市",532322:"åŒæŸåŽ¿",532323:"牟定县",532324:"å—åŽåŽ¿",532325:"姚安县",532326:"大姚县",532327:"æ°¸ä»åŽ¿",532328:"元谋县",532329:"æ¦å®šåŽ¿"},532500:{532501:"个旧市",532502:"开远市",532503:"蒙自市",532504:"弥勒市",532523:"å±è¾¹è‹—æ—自治县",532524:"建水县",532525:"石å±åŽ¿",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗æ—瑶æ—å‚£æ—自治县",532531:"绿春县",532532:"æ²³å£ç‘¶æ—自治县"},532600:{532601:"文山市",532622:"ç šå±±åŽ¿",532623:"西畴县",532624:"éº»æ —å¡åŽ¿",532625:"马关县",532626:"丘北县",532627:"广å—县",532628:"富å®åŽ¿"},532800:{532801:"景洪市",532822:"å‹æµ·åŽ¿",532823:"å‹è…ŠåŽ¿"},532900:{532901:"大ç†å¸‚",532922:"漾濞å½æ—自治县",532923:"祥云县",532924:"宾å·åŽ¿",532925:"弥渡县",532926:"å—涧å½æ—自治县",532927:"å·å±±å½æ—回æ—自治县",532928:"永平县",532929:"云龙县",532930:"æ´±æºåŽ¿",532931:"剑å·åŽ¿",532932:"鹤庆县"},533100:{533102:"瑞丽市",533103:"芒市",533122:"æ¢æ²³åŽ¿",533123:"盈江县",533124:"陇å·åŽ¿"},533300:{533301:"泸水市",533323:"ç¦è´¡åŽ¿",533324:"贡山独龙æ—怒æ—自治县",533325:"å…°åªç™½æ—普米æ—自治县"},533400:{533401:"é¦™æ ¼é‡Œæ‹‰å¸‚",533422:"德钦县",533423:"维西傈僳æ—自治县"},540000:{540100:"拉è¨å¸‚",540200:"日喀则市",540300:"昌都市",540400:"æž—èŠå¸‚",540500:"å±±å—市",540600:"那曲市",542500:"阿里地区"},540100:{540102:"城关区",540103:"å †é¾™å¾·åº†åŒº",540104:"è¾¾åœåŒº",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工å¡åŽ¿",540171:"æ ¼å°”æœ¨è—é’工业å›åŒº",540172:"拉è¨ç»æµŽæŠ€æœ¯å¼€å‘区",540173:"西è—文化旅游创æ„å›åŒº",540174:"è¾¾åœå·¥ä¸šå›åŒº"},540200:{540202:"æ¡‘ç åœåŒº",540221:"å—木林县",540222:"江åœåŽ¿",540223:"定日县",540224:"è¨è¿¦åŽ¿",540225:"拉åœåŽ¿",540226:"昂ä»åŽ¿",540227:"谢通门县",540228:"白朗县",540229:"ä»å¸ƒåŽ¿",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"å‰éš†åŽ¿",540235:"è‚拉木县",540236:"è¨å˜ŽåŽ¿",540237:"岗巴县"},540300:{540302:"å¡è‹¥åŒº",540321:"江达县",540322:"贡觉县",540323:"类乌é½åŽ¿",540324:"ä¸é’县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"è¾¹å县"},540400:{540402:"巴宜区",540421:"工布江达县",540422:"米林县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县"},540500:{540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"ç¼ç»“县",540525:"曲æ¾åŽ¿",540526:"措美县",540527:"洛扎县",540528:"åŠ æŸ¥åŽ¿",540529:"隆å县",540530:"错那县",540531:"浪å¡å县"},540600:{540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"è‚è£åŽ¿",540624:"安多县",540625:"申扎县",540626:"索县",540627:"ç戈县",540628:"å·´é’县",540629:"尼玛县",540630:"åŒæ¹–县"},542500:{542521:"普兰县",542522:"æœè¾¾åŽ¿",542523:"噶尔县",542524:"日土县",542525:"é©å‰åŽ¿",542526:"改则县",542527:"措勤县"},610000:{610100:"西安市",610200:"é“œå·å¸‚",610300:"å®é¸¡å¸‚",610400:"咸阳市",610500:"æ¸å—市",610600:"延安市",610700:"汉ä¸å¸‚",610800:"榆林市",610900:"安康市",611000:"商洛市"},610100:{610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"çžæ¡¥åŒº",610112:"未央区",610113:"é›å¡”区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"é„ é‚‘åŒº",610122:"è“田县",610124:"周至县"},610200:{610202:"王益区",610203:"å°å°åŒº",610204:"耀州区",610222:"宜å›åŽ¿"},610300:{610302:"æ¸æ»¨åŒº",610303:"金å°åŒº",610304:"陈仓区",610305:"凤翔区",610323:"å²å±±åŽ¿",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"åƒé˜³åŽ¿",610329:"麟游县",610330:"凤县",610331:"太白县"},610400:{610402:"秦都区",610403:"æ¨é™µåŒº",610404:"æ¸åŸŽåŒº",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"é•¿æ¦åŽ¿",610429:"旬邑县",610430:"淳化县",610431:"æ¦åŠŸåŽ¿",610481:"兴平市",610482:"彬州市"},610500:{610502:"临æ¸åŒº",610503:"åŽå·žåŒº",610522:"潼关县",610523:"大è”县",610524:"åˆé˜³åŽ¿",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"åŽé˜´å¸‚"},610600:{610602:"å®å¡”区",610603:"安塞区",610621:"延长县",610622:"延å·åŽ¿",610625:"志丹县",610626:"å´èµ·åŽ¿",610627:"甘泉县",610628:"富县",610629:"æ´›å·åŽ¿",610630:"宜å·åŽ¿",610631:"黄龙县",610632:"黄陵县",610681:"å长市"},610700:{610702:"汉å°åŒº",610703:"å—郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"å®å¼ºåŽ¿",610727:"略阳县",610728:"镇巴县",610729:"ç•™å县",610730:"ä½›åªåŽ¿"},610800:{610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"é–边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"å´å ¡åŽ¿",610830:"清涧县",610831:"å洲县",610881:"神木市"},610900:{610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"å®é™•åŽ¿",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇åªåŽ¿",610929:"白河县",610981:"旬阳市"},611000:{611002:"商州区",611021:"æ´›å—县",611022:"丹凤县",611023:"商å—县",611024:"山阳县",611025:"镇安县",611026:"柞水县"},620000:{620100:"兰州市",620200:"嘉峪关市",620300:"金昌市",620400:"白银市",620500:"天水市",620600:"æ¦å¨å¸‚",620700:"å¼ æŽ–å¸‚",620800:"平凉市",620900:"酒泉市",621000:"庆阳市",621100:"定西市",621200:"陇å—市",622900:"临å¤å›žæ—自治州",623000:"甘å—è—æ—自治州"},620100:{620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安å®åŒº",620111:"红å¤åŒº",620121:"永登县",620122:"皋兰县",620123:"榆ä¸åŽ¿",620171:"兰州新区"},620200:{6202011:"新城镇",620201001:"雄关街é“",620201002:"钢城街é“",620201101:"峪泉镇",620201102:"文殊镇"},620300:{620302:"金å·åŒº",620321:"永昌县"},620400:{620402:"白银区",620403:"å¹³å·åŒº",620421:"é–远县",620422:"会å®åŽ¿",620423:"景泰县"},620500:{620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"æ¦å±±åŽ¿",620525:"å¼ å®¶å·å›žæ—自治县"},620600:{620602:"凉州区",620621:"民勤县",620622:"å¤æµªåŽ¿",620623:"天ç¥è—æ—自治县"},620700:{620702:"甘州区",620721:"肃å—裕固æ—自治县",620722:"æ°‘ä¹åŽ¿",620723:"临泽县",620724:"高å°åŽ¿",620725:"山丹县"},620800:{620802:"崆峒区",620821:"æ³¾å·åŽ¿",620822:"çµå°åŽ¿",620823:"崇信县",620825:"庄浪县",620826:"é™å®åŽ¿",620881:"åŽäºå¸‚"},620900:{620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙å¤æ—自治县",620924:"阿克塞哈è¨å…‹æ—自治县",620981:"玉门市",620982:"敦煌市"},621000:{621002:"西峰区",621021:"庆城县",621022:"环县",621023:"åŽæ± 县",621024:"åˆæ°´åŽ¿",621025:"æ£å®åŽ¿",621026:"å®åŽ¿",621027:"镇原县"},621100:{621102:"安定区",621121:"通æ¸åŽ¿",621122:"陇西县",621123:"æ¸æºåŽ¿",621124:"临洮县",621125:"漳县",621126:"岷县"},621200:{621202:"æ¦éƒ½åŒº",621221:"æˆåŽ¿",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县"},622900:{622901:"临å¤å¸‚",622921:"临å¤åŽ¿",622922:"康ä¹åŽ¿",622923:"æ°¸é–县",622924:"广河县",622925:"和政县",622926:"东乡æ—自治县",622927:"积石山ä¿å®‰æ—东乡æ—撒拉æ—自治县"},623000:{623001:"åˆä½œå¸‚",623021:"临æ½åŽ¿",623022:"å“尼县",623023:"舟曲县",623024:"è¿éƒ¨åŽ¿",623025:"玛曲县",623026:"碌曲县",623027:"å¤æ²³åŽ¿"},630000:{630100:"西å®å¸‚",630200:"海东市",632200:"海北è—æ—自治州",632300:"黄å—è—æ—自治州",632500:"æµ·å—è—æ—自治州",632600:"果洛è—æ—自治州",632700:"çŽ‰æ ‘è—æ—自治州",632800:"海西蒙å¤æ—è—æ—自治州"},630100:{630102:"城东区",630103:"城ä¸åŒº",630104:"城西区",630105:"城北区",630106:"湟ä¸åŒº",630121:"大通回æ—土æ—自治县",630123:"湟æºåŽ¿"},630200:{630202:"ä¹éƒ½åŒº",630203:"平安区",630222:"民和回æ—土æ—自治县",630223:"互助土æ—自治县",630224:"化隆回æ—自治县",630225:"循化撒拉æ—自治县"},632200:{632221:"é—¨æºå›žæ—自治县",632222:"ç¥è¿žåŽ¿",632223:"æµ·æ™åŽ¿",632224:"刚察县"},632300:{632301:"åŒä»å¸‚",632322:"尖扎县",632323:"泽库县",632324:"æ²³å—è’™å¤æ—自治县"},632500:{632521:"共和县",632522:"åŒå¾·åŽ¿",632523:"贵德县",632524:"兴海县",632525:"è´µå—县"},632600:{632621:"玛æ²åŽ¿",632622:"ç玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县"},632700:{632701:"çŽ‰æ ‘å¸‚",632722:"æ‚多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县"},632800:{632801:"æ ¼å°”æœ¨å¸‚",632802:"德令哈市",632803:"茫崖市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632857:"大柴旦行政委员会"},640000:{640100:"银å·å¸‚",640200:"石嘴山市",640300:"å´å¿ 市",640400:"固原市",640500:"ä¸å«å¸‚"},640100:{640104:"兴庆区",640105:"西å¤åŒº",640106:"金凤区",640121:"æ°¸å®åŽ¿",640122:"贺兰县",640181:"çµæ¦å¸‚"},640200:{640202:"大æ¦å£åŒº",640205:"æƒ å†œåŒº",640221:"平罗县"},640300:{640302:"利通区",640303:"çº¢å¯ºå ¡åŒº",640323:"ç›æ± 县",640324:"åŒå¿ƒåŽ¿",640381:"é’铜峡市"},640400:{640402:"原州区",640422:"西å‰åŽ¿",640423:"隆德县",640424:"æ³¾æºåŽ¿",640425:"å½é˜³åŽ¿"},640500:{640502:"æ²™å¡å¤´åŒº",640521:"ä¸å®åŽ¿",640522:"海原县"},650000:{650100:"乌é²æœ¨é½å¸‚",650200:"克拉玛ä¾å¸‚",650400:"åé²ç•ªå¸‚",650500:"哈密市",652300:"昌å‰å›žæ—自治州",652700:"åšå°”塔拉蒙å¤è‡ªæ²»å·ž",652800:"巴音éƒæ¥žè’™å¤è‡ªæ²»å·ž",652900:"阿克è‹åœ°åŒº",653000:"å…‹åœå‹’è‹æŸ¯å°”å…‹åœè‡ªæ²»å·ž",653100:"喀什地区",653200:"和田地区",654000:"伊çŠå“ˆè¨å…‹è‡ªæ²»å·ž",654200:"塔城地区",654300:"阿勒泰地区"},650100:{650102:"天山区",650103:"æ²™ä¾å·´å…‹åŒº",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"è¾¾å‚城区",650109:"米东区",650121:"乌é²æœ¨é½åŽ¿"},650200:{650202:"独山å区",650203:"克拉玛ä¾åŒº",650204:"白碱滩区",650205:"乌尔禾区"},650400:{650402:"高昌区",650421:"鄯善县",650422:"托克逊县"},650500:{650502:"伊州区",650521:"巴里å¤å“ˆè¨å…‹è‡ªæ²»åŽ¿",650522:"伊å¾åŽ¿"},652300:{652301:"昌å‰å¸‚",652302:"阜康市",652323:"呼图å£åŽ¿",652324:"玛纳斯县",652325:"奇å°åŽ¿",652327:"å‰æœ¨è¨å°”县",652328:"木垒哈è¨å…‹è‡ªæ²»åŽ¿"},652700:{652701:"åšä¹å¸‚",652702:"阿拉山å£å¸‚",652722:"精河县",652723:"温泉县"},652800:{652801:"库尔勒市",652822:"è½®å°åŽ¿",652823:"å°‰çŠåŽ¿",652824:"若羌县",652825:"且末县",652826:"焉耆回æ—自治县",652827:"å’Œé™åŽ¿",652828:"和硕县",652829:"åšæ¹–县",652871:"库尔勒ç»æµŽæŠ€æœ¯å¼€å‘区"},652900:{652901:"阿克è‹å¸‚",652902:"库车市",652922:"温宿县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦æ县",652929:"柯åªåŽ¿"},653000:{653001:"阿图什市",653022:"阿克陶县",653023:"阿åˆå¥‡åŽ¿",653024:"乌æ°åŽ¿"},653100:{653101:"喀什市",653121:"ç–附县",653122:"ç–勒县",653123:"英å‰æ²™åŽ¿",653124:"泽普县",653125:"莎车县",653126:"å¶åŸŽåŽ¿",653127:"麦盖æ县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔å‰å…‹è‡ªæ²»åŽ¿"},653200:{653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"ç–勒县",653226:"于田县",653227:"民丰县"},654000:{654002:"伊å®å¸‚",654003:"奎屯市",654004:"éœå°”果斯市",654021:"伊å®åŽ¿",654022:"察布查尔锡伯自治县",654023:"éœåŸŽåŽ¿",654024:"巩留县",654025:"æ–°æºåŽ¿",654026:"æ˜è‹åŽ¿",654027:"特克斯县",654028:"尼勒克县"},654200:{654201:"塔城市",654202:"乌è‹å¸‚",654203:"沙湾市",654221:"é¢æ•åŽ¿",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙å¤è‡ªæ²»åŽ¿"},654300:{654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"ç¦æµ·åŽ¿",654324:"哈巴河县",654325:"é’河县",654326:"å‰æœ¨ä¹ƒåŽ¿"},710000:{710100:"å°åŒ—市",710200:"高雄市",710300:"å°å—市",710400:"å°ä¸å¸‚",710500:"金门县",710600:"å—投县",710700:"基隆市",710800:"新竹市",710900:"嘉义市",711100:"新北市",711200:"宜兰县",711300:"新竹县",711400:"桃å›åŽ¿",711500:"è‹—æ —åŽ¿",711700:"彰化县",711900:"嘉义县",712100:"云林县",712400:"å±ä¸œåŽ¿",712500:"å°ä¸œåŽ¿",712600:"花莲县",712700:"澎湖县",712800:"连江县"},710100:{710101:"ä¸æ£åŒº",710102:"大åŒåŒº",710103:"ä¸å±±åŒº",710104:"æ¾å±±åŒº",710105:"大安区",710106:"万åŽåŒº",710107:"信义区",710108:"士林区",710109:"北投区",710110:"内湖区",710111:"å—港区",710112:"文山区",710199:"其它区"},710200:{710201:"新兴区",710202:"å‰é‡‘区",710203:"芩雅区",710204:"ç›åŸ•åŒº",710205:"鼓山区",710206:"旗津区",710207:"å‰é•‡åŒº",710208:"三民区",710209:"å·¦è¥åŒº",710210:"æ¥ æ¢“åŒº",710211:"å°æ¸¯åŒº",710241:"苓雅区",710242:"ä»æ¦åŒº",710243:"大社区",710244:"冈山区",710245:"路竹区",710246:"阿莲区",710247:"田寮区",710248:"燕巢区",710249:"桥头区",710250:"梓官区",710251:"弥陀区",710252:"永安区",710253:"湖内区",710254:"凤山区",710255:"大寮区",710256:"æž—å›åŒº",710257:"鸟æ¾åŒº",710258:"å¤§æ ‘åŒº",710259:"旗山区",710260:"美浓区",710261:"å…龟区",710262:"内门区",710263:"æ‰æž—区",710264:"甲仙区",710265:"桃æºåŒº",710266:"那玛å¤åŒº",710267:"茂林区",710268:"茄è£åŒº",710299:"其它区"},710300:{710301:"ä¸è¥¿åŒº",710302:"东区",710303:"å—区",710304:"北区",710305:"安平区",710306:"安å—区",710339:"永康区",710340:"å½’ä»åŒº",710341:"新化区",710342:"左镇区",710343:"玉井区",710344:"æ¥ è¥¿åŒº",710345:"å—化区",710346:"ä»å¾·åŒº",710347:"关庙区",710348:"龙崎区",710349:"官田区",710350:"麻豆区",710351:"佳里区",710352:"西港区",710353:"七股区",710354:"将军区",710355:"å¦ç”²åŒº",710356:"北门区",710357:"æ–°è¥åŒº",710358:"åŽå£åŒº",710359:"白河区",710360:"东山区",710361:"å…甲区",710362:"下è¥åŒº",710363:"柳è¥åŒº",710364:"ç›æ°´åŒº",710365:"善化区",710366:"大内区",710367:"山上区",710368:"新市区",710369:"安定区",710399:"其它区"},710400:{710401:"ä¸åŒº",710402:"东区",710403:"å—区",710404:"西区",710405:"北区",710406:"北屯区",710407:"西屯区",710408:"å—屯区",710431:"太平区",710432:"大里区",710433:"雾峰区",710434:"乌日区",710435:"丰原区",710436:"åŽé‡ŒåŒº",710437:"石冈区",710438:"东势区",710439:"和平区",710440:"新社区",710441:"æ½å区",710442:"大雅区",710443:"神冈区",710444:"大肚区",710445:"沙鹿区",710446:"龙井区",710447:"æ¢§æ –åŒº",710448:"清水区",710449:"大甲区",710450:"外埔区",710451:"大安区",710499:"其它区"},710500:{710507:"金沙镇",710508:"金湖镇",710509:"金å®ä¹¡",710510:"金城镇",710511:"烈屿乡",710512:"乌åµä¹¡"},710600:{710614:"å—投市",710615:"ä¸å¯®ä¹¡",710616:"è‰å±¯é•‡",710617:"国姓乡",710618:"埔里镇",710619:"ä»çˆ±ä¹¡",710620:"å间乡",710621:"集集镇",710622:"水里乡",710623:"é±¼æ± ä¹¡",710624:"信义乡",710625:"竹山镇",710626:"鹿谷乡"},710700:{710701:"ä»çˆ±åŒº",710702:"信义区",710703:"ä¸æ£åŒº",710704:"ä¸å±±åŒº",710705:"安ä¹åŒº",710706:"暖暖区",710707:"ä¸ƒå µåŒº",710799:"其它区"},710800:{710801:"东区",710802:"北区",710803:"香山区",710899:"其它区"},710900:{710901:"东区",710902:"西区",710999:"其它区"},711100:{711130:"万里区",711132:"æ¿æ¡¥åŒº",711133:"æ±æ¢åŒº",711134:"æ·±å‘区",711135:"石碇区",711136:"瑞芳区",711137:"平溪区",711138:"åŒæºªåŒº",711139:"贡寮区",711140:"新店区",711141:"åªæž—区",711142:"乌æ¥åŒº",711143:"永和区",711144:"ä¸å’ŒåŒº",711145:"土城区",711146:"三峡区",711147:"æ ‘æž—åŒº",711148:"莺æŒåŒº",711149:"三é‡åŒº",711150:"新庄区",711151:"泰山区",711152:"æž—å£åŒº",711153:"芦洲区",711154:"五股区",711155:"八里区",711156:"淡水区",711157:"三èŠåŒº",711158:"石门区"},711200:{711287:"宜兰市",711288:"头城镇",711289:"ç¤æºªä¹¡",711290:"壮围乡",711291:"员山乡",711292:"罗东镇",711293:"三星乡",711294:"大åŒä¹¡",711295:"五结乡",711296:"冬山乡",711297:"è‹æ¾³é•‡",711298:"å—澳乡",711299:"é’“é±¼å°"},711300:{711387:"竹北市",711388:"æ¹–å£ä¹¡",711389:"新丰乡",711390:"新埔镇",711391:"关西镇",711392:"芎林乡",711393:"å®å±±ä¹¡",711394:"竹东镇",711395:"五峰乡",711396:"横山乡",711397:"尖石乡",711398:"北埔乡",711399:"峨眉乡"},711400:{711414:"ä¸åœåŒº",711415:"平镇区",711417:"æ¨æ¢…区",711418:"新屋区",711419:"观音区",711420:"桃å›åŒº",711421:"龟山区",711422:"八德区",711423:"大溪区",711425:"大å›åŒº",711426:"芦竹区",711487:"ä¸åœå¸‚",711488:"平镇市",711489:"é¾™æ½ä¹¡",711490:"æ¨æ¢…市",711491:"新屋乡",711492:"观音乡",711493:"桃å›å¸‚",711494:"龟山乡",711495:"八德市",711496:"大溪镇",711497:"å¤å…´ä¹¡",711498:"大å›ä¹¡",711499:"芦竹乡"},711500:{711520:"头份市",711582:"竹å—镇",711583:"头份镇",711584:"三湾乡",711585:"å—庄乡",711586:"ç‹®æ½ä¹¡",711587:"åŽé¾™é•‡",711588:"通霄镇",711589:"苑里镇",711590:"è‹—æ —å¸‚",711591:"é€ æ¡¥ä¹¡",711592:"头屋乡",711593:"公馆乡",711594:"大湖乡",711595:"泰安乡",711596:"铜锣乡",711597:"三义乡",711598:"西湖乡",711599:"å“兰镇"},711700:{711736:"员林市",711774:"彰化市",711775:"芬å›ä¹¡",711776:"花å›ä¹¡",711777:"秀水乡",711778:"鹿港镇",711779:"ç¦å…´ä¹¡",711780:"线西乡",711781:"和美镇",711782:"伸港乡",711783:"员林镇",711784:"社头乡",711785:"æ°¸é–乡",711786:"埔心乡",711787:"溪湖镇",711788:"大æ‘乡",711789:"埔ç›ä¹¡",711790:"ç”°ä¸é•‡",711791:"北斗镇",711792:"田尾乡",711793:"埤头乡",711794:"溪州乡",711795:"竹塘乡",711796:"二林镇",711797:"大城乡",711798:"芳苑乡",711799:"二水乡"},711900:{711982:"番路乡",711983:"梅山乡",711984:"竹崎乡",711985:"阿里山乡",711986:"ä¸åŸ”乡",711987:"大埔乡",711988:"水上乡",711989:"鹿è‰ä¹¡",711990:"太ä¿å¸‚",711991:"朴å市",711992:"东石乡",711993:"å…脚乡",711994:"新港乡",711995:"民雄乡",711996:"大林镇",711997:"溪å£ä¹¡",711998:"义竹乡",711999:"布袋镇"},712100:{712180:"æ–—å—镇",712181:"大埤乡",712182:"虎尾镇",712183:"土库镇",712184:"è¤’å¿ ä¹¡",712185:"东势乡",712186:"å°è¥¿ä¹¡",712187:"仑背乡",712188:"麦寮乡",712189:"æ–—å…市",712190:"林内乡",712191:"å¤å‘乡",712192:"莿æ¡ä¹¡",712193:"西螺镇",712194:"二仑乡",712195:"北港镇",712196:"水林乡",712197:"å£æ¹–乡",712198:"四湖乡",712199:"元长乡"},712400:{712451:"å´é¡¶ä¹¡",712467:"å±ä¸œå¸‚",712468:"三地门乡",712469:"雾å°ä¹¡",712470:"玛家乡",712471:"ä¹å¦‚乡",712472:"里港乡",712473:"é«˜æ ‘ä¹¡",712474:"ç›åŸ”乡",712475:"长治乡",712476:"麟洛乡",712477:"竹田乡",712478:"内埔乡",712479:"万丹乡",712480:"潮州镇",712481:"æ³°æ¦ä¹¡",712482:"æ¥ä¹‰ä¹¡",712483:"万峦乡",712484:"莰顶乡",712485:"新埤乡",712486:"å—州乡",712487:"林边乡",712488:"东港镇",712489:"ç‰çƒä¹¡",712490:"佳冬乡",712491:"æ–°å›ä¹¡",712492:"枋寮乡",712493:"枋山乡",712494:"春日乡",712495:"ç‹®å乡",712496:"车城乡",712497:"牡丹乡",712498:"æ’春镇",712499:"满州乡"},712500:{712584:"å°ä¸œå¸‚",712585:"绿岛乡",712586:"兰屿乡",712587:"延平乡",712588:"å‘å—乡",712589:"鹿野乡",712590:"关山镇",712591:"海端乡",712592:"æ± ä¸Šä¹¡",712593:"东河乡",712594:"æˆåŠŸé•‡",712595:"长滨乡",712596:"金峰乡",712597:"大æ¦ä¹¡",712598:"è¾¾ä»ä¹¡",712599:"太麻里乡"},712600:{712686:"花莲市",712687:"新城乡",712688:"太é²é˜",712689:"秀林乡",712690:"å‰å®‰ä¹¡",712691:"寿丰乡",712692:"凤林镇",712693:"å…‰å¤ä¹¡",712694:"丰滨乡",712695:"瑞穗乡",712696:"万è£ä¹¡",712697:"玉里镇",712698:"å“溪乡",712699:"富里乡"},712700:{712794:"马公市",712795:"西屿乡",712796:"望安乡",712797:"七美乡",712798:"白沙乡",712799:"湖西乡"},712800:{712896:"å—竿乡",712897:"北竿乡",712898:"东引乡",712899:"莒光乡"},810000:{810100:"香港岛",810200:"ä¹é¾™",810300:"æ–°ç•Œ"},810100:{810101:"ä¸è¥¿åŒº",810102:"湾仔区",810103:"东区",810104:"å—区"},810200:{810201:"ä¹é¾™åŸŽåŒº",810202:"油尖旺区",810203:"深水埗区",810204:"黄大仙区",810205:"观塘区"},810300:{810301:"北区",810302:"大埔区",810303:"沙田区",810304:"西贡区",810305:"元朗区",810306:"屯门区",810307:"èƒæ¹¾åŒº",810308:"葵é’区",810309:"离岛区"},820000:{820100:"澳门åŠå²›",820200:"离岛"},820100:{820101:"澳门åŠå²›"},820200:{820201:"离岛"},900000:{900100:"其它市"},900100:{900101:"其它区"}},n={name:"v-distpicker",props:{province:{type:[String,Number],default:""},city:{type:[String,Number],default:""},area:{type:[String,Number],default:""},type:{type:String,default:""},hideArea:{type:Boolean,default:!1},onlyProvince:{type:Boolean,default:!1},staticPlaceholder:{type:Boolean,default:!1},placeholders:{type:Object,default:function(){return{province:"çœ",city:"市",area:"区"}}},districts:{type:[Array,Object],default:function(){return i}},disabled:{type:Boolean,default:!1},provinceDisabled:{type:Boolean,default:!1},cityDisabled:{type:Boolean,default:!1},areaDisabled:{type:Boolean,default:!1},addressHeader:{type:String,default:"address-header"},addressContainer:{type:String,default:"address-container"},wrapper:{type:String,default:"distpicker-address-wrapper"}},data:function(){return{tab:1,showCityTab:!1,showAreaTab:!1,provinces:[],cities:[],areas:[],currentProvince:this.determineType(this.province)||this.placeholders.province,currentCity:this.determineType(this.city)||this.placeholders.city,currentArea:this.determineType(this.area)||this.placeholders.area}},created:function(){if("mobile"!==this.type){this.provinces=this.getDistricts(),this.cities=this.province?this.getDistricts(this.getAreaCode(this.determineType(this.province))):[];var e=this.isDirectCity(this.province,this.city);this.areas=this.city?this.getDistricts(this.getAreaCode(this.determineType(this.city),e?this.determineType(this.city):this.area,"city")):[]}else if(!this.area||this.hideArea||this.onlyProvince)this.city&&this.hideArea&&!this.onlyProvince?(this.tab=2,this.showCityTab=!0,this.cities=this.getDistricts(this.getAreaCode(this.determineType(this.province)))):this.provinces=this.getDistricts();else{this.tab=3,this.showCityTab=!0,this.showAreaTab=!0;var t=this.isDirectCity(this.province,this.city);this.areas=this.getDistricts(this.getAreaCode(this.determineType(this.city),t?this.determineType(this.city):this.area,"city"))}},watch:{currentProvince:function(e){this.$emit("province",this.setData(e,"province")),this.onlyProvince&&this.emit("selected")},currentCity:function(e){this.$emit("city",this.setData(e,"city",this.currentProvince)),e!=this.placeholders.city&&this.hideArea&&this.emit("selected")},currentArea:function(e){this.$emit("area",this.setData(e,"area",this.currentProvince,!0)),e!=this.placeholders.area&&this.emit("selected")},province:function(e){this.currentProvince=this.province||this.placeholders.province,this.cities=this.determineValue("province",this.currentProvince,this.placeholders.province)},city:function(e){this.currentCity=this.city||this.placeholders.city,this.areas=this.determineValue("city",this.currentCity,this.placeholders.city,this.currentProvince)},area:function(e){this.currentArea=this.area||this.placeholders.area}},methods:{setData:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{code:arguments.length>3&&void 0!==arguments[3]&&arguments[3]?this.getCodeByArea(e):this.getAreaCode(e,r,t),value:e}},getCodeByArea:function(e){for(var t={},r=Object.keys(this.areas),i=0;i<r.length;i++){var n=r[i];t[this.areas[n]]=n}return t[e]},emit:function(e){var t={province:this.setData(this.currentProvince,"province")};this.onlyProvince||this.$set(t,"city",this.setData(this.currentCity,"city",this.currentProvince)),this.onlyProvince&&!this.hideArea||this.$set(t,"area",this.setData(this.currentArea,"area",this.currentProvince,!0)),this.$emit(e,t)},getCities:function(){this.currentCity=this.placeholders.city,this.currentArea=this.placeholders.area,this.cities=this.determineValue("province",this.currentProvince,this.placeholders.province),this.cleanList("areas"),0===this.cities.length&&(this.emit("selected"),this.tab=1,this.showCityTab=!1)},getAreas:function(){this.currentArea=this.placeholders.area,this.areas=this.determineValue("city",this.currentCity,this.placeholders.city,this.currentProvince),0===this.areas.length&&(this.emit("selected"),this.tab=2,this.showAreaTab=!1)},resetProvince:function(){this.tab=1,this.provinces=this.getDistricts(),this.showCityTab=!1,this.showAreaTab=!1},resetCity:function(){this.tab=2,this.showCityTab=!0,this.showAreaTab=!1,this.getCities()},chooseProvince:function(e){this.currentProvince=e,this.onlyProvince||(this.tab=2,this.showCityTab=!0,this.showAreaTab=!1,this.getCities())},chooseCity:function(e){this.currentCity=e,this.hideArea||(this.tab=3,this.showCityTab=!0,this.showAreaTab=!0,this.getAreas())},chooseArea:function(e){this.currentArea=e},getAreaCodeByPreCode:function(e,t){var r,i=[];for(var n in this.districts)for(var s in this.districts[n])e===this.districts[n][s]&&i.push(s);return i.length>1?(i.forEach(function(e,i){(2===t.length&&e.slice(0,2)===t||4===t.length&&e.slice(0,4)!==t)&&(r=i)}),i[r]):i[0]},getAreaCode:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";for(var i in this.districts)for(var n in this.districts[i])if(e===this.districts[i][n]){if(t.length>0){var s=n;if(t){var a="city"===r?this.getAreaCode(this.currentProvince).slice(0,2):n.slice(0,2);s=this.getAreaCodeByPreCode(e,a)}if(s&&n.slice(0,2)===s.slice(0,2))return s;continue}return n}},getCodeValue:function(e){for(var t in this.districts)for(var r in this.districts[t])if(e===parseInt(r))return this.districts[t][r]},getDistricts:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e5;return this.districts[e]||[]},determineValue:function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return t===r?[]:this.getDistricts(this.getAreaCode(t,i,e))},determineType:function(e){return"number"==typeof e?this.getCodeValue(e):e},cleanList:function(e){this[e]=[]},isDirectCity:function(e,t){return!(!e||!t)&&this.determineType(this.province)===this.determineType(this.city)}}};r(1);var s=function(e,t,r,i,n,s,a,o){var c,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=r,d._compiled=!0),i&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=c):n&&(c=o?function(){n.call(this,this.$root.$options.shadowRoot)}:n),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(e,t){return c.call(t),l(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:d}}(n,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.wrapper},["mobile"!==e.type?[r("label",[r("select",{directives:[{name:"model",rawName:"v-model",value:e.currentProvince,expression:"currentProvince"}],attrs:{disabled:e.disabled||e.provinceDisabled},on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.currentProvince=t.target.multiple?r:r[0]},e.getCities]}},[r("option",{domProps:{value:e.placeholders.province}},[e._v(e._s(e.placeholders.province))]),e._v(" "),e._l(e.provinces,function(t,i){return r("option",{key:i,domProps:{value:t}},[e._v("\n "+e._s(t)+"\n ")])})],2)]),e._v(" "),e.onlyProvince?e._e():[r("label",[r("select",{directives:[{name:"model",rawName:"v-model",value:e.currentCity,expression:"currentCity"}],attrs:{disabled:e.disabled||e.cityDisabled},on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.currentCity=t.target.multiple?r:r[0]},e.getAreas]}},[r("option",{domProps:{value:e.placeholders.city}},[e._v(e._s(e.placeholders.city))]),e._v(" "),e._l(e.cities,function(t,i){return r("option",{key:i,domProps:{value:t}},[e._v("\n "+e._s(t)+"\n ")])})],2)]),e._v(" "),r("label",[e.hideArea?e._e():r("select",{directives:[{name:"model",rawName:"v-model",value:e.currentArea,expression:"currentArea"}],attrs:{disabled:e.disabled||e.areaDisabled},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.currentArea=t.target.multiple?r:r[0]}}},[r("option",{domProps:{value:e.placeholders.area}},[e._v(e._s(e.placeholders.area))]),e._v(" "),e._l(e.areas,function(t,i){return r("option",{key:i,domProps:{value:t}},[e._v("\n "+e._s(t)+"\n ")])})],2)])]]:[r("div",{class:e.addressHeader},[r("ul",[r("li",{class:{active:1===e.tab},on:{click:e.resetProvince}},[e._v(e._s(e.currentProvince&&!e.staticPlaceholder?e.currentProvince:e.placeholders.province))]),e._v(" "),e.onlyProvince?e._e():[e.showCityTab?r("li",{class:{active:2===e.tab},on:{click:e.resetCity}},[e._v(e._s(e.currentCity&&!e.staticPlaceholder?e.currentCity:e.placeholders.city))]):e._e(),e._v(" "),e.showAreaTab&&!e.hideArea?r("li",{class:{active:3===e.tab}},[e._v(e._s(e.currentArea&&!e.staticPlaceholder?e.currentArea:e.placeholders.area))]):e._e()]],2)]),e._v(" "),r("div",{class:e.addressContainer},[1===e.tab?r("ul",e._l(e.provinces,function(t,i){return r("li",{key:i,class:{active:t===e.currentProvince},on:{click:function(r){return e.chooseProvince(t)}}},[e._v("\n "+e._s(t)+"\n ")])}),0):e._e(),e._v(" "),e.onlyProvince?e._e():[2===e.tab?r("ul",e._l(e.cities,function(t,i){return r("li",{key:i,class:{active:t===e.currentCity},on:{click:function(r){return e.chooseCity(t)}}},[e._v("\n "+e._s(t)+"\n ")])}),0):e._e(),e._v(" "),3!==e.tab||e.hideArea?e._e():r("ul",e._l(e.areas,function(t,i){return r("li",{key:i,class:{active:t===e.currentArea},on:{click:function(r){return e.chooseArea(t)}}},[e._v("\n "+e._s(t)+"\n ")])}),0)]],2)]],2)},[],!1,null,null,null).exports;t.default=s},function(e,t,r){"use strict";function i(e,t){for(var r=[],i={},n=0;n<t.length;n++){var s=t[n],a=s[0],o={id:e+":"+n,css:s[1],media:s[2],sourceMap:s[3]};i[a]?i[a].parts.push(o):r.push(i[a]={id:a,parts:[o]})}return r}r.r(t),r.d(t,"default",function(){return f});var n="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},a=n&&(document.head||document.getElementsByTagName("head")[0]),o=null,c=0,d=!1,l=function(){},u=null,h="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,r,n){d=r,u=n||{};var a=i(e,t);return v(a),function(t){for(var r=[],n=0;n<a.length;n++){var o=a[n];(c=s[o.id]).refs--,r.push(c)}t?v(a=i(e,t)):a=[];for(n=0;n<r.length;n++){var c;if(0===(c=r[n]).refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete s[c.id]}}}}function v(e){for(var t=0;t<e.length;t++){var r=e[t],i=s[r.id];if(i){i.refs++;for(var n=0;n<i.parts.length;n++)i.parts[n](r.parts[n]);for(;n<r.parts.length;n++)i.parts.push(b(r.parts[n]));i.parts.length>r.parts.length&&(i.parts.length=r.parts.length)}else{var a=[];for(n=0;n<r.parts.length;n++)a.push(b(r.parts[n]));s[r.id]={id:r.id,refs:1,parts:a}}}}function y(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function b(e){var t,r,i=document.querySelector("style["+h+'~="'+e.id+'"]');if(i){if(d)return l;i.parentNode.removeChild(i)}if(p){var n=c++;i=o||(o=y()),t=_.bind(null,i,n,!1),r=_.bind(null,i,n,!0)}else i=y(),t=function(e,t){var r=t.css,i=t.media,n=t.sourceMap;i&&e.setAttribute("media",i);u.ssrId&&e.setAttribute(h,t.id);n&&(r+="\n/*# sourceURL="+n.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");if(e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}.bind(null,i),r=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else r()}}var g,m=(g=[],function(e,t){return g[e]=t,g.filter(Boolean).join("\n")});function _(e,t,r,i){var n=r?"":i.css;if(e.styleSheet)e.styleSheet.cssText=m(t,n);else{var s=document.createTextNode(n),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(s,a[t]):e.appendChild(s)}}}]).default}); /***/ }), /***/ "99vB": /***/ (function(module, exports, __webpack_require__) { var uncurryThis = __webpack_require__("CwQ2"); var id = 0; var postfix = Math.random(); var toString = uncurryThis(1.0.toString); module.exports = function (key) { return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); }; /***/ }), /***/ "9AKq": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "#slideVerify[data-v-924d0fa8]{padding-top:30px}#slideVerify .loadInit[data-v-924d0fa8]{width:620px;height:320px;margin:0 auto;position:relative}#slideVerify .loadInit .loadingImg[data-v-924d0fa8]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}", ""]); // exports /***/ }), /***/ "9TIp": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("LGbD"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("0077039c", content, true, {}); /***/ }), /***/ "9YUT": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("nbJ6"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("e3a71252", content, true, {}); /***/ }), /***/ "9ff9": /***/ (function(module, exports, __webpack_require__) { const Utils = __webpack_require__("nwDn") function clearCanvas (ctx, canvas, size) { ctx.clearRect(0, 0, canvas.width, canvas.height) if (!canvas.style) canvas.style = {} canvas.height = size canvas.width = size canvas.style.height = size + 'px' canvas.style.width = size + 'px' } function getCanvasElement () { try { return document.createElement('canvas') } catch (e) { throw new Error('You need to specify a canvas element') } } exports.render = function render (qrData, canvas, options) { let opts = options let canvasEl = canvas if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) { opts = canvas canvas = undefined } if (!canvas) { canvasEl = getCanvasElement() } opts = Utils.getOptions(opts) const size = Utils.getImageWidth(qrData.modules.size, opts) const ctx = canvasEl.getContext('2d') const image = ctx.createImageData(size, size) Utils.qrToImageData(image.data, qrData, opts) clearCanvas(ctx, canvasEl, size) ctx.putImageData(image, 0, 0) return canvasEl } exports.renderToDataURL = function renderToDataURL (qrData, canvas, options) { let opts = options if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) { opts = canvas canvas = undefined } if (!opts) opts = {} const canvasEl = exports.render(qrData, canvas, opts) const type = opts.type || 'image/png' const rendererOpts = opts.rendererOpts || {} return canvasEl.toDataURL(type, rendererOpts.quality) } /***/ }), /***/ "9jEu": /***/ (function(module, exports, __webpack_require__) { /** * Alignment pattern are fixed reference pattern in defined positions * in a matrix symbology, which enables the decode software to re-synchronise * the coordinate mapping of the image modules in the event of moderate amounts * of distortion of the image. * * Alignment patterns are present only in QR Code symbols of version 2 or larger * and their number depends on the symbol version. */ const getSymbolSize = __webpack_require__("oLzS").getSymbolSize /** * Calculate the row/column coordinates of the center module of each alignment pattern * for the specified QR Code version. * * The alignment patterns are positioned symmetrically on either side of the diagonal * running from the top left corner of the symbol to the bottom right corner. * * Since positions are simmetrical only half of the coordinates are returned. * Each item of the array will represent in turn the x and y coordinate. * @see {@link getPositions} * * @param {Number} version QR Code version * @return {Array} Array of coordinate */ exports.getRowColCoords = function getRowColCoords (version) { if (version === 1) return [] const posCount = Math.floor(version / 7) + 2 const size = getSymbolSize(version) const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2 const positions = [size - 7] // Last coord is always (size - 7) for (let i = 1; i < posCount - 1; i++) { positions[i] = positions[i - 1] - intervals } positions.push(6) // First coord is always 6 return positions.reverse() } /** * Returns an array containing the positions of each alignment pattern. * Each array's element represent the center point of the pattern as (x, y) coordinates * * Coordinates are calculated expanding the row/column coordinates returned by {@link getRowColCoords} * and filtering out the items that overlaps with finder pattern * * @example * For a Version 7 symbol {@link getRowColCoords} returns values 6, 22 and 38. * The alignment patterns, therefore, are to be centered on (row, column) * positions (6,22), (22,6), (22,22), (22,38), (38,22), (38,38). * Note that the coordinates (6,6), (6,38), (38,6) are occupied by finder patterns * and are not therefore used for alignment patterns. * * let pos = getPositions(7) * // [[6,22], [22,6], [22,22], [22,38], [38,22], [38,38]] * * @param {Number} version QR Code version * @return {Array} Array of coordinates */ exports.getPositions = function getPositions (version) { const coords = [] const pos = exports.getRowColCoords(version) const posLength = pos.length for (let i = 0; i < posLength; i++) { for (let j = 0; j < posLength; j++) { // Skip if position is occupied by finder patterns if ((i === 0 && j === 0) || // top-left (i === 0 && j === posLength - 1) || // bottom-left (i === posLength - 1 && j === 0)) { // top-right continue } coords.push([pos[i], pos[j]]) } } return coords } /***/ }), /***/ "9mY4": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".internerBank[data-v-41e9bedb]{padding:0 14px}.internerBank .header[data-v-41e9bedb]{border-bottom:1px solid #f3f3f3;height:56px;color:#696969;line-height:75px;padding-top:10px}.internerBank .header ul li[data-v-41e9bedb]{width:126px;font-size:16px;height:40px;float:left;line-height:40px;text-align:center;border-right:1px solid #dbdbdb}.internerBank .header ul li img[data-v-41e9bedb]{width:24px;vertical-align:middle;margin-right:5px}.internerBank .header ul li span[data-v-41e9bedb]{vertical-align:middle}.internerBank .warning-wrap[data-v-41e9bedb]{background-color:#fff;padding:20px 30px 0}.internerBank .warning-wrap .warning[data-v-41e9bedb]{height:40px;line-height:40px;color:#f33;background-color:#f9f9f9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.4em;border:1px solid #dbdbdb;border-radius:5px}.internerBank .warning-wrap .warning .icon[data-v-41e9bedb]{width:17px;height:17px;fill:#979797;overflow:hidden;margin-left:12px;margin-right:5px;vertical-align:middle}.internerBank .userListContianer[data-v-41e9bedb]{height:500px}.internerBank .userListContianer .userTitle[data-v-41e9bedb]{width:940px;margin:20px auto}.internerBank .userListContianer .userList[data-v-41e9bedb]::-webkit-scrollbar{display:none}.internerBank .userListContianer .userList[data-v-41e9bedb]{height:330px;width:940px;margin:0 auto;overflow:scroll;padding-top:10px}.internerBank .userListContianer .userList ul[data-v-41e9bedb]{height:300px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.internerBank .userListContianer .userList ul li[data-v-41e9bedb]{width:460px;height:123px;display:-ms-flexbox;display:flex;background-image:url(\"/static/public/image/userImg/bg.png\");background-repeat:no-repeat;background-size:100%;position:relative;margin-bottom:20px}.internerBank .userListContianer .userList ul li .discount[data-v-41e9bedb]{display:inline-block;width:64px;height:30px;background-image:url(/static/public/image/userImg/send.png);background-size:100%;background-repeat:no-repeat;color:#fff;font-size:12px;text-align:center;line-height:28px;position:absolute;top:-5px;right:45px}.internerBank .userListContianer .userList ul li[data-v-41e9bedb]:nth-child(odd){margin-right:20px}.internerBank .userListContianer .userList ul li .userPhoto[data-v-41e9bedb]{width:105px;height:105px;margin:6px;border-radius:50%;overflow:hidden}.internerBank .userListContianer .userList ul li .userName[data-v-41e9bedb]{width:200px;margin-top:10px}.internerBank .userListContianer .userList ul li .userName span[data-v-41e9bedb]{display:inline-block;width:100%;height:30px;line-height:30px;padding-left:10px}.internerBank .userListContianer .userList ul li .userName span[data-v-41e9bedb]:first-child{font-size:24px}.internerBank .userListContianer .userList ul li .userName span[data-v-41e9bedb]:nth-child(2){margin:10px 0 5px}.internerBank .userListContianer .userList ul li .userName span:nth-child(2) img[data-v-41e9bedb]{margin-right:10px}.internerBank .userListContianer .userList ul li .userName span[data-v-41e9bedb]:last-child{font-size:16px}.internerBank .userListContianer .userList ul li .manualBtn[data-v-41e9bedb]{width:130px}.internerBank .userListContianer .userList ul li .manualBtn a[data-v-41e9bedb]{width:130px;height:60px;display:inline-block;margin:40px auto}.internerBank .content_manual .serviceContainer[data-v-41e9bedb]{max-height:470px;overflow-y:auto;margin:40px 0 0 30px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.internerBank .content_manual .serviceContainer .serviceItem[data-v-41e9bedb]{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;padding-left:8px;margin-bottom:20px;width:400px;height:100px;border-radius:16px;border:1px solid hsla(220,7%,75%,.5);border-right:none}.internerBank .content_manual .serviceContainer .serviceItem[data-v-41e9bedb]:nth-child(2n){margin-left:20px}.internerBank .content_manual .serviceContainer .serviceItem .workerIcon[data-v-41e9bedb]{width:84px;height:84px;border-radius:16px;position:relative;margin-right:10px}.internerBank .content_manual .serviceContainer .serviceItem .workerIcon .icon_ico[data-v-41e9bedb]{width:100%;height:100%;border-radius:16px}.internerBank .content_manual .serviceContainer .serviceItem .workerIcon .hot[data-v-41e9bedb]{position:absolute;top:-8px;left:2px;width:18px;height:34px}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo[data-v-41e9bedb]{-ms-flex:1;flex:1}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .baseInfo[data-v-41e9bedb]{margin-bottom:10px}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .baseInfo .name[data-v-41e9bedb]{display:inline-block;height:20px;line-height:20px;font-size:15px;font-family:PingFang SC;font-weight:500;color:#121212;margin-right:20px;letter-spacing:2px}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .baseInfo .dealNo[data-v-41e9bedb]{display:inline-block;height:20px;line-height:20px;font-size:10px;font-family:PingFang SC;font-weight:500;color:#999}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .stars i[data-v-41e9bedb]{display:inline-block;width:15px;height:15px;margin-right:6px}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .stars i.star[data-v-41e9bedb]{background:url(/static/public/image/userImg/star.png) no-repeat 50%;background-size:contain}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .stars i.halt_star[data-v-41e9bedb]{background:url(/static/public/image/userImg/half_star.png) no-repeat 50%;background-size:contain}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .stars .score[data-v-41e9bedb]{font-size:15px;font-family:PingFang SC;font-weight:500;color:#ff7e00;display:inline-block;margin-left:5px}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .paymentWays[data-v-41e9bedb]{margin-top:12px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .paymentWays i[data-v-41e9bedb]{display:inline-block}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .paymentWays i.union_pay[data-v-41e9bedb]{width:23px;height:13px;background:url(/static/public/image/userImg/union_pay.png) no-repeat 50%;background-size:contain;margin-right:18px}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .paymentWays i.alipay[data-v-41e9bedb]{width:18px;height:18px;background:url(/static/public/image/userImg/alipay.png) no-repeat 50%;background-size:contain;margin-right:18px}.internerBank .content_manual .serviceContainer .serviceItem .workerInfo .paymentWays i.wechat_pay[data-v-41e9bedb]{width:20px;height:16px;background:url(/static/public/image/userImg/wechat.png) no-repeat 50%;background-size:contain}.internerBank .content_manual .serviceContainer .serviceItem .rechargeBtn[data-v-41e9bedb]{width:90px;height:100%;text-align:center;line-height:100px;background:linear-gradient(180deg,#ff1e4f,#ff3492);border-top-right-radius:16px;border-bottom-right-radius:16px;font-size:18px;font-family:PingFang SC;font-weight:500;color:#fff;cursor:pointer}.internerBank .noService[data-v-41e9bedb]{padding:40px 13px;font-size:16px;height:360px;text-align:center}", ""]); // exports /***/ }), /***/ "AAw7": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("gXh5"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("347047c2", content, true, {}); /***/ }), /***/ "AC9B": /***/ (function(module, exports, __webpack_require__) { var getBuiltIn = __webpack_require__("VL6R"); var uncurryThis = __webpack_require__("CwQ2"); var getOwnPropertyNamesModule = __webpack_require__("i4+6"); var getOwnPropertySymbolsModule = __webpack_require__("LxyK"); var anObject = __webpack_require__("dkz4"); var concat = uncurryThis([].concat); // all object keys, includes non-enumerable and symbols module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { var keys = getOwnPropertyNamesModule.f(anObject(it)); var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; }; /***/ }), /***/ "ADO0": /***/ (function(module, exports, __webpack_require__) { // TODO: Remove this module from `core-js@4` since it's replaced to module below __webpack_require__("PwXg"); /***/ }), /***/ "AFM+": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("lB6v"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("6efb4d68", content, true, {}); /***/ }), /***/ "AH3+": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("7phe"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("354a3243", content, true, {}); /***/ }), /***/ "AWKv": /***/ (function(module, exports, __webpack_require__) { "use strict"; var getBuiltIn = __webpack_require__("VL6R"); var definePropertyModule = __webpack_require__("TQ+1"); var wellKnownSymbol = __webpack_require__("Jd8B"); var DESCRIPTORS = __webpack_require__("8Nt4"); var SPECIES = wellKnownSymbol('species'); module.exports = function (CONSTRUCTOR_NAME) { var Constructor = getBuiltIn(CONSTRUCTOR_NAME); var defineProperty = definePropertyModule.f; if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { defineProperty(Constructor, SPECIES, { configurable: true, get: function () { return this; } }); } }; /***/ }), /***/ "AbUK": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("jI+G"); var defineGlobalProperty = __webpack_require__("NN4L"); var SHARED = '__core-js_shared__'; var store = global[SHARED] || defineGlobalProperty(SHARED, {}); module.exports = store; /***/ }), /***/ "AtgE": /***/ (function(module, exports) { // IE8- don't enum bug keys module.exports = [ 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf' ]; /***/ }), /***/ "BEDI": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "[data-v-337bfd34] .ivu-spin-fix{background-color:transparent}@keyframes ani-demo-spin-data-v-337bfd34{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.slide-verify[data-v-337bfd34]{position:relative;width:620px;left:31px;top:30px}.slide-verify-block[data-v-337bfd34]{position:absolute;left:0;top:0}.slide-verify-refresh-icon[data-v-337bfd34]{position:absolute;right:5px;top:5px;width:38px;height:38px;background:url(\"/static/public/image/paycheck/refresh.png\") no-repeat;background-size:38px 38px;cursor:pointer;z-index:3000}.default[data-v-337bfd34]{width:620px;height:310px;position:absolute;left:0;top:0;background:url(\"/static/public/image/paycheck/default.png\") no-repeat;background-size:100% 100%}.demo-spin-icon-load[data-v-337bfd34]{animation:ani-demo-spin-data-v-337bfd34 1s linear infinite}.slide-verify-slider[data-v-337bfd34]{position:relative;text-align:center;width:620px;height:30px;line-height:30px;margin-top:70px;background:#e9e9e9;color:#45494c;border-radius:15px;border:1px solid #e6e6e6}.slide-verify-slider-mask[data-v-337bfd34]{position:absolute;left:0;top:0;width:164px;height:30px;background:#d1e4ff;border-radius:15px}.slide-verify-slider-mask-item[data-v-337bfd34]{position:absolute;top:-40px;left:0;cursor:pointer;border-radius:15px;transition:background .2s linear}.slide-verify-slider-mask-item-icon[data-v-337bfd34]{position:absolute;top:0;left:-18px;width:164px;height:106px;background:url(\"/static/public/image/paycheck/default1.png\")}.container-active .slide-verify-slider-mask-item[data-v-337bfd34]{height:30px;top:-40px}.container-active .slide-verify-slider-mask[data-v-337bfd34]{height:30px;border-width:1px}.container-success .slide-verify-slider-mask-item[data-v-337bfd34]{height:30px;top:-40px;border-radius:15px;background-color:#55d3b4!important}.container-success .slide-verify-slider-mask[data-v-337bfd34]{height:30px;top:0;border-radius:0;border-radius:15px;background-color:#d2f7ef!important}.container-success .slide-verify-slider-mask-item-icon[data-v-337bfd34]{background:url(\"/static/public/image/paycheck/sucess.png\")!important}.container-fail .slide-verify-slider-mask-item[data-v-337bfd34]{height:30px;top:-40px;border-radius:15px;background-color:#000!important}.container-fail .slide-verify-slider-mask[data-v-337bfd34]{height:30px;border-radius:0;border-radius:15px;background-color:#f7caca}.slide-verify-slider-text[data-v-337bfd34]{font-size:28px}.container-fail .slide-verify-slider-mask-item-icon[data-v-337bfd34]{background:url(\"/static/public/image/paycheck/fail1.png\")!important}.container-success .slide-verify-slider-text[data-v-337bfd34]{height:30px;background-color:#55d3b4}.container-fail .slide-verify-slider-text[data-v-337bfd34]{height:30px;background-color:#ed7676}", ""]); // exports /***/ }), /***/ "BL4c": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".deposit .header[data-v-44f0dbe6]{height:60px;color:#696969;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;font-weight:400;margin:0 14px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.deposit .header .tab-group[data-v-44f0dbe6]{margin-left:4rem;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:center;align-items:center}.deposit .header .tab-group .tab-item[data-v-44f0dbe6]{width:9rem;background-color:#fff;position:relative;color:#a3a6ab;border:1px solid #f6f6f6;border-radius:.4rem;cursor:pointer;margin-right:1.8rem}.deposit .header .tab-group .tab-item.active[data-v-44f0dbe6]{background:linear-gradient(#ff6953,#ff920b);color:#fff}.deposit .header .tab-group .tab-item .text[data-v-44f0dbe6]{height:2rem;position:relative;z-index:1;padding:.1rem 0;font-size:.965rem;border-radius:2rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.deposit .header .tab-group .tab-item .hot[data-v-44f0dbe6]{position:absolute;top:-.7rem;right:-4rem}.deposit .header .tab-group .tab-item .hot.hot-booking[data-v-44f0dbe6]{width:7.75rem;height:1.56rem;background:url(\"/static/public/image/bankImg/hot-bg.png\") no-repeat 50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:1}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-tag[data-v-44f0dbe6]{width:1rem;margin-right:.2rem}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-text[data-v-44f0dbe6]{color:#fff;font-size:.83rem}.deposit .content .deposit-usdtbing[data-v-44f0dbe6]{width:52%}.deposit .content .deposit-usdtbing .bank[data-v-44f0dbe6]{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.deposit .content .deposit-usdtbing .bank .mask[data-v-44f0dbe6]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-usdtbing .bank .mask img[data-v-44f0dbe6]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-usdtbing .bank .title[data-v-44f0dbe6]{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit .content .deposit-usdtbing .bank .title span[data-v-44f0dbe6]{font-size:16px;color:#fff}.deposit .content .deposit-usdtbing .bank .bank-kh[data-v-44f0dbe6]{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.deposit .content .deposit-usdtbing .bank .bank-kh span[data-v-44f0dbe6]{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.deposit .content .deposit-usdtbing .bank .bank-info[data-v-44f0dbe6]{height:36px;line-height:36px}.deposit .content .deposit-usdtbing .bank .bank-info span[data-v-44f0dbe6]{display:inline-block;font-size:14px;color:#fff}.deposit .content .deposit-usdtbing .list_user[data-v-44f0dbe6]{margin-top:15px;position:relative;width:534px;height:236px}.deposit .content .deposit-usdtbing .list_user>span[data-v-44f0dbe6]{position:absolute;top:36%;display:-ms-flexbox;display:flex;width:30px;height:30px;border-radius:50%;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background:#dedada;opacity:.7;cursor:pointer;outline:none;z-index:99}.deposit .content .deposit-usdtbing .list_user>span i[data-v-44f0dbe6]{display:block;color:#fff;font-size:16px}.deposit .content .deposit-usdtbing .list_user .slidePrev[data-v-44f0dbe6]{left:22px}.deposit .content .deposit-usdtbing .list_user .slideNext[data-v-44f0dbe6]{right:22px}.deposit .content .deposit-usdtbing .list_user .slideNext[data-v-44f0dbe6]:hover,.deposit .content .deposit-usdtbing .list_user .slidePrev[data-v-44f0dbe6]:hover{background:#a09e9e}.deposit .content .deposit-usdtbing .list_user .swiper-pagination-bullet-active[data-v-44f0dbe6]{background:#ff9146}.deposit .content .deposit-usdtbing .list_user .slide_box[data-v-44f0dbe6]{width:534px;height:236px;padding:0 77px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list[data-v-44f0dbe6]{width:380px;height:210px;border-radius:23px;padding:18px 20px;padding-top:20px;position:relative}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .mask[data-v-44f0dbe6]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .mask img[data-v-44f0dbe6]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .title[data-v-44f0dbe6]{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .title span[data-v-44f0dbe6]{font-size:16px;color:#fff}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-kh[data-v-44f0dbe6]{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-kh span[data-v-44f0dbe6]{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-info[data-v-44f0dbe6]{height:36px;line-height:36px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-info span[data-v-44f0dbe6]{display:inline-block;font-size:14px;color:#fff}.deposit .content .deposit-usdtbing .att[data-v-44f0dbe6]{height:18px;margin:10px auto;font-size:12px;font-family:MicrosoftYaHei;color:#fd3332;text-align:center;line-height:18px}.deposit .content .deposit-usdtbing .pay-bankinfo[data-v-44f0dbe6]{border-bottom:1px solid #f3f3f3}.deposit .content .deposit-usdtbing .pay-bankinfo .row[data-v-44f0dbe6]{margin-left:78px;margin-top:10px}.deposit .content .deposit-usdtbing .pay-bankinfo .row.middle[data-v-44f0dbe6]{width:70%;font-size:14px;text-align:center}.deposit .content .deposit-usdtbing .pay-bankinfo .row.middle a[data-v-44f0dbe6]{float:right}.deposit .content .deposit-usdtbing .pay-bankinfo .row label[data-v-44f0dbe6]{font-size:15px;font-family:Microsoft YaHei}.deposit .content .deposit-usdtbing .pay-bankinfo .row input[data-v-44f0dbe6]{height:38px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;text-indent:3px;padding-left:10px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666;margin-right:10px}.deposit .content .deposit-usdtbing .pay-bankinfo .row input[data-v-44f0dbe6]:not(.other){width:242px;height:38px;background:#f9f9f9}.deposit .content .deposit-usdtbing .pay-bankinfo .row input[data-v-44f0dbe6]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.deposit .content .deposit-usdtbing .pay-bankinfo .bar[data-v-44f0dbe6]{margin-top:16px;display:-ms-flexbox;display:flex}.deposit .content .deposit-usdtbing .pay-bankinfo .bar span[data-v-44f0dbe6]{font-size:14px;-ms-flex:1;flex:1}.deposit .content .deposit-usdtbing .submit[data-v-44f0dbe6]{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin:10px auto 0;cursor:pointer}.deposit .content .deposit-usdtbing .submit.active[data-v-44f0dbe6]{background:linear-gradient(180deg,#ccc,#eee)}.deposit .content .deposit-usdtbing .submit.active[data-v-44f0dbe6]:hover{cursor:not-allowed}.deposit .content .deposit-usdtbing .max-bank[data-v-44f0dbe6]{margin-left:24px;font-size:1.3em}.deposit .content .deposit-usdtbing .toast[data-v-44f0dbe6]{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:410px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.deposit .content .deposit-usdtbing .toast[data-v-44f0dbe6]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.deposit .content .deposit-usdtbing .ivu-carousel-dots-inside[data-v-44f0dbe6]{bottom:-20px}.deposit .content .deposit-right[data-v-44f0dbe6]{width:48%;height:580px;background:#f2f2f2;border-radius:0 0 15px 0}.ivu-table[data-v-44f0dbe6]{background:#f2f2f2}", ""]); // exports /***/ }), /***/ "BV6M": /***/ (function(module, exports, __webpack_require__) { /* global ActiveXObject -- old IE, WSH */ var anObject = __webpack_require__("dkz4"); var definePropertiesModule = __webpack_require__("f6OF"); var enumBugKeys = __webpack_require__("AtgE"); var hiddenKeys = __webpack_require__("ET8X"); var html = __webpack_require__("SSSG"); var documentCreateElement = __webpack_require__("clst"); var sharedKey = __webpack_require__("RZJG"); var GT = '>'; var LT = '<'; var PROTOTYPE = 'prototype'; var SCRIPT = 'script'; var IE_PROTO = sharedKey('IE_PROTO'); var EmptyConstructor = function () { /* empty */ }; var scriptTag = function (content) { return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; }; // Create object with fake `null` prototype: use ActiveX Object with cleared prototype var NullProtoObjectViaActiveX = function (activeXDocument) { activeXDocument.write(scriptTag('')); activeXDocument.close(); var temp = activeXDocument.parentWindow.Object; activeXDocument = null; // avoid memory leak return temp; }; // Create object with fake `null` prototype: use iframe Object with cleared prototype var NullProtoObjectViaIFrame = function () { // Thrash, waste and sodomy: IE GC bug var iframe = documentCreateElement('iframe'); var JS = 'java' + SCRIPT + ':'; var iframeDocument; iframe.style.display = 'none'; html.appendChild(iframe); // https://github.com/zloirock/core-js/issues/475 iframe.src = String(JS); iframeDocument = iframe.contentWindow.document; iframeDocument.open(); iframeDocument.write(scriptTag('document.F=Object')); iframeDocument.close(); return iframeDocument.F; }; // Check for document.domain and active x support // No need to use active x approach when document.domain is not set // see https://github.com/es-shims/es5-shim/issues/150 // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 // avoid IE GC bug var activeXDocument; var NullProtoObject = function () { try { activeXDocument = new ActiveXObject('htmlfile'); } catch (error) { /* ignore */ } NullProtoObject = typeof document != 'undefined' ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) // old IE : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); // WSH var length = enumBugKeys.length; while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; return NullProtoObject(); }; hiddenKeys[IE_PROTO] = true; // `Object.create` method // https://tc39.es/ecma262/#sec-object.create // eslint-disable-next-line es-x/no-object-create -- safe module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { EmptyConstructor[PROTOTYPE] = anObject(O); result = new EmptyConstructor(); EmptyConstructor[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = NullProtoObject(); return Properties === undefined ? result : definePropertiesModule.f(result, Properties); }; /***/ }), /***/ "BbyL": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".self-help .header{height:66px;padding:0 14px;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400;margin:0 14px}.self-help .content{height:582px;background:#eee}.self-help .content .row{padding:6px 0}.self-help .content .row .title{width:100px;color:#fff;background:#fa5c5c;text-align:center;font-size:1.4em;height:35px;line-height:35px;border-radius:8px}.self-help .content .row .row-content{border-top:1px solid pink}.self-help .content .row .row-content span{display:inline-block;width:16.66%;padding:5px 0;font-size:14px}.self-help .content .row .row-content span span{width:48%;display:inline-block;text-align:left}.self-help .content .row .row-content span span:first-child{text-align:right}.self-help .content .row .row-content span span:nth-child(2){color:#999}.self-help .content .ivu-table-body{height:auto}.self-help .content .ivu-table-body .ivu-table-row:nth-child(odd) td{background:#fff}.self-help .content .ivu-table-body .ivu-table-row td{height:36px}.self-help .content .shuoming{font-size:16.25px;padding:30px;line-height:25px}.self-help .rank /deep/ .ivu-table-body{height:350px;overflow-y:auto;overflow-x:hidden;cursor:pointer}.self-help .selfHelpBtn{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3494,#ff1c4b);border-radius:10px;margin:0 auto;cursor:pointer;margin-top:30px}", ""]); // exports /***/ }), /***/ "BsH6": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("odpD"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("40775b6a", content, true, {}); /***/ }), /***/ "C/QL": /***/ (function(module, exports, __webpack_require__) { var wellKnownSymbol = __webpack_require__("Jd8B"); var create = __webpack_require__("BV6M"); var defineProperty = __webpack_require__("TQ+1").f; var UNSCOPABLES = wellKnownSymbol('unscopables'); var ArrayPrototype = Array.prototype; // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype[UNSCOPABLES] == undefined) { defineProperty(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); } // add a key to Array.prototype[@@unscopables] module.exports = function (key) { ArrayPrototype[UNSCOPABLES][key] = true; }; /***/ }), /***/ "Cr+T": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("ug8i"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("a99772f2", content, true, {}); /***/ }), /***/ "CwQ2": /***/ (function(module, exports, __webpack_require__) { var NATIVE_BIND = __webpack_require__("tS49"); var FunctionPrototype = Function.prototype; var bind = FunctionPrototype.bind; var call = FunctionPrototype.call; var uncurryThis = NATIVE_BIND && bind.bind(call, call); module.exports = NATIVE_BIND ? function (fn) { return fn && uncurryThis(fn); } : function (fn) { return fn && function () { return call.apply(fn, arguments); }; }; /***/ }), /***/ "CyPm": /***/ (function(module, exports, __webpack_require__) { var isCallable = __webpack_require__("ELn+"); var isObject = __webpack_require__("DG0c"); var setPrototypeOf = __webpack_require__("OQFF"); // makes subclassing work correct for wrapped built-ins module.exports = function ($this, dummy, Wrapper) { var NewTarget, NewTargetPrototype; if ( // it can work only with native `setPrototypeOf` setPrototypeOf && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this isCallable(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype ) setPrototypeOf($this, NewTargetPrototype); return $this; }; /***/ }), /***/ "DABa": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("DnOV"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("efa899e8", content, true, {}); /***/ }), /***/ "DEuz": /***/ (function(module, exports) { function BitBuffer () { this.buffer = [] this.length = 0 } BitBuffer.prototype = { get: function (index) { const bufIndex = Math.floor(index / 8) return ((this.buffer[bufIndex] >>> (7 - index % 8)) & 1) === 1 }, put: function (num, length) { for (let i = 0; i < length; i++) { this.putBit(((num >>> (length - i - 1)) & 1) === 1) } }, getLengthInBits: function () { return this.length }, putBit: function (bit) { const bufIndex = Math.floor(this.length / 8) if (this.buffer.length <= bufIndex) { this.buffer.push(0) } if (bit) { this.buffer[bufIndex] |= (0x80 >>> (this.length % 8)) } this.length++ } } module.exports = BitBuffer /***/ }), /***/ "DG0c": /***/ (function(module, exports, __webpack_require__) { var isCallable = __webpack_require__("ELn+"); module.exports = function (it) { return typeof it == 'object' ? it !== null : isCallable(it); }; /***/ }), /***/ "DhWz": /***/ (function(module, exports) { module.exports = {}; /***/ }), /***/ "DnOV": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".peronsals .binding .content .deposit-left .ivu-select{width:242px}.peronsals .binding .content .deposit-left .ivu-select .ivu-select-dropdown-list{height:265px}.peronsals .binding .content .deposit-left .adressSelect .ivu-select-dropdown-list{height:340px}.peronsals .binding .content .deposit-left .csSelect .ivu-select-dropdown-list{max-height:340px;height:auto}.peronsals .binding .content .deposit-left .mbSelect .ivu-select-dropdown-list{max-height:230px;height:auto}.bindingusdt .header{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:66px;font-weight:400;margin:0 14px;font-family:Microsoft YaHei}.bindingusdt .content .deposit-left{padding-top:6px;width:52%;position:relative}.bindingusdt .content .deposit-left .tips{position:relative;padding:20px;width:339px;border:1px solid #e0e0e0;margin-left:65px}.bindingusdt .content .deposit-left .tips p{color:#969696;font-size:14px;line-height:25px}.bindingusdt .content .deposit-left .tips p:first-child{font-weight:700}.bindingusdt .content .deposit-left .row{margin-top:20px}.bindingusdt .content .deposit-left .row .text{display:inline-block;width:144px;text-align:right;font-size:16px;font-family:Microsoft YaHei;vertical-align:middle;color:#696969}.bindingusdt .content .deposit-left .row input{width:275px;height:37px;background:#f9f9f9;border:1px solid #f5f5f5;font-size:16px;border-radius:10px;text-align:left;text-indent:.4em;padding-left:7px;color:#666}.bindingusdt .content .deposit-left .row input:not(.other){width:275px;height:38px;background:#f9f9f9}.bindingusdt .content .deposit-left .row input:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.bindingusdt .content .deposit-left .bar{height:50px;line-height:50px}.bindingusdt .content .deposit-left .bar label{display:inline-block;width:144px;text-align:right;font-size:15px;font-family:Microsoft YaHei}.bindingusdt .content .deposit-left .bar span{font-size:15px;font-family:Microsoft YaHei}.bindingusdt .content .deposit-left .bar span span{color:#f90;text-decoration:underline;font-family:Microsoft YaHei;cursor:pointer;font-size:15px;padding-left:5px;padding-left:-2px}.bindingusdt .content .deposit-left .submit{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin-top:28px;margin-left:150px;display:inline-block;cursor:pointer}.bindingusdt .content .deposit-left .submit.active{background:linear-gradient(180deg,#ccc,#eee)}.bindingusdt .content .deposit-left .submit.active:hover{cursor:not-allowed}.bindingusdt .content .deposit-left .max-bank{padding-left:20px;font-size:1.3em;display:block;font-size:15px;border-bottom:1px solid #f3f3f3;padding-bottom:20px;margin:1px 50px}.bindingusdt .content .deposit-left .toast{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:-93px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.bindingusdt .content .deposit-left .toast:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.bindingusdt .content .deposit-left .ivu-select{width:275px}.bindingusdt .content .deposit-usdt{width:48%;height:584px;background:#f2f2f2;border-radius:0 0 15px 0}.bindingusdt .content .deposit-usdt .bank{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.bindingusdt .content .deposit-usdt .bank .mask{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.bindingusdt .content .deposit-usdt .bank .mask img{margin-top:20px;margin-left:210px;width:140px;height:60px}.bindingusdt .content .deposit-usdt .bank .title{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bindingusdt .content .deposit-usdt .bank .title span{font-size:16px;color:#616161}.bindingusdt .content .deposit-usdt .bank .bank-kh{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.bindingusdt .content .deposit-usdt .bank .bank-kh span{font-size:2.6em;color:#616161;word-break:break-all;white-space:normal}.bindingusdt .content .deposit-usdt .bank .bank-info{height:36px;line-height:36px}.bindingusdt .content .deposit-usdt .bank .bank-info span{display:inline-block;font-size:14px;color:#616161}.bindingusdt .content .deposit-usdt .ivu-carousel-dots-inside{bottom:-20px!important}", ""]); // exports /***/ }), /***/ "DrWn": /***/ (function(module, exports, __webpack_require__) { var toLength = __webpack_require__("bYFV"); // `LengthOfArrayLike` abstract operation // https://tc39.es/ecma262/#sec-lengthofarraylike module.exports = function (obj) { return toLength(obj.length); }; /***/ }), /***/ "ELn+": /***/ (function(module, exports) { // `IsCallable` abstract operation // https://tc39.es/ecma262/#sec-iscallable module.exports = function (argument) { return typeof argument == 'function'; }; /***/ }), /***/ "ET8X": /***/ (function(module, exports) { module.exports = {}; /***/ }), /***/ "EXSe": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("wp+8"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("175cf02d", content, true, {}); /***/ }), /***/ "EeUV": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/src/assets/img/springFestival/close.305a450.png"; /***/ }), /***/ "El0w": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/babel-runtime/regenerator/index.js var regenerator = __webpack_require__("Xxa5"); var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator); // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/asyncToGenerator.js var asyncToGenerator = __webpack_require__("exGp"); var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); // EXTERNAL MODULE: ./src/service/public/service.js var service = __webpack_require__("LjVS"); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/slide-verify.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var PI = Math.PI; function sum(x, y) { return x + y; } function square(x) { return x * x; } /* harmony default export */ var slide_verify = ({ name: 'SlideVerify', props: { // block length l: { type: Number, default: 42 }, // block radius r: { type: Number, default: 10 }, // canvas width w: { type: Number, default: 620 }, // canvas height h: { type: Number, default: 310 }, sliderText: { type: String, default: 'å‘å³æ‹–动滑å—填充拼图' }, accuracy: { type: Number, default: 5 // 若为 -1 则ä¸è¿›è¡Œæœºå™¨åˆ¤æ– }, show: { type: Boolean, default: true }, imgs: { type: Array, default: function _default() { return []; } } }, data: function data() { return { containerActive: false, // container active class containerSuccess: false, // container success class containerFail: false, // container fail class canvasCtx: null, blockCtx: null, block: null, block_x: undefined, // container random position block_y: undefined, L: this.l + this.r * 2 + 3, // block real lenght img: undefined, originX: undefined, originY: undefined, isMouseDown: false, trail: [], sliderLeft: 0, // block right offset sliderMaskWidth: 0, // mask width imgPath: "", blockW: 110, blockH: 110, imgStatus: true }; }, created: function created() {}, mounted: function mounted() { this.getImg(); this.init(); }, methods: { getImg: function getImg() { var _this = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var res; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.next = 2; return Object(service["b" /* getS */])('getTCode', { userName: _this.$store.state.home.safeName }); case 2: res = _context.sent; if (res.code == 200) { _this.imgStatus = false; _this.imgPath = res.data; _this.draw_Img(); } case 4: case 'end': return _context.stop(); } } }, _callee, _this); }))(); }, draw_Img: function draw_Img() { var _this2 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee2() { return regenerator_default.a.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: _context2.next = 2; return _this2.initImg("bg"); case 2: _context2.next = 4; return _this2.initImg("block"); case 4: case 'end': return _context2.stop(); } } }, _callee2, _this2); }))(); }, init: function init() { this.initDom(); this.bindEvents(); }, initDom: function initDom() { this.block = this.$refs.block; this.canvasCtx = this.$refs.canvas.getContext('2d'); this.blockCtx = this.block.getContext('2d'); }, initImg: function initImg(type) { var _this3 = this; var img = this.createImg(function () { if (type == 'bg') _this3.canvasCtx.drawImage(img, 0, 0, _this3.w, _this3.h, 0, 0, _this3.w, _this3.h);else _this3.blockCtx.drawImage(img, 0, 0, _this3.blockW, _this3.h, 0, 0, _this3.blockW, _this3.h); }, type); this.img = img; }, createImg: function createImg(onload, type) { var _this4 = this; var img = document.createElement('img'); img.crossOrigin = "Anonymous"; img.onload = onload; img.onerror = function () { _this4.getImg(); }; if (type == 'bg') img.src = this.imgPath.img1;else img.src = this.imgPath.img2; return img; }, refresh: function refresh() { this.reset(); this.$emit('refresh'); }, sliderDown: function sliderDown(event) { this.originX = event.clientX; this.originY = event.clientY; this.isMouseDown = true; }, touchStartEvent: function touchStartEvent(e) { this.originX = e.changedTouches[0].pageX; this.originY = e.changedTouches[0].pageY; this.isMouseDown = true; }, bindEvents: function bindEvents() { var _this5 = this; document.addEventListener('mousemove', function (e) { if (!_this5.isMouseDown) return false; var moveX = e.clientX - _this5.originX; var moveY = e.clientY - _this5.originY; if (moveX < 0 || moveX + 125 >= _this5.w) return false; _this5.sliderLeft = moveX + 'px'; var blockLeft = (_this5.w - 143) / (_this5.w - 164) * moveX; _this5.block.style.left = blockLeft + 'px'; _this5.containerActive = true; // add active _this5.sliderMaskWidth = moveX + 20 + 'px'; _this5.trail.push(moveY); }); document.addEventListener('mouseup', function (e) { if (!_this5.isMouseDown) return false; _this5.isMouseDown = false; if (e.clientX === _this5.originX) return false; _this5.containerActive = false; // remove active var spliced = _this5.verify(); if (spliced) { var data = { tnCode: spliced, userName: _this5.$store.state.home.safeName }; Object(service["c" /* postS */])('checkTCode', data).then(function (res) { if (res.code === 200) { _this5.containerSuccess = true; setTimeout(function () { _this5.$store.commit('home/safeStatus', false); if (_this5.$store.state.home.isLoginorRegister == 'login') { _this5.$store.commit('home/safeLogin', 'login'); } else if (_this5.$store.state.home.isLoginorRegister == 'register') { _this5.$store.commit('home/safeLogin', 'register'); } }, 1000); _this5.$emit("success"); return; } else { _this5.containerFail = true; _this5.$emit("fail"); setTimeout(function () { _this5.reset(); }, 1000); } }); } }); }, touchMoveEvent: function touchMoveEvent(e) { if (!this.isMouseDown) return false; var moveX = e.changedTouches[0].pageX - this.originX; var moveY = e.changedTouches[0].pageY - this.originY; if (moveX < 0 || moveX + 164 >= this.w) return false; this.sliderLeft = moveX + 'px'; var blockLeft = (this.w - 164 - 24) / (this.w - 164) * moveX; this.block.style.left = blockLeft + 'px'; this.containerActive = true; this.sliderMaskWidth = moveX + 20 + 'px'; this.trail.push(moveY); }, touchEndEvent: function touchEndEvent(e) { var _this6 = this; if (!this.isMouseDown) return false; this.isMouseDown = false; if (e.changedTouches[0].pageX === this.originX) return false; this.containerActive = false; var spliced = this.verify(); if (spliced) { var data = { tnCode: spliced, userName: this.$store.state.home.safeName }; Object(service["c" /* postS */])('checkTCode', data).then(function (res) { if (res.code === 200) { _this6.containerSuccess = true; _this6.$store.commit('home/safeStatus', false); _this6.$emit("success"); return; } else { _this6.containerFail = true; _this6.$emit("fail"); setTimeout(function () { _this6.reset(); }, 1000); } }); } }, verify: function verify() { var arr = this.trail; // drag y move distance var average = arr.reduce(sum) / arr.length; // average var deviations = arr.map(function (x) { return x - average; }); // deviation array var stddev = Math.sqrt(deviations.map(square).reduce(sum) / arr.length); // standard deviation var left = parseInt(this.block.style.left); return left; }, reset: function reset() { this.containerActive = false; this.containerSuccess = false; this.containerFail = false; this.sliderLeft = 0; this.block.style.left = 0; this.sliderMaskWidth = 0; var w = this.w, h = this.h; this.canvasCtx.clearRect(0, 0, w, h); this.blockCtx.clearRect(0, 0, 110, h); // this.block.width = w this.imgPath = {}; this.imgStatus = true; this.getImg(); // this.img.src = this.getRandomImg(); this.$emit('fulfilled'); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-337bfd34","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/slide-verify.vue var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"slide-verify",attrs:{"id":"slideVerify","onselectstart":"return false;"}},[_c('canvas',{ref:"canvas",attrs:{"width":_vm.w,"height":_vm.h}}),_vm._v(" "),(_vm.show)?_c('div',{staticClass:"slide-verify-refresh-icon",on:{"click":_vm.refresh}}):_vm._e(),_vm._v(" "),_c('canvas',{ref:"block",staticClass:"slide-verify-block",attrs:{"width":110,"height":_vm.h}}),_vm._v(" "),(_vm.imgStatus)?_c('div',{staticClass:"default"},[_c('Spin',{staticStyle:{"color":"#bbb"},attrs:{"fix":""}},[_c('img',{attrs:{"src":"/static/public/image/paycheck/loading.gif","width":"74px"}})])],1):_vm._e(),_vm._v(" "),_c('div',{staticClass:"slide-verify-slider",class:{'container-active': _vm.containerActive, 'container-success': _vm.containerSuccess, 'container-fail': _vm.containerFail}},[_c('div',{staticClass:"slide-verify-slider-mask",style:({width: _vm.sliderMaskWidth})},[_c('div',{staticClass:"slide-verify-slider-mask-item",style:({left: _vm.sliderLeft}),on:{"mousedown":_vm.sliderDown,"touchstart":_vm.touchStartEvent,"touchmove":_vm.touchMoveEvent,"touchend":_vm.touchEndEvent}},[_c('div',{staticClass:"slide-verify-slider-mask-item-icon"})])])])])} var staticRenderFns = [] var esExports = { render: render, staticRenderFns: staticRenderFns } /* harmony default export */ var home_slide_verify = (esExports); // CONCATENATED MODULE: ./src/pages/public/home/slide-verify.vue function injectStyle (ssrContext) { __webpack_require__("c7E9") } var normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = "data-v-337bfd34" /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( slide_verify, home_slide_verify, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) /* harmony default export */ var public_home_slide_verify = (Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/wy-verify.vue // // // // // // // // // /* harmony default export */ var wy_verify = ({ data: function data() { return { loadEnd: true }; }, created: function created() {}, mounted: function mounted() { this.getWyCode(); }, methods: { getWyCode: function getWyCode() { var _this = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _this.initCheck(_this.$store.state.home.wyToken); case 1: case 'end': return _context.stop(); } } }, _callee, _this); }))(); }, initCheck: function initCheck(id) { var userName = this.$store.state.home.safeName; var captchaIns = void 0; var that = this; initNECaptcha({ element: '#slideVerify', captchaId: id, mode: 'embed', width: '620px', protocol: "https", enableClose: true, // äºŒæ¬¡æ ¡éªŒ onVerify: function onVerify(err, data) { var checkApi = { userName: userName, NECaptchaValidate: data.validate, device: 'pc', currentCaptchaType: that.$store.state.home.tempCurrentCaptchaType }; if (err) return; if (data) { // 验è¯é€šè¿‡ Object(service["c" /* postS */])('checkWYCode', checkApi).then(function (res) { if (res.code === 200) { setTimeout(function () { that.$store.commit('home/safeStatus', false); if (that.$store.state.home.isLoginorRegister == 'login') { that.$store.commit('home/safeLogin', 'login'); } else if (that.$store.state.home.isLoginorRegister == 'register') { that.$store.commit('home/safeLogin', 'register'); } }, 1000); } else if (res.code === 5016) { that.$errorAlert(res.message); that.$store.commit('home/safeStatus', false); that.$store.commit('home/setCallIsShowCaptchAPI', true); } else { captchaIns.refresh(); } }); } } }, function (instance) { // åˆå§‹åŒ–æˆåŠŸåŽå¾—到验è¯å®žä¾‹instance,å¯ä»¥è°ƒç”¨å®žä¾‹çš„方法 that.loadEnd = false; captchaIns = instance; }, function (err) { // åˆå§‹åŒ–失败åŽè§¦å‘该函数,err对象æ述当å‰é”™è¯¯ä¿¡æ¯ }); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-924d0fa8","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/wy-verify.vue var wy_verify_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":"slideVerify"}})} var wy_verify_staticRenderFns = [] var wy_verify_esExports = { render: wy_verify_render, staticRenderFns: wy_verify_staticRenderFns } /* harmony default export */ var home_wy_verify = (wy_verify_esExports); // CONCATENATED MODULE: ./src/pages/public/home/wy-verify.vue function wy_verify_injectStyle (ssrContext) { __webpack_require__("/Dck") } var wy_verify_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var wy_verify___vue_template_functional__ = false /* styles */ var wy_verify___vue_styles__ = wy_verify_injectStyle /* scopeId */ var wy_verify___vue_scopeId__ = "data-v-924d0fa8" /* moduleIdentifier (server only) */ var wy_verify___vue_module_identifier__ = null var wy_verify_Component = wy_verify_normalizeComponent( wy_verify, home_wy_verify, wy_verify___vue_template_functional__, wy_verify___vue_styles__, wy_verify___vue_scopeId__, wy_verify___vue_module_identifier__ ) /* harmony default export */ var public_home_wy_verify = (wy_verify_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/wy-verify2.vue // // // /* harmony default export */ var wy_verify2 = ({ data: function data() { return { loadEnd: true }; }, created: function created() {}, mounted: function mounted() { this.getWyCode(); }, methods: { getWyCode: function getWyCode() { var _this = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _this.initCheck(_this.$store.state.home.wyToken); case 1: case 'end': return _context.stop(); } } }, _callee, _this); }))(); }, initCheck: function initCheck(id) { var userName = this.$store.state.home.safeName; var captchaIns = void 0; var that = this; initNECaptcha({ element: '#captcha', captchaId: id, mode: 'embed', width: '320px', protocol: "https", enableClose: true, feedbackEnable: false, // äºŒæ¬¡æ ¡éªŒ onVerify: function onVerify(err, data) { var checkApi = { userName: that.$store.state.home.safeName, NECaptchaValidate: data.validate, device: 'pc', currentCaptchaType: that.$store.state.home.tempCurrentCaptchaType }; if (err) return; if (data) { // 验è¯é€šè¿‡ Object(service["c" /* postS */])('checkWYCode', checkApi).then(function (res) { if (res.code === 200) { setTimeout(function () { that.$store.commit('home/safeStatus', false); if (that.$store.state.home.isLoginorRegister == 'login') { that.$store.commit('home/safeLogin', 'login'); } else if (that.$store.state.home.isLoginorRegister == 'register') { that.$store.commit('home/safeLogin', 'register'); } }, 1000); } else if (res.code === 5016) { that.$errorAlert(res.message); that.$store.commit('home/safeStatus', false); that.$store.commit('home/setCallIsShowCaptchAPI', true); } else { captchaIns.refresh(); } }); } } }, function (instance) { // åˆå§‹åŒ–æˆåŠŸåŽå¾—到验è¯å®žä¾‹instance,å¯ä»¥è°ƒç”¨å®žä¾‹çš„方法 that.loadEnd = false; captchaIns = instance; }, function (err) { // åˆå§‹åŒ–失败åŽè§¦å‘该函数,err对象æ述当å‰é”™è¯¯ä¿¡æ¯ }); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-71ea85c6","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/wy-verify2.vue var wy_verify2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":"captcha"}})} var wy_verify2_staticRenderFns = [] var wy_verify2_esExports = { render: wy_verify2_render, staticRenderFns: wy_verify2_staticRenderFns } /* harmony default export */ var home_wy_verify2 = (wy_verify2_esExports); // CONCATENATED MODULE: ./src/pages/public/home/wy-verify2.vue function wy_verify2_injectStyle (ssrContext) { __webpack_require__("g4g4") } var wy_verify2_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var wy_verify2___vue_template_functional__ = false /* styles */ var wy_verify2___vue_styles__ = wy_verify2_injectStyle /* scopeId */ var wy_verify2___vue_scopeId__ = "data-v-71ea85c6" /* moduleIdentifier (server only) */ var wy_verify2___vue_module_identifier__ = null var wy_verify2_Component = wy_verify2_normalizeComponent( wy_verify2, home_wy_verify2, wy_verify2___vue_template_functional__, wy_verify2___vue_styles__, wy_verify2___vue_scopeId__, wy_verify2___vue_module_identifier__ ) /* harmony default export */ var public_home_wy_verify2 = (wy_verify2_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/safeCheck.vue // // // // // // // // // // // // // // // // // // /* harmony default export */ var safeCheck = ({ props: { stationName: { type: String } }, data: function data() { return { Verify: 'slideVerify' }; }, methods: { close: function close() { this.$store.commit('home/safeStatus', false); this.$store.commit('home/safeCheck', 0); } }, created: function created() { if (this.$store.state.home.isImgortg === 'tCode') { this.Verify = 'slideVerify'; } else { this.Verify = 'wyverify2'; } }, computed: { safeStatus: function safeStatus() { return this.$store.state.home.safeStatus; } }, watch: { safeStatus: function safeStatus(val) { if (val) { if (this.$store.state.home.isImgortg == 'tCode') { this.Verify = 'slideVerify'; } else { this.Verify = 'wyverify2'; } } } }, mounted: function mounted() {}, components: { slideVerify: public_home_slide_verify, wyverify: public_home_wy_verify, wyverify2: public_home_wy_verify2 } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-e8319550","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/safeCheck.vue var safeCheck_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.$store.state.home.safeStatus)?_c('div',{class:['newBox3',{'newBox4':_vm.Verify == 'wyverify2'}]},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.$store.state.home.safeCheck==1),expression:"$store.state.home.safeCheck==1"}],staticClass:"checkBox"},[_vm._m(0),_vm._v(" "),_c('p',{staticClass:"text"},[_vm._v("安全检测ä¸")])]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.$store.state.home.safeCheck==2),expression:"$store.state.home.safeCheck==2"}],staticClass:"checkBox1"},[(_vm.Verify == 'wyverify2')?_c('p',[_vm._v("拖动下方滑å—完æˆæ‹¼å›¾")]):_c('p',[_vm._v("拖动下方滑å—完æˆæ‹¼å›¾")]),_vm._v(" "),(_vm.Verify == 'wyverify2')?_c('span',{staticClass:"close1",on:{"click":_vm.close}},[_c('img',{attrs:{"src":"/static/public/image/paycheck/close2.png"}})]):_c('span',{staticClass:"close",on:{"click":_vm.close}},[_c('img',{attrs:{"src":"/static/public/image/paycheck/close1.png"}})]),_vm._v(" "),_c(_vm.Verify,{tag:"component"})],1)]):_vm._e()])} var safeCheck_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('img',{attrs:{"src":"/static/public/image/paycheck/scan.gif","width":"110px"}})])}] var safeCheck_esExports = { render: safeCheck_render, staticRenderFns: safeCheck_staticRenderFns } /* harmony default export */ var home_safeCheck = (safeCheck_esExports); // CONCATENATED MODULE: ./src/pages/public/home/safeCheck.vue function safeCheck_injectStyle (ssrContext) { __webpack_require__("QVH6") } var safeCheck_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var safeCheck___vue_template_functional__ = false /* styles */ var safeCheck___vue_styles__ = safeCheck_injectStyle /* scopeId */ var safeCheck___vue_scopeId__ = "data-v-e8319550" /* moduleIdentifier (server only) */ var safeCheck___vue_module_identifier__ = null var safeCheck_Component = safeCheck_normalizeComponent( safeCheck, home_safeCheck, safeCheck___vue_template_functional__, safeCheck___vue_styles__, safeCheck___vue_scopeId__, safeCheck___vue_module_identifier__ ) /* harmony default export */ var public_home_safeCheck = __webpack_exports__["a"] = (safeCheck_Component.exports); /***/ }), /***/ "F2gz": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("gSwd"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("58eb14e0", content, true, {}); /***/ }), /***/ "FPXp": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("QxDY"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("5fa0a389", content, true, {}); /***/ }), /***/ "FPzg": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("pY9o"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("0d5d1f5b", content, true, {}); /***/ }), /***/ "FdGk": /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__("8Nt4"); var fails = __webpack_require__("fwHU"); var createElement = __webpack_require__("clst"); // Thanks to IE8 for its funny defineProperty module.exports = !DESCRIPTORS && !fails(function () { // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /***/ "Fq4z": /***/ (function(module, exports, __webpack_require__) { var toAbsoluteIndex = __webpack_require__("or9A"); var lengthOfArrayLike = __webpack_require__("DrWn"); var createProperty = __webpack_require__("jNjR"); var $Array = Array; var max = Math.max; module.exports = function (O, start, end) { var length = lengthOfArrayLike(O); var k = toAbsoluteIndex(start, length); var fin = toAbsoluteIndex(end === undefined ? length : end, length); var result = $Array(max(fin - k, 0)); for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]); result.length = n; return result; }; /***/ }), /***/ "G8V+": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".peronsals .binding .content .deposit-left .ivu-select{width:242px}.peronsals .binding .content .deposit-left .ivu-select .ivu-select-dropdown-list{height:265px}.peronsals .binding .content .deposit-left .adressSelect .ivu-select-dropdown-list{height:340px}.peronsals .binding .content .deposit-left .csSelect .ivu-select-dropdown-list{max-height:340px;height:auto}.peronsals .binding .content .deposit-left .mbSelect .ivu-select-dropdown-list{max-height:230px;height:auto}.bindingusdt .header{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:66px;font-weight:400;margin:0 14px;font-family:Microsoft YaHei}.bindingusdt .content .deposit-left{padding-top:6px;width:52%;position:relative}.bindingusdt .content .deposit-left .tips{position:relative;padding:20px;width:339px;border:1px solid #e0e0e0;margin-left:65px}.bindingusdt .content .deposit-left .tips p{color:#969696;font-size:14px;line-height:25px}.bindingusdt .content .deposit-left .tips p:first-child{font-weight:700}.bindingusdt .content .deposit-left .row{margin-top:20px}.bindingusdt .content .deposit-left .row .text{display:inline-block;width:144px;text-align:right;font-size:16px;font-family:Microsoft YaHei;vertical-align:middle;color:#696969}.bindingusdt .content .deposit-left .row input{width:275px;height:37px;background:#f9f9f9;border:1px solid #f5f5f5;font-size:16px;border-radius:10px;text-align:left;text-indent:.4em;padding-left:7px;color:#666}.bindingusdt .content .deposit-left .row input:not(.other){width:275px;height:38px;background:#f9f9f9}.bindingusdt .content .deposit-left .row input:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.bindingusdt .content .deposit-left .bar{height:50px;line-height:50px}.bindingusdt .content .deposit-left .bar label{display:inline-block;width:144px;text-align:right;font-size:15px;font-family:Microsoft YaHei}.bindingusdt .content .deposit-left .bar span{font-size:15px;font-family:Microsoft YaHei}.bindingusdt .content .deposit-left .bar span span{color:#f90;text-decoration:underline;font-family:Microsoft YaHei;cursor:pointer;font-size:15px;padding-left:5px;padding-left:-2px}.bindingusdt .content .deposit-left .submit{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin-top:28px;margin-left:150px;display:inline-block;cursor:pointer}.bindingusdt .content .deposit-left .submit.active{background:linear-gradient(180deg,#ccc,#eee)}.bindingusdt .content .deposit-left .submit.active:hover{cursor:not-allowed}.bindingusdt .content .deposit-left .max-bank{padding-left:20px;font-size:1.3em;display:block;font-size:15px;border-bottom:1px solid #f3f3f3;padding-bottom:20px;margin:1px 50px}.bindingusdt .content .deposit-left .toast{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:-93px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.bindingusdt .content .deposit-left .toast:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.bindingusdt .content .deposit-left .ivu-select{width:275px}.bindingusdt .content .deposit-usdt{width:48%;height:584px;background:#f2f2f2;border-radius:0 0 15px 0}.bindingusdt .content .deposit-usdt .bank{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.bindingusdt .content .deposit-usdt .bank .mask{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.bindingusdt .content .deposit-usdt .bank .mask img{margin-top:20px;margin-left:210px;width:140px;height:60px}.bindingusdt .content .deposit-usdt .bank .title{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bindingusdt .content .deposit-usdt .bank .title span{font-size:16px;color:#fff}.bindingusdt .content .deposit-usdt .bank .bank-kh{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.bindingusdt .content .deposit-usdt .bank .bank-kh span{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.bindingusdt .content .deposit-usdt .bank .bank-info{height:36px;line-height:36px}.bindingusdt .content .deposit-usdt .bank .bank-info span{display:inline-block;font-size:14px;color:#fff}.bindingusdt .content .deposit-usdt .ivu-carousel-dots-inside{bottom:-20px}", ""]); // exports /***/ }), /***/ "GAcm": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".on-line[data-v-a110d184]{padding:0 14px;height:100%;width:100%;position:relative}.on-line .header[data-v-a110d184]{height:70px;padding-top:15px}.on-line .header .title[data-v-a110d184]{padding-left:30px;height:30px;line-height:30px;padding-left:10px}.on-line .header .title img[data-v-a110d184]{width:26px;vertical-align:middle}.on-line .header .title span[data-v-a110d184]{font-size:16px;vertical-align:middle;padding-left:5px;border-right:1px solid #dbdbdb;padding-right:10px}.on-line .header .title span[data-v-a110d184]:last-child{border-right:none}.on-line .payment[data-v-a110d184]{height:100%;position:absolute;top:0;left:0;width:100%;padding:0 14px;height:100px}.on-line .payment .title[data-v-a110d184]{padding-left:150px;padding-top:10px;min-height:66px;height:auto;display:inline-block;border-bottom:1px solid #f5f5f5;padding-bottom:10px;width:95%}.on-line .payment .title ul li[data-v-a110d184]{font-size:16px;font-weight:200;width:125px;height:40px;float:left;line-height:40px;text-align:center}.on-line .payment .title ul li span[data-v-a110d184]{padding:8px 20px;cursor:pointer}.on-line .payment .title ul li .spanActive[data-v-a110d184]{background:linear-gradient(180deg,#fe8983,#f0b761);border-radius:10px;color:#fff}.on-line .transfer_usdt .step[data-v-a110d184]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:15px auto;width:942px}.on-line .transfer_usdt .step>div[data-v-a110d184]{width:45%;margin-left:21px}.on-line .transfer_usdt .step>div[data-v-a110d184]:nth-child(2){width:10%;text-align:center;line-height:40}.on-line .transfer_usdt .step>div:nth-child(2) img[data-v-a110d184]{width:33px}.on-line .transfer_usdt .step .usdt_second_step .step_head span[data-v-a110d184]{display:inline-block;height:60px;line-height:60px;color:#545454;font-size:14px}.on-line .transfer_usdt .step .usdt_second_step .step_head span[data-v-a110d184]:first-child{font-size:20px;color:#888;margin-left:42px}.on-line .transfer_usdt .step .usdt_second_step .step_content[data-v-a110d184]{margin-top:-15px}.on-line .transfer_usdt .step .usdt_second_step .step_content .discountSelect .selectOp[data-v-a110d184]{width:260px;outline:none;border-color:transparent;background:#f5f5f5;margin-left:13px;height:38px;border-radius:10px;font-size:15px}.on-line .transfer_usdt .step .usdt_second_step .step_content[data-v-a110d184] .bank2{width:263px;margin-top:0;margin-left:10px}.on-line .transfer_usdt .step .usdt_second_step .step_content[data-v-a110d184] .bank2 /deep/ .ivu-select-selection{width:263px}.on-line .transfer_usdt .step .usdt_second_step .step_content div[data-v-a110d184]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin-top:20px;position:relative}.on-line .transfer_usdt .step .usdt_second_step .step_content div span[data-v-a110d184]{display:inline-block;width:110px;color:#696969;font-size:16px;margin-top:12px;text-align:right}.on-line .transfer_usdt .step .usdt_second_step .step_content div input[data-v-a110d184]{border:none;outline:none;width:262px;height:38px;background:#f5f5f5;border-radius:10px;padding-left:10px;font-size:15px;margin-left:12px}.on-line .transfer_usdt .step .usdt_second_step .step_content div .submitPay[data-v-a110d184]{border-top:1px solid #f3f3f3;width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(0deg,#ff1f53,#f28);border-radius:10px;margin-top:20px;display:inline-block;cursor:pointer;margin:20px auto}.on-line .transfer_usdt .step .usdt_second_step .step_content div .submitPay.actives[data-v-a110d184]{background:linear-gradient(180deg,#ccc,#eee)}.on-line .transfer_usdt .step .usdt_second_step .step_content div .submitPay.actives[data-v-a110d184]:hover{cursor:not-allowed}.on-line .transfer_usdt .step .usdt_second_step .step_content div i[data-v-a110d184]{display:inline-block;width:40px;height:30px;background:#f90;border-radius:6px;color:#fff;position:absolute;right:120px;top:4px;line-height:30px;text-align:center;cursor:pointer}.on-line .transfer_usdt .step .usdt_first_step .step_head span[data-v-a110d184]{display:inline-block;height:60px;line-height:60px;color:#545454;font-size:14px}.on-line .transfer_usdt .step .usdt_first_step .step_head span[data-v-a110d184]:first-child{font-size:20px;color:#888}.on-line .transfer_usdt .step .usdt_first_step .step_head span[data-v-a110d184]:nth-child(2){display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;color:#545454}.on-line .transfer_usdt .step .usdt_first_step .step_head span:nth-child(2) i[data-v-a110d184]{display:inline-block;height:38px;line-height:38px;width:70px}.on-line .transfer_usdt .step .usdt_first_step .step_head span:nth-child(2) i[data-v-a110d184]:nth-child(2){width:253px;border-radius:10px;background:#f9f9f9;border:1px solid #f5f5f5;text-align:center;overflow:hidden}.on-line .transfer_usdt .step .usdt_first_step .step_head span:nth-child(2) i[data-v-a110d184]:last-child{width:56px;background:#fd9926;color:#fff;text-align:center;border-radius:10px;margin-left:20px;cursor:pointer}.on-line .transfer_usdt .step .usdt_first_step .step_content[data-v-a110d184]{text-align:center}.on-line .transfer_usdt .step .usdt_first_step .step_content p[data-v-a110d184]{height:24px;text-align:center;font-size:18px;font-family:MicrosoftYaHei;color:#343434}.on-line .transfer_usdt .step .usdt_first_step .step_content div[data-v-a110d184]:first-child{height:199px}.on-line .transfer_usdt .step .usdt_first_step .step_content div[data-v-a110d184]:nth-child(2){height:199px;background:#fff;border-radius:5px;color:#545454;font-size:16px;text-align:center;margin-bottom:8px;position:relative}.on-line .transfer_usdt .step .usdt_first_step .step_content div:nth-child(2) .loadCode[data-v-a110d184]{display:inline-block;width:202px;height:199px;background:url(\"/static/public/image/userImg/usdt_code.png\") no-repeat;background-size:cover}.on-line .transfer_usdt .step .usdt_first_step .step_content div:nth-child(2) img[data-v-a110d184]{width:202px}.on-line .transfer_usdt .step .usdt_first_step .step_content div:nth-child(2) .qr[data-v-a110d184]{width:154px;height:154px;margin:25px auto;overflow:hidden}.on-line .transfer_usdt .step .usdt_first_step .step_content div:nth-child(2) .qrcode[data-v-a110d184]{width:154px;height:154px;display:block}.on-line .transfer_usdt .step .usdt_first_step .step_content div[data-v-a110d184]:nth-child(3){width:180px;height:35px;line-height:35px;background:#fff;border:1px solid #e6e6e6;border-radius:5px;color:#545454;font-size:16px;text-align:center;margin:0 auto}.on-line .transfer_usdt .step .usdt_first_step .step_content div:nth-child(3) img[data-v-a110d184]{width:202px}.on-line .transfer_usdt .step .usdt_first_step .step_content div[data-v-a110d184]:last-child{height:19px;font-family:MicrosoftYaHei;line-height:19px;color:#1f8ce8;font-size:14px;margin:13px 0 8px}.on-line .transfer_usdt .step .usdt_first_step .step_content img[data-v-a110d184]{width:202px}.on-line .transfer_usdt .usdt_Title[data-v-a110d184]{width:942px;height:40px;background:#f9f9f9;border:1px solid #dbdbdb;opacity:1;border-radius:5px;color:#fd3332;font-size:14px;line-height:40px;padding-left:30px;margin:0 auto;margin-top:20px}.no-pay-tongdao img[data-v-a110d184]{display:block;margin:200px auto}", ""]); // exports /***/ }), /***/ "GmIv": /***/ (function(module, exports, __webpack_require__) { "use strict"; var toIndexedObject = __webpack_require__("OPii"); var addToUnscopables = __webpack_require__("C/QL"); var Iterators = __webpack_require__("DhWz"); var InternalStateModule = __webpack_require__("VbOW"); var defineProperty = __webpack_require__("TQ+1").f; var defineIterator = __webpack_require__("0g/h"); var IS_PURE = __webpack_require__("alnp"); var DESCRIPTORS = __webpack_require__("8Nt4"); var ARRAY_ITERATOR = 'Array Iterator'; var setInternalState = InternalStateModule.set; var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); // `Array.prototype.entries` method // https://tc39.es/ecma262/#sec-array.prototype.entries // `Array.prototype.keys` method // https://tc39.es/ecma262/#sec-array.prototype.keys // `Array.prototype.values` method // https://tc39.es/ecma262/#sec-array.prototype.values // `Array.prototype[@@iterator]` method // https://tc39.es/ecma262/#sec-array.prototype-@@iterator // `CreateArrayIterator` internal method // https://tc39.es/ecma262/#sec-createarrayiterator module.exports = defineIterator(Array, 'Array', function (iterated, kind) { setInternalState(this, { type: ARRAY_ITERATOR, target: toIndexedObject(iterated), // target index: 0, // next index kind: kind // kind }); // `%ArrayIteratorPrototype%.next` method // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next }, function () { var state = getInternalState(this); var target = state.target; var kind = state.kind; var index = state.index++; if (!target || index >= target.length) { state.target = undefined; return { value: undefined, done: true }; } if (kind == 'keys') return { value: index, done: false }; if (kind == 'values') return { value: target[index], done: false }; return { value: [index, target[index]], done: false }; }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values% // https://tc39.es/ecma262/#sec-createunmappedargumentsobject // https://tc39.es/ecma262/#sec-createmappedargumentsobject var values = Iterators.Arguments = Iterators.Array; // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables('keys'); addToUnscopables('values'); addToUnscopables('entries'); // V8 ~ Chrome 45- bug if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try { defineProperty(values, 'name', { value: 'values' }); } catch (error) { /* empty */ } /***/ }), /***/ "HJBj": /***/ (function(module, exports, __webpack_require__) { var wellKnownSymbol = __webpack_require__("Jd8B"); var Iterators = __webpack_require__("DhWz"); var ITERATOR = wellKnownSymbol('iterator'); var ArrayPrototype = Array.prototype; // check on default Array iterator module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); }; /***/ }), /***/ "HTR2": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("Q3bX"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("b55554c0", content, true, {}); /***/ }), /***/ "HWtH": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "@keyframes _scaleEnter-data-v-23620869{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes _scaleLeave-data-v-23620869{0%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-50%) scale(.9)}}[data-v-23620869] .ivu-modal-mask,[data-v-23620869] .ivu-modal-wrap{z-index:2000}.vp-login-warp[data-v-23620869] .ivu-modal-wrap{overflow:inherit}.vp-login-warp[data-v-23620869] .ivu-modal-wrap .ivu-modal{top:10%}.vp-login-warp[data-v-23620869] .ivu-modal-wrap .ivu-modal .ivu-modal-header{margin:14px 20px 0;height:70px}.vp-login-warp[data-v-23620869] .ivu-modal-wrap .ivu-modal .ivu-modal-header .ivu-modal-header-inner{font-size:20px;color:#333;font-weight:400;border-bottom:2px solid #ff0024;display:inline-block;width:auto;padding:20px 10px 34px}.vp-login-warp[data-v-23620869] .ivu-modal-wrap .ivu-modal .ivu-modal-body{padding:30px}.vp-login-warp[data-v-23620869] .ivu-modal-wrap .ivu-modal .ivu-modal-footer{display:none}article[data-v-23620869]{position:relative;width:100%;height:80px;font-size:0;background-color:#fff;border-bottom:1px solid #ecebeb}article .header-content[data-v-23620869]{width:1345px;height:100%;margin:0 auto;font-size:16px;color:#696969;line-height:80px;background:#fff;overflow:hidden;display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:justify;justify-content:space-between}article .header-content .header-menu-left[data-v-23620869]{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;float:left}article .header-content .header-menu-left .logo[data-v-23620869]{width:175px;margin-top:13px}article .header-content .header-menu-left .header-content-wrap[data-v-23620869]{margin-left:33px;float:left}article .header-content .header-menu-left .header-content-wrap .show[data-v-23620869]{padding:0 10px}article .header-content .header-menu-left .header-content-wrap .hide[data-v-23620869]{color:red;margin-left:-10px}article .header-content .header-menu-left .header-content-wrap .balance[data-v-23620869]{padding:0 8px}article .header-content .header-menu-right[data-v-23620869]{position:absolute;right:5px}article .header-content .header-menu-right .textRight[data-v-23620869]{cursor:pointer}article .header-content i[data-v-23620869]{color:#ff5050}article .header-content .line[data-v-23620869]{padding:0 2px;color:#bababa}article .header-content .exit[data-v-23620869],article .header-content .recharge[data-v-23620869],article .header-content .record[data-v-23620869],article .header-content .show[data-v-23620869],article .header-content .vpCenter[data-v-23620869],article .header-content .withdrawals[data-v-23620869]{cursor:pointer}article a[data-v-23620869]{color:#696969}article a[data-v-23620869]:hover{color:#f60}.my-modal[data-v-23620869]{display:block;position:fixed;width:100%;height:100%;top:0;bottom:0;left:0;right:0;z-index:1000}.my-modal .bg[data-v-23620869]{z-index:9998;position:absolute;width:100%;height:100%;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.36)}.my-modal .my-modal-content[data-v-23620869]{max-width:750px;position:relative;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);z-index:9999;background-color:#fff;border-radius:10px}.my-modal .my-modal-content .vp-admin-wrap[data-v-23620869]{padding:116px 0 0}.my-modal .my-modal-content .my-register[data-v-23620869]{position:absolute;font-size:20px;line-height:20px;color:#333;font-weight:400;border-bottom:2px solid #ff0024;padding:20px 10px;top:0;left:30px;z-index:99}[data-v-23620869] .ivu-modal{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:318px;animation:_scaleEnter-data-v-23620869 .3s ease}[data-v-23620869] .ivu-modal.v-leave-active{animation:_scaleLeave-data-v-23620869 .3s ease}[data-v-23620869] .ivu-modal-close{top:0;right:20px}[data-v-23620869] .ivu-modal-close .ivu-icon-ios-close-empty{color:#999;font-size:37px;top:0}[data-v-23620869] .ivu-modal-header{border-bottom:none;padding:0}[data-v-23620869] .ivu-modal-body{padding:0}[data-v-23620869] .ivu-modal-footer{border-top:none;display:none}", ""]); // exports /***/ }), /***/ "HYcK": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".withdrawal-record[data-v-a9f44bae]{border-bottom-right-radius:15px!important;overflow:hidden}.withdrawal-record .content .search[data-v-a9f44bae]{height:64px;line-height:64px;padding:0 10px;padding:0 14px}.withdrawal-record .content .search .searchSpan[data-v-a9f44bae]{display:inline-block;width:80px;height:36px;line-height:36px;text-align:center;font-size:1.6em;font-weight:200;color:#fff;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:5px;margin-left:18px;letter-spacing:5px;cursor:pointer}.withdrawal-record .content .page[data-v-a9f44bae]{position:absolute;right:25px;bottom:20px}", ""]); // exports /***/ }), /***/ "HbsV": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("rccI"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("81a20bb6", content, true, {}); /***/ }), /***/ "J+MD": /***/ (function(module, exports, __webpack_require__) { var TO_STRING_TAG_SUPPORT = __webpack_require__("Pwol"); var isCallable = __webpack_require__("ELn+"); var classofRaw = __webpack_require__("PFdJ"); var wellKnownSymbol = __webpack_require__("Jd8B"); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); var $Object = Object; // ES3 wrong here var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key]; } catch (error) { /* empty */ } }; // getting tag from ES6+ `Object.prototype.toString` module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result; }; /***/ }), /***/ "J8E+": /***/ (function(module, exports, __webpack_require__) { var isCallable = __webpack_require__("ELn+"); var $String = String; var $TypeError = TypeError; module.exports = function (argument) { if (typeof argument == 'object' || isCallable(argument)) return argument; throw $TypeError("Can't set " + $String(argument) + ' as a prototype'); }; /***/ }), /***/ "JAKr": /***/ (function(module, exports, __webpack_require__) { var NATIVE_BIND = __webpack_require__("tS49"); var call = Function.prototype.call; module.exports = NATIVE_BIND ? call.bind(call) : function () { return call.apply(call, arguments); }; /***/ }), /***/ "JCsn": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("WYEa"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("59d01690", content, true, {}); /***/ }), /***/ "JLJZ": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("ocCA"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("6bc07426", content, true, {}); /***/ }), /***/ "JZFE": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("uUk8"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("23c3aa81", content, true, {}); /***/ }), /***/ "Jd8B": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("jI+G"); var shared = __webpack_require__("PmDh"); var hasOwn = __webpack_require__("SGKV"); var uid = __webpack_require__("99vB"); var NATIVE_SYMBOL = __webpack_require__("iC8O"); var USE_SYMBOL_AS_UID = __webpack_require__("de0p"); var WellKnownSymbolsStore = shared('wks'); var Symbol = global.Symbol; var symbolFor = Symbol && Symbol['for']; var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; module.exports = function (name) { if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) { var description = 'Symbol.' + name; if (NATIVE_SYMBOL && hasOwn(Symbol, name)) { WellKnownSymbolsStore[name] = Symbol[name]; } else if (USE_SYMBOL_AS_UID && symbolFor) { WellKnownSymbolsStore[name] = symbolFor(description); } else { WellKnownSymbolsStore[name] = createWellKnownSymbol(description); } } return WellKnownSymbolsStore[name]; }; /***/ }), /***/ "JgBC": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("b5YC"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("0180c5b0", content, true, {}); /***/ }), /***/ "Jjk+": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("s1Q/"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("051e0f04", content, true, {}); /***/ }), /***/ "Jnwp": /***/ (function(module, exports, __webpack_require__) { var call = __webpack_require__("JAKr"); var anObject = __webpack_require__("dkz4"); var getMethod = __webpack_require__("Zgmh"); module.exports = function (iterator, kind, value) { var innerResult, innerError; anObject(iterator); try { innerResult = getMethod(iterator, 'return'); if (!innerResult) { if (kind === 'throw') throw value; return value; } innerResult = call(innerResult, iterator); } catch (error) { innerError = true; innerResult = error; } if (kind === 'throw') throw value; if (innerError) throw innerResult; anObject(innerResult); return value; }; /***/ }), /***/ "JqWa": /***/ (function(module, exports, __webpack_require__) { __webpack_require__("GmIv"); __webpack_require__("OVlN"); __webpack_require__("haTd"); __webpack_require__("fD3f"); var path = __webpack_require__("32pD"); module.exports = path.Map; /***/ }), /***/ "KKkd": /***/ (function(module, exports, __webpack_require__) { var uncurryThis = __webpack_require__("CwQ2"); var hasOwn = __webpack_require__("SGKV"); var toIndexedObject = __webpack_require__("OPii"); var indexOf = __webpack_require__("rzvd").indexOf; var hiddenKeys = __webpack_require__("ET8X"); var push = uncurryThis([].push); module.exports = function (object, names) { var O = toIndexedObject(object); var i = 0; var result = []; var key; for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); // Don't enum bug & hidden keys while (names.length > i) if (hasOwn(O, key = names[i++])) { ~indexOf(result, key) || push(result, key); } return result; }; /***/ }), /***/ "KPCb": /***/ (function(module, exports, __webpack_require__) { __webpack_require__("fD3f"); __webpack_require__("1FaH"); var path = __webpack_require__("32pD"); module.exports = path.Array.from; /***/ }), /***/ "KPk5": /***/ (function(module, exports, __webpack_require__) { var uncurryThis = __webpack_require__("CwQ2"); module.exports = uncurryThis({}.isPrototypeOf); /***/ }), /***/ "KllE": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("hK82"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("7f39d322", content, true, {}); /***/ }), /***/ "Kp0d": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("BL4c"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("5127f028", content, true, {}); /***/ }), /***/ "LFZ5": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".write[data-v-c1993abc]{padding:0 14px;position:relative}.write .header[data-v-c1993abc]{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400}.write .content[data-v-c1993abc]{border-bottom:1px solid #f3f3f3;padding:20px 0}.write .content label[data-v-c1993abc]{display:inline-block;width:140px;text-align:right;font-size:15px;font-family:Microsoft YaHei}.write .content .row input[data-v-c1993abc]{height:36px;font-size:16px;background:#f5f5f5;border:0 solid #f5f5f5;border-radius:10px;text-align:left;text-indent:1em;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.write .content .row input[data-v-c1993abc]:not(.other){width:240px;height:36px;background:#f9f9f9}.write .content .row input[data-v-c1993abc]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.write .content .bar[data-v-c1993abc]{margin-top:20px}.write .content .bar textarea[data-v-c1993abc]{height:200px;width:400px;border:0 solid #f5f5f5;text-indent:1em;border-radius:10px;vertical-align:top;background:#f9f9f9;outline:none;resize:none;padding-top:1em;line-height:16px;font-size:14px;letter-spacing:1px}.write .content .bar textarea[data-v-c1993abc]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.write .submit[data-v-c1993abc]{margin-top:26px;margin-left:155px;height:40px;width:130px;line-height:40px;text-align:center;color:#fff;font-size:16px;border-radius:8px;background:linear-gradient(180deg,#ff3492,#ff1e4f);cursor:pointer}.write .toast[data-v-c1993abc]{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:420px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.write .toast[data-v-c1993abc]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.write .remark[data-v-c1993abc]{margin-top:20px;font-size:13px;padding:10px}", ""]); // exports /***/ }), /***/ "LGbD": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".newBox1[data-v-14b4d192]{width:100%;height:100%;background-color:rgba(0,0,0,.6);position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;z-index:1001;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.newBox1 .pop-img[data-v-14b4d192]{transform:scale(.9);width:752px;height:612px;border-radius:22px;background-color:#fff;position:relative;overflow:hidden}.newBox1 .pop-img .top_img[data-v-14b4d192]{width:100%;height:240px}.newBox1 .pop-img .top_img img[data-v-14b4d192]{width:100%;height:64px}.newBox1 .pop-img #show_box[data-v-14b4d192]{width:100%;height:476px;overflow:auto}.newBox1 .pop-img #show_box #show_textBox[data-v-14b4d192]{padding:0 24px 0 30px}.newBox1 .pop-img #show_box #show_textBox li p[data-v-14b4d192]{padding:0;margin:0;font-size:17px;font-family:Microsoft YaHei;font-weight:400;color:#333;line-height:28px}.newBox1 .pop-img #show_box #show_textBox li .border_line[data-v-14b4d192]{width:100%;height:2px;background:#e7e7e7;margin:13px 0}.newBox1 .pop-img #show_box #show_textBox li:last-child .border_line[data-v-14b4d192]{opacity:0;margin-bottom:0}.newBox1 .pop-img .btnBox[data-v-14b4d192]{width:100%;height:72px;padding:0 24px}.newBox1 .pop-img .btnBox .border_line[data-v-14b4d192]{width:100%;height:1px;background:#e7e7e7}.newBox1 .pop-img .btnBox .pop_btnBox[data-v-14b4d192]{position:absolute;left:50%;bottom:0;transform:translateX(-50%);height:72px;padding:16px 0 24px}.newBox1 .pop-img .btnBox .pop_btnBox span[data-v-14b4d192]{color:#444;height:32px;line-height:32px;font-size:15px}.newBox1 .pop-img .btnBox .pop_btnBox .btn_sty[data-v-14b4d192]{outline:none;font-size:15px;width:72px;height:32px;line-height:32px;border:1px solid #c5c5c5;background-color:#fff;border-radius:5px;color:#444}.newBox1 .pop-img .btnBox .pop_btnBox .shang[data-v-14b4d192]{margin-left:16px;margin-right:16px}.newBox1 .pop-img .close[data-v-14b4d192]{width:50px;height:50px;position:absolute;cursor:pointer;right:16px;top:15px}.newBox1 .pop-img .close img[data-v-14b4d192]{width:50px;height:50px}.newBox1 .pop-img .close[data-v-14b4d192]:hover{opacity:.8}.newBox1 .noticeText[data-v-14b4d192]{color:#000;font-size:24px;width:70%;margin:0 auto;line-height:40px;text-align:center;letter-spacing:5px}.newBox1 input[data-v-14b4d192]::-webkit-input-safebox-button{display:none}.newBox1 .pwdNumber[data-v-14b4d192]{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;width:450px;margin:41px auto}.newBox1 .pwdNumber input[data-v-14b4d192]{border:1px solid #000;outline:none;height:51px;width:51px;font-size:48px;text-align:center;border-radius:5px}.newBox1 .confirmBtn[data-v-14b4d192]{width:508px;height:72px;border-radius:7px;font-size:30px;letter-spacing:5px;color:#fff;margin:20px 115px;outline:none;border:none;cursor:pointer}", ""]); // exports /***/ }), /***/ "LOB8": /***/ (function(module, exports, __webpack_require__) { var fails = __webpack_require__("fwHU"); var isObject = __webpack_require__("DG0c"); var classof = __webpack_require__("PFdJ"); var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__("7KcU"); // eslint-disable-next-line es-x/no-object-isextensible -- safe var $isExtensible = Object.isExtensible; var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); }); // `Object.isExtensible` method // https://tc39.es/ecma262/#sec-object.isextensible module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) { if (!isObject(it)) return false; if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false; return $isExtensible ? $isExtensible(it) : true; } : $isExtensible; /***/ }), /***/ "LOdN": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".noBorder[data-v-ea8b9932]{border-right:0!important}.cl[data-v-ea8b9932]:after{content:\"\";display:block;clear:both}.agency_index[data-v-ea8b9932]{border-bottom-right-radius:15px!important;padding:0 14px}.agency_index .content .title[data-v-ea8b9932]{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400;cursor:pointer}.agency_index .content .search[data-v-ea8b9932]{height:64px;line-height:64px;padding:0 10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.agency_index .content .search .searchBtn[data-v-ea8b9932]{width:80px;height:36px;border-radius:5px;background:linear-gradient(180deg,#ff3492,#ff1e4f);color:#fff;line-height:36px;text-align:center;display:inline-block;margin:0 20px;font-size:18px;cursor:pointer}.agency_index .content .search .searchInput[data-v-ea8b9932]{width:240px;height:38px;font-size:14px;background:#fdfdfd;border:1px solid #f5f5f5;border-radius:5px;padding-left:8px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.agency_index .content .search .searchInput[data-v-ea8b9932]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.agency_index .content .search .mathDiv[data-v-ea8b9932]{position:relative;font-size:15px;margin-left:416px;color:#4674f6}.agency_index .content .search .mathDiv .explainDiv[data-v-ea8b9932]{display:none;position:absolute;width:412px;background:#fff;box-shadow:0 2px 9px 0 rgba(177,178,195,.58);border-radius:10px;top:50px;right:0;padding:13px 18px;z-index:3;cursor:pointer}.agency_index .content .search .mathDiv .explainDiv p[data-v-ea8b9932]{line-height:28px;font-size:14px;font-family:MicrosoftYaHei;color:#666;border-bottom:1px solid #eee}.agency_index .content .search .mathDiv .explainDiv p span[data-v-ea8b9932]{color:#333}.agency_index .content .search .mathDiv .explainDiv p[data-v-ea8b9932]:last-child{border:none}.agency_index .content .search .mathDiv:hover .explainDiv[data-v-ea8b9932]{display:block}.agency_index .content .search .mathDiv .explainPic[data-v-ea8b9932]{cursor:pointer}.agency_index .content .search .searchBox[data-v-ea8b9932]{display:inline-block;width:234px;height:36px;border:1px solid #dbdbdb;border-radius:5px}.agency_index .content .agency-info[data-v-ea8b9932]{margin-top:10px;padding-bottom:20px}.agency_index .content .agency-info .contentUl[data-v-ea8b9932]{width:100%;height:366px;box-sizing:border-box}.agency_index .content .agency-info .contentUl .betClass[data-v-ea8b9932]{color:#4674f6!important;cursor:pointer}.agency_index .content .agency-info .contentUl li[data-v-ea8b9932]{float:left;width:250px;height:122px;text-align:center;border-bottom:1px solid #dbdbdb;line-height:122px;box-sizing:border-box}.agency_index .content .agency-info .contentUl li .liItem[data-v-ea8b9932]{display:inline-block;margin-top:33px;height:56px;width:100%;border-right:1px dashed #dbdbdb;position:relative}.agency_index .content .agency-info .contentUl li .liItem p[data-v-ea8b9932]{line-height:28px}.agency_index .content .agency-info .contentUl li .liItem .itemName[data-v-ea8b9932]{font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333}.agency_index .content .agency-info .contentUl li .liItem .itemVal[data-v-ea8b9932]{font-size:14px;font-family:MicrosoftYaHei;font-weight:700;color:#ff9146}.agency_index .content .agency-info .contentUl li:nth-child(4n) .liItem[data-v-ea8b9932]{border-right:0}.agency_index .content .betMoney[data-v-ea8b9932]{text-align:center;position:absolute;right:190px;top:138px;border-radius:4px;width:532px;height:327px;background:#fff;box-shadow:0 2px 9px 0 rgba(177,178,195,.58);border-radius:10px;z-index:4}.agency_index .content .betMoney .itemTitle[data-v-ea8b9932]{width:100%;line-height:57px;height:57px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333}.agency_index .content .betMoney .betUl[data-v-ea8b9932]{width:468px;margin:0 34px;border-top:1px solid #e6eaef;border-left:1px solid #e6eaef;box-sizing:border-box}.agency_index .content .betMoney .betUl li[data-v-ea8b9932]{width:468px;height:38px}.agency_index .content .betMoney .betUl li .basicDiv[data-v-ea8b9932]{float:left;width:156px;height:38px;border-right:1px solid #e6eaef;border-bottom:1px solid #e6eaef;box-sizing:border-box;line-height:38px}.agency_index .content .betMoney .betUl li .typeDiv[data-v-ea8b9932]{font-size:14px;font-family:MicrosoftYaHei-Bold;font-weight:700;color:#333}.agency_index .content .betMoney .betUl li .betCash[data-v-ea8b9932],.agency_index .content .betMoney .betUl li .betNum[data-v-ea8b9932],.agency_index .content .betMoney .betUl li .betTitle[data-v-ea8b9932]{font-size:14px;font-family:MicrosoftYaHei;font-weight:400;color:#666}.agency_index .content .betMoney .betUl li[data-v-ea8b9932]:hover{cursor:pointer;background-color:#f9f9f9}.agency_index .content .betMoney[data-v-ea8b9932]:after{content:\"\";border-left:14px solid #fff;border-right:0;position:absolute;border-top:10px solid #00800000;border-bottom:10px solid #00800000;left:100%;top:50%}.agency_index .content .quantity[data-v-ea8b9932]{padding:25px 0}.agency_index .content .quantity ul li[data-v-ea8b9932]{float:left;width:25%;height:80px;cursor:pointer;padding-left:25px;margin-bottom:55px;position:relative}.agency_index .content .quantity ul li p[data-v-ea8b9932]:first-child{font-size:16px;color:#999}.agency_index .content .quantity ul li p[data-v-ea8b9932]:nth-child(2){font-size:20px;color:#333;margin-top:20px}.agency_index .content .quantity ul li div[data-v-ea8b9932]{padding:15px;padding-left:30px}.agency_index .content .quantity ul li span[data-v-ea8b9932]{display:inline-block;width:1px;height:60px;position:absolute;top:10px;right:1px;background-color:#e4e4e4}.agency_index .content .quantity ul li:nth-child(4) span[data-v-ea8b9932],.agency_index .content .quantity ul li:nth-child(8) span[data-v-ea8b9932]{width:0}.agency_index .content .quantity ul li.liSelect div[data-v-ea8b9932]{width:176px;height:80px;border-radius:10px;background:#f5f5f5}.agency_index .content .quantity ul li.liSelect div p[data-v-ea8b9932]:nth-child(2){color:#f60}.agency_index .content .explain[data-v-ea8b9932]{width:100%;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.agency_index .content .explain label[data-v-ea8b9932]{height:38px;line-height:38px;font-size:16px;color:#666;width:80px}.agency_index .content .explain input[data-v-ea8b9932]{width:260px;height:38px;background:#f9f9f9;font-size:16px;border:0 solid #f5f5f5;border-radius:10px;text-align:left;text-indent:2em;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666;line-height:38px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:10px}.agency_index .content .explain button[data-v-ea8b9932]{width:50px;height:38px;border-radius:5px;background:linear-gradient(180deg,#ff3492,#ff1e4f);color:#fff;line-height:38px;text-align:center;display:inline-block;font-size:16px;cursor:pointer;border:none;margin-left:5px}", ""]); // exports /***/ }), /***/ "LqYS": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("SBif"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("7189d68c", content, true, {}); /***/ }), /***/ "LxyK": /***/ (function(module, exports) { // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe exports.f = Object.getOwnPropertySymbols; /***/ }), /***/ "Lzej": /***/ (function(module, exports) { var ceil = Math.ceil; var floor = Math.floor; // `Math.trunc` method // https://tc39.es/ecma262/#sec-math.trunc // eslint-disable-next-line es-x/no-math-trunc -- safe module.exports = Math.trunc || function trunc(x) { var n = +x; return (n > 0 ? floor : ceil)(n); }; /***/ }), /***/ "MES/": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/static/public/image/bank/blue-refresh.ce9eec3.png"; /***/ }), /***/ "MKw7": /***/ (function(module, exports, __webpack_require__) { var isCallable = __webpack_require__("ELn+"); var definePropertyModule = __webpack_require__("TQ+1"); var makeBuiltIn = __webpack_require__("14fT"); var defineGlobalProperty = __webpack_require__("NN4L"); module.exports = function (O, key, value, options) { if (!options) options = {}; var simple = options.enumerable; var name = options.name !== undefined ? options.name : key; if (isCallable(value)) makeBuiltIn(value, name, options); if (options.global) { if (simple) O[key] = value; else defineGlobalProperty(key, value); } else { if (!options.unsafe) delete O[key]; else if (O[key]) simple = true; if (simple) O[key] = value; else definePropertyModule.f(O, key, { value: value, enumerable: false, configurable: !options.nonConfigurable, writable: !options.nonWritable }); } return O; }; /***/ }), /***/ "Minx": /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__("dkz4"); var iteratorClose = __webpack_require__("Jnwp"); // call something on iterator step with safe closing on error module.exports = function (iterator, fn, value, ENTRIES) { try { return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); } catch (error) { iteratorClose(iterator, 'throw', error); } }; /***/ }), /***/ "MxdR": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("4dR8"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("6fad84b0", content, true, {}); /***/ }), /***/ "N8jk": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".filter[data-v-2846ffc1]{width:100%;height:100%;position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;background:rgba(0,0,0,.5);z-index:1600}.filter .content[data-v-2846ffc1]{width:846px;height:636px;top:50%;left:50%;position:relative;transform:translate(-50%,-50%)}.filter .content .close-btn[data-v-2846ffc1]{position:absolute;top:89px;right:95px;width:50px;height:50px;cursor:pointer}.filter .content.true[data-v-2846ffc1]{background-image:url(\"/static/public/image/paycheck/flpay.png\");background-size:100% 100%}.filter .content.true .massage[data-v-2846ffc1]{font-family:PingFang SC;position:absolute;top:232px;left:266px;width:400px;height:250px;color:#ffed85}.filter .content.true .massage .tit[data-v-2846ffc1]{font-size:24px;text-align:center;margin-top:3px}.filter .content.true .massage .money-box[data-v-2846ffc1]{font-size:26px;text-align:center;margin:20px 0}.filter .content.true .massage .money-box .money[data-v-2846ffc1]{font-size:50px;color:#fff7cd;padding-right:20px}.filter .content.true .massage p[data-v-2846ffc1]{font-size:30px;text-align:center}.filter .content.false[data-v-2846ffc1]{background-image:url(\"/static/public/image/paycheck/pay.png\");background-size:100% 100%}.filter .content.false .massage[data-v-2846ffc1]{font-family:PingFang SC;position:absolute;top:232px;left:266px;width:400px;height:250px;color:#ffed85;padding:30px}.filter .content.false p[data-v-2846ffc1]{text-align:center;font-size:30px;margin-top:20px}.filter .content .btn[data-v-2846ffc1]{position:absolute;left:315px;bottom:36px;width:260px;height:80px;cursor:pointer}", ""]); // exports /***/ }), /***/ "NDTd": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".bounce-enter-active{animation:bounce-in 0s}.bounce-leave-to{animation:bounce-in 1s reverse!important}.bounce-leave-active{animation:bounce-in 1s reverse}.bounce-leave-active.filter{background-color:transparent!important}@keyframes openRedEgg1Hammer{0%{visibility:visible}0%,50%{transform:rotate(0);right:11px}25%,75%,to{transform-origin:bottom right;transform:rotate(-10deg);right:63px}to{visibility:hidden}}@keyframes openRedEgg1Bg{0%{background-image:url(\"/static/public/image/redlope/egg/close.png\")}to{background-image:none}}@keyframes openRedEgg2Bg{0%{background-image:url(\"/static/public/image/redlope/egg/close.png\")}18%{background-image:url(\"/static/public/image/redlope/egg/5.png\")}36%{background-image:url(\"/static/public/image/redlope/egg/6.png\")}54%{background-image:url(\"/static/public/image/redlope/egg/7.png\")}72%{background-image:url(\"/static/public/image/redlope/egg/8.png\")}90%,to{background-image:url(\"/static/public/image/redlope/egg/9.png\")}}@keyframes openRedEgg3Bg{0%{background-image:url(\"/static/public/image/redlope/egg/10.png\")}6%,48%{background-image:url(\"/static/public/image/redlope/egg/11.png\")}12%,54%{background-image:url(\"/static/public/image/redlope/egg/12.png\")}18%,60%{background-image:url(\"/static/public/image/redlope/egg/13.png\")}24%,66%{background-image:url(\"/static/public/image/redlope/egg/14.png\")}30%,72%{background-image:url(\"/static/public/image/redlope/egg/15.png\")}36%,78%{background-image:url(\"/static/public/image/redlope/egg/16.png\")}42%,84%{background-image:url(\"/static/public/image/redlope/egg/17.png\")}90%,to{background-image:url(\"/static/public/image/redlope/egg/24.png\")}}@keyframes scaleDraw{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes openRed{20%{transform:translate(-50%,-50%) scale(1.4,.4)}40%{transform:translate(-50%,-50%) scaleY(1.2);transform-origin:bottom}70%{transform:translate(-50%,-50%) scaleY(.9);transform-origin:bottom}to{transform:translate(-50%,-50%) scale(1)}}@keyframes roatejb{10%{transform:translateY(4px) rotateX(72deg)}20%{transform:translateY(8px) rotateX(144deg)}30%{transform:translateY(12px) rotateX(216deg)}40%{transform:translateY(16px) rotateX(288deg)}50%{transform:translateY(20px) rotateX(1turn)}60%{transform:translateY(24px) rotateX(432deg)}70%{transform:translateY(28px) rotateX(504deg)}80%{transform:translateY(32px) rotateX(576deg)}90%{transform:translateY(36px) rotateX(648deg);opacity:.5}to{transform:translateY(40px) rotateX(2turn);opacity:0}}@keyframes rotezb1{0%{transform:translateY(0) rotateY(0deg)}10%{transform:translateY(20px) rotateY(-80deg)}20%{transform:translateY(40px) rotateY(-10deg)}30%{transform:translateY(60px) rotateY(70deg)}40%{transform:translateY(80px) rotateY(-8deg)}50%{transform:translateY(100px) rotateY(-70deg)}60%{transform:translateY(120px) rotateY(3deg)}70%{transform:translateY(140px) rotateY(60deg)}80%{transform:translateY(160px) rotateY(-6deg)}90%{transform:translateY(180px) rotateY(-50deg);opacity:.5}to{transform:translateY(200px) rotateY(0deg);opacity:0}}", ""]); // exports /***/ }), /***/ "NFMI": /***/ (function(module, exports, __webpack_require__) { var uncurryThis = __webpack_require__("CwQ2"); var aCallable = __webpack_require__("Nh07"); var NATIVE_BIND = __webpack_require__("tS49"); var bind = uncurryThis(uncurryThis.bind); // optional / simple context binding module.exports = function (fn, that) { aCallable(fn); return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { return fn.apply(that, arguments); }; }; /***/ }), /***/ "NMaI": /***/ (function(module, exports, __webpack_require__) { var toPrimitive = __webpack_require__("O66g"); var isSymbol = __webpack_require__("eiEg"); // `ToPropertyKey` abstract operation // https://tc39.es/ecma262/#sec-topropertykey module.exports = function (argument) { var key = toPrimitive(argument, 'string'); return isSymbol(key) ? key : key + ''; }; /***/ }), /***/ "NN4L": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("jI+G"); // eslint-disable-next-line es-x/no-object-defineproperty -- safe var defineProperty = Object.defineProperty; module.exports = function (key, value) { try { defineProperty(global, key, { value: value, configurable: true, writable: true }); } catch (error) { global[key] = value; } return value; }; /***/ }), /***/ "NV47": /***/ (function(module, exports) { const EXP_TABLE = new Uint8Array(512) const LOG_TABLE = new Uint8Array(256) /** * Precompute the log and anti-log tables for faster computation later * * For each possible value in the galois field 2^8, we will pre-compute * the logarithm and anti-logarithm (exponential) of this value * * ref {@link https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders#Introduction_to_mathematical_fields} */ ;(function initTables () { let x = 1 for (let i = 0; i < 255; i++) { EXP_TABLE[i] = x LOG_TABLE[x] = i x <<= 1 // multiply by 2 // The QR code specification says to use byte-wise modulo 100011101 arithmetic. // This means that when a number is 256 or larger, it should be XORed with 0x11D. if (x & 0x100) { // similar to x >= 256, but a lot faster (because 0x100 == 256) x ^= 0x11D } } // Optimization: double the size of the anti-log table so that we don't need to mod 255 to // stay inside the bounds (because we will mainly use this table for the multiplication of // two GF numbers, no more). // @see {@link mul} for (let i = 255; i < 512; i++) { EXP_TABLE[i] = EXP_TABLE[i - 255] } }()) /** * Returns log value of n inside Galois Field * * @param {Number} n * @return {Number} */ exports.log = function log (n) { if (n < 1) throw new Error('log(' + n + ')') return LOG_TABLE[n] } /** * Returns anti-log value of n inside Galois Field * * @param {Number} n * @return {Number} */ exports.exp = function exp (n) { return EXP_TABLE[n] } /** * Multiplies two number inside Galois Field * * @param {Number} x * @param {Number} y * @return {Number} */ exports.mul = function mul (x, y) { if (x === 0 || y === 0) return 0 // should be EXP_TABLE[(LOG_TABLE[x] + LOG_TABLE[y]) % 255] if EXP_TABLE wasn't oversized // @see {@link initTables} return EXP_TABLE[LOG_TABLE[x] + LOG_TABLE[y]] } /***/ }), /***/ "NY/E": /***/ (function(module, exports) { const numeric = '[0-9]+' const alphanumeric = '[A-Z $%*+\\-./:]+' let kanji = '(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|' + '[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|' + '[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|' + '[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+' kanji = kanji.replace(/u/g, '\\u') const byte = '(?:(?![A-Z0-9 $%*+\\-./:]|' + kanji + ')(?:.|[\r\n]))+' exports.KANJI = new RegExp(kanji, 'g') exports.BYTE_KANJI = new RegExp('[^A-Z0-9 $%*+\\-./:]+', 'g') exports.BYTE = new RegExp(byte, 'g') exports.NUMERIC = new RegExp(numeric, 'g') exports.ALPHANUMERIC = new RegExp(alphanumeric, 'g') const TEST_KANJI = new RegExp('^' + kanji + '$') const TEST_NUMERIC = new RegExp('^' + numeric + '$') const TEST_ALPHANUMERIC = new RegExp('^[A-Z0-9 $%*+\\-./:]+$') exports.testKanji = function testKanji (str) { return TEST_KANJI.test(str) } exports.testNumeric = function testNumeric (str) { return TEST_NUMERIC.test(str) } exports.testAlphanumeric = function testAlphanumeric (str) { return TEST_ALPHANUMERIC.test(str) } /***/ }), /***/ "NZQs": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("VSRV"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("1b74f7c6", content, true, {}); /***/ }), /***/ "Nh07": /***/ (function(module, exports, __webpack_require__) { var isCallable = __webpack_require__("ELn+"); var tryToString = __webpack_require__("l9Ez"); var $TypeError = TypeError; // `Assert: IsCallable(argument) is true` module.exports = function (argument) { if (isCallable(argument)) return argument; throw $TypeError(tryToString(argument) + ' is not a function'); }; /***/ }), /***/ "NmtO": /***/ (function(module, exports, __webpack_require__) { var internalObjectKeys = __webpack_require__("KKkd"); var enumBugKeys = __webpack_require__("AtgE"); // `Object.keys` method // https://tc39.es/ecma262/#sec-object.keys // eslint-disable-next-line es-x/no-object-keys -- safe module.exports = Object.keys || function keys(O) { return internalObjectKeys(O, enumBugKeys); }; /***/ }), /***/ "Nt1u": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("5+hi"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("25f72e03", content, true, {}); /***/ }), /***/ "NyNR": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("N8jk"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("3b1cfbad", content, true, {}); /***/ }), /***/ "O66V": /***/ (function(module, exports) { var $TypeError = TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible module.exports = function (it) { if (it == undefined) throw $TypeError("Can't call method on " + it); return it; }; /***/ }), /***/ "O66g": /***/ (function(module, exports, __webpack_require__) { var call = __webpack_require__("JAKr"); var isObject = __webpack_require__("DG0c"); var isSymbol = __webpack_require__("eiEg"); var getMethod = __webpack_require__("Zgmh"); var ordinaryToPrimitive = __webpack_require__("atHy"); var wellKnownSymbol = __webpack_require__("Jd8B"); var $TypeError = TypeError; var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); // `ToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-toprimitive module.exports = function (input, pref) { if (!isObject(input) || isSymbol(input)) return input; var exoticToPrim = getMethod(input, TO_PRIMITIVE); var result; if (exoticToPrim) { if (pref === undefined) pref = 'default'; result = call(exoticToPrim, input, pref); if (!isObject(result) || isSymbol(result)) return result; throw $TypeError("Can't convert object to primitive value"); } if (pref === undefined) pref = 'number'; return ordinaryToPrimitive(input, pref); }; /***/ }), /***/ "OPii": /***/ (function(module, exports, __webpack_require__) { // toObject with fallback for non-array-like ES3 strings var IndexedObject = __webpack_require__("3xPw"); var requireObjectCoercible = __webpack_require__("O66V"); module.exports = function (it) { return IndexedObject(requireObjectCoercible(it)); }; /***/ }), /***/ "OQFF": /***/ (function(module, exports, __webpack_require__) { /* eslint-disable no-proto -- safe */ var uncurryThis = __webpack_require__("CwQ2"); var anObject = __webpack_require__("dkz4"); var aPossiblePrototype = __webpack_require__("J8E+"); // `Object.setPrototypeOf` method // https://tc39.es/ecma262/#sec-object.setprototypeof // Works with __proto__ only. Old v8 can't work with null proto objects. // eslint-disable-next-line es-x/no-object-setprototypeof -- safe module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { var CORRECT_SETTER = false; var test = {}; var setter; try { // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set); setter(test, []); CORRECT_SETTER = test instanceof Array; } catch (error) { /* empty */ } return function setPrototypeOf(O, proto) { anObject(O); aPossiblePrototype(proto); if (CORRECT_SETTER) setter(O, proto); else O.__proto__ = proto; return O; }; }() : undefined); /***/ }), /***/ "OVlN": /***/ (function(module, exports, __webpack_require__) { // TODO: Remove this module from `core-js@4` since it's replaced to module below __webpack_require__("QznK"); /***/ }), /***/ "Oh0C": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("3Irw"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("8f56141e", content, true, {}); /***/ }), /***/ "PFdJ": /***/ (function(module, exports, __webpack_require__) { var uncurryThis = __webpack_require__("CwQ2"); var toString = uncurryThis({}.toString); var stringSlice = uncurryThis(''.slice); module.exports = function (it) { return stringSlice(toString(it), 8, -1); }; /***/ }), /***/ "PgCK": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("vASH"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("a6ebd6c6", content, true, {}); /***/ }), /***/ "Pky8": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".free-money .header[data-v-42c0989c]{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:70px;font-weight:400;cursor:pointer;margin-left:14px}.free-money .borrow-content[data-v-42c0989c]{background:#fff}.free-money .borrow-content .show-borrow[data-v-42c0989c]{width:964px;margin:15px auto;position:relative}.free-money .borrow-content .show-borrow .returnDate[data-v-42c0989c]{position:absolute;top:33px;left:0;color:#7e4a12;font-size:18px;background:#d2a87b;height:33px;padding:0 18px 0 15px;line-height:33px;border-radius:0 25px 25px 0}.free-money .borrow-content .show-borrow .returnDate2[data-v-42c0989c]{position:absolute;top:17px;left:0;font-size:16px;color:red;background:hsla(31,63%,85%,.2);width:100%;height:35px;line-height:35px;text-align:center}.free-money .borrow-content .show-borrow .returnDate2 img[data-v-42c0989c]{position:absolute;left:342px;top:2px}.free-money .borrow-content .show-borrow .money2[data-v-42c0989c]{position:absolute;top:50%;left:50%;width:200px;transform:translate(-50%,-50%)}.free-money .borrow-content .show-borrow .money2 p[data-v-42c0989c]{color:#fff;font-size:20px;width:100%;text-align:center;line-height:43px}.free-money .borrow-content .show-borrow .money2 p[data-v-42c0989c]:nth-child(2){font-size:45px;padding-bottom:15px;padding-top:6}.free-money .borrow-content .show-borrow .money2 p[data-v-42c0989c]:last-child{width:137px;height:35px;line-height:35px;border-radius:19px;color:#fff;font-size:16px;background:#ff496d;margin:auto}.free-money .borrow-content .show-borrow .money[data-v-42c0989c]{position:absolute;top:40%;left:50%;width:200px;transform:translate(-50%,-50%)}.free-money .borrow-content .show-borrow .money p[data-v-42c0989c]{color:#fff;font-size:20px;width:100%;text-align:center;line-height:45px}.free-money .borrow-content .show-borrow .money p[data-v-42c0989c]:nth-child(2){font-size:45px;padding-bottom:12px;padding-top:6}.free-money .borrow-content .show-borrow .money p[data-v-42c0989c]:last-child{width:137px;height:35px;line-height:35px;border-radius:19px;color:#fff;font-size:18px;background:#ff496d;margin:auto}.free-money .borrow-content .show-borrow .already[data-v-42c0989c]{position:absolute;bottom:-38px;left:45px;width:875px;height:80px;background:#fff;border-radius:10px;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding:10px;border:1px solid #ffe7ca}.free-money .borrow-content .show-borrow .already div[data-v-42c0989c]{width:50%}.free-money .borrow-content .show-borrow .already div[data-v-42c0989c]:last-child{border-left:1px solid #ffe7ca}.free-money .borrow-content .show-borrow .already div p[data-v-42c0989c]{color:#dcb08a;font-size:18px;text-align:center;line-height:30px}.free-money .borrow-content .show-borrow .already div p[data-v-42c0989c]:last-child{color:#000;font-size:22px}.free-money .borrow-content .can-borrow[data-v-42c0989c]{height:220px}.free-money .borrow-content .can-borrow2[data-v-42c0989c],.free-money .borrow-content .can-borrow[data-v-42c0989c]{width:964px;background-size:100% 100%;background-repeat:no-repeat;background-image:url(\"/static/public/image/userImg/br_bg.png\")}.free-money .borrow-content .can-borrow2[data-v-42c0989c]{height:250px}.free-money .borrow-content .ad2[data-v-42c0989c]{margin:30px auto}.free-money .borrow-content .ad2[data-v-42c0989c],.free-money .borrow-content .ad[data-v-42c0989c]{width:875px;height:165px;background-image:url(\"/static/public/image/userImg/br_bg3.png\");background-size:100%;background-repeat:no-repeat;border-radius:10px}.free-money .borrow-content .ad[data-v-42c0989c]{margin:42px auto}.free-money .borrow-content .btn-group[data-v-42c0989c]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:875px;margin:0 auto;cursor:pointer;padding-bottom:123px}.free-money .borrow-content .btn-group p[data-v-42c0989c]{width:398px;height:60px;font-size:22px;color:#fff;background:#ff4b6c;border-radius:10px;line-height:60px;text-align:center}.free-money .borrow-content .btn-group p[data-v-42c0989c]:last-child{background:#d4a982;margin-left:80px}.free-money .logBg[data-v-42c0989c]{width:100%;height:100%;background:hsla(0,8%,46%,.3);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.free-money .detailLog[data-v-42c0989c]{width:438px;height:auto;background:hsla(35,71%,93%,.9);border-radius:15px;border:1px solid #eeb981;position:absolute;top:50%;left:60%;transform:translate(-50%,-50%);padding-bottom:30px}.free-money .detailLog .close[data-v-42c0989c]{position:absolute;top:12px;right:12px;cursor:pointer}.free-money .detailLog .title[data-v-42c0989c]{width:100%;text-align:center;height:60px;line-height:60px;color:#9e6837;font-size:17px}.free-money .detailLog .total[data-v-42c0989c]{max-height:215px;overflow-y:auto}.free-money .detailLog .totalMont2[data-v-42c0989c]{background:#fef5e9}.free-money .detailLog .totalMont2[data-v-42c0989c],.free-money .detailLog .totalMont3[data-v-42c0989c]{width:390px;height:60px;margin:15px auto;border:1px solid #dcdcdc;border-radius:10px;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding:10px}.free-money .detailLog .totalMont2 p[data-v-42c0989c],.free-money .detailLog .totalMont3 p[data-v-42c0989c]{width:50%;line-height:20px}.free-money .detailLog .totalMont2 p span[data-v-42c0989c],.free-money .detailLog .totalMont3 p span[data-v-42c0989c]{display:block;color:#000;font-size:14px}.free-money .detailLog .totalMont2 p[data-v-42c0989c]:last-child,.free-money .detailLog .totalMont3 p[data-v-42c0989c]:last-child{text-align:right}.free-money .detailLog .totalMont[data-v-42c0989c]{width:390px;height:148px;margin:auto;border-radius:15px;background-size:100% 100%;background-repeat:no-repeat;background-image:url(\"/static/public/image/userImg/log_bg.png\")}.free-money .detailLog .totalMont div[data-v-42c0989c]:first-child{padding:10px}.free-money .detailLog .totalMont div:first-child p[data-v-42c0989c]{color:#9e6837;font-size:16px;line-height:30px}.free-money .detailLog .totalMont div:first-child p[data-v-42c0989c]:last-child{font-size:24px;color:#fff}.free-money .detailLog .totalMont div[data-v-42c0989c]:last-child{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding:10px}.free-money .detailLog .totalMont div:last-child p[data-v-42c0989c]{width:50%;line-height:20px}.free-money .detailLog .totalMont div:last-child p[data-v-42c0989c]:last-child{text-align:right}.free-money .detailLog .totalMont div:last-child p span[data-v-42c0989c]{display:block;color:#9e6837;font-size:14px}", ""]); // exports /***/ }), /***/ "PmDh": /***/ (function(module, exports, __webpack_require__) { var IS_PURE = __webpack_require__("alnp"); var store = __webpack_require__("AbUK"); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: '3.23.2', mode: IS_PURE ? 'pure' : 'global', copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', license: 'https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE', source: 'https://github.com/zloirock/core-js' }); /***/ }), /***/ "PmyF": /***/ (function(module, exports, __webpack_require__) { var wellKnownSymbol = __webpack_require__("Jd8B"); var ITERATOR = wellKnownSymbol('iterator'); var SAFE_CLOSING = false; try { var called = 0; var iteratorWithReturn = { next: function () { return { done: !!called++ }; }, 'return': function () { SAFE_CLOSING = true; } }; iteratorWithReturn[ITERATOR] = function () { return this; }; // eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing Array.from(iteratorWithReturn, function () { throw 2; }); } catch (error) { /* empty */ } module.exports = function (exec, SKIP_CLOSING) { if (!SKIP_CLOSING && !SAFE_CLOSING) return false; var ITERATION_SUPPORT = false; try { var object = {}; object[ITERATOR] = function () { return { next: function () { return { done: ITERATION_SUPPORT = true }; } }; }; exec(object); } catch (error) { /* empty */ } return ITERATION_SUPPORT; }; /***/ }), /***/ "PwXg": /***/ (function(module, exports, __webpack_require__) { "use strict"; var global = __webpack_require__("jI+G"); var uncurryThis = __webpack_require__("CwQ2"); var defineBuiltIns = __webpack_require__("Vpjp"); var InternalMetadataModule = __webpack_require__("mjl2"); var collection = __webpack_require__("jaFP"); var collectionWeak = __webpack_require__("e0r6"); var isObject = __webpack_require__("DG0c"); var isExtensible = __webpack_require__("LOB8"); var enforceInternalState = __webpack_require__("VbOW").enforce; var NATIVE_WEAK_MAP = __webpack_require__("uH59"); var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; var InternalWeakMap; var wrapper = function (init) { return function WeakMap() { return init(this, arguments.length ? arguments[0] : undefined); }; }; // `WeakMap` constructor // https://tc39.es/ecma262/#sec-weakmap-constructor var $WeakMap = collection('WeakMap', wrapper, collectionWeak); // IE11 WeakMap frozen keys fix // We can't use feature detection because it crash some old IE builds // https://github.com/zloirock/core-js/issues/485 if (NATIVE_WEAK_MAP && IS_IE11) { InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true); InternalMetadataModule.enable(); var WeakMapPrototype = $WeakMap.prototype; var nativeDelete = uncurryThis(WeakMapPrototype['delete']); var nativeHas = uncurryThis(WeakMapPrototype.has); var nativeGet = uncurryThis(WeakMapPrototype.get); var nativeSet = uncurryThis(WeakMapPrototype.set); defineBuiltIns(WeakMapPrototype, { 'delete': function (key) { if (isObject(key) && !isExtensible(key)) { var state = enforceInternalState(this); if (!state.frozen) state.frozen = new InternalWeakMap(); return nativeDelete(this, key) || state.frozen['delete'](key); } return nativeDelete(this, key); }, has: function has(key) { if (isObject(key) && !isExtensible(key)) { var state = enforceInternalState(this); if (!state.frozen) state.frozen = new InternalWeakMap(); return nativeHas(this, key) || state.frozen.has(key); } return nativeHas(this, key); }, get: function get(key) { if (isObject(key) && !isExtensible(key)) { var state = enforceInternalState(this); if (!state.frozen) state.frozen = new InternalWeakMap(); return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key); } return nativeGet(this, key); }, set: function set(key, value) { if (isObject(key) && !isExtensible(key)) { var state = enforceInternalState(this); if (!state.frozen) state.frozen = new InternalWeakMap(); nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value); } else nativeSet(this, key, value); return this; } }); } /***/ }), /***/ "Pwol": /***/ (function(module, exports, __webpack_require__) { var wellKnownSymbol = __webpack_require__("Jd8B"); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); var test = {}; test[TO_STRING_TAG] = 'z'; module.exports = String(test) === '[object z]'; /***/ }), /***/ "Q3J5": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("SA0d"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("0ea66217", content, true, {}); /***/ }), /***/ "Q3bX": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".bet_box[data-v-2cc930e3]{border-bottom-right-radius:15px!important;overflow:hidden}.bet_box[data-v-2cc930e3] .ivu-poptip-body{padding:5px 0}.bet_box .title[data-v-2cc930e3]{margin:0 14px;height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400;cursor:pointer}.bet_box .title p[data-v-2cc930e3]{display:inline-block}.bet_box .titles[data-v-2cc930e3]{cursor:pointer}.bet_box .search[data-v-2cc930e3]{height:64px;line-height:64px;padding:0 16px}.bet_box .search .searchSpan[data-v-2cc930e3]{display:inline-block;width:80px;height:36px;line-height:36px;text-align:center;font-size:1.6em;font-weight:200;color:#fff;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:5px;letter-spacing:5px;cursor:pointer}.bet_box .search .text[data-v-2cc930e3]{margin-left:10px;font-size:14px}.bet_box .search .ivu-select[data-v-2cc930e3]{width:126px}.bet_box .search .platform-select[data-v-2cc930e3]{margin-right:5px}.bet_box .search .platform-select[data-v-2cc930e3] .ivu-select-dropdown-list{max-height:520px}.bet_box .totalBet[data-v-2cc930e3]{position:absolute;bottom:25px;left:260px;font-size:16px}.bet_box .page[data-v-2cc930e3]{position:absolute;right:25px;bottom:20px}.bet_box .page[data-v-2cc930e3] .ivu-page.mini .ivu-page-total{vertical-align:middle}.bet_box .bet .ivu-select[data-v-9e73ef78][data-v-2cc930e3]{margin-bottom:4px}.bet_box .bet .search[data-v-2cc930e3]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.bet_box .bet .ivu-poptip-body-content[data-v-2cc930e3]{padding:6px}", ""]); // exports /***/ }), /***/ "QBhv": /***/ (function(module, exports, __webpack_require__) { var isArray = __webpack_require__("jeDh"); var isConstructor = __webpack_require__("xQa9"); var isObject = __webpack_require__("DG0c"); var wellKnownSymbol = __webpack_require__("Jd8B"); var SPECIES = wellKnownSymbol('species'); var $Array = Array; // a part of `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate module.exports = function (originalArray) { var C; if (isArray(originalArray)) { C = originalArray.constructor; // cross-realm fallback if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined; else if (isObject(C)) { C = C[SPECIES]; if (C === null) C = undefined; } } return C === undefined ? $Array : C; }; /***/ }), /***/ "QBpA": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/src/assets/img/springFestival/empty-envelop.13e2444.png"; /***/ }), /***/ "QVH6": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("qzCN"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("91c2b73e", content, true, {}); /***/ }), /***/ "QlOO": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("NDTd"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("5d3bab6d", content, true, {}); /***/ }), /***/ "Qsv4": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".newBox[data-v-2828bc7c]{width:100%;height:100%;background-color:rgba(0,0,0,.6);position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;z-index:10001;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.newBox .pop-img[data-v-2828bc7c]{position:relative}.newBox .pop-img .desprite[data-v-2828bc7c]{z-index:3000;padding:8px;line-height:1.5;position:absolute;overflow-y:scroll}.newBox .pop-img .desprite[data-v-2828bc7c]::-webkit-scrollbar{display:none}.newBox .pop-img .desprite_blr[data-v-2828bc7c]{width:530px;height:280px;left:34px;bottom:70px}.newBox .pop-img .desprite_bet[data-v-2828bc7c]{width:660px;height:445px;left:13px;bottom:12px}.newBox .pop-img .desprite_js[data-v-2828bc7c]{width:720px;height:440px;left:14px;bottom:53px}.newBox .pop-img .desprite_klk[data-v-2828bc7c]{width:530px;height:280px;left:33px;bottom:63px}.newBox .pop-img .desprite_pj[data-v-2828bc7c]{width:720px;height:440px;left:18px;bottom:66px}.newBox .pop-img .desprite_vns[data-v-2828bc7c],.newBox .pop-img .desprite_vnst[data-v-2828bc7c]{width:530px;height:280px;left:46px;bottom:80px}.newBox .pop-img .desprite_tc[data-v-2828bc7c]{width:720px;height:440px;left:14px;bottom:60px}.newBox .pop-img .desprite_mgm[data-v-2828bc7c]{width:720px;height:440px;left:18px;bottom:66px}.newBox .pop-img .desprite_jhcp[data-v-2828bc7c]{width:712px;height:345px;left:14px;bottom:60px}.newBox .pop-img .desprite_ecp[data-v-2828bc7c]{width:670px;height:407px;left:39px;bottom:78px}.newBox .pop-img .desprite_eyc[data-v-2828bc7c]{width:690px;height:396px;left:28px;bottom:78px}.newBox .pop-img .desprite_szc[data-v-2828bc7c]{width:700px;height:364px;left:25px;bottom:55px}.newBox .pop-img .desprite_ly88[data-v-2828bc7c]{width:716px;height:407px;left:14px;bottom:70px}.newBox .pop-img .desprite_fczx[data-v-2828bc7c]{width:690px;height:385px;left:27px;bottom:80px}.newBox .pop-img .desprite_sjcp[data-v-2828bc7c]{width:690px;height:396px;left:27px;bottom:80px}.newBox .pop-img .desprite_wycp[data-v-2828bc7c]{width:712px;height:363px;left:14px;bottom:60px}.newBox .pop-img .desprite_pjyl[data-v-2828bc7c]{width:690px;height:420px;left:27px;bottom:80px}.newBox .pop-img .desprite_ybcp[data-v-2828bc7c]{width:712px;height:334px;left:14px;bottom:88px}.newBox .pop-img .desprite_zyyl[data-v-2828bc7c]{width:715px;height:360px;left:14px;bottom:60px}.newBox .pop-img .desprite_t111[data-v-2828bc7c]{width:704px;height:405px;left:26px;bottom:61px}.newBox .pop-img .desprite_500wcp[data-v-2828bc7c]{width:715px;height:360px;left:14px;bottom:60px}.newBox .pop-img .desprite_478qp[data-v-2828bc7c],.newBox .pop-img .desprite_632qp[data-v-2828bc7c],.newBox .pop-img .desprite_839qp[data-v-2828bc7c],.newBox .pop-img .desprite_935qp[data-v-2828bc7c],.newBox .pop-img .desprite_hqyl[data-v-2828bc7c],.newBox .pop-img .desprite_jltx[data-v-2828bc7c],.newBox .pop-img .desprite_jsyl[data-v-2828bc7c],.newBox .pop-img .desprite_tycjt[data-v-2828bc7c],.newBox .pop-img .desprite_vnso[data-v-2828bc7c],.newBox .pop-img .desprite_xpj[data-v-2828bc7c]{width:720px;height:440px;left:14px;bottom:60px}.newBox .pop-img .close[data-v-2828bc7c]{position:absolute;cursor:pointer}.newBox .pop-img .close_blr[data-v-2828bc7c]{width:150px;height:35px;left:218px;bottom:20px}.newBox .pop-img .close_bet[data-v-2828bc7c]{width:55px;height:55px;right:6px;top:15px}.newBox .pop-img .close_js[data-v-2828bc7c]{width:65px;height:40px;right:16px;top:20px}.newBox .pop-img .close_klk[data-v-2828bc7c]{width:150px;height:35px;left:217px;bottom:22px}.newBox .pop-img .close_pj[data-v-2828bc7c]{width:55px;height:55px;right:8px;top:12px}.newBox .pop-img .close_vns[data-v-2828bc7c],.newBox .pop-img .close_vnst[data-v-2828bc7c]{width:150px;height:35px;left:230px;bottom:31px}.newBox .pop-img .close_tc[data-v-2828bc7c]{width:55px;height:55px;right:6px;top:10px}.newBox .pop-img .close_mgm[data-v-2828bc7c]{width:55px;height:55px;right:8px;top:12px}.newBox .pop-img .close_ecp[data-v-2828bc7c],.newBox .pop-img .close_eyc[data-v-2828bc7c],.newBox .pop-img .close_fczx[data-v-2828bc7c],.newBox .pop-img .close_jhcp[data-v-2828bc7c],.newBox .pop-img .close_ly88[data-v-2828bc7c],.newBox .pop-img .close_szc[data-v-2828bc7c]{width:55px;height:55px;right:13px;top:10px}.newBox .pop-img .close_sjcp[data-v-2828bc7c]{width:55px;height:55px;right:8px;top:10px}.newBox .pop-img .close_wycp[data-v-2828bc7c]{width:55px;height:55px;right:13px;top:10px}.newBox .pop-img .close_pjyl[data-v-2828bc7c]{width:55px;height:55px;right:8px;top:10px}.newBox .pop-img .close_500wcp[data-v-2828bc7c],.newBox .pop-img .close_t111[data-v-2828bc7c],.newBox .pop-img .close_ybcp[data-v-2828bc7c],.newBox .pop-img .close_zyyl[data-v-2828bc7c]{width:55px;height:55px;right:13px;top:10px}.newBox .pop-img .close_hqyl[data-v-2828bc7c],.newBox .pop-img .close_jsyl[data-v-2828bc7c],.newBox .pop-img .close_tycjt[data-v-2828bc7c]{width:55px;height:55px;right:6px;top:10px}.newBox .pop-img .close_vnso[data-v-2828bc7c]{width:60px;height:55px;right:20px;top:10px}.newBox .pop-img .close_478qp[data-v-2828bc7c],.newBox .pop-img .close_632qp[data-v-2828bc7c],.newBox .pop-img .close_839qp[data-v-2828bc7c],.newBox .pop-img .close_935qp[data-v-2828bc7c],.newBox .pop-img .close_jltx[data-v-2828bc7c],.newBox .pop-img .close_xpj[data-v-2828bc7c]{width:55px;height:55px;right:6px;top:10px}.newBox .pop_js[data-v-2828bc7c]{width:740px;height:580px}.newBox .pop_bet[data-v-2828bc7c]{width:680px;height:540px}.newBox .pop_blr[data-v-2828bc7c],.newBox .pop_klk[data-v-2828bc7c]{width:587px;height:434px}.newBox .pop_pj[data-v-2828bc7c]{width:748px;height:588px}.newBox .pop_478qp[data-v-2828bc7c],.newBox .pop_632qp[data-v-2828bc7c],.newBox .pop_839qp[data-v-2828bc7c],.newBox .pop_935qp[data-v-2828bc7c],.newBox .pop_vns[data-v-2828bc7c],.newBox .pop_vnst[data-v-2828bc7c]{width:611px;height:463px}.newBox .pop_500wcp[data-v-2828bc7c],.newBox .pop_ecp[data-v-2828bc7c],.newBox .pop_eyc[data-v-2828bc7c],.newBox .pop_fczx[data-v-2828bc7c],.newBox .pop_hqyl[data-v-2828bc7c],.newBox .pop_jhcp[data-v-2828bc7c],.newBox .pop_jltx[data-v-2828bc7c],.newBox .pop_jsyl[data-v-2828bc7c],.newBox .pop_ly88[data-v-2828bc7c],.newBox .pop_pjyl[data-v-2828bc7c],.newBox .pop_sjcp[data-v-2828bc7c],.newBox .pop_szc[data-v-2828bc7c],.newBox .pop_t111[data-v-2828bc7c],.newBox .pop_tc[data-v-2828bc7c],.newBox .pop_tycjt[data-v-2828bc7c],.newBox .pop_vnso[data-v-2828bc7c],.newBox .pop_wycp[data-v-2828bc7c],.newBox .pop_ybcp[data-v-2828bc7c],.newBox .pop_zyyl[data-v-2828bc7c]{width:740px;height:580px}.newBox .pop_mgm[data-v-2828bc7c],.newBox .pop_xpj[data-v-2828bc7c]{width:748px;height:588px}.mcBox[data-v-2828bc7c]{width:100%;height:100%;background-color:rgba(0,0,0,.6);position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;z-index:10001;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.mcBox .cellSpan[data-v-2828bc7c]{display:inline-block;vertical-align:middle;height:100%}.mcBox .cellContent[data-v-2828bc7c]{position:relative;display:inline-block;vertical-align:middle}.mcBox .cellContent .mcX[data-v-2828bc7c]{width:50px;height:50px;position:absolute;right:0;top:0;cursor:pointer;font-size:40px;color:#000}", ""]); // exports /***/ }), /***/ "QxDY": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".free-money .header[data-v-0ba8d37d]{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:70px;font-weight:400;cursor:pointer;margin-left:14px}.free-money .borrow-content[data-v-0ba8d37d]{background:#fff;padding-top:20px}.free-money .borrow-content .borrow-input[data-v-0ba8d37d]{width:960px;height:180px;background:#eee;border-radius:10px;margin:auto}.free-money .borrow-content .borrow-input p[data-v-0ba8d37d]{color:#000;font-size:17px;height:60px;line-height:60px;padding-left:25px;border-bottom:1px solid #fff}.free-money .borrow-content .borrow-input p span[data-v-0ba8d37d]{font-size:17px;color:red}.free-money .borrow-content .borrow-input>span[data-v-0ba8d37d]{font-size:24px;display:inline-block;width:65px;text-align:center;height:60px;line-height:60px;color:#000}.free-money .borrow-content .borrow-input>span[data-v-0ba8d37d]:last-child{font-size:17px;color:#ff496d}.free-money .borrow-content .borrow-input input[data-v-0ba8d37d]{height:35px;width:830px;border:none;background:#eee;font-size:16px;outline:none;text-indent:8px;position:relative;top:-3px;left:-10px}.free-money .borrow-content .day[data-v-0ba8d37d]{text-align:center;color:#bcbcbc;font-size:16px;margin:15px 34px 15px 0}.free-money .borrow-content .confirm[data-v-0ba8d37d]{width:398px;margin:0 auto;padding-top:40px}.free-money .borrow-content .confirm button[data-v-0ba8d37d]{width:398px;height:60px;background:#ff4b6c;border-radius:10px;color:#f5f5f5;line-height:60px;text-align:center;outline:none;border:none;font-size:22px}", ""]); // exports /***/ }), /***/ "QznK": /***/ (function(module, exports, __webpack_require__) { "use strict"; var collection = __webpack_require__("jaFP"); var collectionStrong = __webpack_require__("Y9Os"); // `Map` constructor // https://tc39.es/ecma262/#sec-map-objects collection('Map', function (init) { return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; }, collectionStrong); /***/ }), /***/ "R23n": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./src/service/public/service.js var service = __webpack_require__("LjVS"); // EXTERNAL MODULE: ./src/pages/public/user/register_copy.js var register_copy = __webpack_require__("ySO2"); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/smsInput.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var smsInput = ({ // mixins: [data], model: { prop: 'smsCode', event: 'parent-event' }, props: { /* 以下是å˜é‡ */ qygj: { type: String, default: function _default() { return ''; } }, smsCode: String, isShowSms: { type: Boolean, default: function _default() { return false; } }, hasSendMsg: { type: Boolean, default: function _default() { return false; } }, countDownTime: { type: Number, default: function _default() { return 60; } }, /* ä»¥ä¸‹æ˜¯æ ·å¼ */ smsInputBox: { type: Object, default: function _default() { return {}; } }, smsCodeWrapper: { type: Object, default: function _default() { return {}; } }, paddingBottom2: { type: String, default: function _default() { return ''; } }, curLabel: { type: Object, default: function _default() { return {}; } }, star: { type: Object, default: function _default() { return {}; } }, inputBox: { type: Object, default: function _default() { return {}; } }, bColor: { type: String, default: function _default() { return ''; } }, msgVerifyBox: { type: Object, default: function _default() { return {}; } }, btnStyle: { type: Object, default: function _default() { return {}; } }, beforeSend: { type: Object, default: function _default() { return {}; } }, reSend: { type: Object, default: function _default() { return {}; } }, msgTip: { type: Object, default: function _default() { return {}; } }, ShowStar: { type: Boolean, default: true }, showplaceholder: { type: Boolean, default: false }, showCode: { type: Boolean, default: false } }, data: function data() { return { isGetFocus: false, isMovedIn: false }; }, methods: { getMsgCode: function getMsgCode() { this.$emit('my-event'); //点击触å‘方法,然åŽç”¨$emit触å‘my-event的自定义方法,还å¯ä»¥ä¼ 递数æ®ã€‚ }, inputMouseOver: function inputMouseOver(value) { //0: mouseover; 2: focus if (this.qygj != 'qygj' && this.qygj != 'bet365' && this.qygj != 'xpj' && this.qygj != 'vnso' && this.qygj != 'pjdc' && this.qygj != 'jltx' && this.qygj != 'mgm' && this.qygj != 'test-1') { if (value == 2) { this.isGetFocus = true; if (this.isGetFocus) { this.$refs.inputVal.style.borderColor = this.bColor; } } else { this.isGetFocus = false; this.$refs.inputVal.style.borderColor = this.bColor; } } }, inputMouseOut: function inputMouseOut(value) { if (value == 1) { //1: onmouseout; 3: blur if (this.isGetFocus) { this.$refs.inputVal.style.borderColor = this.bColor; } else { this.$refs.inputVal.style.border = this.inputBox.border; } } else { //3: blur this.$refs.inputVal.style.border = this.inputBox.border; } } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-c05acfc2","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/smsInput.vue var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"smsInputBox",style:(_vm.smsInputBox)},[_c('div',{staticClass:"smsCodeWrapper",style:([_vm.smsCodeWrapper,{paddingBottom: _vm.hasSendMsg ? '3px' :_vm.paddingBottom2}])},[(_vm.qygj == 'test-1'||_vm.qygj == 'jltx-new'||_vm.qygj == 'vnso')?_c('label',{style:(_vm.curLabel)},[_c('span',{staticClass:"star",style:(_vm.star)},[_vm._v(_vm._s(_vm.ShowStar ? '*' : '')+" ")]),_vm._v("验è¯ç :\n ")]):(_vm.qygj == '478qp')?_c('label',{style:(_vm.curLabel)},[_c('span',{staticClass:"star",style:(_vm.star)},[_vm._v(" *  ")]),_vm._v("验è¯ç \n ")]):_c('label',{staticClass:"we",style:(_vm.curLabel)},[_c('span',{staticClass:"star",style:(_vm.star)},[_vm._v(_vm._s(_vm.ShowStar ? '*' : '')+" ")]),_vm._v("验è¯ç :\n ")]),_vm._v(" "),(_vm.showplaceholder)?_c('input',{ref:"inputVal",staticClass:"validate[required,minSize[6],maxSize[6],custom[integer]] verify_input",class:_vm.qygj,style:(_vm.inputBox),attrs:{"name":"txtValidationCode2","minlength":"6","maxlength":"6","type":"text"},domProps:{"value":_vm.smsCode},on:{"input":function($event){return _vm.$emit('parent-event',$event.target.value)},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.registerTest.apply(null, arguments)},"keydown":function($event){_vm.pulicError=''},"mouseover":function($event){return _vm.inputMouseOver(0)},"mouseout":function($event){return _vm.inputMouseOut(1)},"focus":function($event){return _vm.inputMouseOver(2)},"blur":function($event){return _vm.inputMouseOut(3)}}}):_c('input',{ref:"inputVal",staticClass:"validate[required,minSize[6],maxSize[6],custom[integer]] verify_input",class:_vm.qygj,style:(_vm.inputBox),attrs:{"name":"txtValidationCode2","minlength":"6","maxlength":"6","type":"text","placeholder":"请输入验è¯ç "},domProps:{"value":_vm.smsCode},on:{"input":function($event){return _vm.$emit('parent-event',$event.target.value)},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.registerTest.apply(null, arguments)},"keydown":function($event){_vm.pulicError=''},"mouseover":function($event){return _vm.inputMouseOver(0)},"mouseout":function($event){return _vm.inputMouseOut(1)},"focus":function($event){return _vm.inputMouseOver(2)},"blur":function($event){return _vm.inputMouseOut(3)}}}),_vm._v(" "),_c('div',{style:(_vm.msgVerifyBox)},[_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.hasSendMsg),expression:"!hasSendMsg"}],style:([_vm.btnStyle,_vm.beforeSend]),on:{"click":_vm.getMsgCode}},[_vm._v("获å–验è¯ç ")]),_vm._v(" "),_c('a',{directives:[{name:"show",rawName:"v-show",value:(_vm.hasSendMsg),expression:"hasSendMsg"}],style:([_vm.btnStyle,_vm.reSend])},[_vm._v("é‡æ–°å‘é€("+_vm._s(_vm.countDownTime)+")")])]),_vm._v(" "),(_vm.showCode)?_c('span',{staticStyle:{"color":"#777777","position":"absolute","right":"318px","top":"11px"}},[_vm._v("请输入验è¯ç ")]):_vm._e()]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.hasSendMsg),expression:"hasSendMsg"}],style:(_vm.msgTip)},[_vm._v("验è¯ç å·²å‘é€,5分钟内有效,请勿泄露")])])} var staticRenderFns = [] var esExports = { render: render, staticRenderFns: staticRenderFns } /* harmony default export */ var home_smsInput = (esExports); // CONCATENATED MODULE: ./src/pages/public/home/smsInput.vue function injectStyle (ssrContext) { __webpack_require__("EXSe") } var normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = null /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( smsInput, home_smsInput, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) /* harmony default export */ var public_home_smsInput = __webpack_exports__["a"] = (Component.exports); /***/ }), /***/ "RO0P": /***/ (function(module, exports, __webpack_require__) { const Mode = __webpack_require__("uF9H") /** * Array of characters available in alphanumeric mode * * As per QR Code specification, to each character * is assigned a value from 0 to 44 which in this case coincides * with the array index * * @type {Array} */ const ALPHA_NUM_CHARS = [ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', ' ', '$', '%', '*', '+', '-', '.', '/', ':' ] function AlphanumericData (data) { this.mode = Mode.ALPHANUMERIC this.data = data } AlphanumericData.getBitsLength = function getBitsLength (length) { return 11 * Math.floor(length / 2) + 6 * (length % 2) } AlphanumericData.prototype.getLength = function getLength () { return this.data.length } AlphanumericData.prototype.getBitsLength = function getBitsLength () { return AlphanumericData.getBitsLength(this.data.length) } AlphanumericData.prototype.write = function write (bitBuffer) { let i // Input data characters are divided into groups of two characters // and encoded as 11-bit binary codes. for (i = 0; i + 2 <= this.data.length; i += 2) { // The character value of the first character is multiplied by 45 let value = ALPHA_NUM_CHARS.indexOf(this.data[i]) * 45 // The character value of the second digit is added to the product value += ALPHA_NUM_CHARS.indexOf(this.data[i + 1]) // The sum is then stored as 11-bit binary number bitBuffer.put(value, 11) } // If the number of input data characters is not a multiple of two, // the character value of the final character is encoded as a 6-bit binary number. if (this.data.length % 2) { bitBuffer.put(ALPHA_NUM_CHARS.indexOf(this.data[i]), 6) } } module.exports = AlphanumericData /***/ }), /***/ "RVZV": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("pWbA"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("127e519b", content, true, {}); /***/ }), /***/ "RY9c": /***/ (function(module, exports) { /** * Helper class to handle QR Code symbol modules * * @param {Number} size Symbol size */ function BitMatrix (size) { if (!size || size < 1) { throw new Error('BitMatrix size must be defined and greater than 0') } this.size = size this.data = new Uint8Array(size * size) this.reservedBit = new Uint8Array(size * size) } /** * Set bit value at specified location * If reserved flag is set, this bit will be ignored during masking process * * @param {Number} row * @param {Number} col * @param {Boolean} value * @param {Boolean} reserved */ BitMatrix.prototype.set = function (row, col, value, reserved) { const index = row * this.size + col this.data[index] = value if (reserved) this.reservedBit[index] = true } /** * Returns bit value at specified location * * @param {Number} row * @param {Number} col * @return {Boolean} */ BitMatrix.prototype.get = function (row, col) { return this.data[row * this.size + col] } /** * Applies xor operator at specified location * (used during masking process) * * @param {Number} row * @param {Number} col * @param {Boolean} value */ BitMatrix.prototype.xor = function (row, col, value) { this.data[row * this.size + col] ^= value } /** * Check if bit at specified location is reserved * * @param {Number} row * @param {Number} col * @return {Boolean} */ BitMatrix.prototype.isReserved = function (row, col) { return this.reservedBit[row * this.size + col] } module.exports = BitMatrix /***/ }), /***/ "RZJG": /***/ (function(module, exports, __webpack_require__) { var shared = __webpack_require__("PmDh"); var uid = __webpack_require__("99vB"); var keys = shared('keys'); module.exports = function (key) { return keys[key] || (keys[key] = uid(key)); }; /***/ }), /***/ "SA0d": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".deposit-record[data-v-0afcab9e]{border-bottom-right-radius:15px!important;overflow:hidden}.deposit-record .content .search[data-v-0afcab9e]{height:64px;line-height:64px;padding:0 14px}.deposit-record .content .search .searchSpan[data-v-0afcab9e]{display:inline-block;width:80px;height:36px;line-height:36px;text-align:center;font-size:1.6em;font-weight:200;color:#fff;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:5px;margin-left:18px;letter-spacing:5px;cursor:pointer}.deposit-record .content .page[data-v-0afcab9e]{position:absolute;right:25px;bottom:30px}", ""]); // exports /***/ }), /***/ "SBif": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".filter[data-v-6bec435c]{width:100%;height:100%;position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;z-index:10002}.filter.dark[data-v-6bec435c]{background:rgba(0,0,0,.5)}.filter.light[data-v-6bec435c]{background:rgba(0,0,0,.4)}.box-newuser[data-v-6bec435c]{display:inline-block;margin:auto;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.box-newuser .numbers[data-v-6bec435c]{width:100%;top:0;left:0;position:absolute}.box-newuser .numbers span[data-v-6bec435c]{position:absolute}.box-newuser .numbers .freebonus[data-v-6bec435c]:after{content:\"%\"}.box-newuser .numbers .bonus[data-v-6bec435c]:after,.box-newuser .numbers .least[data-v-6bec435c]:after,.box-newuser .numbers .save[data-v-6bec435c]:after{content:\"\\5143\"}.box-newuser .buttons[data-v-6bec435c]{width:100%;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.box-newuser .buttons img[data-v-6bec435c]{cursor:pointer;margin:auto 0}.box-newuser.dark .numbers span[data-v-6bec435c]{color:#ea1a28;font-style:italic;font-weight:700}.box-newuser.dark .numbers span[data-v-6bec435c]:after{font-size:.75em}.box-newuser.dark .numbers .freebonus[data-v-6bec435c]{top:140px;left:382px;font-size:90px}.box-newuser.dark .numbers .save[data-v-6bec435c]{top:240px;left:216px;font-size:34px}.box-newuser.dark .numbers .bonus[data-v-6bec435c]{top:231px;left:380px;font-size:55px}.box-newuser.dark .numbers .least[data-v-6bec435c]{top:308px;left:268px;font-size:30px}.box-newuser.dark .buttons[data-v-6bec435c]{bottom:84px}.box-newuser.dark .buttons .no[data-v-6bec435c]{margin-right:16px}.box-newuser.dark .buttons .yes[data-v-6bec435c]{margin-top:6px}.box-newuser.purple .numbers span[data-v-6bec435c]{color:#ff2a2a;font-weight:700}.box-newuser.purple .numbers span[data-v-6bec435c]:after{font-size:.9em}.box-newuser.purple .numbers .freebonus[data-v-6bec435c]{top:97px;left:307px;font-size:84px}.box-newuser.purple .numbers .save[data-v-6bec435c]{top:196px;left:142px;font-size:32px}.box-newuser.purple .numbers .bonus[data-v-6bec435c]{top:183px;left:311px;font-size:59px}.box-newuser.purple .numbers .least[data-v-6bec435c]{top:259px;left:209px;font-size:24px}.box-newuser.purple .buttons[data-v-6bec435c]{bottom:30px}.box-newuser.purple .buttons .no[data-v-6bec435c]{margin-right:8px}.box-newuser.purple .buttons .yes[data-v-6bec435c]{margin-top:3px}.box-newuser.light .numbers span[data-v-6bec435c]{color:#ff3434;font-style:italic;font-weight:700}.box-newuser.light .numbers span[data-v-6bec435c]:after{font-size:.9em}.box-newuser.light .numbers .freebonus[data-v-6bec435c]{top:200px;left:260px;font-size:90px}.box-newuser.light .numbers .save[data-v-6bec435c]{top:286px;left:130px;font-size:42px}.box-newuser.light .numbers .bonus[data-v-6bec435c]{top:288px;left:310px;font-size:38px}.box-newuser.light .numbers .least[data-v-6bec435c]{top:346px;left:170px;font-size:28px}.box-newuser.light .buttons[data-v-6bec435c]{bottom:15px}.box-newuser.light .buttons .no[data-v-6bec435c]{margin-right:8px}.box-newuser.light .buttons .yes[data-v-6bec435c]{margin-top:3px}", ""]); // exports /***/ }), /***/ "SGKV": /***/ (function(module, exports, __webpack_require__) { var uncurryThis = __webpack_require__("CwQ2"); var toObject = __webpack_require__("cdvp"); var hasOwnProperty = uncurryThis({}.hasOwnProperty); // `HasOwnProperty` abstract operation // https://tc39.es/ecma262/#sec-hasownproperty // eslint-disable-next-line es-x/no-object-hasown -- safe module.exports = Object.hasOwn || function hasOwn(it, key) { return hasOwnProperty(toObject(it), key); }; /***/ }), /***/ "SIrR": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".rechargeLog[data-v-fa44008c]{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:hsla(0,8%,46%,.3);z-index:1501}.rechargeLog .rechargeContent[data-v-fa44008c]{height:447px;width:492px;background-image:url(\"/static/public/image/userImg/tc.png\");background-size:100% 100%;background-repeat:no-repeat;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.rechargeLog .rechargeContent .someMessage[data-v-fa44008c]{height:240px;width:430px;margin:100px auto;font-size:22px;line-height:45px;text-indent:1em}.rechargeLog .rechargeContent .closeLog[data-v-fa44008c]{height:40px;width:40px;cursor:pointer;position:absolute;right:5px;top:10px}", ""]); // exports /***/ }), /***/ "SKXU": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("5DoR"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("6c5872df", content, true, {}); /***/ }), /***/ "SSSG": /***/ (function(module, exports, __webpack_require__) { var getBuiltIn = __webpack_require__("VL6R"); module.exports = getBuiltIn('document', 'documentElement'); /***/ }), /***/ "Sd0T": /***/ (function(module, exports, __webpack_require__) { const ECLevel = __webpack_require__("utyv") const EC_BLOCKS_TABLE = [ // L M Q H 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 4, 1, 2, 4, 4, 2, 4, 4, 4, 2, 4, 6, 5, 2, 4, 6, 6, 2, 5, 8, 8, 4, 5, 8, 8, 4, 5, 8, 11, 4, 8, 10, 11, 4, 9, 12, 16, 4, 9, 16, 16, 6, 10, 12, 18, 6, 10, 17, 16, 6, 11, 16, 19, 6, 13, 18, 21, 7, 14, 21, 25, 8, 16, 20, 25, 8, 17, 23, 25, 9, 17, 23, 34, 9, 18, 25, 30, 10, 20, 27, 32, 12, 21, 29, 35, 12, 23, 34, 37, 12, 25, 34, 40, 13, 26, 35, 42, 14, 28, 38, 45, 15, 29, 40, 48, 16, 31, 43, 51, 17, 33, 45, 54, 18, 35, 48, 57, 19, 37, 51, 60, 19, 38, 53, 63, 20, 40, 56, 66, 21, 43, 59, 70, 22, 45, 62, 74, 24, 47, 65, 77, 25, 49, 68, 81 ] const EC_CODEWORDS_TABLE = [ // L M Q H 7, 10, 13, 17, 10, 16, 22, 28, 15, 26, 36, 44, 20, 36, 52, 64, 26, 48, 72, 88, 36, 64, 96, 112, 40, 72, 108, 130, 48, 88, 132, 156, 60, 110, 160, 192, 72, 130, 192, 224, 80, 150, 224, 264, 96, 176, 260, 308, 104, 198, 288, 352, 120, 216, 320, 384, 132, 240, 360, 432, 144, 280, 408, 480, 168, 308, 448, 532, 180, 338, 504, 588, 196, 364, 546, 650, 224, 416, 600, 700, 224, 442, 644, 750, 252, 476, 690, 816, 270, 504, 750, 900, 300, 560, 810, 960, 312, 588, 870, 1050, 336, 644, 952, 1110, 360, 700, 1020, 1200, 390, 728, 1050, 1260, 420, 784, 1140, 1350, 450, 812, 1200, 1440, 480, 868, 1290, 1530, 510, 924, 1350, 1620, 540, 980, 1440, 1710, 570, 1036, 1530, 1800, 570, 1064, 1590, 1890, 600, 1120, 1680, 1980, 630, 1204, 1770, 2100, 660, 1260, 1860, 2220, 720, 1316, 1950, 2310, 750, 1372, 2040, 2430 ] /** * Returns the number of error correction block that the QR Code should contain * for the specified version and error correction level. * * @param {Number} version QR Code version * @param {Number} errorCorrectionLevel Error correction level * @return {Number} Number of error correction blocks */ exports.getBlocksCount = function getBlocksCount (version, errorCorrectionLevel) { switch (errorCorrectionLevel) { case ECLevel.L: return EC_BLOCKS_TABLE[(version - 1) * 4 + 0] case ECLevel.M: return EC_BLOCKS_TABLE[(version - 1) * 4 + 1] case ECLevel.Q: return EC_BLOCKS_TABLE[(version - 1) * 4 + 2] case ECLevel.H: return EC_BLOCKS_TABLE[(version - 1) * 4 + 3] default: return undefined } } /** * Returns the number of error correction codewords to use for the specified * version and error correction level. * * @param {Number} version QR Code version * @param {Number} errorCorrectionLevel Error correction level * @return {Number} Number of error correction codewords */ exports.getTotalCodewordsCount = function getTotalCodewordsCount (version, errorCorrectionLevel) { switch (errorCorrectionLevel) { case ECLevel.L: return EC_CODEWORDS_TABLE[(version - 1) * 4 + 0] case ECLevel.M: return EC_CODEWORDS_TABLE[(version - 1) * 4 + 1] case ECLevel.Q: return EC_CODEWORDS_TABLE[(version - 1) * 4 + 2] case ECLevel.H: return EC_CODEWORDS_TABLE[(version - 1) * 4 + 3] default: return undefined } } /***/ }), /***/ "TQ+1": /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__("8Nt4"); var IE8_DOM_DEFINE = __webpack_require__("FdGk"); var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("8T4L"); var anObject = __webpack_require__("dkz4"); var toPropertyKey = __webpack_require__("NMaI"); var $TypeError = TypeError; // eslint-disable-next-line es-x/no-object-defineproperty -- safe var $defineProperty = Object.defineProperty; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; var ENUMERABLE = 'enumerable'; var CONFIGURABLE = 'configurable'; var WRITABLE = 'writable'; // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { anObject(O); P = toPropertyKey(P); anObject(Attributes); if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { var current = $getOwnPropertyDescriptor(O, P); if (current && current[WRITABLE]) { O[P] = Attributes.value; Attributes = { configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], writable: false }; } } return $defineProperty(O, P, Attributes); } : $defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPropertyKey(P); anObject(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }), /***/ "Tg9W": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".container[data-v-2b358ab0]{height:100%}.container[data-v-2b358ab0] .ivu-checkbox-checked .ivu-checkbox-inner{border-color:#ff9146;background-color:#ff9146}.container-payment-data[data-v-2b358ab0]{width:100%;height:100%}.container-payment-data-header[data-v-2b358ab0]{width:93%;height:66px;padding:0 15px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.container-payment-data-header .header-content[data-v-2b358ab0]{width:100%;-ms-flex-pack:justify;justify-content:space-between;font-family:Microsoft YaHei;position:relative}.container-payment-data-header .header-content-title[data-v-2b358ab0],.container-payment-data-header .header-content[data-v-2b358ab0]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.container-payment-data-header .header-content-title img[data-v-2b358ab0]{width:29px;height:29px}.container-payment-data-header .header-content-title h3[data-v-2b358ab0]{font-size:19.6px;font-weight:600;color:#333}.container-payment-data-header .header-content-hot-img[data-v-2b358ab0]{position:absolute;top:4px;left:110px;width:100px;height:24px;background-image:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px 10px 10px 0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:space-evenly;justify-content:space-evenly;color:#fff;font-size:13.3px;font-weight:500}.container-payment-data-header .header-content-hot-img[data-v-2b358ab0]:before{border-color:transparent #ff1e4f #ff1e4f transparent;border-style:solid;border-width:8px 2px;content:\"\";width:0;height:0;position:absolute;top:8px;left:-2px}.container-payment-data-header .header-content-hot-img img[data-v-2b358ab0]{width:16.7%;height:17px}.container-payment-data-header .header-content-steps[data-v-2b358ab0]{text-align:end}.container-payment-data-header .header-content-steps[data-v-2b358ab0] .el-steps{width:280px}.container-payment-data-header .header-content-steps[data-v-2b358ab0] .el-step.is-horizontal .el-step__line{top:11px;left:67px;right:-48px}.container-payment-data-header .header-content-steps[data-v-2b358ab0] .el-step__head.is-process,.container-payment-data-header .header-content-steps[data-v-2b358ab0] .el-step__head.is-wait{color:#f90;border-color:#f90}.container-payment-data-header .header-content-steps[data-v-2b358ab0] .el-step__head.is-finish{color:#fff;border-color:#f90}.container-payment-data-header .header-content-steps[data-v-2b358ab0] .el-step__head.is-finish .el-step__icon{background:#f90}.container-payment-data-header .header-content-steps[data-v-2b358ab0] .el-step__description{margin:0;padding:0;color:#848484;text-align:end}.container-payment-data-main[data-v-2b358ab0]{width:100%;padding:0 14px;border-top:1px solid #f6f6f6}.container-payment-data-main-content[data-v-2b358ab0]{padding:0 31px 0 16px}.container-payment-data-main-content .get-order-content[data-v-2b358ab0]{min-height:483px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.container-payment-data-main-content .get-order-content-money[data-v-2b358ab0]{padding-top:12px;width:40%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.container-payment-data-main-content .get-order-content-money-form[data-v-2b358ab0]{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.container-payment-data-main-content .get-order-content-money-form-name[data-v-2b358ab0]{-ms-flex-pack:justify;justify-content:space-between}.container-payment-data-main-content .get-order-content-money-form-quick_amount[data-v-2b358ab0]{-ms-flex-align:start!important;align-items:start!important}.container-payment-data-main-content .get-order-content-money-form .bar[data-v-2b358ab0]{margin-top:12px;display:-ms-flexbox;display:flex;font-size:15.6px;font-family:Microsoft YaHei;color:#696969}.container-payment-data-main-content .get-order-content-money-form .bar .input-content[data-v-2b358ab0]{width:78%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.container-payment-data-main-content .get-order-content-money-form .bar .input-content input[data-v-2b358ab0]::-webkit-input-placeholder{text-indent:0}.container-payment-data-main-content .get-order-content-money-form .bar .input-content .save-name[data-v-2b358ab0]{height:32px;line-height:32px;font-size:15.6px}.container-payment-data-main-content .get-order-content-money-form .bar .input-content .ivu-radio-group[data-v-2b358ab0]{display:-ms-grid;display:grid;-ms-grid-columns:(70px)[4];grid-template-columns:repeat(4,70px);grid-gap:8px 2px}.container-payment-data-main-content .get-order-content-money-form .bar .input-content .ivu-radio-wrapper[data-v-2b358ab0]{margin-right:0;display:-ms-flexbox;display:flex}.container-payment-data-main-content .get-order-content-money-form .bar .input-content .ivu-radio-wrapper p[data-v-2b358ab0]{font-size:15.6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.container-payment-data-main-content .get-order-content-money-form .bar .text[data-v-2b358ab0]{display:inline-block;text-align:right;font-size:15.6px;height:36px;width:88px;line-height:36px;font-family:Microsoft YaHei;vertical-align:middle}.container-payment-data-main-content .get-order-content-money-form .bar input[data-v-2b358ab0]{width:256px;height:36px;background:#f5f5f5;border:none;border-radius:10px;padding-left:10px;color:#666}.container-payment-data-main-content .get-order-content-money-count[data-v-2b358ab0]{width:100%;height:43px;display:-ms-flexbox;display:flex;-ms-flex-pack:space-evenly;justify-content:space-evenly;-ms-flex-align:center;align-items:center;font-size:14px;font-family:Microsoft YaHei;color:#848484;margin-top:20px}.container-payment-data-main-content .get-order-content-money-button[data-v-2b358ab0]{width:140px;height:42px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#fff;font-size:18px;font-weight:500;border-radius:9.6px;margin:27px auto 0 88px;margin-left:88px;border:none}.container-payment-data-main-content .get-order-content-money-button[data-v-2b358ab0]:focus{outline:none}.container-payment-data-main-content .get-order-content-money .submit[data-v-2b358ab0]{background:linear-gradient(180deg,#ff3492,#ff1e4f);cursor:pointer}.container-payment-data-main-content .get-order-content-money .disable[data-v-2b358ab0]{background-color:#d8d8d8;-webkit-user-select:none;-ms-user-select:none;user-select:none}.container-payment-data-main-content .get-order-content-money .opacity30[data-v-2b358ab0]{opacity:.3}.container-payment-data-main-content .get-order-content-money-list[data-v-2b358ab0]{width:90%;margin-top:32px}.container-payment-data-main-content .get-order-content-money-list-header[data-v-2b358ab0]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;font-family:Microsoft YaHei;border-bottom:1px solid #eee;padding-bottom:10px}.container-payment-data-main-content .get-order-content-money-list-header-title[data-v-2b358ab0]{font-size:15.7px;color:#696969}.container-payment-data-main-content .get-order-content-money-list-header-refresh[data-v-2b358ab0]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border:0;background:#fff}.container-payment-data-main-content .get-order-content-money-list-header-refresh[data-v-2b358ab0]:focus{outline:none}.container-payment-data-main-content .get-order-content-money-list-header-refresh img[data-v-2b358ab0]{height:16px;width:16px;margin-right:5px}.container-payment-data-main-content .get-order-content-money-list-header-refresh span[data-v-2b358ab0]{font-size:13.2px;color:#f90;cursor:pointer}.container-payment-data-main-content .get-order-content-money-list-content[data-v-2b358ab0]{max-height:180px;overflow:auto}.container-payment-data-main-content .get-order-content-money-list-content li[data-v-2b358ab0]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:50px;border-bottom:1px solid #eee}.container-payment-data-main-content .get-order-content-money-list-content li .content-title[data-v-2b358ab0]{font-family:Microsoft YaHei;font-size:20px;color:#414655}.container-payment-data-main-content .get-order-content-money-list-content li .content-operate[data-v-2b358ab0]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.container-payment-data-main-content .get-order-content-money-list-content li .content-operate-interval[data-v-2b358ab0]{width:45px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.container-payment-data-main-content .get-order-content-money-list-content li .content-operate-interval img[data-v-2b358ab0]{width:18px;height:18px}.container-payment-data-main-content .get-order-content-money-list-content li .content-operate-interval span[data-v-2b358ab0]{font-family:Microsoft YaHei;font-size:15.6px;color:#414655}.container-payment-data-main-content .get-order-content-money-list-content li .content-operate-button[data-v-2b358ab0]{width:80px;height:30px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:8.3px;cursor:pointer;margin-left:10px}.container-payment-data-main-content .get-order-content-money-list-content li .content-operate-not-selected[data-v-2b358ab0]{color:#ff1e4f;background:#fff;border:1px solid #ff1e4f}.container-payment-data-main-content .get-order-content-money-list-content li .content-operate-selected[data-v-2b358ab0]{color:#fff;background:linear-gradient(180deg,#ff3492,#ff1e4f);border:none}.container-payment-data-main-content .get-order-content-money-no-data[data-v-2b358ab0]{margin-top:32px;font-family:Microsoft YaHei;font-size:16px;color:#414655}.container-payment-data-main-content .get-order-content-money-no-data .title[data-v-2b358ab0]{text-align:center;color:#696969;margin-top:10px;margin-bottom:40px}.container-payment-data-main-content .get-order-content-money-no-data .detial[data-v-2b358ab0]{line-height:24px;text-align:center}.container-payment-data-main-content .get-order-content-money-no-data .special[data-v-2b358ab0]{color:#fd3332}.container-payment-data-main-content .get-order-content-info[data-v-2b358ab0]{width:55%;padding:21px 0 10px}.container-payment-data-main-content .get-order-content-info-header[data-v-2b358ab0]{font-family:Microsoft YaHei;font-size:16px;color:#f90;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.container-payment-data-main-content .get-order-content-info-main[data-v-2b358ab0]{padding:0 8px;border-radius:10px;border:1px solid #ff9901;margin:15px 0}.container-payment-data-main-content .get-order-content-info-main .main-header[data-v-2b358ab0]{padding:8px 11px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-family:Microsoft YaHei;border-bottom:1px solid #f4f4f4}.container-payment-data-main-content .get-order-content-info-main .main-header-deposit[data-v-2b358ab0]{display:-ms-flexbox;display:flex;margin-right:20px}.container-payment-data-main-content .get-order-content-info-main .main-header-deposit-money[data-v-2b358ab0]{font-size:30.4px}.container-payment-data-main-content .get-order-content-info-main .main-header-deposit-unit[data-v-2b358ab0]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:25px}.container-payment-data-main-content .get-order-content-info-main .main-header-arbitration[data-v-2b358ab0]{font-size:16px;color:#f23d3d}.container-payment-data-main-content .get-order-content-info-main .main-header-tips[data-v-2b358ab0]{font-size:12px;color:#696969}.container-payment-data-main-content .get-order-content-info-main .main-header-tips.finish[data-v-2b358ab0]{margin-left:auto;font-size:16px}.container-payment-data-main-content .get-order-content-info-main .main-card-info[data-v-2b358ab0]{padding:8px 0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.container-payment-data-main-content .get-order-content-info-main .main-card-info-content[data-v-2b358ab0]{width:380px;height:190px;border-radius:23px;padding:18px 20px;padding-top:20px;position:relative}.container-payment-data-main-content .get-order-content-info-main .main-card-info-content .card-info-copy[data-v-2b358ab0]{width:15px;height:15px;margin-left:8px;cursor:pointer}.container-payment-data-main-content .get-order-content-info-main .main-card-info-content-bank[data-v-2b358ab0]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:30px}.container-payment-data-main-content .get-order-content-info-main .main-card-info-content-bank div[data-v-2b358ab0]{font-size:1.6em;color:#fff;margin-left:50px}.container-payment-data-main-content .get-order-content-info-main .main-card-info-content-account[data-v-2b358ab0]{height:100px;line-height:100px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.container-payment-data-main-content .get-order-content-info-main .main-card-info-content-account p[data-v-2b358ab0]{font-size:2.6em;color:#fff}.container-payment-data-main-content .get-order-content-info-main .main-card-info-content-name[data-v-2b358ab0]{height:36px;line-height:36px}.container-payment-data-main-content .get-order-content-info-main .main-card-info-content-name div[data-v-2b358ab0]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:1.4em;color:#fff}.container-payment-data-main-content .get-order-content-info-main .main-operate[data-v-2b358ab0]{display:-ms-flexbox;display:flex;height:104px}.container-payment-data-main-content .get-order-content-info-main .main-operate-arbitration[data-v-2b358ab0]{width:110px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:space-evenly;justify-content:space-evenly}.container-payment-data-main-content .get-order-content-info-main .main-operate-arbitration-button[data-v-2b358ab0]{width:100%;height:45px;font-size:15.5px;border-radius:5px}.container-payment-data-main-content .get-order-content-info-main .main-operate-arbitration-not-disable[data-v-2b358ab0]{color:#f90;border:1px solid #f90;background:#fff;cursor:pointer}.container-payment-data-main-content .get-order-content-info-main .main-operate-arbitration-disable[data-v-2b358ab0]{border:1px solid #ddd;background-color:#f0f0f0;color:#696969;cursor:not-allowed}.container-payment-data-main-content .get-order-content-info-main .main-operate-arbitration span[data-v-2b358ab0]{width:100%;font-size:12.5px;color:#848484;text-align:center;line-height:15px}.container-payment-data-main-content .get-order-content-info-submit[data-v-2b358ab0]{font-size:15.5px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative}.container-payment-data-main-content .get-order-content-info-submit .voucher-discount[data-v-2b358ab0]{position:absolute;right:60px;top:-18px;padding:0 10px;height:24px;background-image:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px 10px 10px 0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:space-evenly;justify-content:space-evenly;color:#fff;font-size:13.3px;font-weight:500;pointer-events:none}.container-payment-data-main-content .get-order-content-info-submit .cancel-button[data-v-2b358ab0]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:#f90;border-radius:5px;border:1px solid #f90;margin-right:12px;cursor:pointer;height:44px}.container-payment-data-main-content .get-order-content-info-submit .confirm-button[data-v-2b358ab0]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:#fff;background:#f90;border-radius:5px;cursor:pointer;height:44px}.container-payment-data-main-content .get-order-content-info-submit .small-button[data-v-2b358ab0]{width:186px}.container-payment-data-main-content .get-order-content-info-submit .big-button[data-v-2b358ab0]{width:385px}.container-payment-data-main-content-footer[data-v-2b358ab0]{padding-top:10px;padding-left:20px;display:-ms-flexbox;display:flex;border-top:1px solid #e0e0e0;font-family:Microsoft YaHei;font-size:14px;line-height:1.71;color:#fd3332}.container-payment-data-main-content-footer-content[data-v-2b358ab0]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.container-no-payment-data img[data-v-2b358ab0]{display:block;margin:200px auto}.container .ivu-radio-group[data-v-2b358ab0]{margin-left:0}.container .ivu-radio-group img[data-v-2b358ab0]{width:106px;height:20px}[data-v-2b358ab0] .ivu-modal-mask,[data-v-2b358ab0] .ivu-modal-wrap{z-index:2000}[data-v-2b358ab0] .ivu-modal-content{border-radius:12px}[data-v-2b358ab0] .ivu-modal-footer{padding:0;border-top:1px solid #f90}[data-v-2b358ab0] .ivu-modal-body{padding:22px 0}.press-modal.center[data-v-2b358ab0] .ivu-modal{top:0}.press-modal.center[data-v-2b358ab0] .ivu-modal-wrap{z-index:9999;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.press-modal-main[data-v-2b358ab0]{font-family:Microsoft YaHei;font-size:19.6px;color:#696969;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.press-modal-footer div[data-v-2b358ab0]{width:100%;height:56px;font-size:19.8px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#f90;color:#fff;border-radius:0 0 12px 12px;cursor:pointer}.cancel-modal[data-v-2b358ab0] .ivu-modal{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);animation:_scaleEnter .3s ease}.cancel-modal[data-v-2b358ab0] .ivu-modal.ease-leave-active{animation:_scaleLeave .3s ease}.cancel-modal-main[data-v-2b358ab0]{font-family:Microsoft YaHei;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.cancel-modal-main-title[data-v-2b358ab0]{font-size:19.8px;color:#424654;margin-bottom:9px}.cancel-modal-main-tip[data-v-2b358ab0]{font-size:15.5px;color:#f90;padding:0 25px}.cancel-modal-main-tip.credential[data-v-2b358ab0]{font-size:16px;text-align:center;color:#414655}.cancel-modal-main-count[data-v-2b358ab0]{font-size:16px;color:#414655;margin:15px 0}.cancel-modal-main-count span[data-v-2b358ab0]{color:#fd3332}.cancel-modal-main-reason[data-v-2b358ab0]{font-size:14px;color:#fd3332}.cancel-modal-main[data-v-2b358ab0] .ivu-radio-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;padding:0 24px}.cancel-modal-main[data-v-2b358ab0] .ivu-radio-group-button .ivu-radio-wrapper:first-child{border-radius:5px;border:1px solid #848484}.cancel-modal-main[data-v-2b358ab0] .ivu-radio-group-button .ivu-radio-wrapper{border-radius:5px;border:1px solid #848484;position:static;padding:0;margin-top:10px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;font-size:14px;color:#848484}.cancel-modal-main[data-v-2b358ab0] .ivu-radio-group-button .ivu-radio-wrapper:last-child{border-radius:5px;border:1px solid #848484}.cancel-modal-main[data-v-2b358ab0] .ivu-radio-wrapper{position:static}.cancel-modal-main[data-v-2b358ab0] .ivu-radio-group-button .ivu-radio-wrapper-checked{background-color:orange;color:#fff;box-shadow:none;border:1px solid orange!important}.cancel-modal-main .ivu-radio-group-button .ivu-radio-wrapper[data-v-2b358ab0]:before,.cancel-modal-main[data-v-2b358ab0] .ivu-radio-group-button .ivu-radio-wrapper:after{width:0}.cancel-modal-footer[data-v-2b358ab0]{display:-ms-flexbox;display:flex}.cancel-modal-footer div[data-v-2b358ab0]{width:50%;height:56px;font-size:19.8px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#f90;cursor:pointer}.cancel-modal-footer-cancel[data-v-2b358ab0]{border-radius:0 0 0 10px;color:#996002;border-right:.5px solid #fff}.cancel-modal-footer-submit[data-v-2b358ab0]{border-radius:0 0 10px 0;color:#fff;border-left:.5px solid #fff}.arbitration-modal-main[data-v-2b358ab0]{font-family:Microsoft YaHei;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.arbitration-modal-main-title[data-v-2b358ab0]{font-size:19.8px;color:#424654;margin-bottom:9px}.arbitration-modal-main textarea[data-v-2b358ab0]{width:90%;height:150px;border-radius:5px;border:1px solid #848484;outline:none;padding:10px;font-size:14px;resize:none}.arbitration-modal-footer[data-v-2b358ab0]{display:-ms-flexbox;display:flex}.arbitration-modal-footer div[data-v-2b358ab0]{width:50%;height:56px;font-size:19.8px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#f90;cursor:pointer}.arbitration-modal-footer-cancel[data-v-2b358ab0]{border-radius:0 0 0 10px;color:#996002;border-right:.5px solid #fff}.arbitration-modal-footer-submit[data-v-2b358ab0]{border-radius:0 0 10px 0;color:#fff;border-left:.5px solid #fff}.reward-modal[data-v-2b358ab0] .ivu-modal{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);animation:_scaleEnter .3s ease}.reward-modal[data-v-2b358ab0] .ivu-modal.ease-leave-active{animation:_scaleLeave .3s ease}.reward-modal[data-v-2b358ab0] .ivu-modal-content{border-radius:12px}.reward-modal-main[data-v-2b358ab0]{font-family:Microsoft YaHei;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.reward-modal-main-title[data-v-2b358ab0]{font-size:19.8px;color:#424654;margin-bottom:9px;white-space:pre-line;padding:0 16px}.reward-modal-main-title[data-v-2b358ab0]:last-child{margin-bottom:0}.reward-modal-main-tip[data-v-2b358ab0]{font-size:15.5px;color:#f90;padding:0 25px}.reward-modal-main-tip.credential[data-v-2b358ab0]{font-size:16px;text-align:center;color:#414655}.reward-modal-main-count[data-v-2b358ab0]{font-size:16px;color:#414655;margin:15px 0}.reward-modal-main-count span[data-v-2b358ab0]{color:#fd3332}.reward-modal-main-reason[data-v-2b358ab0]{font-size:14px;color:#fd3332}.reward-modal-main[data-v-2b358ab0] .ivu-radio-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;padding:0 24px}.reward-modal-main[data-v-2b358ab0] .ivu-radio-group-button .ivu-radio-wrapper:first-child{border-radius:5px;border:1px solid #848484}.reward-modal-main[data-v-2b358ab0] .ivu-radio-group-button .ivu-radio-wrapper{border-radius:5px;border:1px solid #848484;position:static;padding:0;margin-top:10px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;font-size:14px;color:#848484}.reward-modal-main[data-v-2b358ab0] .ivu-radio-group-button .ivu-radio-wrapper:last-child{border-radius:5px;border:1px solid #848484}.reward-modal-main[data-v-2b358ab0] .ivu-radio-wrapper{position:static}.reward-modal-main[data-v-2b358ab0] .ivu-radio-group-button .ivu-radio-wrapper-checked{background-color:orange;color:#fff;box-shadow:none;border:1px solid orange!important}.reward-modal-main .ivu-radio-group-button .ivu-radio-wrapper[data-v-2b358ab0]:before,.reward-modal-main[data-v-2b358ab0] .ivu-radio-group-button .ivu-radio-wrapper:after{width:0}.reward-modal-footer[data-v-2b358ab0]{display:-ms-flexbox;display:flex}.reward-modal-footer div[data-v-2b358ab0]{width:100%;height:56px;font-size:19.8px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#f90;cursor:pointer}.reward-modal-footer-submit[data-v-2b358ab0]{border-radius:0 0 10px 10px;color:#fff}", ""]); // exports /***/ }), /***/ "TmV0": /***/ (function(module, exports, __webpack_require__) { __webpack_require__("fZOM"); module.exports = __webpack_require__("FeBl").Object.values; /***/ }), /***/ "U6SD": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".TplFloatSet[data-v-7d96c613]{position:absolute;top:170px;z-index:1000;width:160px;transition:all .3s ease}.TplFloatSet#TplFloatPic_0[data-v-7d96c613]{left:3px}.TplFloatSet#TplFloatPic_0 .jiebei[data-v-7d96c613]{position:absolute;width:133px;height:108px;top:0;left:5px}.TplFloatSet#TplFloatPic_0 .dz[data-v-7d96c613]{width:140px;position:absolute;height:25px;left:19px;top:31px;cursor:pointer}.TplFloatSet#TplFloatPic_0 .dz span[data-v-7d96c613]{width:46px;height:25px;display:block;float:left}.TplFloatSet#TplFloatPic_0 .hot-btn[data-v-7d96c613]{position:absolute;width:142px;height:288px;top:124px;left:11px;cursor:pointer}.TplFloatSet#TplFloatPic_0 .hot-btn span[data-v-7d96c613]{display:block;height:45px}.TplFloatSet#TplFloatPic_1[data-v-7d96c613]{right:7px}.TplFloatSet#TplFloatPic_1 .kefu-btn[data-v-7d96c613]{position:absolute;width:145px;height:45px;display:block;top:122px;left:11px;cursor:pointer}.TplFloatSet#TplFloatPic_1 .register-btn[data-v-7d96c613]{position:absolute;width:140px;height:86px;top:70px;left:0}.TplFloatSet#TplFloatPic_1 .transfer[data-v-7d96c613]{position:absolute;width:145px;height:45px;display:block;top:180px;left:11px;cursor:pointer}.TplFloatSet#TplFloatPic_1 .jiebei[data-v-7d96c613]{position:absolute;width:145px;height:45px;display:block;top:240px;left:11px;cursor:pointer}.TplFloatSet#TplFloatPic_1 .jiance[data-v-7d96c613]{position:absolute;width:145px;height:45px;display:block;top:300px;left:11px;cursor:pointer}.TplFloatSet#TplFloatPic_1 .download[data-v-7d96c613]{display:block;width:142px;height:26px;position:absolute;top:212px}.TplFloatSet#TplFloatPic_1 .codebox[data-v-7d96c613]{display:block;width:108px;height:108px;background:#fff;padding:4px;position:absolute;left:61%;transform:translateX(-50%);bottom:32px;text-align:center}.TplFloatSet .close-btn[data-v-7d96c613]{position:absolute;width:26px;height:26px;top:8px;left:142px;cursor:pointer}.TplFloatSet .close-btn1[data-v-7d96c613]{position:absolute;width:40px;height:25px;top:378px;right:80px;cursor:pointer}", ""]); // exports /***/ }), /***/ "UZ5h": /***/ (function(module, exports, __webpack_require__) { "use strict"; // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. var punycode = __webpack_require__("xCWu"); var util = __webpack_require__("qOJP"); exports.parse = urlParse; exports.resolve = urlResolve; exports.resolveObject = urlResolveObject; exports.format = urlFormat; exports.Url = Url; function Url() { this.protocol = null; this.slashes = null; this.auth = null; this.host = null; this.port = null; this.hostname = null; this.hash = null; this.search = null; this.query = null; this.pathname = null; this.path = null; this.href = null; } // Reference: RFC 3986, RFC 1808, RFC 2396 // define these here so at least they only have to be // compiled once on the first module load. var protocolPattern = /^([a-z0-9.+-]+:)/i, portPattern = /:[0-9]*$/, // Special case for a simple path URL simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, // RFC 2396: characters reserved for delimiting URLs. // We actually just auto-escape these. delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'], // RFC 2396: characters not allowed for various reasons. unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims), // Allowed by RFCs, but cause of XSS attacks. Always escape these. autoEscape = ['\''].concat(unwise), // Characters that are never ever allowed in a hostname. // Note that any invalid chars are also handled, but these // are the ones that are *expected* to be seen, so we fast-path // them. nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape), hostEndingChars = ['/', '?', '#'], hostnameMaxLen = 255, hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/, hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, // protocols that can allow "unsafe" and "unwise" chars. unsafeProtocol = { 'javascript': true, 'javascript:': true }, // protocols that never have a hostname. hostlessProtocol = { 'javascript': true, 'javascript:': true }, // protocols that always contain a // bit. slashedProtocol = { 'http': true, 'https': true, 'ftp': true, 'gopher': true, 'file': true, 'http:': true, 'https:': true, 'ftp:': true, 'gopher:': true, 'file:': true }, querystring = __webpack_require__("1nuA"); function urlParse(url, parseQueryString, slashesDenoteHost) { if (url && util.isObject(url) && url instanceof Url) return url; var u = new Url; u.parse(url, parseQueryString, slashesDenoteHost); return u; } Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { if (!util.isString(url)) { throw new TypeError("Parameter 'url' must be a string, not " + typeof url); } // Copy chrome, IE, opera backslash-handling behavior. // Back slashes before the query string get converted to forward slashes // See: https://code.google.com/p/chromium/issues/detail?id=25916 var queryIndex = url.indexOf('?'), splitter = (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#', uSplit = url.split(splitter), slashRegex = /\\/g; uSplit[0] = uSplit[0].replace(slashRegex, '/'); url = uSplit.join(splitter); var rest = url; // trim before proceeding. // This is to support parse stuff like " http://foo.com \n" rest = rest.trim(); if (!slashesDenoteHost && url.split('#').length === 1) { // Try fast path regexp var simplePath = simplePathPattern.exec(rest); if (simplePath) { this.path = rest; this.href = rest; this.pathname = simplePath[1]; if (simplePath[2]) { this.search = simplePath[2]; if (parseQueryString) { this.query = querystring.parse(this.search.substr(1)); } else { this.query = this.search.substr(1); } } else if (parseQueryString) { this.search = ''; this.query = {}; } return this; } } var proto = protocolPattern.exec(rest); if (proto) { proto = proto[0]; var lowerProto = proto.toLowerCase(); this.protocol = lowerProto; rest = rest.substr(proto.length); } // figure out if it's got a host // user@server is *always* interpreted as a hostname, and url // resolution will treat //foo/bar as host=foo,path=bar because that's // how the browser resolves relative URLs. if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) { var slashes = rest.substr(0, 2) === '//'; if (slashes && !(proto && hostlessProtocol[proto])) { rest = rest.substr(2); this.slashes = true; } } if (!hostlessProtocol[proto] && (slashes || (proto && !slashedProtocol[proto]))) { // there's a hostname. // the first instance of /, ?, ;, or # ends the host. // // If there is an @ in the hostname, then non-host chars *are* allowed // to the left of the last @ sign, unless some host-ending character // comes *before* the @-sign. // URLs are obnoxious. // // ex: // http://a@b@c/ => user:a@b host:c // http://a@b?@c => user:a host:c path:/?@c // v0.12 TODO(isaacs): This is not quite how Chrome does things. // Review our test case against browsers more comprehensively. // find the first instance of any hostEndingChars var hostEnd = -1; for (var i = 0; i < hostEndingChars.length; i++) { var hec = rest.indexOf(hostEndingChars[i]); if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec; } // at this point, either we have an explicit point where the // auth portion cannot go past, or the last @ char is the decider. var auth, atSign; if (hostEnd === -1) { // atSign can be anywhere. atSign = rest.lastIndexOf('@'); } else { // atSign must be in auth portion. // http://a@b/c@d => host:b auth:a path:/c@d atSign = rest.lastIndexOf('@', hostEnd); } // Now we have a portion which is definitely the auth. // Pull that off. if (atSign !== -1) { auth = rest.slice(0, atSign); rest = rest.slice(atSign + 1); this.auth = decodeURIComponent(auth); } // the host is the remaining to the left of the first non-host char hostEnd = -1; for (var i = 0; i < nonHostChars.length; i++) { var hec = rest.indexOf(nonHostChars[i]); if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec; } // if we still have not hit it, then the entire thing is a host. if (hostEnd === -1) hostEnd = rest.length; this.host = rest.slice(0, hostEnd); rest = rest.slice(hostEnd); // pull out port. this.parseHost(); // we've indicated that there is a hostname, // so even if it's empty, it has to be present. this.hostname = this.hostname || ''; // if hostname begins with [ and ends with ] // assume that it's an IPv6 address. var ipv6Hostname = this.hostname[0] === '[' && this.hostname[this.hostname.length - 1] === ']'; // validate a little. if (!ipv6Hostname) { var hostparts = this.hostname.split(/\./); for (var i = 0, l = hostparts.length; i < l; i++) { var part = hostparts[i]; if (!part) continue; if (!part.match(hostnamePartPattern)) { var newpart = ''; for (var j = 0, k = part.length; j < k; j++) { if (part.charCodeAt(j) > 127) { // we replace non-ASCII char with a temporary placeholder // we need this to make sure size of hostname is not // broken by replacing non-ASCII by nothing newpart += 'x'; } else { newpart += part[j]; } } // we test again with ASCII char only if (!newpart.match(hostnamePartPattern)) { var validParts = hostparts.slice(0, i); var notHost = hostparts.slice(i + 1); var bit = part.match(hostnamePartStart); if (bit) { validParts.push(bit[1]); notHost.unshift(bit[2]); } if (notHost.length) { rest = '/' + notHost.join('.') + rest; } this.hostname = validParts.join('.'); break; } } } } if (this.hostname.length > hostnameMaxLen) { this.hostname = ''; } else { // hostnames are always lower case. this.hostname = this.hostname.toLowerCase(); } if (!ipv6Hostname) { // IDNA Support: Returns a punycoded representation of "domain". // It only converts parts of the domain name that // have non-ASCII characters, i.e. it doesn't matter if // you call it with a domain that already is ASCII-only. this.hostname = punycode.toASCII(this.hostname); } var p = this.port ? ':' + this.port : ''; var h = this.hostname || ''; this.host = h + p; this.href += this.host; // strip [ and ] from the hostname // the host field still retains them, though if (ipv6Hostname) { this.hostname = this.hostname.substr(1, this.hostname.length - 2); if (rest[0] !== '/') { rest = '/' + rest; } } } // now rest is set to the post-host stuff. // chop off any delim chars. if (!unsafeProtocol[lowerProto]) { // First, make 100% sure that any "autoEscape" chars get // escaped, even if encodeURIComponent doesn't think they // need to be. for (var i = 0, l = autoEscape.length; i < l; i++) { var ae = autoEscape[i]; if (rest.indexOf(ae) === -1) continue; var esc = encodeURIComponent(ae); if (esc === ae) { esc = escape(ae); } rest = rest.split(ae).join(esc); } } // chop off from the tail first. var hash = rest.indexOf('#'); if (hash !== -1) { // got a fragment string. this.hash = rest.substr(hash); rest = rest.slice(0, hash); } var qm = rest.indexOf('?'); if (qm !== -1) { this.search = rest.substr(qm); this.query = rest.substr(qm + 1); if (parseQueryString) { this.query = querystring.parse(this.query); } rest = rest.slice(0, qm); } else if (parseQueryString) { // no query string, but parseQueryString still requested this.search = ''; this.query = {}; } if (rest) this.pathname = rest; if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) { this.pathname = '/'; } //to support http.request if (this.pathname || this.search) { var p = this.pathname || ''; var s = this.search || ''; this.path = p + s; } // finally, reconstruct the href based on what has been validated. this.href = this.format(); return this; }; // format a parsed object into a url string function urlFormat(obj) { // ensure it's an object, and not a string url. // If it's an obj, this is a no-op. // this way, you can call url_format() on strings // to clean up potentially wonky urls. if (util.isString(obj)) obj = urlParse(obj); if (!(obj instanceof Url)) return Url.prototype.format.call(obj); return obj.format(); } Url.prototype.format = function() { var auth = this.auth || ''; if (auth) { auth = encodeURIComponent(auth); auth = auth.replace(/%3A/i, ':'); auth += '@'; } var protocol = this.protocol || '', pathname = this.pathname || '', hash = this.hash || '', host = false, query = ''; if (this.host) { host = auth + this.host; } else if (this.hostname) { host = auth + (this.hostname.indexOf(':') === -1 ? this.hostname : '[' + this.hostname + ']'); if (this.port) { host += ':' + this.port; } } if (this.query && util.isObject(this.query) && Object.keys(this.query).length) { query = querystring.stringify(this.query); } var search = this.search || (query && ('?' + query)) || ''; if (protocol && protocol.substr(-1) !== ':') protocol += ':'; // only the slashedProtocols get the //. Not mailto:, xmpp:, etc. // unless they had them to begin with. if (this.slashes || (!protocol || slashedProtocol[protocol]) && host !== false) { host = '//' + (host || ''); if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname; } else if (!host) { host = ''; } if (hash && hash.charAt(0) !== '#') hash = '#' + hash; if (search && search.charAt(0) !== '?') search = '?' + search; pathname = pathname.replace(/[?#]/g, function(match) { return encodeURIComponent(match); }); search = search.replace('#', '%23'); return protocol + host + pathname + search + hash; }; function urlResolve(source, relative) { return urlParse(source, false, true).resolve(relative); } Url.prototype.resolve = function(relative) { return this.resolveObject(urlParse(relative, false, true)).format(); }; function urlResolveObject(source, relative) { if (!source) return relative; return urlParse(source, false, true).resolveObject(relative); } Url.prototype.resolveObject = function(relative) { if (util.isString(relative)) { var rel = new Url(); rel.parse(relative, false, true); relative = rel; } var result = new Url(); var tkeys = Object.keys(this); for (var tk = 0; tk < tkeys.length; tk++) { var tkey = tkeys[tk]; result[tkey] = this[tkey]; } // hash is always overridden, no matter what. // even href="" will remove it. result.hash = relative.hash; // if the relative url is empty, then there's nothing left to do here. if (relative.href === '') { result.href = result.format(); return result; } // hrefs like //foo/bar always cut to the protocol. if (relative.slashes && !relative.protocol) { // take everything except the protocol from relative var rkeys = Object.keys(relative); for (var rk = 0; rk < rkeys.length; rk++) { var rkey = rkeys[rk]; if (rkey !== 'protocol') result[rkey] = relative[rkey]; } //urlParse appends trailing / to urls like http://www.example.com if (slashedProtocol[result.protocol] && result.hostname && !result.pathname) { result.path = result.pathname = '/'; } result.href = result.format(); return result; } if (relative.protocol && relative.protocol !== result.protocol) { // if it's a known url protocol, then changing // the protocol does weird things // first, if it's not file:, then we MUST have a host, // and if there was a path // to begin with, then we MUST have a path. // if it is file:, then the host is dropped, // because that's known to be hostless. // anything else is assumed to be absolute. if (!slashedProtocol[relative.protocol]) { var keys = Object.keys(relative); for (var v = 0; v < keys.length; v++) { var k = keys[v]; result[k] = relative[k]; } result.href = result.format(); return result; } result.protocol = relative.protocol; if (!relative.host && !hostlessProtocol[relative.protocol]) { var relPath = (relative.pathname || '').split('/'); while (relPath.length && !(relative.host = relPath.shift())); if (!relative.host) relative.host = ''; if (!relative.hostname) relative.hostname = ''; if (relPath[0] !== '') relPath.unshift(''); if (relPath.length < 2) relPath.unshift(''); result.pathname = relPath.join('/'); } else { result.pathname = relative.pathname; } result.search = relative.search; result.query = relative.query; result.host = relative.host || ''; result.auth = relative.auth; result.hostname = relative.hostname || relative.host; result.port = relative.port; // to support http.request if (result.pathname || result.search) { var p = result.pathname || ''; var s = result.search || ''; result.path = p + s; } result.slashes = result.slashes || relative.slashes; result.href = result.format(); return result; } var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'), isRelAbs = ( relative.host || relative.pathname && relative.pathname.charAt(0) === '/' ), mustEndAbs = (isRelAbs || isSourceAbs || (result.host && relative.pathname)), removeAllDots = mustEndAbs, srcPath = result.pathname && result.pathname.split('/') || [], relPath = relative.pathname && relative.pathname.split('/') || [], psychotic = result.protocol && !slashedProtocol[result.protocol]; // if the url is a non-slashed url, then relative // links like ../.. should be able // to crawl up to the hostname, as well. This is strange. // result.protocol has already been set by now. // Later on, put the first path part into the host field. if (psychotic) { result.hostname = ''; result.port = null; if (result.host) { if (srcPath[0] === '') srcPath[0] = result.host; else srcPath.unshift(result.host); } result.host = ''; if (relative.protocol) { relative.hostname = null; relative.port = null; if (relative.host) { if (relPath[0] === '') relPath[0] = relative.host; else relPath.unshift(relative.host); } relative.host = null; } mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === ''); } if (isRelAbs) { // it's absolute. result.host = (relative.host || relative.host === '') ? relative.host : result.host; result.hostname = (relative.hostname || relative.hostname === '') ? relative.hostname : result.hostname; result.search = relative.search; result.query = relative.query; srcPath = relPath; // fall through to the dot-handling below. } else if (relPath.length) { // it's relative // throw away the existing file, and take the new path instead. if (!srcPath) srcPath = []; srcPath.pop(); srcPath = srcPath.concat(relPath); result.search = relative.search; result.query = relative.query; } else if (!util.isNullOrUndefined(relative.search)) { // just pull out the search. // like href='?foo'. // Put this after the other two cases because it simplifies the booleans if (psychotic) { result.hostname = result.host = srcPath.shift(); //occationaly the auth can get stuck only in host //this especially happens in cases like //url.resolveObject('mailto:local1@domain1', 'local2@domain2') var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false; if (authInHost) { result.auth = authInHost.shift(); result.host = result.hostname = authInHost.shift(); } } result.search = relative.search; result.query = relative.query; //to support http.request if (!util.isNull(result.pathname) || !util.isNull(result.search)) { result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : ''); } result.href = result.format(); return result; } if (!srcPath.length) { // no path at all. easy. // we've already handled the other stuff above. result.pathname = null; //to support http.request if (result.search) { result.path = '/' + result.search; } else { result.path = null; } result.href = result.format(); return result; } // if a url ENDs in . or .., then it must get a trailing slash. // however, if it ends in anything else non-slashy, // then it must NOT get a trailing slash. var last = srcPath.slice(-1)[0]; var hasTrailingSlash = ( (result.host || relative.host || srcPath.length > 1) && (last === '.' || last === '..') || last === ''); // strip single dots, resolve double dots to parent dir // if the path tries to go above the root, `up` ends up > 0 var up = 0; for (var i = srcPath.length; i >= 0; i--) { last = srcPath[i]; if (last === '.') { srcPath.splice(i, 1); } else if (last === '..') { srcPath.splice(i, 1); up++; } else if (up) { srcPath.splice(i, 1); up--; } } // if the path is allowed to go above the root, restore leading ..s if (!mustEndAbs && !removeAllDots) { for (; up--; up) { srcPath.unshift('..'); } } if (mustEndAbs && srcPath[0] !== '' && (!srcPath[0] || srcPath[0].charAt(0) !== '/')) { srcPath.unshift(''); } if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) { srcPath.push(''); } var isAbsolute = srcPath[0] === '' || (srcPath[0] && srcPath[0].charAt(0) === '/'); // put the host back if (psychotic) { result.hostname = result.host = isAbsolute ? '' : srcPath.length ? srcPath.shift() : ''; //occationaly the auth can get stuck only in host //this especially happens in cases like //url.resolveObject('mailto:local1@domain1', 'local2@domain2') var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false; if (authInHost) { result.auth = authInHost.shift(); result.host = result.hostname = authInHost.shift(); } } mustEndAbs = mustEndAbs || (result.host && srcPath.length); if (mustEndAbs && !isAbsolute) { srcPath.unshift(''); } if (!srcPath.length) { result.pathname = null; result.path = null; } else { result.pathname = srcPath.join('/'); } //to support request.http if (!util.isNull(result.pathname) || !util.isNull(result.search)) { result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : ''); } result.auth = relative.auth || result.auth; result.slashes = result.slashes || relative.slashes; result.href = result.format(); return result; }; Url.prototype.parseHost = function() { var host = this.host; var port = portPattern.exec(host); if (port) { port = port[0]; if (port !== ':') { this.port = port.substr(1); } host = host.substr(0, host.length - port.length); } if (host) this.hostname = host; }; /***/ }), /***/ "Ufyy": /***/ (function(module, exports, __webpack_require__) { var uncurryThis = __webpack_require__("CwQ2"); var toIntegerOrInfinity = __webpack_require__("/gFw"); var toString = __webpack_require__("lhK/"); var requireObjectCoercible = __webpack_require__("O66V"); var charAt = uncurryThis(''.charAt); var charCodeAt = uncurryThis(''.charCodeAt); var stringSlice = uncurryThis(''.slice); var createMethod = function (CONVERT_TO_STRING) { return function ($this, pos) { var S = toString(requireObjectCoercible($this)); var position = toIntegerOrInfinity(pos); var size = S.length; var first, second; if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; first = charCodeAt(S, position); return first < 0xD800 || first > 0xDBFF || position + 1 === size || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF ? CONVERT_TO_STRING ? charAt(S, position) : first : CONVERT_TO_STRING ? stringSlice(S, position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; }; }; module.exports = { // `String.prototype.codePointAt` method // https://tc39.es/ecma262/#sec-string.prototype.codepointat codeAt: createMethod(false), // `String.prototype.at` method // https://github.com/mathiasbynens/String.prototype.at charAt: createMethod(true) }; /***/ }), /***/ "UkFw": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("HYcK"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("a53b720c", content, true, {}); /***/ }), /***/ "UlyT": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("G8V+"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("7ce8b955", content, true, {}); /***/ }), /***/ "VL6R": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("jI+G"); var isCallable = __webpack_require__("ELn+"); var aFunction = function (argument) { return isCallable(argument) ? argument : undefined; }; module.exports = function (namespace, method) { return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; }; /***/ }), /***/ "VSRV": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".rotateAnimation[data-v-f7c57488]{animation:rotate360-data-v-f7c57488 1s infinite;animation-timing-function:linear}@keyframes rotate360-data-v-f7c57488{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wrap-upay[data-v-f7c57488]{width:37%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-sizing:border-box;-ms-flex-pack:justify;justify-content:space-between;padding:10px 0;margin-left:63px}.wrap-upay img[data-v-f7c57488]{width:21px}.wrap-upay .refresh-img[data-v-f7c57488]{cursor:pointer;width:16px}.wrap-upay .wrap-balance[data-v-f7c57488]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-sizing:border-box;font-size:16px;-ms-flex-pack:center;justify-content:center}.wrap-upay .wrap-balance .img-label[data-v-f7c57488]{width:20px}.wrap-upay .wrap-balance .u-money[data-v-f7c57488]{-ms-flex-pack:center;justify-content:center;font-family:D-DIN-PRO;color:#696969;margin-right:5px}.wrap-upay .buy-submit[data-v-f7c57488],.wrap-upay .wrap-balance .u-money[data-v-f7c57488]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-sizing:border-box}.wrap-upay .buy-submit[data-v-f7c57488]{height:30px;padding:2px 7px;color:#fff;font-size:12px;border-radius:7.2px;background:#fa9331;border:none;cursor:pointer}.ac[data-v-f7c57488]{background:#f90}.active[data-v-f7c57488]{border:1px solid orange}[data-v-f7c57488] .ivu-select-dropdown{max-height:210px;overflow-y:auto}.on-line[data-v-f7c57488]{padding:0 14px;height:100%;width:100%;position:relative;border-bottom:1px solid #f6f6f6}.on-line .header[data-v-f7c57488]{height:66px;padding-top:15px}.on-line .header .title[data-v-f7c57488]{padding-left:30px;height:30px;line-height:30px;padding-left:10px}.on-line .header .title img[data-v-f7c57488]{width:26px;vertical-align:middle}.on-line .header .title span[data-v-f7c57488]{font-size:16px;vertical-align:middle;padding-left:5px;padding-right:10px}.on-line .header .title span[data-v-f7c57488]:last-child{border-right:none}.on-line .content_tansfer[data-v-f7c57488]{height:100%;position:absolute;top:70px;left:0;width:100%;padding:0 14px}.on-line .content_tansfer .warning-wrap[data-v-f7c57488]{background-color:#fff}.on-line .content_tansfer .warning-wrap .warning[data-v-f7c57488]{height:40px;line-height:40px;color:#f33;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.4em;border-radius:5px}.on-line .content_tansfer .warning-wrap .warning .icon[data-v-f7c57488]{width:17px;height:17px;fill:#979797;overflow:hidden;margin-left:12px;margin-right:5px;vertical-align:middle}.on-line .content_tansfer .title[data-v-f7c57488]{padding-left:126px;padding-top:10px;min-height:66px;height:auto;display:inline-block;border-bottom:1px solid #f5f5f5;padding-bottom:10px;width:95%}.on-line .content_tansfer .title ul li[data-v-f7c57488]{font-size:16px;font-weight:200;width:125px;height:40px;float:left;line-height:40px;text-align:center}.on-line .content_tansfer .title ul li span[data-v-f7c57488]{padding:8px 20px;cursor:pointer}.on-line .content_tansfer .title ul li .spanActive[data-v-f7c57488]{background:linear-gradient(180deg,#fe8983,#f0b761);border-radius:10px;color:#fff}.on-line .content_tansfer .content-main2[data-v-f7c57488]{width:950px;border:1px solid #e1e1e1;border-radius:6px;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.on-line .content_tansfer .content-main2>div[data-v-f7c57488]{width:50%}.on-line .content_tansfer .content-main2>div[data-v-f7c57488]:first-child{box-shadow:0 2px 13px 0 rgba(0,0,0,.05)}.on-line .content_tansfer .content-main2>div:first-child .teach[data-v-f7c57488]{color:#f90;font-size:18px;text-align:center;margin-top:25px}.on-line .content_tansfer .content-main2>div:first-child .teach span[data-v-f7c57488]{display:inline-block;width:15px;height:14px;background-image:url(\"/static/public/image/userImg/square.png\");background-repeat:no-repeat;background-size:100% auto;margin-top:10px}.on-line .content_tansfer .content-main2>div[data-v-f7c57488]:last-child{padding:20px 0 10px 20px}.on-line .content_tansfer .content-main2>div:last-child p[data-v-f7c57488]{color:#000;font-size:17px;height:50px;line-height:50px}.on-line .content_tansfer .content-main2>div:last-child .bank_kind[data-v-f7c57488]{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.on-line .content_tansfer .content-main2>div:last-child .bank_kind>span[data-v-f7c57488]{display:inline-block;width:110px;height:40px;background:#f3f3f3;border:1px solid rgba(255,153,NaN,1);border-radius:10px;line-height:40px;text-align:center;color:#000;cursor:pointer;font-size:16px;overflow:hidden;margin-right:6px;margin-top:10px}.on-line .content_tansfer .content-main2>div:last-child .bank_kind>span .noeWechat img[data-v-f7c57488]{width:20px;position:relative;top:4px;left:-5px}.on-line .content_tansfer .content-main2>div:last-child .bank_kind>span span img[data-v-f7c57488]{width:20px;position:relative;top:4px}.on-line .content_tansfer .content-main2>div:last-child .bank_kind>span span .alipayName[data-v-f7c57488]{position:relative;top:0;right:4px;display:inline-block;width:70px;text-align:center}.on-line .content_tansfer .content-main2>div:last-child .bank_kind>span span .wechatName[data-v-f7c57488]{position:relative;top:0;right:4px;display:inline-block;width:70px;text-align:right}.on-line .content_tansfer .content-main2>div:last-child .customer_list[data-v-f7c57488] .bank2{width:263px;margin-top:0}.on-line .content_tansfer .content-main2>div:last-child .customer_list[data-v-f7c57488] .bank2 /deep/ .ivu-select-selection{width:263px}.on-line .content_tansfer .content-main2>div:last-child .customer_list div[data-v-f7c57488]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin-top:20px;position:relative}.on-line .content_tansfer .content-main2>div:last-child .customer_list div span[data-v-f7c57488]{display:inline-block;width:76px;color:#000;font-size:16px;margin-top:12px}.on-line .content_tansfer .content-main2>div:last-child .customer_list div input[data-v-f7c57488]{border:none;outline:none;width:262px;height:38px;background:#f5f5f5;border-radius:10px;padding-left:10px;font-size:15px}.on-line .content_tansfer .content-main2>div:last-child .customer_list div .submitPay[data-v-f7c57488]{border-top:1px solid #f3f3f3;width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(0deg,#ff1f53,#f28);border-radius:10px;margin-top:0;margin-left:125px;display:inline-block;cursor:pointer}.on-line .content_tansfer .content-main2>div:last-child .customer_list div .submitPay.actives[data-v-f7c57488]{background:linear-gradient(180deg,#ccc,#eee)}.on-line .content_tansfer .content-main2>div:last-child .customer_list div .submitPay.actives[data-v-f7c57488]:hover{cursor:not-allowed}.on-line .content_tansfer .content-main2>div:last-child .customer_list div i[data-v-f7c57488]{display:inline-block;width:40px;height:30px;background:#f90;border-radius:6px;color:#fff;position:absolute;right:120px;top:4px;line-height:30px;text-align:center;cursor:pointer}.on-line .content_tansfer .content-main2>div .slide_list[data-v-f7c57488]{height:330px;width:360px;margin:30px 50px;overflow:hidden;position:relative}.on-line .content_tansfer .content-main2>div .slide_list .slide_item[data-v-f7c57488]{width:2555px;display:-ms-flexbox;display:flex;transition:all .2s linear}.on-line .content_tansfer .content-main2>div .slide_list .slide_item p[data-v-f7c57488]{text-align:center;color:#000;margin-top:6px;font-size:15px}.on-line .content_tansfer .content-main2>div .slide_list .slide_item p span[data-v-f7c57488]{display:inline-block;width:10px;height:10px;border-radius:50%;border:1px solid #f90;margin-left:10px}.on-line .content_tansfer .content-main2>div .slide_list span[data-v-f7c57488]{display:inline-block;width:35px;height:35px;cursor:pointer}.on-line .content_tansfer .content-main2>div .slide_list .pre[data-v-f7c57488]{position:absolute;top:40%;left:0;background:url(\"/static/public/image/userImg/pre.png\") no-repeat}.on-line .content_tansfer .content-main2>div .slide_list .next[data-v-f7c57488]{background:url(\"/static/public/image/userImg/next.png\") no-repeat;position:absolute;top:40%;right:-7px}.on-line .content_tansfer .ivu-carousel-dots-inside[data-v-f7c57488]{display:none!important}.on-line .content_tansfer .carouse[data-v-f7c57488]{text-align:center;width:100%;overflow:hidden;margin:50px}.on-line .content_tansfer .carouse[data-v-f7c57488] .el-carousel{overflow-x:unset}.on-line .content_tansfer .carouse[data-v-f7c57488] .el-carousel__indicators{bottom:5px}.on-line .content_tansfer .carouse[data-v-f7c57488] .el-carousel__button{width:10px;height:10px;border-radius:50%}.on-line .content[data-v-f7c57488]{height:100%;position:absolute;top:0;left:0;width:100%;padding:0 14px}.on-line .content .title[data-v-f7c57488]{padding-left:126px;padding-top:10px;min-height:66px;height:auto;display:inline-block;border-bottom:1px solid #f5f5f5;padding-bottom:10px;width:95%}.on-line .content .title ul li[data-v-f7c57488]{font-size:16px;font-weight:200;width:125px;height:40px;float:left;line-height:40px;text-align:center}.on-line .content .title ul li span[data-v-f7c57488]{padding:8px 20px;cursor:pointer}.on-line .content .title ul li .spanActive[data-v-f7c57488]{background:linear-gradient(180deg,#fe8983,#f0b761);border-radius:10px;color:#fff}.on-line .content .content-main[data-v-f7c57488]{padding-bottom:26px;position:relative;height:540px;overflow-y:scroll}.on-line .content .content-main .discountSelect .selectOp[data-v-f7c57488]{width:220px;outline:none;border-color:transparent;background:#f5f5f5;height:38px;border-radius:10px;font-size:15px;box-shadow:inset 0 1px 10px 0 rgb(0 0 0)}.on-line .content .content-main[data-v-f7c57488] .bank2{width:263px;margin-top:0}.on-line .content .content-main[data-v-f7c57488] .bank2 /deep/ .ivu-select-selection{width:220px}.on-line .content .content-main .bar[data-v-f7c57488]{margin-top:20px}.on-line .content .content-main .bar .bank-wrap[data-v-f7c57488]{overflow:hidden;margin:20px 0}.on-line .content .content-main .bar .bank-wrap .bank[data-v-f7c57488]{width:80%;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:20px}.on-line .content .content-main .bar .bank-wrap .bank .bank-item[data-v-f7c57488]{position:relative;margin-right:15px;margin-bottom:20px;cursor:pointer;border:1px solid #aaa}.on-line .content .content-main .bar .bank-wrap .bank .bank-item .ico[data-v-f7c57488]{position:absolute;left:0;top:0;width:14px;height:14px;display:none;background-color:#fff;border-radius:100%}.on-line .content .content-main .bar .bank-wrap .bank .bank-item img[data-v-f7c57488]{width:150px;height:auto}.on-line .content .content-main .bar .bank-wrap .bank .bank-item.active[data-v-f7c57488]{animation-duration:.3s;animation-name:bounceIn-data-v-f7c57488;box-shadow:0 0 5px 2px #68a1d8}.on-line .content .content-main .bar .bank-wrap .bank .bank-item.active .ico[data-v-f7c57488]{display:block;background-image:url(\"/static/public/image/bank/selected.png\")}@keyframes bounceIn-data-v-f7c57488{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleX(1)}}.on-line .content .content-main .bar .newBank[data-v-f7c57488]{width:280px;height:130px;display:inline-block;vertical-align:middle;padding:10px 6px;font-size:#fff;border-radius:10px}.on-line .content .content-main .bar .newBank a[data-v-f7c57488]{text-decoration:underline;font-size:1em;color:#fff;margin-left:6px;font-weight:100}.on-line .content .content-main .bar .newBank .title2 img[data-v-f7c57488]{width:36px;vertical-align:middle;margin-right:25px;opacity:0}.on-line .content .content-main .bar .newBank .title2 span[data-v-f7c57488]{font-size:15px;color:#fff;vertical-align:middle}.on-line .content .content-main .bar .newBank .title2 a[data-v-f7c57488]{margin-top:10px;font-size:15px}.on-line .content .content-main .bar .newBank .row[data-v-f7c57488]{padding-top:10px;font-size:15px;color:#fff;height:25px}.on-line .content .content-main .bar .newBank .row label[data-v-f7c57488]{display:inline-block;text-align:left;margin-left:10px}.on-line .content .content-main .bar .newBank .row a[data-v-f7c57488]{font-size:15px}.on-line .content .content-main .bar .newBank .row .cardNameOv[data-v-f7c57488]{width:165px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.on-line .content .content-main .bar .inline[data-v-f7c57488]{display:inline}.on-line .content .content-main .bar .text[data-v-f7c57488]{display:inline-block;width:126px;text-align:right;font-size:15px;font-family:Microsoft YaHei;vertical-align:middle;margin-right:5px}.on-line .content .content-main .bar input[data-v-f7c57488]{height:38px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;text-align:left;text-indent:1em;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.on-line .content .content-main .bar input[data-v-f7c57488]:not(.other){width:200px;height:38px}.on-line .content .content-main .bar input .ivu-radio[data-v-f7c57488]{font-size:16px;color:#666}.on-line .content .content-main .bar input[data-v-f7c57488]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.on-line .content .content-main .bar .ivu-select[data-v-f7c57488]{width:160px}.on-line .content .content-main .bar span[data-v-f7c57488]{font-size:1.4em;vertical-align:middle}.on-line .content .content-main .bar p[data-v-f7c57488]{font-size:1.4em;vertical-align:middle;margin-top:10px}.on-line .content .content-main .bar .ivu-radio-group[data-v-f7c57488]{margin-left:30px}.on-line .content .content-main .bar .radio-group[data-v-f7c57488]{display:-ms-grid;display:grid;-ms-grid-columns:(70px)[4];grid-template-columns:repeat(4,70px);grid-gap:8px 12px}.on-line .content .content-main .bar .radio-span[data-v-f7c57488]{font-size:1.2em;font-weight:200;color:#696969}.on-line .content .content-main .bank-bar .text[data-v-f7c57488]{vertical-align:top;padding-top:15px}.on-line .content .content-main .bank-bar .ivu-radio-group[data-v-f7c57488]{width:70%;line-height:40px;margin-left:0}.on-line .content .content-main .bank-bar .ivu-radio-wrapper[data-v-f7c57488]{margin-right:20px}.on-line .content .content-main .bank-bar img[data-v-f7c57488]{vertical-align:middle}.on-line .content .submitPay[data-v-f7c57488]{border-top:1px solid #f3f3f3;width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin-top:25px;margin-left:150px;display:inline-block;cursor:pointer}.on-line .content .submitPay.active[data-v-f7c57488]{background:linear-gradient(180deg,#ccc,#eee)}.on-line .content .submitPay.active[data-v-f7c57488]:hover{cursor:not-allowed}.on-line .content .messageTip[data-v-f7c57488]{width:350px;font-size:13px;margin:10px 147px;color:#f33}.on-line .content .message[data-v-f7c57488]{width:480px;position:absolute;left:535px;bottom:-35px;font-size:14px}.on-line .content .message p[data-v-f7c57488]{margin-top:10px}.on-line .content .qrcode .bar[data-v-f7c57488]{margin-top:20px}.on-line .content .qrcode .bar .text[data-v-f7c57488]{display:inline-block;width:144px;text-align:right;font-size:1.4em;vertical-align:middle;margin-right:5px}.on-line .content .qrcode .main[data-v-f7c57488]{margin-left:210px;font-size:1.3em;margin-top:30px}.on-line .content .qrcode .main p[data-v-f7c57488]{margin-bottom:20px}.on-line .content .qrcode #qrcode[data-v-f7c57488]{width:250px;height:250px;display:inline-block;vertical-align:top}.on-line .content2 .erCode[data-v-f7c57488]{width:220px;height:220px;border:1px solid #eee;margin-top:5px;margin-left:134px}.on-line .content2 .erCode img[data-v-f7c57488]{width:100%;height:100%}.on-line .content2 .cont2-Picker[data-v-f7c57488] .ivu-select-dropdown{top:307px!important;left:298px!important}.on-line .content2 .content-main .bar[data-v-f7c57488]{padding-left:135px}.on-line .content2 .content-main .bar .tip[data-v-f7c57488]{color:#ff8e00;font-size:16px;width:220px;height:40px;line-height:40px;border:1px solid #ff8e00;display:inline-block;border-radius:2px;text-align:center}.on-line .content2 .content-main .bar input[data-v-f7c57488]:not(.other){text-indent:2px;padding-left:8px;width:220px}.on-line .content2 .content-main .submitPay[data-v-f7c57488]{margin-left:135px}.on-line .toast[data-v-f7c57488]{width:210px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:490px;top:340px;border-radius:5px;z-index:99;text-indent:1em}.on-line .toast[data-v-f7c57488]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.no-pay-tongdao img[data-v-f7c57488]{display:block;margin:200px auto}.ivu-radio-group[data-v-f7c57488]{margin-left:0}.ivu-radio-group img[data-v-f7c57488]{width:106px;height:20px}.oldmal[data-v-f7c57488] .ivu-modal-mask,.oldmal[data-v-f7c57488] .ivu-modal-wrap{z-index:2000}.oldmal[data-v-f7c57488] .ivu-modal-close{right:0}.oldmal[data-v-f7c57488] .ivu-modal-footer{border-top:none;display:none}.oldmal[data-v-f7c57488] .ivu-modal{top:50%;margin-top:-159px;height:318px}.oldmal[data-v-f7c57488] .ivu-modal-header{border-bottom:none;padding:0}.oldmal[data-v-f7c57488] .ivu-modal-close .ivu-icon-ios-close-empty{display:none}.oldmal[data-v-f7c57488] .ivu-modal-body{padding:0}.oldmal[data-v-f7c57488] .ivu-modal-close{top:3px}.oldmal .headerp[data-v-f7c57488]{text-align:center;margin-top:20px}.oldmal .tishi[data-v-f7c57488]{height:43px;line-height:43px;font-size:18px;color:565656;background-color:#e5e5e5;border-radius:6px 6px 0 0}.oldmal .tishi span[data-v-f7c57488]{margin-left:30px}.oldmal .agent-con[data-v-f7c57488]{position:relative;height:157px}.oldmal .icon-baojing[data-v-f7c57488]{font-size:45px;color:#f90}.oldmal .iconspan[data-v-f7c57488]{margin-left:82px;height:45px;line-height:45px;display:block;font-size:16px;position:relative;margin-top:40px}.oldmal .iconspan .tispan[data-v-f7c57488]{margin-left:10px;position:absolute;font-size:26px;color:#1f1f1f}.oldmal .pay[data-v-f7c57488]{display:block;position:absolute;width:160px;height:35px;background:linear-gradient(180deg,#ff3492,#ff1e4f);text-align:center;line-height:35px;color:#fff;font-size:18px;left:130px;top:80px;border-radius:10px}.oldmal .vp-admin-wrap-close[data-v-f7c57488]{width:60px;height:40px;background:#f2f2f2;border-bottom-left-radius:24px;border-top-left-radius:24px}.oldmal .vp-admin-wrap-close[data-v-f7c57488]:hover{background:linear-gradient(180deg,#ff3492,#ff1e4f)}.oldmal .vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-f7c57488]{position:relative;background:#fff;border-radius:50%;width:36px;height:36px;font-size:56px;left:2px;top:2px;transition:all .5s ease-in}.oldmal .vp-admin-wrap-close .vp-admin-wrap-close-empty a[data-v-f7c57488]{position:absolute;top:9px;left:9px;width:20px;height:20px;display:inline-block;background:url(\"/static/public/image/common/vp-common-close.png\") #fff;background-size:98% 98%}.oldmal .vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-f7c57488]:hover{transform:translateX(40%)}.newmodal[data-v-f7c57488] .ivu-modal-mask,.newmodal[data-v-f7c57488] .ivu-modal-wrap{z-index:2000}.newmodal[data-v-f7c57488] .ivu-modal-close{right:0}.newmodal[data-v-f7c57488] .ivu-modal-footer{border-top:none;padding:0;text-align:left}.newmodal[data-v-f7c57488] .ivu-modal{top:50%;margin-top:-159px;height:318px}.newmodal[data-v-f7c57488] .ivu-modal-header{border-bottom:none;padding:0}.newmodal[data-v-f7c57488] .ivu-modal-close .ivu-icon-ios-close-empty{display:none}.newmodal[data-v-f7c57488] .ivu-modal-body{padding:0}.newmodal[data-v-f7c57488] .ivu-modal-close{top:3px}.newmodal .footer[data-v-f7c57488]{height:39px;background:#d93d32;border-radius:0 0 6px 6px;display:-ms-flexbox;display:flex}.newmodal .footer span[data-v-f7c57488]{width:172.5px;height:39px;display:inline-block;color:#fff;font-size:16px;line-height:39px;text-align:center;cursor:pointer}.newmodal .footer .span1[data-v-f7c57488]{border-right:1px solid #e96057}.newmodal .headerp[data-v-f7c57488]{text-align:center;margin-top:20px}.newmodal .tishi[data-v-f7c57488]{height:50px;line-height:50px;font-size:18px;color:#fff;background-color:#403d58;border-radius:6px 6px 0 0;border-bottom:1px solid #4b495c}.newmodal .tishi span[data-v-f7c57488]{margin-left:110px;margin-top:16px;font-size:18px}.newmodal .agent-con[data-v-f7c57488]{position:relative;background-color:#403d58;height:135px;padding-top:17px}.newmodal .agent-con .showname[data-v-f7c57488]{color:#d93d32}.newmodal .agent-con .rename[data-v-f7c57488]{margin-left:27px;font-size:14px;color:#fff}.newmodal .agent-con input[data-v-f7c57488]{width:238px;height:38px;margin-left:54px;margin-top:21px;border:1px solid #6e6c7c;border-radius:3px;color:#fff;text-indent:5px}.newmodal .agent-con #inputtext[data-v-f7c57488]{background-color:#403d58}.newmodal .icon-baojing[data-v-f7c57488]{font-size:45px;color:#f90}.newmodal .iconspan[data-v-f7c57488]{margin-left:82px;height:45px;line-height:45px;display:block;font-size:16px;position:relative;margin-top:40px}.newmodal .iconspan .tispan[data-v-f7c57488]{margin-left:10px;position:absolute;font-size:26px;color:#1f1f1f}.newmodal .pay[data-v-f7c57488]{display:block;position:absolute;width:160px;height:35px;background:linear-gradient(180deg,#ff3492,#ff1e4f);text-align:center;line-height:35px;color:#fff;font-size:18px;left:130px;top:80px;border-radius:10px}.newmodal .vp-admin-wrap-close[data-v-f7c57488]{display:none;width:60px;height:40px;background:#f2f2f2;border-bottom-left-radius:24px;border-top-left-radius:24px}.newmodal .vp-admin-wrap-close[data-v-f7c57488]:hover{background:linear-gradient(180deg,#ff3492,#ff1e4f)}.newmodal .vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-f7c57488]{position:relative;background:#fff;border-radius:50%;width:36px;height:36px;font-size:56px;left:2px;top:2px;transition:all .5s ease-in}.newmodal .vp-admin-wrap-close .vp-admin-wrap-close-empty a[data-v-f7c57488]{position:absolute;top:9px;left:9px;width:20px;height:20px;display:inline-block;background:url(\"/static/public/image/common/vp-common-close.png\") #fff;background-size:98% 98%}.USDT-qrcode[data-v-f7c57488]{margin:30px 0;position:relative}.USDT-qrcode .chain-and-time[data-v-f7c57488]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:16px;width:353px;-ms-flex-pack:justify;justify-content:space-between;color:#a5a9b3}.USDT-qrcode .chain-and-time .USDT-time[data-v-f7c57488]{text-align:center}.USDT-qrcode .chain-and-time .usdt-img[data-v-f7c57488]{width:40px;margin-right:10px;margin-left:24px}.USDT-qrcode .chain-and-time .usdt-img img[data-v-f7c57488]{width:100%}.USDT-qrcode .qrcode[data-v-f7c57488]{position:relative;margin-left:118px}.USDT-qrcode .app-loading[data-v-f7c57488]{position:relative;left:18%;transform:translate(-50%,-50%);display:none}.USDT-qrcode .app-loading img[data-v-f7c57488]{width:45px;animation:loading-data-v-f7c57488 2s infinite linear reverse}.USDT-qrcode .app-loading.show[data-v-f7c57488]{display:initial}.USDT-qrcode .address[data-v-f7c57488]{width:400px;font-size:16px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.USDT-qrcode .copy[data-v-f7c57488]{width:40px;height:30px;background:#f90;border-radius:6px;color:#fff;font-size:14px!important;position:relative;line-height:30px;text-align:center;cursor:pointer;display:inline-block;margin-left:10px}.usdt-tips[data-v-f7c57488]{padding:10px;margin:15px;font-size:14px;text-align:left;line-height:20px}.usdt-tips h2[data-v-f7c57488]{font-size:16px;color:#a5a9b3;margin-bottom:8px}.usdt-tips p[data-v-f7c57488]{color:#a5a9b3}.tab-group[data-v-f7c57488]{display:-ms-flexbox;display:flex;text-align:center;cursor:pointer;margin-bottom:.1rem;background-color:#fff;border-radius:5px;width:60px}.tab-group .tab-item[data-v-f7c57488]{-ms-flex:1;flex:1;min-width:60px;padding:10px 0;font-size:16px;background-color:#f7f8fd;position:relative;color:#999}.tab-group .tab-item[data-v-f7c57488]:first-child{border-radius:5px 0 0 5px}.tab-group .tab-item[data-v-f7c57488]:last-child{border-radius:0 5px 5px 0}.tab-group .tab-item.active[data-v-f7c57488]{border:none;color:#999}.tab-group .tab-item.active[data-v-f7c57488]:before{content:\"\";position:absolute;left:0;right:0;bottom:0;width:clac(96%);height:calc(100% - 4px);margin:2px;background-color:#fff;border-radius:5px;z-index:0}.tab-group .tab-item .text[data-v-f7c57488]{position:relative;z-index:1}@keyframes loading-data-v-f7c57488{0%{transform:rotate(0deg);opacity:.2}50%{opacity:1}to{transform:rotate(1turn);opacity:.2}}", ""]); // exports /***/ }), /***/ "VXJq": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "@keyframes animate-data-v-46a50b8e{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.peronsal-aside[data-v-46a50b8e]{padding-left:72px;position:relative}.peronsal-aside .aside-nav[data-v-46a50b8e]{position:absolute;top:0;left:0;height:100%;width:72px;background:url(\"/static/public/image/userImg/mockup_bg.png\") 0 100% no-repeat,url(\"/static/public/image/userImg/mockup_bg_left.png\");padding-top:.6em;border-radius:15px 0 0 15px}.peronsal-aside .aside-nav ul li[data-v-46a50b8e]{height:80px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;cursor:pointer;position:relative}.peronsal-aside .aside-nav ul li img[data-v-46a50b8e]{width:42px;height:42px;display:inline-block}.peronsal-aside .aside-nav ul li span[data-v-46a50b8e]{font-size:14px;color:#fff;margin-top:7px;font-weight:200;font-family:Microsoft YaHei;font-weight:400}.peronsal-aside .aside-nav ul li .showMessg[data-v-46a50b8e]{color:#d12323;width:20px;height:20px;border-radius:50%;background-color:#fff;position:absolute;right:6px;top:5px;line-height:20px;text-align:center;display:block}.peronsal-aside .aside-nav ul .liActive[data-v-46a50b8e]{background:#fe6565}.peronsal-aside .aside-content[data-v-46a50b8e]{color:#fff;font-weight:200}.peronsal-aside .aside-content .header[data-v-46a50b8e]{text-align:center;margin-bottom:18.4px}.peronsal-aside .aside-content .header p[data-v-46a50b8e]:first-child{font-size:2.4em;padding-top:30px}.peronsal-aside .aside-content .header p[data-v-46a50b8e]:nth-child(2){font-size:16px;padding-top:10px}.peronsal-aside .aside-content .header p:nth-child(2) i[data-v-46a50b8e]{cursor:pointer}.peronsal-aside .aside-content .header p:nth-child(2) .active[data-v-46a50b8e]{animation:animate-data-v-46a50b8e 1s infinite linear;-moz-animation:animate-data-v-46a50b8e 1s infinite linear;-o-animation:animate-data-v-46a50b8e 1s infinite linear;-ms-animation:animate-data-v-46a50b8e 1s infinite linear}.peronsal-aside .aside-content .header p:nth-child(2) .newrefresh[data-v-46a50b8e]{color:#d4d4d4}.peronsal-aside .aside-content .header p[data-v-46a50b8e]:nth-child(3){font-size:16px;padding-top:10px}.peronsal-aside .aside-content .header p:nth-child(3) i[data-v-46a50b8e]{cursor:pointer}[data-v-46a50b8e] .ivu-modal-mask,[data-v-46a50b8e] .ivu-modal-wrap{z-index:2000}[data-v-46a50b8e] .ivu-modal-close{right:0}[data-v-46a50b8e] .ivu-modal-footer{border-top:none}[data-v-46a50b8e] .ivu-modal{top:50%;margin-top:-159px;height:318px}[data-v-46a50b8e] .ivu-modal-header{border-bottom:none;padding:0}.agent-transfer .vp-admin-wrap-close[data-v-46a50b8e]{width:60px;height:40px;background:#f2f2f2;border-bottom-left-radius:24px;border-top-left-radius:24px}.agent-transfer .vp-admin-wrap-close[data-v-46a50b8e]:hover{background:linear-gradient(180deg,#ff3492,#ff1e4f)}.agent-transfer .vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-46a50b8e]{position:relative;background:#fff;border-radius:50%;width:36px;height:36px;font-size:56px;left:2px;top:2px;transition:all .5s ease-in}.agent-transfer .vp-admin-wrap-close .vp-admin-wrap-close-empty a[data-v-46a50b8e]{position:absolute;top:9px;left:9px;width:20px;height:20px;display:inline-block;background:url(\"/static/public/image/common/vp-common-close.png\") #fff;background-size:98% 98%}.agent-transfer .vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-46a50b8e]:hover{transform:translateX(40%)}.agent-transfer .agent-header[data-v-46a50b8e]{font-size:18px;color:#000;padding:24px 0 24px 24px}.agent-transfer .agent-liner[data-v-46a50b8e]{width:416px;height:1px;background:hsla(0,0%,86%,.8);margin-left:25px}.agent-transfer .agent-con .agent-p[data-v-46a50b8e]{margin-left:90px;margin-top:44px;font-size:16px;color:#333}.agent-transfer .agent-con .account[data-v-46a50b8e]{display:inline-block;margin-left:91px;margin-top:26px;position:relative}.agent-transfer .agent-con .account label[data-v-46a50b8e]{width:33px;display:inline-block;margin-left:10px;font-size:16px;font-family:Microsoft YaHei;color:#ff9146}.agent-transfer .agent-con .account input[data-v-46a50b8e]{width:218px;height:36px;font-size:14px;background:#f5f5f5;border:0 solid #f5f5f5;border-radius:5px;text-align:left;padding-left:22px;text-indent:6px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666;border-color:none}.agent-transfer .agent-con .account input[data-v-46a50b8e]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.agent-transfer .agent-con .account .inco[data-v-46a50b8e]{width:8px;height:11px;position:absolute;font-size:14px;color:#555;left:10px;top:8px}.agent-transfer .agent-con .agent-submit[data-v-46a50b8e]{width:140px;height:42px;background:linear-gradient(180deg,#ff3492,#ff1e4f);line-height:42px;color:#fff;cursor:pointer;text-align:center;margin-top:39px;border-radius:8px;font-size:16px;margin-left:163px;display:inline-block}.agentmodal[data-v-46a50b8e] .ivu-modal-mask,.agentmodal[data-v-46a50b8e] .ivu-modal-wrap{z-index:2000}.agentmodal[data-v-46a50b8e] .ivu-modal-close{right:0}.agentmodal[data-v-46a50b8e] .ivu-modal-footer{border-top:none;padding:0;text-align:left}.agentmodal[data-v-46a50b8e] .ivu-modal{top:50%;margin-top:-75px;height:318px}.agentmodal[data-v-46a50b8e] .ivu-modal-header{border-bottom:none;padding:0}.agentmodal[data-v-46a50b8e] .ivu-modal-close .ivu-icon-ios-close-empty{display:none}.agentmodal[data-v-46a50b8e] .ivu-modal-content{border-radius:10px}.agentmodal[data-v-46a50b8e] .ivu-modal-body{padding:0}.agentmodal[data-v-46a50b8e] .ivu-modal-close{top:3px}.agentmodal .footer[data-v-46a50b8e]{height:39px;background:#d93d32;border-radius:0 0 10px 10px;display:-ms-flexbox;display:flex}.agentmodal .footer span[data-v-46a50b8e]{width:172.5px;height:39px;display:inline-block;color:#fff;font-size:16px;line-height:39px;text-align:center;cursor:pointer}.agentmodal .footer .span1[data-v-46a50b8e]{border-right:1px solid #e96057}.agentmodal .headerp[data-v-46a50b8e]{text-align:center;margin-top:20px}.agentmodal .tishi[data-v-46a50b8e]{height:50px;line-height:50px;font-size:18px;color:#fff;background-color:#403d58;border-radius:6px 6px 0 0;border-bottom:1px solid #4b495c}.agentmodal .tishi span[data-v-46a50b8e]{margin-left:110px;margin-top:16px;font-size:18px}.agentmodal .agent-con[data-v-46a50b8e]{position:relative;background-color:#403d58;height:111px;padding-top:33px;border-radius:10px 10px 0 0}.agentmodal .agent-con .showname[data-v-46a50b8e]{color:#d93d32}.agentmodal .agent-con .rename[data-v-46a50b8e],.agentmodal .agent-con .renamenew[data-v-46a50b8e]{font-size:16px;color:#fff;text-align:center;display:block}.agentmodal .agent-con .renamenew[data-v-46a50b8e]{margin-top:-12px}.agentmodal .agent-con input[data-v-46a50b8e]{width:238px;height:38px;margin-left:54px;margin-top:21px;border:1px solid #6e6c7c;border-radius:3px;color:#fff;text-indent:5px}.agentmodal .agent-con label[data-v-46a50b8e]{width:33px;display:inline-block;margin-left:10px;font-size:16px;font-family:Microsoft YaHei;color:#ff9146}.agentmodal .agent-con #inputtext[data-v-46a50b8e]{background-color:#403d58}.agentmodal .icon-baojing[data-v-46a50b8e]{font-size:45px;color:#f90}.agentmodal .iconspan[data-v-46a50b8e]{margin-left:82px;height:45px;line-height:45px;display:block;font-size:16px;position:relative;margin-top:40px}.agentmodal .iconspan .tispan[data-v-46a50b8e]{margin-left:10px;position:absolute;font-size:26px;color:#1f1f1f}.agentmodal .pay[data-v-46a50b8e]{display:block;position:absolute;width:160px;height:35px;background:linear-gradient(180deg,#ff3492,#ff1e4f);text-align:center;line-height:35px;color:#fff;font-size:18px;left:130px;top:80px;border-radius:10px}.agentmodal .vp-admin-wrap-close[data-v-46a50b8e]{display:none;width:60px;height:40px;background:#f2f2f2;border-bottom-left-radius:24px;border-top-left-radius:24px}.agentmodal .vp-admin-wrap-close[data-v-46a50b8e]:hover{background:linear-gradient(180deg,#ff3492,#ff1e4f)}.agentmodal .vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-46a50b8e]{position:relative;background:#fff;border-radius:50%;width:36px;height:36px;font-size:56px;left:2px;top:2px;transition:all .5s ease-in}.agentmodal .vp-admin-wrap-close .vp-admin-wrap-close-empty a[data-v-46a50b8e]{position:absolute;top:9px;left:9px;width:20px;height:20px;display:inline-block;background:url(\"/static/public/image/common/vp-common-close.png\") #fff;background-size:98% 98%}.ifagent[data-v-46a50b8e] .ivu-modal-mask,.ifagent[data-v-46a50b8e] .ivu-modal-wrap{z-index:2000}.ifagent[data-v-46a50b8e] .ivu-modal-close{right:0}.ifagent[data-v-46a50b8e] .ivu-modal-footer{border-top:none;padding:0;text-align:left}.ifagent[data-v-46a50b8e] .ivu-modal{top:50%;margin-top:-130px;height:318px}.ifagent[data-v-46a50b8e] .ivu-modal-header{border-bottom:none;padding:0}.ifagent[data-v-46a50b8e] .ivu-modal-close .ivu-icon-ios-close-empty{display:none}.ifagent[data-v-46a50b8e] .ivu-modal-body{padding:0}.ifagent[data-v-46a50b8e] .ivu-modal-close{top:3px}.ifagent .footer[data-v-46a50b8e]{height:39px;background:#d93d32;border-radius:0 0 6px 6px;display:-ms-flexbox;display:flex}.ifagent .footer span[data-v-46a50b8e]{width:172.5px;height:39px;display:inline-block;color:#fff;font-size:16px;line-height:39px;text-align:center;cursor:pointer}.ifagent .footer .span1[data-v-46a50b8e]{border-right:1px solid #e96057}.ifagent .headerp[data-v-46a50b8e]{text-align:center;margin-top:20px}.ifagent .tishi[data-v-46a50b8e]{height:50px;line-height:50px;font-size:18px;color:#fff;background-color:#403d58;border-radius:6px 6px 0 0;border-bottom:1px solid #4b495c}.ifagent .tishi span[data-v-46a50b8e]{margin-left:110px;margin-top:16px;font-size:18px}.ifagent .agent-con[data-v-46a50b8e]{position:relative;background-color:#403d58;height:135px;padding-top:17px}.ifagent .agent-con .showname[data-v-46a50b8e]{color:#d93d32}.ifagent .agent-con .rename[data-v-46a50b8e]{margin-left:110px;font-size:14px;color:#fff}.ifagent .agent-con label[data-v-46a50b8e]{width:33px;display:inline-block;margin-left:10px;font-size:16px;font-family:Microsoft YaHei;color:#fff;cursor:pointer}.ifagent .agent-con input[data-v-46a50b8e]{width:238px;height:38px;margin-left:33px;margin-top:21px;border:1px solid #6e6c7c;border-radius:3px;color:#fff;text-indent:5px;position:relative;padding-left:20px}.ifagent .agent-con .inco[data-v-46a50b8e]{width:8px;height:11px;position:absolute;font-size:14px;color:#fff;left:40px;top:68px}.ifagent .agent-con #inputtext[data-v-46a50b8e]{background-color:#403d58}.ifagent .icon-baojing[data-v-46a50b8e]{font-size:45px;color:#f90}.ifagent .iconspan[data-v-46a50b8e]{margin-left:82px;height:45px;line-height:45px;display:block;font-size:16px;position:relative;margin-top:40px}.ifagent .iconspan .tispan[data-v-46a50b8e]{margin-left:10px;position:absolute;font-size:26px;color:#1f1f1f}.ifagent .pay[data-v-46a50b8e]{display:block;position:absolute;width:160px;height:35px;background:linear-gradient(180deg,#ff3492,#ff1e4f);text-align:center;line-height:35px;color:#fff;font-size:18px;left:130px;top:80px;border-radius:10px}.ifagent .vp-admin-wrap-close[data-v-46a50b8e]{display:none;width:60px;height:40px;background:#f2f2f2;border-bottom-left-radius:24px;border-top-left-radius:24px}.ifagent .vp-admin-wrap-close[data-v-46a50b8e]:hover{background:linear-gradient(180deg,#ff3492,#ff1e4f)}.ifagent .vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-46a50b8e]{position:relative;background:#fff;border-radius:50%;width:36px;height:36px;font-size:56px;left:2px;top:2px;transition:all .5s ease-in}.ifagent .vp-admin-wrap-close .vp-admin-wrap-close-empty a[data-v-46a50b8e]{position:absolute;top:9px;left:9px;width:20px;height:20px;display:inline-block;background:url(\"/static/public/image/common/vp-common-close.png\") #fff;background-size:98% 98%}", ""]); // exports /***/ }), /***/ "VbOW": /***/ (function(module, exports, __webpack_require__) { var NATIVE_WEAK_MAP = __webpack_require__("uH59"); var global = __webpack_require__("jI+G"); var uncurryThis = __webpack_require__("CwQ2"); var isObject = __webpack_require__("DG0c"); var createNonEnumerableProperty = __webpack_require__("/hIk"); var hasOwn = __webpack_require__("SGKV"); var shared = __webpack_require__("AbUK"); var sharedKey = __webpack_require__("RZJG"); var hiddenKeys = __webpack_require__("ET8X"); var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; var TypeError = global.TypeError; var WeakMap = global.WeakMap; var set, get, has; var enforce = function (it) { return has(it) ? get(it) : set(it, {}); }; var getterFor = function (TYPE) { return function (it) { var state; if (!isObject(it) || (state = get(it)).type !== TYPE) { throw TypeError('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; if (NATIVE_WEAK_MAP || shared.state) { var store = shared.state || (shared.state = new WeakMap()); var wmget = uncurryThis(store.get); var wmhas = uncurryThis(store.has); var wmset = uncurryThis(store.set); set = function (it, metadata) { if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; wmset(store, it, metadata); return metadata; }; get = function (it) { return wmget(store, it) || {}; }; has = function (it) { return wmhas(store, it); }; } else { var STATE = sharedKey('state'); hiddenKeys[STATE] = true; set = function (it, metadata) { if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty(it, STATE, metadata); return metadata; }; get = function (it) { return hasOwn(it, STATE) ? it[STATE] : {}; }; has = function (it) { return hasOwn(it, STATE); }; } module.exports = { set: set, get: get, has: has, enforce: enforce, getterFor: getterFor }; /***/ }), /***/ "Vpjp": /***/ (function(module, exports, __webpack_require__) { var defineBuiltIn = __webpack_require__("MKw7"); module.exports = function (target, src, options) { for (var key in src) defineBuiltIn(target, key, src[key], options); return target; }; /***/ }), /***/ "WEox": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".people .people-content[data-v-5ee38d4d]{position:relative;height:650px;overflow:hidden}.people .people-content .header[data-v-5ee38d4d]{font-size:18px;margin:0 14px;height:66px;border-bottom:1px solid #f3f3f3;padding-left:10px;color:#696969;line-height:85px;font-weight:400;cursor:pointer}.people .people-content .radio[data-v-5ee38d4d]{line-height:60px;padding-left:26px}.people .people-content .page ul[data-v-5ee38d4d]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;position:absolute;right:25px;bottom:25px}", ""]); // exports /***/ }), /***/ "WEzc": /***/ (function(module, exports, __webpack_require__) { const Utils = __webpack_require__("oLzS") const ECLevel = __webpack_require__("utyv") const BitBuffer = __webpack_require__("DEuz") const BitMatrix = __webpack_require__("RY9c") const AlignmentPattern = __webpack_require__("9jEu") const FinderPattern = __webpack_require__("YamF") const MaskPattern = __webpack_require__("ljsv") const ECCode = __webpack_require__("Sd0T") const ReedSolomonEncoder = __webpack_require__("wBZN") const Version = __webpack_require__("1Y2G") const FormatInfo = __webpack_require__("xR/K") const Mode = __webpack_require__("uF9H") const Segments = __webpack_require__("nyx9") /** * QRCode for JavaScript * * modified by Ryan Day for nodejs support * Copyright (c) 2011 Ryan Day * * Licensed under the MIT license: * http://www.opensource.org/licenses/mit-license.php * //--------------------------------------------------------------------- // QRCode for JavaScript // // Copyright (c) 2009 Kazuhiko Arase // // URL: http://www.d-project.com/ // // Licensed under the MIT license: // http://www.opensource.org/licenses/mit-license.php // // The word "QR Code" is registered trademark of // DENSO WAVE INCORPORATED // http://www.denso-wave.com/qrcode/faqpatent-e.html // //--------------------------------------------------------------------- */ /** * Add finder patterns bits to matrix * * @param {BitMatrix} matrix Modules matrix * @param {Number} version QR Code version */ function setupFinderPattern (matrix, version) { const size = matrix.size const pos = FinderPattern.getPositions(version) for (let i = 0; i < pos.length; i++) { const row = pos[i][0] const col = pos[i][1] for (let r = -1; r <= 7; r++) { if (row + r <= -1 || size <= row + r) continue for (let c = -1; c <= 7; c++) { if (col + c <= -1 || size <= col + c) continue if ((r >= 0 && r <= 6 && (c === 0 || c === 6)) || (c >= 0 && c <= 6 && (r === 0 || r === 6)) || (r >= 2 && r <= 4 && c >= 2 && c <= 4)) { matrix.set(row + r, col + c, true, true) } else { matrix.set(row + r, col + c, false, true) } } } } } /** * Add timing pattern bits to matrix * * Note: this function must be called before {@link setupAlignmentPattern} * * @param {BitMatrix} matrix Modules matrix */ function setupTimingPattern (matrix) { const size = matrix.size for (let r = 8; r < size - 8; r++) { const value = r % 2 === 0 matrix.set(r, 6, value, true) matrix.set(6, r, value, true) } } /** * Add alignment patterns bits to matrix * * Note: this function must be called after {@link setupTimingPattern} * * @param {BitMatrix} matrix Modules matrix * @param {Number} version QR Code version */ function setupAlignmentPattern (matrix, version) { const pos = AlignmentPattern.getPositions(version) for (let i = 0; i < pos.length; i++) { const row = pos[i][0] const col = pos[i][1] for (let r = -2; r <= 2; r++) { for (let c = -2; c <= 2; c++) { if (r === -2 || r === 2 || c === -2 || c === 2 || (r === 0 && c === 0)) { matrix.set(row + r, col + c, true, true) } else { matrix.set(row + r, col + c, false, true) } } } } } /** * Add version info bits to matrix * * @param {BitMatrix} matrix Modules matrix * @param {Number} version QR Code version */ function setupVersionInfo (matrix, version) { const size = matrix.size const bits = Version.getEncodedBits(version) let row, col, mod for (let i = 0; i < 18; i++) { row = Math.floor(i / 3) col = i % 3 + size - 8 - 3 mod = ((bits >> i) & 1) === 1 matrix.set(row, col, mod, true) matrix.set(col, row, mod, true) } } /** * Add format info bits to matrix * * @param {BitMatrix} matrix Modules matrix * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level * @param {Number} maskPattern Mask pattern reference value */ function setupFormatInfo (matrix, errorCorrectionLevel, maskPattern) { const size = matrix.size const bits = FormatInfo.getEncodedBits(errorCorrectionLevel, maskPattern) let i, mod for (i = 0; i < 15; i++) { mod = ((bits >> i) & 1) === 1 // vertical if (i < 6) { matrix.set(i, 8, mod, true) } else if (i < 8) { matrix.set(i + 1, 8, mod, true) } else { matrix.set(size - 15 + i, 8, mod, true) } // horizontal if (i < 8) { matrix.set(8, size - i - 1, mod, true) } else if (i < 9) { matrix.set(8, 15 - i - 1 + 1, mod, true) } else { matrix.set(8, 15 - i - 1, mod, true) } } // fixed module matrix.set(size - 8, 8, 1, true) } /** * Add encoded data bits to matrix * * @param {BitMatrix} matrix Modules matrix * @param {Uint8Array} data Data codewords */ function setupData (matrix, data) { const size = matrix.size let inc = -1 let row = size - 1 let bitIndex = 7 let byteIndex = 0 for (let col = size - 1; col > 0; col -= 2) { if (col === 6) col-- while (true) { for (let c = 0; c < 2; c++) { if (!matrix.isReserved(row, col - c)) { let dark = false if (byteIndex < data.length) { dark = (((data[byteIndex] >>> bitIndex) & 1) === 1) } matrix.set(row, col - c, dark) bitIndex-- if (bitIndex === -1) { byteIndex++ bitIndex = 7 } } } row += inc if (row < 0 || size <= row) { row -= inc inc = -inc break } } } } /** * Create encoded codewords from data input * * @param {Number} version QR Code version * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level * @param {ByteData} data Data input * @return {Uint8Array} Buffer containing encoded codewords */ function createData (version, errorCorrectionLevel, segments) { // Prepare data buffer const buffer = new BitBuffer() segments.forEach(function (data) { // prefix data with mode indicator (4 bits) buffer.put(data.mode.bit, 4) // Prefix data with character count indicator. // The character count indicator is a string of bits that represents the // number of characters that are being encoded. // The character count indicator must be placed after the mode indicator // and must be a certain number of bits long, depending on the QR version // and data mode // @see {@link Mode.getCharCountIndicator}. buffer.put(data.getLength(), Mode.getCharCountIndicator(data.mode, version)) // add binary data sequence to buffer data.write(buffer) }) // Calculate required number of bits const totalCodewords = Utils.getSymbolTotalCodewords(version) const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel) const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8 // Add a terminator. // If the bit string is shorter than the total number of required bits, // a terminator of up to four 0s must be added to the right side of the string. // If the bit string is more than four bits shorter than the required number of bits, // add four 0s to the end. if (buffer.getLengthInBits() + 4 <= dataTotalCodewordsBits) { buffer.put(0, 4) } // If the bit string is fewer than four bits shorter, add only the number of 0s that // are needed to reach the required number of bits. // After adding the terminator, if the number of bits in the string is not a multiple of 8, // pad the string on the right with 0s to make the string's length a multiple of 8. while (buffer.getLengthInBits() % 8 !== 0) { buffer.putBit(0) } // Add pad bytes if the string is still shorter than the total number of required bits. // Extend the buffer to fill the data capacity of the symbol corresponding to // the Version and Error Correction Level by adding the Pad Codewords 11101100 (0xEC) // and 00010001 (0x11) alternately. const remainingByte = (dataTotalCodewordsBits - buffer.getLengthInBits()) / 8 for (let i = 0; i < remainingByte; i++) { buffer.put(i % 2 ? 0x11 : 0xEC, 8) } return createCodewords(buffer, version, errorCorrectionLevel) } /** * Encode input data with Reed-Solomon and return codewords with * relative error correction bits * * @param {BitBuffer} bitBuffer Data to encode * @param {Number} version QR Code version * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level * @return {Uint8Array} Buffer containing encoded codewords */ function createCodewords (bitBuffer, version, errorCorrectionLevel) { // Total codewords for this QR code version (Data + Error correction) const totalCodewords = Utils.getSymbolTotalCodewords(version) // Total number of error correction codewords const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel) // Total number of data codewords const dataTotalCodewords = totalCodewords - ecTotalCodewords // Total number of blocks const ecTotalBlocks = ECCode.getBlocksCount(version, errorCorrectionLevel) // Calculate how many blocks each group should contain const blocksInGroup2 = totalCodewords % ecTotalBlocks const blocksInGroup1 = ecTotalBlocks - blocksInGroup2 const totalCodewordsInGroup1 = Math.floor(totalCodewords / ecTotalBlocks) const dataCodewordsInGroup1 = Math.floor(dataTotalCodewords / ecTotalBlocks) const dataCodewordsInGroup2 = dataCodewordsInGroup1 + 1 // Number of EC codewords is the same for both groups const ecCount = totalCodewordsInGroup1 - dataCodewordsInGroup1 // Initialize a Reed-Solomon encoder with a generator polynomial of degree ecCount const rs = new ReedSolomonEncoder(ecCount) let offset = 0 const dcData = new Array(ecTotalBlocks) const ecData = new Array(ecTotalBlocks) let maxDataSize = 0 const buffer = new Uint8Array(bitBuffer.buffer) // Divide the buffer into the required number of blocks for (let b = 0; b < ecTotalBlocks; b++) { const dataSize = b < blocksInGroup1 ? dataCodewordsInGroup1 : dataCodewordsInGroup2 // extract a block of data from buffer dcData[b] = buffer.slice(offset, offset + dataSize) // Calculate EC codewords for this data block ecData[b] = rs.encode(dcData[b]) offset += dataSize maxDataSize = Math.max(maxDataSize, dataSize) } // Create final data // Interleave the data and error correction codewords from each block const data = new Uint8Array(totalCodewords) let index = 0 let i, r // Add data codewords for (i = 0; i < maxDataSize; i++) { for (r = 0; r < ecTotalBlocks; r++) { if (i < dcData[r].length) { data[index++] = dcData[r][i] } } } // Apped EC codewords for (i = 0; i < ecCount; i++) { for (r = 0; r < ecTotalBlocks; r++) { data[index++] = ecData[r][i] } } return data } /** * Build QR Code symbol * * @param {String} data Input string * @param {Number} version QR Code version * @param {ErrorCorretionLevel} errorCorrectionLevel Error level * @param {MaskPattern} maskPattern Mask pattern * @return {Object} Object containing symbol data */ function createSymbol (data, version, errorCorrectionLevel, maskPattern) { let segments if (Array.isArray(data)) { segments = Segments.fromArray(data) } else if (typeof data === 'string') { let estimatedVersion = version if (!estimatedVersion) { const rawSegments = Segments.rawSplit(data) // Estimate best version that can contain raw splitted segments estimatedVersion = Version.getBestVersionForData(rawSegments, errorCorrectionLevel) } // Build optimized segments // If estimated version is undefined, try with the highest version segments = Segments.fromString(data, estimatedVersion || 40) } else { throw new Error('Invalid data') } // Get the min version that can contain data const bestVersion = Version.getBestVersionForData(segments, errorCorrectionLevel) // If no version is found, data cannot be stored if (!bestVersion) { throw new Error('The amount of data is too big to be stored in a QR Code') } // If not specified, use min version as default if (!version) { version = bestVersion // Check if the specified version can contain the data } else if (version < bestVersion) { throw new Error('\n' + 'The chosen QR Code version cannot contain this amount of data.\n' + 'Minimum version required to store current data is: ' + bestVersion + '.\n' ) } const dataBits = createData(version, errorCorrectionLevel, segments) // Allocate matrix buffer const moduleCount = Utils.getSymbolSize(version) const modules = new BitMatrix(moduleCount) // Add function modules setupFinderPattern(modules, version) setupTimingPattern(modules) setupAlignmentPattern(modules, version) // Add temporary dummy bits for format info just to set them as reserved. // This is needed to prevent these bits from being masked by {@link MaskPattern.applyMask} // since the masking operation must be performed only on the encoding region. // These blocks will be replaced with correct values later in code. setupFormatInfo(modules, errorCorrectionLevel, 0) if (version >= 7) { setupVersionInfo(modules, version) } // Add data codewords setupData(modules, dataBits) if (isNaN(maskPattern)) { // Find best mask pattern maskPattern = MaskPattern.getBestMask(modules, setupFormatInfo.bind(null, modules, errorCorrectionLevel)) } // Apply mask pattern MaskPattern.applyMask(maskPattern, modules) // Replace format info bits with correct values setupFormatInfo(modules, errorCorrectionLevel, maskPattern) return { modules: modules, version: version, errorCorrectionLevel: errorCorrectionLevel, maskPattern: maskPattern, segments: segments } } /** * QR Code * * @param {String | Array} data Input data * @param {Object} options Optional configurations * @param {Number} options.version QR Code version * @param {String} options.errorCorrectionLevel Error correction level * @param {Function} options.toSJISFunc Helper func to convert utf8 to sjis */ exports.create = function create (data, options) { if (typeof data === 'undefined' || data === '') { throw new Error('No input text') } let errorCorrectionLevel = ECLevel.M let version let mask if (typeof options !== 'undefined') { // Use higher error correction level as default errorCorrectionLevel = ECLevel.from(options.errorCorrectionLevel, ECLevel.M) version = Version.from(options.version) mask = MaskPattern.from(options.maskPattern) if (options.toSJISFunc) { Utils.setToSJISFunction(options.toSJISFunc) } } return createSymbol(data, version, errorCorrectionLevel, mask) } /***/ }), /***/ "WYEa": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".deposit .header[data-v-e023c3ee]{height:60px;color:#696969;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;font-weight:600;margin:0 14px}.deposit .header .title[data-v-e023c3ee],.deposit .header[data-v-e023c3ee]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.deposit .header .title img[data-v-e023c3ee]{width:26px;margin-right:10px}.deposit .header .tab-group[data-v-e023c3ee]{margin-left:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:center;align-items:center}.deposit .header .tab-group .tab-item[data-v-e023c3ee]{width:5.4rem;background-color:#fff;position:relative;color:#a3a6ab;border:1px solid #f6f6f6;border-radius:.4rem}.deposit .header .tab-group .tab-item[data-v-e023c3ee]:last-child{margin-left:1rem}.deposit .header .tab-group .tab-item.active[data-v-e023c3ee]{background:linear-gradient(#ff6953,#ff920b);color:#fff}.deposit .header .tab-group .tab-item .text[data-v-e023c3ee]{height:2rem;position:relative;z-index:1;padding:.1rem 0;font-size:.965rem;border-radius:2rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.deposit .header .tab-group .tab-item .hot[data-v-e023c3ee]{position:absolute;top:-.7rem;right:-7rem}.deposit .header .tab-group .tab-item .hot.hot-booking[data-v-e023c3ee]{width:7.75rem;height:1.56rem;background:url(\"/static/public/image/bankImg/hot-bg.png\") no-repeat 50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-tag[data-v-e023c3ee]{width:1rem;margin-right:.2rem}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-text[data-v-e023c3ee]{color:#fff;font-size:.83rem}.deposit .content .deposit-ebaoBing[data-v-e023c3ee]{width:52%}.deposit .content .deposit-ebaoBing .bank[data-v-e023c3ee]{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.deposit .content .deposit-ebaoBing .bank .mask[data-v-e023c3ee]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-ebaoBing .bank .mask img[data-v-e023c3ee]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-ebaoBing .bank .title[data-v-e023c3ee]{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit .content .deposit-ebaoBing .bank .title span[data-v-e023c3ee]{font-size:16px;color:#fff}.deposit .content .deposit-ebaoBing .bank .bank-kh[data-v-e023c3ee]{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.deposit .content .deposit-ebaoBing .bank .bank-kh span[data-v-e023c3ee]{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.deposit .content .deposit-ebaoBing .bank .bank-info[data-v-e023c3ee]{height:36px;line-height:36px}.deposit .content .deposit-ebaoBing .bank .bank-info span[data-v-e023c3ee]{display:inline-block;font-size:14px;color:#fff}.deposit .content .deposit-ebaoBing .list_user[data-v-e023c3ee]{margin-top:15px;position:relative;width:534px;height:236px}.deposit .content .deposit-ebaoBing .list_user>span[data-v-e023c3ee]{position:absolute;top:36%;display:-ms-flexbox;display:flex;width:30px;height:30px;border-radius:50%;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background:#dedada;opacity:.7;cursor:pointer;outline:none;z-index:99}.deposit .content .deposit-ebaoBing .list_user>span i[data-v-e023c3ee]{display:block;color:#fff;font-size:16px}.deposit .content .deposit-ebaoBing .list_user .slidePrev[data-v-e023c3ee]{left:22px}.deposit .content .deposit-ebaoBing .list_user .slideNext[data-v-e023c3ee]{right:22px}.deposit .content .deposit-ebaoBing .list_user .slideNext[data-v-e023c3ee]:hover,.deposit .content .deposit-ebaoBing .list_user .slidePrev[data-v-e023c3ee]:hover{background:#a09e9e}.deposit .content .deposit-ebaoBing .list_user .swiper-pagination-bullet-active[data-v-e023c3ee]{background:#ff9146}.deposit .content .deposit-ebaoBing .list_user .slide_box[data-v-e023c3ee]{width:534px;height:236px;padding:0 77px}.deposit .content .deposit-ebaoBing .list_user .slide_box .slide_list[data-v-e023c3ee]{width:380px;height:210px;border-radius:23px;padding:18px 20px;padding-top:20px;position:relative}.deposit .content .deposit-ebaoBing .list_user .slide_box .slide_list .mask[data-v-e023c3ee]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-ebaoBing .list_user .slide_box .slide_list .mask img[data-v-e023c3ee]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-ebaoBing .list_user .slide_box .slide_list .title[data-v-e023c3ee]{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit .content .deposit-ebaoBing .list_user .slide_box .slide_list .title span[data-v-e023c3ee]{font-size:16px;color:#fff}.deposit .content .deposit-ebaoBing .list_user .slide_box .slide_list .bank-kh[data-v-e023c3ee]{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.deposit .content .deposit-ebaoBing .list_user .slide_box .slide_list .bank-kh span[data-v-e023c3ee]{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.deposit .content .deposit-ebaoBing .list_user .slide_box .slide_list .bank-info[data-v-e023c3ee]{height:36px;line-height:36px}.deposit .content .deposit-ebaoBing .list_user .slide_box .slide_list .bank-info span[data-v-e023c3ee]{display:inline-block;font-size:14px;color:#fff}.deposit .content .deposit-ebaoBing .att[data-v-e023c3ee]{width:495px;height:18px;margin:15px auto;font-size:12px;font-family:MicrosoftYaHei;color:#fd3332;text-align:center;line-height:18px}.deposit .content .deposit-ebaoBing .pay-bankinfo[data-v-e023c3ee]{border-bottom:1px solid #f3f3f3}.deposit .content .deposit-ebaoBing .pay-bankinfo .row[data-v-e023c3ee]{margin-left:78px;margin-top:15px}.deposit .content .deposit-ebaoBing .pay-bankinfo .row.middle[data-v-e023c3ee]{width:70%;font-size:14px;text-align:center}.deposit .content .deposit-ebaoBing .pay-bankinfo .row.middle a[data-v-e023c3ee]{float:right}.deposit .content .deposit-ebaoBing .pay-bankinfo .row label[data-v-e023c3ee]{font-size:15px;font-family:Microsoft YaHei}.deposit .content .deposit-ebaoBing .pay-bankinfo .row input[data-v-e023c3ee]{height:38px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;text-indent:3px;padding-left:10px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666;margin-right:10px}.deposit .content .deposit-ebaoBing .pay-bankinfo .row input[data-v-e023c3ee]:not(.other){width:242px;height:38px;background:#f9f9f9}.deposit .content .deposit-ebaoBing .pay-bankinfo .row input[data-v-e023c3ee]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.deposit .content .deposit-ebaoBing .pay-bankinfo .bar[data-v-e023c3ee]{margin-top:16px;display:-ms-flexbox;display:flex}.deposit .content .deposit-ebaoBing .pay-bankinfo .bar span[data-v-e023c3ee]{font-size:14px;-ms-flex:1;flex:1}.deposit .content .deposit-ebaoBing .submit[data-v-e023c3ee]{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin:20px auto;cursor:pointer}.deposit .content .deposit-ebaoBing .submit.active[data-v-e023c3ee]{background:linear-gradient(180deg,#ccc,#eee)}.deposit .content .deposit-ebaoBing .submit.active[data-v-e023c3ee]:hover{cursor:not-allowed}.deposit .content .deposit-ebaoBing .max-bank[data-v-e023c3ee]{margin-left:24px;font-size:1.3em}.deposit .content .deposit-ebaoBing .toast[data-v-e023c3ee]{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:410px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.deposit .content .deposit-ebaoBing .toast[data-v-e023c3ee]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.deposit .content .deposit-ebaoBing .ivu-carousel-dots-inside[data-v-e023c3ee]{bottom:-20px}.deposit .content .deposit-right[data-v-e023c3ee]{width:48%;height:580px;background:#f2f2f2;border-radius:0 0 15px 0}.ivu-table[data-v-e023c3ee]{background:#f2f2f2}", ""]); // exports /***/ }), /***/ "WftI": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("LOdN"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("899ac1f8", content, true, {}); /***/ }), /***/ "WqqV": /***/ (function(module, exports, __webpack_require__) { "use strict"; var IteratorPrototype = __webpack_require__("0bVG").IteratorPrototype; var create = __webpack_require__("BV6M"); var createPropertyDescriptor = __webpack_require__("ynKZ"); var setToStringTag = __webpack_require__("Zu+f"); var Iterators = __webpack_require__("DhWz"); var returnThis = function () { return this; }; module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { var TO_STRING_TAG = NAME + ' Iterator'; IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); Iterators[TO_STRING_TAG] = returnThis; return IteratorConstructor; }; /***/ }), /***/ "X0RI": /***/ (function(module, exports, __webpack_require__) { const GF = __webpack_require__("NV47") /** * Multiplies two polynomials inside Galois Field * * @param {Uint8Array} p1 Polynomial * @param {Uint8Array} p2 Polynomial * @return {Uint8Array} Product of p1 and p2 */ exports.mul = function mul (p1, p2) { const coeff = new Uint8Array(p1.length + p2.length - 1) for (let i = 0; i < p1.length; i++) { for (let j = 0; j < p2.length; j++) { coeff[i + j] ^= GF.mul(p1[i], p2[j]) } } return coeff } /** * Calculate the remainder of polynomials division * * @param {Uint8Array} divident Polynomial * @param {Uint8Array} divisor Polynomial * @return {Uint8Array} Remainder */ exports.mod = function mod (divident, divisor) { let result = new Uint8Array(divident) while ((result.length - divisor.length) >= 0) { const coeff = result[0] for (let i = 0; i < divisor.length; i++) { result[i] ^= GF.mul(divisor[i], coeff) } // remove all zeros from buffer head let offset = 0 while (offset < result.length && result[offset] === 0) offset++ result = result.slice(offset) } return result } /** * Generate an irreducible generator polynomial of specified degree * (used by Reed-Solomon encoder) * * @param {Number} degree Degree of the generator polynomial * @return {Uint8Array} Buffer containing polynomial coefficients */ exports.generateECPolynomial = function generateECPolynomial (degree) { let poly = new Uint8Array([1]) for (let i = 0; i < degree; i++) { poly = exports.mul(poly, new Uint8Array([1, GF.exp(i)])) } return poly } /***/ }), /***/ "XBoG": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".register-wrap[data-v-780f750a]{width:382px;margin:0 auto;padding-bottom:50px}.register-wrap .list-box .list[data-v-780f750a]{margin-bottom:25px;position:relative;font-size:16px;color:#333;text-align:right;height:46px;box-sizing:border-box;line-height:46px}.register-wrap .list-box .list .label[data-v-780f750a]{display:inline-block}.register-wrap .list-box .list input[data-v-780f750a]{display:inline-block;width:290px;height:46px;border:1px solid #dbdbdb;border-radius:3px;color:#444;font-size:16px;text-indent:4px;outline:none;padding-left:15px;box-sizing:border-box}.register-wrap .list-box .list i[data-v-780f750a]{position:absolute;top:5px;left:13px;font-size:24px;color:#949494}.register-wrap .list-box .list.list3[data-v-780f750a]{margin-left:-16px}.register-wrap .list-box .list.list3 .yzm[data-v-780f750a]{display:inline-block;cursor:pointer;width:90px;height:30px;position:absolute;right:15px;top:8px}.register-wrap .list-box .err_qxcp[data-v-780f750a]{width:290px!important;margin-left:92px!important;height:30px!important;line-height:30px!important;color:#f60!important;font-size:16px!important;border:1px solid #f60!important;background:#fdffef!important;border-radius:3px!important;padding:0 14px!important;margin-bottom:20px!important}.register-wrap .list-box .err_qxcp i[data-v-780f750a]{margin-right:5px}.register-wrap .list-box .err[data-v-780f750a]{width:296px;margin-left:85px;height:30px;line-height:30px;color:#f60;font-size:16px;border:1px solid #f60;background:#fdffef;border-radius:3px;padding:0 14px;margin-bottom:20px}.register-wrap .list-box .err i[data-v-780f750a]{margin-right:5px}.register-wrap .list-box .forget[data-v-780f750a]{font-size:16px;color:#666;zoom:1;overflow:hidden;padding-bottom:26px}.register-wrap .list-box .forget span[data-v-780f750a]:first-child{float:left}.register-wrap .list-box .forget span:first-child label[data-v-780f750a]{text-decoration:underline;cursor:pointer}.register-wrap .list-box .treaty[data-v-780f750a]{font-size:16px;color:#999;text-align:right;height:41px;line-height:50px}.register-wrap .list-box .submit[data-v-780f750a]{width:296px;height:45px;margin-left:86px;font-size:18px;text-align:center;line-height:45px;background:#ff0024;color:#fff;border-radius:5px;cursor:pointer}input[data-v-780f750a]:-webkit-autofill{-webkit-text-fill-color:#333!important;-webkit-box-shadow:0 0 0 1000px transparent inset!important;background-color:transparent!important;transition:background-color 50000s ease-in-out 0s!important}", ""]); // exports /***/ }), /***/ "XT0I": /***/ (function(module, exports, __webpack_require__) { var hasOwn = __webpack_require__("SGKV"); var isCallable = __webpack_require__("ELn+"); var toObject = __webpack_require__("cdvp"); var sharedKey = __webpack_require__("RZJG"); var CORRECT_PROTOTYPE_GETTER = __webpack_require__("usz3"); var IE_PROTO = sharedKey('IE_PROTO'); var $Object = Object; var ObjectPrototype = $Object.prototype; // `Object.getPrototypeOf` method // https://tc39.es/ecma262/#sec-object.getprototypeof // eslint-disable-next-line es-x/no-object-getprototypeof -- safe module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { var object = toObject(O); if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; var constructor = object.constructor; if (isCallable(constructor) && object instanceof constructor) { return constructor.prototype; } return object instanceof $Object ? ObjectPrototype : null; }; /***/ }), /***/ "XTQG": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("VXJq"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("d5b69b64", content, true, {}); /***/ }), /***/ "XrOq": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".income .income-content[data-v-380a49bb]{position:relative;height:650px;overflow:hidden}.income .income-content .header[data-v-380a49bb]{margin:0 14px;height:66px;border-bottom:1px solid #f3f3f3;font-size:18px;padding-left:10px;color:#696969;line-height:85px;font-weight:400;cursor:pointer}.income .income-content .income-search[data-v-380a49bb]{height:70px;vertical-align:70px;display:-ms-flexbox;display:flex}.income .income-content .income-search .income-icon[data-v-380a49bb]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding-left:25px}.income .income-content .income-search .income-icon img[data-v-380a49bb]{width:40px;height:40px;margin-right:6px}.income .income-content .income-search .income-icon div p[data-v-380a49bb]:first-child{color:#333;font-size:14px;padding:5px 0}.income .income-content .income-search .income-icon div p[data-v-380a49bb]:nth-child(2){color:#ff9146;font-size:16px}.income .income-content .income-search .search[data-v-380a49bb]{height:70px;line-height:70px;margin-left:605px}.income .income-content .tot-income[data-v-380a49bb]{position:absolute;left:26px;bottom:25px}.income .income-content .tot-income span[data-v-380a49bb]:first-child{color:#000;font-size:18px}.income .income-content .tot-income span[data-v-380a49bb]:nth-child(2){color:#ff9146;font-size:18px}.income .income-content .page ul[data-v-380a49bb]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;position:absolute;right:25px;bottom:25px}.income .personal-income[data-v-380a49bb]{position:relative;height:650px}.income .personal-income .no-data-text[data-v-380a49bb]{text-align:center}.income .personal-income .header[data-v-380a49bb]{margin:0 14px;height:66px;font-size:18px;padding-left:10px;color:#696969;line-height:85px;font-weight:400}.income .personal-income .header span[data-v-380a49bb]:first-child{cursor:pointer}.income .personal-income .tot-income[data-v-380a49bb]{position:absolute;left:26px;bottom:25px}.income .personal-income .tot-income span[data-v-380a49bb]:first-child{color:#000;font-size:18px}.income .personal-income .tot-income span[data-v-380a49bb]:nth-child(2){color:#ff9146;font-size:18px}.income .personal-income .page[data-v-380a49bb]{position:absolute;right:25px;bottom:25px}", ""]); // exports /***/ }), /***/ "Xrmd": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "#captcha[data-v-71ea85c6]{padding-top:15px}", ""]); // exports /***/ }), /***/ "Y4oG": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".quick-withdrawal[data-v-ccdab32e]{width:100%;max-height:100%;color:#696969}.waiting-order[data-v-ccdab32e]{font-size:16px;text-align:center}.waiting-order .title[data-v-ccdab32e]{font-weight:600;margin:44px 0;color:#fd3332}.waiting-order .desc[data-v-ccdab32e]{line-height:2}.waiting-order .desc span[data-v-ccdab32e]{color:#fd3332}.quick-withdrawal-content[data-v-ccdab32e]{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;padding:10px 0;position:relative}.quick-withdrawal-content[data-v-ccdab32e]:after{content:\"\";position:absolute;left:10px;right:10px;bottom:0;height:1px;background-color:#eee}.quick-withdrawal-content .orange[data-v-ccdab32e]{color:#f90}.quick-withdrawal-content .red[data-v-ccdab32e]{color:#fd3332}.quick-withdrawal-content .blue[data-v-ccdab32e]{color:#4176fa}.quick-withdrawal-content .green[data-v-ccdab32e]{color:#41c04b}.quick-withdrawal-content .grey[data-v-ccdab32e]{color:#a3a6ab}.quick-withdrawal-content .withdrawal-info[data-v-ccdab32e]{font-size:16px;padding:0 15px}.quick-withdrawal-content .withdrawal-info .info-box[data-v-ccdab32e]{margin-bottom:6px;height:25px;line-height:25px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.quick-withdrawal-content .withdrawal-info .info-box .label[data-v-ccdab32e]{display:inline-block;width:80px;text-align:right}.quick-withdrawal-content .withdrawal-info .info-box .info .hint[data-v-ccdab32e]{font-size:12px;margin-left:16px}.quick-withdrawal-content .withdrawal-info .info-box .alert[data-v-ccdab32e]{font-size:14px;color:red}.quick-withdrawal-content .tips[data-v-ccdab32e]{text-align:center;padding:0 20px}.quick-withdrawal-content .tips .tip-a[data-v-ccdab32e]{font-size:16px;font-weight:600;height:42px;line-height:42px;border-radius:21px;background-color:#ffeacb}.quick-withdrawal-content .tips .tip-b[data-v-ccdab32e]{height:32px;line-height:32px;font-size:12px;line-height:2.67}.quick-withdrawal-content .withdrawal-list[data-v-ccdab32e]{padding:15px 0}.quick-withdrawal-content .withdrawal-list .withdrawal-item[data-v-ccdab32e]{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.quick-withdrawal-content .withdrawal-list .withdrawal-item[data-v-ccdab32e]:not(:last-of-type){border-bottom:1px solid #eee}.quick-withdrawal-content .withdrawal-list .withdrawal-item .title[data-v-ccdab32e]{font-size:16px;line-height:1.63;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.quick-withdrawal-content .withdrawal-list .withdrawal-item .title .money[data-v-ccdab32e]{margin:0 8px;font-size:26px;line-height:1;vertical-align:middle}.quick-withdrawal-content .withdrawal-list .withdrawal-item .status-content[data-v-ccdab32e]{font-size:16px;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.quick-withdrawal-content .withdrawal-list .withdrawal-item .status-content .wait-status[data-v-ccdab32e]{font-size:12px;color:#696969;border-radius:13px;padding:2px 8px;border:1px solid #ddd;line-height:20px}.quick-withdrawal-content .withdrawal-list .withdrawal-item .status-content .status[data-v-ccdab32e]{font-size:16px;color:#696969}.quick-withdrawal-content .withdrawal-list .withdrawal-item .status-content .status .txt[data-v-ccdab32e]{line-height:1.25}.quick-withdrawal-content .withdrawal-list .withdrawal-item .status-content .status .expext[data-v-ccdab32e]{font-size:12px;line-height:1.67;color:#a3a6ab}.quick-withdrawal-content .withdrawal-list .withdrawal-item .status-content .btn[data-v-ccdab32e]{height:26px;line-height:26px;padding:0 4px;vertical-align:middle;text-align:center;border-radius:13px;position:relative;color:#696969;font-size:12px;border:1px solid #ddd;margin-left:16px;cursor:pointer}.quick-withdrawal-content .withdrawal-list .withdrawal-item .status-content .btn.blur[data-v-ccdab32e]{color:#a3a6ab;background-color:#f0f0f0;pointer-events:none}.quick-withdrawal-content .withdrawal-list .withdrawal-item .status-content .btn-red[data-v-ccdab32e]{border:1px solid red;color:red}.quick-withdrawal-content .withdrawal-list .withdrawal-item .status-content .btn-purple[data-v-ccdab32e]{border:1px solid purple;color:purple}", ""]); // exports /***/ }), /***/ "Y9Os": /***/ (function(module, exports, __webpack_require__) { "use strict"; var defineProperty = __webpack_require__("TQ+1").f; var create = __webpack_require__("BV6M"); var defineBuiltIns = __webpack_require__("Vpjp"); var bind = __webpack_require__("NFMI"); var anInstance = __webpack_require__("0gMh"); var iterate = __webpack_require__("fdvV"); var defineIterator = __webpack_require__("0g/h"); var setSpecies = __webpack_require__("AWKv"); var DESCRIPTORS = __webpack_require__("8Nt4"); var fastKey = __webpack_require__("mjl2").fastKey; var InternalStateModule = __webpack_require__("VbOW"); var setInternalState = InternalStateModule.set; var internalStateGetterFor = InternalStateModule.getterFor; module.exports = { getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { var Constructor = wrapper(function (that, iterable) { anInstance(that, Prototype); setInternalState(that, { type: CONSTRUCTOR_NAME, index: create(null), first: undefined, last: undefined, size: 0 }); if (!DESCRIPTORS) that.size = 0; if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); }); var Prototype = Constructor.prototype; var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); var define = function (that, key, value) { var state = getInternalState(that); var entry = getEntry(that, key); var previous, index; // change existing entry if (entry) { entry.value = value; // create new entry } else { state.last = entry = { index: index = fastKey(key, true), key: key, value: value, previous: previous = state.last, next: undefined, removed: false }; if (!state.first) state.first = entry; if (previous) previous.next = entry; if (DESCRIPTORS) state.size++; else that.size++; // add to index if (index !== 'F') state.index[index] = entry; } return that; }; var getEntry = function (that, key) { var state = getInternalState(that); // fast case var index = fastKey(key); var entry; if (index !== 'F') return state.index[index]; // frozen object case for (entry = state.first; entry; entry = entry.next) { if (entry.key == key) return entry; } }; defineBuiltIns(Prototype, { // `{ Map, Set }.prototype.clear()` methods // https://tc39.es/ecma262/#sec-map.prototype.clear // https://tc39.es/ecma262/#sec-set.prototype.clear clear: function clear() { var that = this; var state = getInternalState(that); var data = state.index; var entry = state.first; while (entry) { entry.removed = true; if (entry.previous) entry.previous = entry.previous.next = undefined; delete data[entry.index]; entry = entry.next; } state.first = state.last = undefined; if (DESCRIPTORS) state.size = 0; else that.size = 0; }, // `{ Map, Set }.prototype.delete(key)` methods // https://tc39.es/ecma262/#sec-map.prototype.delete // https://tc39.es/ecma262/#sec-set.prototype.delete 'delete': function (key) { var that = this; var state = getInternalState(that); var entry = getEntry(that, key); if (entry) { var next = entry.next; var prev = entry.previous; delete state.index[entry.index]; entry.removed = true; if (prev) prev.next = next; if (next) next.previous = prev; if (state.first == entry) state.first = next; if (state.last == entry) state.last = prev; if (DESCRIPTORS) state.size--; else that.size--; } return !!entry; }, // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods // https://tc39.es/ecma262/#sec-map.prototype.foreach // https://tc39.es/ecma262/#sec-set.prototype.foreach forEach: function forEach(callbackfn /* , that = undefined */) { var state = getInternalState(this); var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); var entry; while (entry = entry ? entry.next : state.first) { boundFunction(entry.value, entry.key, this); // revert to the last existing entry while (entry && entry.removed) entry = entry.previous; } }, // `{ Map, Set}.prototype.has(key)` methods // https://tc39.es/ecma262/#sec-map.prototype.has // https://tc39.es/ecma262/#sec-set.prototype.has has: function has(key) { return !!getEntry(this, key); } }); defineBuiltIns(Prototype, IS_MAP ? { // `Map.prototype.get(key)` method // https://tc39.es/ecma262/#sec-map.prototype.get get: function get(key) { var entry = getEntry(this, key); return entry && entry.value; }, // `Map.prototype.set(key, value)` method // https://tc39.es/ecma262/#sec-map.prototype.set set: function set(key, value) { return define(this, key === 0 ? 0 : key, value); } } : { // `Set.prototype.add(value)` method // https://tc39.es/ecma262/#sec-set.prototype.add add: function add(value) { return define(this, value = value === 0 ? 0 : value, value); } }); if (DESCRIPTORS) defineProperty(Prototype, 'size', { get: function () { return getInternalState(this).size; } }); return Constructor; }, setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) { var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods // https://tc39.es/ecma262/#sec-map.prototype.entries // https://tc39.es/ecma262/#sec-map.prototype.keys // https://tc39.es/ecma262/#sec-map.prototype.values // https://tc39.es/ecma262/#sec-map.prototype-@@iterator // https://tc39.es/ecma262/#sec-set.prototype.entries // https://tc39.es/ecma262/#sec-set.prototype.keys // https://tc39.es/ecma262/#sec-set.prototype.values // https://tc39.es/ecma262/#sec-set.prototype-@@iterator defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) { setInternalState(this, { type: ITERATOR_NAME, target: iterated, state: getInternalCollectionState(iterated), kind: kind, last: undefined }); }, function () { var state = getInternalIteratorState(this); var kind = state.kind; var entry = state.last; // revert to the last existing entry while (entry && entry.removed) entry = entry.previous; // get next entry if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { // or finish the iteration state.target = undefined; return { value: undefined, done: true }; } // return step by kind if (kind == 'keys') return { value: entry.key, done: false }; if (kind == 'values') return { value: entry.value, done: false }; return { value: [entry.key, entry.value], done: false }; }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); // `{ Map, Set }.prototype[@@species]` accessors // https://tc39.es/ecma262/#sec-get-map-@@species // https://tc39.es/ecma262/#sec-get-set-@@species setSpecies(CONSTRUCTOR_NAME); } }; /***/ }), /***/ "YDcA": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("pomV"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("2c27f5a8", content, true, {}); /***/ }), /***/ "YEZ0": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".peronsals .apply_list .ivu-select-dropdown-list{max-height:160px;padding-right:0}.apply_list .apply_frist .apply_list_content .applyList_header{margin:0 14px;height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400}.apply_list .apply_frist .apply_list_content .applyList_header p{width:auto;height:68px;font-size:18px;font-family:MicrosoftYaHei;font-weight:400;color:#000;line-height:68px}.apply_list .apply_frist .apply_list_content .applyList_content input::-webkit-input-placeholder{width:55px;height:42px;font-size:14px;font-family:PingFang-SC-Regular;font-weight:400;color:#aaa;line-height:42px;text-indent:15px}.apply_list .apply_frist .apply_list_content .applyList_content input:-ms-input-placeholder{width:55px;height:42px;font-size:14px;font-family:PingFang-SC-Regular;font-weight:400;color:#aaa;line-height:42px;text-indent:15px}.apply_list .apply_frist .apply_list_content .applyList_content .content_header{margin-top:15px;margin-bottom:18px;line-height:38px;margin-left:25px}.apply_list .apply_frist .apply_list_content .applyList_content .content_header div{display:inline-block}.apply_list .apply_frist .apply_list_content .applyList_content .content_header .agency_typename{margin-left:24px;margin-right:11px;width:64px;height:17px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333;line-height:25px}.apply_list .apply_frist .apply_list_content .applyList_content .content_header .agency_type .ivu-select-placeholder{width:76px}.apply_list .apply_frist .apply_list_content .applyList_content .content_header .agency_userName{width:240px;height:36px}.apply_list .apply_frist .apply_list_content .applyList_content .content_header .agency_userName input{height:36px;font-size:16px;background:#710e1f;border:1px solid #f5f5f5;border-radius:10px;text-align:left;text-indent:1em;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.apply_list .apply_frist .apply_list_content .applyList_content .content_header .agency_userName input:not(.other){width:240px;height:38px;background:#fdfdfd}.apply_list .apply_frist .apply_list_content .applyList_content .content_header .agency_userName input .ivu-radio{font-size:16px;color:#666}.apply_list .apply_frist .apply_list_content .applyList_content .content_header .agency_userName input:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.apply_list .apply_frist .apply_list_content .applyList_content .content_header .agency_search{margin-left:21px}.apply_list .apply_frist .apply_list_content .applyList_content .content_header .agency_search .searchBtn{width:80px;height:36px;border-radius:5px;background:linear-gradient(180deg,#ff3492,#ff1e4f);color:#fff;line-height:36px;text-align:center;display:inline-block;margin:0 20px;font-size:18px;cursor:pointer}.apply_list .apply_frist .apply_list_content .applyList_content .content_header .agency_search .searchBtn span{line-height:36px;width:36px;height:16px;font-size:16px;font-family:PingFang-SC-Regular;font-weight:400;color:#fff}.apply_list .apply_frist .apply_list_content .applyList_content .content_main .ivu-table td{line-height:20px}.apply_list .apply_frist .apply_list_content .applyList_content .content_main .ivu-table .ivu-table-body{height:478px}.apply_list .apply_frist .apply_list_content .applyList_content .content_main .listTable .page{position:absolute;right:20px;bottom:35px}.apply_list .apply_frist .apply_list_content .toast{width:280px;height:165px;position:absolute;top:50%;left:50%;margin-left:-140px;margin-top:-82.5px;z-index:2019}.apply_list .apply_frist .apply_list_content .toast .top{height:125px;background:#413c5a;border-radius:8px 8px 0 0;display:-ms-flexbox;display:flex;text-align:center;padding:20px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}.apply_list .apply_frist .apply_list_content .toast .top img{display:block;width:42px;margin-bottom:20px}.apply_list .apply_frist .apply_list_content .toast .top p{line-height:25px;color:#fff;font-weight:200;font-size:18px}.apply_list .apply_frist .apply_list_content .toast .bottom{height:40px;width:100%;background:#ec2426;line-height:40px;font-size:16px;color:#fff;border-radius:0 0 8px 8px}.apply_list .apply_frist .apply_list_content .toast .bottom p{display:inline-block;text-align:center;width:49%;cursor:pointer}.apply_list .apply_frist .apply_list_content .toast .bottom p:nth-child(2){border-left:1px solid #413c3c}.apply_list .appliy_Subordinate .apply_list_content .applyList_header{margin:0 14px;height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400;overflow:hidden}.apply_list .appliy_Subordinate .apply_list_content .applyList_header p{display:inline-block;width:auto;height:68px;font-size:18px;font-family:MicrosoftYaHei;font-weight:400;color:#696969;line-height:68px}.apply_list .appliy_Subordinate .apply_list_content .applyList_header p span{cursor:pointer}.apply_list .appliy_Subordinate .apply_list_content .applyList_content input::-webkit-input-placeholder{width:55px;height:42px;font-size:14px;font-family:PingFang-SC-Regular;font-weight:400;color:#aaa;line-height:42px;text-indent:15px}.apply_list .appliy_Subordinate .apply_list_content .applyList_content input:-ms-input-placeholder{width:55px;height:42px;font-size:14px;font-family:PingFang-SC-Regular;font-weight:400;color:#aaa;line-height:42px;text-indent:15px}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header{margin-top:15px;margin-bottom:18px;line-height:38px;margin-left:25px}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header div{display:inline-block}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header .agency_typename{margin-left:24px;margin-right:11px;width:64px;height:17px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333;line-height:25px}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header .agency_type .ivu-select-placeholder{width:76px}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header .agency_userName{width:240px;height:36px}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header .agency_userName input{height:36px;font-size:16px;background:#710e1f;border:1px solid #f5f5f5;border-radius:10px;text-align:left;text-indent:1em;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header .agency_userName input:not(.other){width:240px;height:38px;background:#fdfdfd}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header .agency_userName input .ivu-radio{font-size:16px;color:#666}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header .agency_userName input:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header .agency_search{margin-left:21px}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header .agency_search .searchBtn{width:80px;height:36px;border-radius:5px;background:linear-gradient(180deg,#ff3492,#ff1e4f);color:#fff;line-height:36px;text-align:center;display:inline-block;margin:0 20px;font-size:18px;cursor:pointer}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_header .agency_search .searchBtn span{line-height:36px;width:36px;height:16px;font-size:16px;font-family:PingFang-SC-Regular;font-weight:400;color:#fff}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_main .ivu-table-body{height:478px}.apply_list .appliy_Subordinate .apply_list_content .applyList_content .content_main .listTable .page{position:absolute;right:20px;bottom:35px}.apply_list .appliy_Subordinate .apply_list_content .toast{width:280px;height:165px;position:absolute;top:50%;left:50%;margin-left:-140px;margin-top:-82.5px;z-index:2019}.apply_list .appliy_Subordinate .apply_list_content .toast .top{height:125px;background:#413c5a;border-radius:8px 8px 0 0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}.apply_list .appliy_Subordinate .apply_list_content .toast .top img{display:block;width:42px;margin-bottom:20px}.apply_list .appliy_Subordinate .apply_list_content .toast .top p{line-height:25px;color:#fff;font-weight:200;font-size:18px}.apply_list .appliy_Subordinate .apply_list_content .toast .bottom{height:40px;width:100%;background:#ec2426;line-height:40px;font-size:16px;color:#fff;border-radius:0 0 8px 8px}.apply_list .appliy_Subordinate .apply_list_content .toast .bottom p{display:inline-block;text-align:center;width:49%;cursor:pointer}.apply_list .appliy_Subordinate .apply_list_content .toast .bottom p:nth-child(2){border-left:1px solid #413c3c}.apply_list .apply_update .applyList_header{margin:0 14px;height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400}.apply_list .apply_update .applyList_header p{width:auto;height:68px;font-size:18px;font-family:MicrosoftYaHei;font-weight:400;color:#696969;line-height:68px}.apply_list .apply_update .applyList_content{margin-top:50px}.apply_list .apply_update .applyList_content .caipiaoContent,.apply_list .apply_update .applyList_content .caipiaodetails{position:relative}.apply_list .apply_update .applyList_content .caipiaoContent .bar,.apply_list .apply_update .applyList_content .caipiaodetails .bar{margin-top:20px;padding-left:30px;cursor:pointer;width:30%}.apply_list .apply_update .applyList_content .caipiaoContent .bar label,.apply_list .apply_update .applyList_content .caipiaodetails .bar label{cursor:pointer;padding-left:5px;font-size:15px;font-family:Microsoft YaHei;vertical-align:middle;display:inline-block;height:30px;width:100px;line-height:30px;text-align:center;border-radius:10px 0 0 10px}.apply_list .apply_update .applyList_content .caipiaoContent .bar span,.apply_list .apply_update .applyList_content .caipiaodetails .bar span{font-size:15px;display:inline-block;height:30px;width:90px;line-height:30px;text-align:center;vertical-align:middle;margin-left:-3px;margin-right:10px;color:#666}.apply_list .apply_update .applyList_content .caipiaoContent .bar i,.apply_list .apply_update .applyList_content .caipiaodetails .bar i{color:#bebebe;vertical-align:middle;font-size:15px}.apply_list .apply_update .applyList_content .caipiaoContent .refundList label,.apply_list .apply_update .applyList_content .caipiaodetails .refundList label{background:linear-gradient(180deg,#fe8983,#f0b761);color:#fff}.apply_list .apply_update .applyList_content .caipiaoContent .refundList span,.apply_list .apply_update .applyList_content .caipiaodetails .refundList span{background:#f4f4f4}.apply_list .apply_update .applyList_content .caipiaoContent .setRefund,.apply_list .apply_update .applyList_content .caipiaodetails .setRefund{position:absolute;width:230px;top:0;left:260px;border:1px solid #f5f5f5;overflow:hidden;max-height:275px}.apply_list .apply_update .applyList_content .caipiaoContent .setRefund .setRefund-main,.apply_list .apply_update .applyList_content .caipiaodetails .setRefund .setRefund-main{padding:5px 10px;height:275px;max-height:275px;overflow:auto;width:140%;padding-right:30px;position:relative}.apply_list .apply_update .applyList_content .caipiaoContent .setRefund .setRefund-main .refund-row,.apply_list .apply_update .applyList_content .caipiaodetails .setRefund .setRefund-main .refund-row{margin-bottom:10px;position:relative}.apply_list .apply_update .applyList_content .caipiaoContent .setRefund .setRefund-main .refund-row span,.apply_list .apply_update .applyList_content .caipiaodetails .setRefund .setRefund-main .refund-row span{font-size:15px;display:inline-block;height:30px;width:90px;line-height:30px;text-align:center;vertical-align:middle;margin-left:-3px;margin-right:10px;color:#666}.apply_list .apply_update .applyList_content .caipiaoContent .setRefund .setRefund-main .refund-row .leftImg,.apply_list .apply_update .applyList_content .caipiaodetails .setRefund .setRefund-main .refund-row .leftImg{position:absolute;top:-2px;left:105px;cursor:pointer}.apply_list .apply_update .applyList_content .caipiaoContent .setRefund .setRefund-main .refund-row .rightImg,.apply_list .apply_update .applyList_content .caipiaodetails .setRefund .setRefund-main .refund-row .rightImg{position:absolute;top:-2px;left:160px;cursor:pointer}.apply_list .apply_update .applyList_content .caipiaoContent .setRefund .setRefund-main .refund-row label,.apply_list .apply_update .applyList_content .caipiaodetails .setRefund .setRefund-main .refund-row label{vertical-align:middle;font-size:14px;display:inline-block;width:100px;text-align:right}.apply_list .apply_update .applyList_content .caipiaoContent .setRefund .setRefund-main .refund-row .ivu-select,.apply_list .apply_update .applyList_content .caipiaodetails .setRefund .setRefund-main .refund-row .ivu-select{width:98px}.apply_list .apply_update .applyList_content .caipiaoContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection,.apply_list .apply_update .applyList_content .caipiaodetails .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection{height:24px;border-radius:5px}.apply_list .apply_update .applyList_content .caipiaoContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-placeholder,.apply_list .apply_update .applyList_content .caipiaoContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-selected-value,.apply_list .apply_update .applyList_content .caipiaodetails .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-placeholder,.apply_list .apply_update .applyList_content .caipiaodetails .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-selected-value{height:24px;line-height:24px}.apply_list .apply_update .applyList_content .refundContent{position:absolute;right:-720px;width:100%;top:100px}.apply_list .apply_update .applyList_content .refundContent .bar{margin-top:20px;padding-left:28px;cursor:pointer;width:30%}.apply_list .apply_update .applyList_content .refundContent .bar label{cursor:pointer;padding-left:5px;font-size:15px;font-family:Microsoft YaHei;vertical-align:middle;display:inline-block;height:30px;width:100px;line-height:30px;text-align:center;border-radius:10px 0 0 10px}.apply_list .apply_update .applyList_content .refundContent .bar span{font-size:15px;display:inline-block;height:30px;width:90px;line-height:30px;text-align:center;vertical-align:middle;margin-left:-3px;margin-right:10px;color:#666}.apply_list .apply_update .applyList_content .refundContent .bar i{color:#bebebe;vertical-align:middle;font-size:15px}.apply_list .apply_update .applyList_content .refundContent .refundList label{background:linear-gradient(180deg,#fe8983,#f0b761);color:#fff}.apply_list .apply_update .applyList_content .refundContent .refundList span{background:#f4f4f4}.apply_list .apply_update .applyList_content .refundContent .setRefund{position:absolute;width:214px;top:20px;left:288px;border:1px solid #f5f5f5;overflow:hidden;max-height:275px}.apply_list .apply_update .applyList_content .refundContent .setRefund .setRefund-main{padding:5px 10px;height:275px;max-height:275px;overflow:auto;width:140%;padding-right:30px;position:relative}.apply_list .apply_update .applyList_content .refundContent .setRefund .setRefund-main .refund-row{margin-bottom:10px;position:relative}.apply_list .apply_update .applyList_content .refundContent .setRefund .setRefund-main .refund-row .leftImg{position:absolute;top:-2px;left:105px;cursor:pointer}.apply_list .apply_update .applyList_content .refundContent .setRefund .setRefund-main .refund-row .rightImg{position:absolute;top:-2px;left:160px;cursor:pointer}.apply_list .apply_update .applyList_content .refundContent .setRefund .setRefund-main .refund-row label{vertical-align:middle;font-size:14px;display:inline-block;width:90px;text-align:right}.apply_list .apply_update .applyList_content .refundContent .setRefund .setRefund-main .refund-row .ivu-select{width:98px}.apply_list .apply_update .applyList_content .refundContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection{height:24px;border-radius:5px}.apply_list .apply_update .applyList_content .refundContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-placeholder,.apply_list .apply_update .applyList_content .refundContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-selected-value{height:24px;line-height:24px}.apply_list .apply_update .submitPay{height:42px;position:absolute;bottom:30px;display:inline-block;left:50%;line-height:42px;text-align:center;color:#fff;font-size:1.8em;margin:12px auto;cursor:pointer}.apply_list .apply_update .submitPay p{width:140px;display:inline-block;background:linear-gradient(180deg,#ff3494,#ff1c4b);border-radius:5px;cursor:pointer}.apply_list .apply_update .submitPay p:nth-child(2){margin-left:20px}", ""]); // exports /***/ }), /***/ "YR2i": /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__("8Nt4"); var hasOwn = __webpack_require__("SGKV"); var FunctionPrototype = Function.prototype; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; var EXISTS = hasOwn(FunctionPrototype, 'name'); // additional protection from minified / mangled / dropped function names var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); module.exports = { EXISTS: EXISTS, PROPER: PROPER, CONFIGURABLE: CONFIGURABLE }; /***/ }), /***/ "YX7v": /***/ (function(module, exports, __webpack_require__) { "use strict"; var bind = __webpack_require__("NFMI"); var call = __webpack_require__("JAKr"); var toObject = __webpack_require__("cdvp"); var callWithSafeIterationClosing = __webpack_require__("Minx"); var isArrayIteratorMethod = __webpack_require__("HJBj"); var isConstructor = __webpack_require__("xQa9"); var lengthOfArrayLike = __webpack_require__("DrWn"); var createProperty = __webpack_require__("jNjR"); var getIterator = __webpack_require__("3r2m"); var getIteratorMethod = __webpack_require__("1fdL"); var $Array = Array; // `Array.from` method implementation // https://tc39.es/ecma262/#sec-array.from module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { var O = toObject(arrayLike); var IS_CONSTRUCTOR = isConstructor(this); var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined); var iteratorMethod = getIteratorMethod(O); var index = 0; var length, result, step, iterator, next, value; // if the target is not iterable or it's an array with the default iterator - use a simple case if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) { iterator = getIterator(O, iteratorMethod); next = iterator.next; result = IS_CONSTRUCTOR ? new this() : []; for (;!(step = call(next, iterator)).done; index++) { value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; createProperty(result, index, value); } } else { length = lengthOfArrayLike(O); result = IS_CONSTRUCTOR ? new this(length) : $Array(length); for (;length > index; index++) { value = mapping ? mapfn(O[index], index) : O[index]; createProperty(result, index, value); } } result.length = index; return result; }; /***/ }), /***/ "YaGa": /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__("pzgD"); var assign = __webpack_require__("0Et8"); // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign // eslint-disable-next-line es-x/no-object-assign -- required for testing $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { assign: assign }); /***/ }), /***/ "YamF": /***/ (function(module, exports, __webpack_require__) { const getSymbolSize = __webpack_require__("oLzS").getSymbolSize const FINDER_PATTERN_SIZE = 7 /** * Returns an array containing the positions of each finder pattern. * Each array's element represent the top-left point of the pattern as (x, y) coordinates * * @param {Number} version QR Code version * @return {Array} Array of coordinates */ exports.getPositions = function getPositions (version) { const size = getSymbolSize(version) return [ // top-left [0, 0], // top-right [size - FINDER_PATTERN_SIZE, 0], // bottom-left [0, size - FINDER_PATTERN_SIZE] ] } /***/ }), /***/ "Yb9d": /***/ (function(module, exports, __webpack_require__) { "use strict"; module.exports = function encodeUtf8 (input) { var result = [] var size = input.length for (var index = 0; index < size; index++) { var point = input.charCodeAt(index) if (point >= 0xD800 && point <= 0xDBFF && size > index + 1) { var second = input.charCodeAt(index + 1) if (second >= 0xDC00 && second <= 0xDFFF) { // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae point = (point - 0xD800) * 0x400 + second - 0xDC00 + 0x10000 index += 1 } } // US-ASCII if (point < 0x80) { result.push(point) continue } // 2-byte UTF-8 if (point < 0x800) { result.push((point >> 6) | 192) result.push((point & 63) | 128) continue } // 3-byte UTF-8 if (point < 0xD800 || (point >= 0xE000 && point < 0x10000)) { result.push((point >> 12) | 224) result.push(((point >> 6) & 63) | 128) result.push((point & 63) | 128) continue } // 4-byte UTF-8 if (point >= 0x10000 && point <= 0x10FFFF) { result.push((point >> 18) | 240) result.push(((point >> 12) & 63) | 128) result.push(((point >> 6) & 63) | 128) result.push((point & 63) | 128) continue } // Invalid character result.push(0xEF, 0xBF, 0xBD) } return new Uint8Array(result).buffer } /***/ }), /***/ "YgEp": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("dvTS"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("404b719c", content, true, {}); /***/ }), /***/ "Yxzg": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("y2Y1"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("54493b32", content, true, {}); /***/ }), /***/ "ZMEz": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("/xxc"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("3a2a900d", content, true, {}); /***/ }), /***/ "ZRoR": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("fAub"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("a91e9d0c", content, true, {}); /***/ }), /***/ "Zb+n": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("Qsv4"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("5d87fc52", content, true, {}); /***/ }), /***/ "Zgmh": /***/ (function(module, exports, __webpack_require__) { var aCallable = __webpack_require__("Nh07"); // `GetMethod` abstract operation // https://tc39.es/ecma262/#sec-getmethod module.exports = function (V, P) { var func = V[P]; return func == null ? undefined : aCallable(func); }; /***/ }), /***/ "Zpnx": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("inCy"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("60f132d8", content, true, {}); /***/ }), /***/ "Zu+f": /***/ (function(module, exports, __webpack_require__) { var defineProperty = __webpack_require__("TQ+1").f; var hasOwn = __webpack_require__("SGKV"); var wellKnownSymbol = __webpack_require__("Jd8B"); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); module.exports = function (target, TAG, STATIC) { if (target && !STATIC) target = target.prototype; if (target && !hasOwn(target, TO_STRING_TAG)) { defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG }); } }; /***/ }), /***/ "a0FK": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("mpjE"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("749a05f0", content, true, {}); /***/ }), /***/ "aONZ": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/static/public/image/bank/refresh.55ed39c.png"; /***/ }), /***/ "aYZ5": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".filter[data-v-3c75dcdc]{width:100%;height:100%;position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;background:rgba(0,0,0,.5);z-index:1600}.filter .content[data-v-3c75dcdc]{width:352px;height:367.5px;top:50%;left:50%;position:relative;transform:translate(-50%,-50%);background-image:url(\"/static/public/image/paycheck/payment.png\");background-size:100% 100%}.filter .content .massage[data-v-3c75dcdc]{font-family:PingFang SC;position:absolute;top:165px;width:352px;color:#fff;font-size:23px}.filter .content .massage p[data-v-3c75dcdc]{text-align:center}.filter .content .massage p span[data-v-3c75dcdc]{color:#fff600;font-size:28px}.filter .content .massage p[data-v-3c75dcdc]:nth-child(2){margin-top:20px}.filter .content .btn[data-v-3c75dcdc]{position:absolute;width:352px;height:39px;display:-ms-flexbox;display:flex;bottom:22px;left:0}.filter .content .btn div[data-v-3c75dcdc]{width:156px;height:39px;cursor:pointer}.filter .content .btn div[data-v-3c75dcdc]:first-child{background-size:100% 100%;margin:0 8px 0 15px}.filter .content .btn div[data-v-3c75dcdc]:nth-child(2){background-size:100% 100%}", ""]); // exports /***/ }), /***/ "acY3": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".bounce-enter-active{animation:bounce-in .5s}.bounce-leave-active{animation:bounce-in .5s reverse}@keyframes bounce-in{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes hezi-on{0%{transform:translateY(29px)}to{transform:translateY(9px)}}@keyframes dous-b{0%{transform:rotate(6deg) translateY(9px);transform-origin:center}to{transform:rotate(-6deg) translateY(9px);transform-origin:center}}@keyframes fade{0%{opacity:1}95%{opacity:1}to{opacity:0}}@keyframes drop{0%{transform:translate(0);-ms-transform:translateX(0,0);-moz-transform:translateX(0,0);-webkit-transform:translateX(0,0);-o-transform:translateX(0,0)}to{transform:translateY(300px);-ms-transform:translateX(0,300px);-moz-transform:translateX(0,300px);-webkit-transform:translateX(0,300px);-o-transform:translateX(0,300px)}}@keyframes clockwiseSpin{0%{transform:rotate(-50deg)}to{transform:rotate(50deg)}}@keyframes counterclockwiseSpinAndFlip{0%{transform:scaleX(-1) rotate(50deg)}to{transform:scaleX(-1) rotate(-50deg)}}@keyframes scaleDraw{0%{transform:scale(0)}to{transform:scale(1)}}", ""]); // exports /***/ }), /***/ "ak/7": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("nZk+"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("4dacd492", content, true, {}); /***/ }), /***/ "alnp": /***/ (function(module, exports) { module.exports = false; /***/ }), /***/ "atHY": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("3mWa"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("1f1ea3bd", content, true, {}); /***/ }), /***/ "atHy": /***/ (function(module, exports, __webpack_require__) { var call = __webpack_require__("JAKr"); var isCallable = __webpack_require__("ELn+"); var isObject = __webpack_require__("DG0c"); var $TypeError = TypeError; // `OrdinaryToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-ordinarytoprimitive module.exports = function (input, pref) { var fn, val; if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; throw $TypeError("Can't convert object to primitive value"); }; /***/ }), /***/ "b2+w": /***/ (function(module, exports, __webpack_require__) { "use strict"; /****************************************************************************** * Created 2008-08-19. * * Dijkstra path-finding functions. Adapted from the Dijkstar Python project. * * Copyright (C) 2008 * Wyatt Baldwin <self@wyattbaldwin.com> * All rights reserved * * Licensed under the MIT license. * * http://www.opensource.org/licenses/mit-license.php * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. *****************************************************************************/ var dijkstra = { single_source_shortest_paths: function(graph, s, d) { // Predecessor map for each node that has been encountered. // node ID => predecessor node ID var predecessors = {}; // Costs of shortest paths from s to all nodes encountered. // node ID => cost var costs = {}; costs[s] = 0; // Costs of shortest paths from s to all nodes encountered; differs from // `costs` in that it provides easy access to the node that currently has // the known shortest path from s. // XXX: Do we actually need both `costs` and `open`? var open = dijkstra.PriorityQueue.make(); open.push(s, 0); var closest, u, v, cost_of_s_to_u, adjacent_nodes, cost_of_e, cost_of_s_to_u_plus_cost_of_e, cost_of_s_to_v, first_visit; while (!open.empty()) { // In the nodes remaining in graph that have a known cost from s, // find the node, u, that currently has the shortest path from s. closest = open.pop(); u = closest.value; cost_of_s_to_u = closest.cost; // Get nodes adjacent to u... adjacent_nodes = graph[u] || {}; // ...and explore the edges that connect u to those nodes, updating // the cost of the shortest paths to any or all of those nodes as // necessary. v is the node across the current edge from u. for (v in adjacent_nodes) { if (adjacent_nodes.hasOwnProperty(v)) { // Get the cost of the edge running from u to v. cost_of_e = adjacent_nodes[v]; // Cost of s to u plus the cost of u to v across e--this is *a* // cost from s to v that may or may not be less than the current // known cost to v. cost_of_s_to_u_plus_cost_of_e = cost_of_s_to_u + cost_of_e; // If we haven't visited v yet OR if the current known cost from s to // v is greater than the new cost we just found (cost of s to u plus // cost of u to v across e), update v's cost in the cost list and // update v's predecessor in the predecessor list (it's now u). cost_of_s_to_v = costs[v]; first_visit = (typeof costs[v] === 'undefined'); if (first_visit || cost_of_s_to_v > cost_of_s_to_u_plus_cost_of_e) { costs[v] = cost_of_s_to_u_plus_cost_of_e; open.push(v, cost_of_s_to_u_plus_cost_of_e); predecessors[v] = u; } } } } if (typeof d !== 'undefined' && typeof costs[d] === 'undefined') { var msg = ['Could not find a path from ', s, ' to ', d, '.'].join(''); throw new Error(msg); } return predecessors; }, extract_shortest_path_from_predecessor_list: function(predecessors, d) { var nodes = []; var u = d; var predecessor; while (u) { nodes.push(u); predecessor = predecessors[u]; u = predecessors[u]; } nodes.reverse(); return nodes; }, find_path: function(graph, s, d) { var predecessors = dijkstra.single_source_shortest_paths(graph, s, d); return dijkstra.extract_shortest_path_from_predecessor_list( predecessors, d); }, /** * A very naive priority queue implementation. */ PriorityQueue: { make: function (opts) { var T = dijkstra.PriorityQueue, t = {}, key; opts = opts || {}; for (key in T) { if (T.hasOwnProperty(key)) { t[key] = T[key]; } } t.queue = []; t.sorter = opts.sorter || T.default_sorter; return t; }, default_sorter: function (a, b) { return a.cost - b.cost; }, /** * Add a new item to the queue and ensure the highest priority element * is at the front of the queue. */ push: function (value, cost) { var item = {value: value, cost: cost}; this.queue.push(item); this.queue.sort(this.sorter); }, /** * Return the highest priority element in the queue. */ pop: function () { return this.queue.shift(); }, empty: function () { return this.queue.length === 0; } } }; // node.js module exports if (true) { module.exports = dijkstra; } /***/ }), /***/ "b5YC": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".rotateAnimation[data-v-01ef1520]{animation:rotate360-data-v-01ef1520 1s infinite;animation-timing-function:linear}@keyframes rotate360-data-v-01ef1520{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wrap-upay[data-v-01ef1520]{width:85%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-sizing:border-box;-ms-flex-pack:justify;justify-content:space-between;padding:10px 0}.wrap-upay img[data-v-01ef1520]{width:22px}.wrap-upay .wrap-balance[data-v-01ef1520]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-sizing:border-box;font-size:16px;-ms-flex-pack:center;justify-content:center}.wrap-upay .wrap-balance .refresh-img[data-v-01ef1520]{cursor:pointer}.wrap-upay .wrap-balance .u-money[data-v-01ef1520]{-ms-flex-pack:center;justify-content:center;font-family:D-DIN-PRO;color:#696969;margin-right:5px}.wrap-upay .buy-submit[data-v-01ef1520],.wrap-upay .wrap-balance .u-money[data-v-01ef1520]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-sizing:border-box}.wrap-upay .buy-submit[data-v-01ef1520]{height:30px;padding:2px 7px;color:#fff;font-size:12px;border-radius:7.2px;background:#fa9331;border:none;cursor:pointer}.deposit .header[data-v-01ef1520]{height:60px;color:#696969;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;font-weight:400;margin:0 14px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.deposit .header .tab-group[data-v-01ef1520]{margin-left:4rem;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:center;align-items:center}.deposit .header .tab-group .tab-item[data-v-01ef1520]{width:9rem;background-color:#fff;position:relative;color:#a3a6ab;border:1px solid #f6f6f6;border-radius:.4rem;cursor:pointer;margin-right:1.8rem}.deposit .header .tab-group .tab-item.active[data-v-01ef1520]{background:linear-gradient(#ff6953,#ff920b);color:#fff}.deposit .header .tab-group .tab-item .text[data-v-01ef1520]{height:2rem;position:relative;z-index:1;padding:.1rem 0;font-size:.965rem;border-radius:2rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.deposit .header .tab-group .tab-item .hot[data-v-01ef1520]{position:absolute;top:-.7rem;right:-4rem}.deposit .header .tab-group .tab-item .hot.hot-booking[data-v-01ef1520]{width:7.75rem;height:1.56rem;background:url(\"/static/public/image/bankImg/hot-bg.png\") no-repeat 50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:1}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-tag[data-v-01ef1520]{width:1rem;margin-right:.2rem}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-text[data-v-01ef1520]{color:#fff;font-size:.83rem}.deposit .content .deposit-alipaybing[data-v-01ef1520]{width:52%}.deposit .content .deposit-alipaybing .bank[data-v-01ef1520]{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.deposit .content .deposit-alipaybing .bank .mask[data-v-01ef1520]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-alipaybing .bank .mask img[data-v-01ef1520]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-alipaybing .bank .title[data-v-01ef1520]{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit .content .deposit-alipaybing .bank .title span[data-v-01ef1520]{font-size:16px;color:#fff}.deposit .content .deposit-alipaybing .bank .bank-kh[data-v-01ef1520]{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.deposit .content .deposit-alipaybing .bank .bank-kh span[data-v-01ef1520]{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.deposit .content .deposit-alipaybing .bank .bank-info[data-v-01ef1520]{height:36px;line-height:36px}.deposit .content .deposit-alipaybing .bank .bank-info span[data-v-01ef1520]{display:inline-block;font-size:14px;color:#fff}.deposit .content .deposit-alipaybing .pay-bankinfo .row[data-v-01ef1520]{margin-left:78px;margin-top:10px}.deposit .content .deposit-alipaybing .pay-bankinfo .row.middle[data-v-01ef1520]{width:70%;font-size:14px;text-align:center}.deposit .content .deposit-alipaybing .pay-bankinfo .row.middle a[data-v-01ef1520]{float:right}.deposit .content .deposit-alipaybing .pay-bankinfo .row label[data-v-01ef1520]{font-size:15px;font-family:Microsoft YaHei}.deposit .content .deposit-alipaybing .pay-bankinfo .row input[data-v-01ef1520]{height:38px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;text-indent:3px;padding-left:10px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666;margin-right:10px}.deposit .content .deposit-alipaybing .pay-bankinfo .row input[data-v-01ef1520]:not(.other){width:242px;height:38px;background:#f9f9f9}.deposit .content .deposit-alipaybing .pay-bankinfo .row input[data-v-01ef1520]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.deposit .content .deposit-alipaybing .pay-bankinfo .bar[data-v-01ef1520]{margin-top:16px;display:-ms-flexbox;display:flex}.deposit .content .deposit-alipaybing .pay-bankinfo .bar span[data-v-01ef1520]{font-size:14px;-ms-flex:1;flex:1}.deposit .content .deposit-alipaybing .submit[data-v-01ef1520]{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin:30px auto 0;cursor:pointer}.deposit .content .deposit-alipaybing .submit.active[data-v-01ef1520]{background:linear-gradient(180deg,#ccc,#eee)}.deposit .content .deposit-alipaybing .submit.active[data-v-01ef1520]:hover{cursor:not-allowed}.deposit .content .deposit-alipaybing .max-bank[data-v-01ef1520]{margin-left:24px;font-size:1.3em}.deposit .content .deposit-alipaybing .toast[data-v-01ef1520]{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:410px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.deposit .content .deposit-alipaybing .toast[data-v-01ef1520]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.deposit .content .deposit-alipaybing .ivu-carousel-dots-inside[data-v-01ef1520]{bottom:-20px}.deposit .content .deposit-right[data-v-01ef1520]{width:48%;height:580px;background:#f2f2f2;border-radius:0 0 15px 0}.ivu-table[data-v-01ef1520]{background:#f2f2f2}", ""]); // exports /***/ }), /***/ "bYFV": /***/ (function(module, exports, __webpack_require__) { var toIntegerOrInfinity = __webpack_require__("/gFw"); var min = Math.min; // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength module.exports = function (argument) { return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; /***/ }), /***/ "biY2": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("SIrR"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("a8ef369e", content, true, {}); /***/ }), /***/ "c7E9": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("BEDI"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("3f814f61", content, true, {}); /***/ }), /***/ "cGQc": /***/ (function(module, exports, __webpack_require__) { var fails = __webpack_require__("fwHU"); var isCallable = __webpack_require__("ELn+"); var replacement = /#|\.prototype\./; var isForced = function (feature, detection) { var value = data[normalize(feature)]; return value == POLYFILL ? true : value == NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection; }; var normalize = isForced.normalize = function (string) { return String(string).replace(replacement, '.').toLowerCase(); }; var data = isForced.data = {}; var NATIVE = isForced.NATIVE = 'N'; var POLYFILL = isForced.POLYFILL = 'P'; module.exports = isForced; /***/ }), /***/ "cJP9": /***/ (function(module, exports) { // can-promise has a crash in some versions of react native that dont have // standard global objects // https://github.com/soldair/node-qrcode/issues/157 module.exports = function () { return typeof Promise === 'function' && Promise.prototype && Promise.prototype.then } /***/ }), /***/ "cdvp": /***/ (function(module, exports, __webpack_require__) { var requireObjectCoercible = __webpack_require__("O66V"); var $Object = Object; // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject module.exports = function (argument) { return $Object(requireObjectCoercible(argument)); }; /***/ }), /***/ "clst": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("jI+G"); var isObject = __webpack_require__("DG0c"); var document = global.document; // typeof document.createElement is 'object' in old IE var EXISTS = isObject(document) && isObject(document.createElement); module.exports = function (it) { return EXISTS ? document.createElement(it) : {}; }; /***/ }), /***/ "d/MT": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".footer .pull-left[data-v-759f3900]{float:left!important}.footer .pull-right[data-v-759f3900]{float:right!important}.footer .clearfix[data-v-759f3900]:after,.footer .clearfix[data-v-759f3900]:before{content:\" \";display:table}.footer .clearfix[data-v-759f3900]:after{clear:both}.footer-box[data-v-759f3900]{width:100%;height:300px;background:#151515;font-family:Microsoft YaHei!important}.footer-box .footer-area[data-v-759f3900]{position:relative;width:1200px;margin:0 auto}.footer-box .footer-area .title[data-v-759f3900]{overflow:hidden}.footer-box .footer-area .title ul[data-v-759f3900]{margin-top:22px}.footer-box .footer-area .title ul li[data-v-759f3900]:first-child{margin-left:6px;margin-right:41px}.footer-box .footer-area .title ul li[data-v-759f3900]:nth-child(2){margin-right:71px}.footer-box .footer-area .title ul li[data-v-759f3900]:nth-child(3){margin-right:76px}.footer-box .footer-area .title ul li[data-v-759f3900]{display:inline-block;font-size:18px;font-weight:400;color:#fff}.footer-box .footer-area .link-area[data-v-759f3900]{margin-left:7px}.footer-box .footer-area .link-area ul li[data-v-759f3900]{margin-top:20px;margin-left:4px}.footer-box .footer-area .link-area ul li a[data-v-759f3900]{font-size:14px;color:#707070}.footer-box .footer-area .link-area ul li a[data-v-759f3900]:hover{color:#fff}.footer-box .footer-area .footer-text[data-v-759f3900]{background:url(\"/static/xpj83/img/footer-line.png\") no-repeat;background-size:100% auto;margin-top:26px}.footer-box .footer-area .footer-text p[data-v-759f3900]{text-align:center;font-size:14px;font-weight:400;color:#707070;padding-top:16px}.footer-box .footer-area .shuxian[data-v-759f3900]{position:absolute;top:54px}.footer-box .footer-area .shuxian.shuxian1[data-v-759f3900]{left:122px}.footer-box .footer-area .shuxian.shuxian2[data-v-759f3900]{left:292px}.footer-box .footer-area .shuxian.shuxian3[data-v-759f3900]{left:436px}.footer-box .footer-area .footer-bg[data-v-759f3900]{position:absolute;top:64px}.footer-box .footer-area .footer-bg.footer-bg1[data-v-759f3900]{left:157px}.footer-box .footer-area .footer-bg.footer-bg2[data-v-759f3900]{left:327px}.footer-box .footer-area .footer-bg.footer-bg3[data-v-759f3900]{left:476px}", ""]); // exports /***/ }), /***/ "d2Pd": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("acY3"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("c41cdcc6", content, true, {}); /***/ }), /***/ "d33b": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".bindPhone[data-v-13ec9588]{width:100%;height:100%;background-color:rgba(0,0,0,.6);position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;z-index:1501;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bindPhone .pop-img[data-v-13ec9588]{width:580px;height:401px;border-radius:22px;background-color:#fff;position:relative;overflow:hidden;padding:31px 140px 44px}.bindPhone .pop-img .desc[data-v-13ec9588]{font-size:40px;font-family:MicrosoftYaHei-Bold,MicrosoftYaHei;font-weight:700;color:#000;line-height:53px}.bindPhone .pop-img div[data-v-13ec9588]{position:relative}.bindPhone .pop-img div input[data-v-13ec9588]{width:100%;border:none;border-bottom:2px dashed #666;height:45px;margin-top:33px;outline:none;color:#aaa;font-size:16px;text-indent:5px}.bindPhone .pop-img div input[data-v-13ec9588]:focus,.bindPhone .pop-img div input[data-v-13ec9588]:hover{outline:0}.bindPhone .pop-img div input[data-v-13ec9588]::-webkit-input-safebox-button{display:none}.bindPhone .pop-img div .button[data-v-13ec9588]{width:94px;height:33px;line-height:33px;color:#fff;background-color:#c2a775;font-size:16px;position:absolute;right:0;top:35px;border-radius:5px;border:none;cursor:pointer}.bindPhone .pop-img .bind[data-v-13ec9588]{font-size:12px;color:#aaa;letter-spacing:1px;margin-bottom:5px}.bindPhone .pop-img .bind span[data-v-13ec9588]{color:#e60b08;cursor:pointer}.bindPhone .pop-img .enter[data-v-13ec9588]{width:300px;height:41px;margin-top:25px;background-color:#f0f2f5;font-size:18px;text-align:center;border:none;color:#000;cursor:pointer}.bindPhone .pop-img .close[data-v-13ec9588]{width:42px;height:42px;cursor:pointer;position:absolute;right:20px;top:20px}.bindPhone .pop-img .close img[data-v-13ec9588]{width:100%;height:100%}", ""]); // exports /***/ }), /***/ "dKdS": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("exBO"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("c1762e58", content, true, {}); /***/ }), /***/ "de0p": /***/ (function(module, exports, __webpack_require__) { /* eslint-disable es-x/no-symbol -- required for testing */ var NATIVE_SYMBOL = __webpack_require__("iC8O"); module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == 'symbol'; /***/ }), /***/ "dkz4": /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__("DG0c"); var $String = String; var $TypeError = TypeError; // `Assert: Type(argument) is Object` module.exports = function (argument) { if (isObject(argument)) return argument; throw $TypeError($String(argument) + ' is not an object'); }; /***/ }), /***/ "dvLT": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("aYZ5"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("ae70fbe0", content, true, {}); /***/ }), /***/ "dvTS": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "[data-v-ab8089ba] .ivu-modal-mask,[data-v-ab8089ba] .ivu-modal-wrap{z-index:2000}[data-v-ab8089ba] .ivu-modal-close{right:0}[data-v-ab8089ba] .ivu-modal-footer{border-top:none;padding:0;text-align:left}[data-v-ab8089ba] .ivu-modal{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:318px;animation:_scaleEnter .3s ease}[data-v-ab8089ba] .ivu-modal.ease-leave-active{animation:_scaleLeave .3s ease}[data-v-ab8089ba] .ivu-modal-header{border-bottom:none;padding:0}[data-v-ab8089ba] .ivu-modal-close .ivu-icon-ios-close-empty{display:none}[data-v-ab8089ba] .ivu-modal-body{padding:0}[data-v-ab8089ba] .ivu-modal-close{top:3px}.footer[data-v-ab8089ba]{height:39px;background:#d93d32;border-radius:0 0 6px 6px;display:-ms-flexbox;display:flex}.footer span[data-v-ab8089ba]{width:172.5px;height:39px;display:inline-block;color:#fff;font-size:16px;line-height:39px;text-align:center;cursor:pointer}.footer .span1[data-v-ab8089ba]{border-right:1px solid #e96057}.headerp[data-v-ab8089ba]{text-align:center;margin-top:20px}.tishi[data-v-ab8089ba]{height:50px;line-height:50px;font-size:18px;color:#fff;background-color:#403d58;border-radius:6px 6px 0 0;border-bottom:1px solid #4b495c}.tishi span[data-v-ab8089ba]{margin-left:110px;margin-top:16px;font-size:18px}.agent-con[data-v-ab8089ba]{position:relative;background-color:#403d58;height:135px;padding-top:17px}.agent-con .showname[data-v-ab8089ba]{color:#d93d32}.agent-con .rename[data-v-ab8089ba]{margin-left:27px;font-size:14px;color:#fff}.agent-con input[data-v-ab8089ba]{width:238px;height:38px;margin-left:54px;margin-top:21px;border:1px solid #6e6c7c;border-radius:3px;color:#fff;text-indent:5px}.agent-con #inputtext[data-v-ab8089ba]{background-color:#403d58}.vp-admin-wrap-close[data-v-ab8089ba]{display:none;width:60px;height:40px;background:#f2f2f2;border-bottom-left-radius:24px;border-top-left-radius:24px}.vp-admin-wrap-close[data-v-ab8089ba]:hover{background:linear-gradient(180deg,#ff3492,#ff1e4f)}.vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-ab8089ba]{position:relative;background:#fff;border-radius:50%;width:36px;height:36px;font-size:56px;left:2px;top:2px;transition:all .5s ease-in}.vp-admin-wrap-close .vp-admin-wrap-close-empty a[data-v-ab8089ba]{position:absolute;top:9px;left:9px;width:20px;height:20px;display:inline-block;background:url(\"/static/public/image/common/vp-common-close.png\") #fff;background-size:98% 98%}.vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-ab8089ba]:hover{transform:translateX(40%)}", ""]); // exports /***/ }), /***/ "e0r6": /***/ (function(module, exports, __webpack_require__) { "use strict"; var uncurryThis = __webpack_require__("CwQ2"); var defineBuiltIns = __webpack_require__("Vpjp"); var getWeakData = __webpack_require__("mjl2").getWeakData; var anObject = __webpack_require__("dkz4"); var isObject = __webpack_require__("DG0c"); var anInstance = __webpack_require__("0gMh"); var iterate = __webpack_require__("fdvV"); var ArrayIterationModule = __webpack_require__("40kW"); var hasOwn = __webpack_require__("SGKV"); var InternalStateModule = __webpack_require__("VbOW"); var setInternalState = InternalStateModule.set; var internalStateGetterFor = InternalStateModule.getterFor; var find = ArrayIterationModule.find; var findIndex = ArrayIterationModule.findIndex; var splice = uncurryThis([].splice); var id = 0; // fallback for uncaught frozen keys var uncaughtFrozenStore = function (store) { return store.frozen || (store.frozen = new UncaughtFrozenStore()); }; var UncaughtFrozenStore = function () { this.entries = []; }; var findUncaughtFrozen = function (store, key) { return find(store.entries, function (it) { return it[0] === key; }); }; UncaughtFrozenStore.prototype = { get: function (key) { var entry = findUncaughtFrozen(this, key); if (entry) return entry[1]; }, has: function (key) { return !!findUncaughtFrozen(this, key); }, set: function (key, value) { var entry = findUncaughtFrozen(this, key); if (entry) entry[1] = value; else this.entries.push([key, value]); }, 'delete': function (key) { var index = findIndex(this.entries, function (it) { return it[0] === key; }); if (~index) splice(this.entries, index, 1); return !!~index; } }; module.exports = { getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { var Constructor = wrapper(function (that, iterable) { anInstance(that, Prototype); setInternalState(that, { type: CONSTRUCTOR_NAME, id: id++, frozen: undefined }); if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); }); var Prototype = Constructor.prototype; var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); var define = function (that, key, value) { var state = getInternalState(that); var data = getWeakData(anObject(key), true); if (data === true) uncaughtFrozenStore(state).set(key, value); else data[state.id] = value; return that; }; defineBuiltIns(Prototype, { // `{ WeakMap, WeakSet }.prototype.delete(key)` methods // https://tc39.es/ecma262/#sec-weakmap.prototype.delete // https://tc39.es/ecma262/#sec-weakset.prototype.delete 'delete': function (key) { var state = getInternalState(this); if (!isObject(key)) return false; var data = getWeakData(key); if (data === true) return uncaughtFrozenStore(state)['delete'](key); return data && hasOwn(data, state.id) && delete data[state.id]; }, // `{ WeakMap, WeakSet }.prototype.has(key)` methods // https://tc39.es/ecma262/#sec-weakmap.prototype.has // https://tc39.es/ecma262/#sec-weakset.prototype.has has: function has(key) { var state = getInternalState(this); if (!isObject(key)) return false; var data = getWeakData(key); if (data === true) return uncaughtFrozenStore(state).has(key); return data && hasOwn(data, state.id); } }); defineBuiltIns(Prototype, IS_MAP ? { // `WeakMap.prototype.get(key)` method // https://tc39.es/ecma262/#sec-weakmap.prototype.get get: function get(key) { var state = getInternalState(this); if (isObject(key)) { var data = getWeakData(key); if (data === true) return uncaughtFrozenStore(state).get(key); return data ? data[state.id] : undefined; } }, // `WeakMap.prototype.set(key, value)` method // https://tc39.es/ecma262/#sec-weakmap.prototype.set set: function set(key, value) { return define(this, key, value); } } : { // `WeakSet.prototype.add(value)` method // https://tc39.es/ecma262/#sec-weakset.prototype.add add: function add(value) { return define(this, value, true); } }); return Constructor; } }; /***/ }), /***/ "eiEg": /***/ (function(module, exports, __webpack_require__) { var getBuiltIn = __webpack_require__("VL6R"); var isCallable = __webpack_require__("ELn+"); var isPrototypeOf = __webpack_require__("KPk5"); var USE_SYMBOL_AS_UID = __webpack_require__("de0p"); var $Object = Object; module.exports = USE_SYMBOL_AS_UID ? function (it) { return typeof it == 'symbol'; } : function (it) { var $Symbol = getBuiltIn('Symbol'); return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); }; /***/ }), /***/ "eutb": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/src/assets/img/springFestival/red-envelope.e2ce81b.png"; /***/ }), /***/ "exBO": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".bindbank[data-v-6a44388c]{width:100%;height:100%;background-color:rgba(0,0,0,.6);position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;z-index:1001}.bindbank .pop[data-v-6a44388c],.bindbank[data-v-6a44388c]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bindbank .pop[data-v-6a44388c]{width:600px;height:400px;position:relative}.bindbank .pop .pop-img[data-v-6a44388c]{width:520px;height:326px;background-color:#fff;position:relative;overflow:hidden}.bindbank .pop .pop-img .title[data-v-6a44388c]{width:100%;height:40px;font-size:30px;font-family:MicrosoftYaHei-Bold,MicrosoftYaHei;font-weight:700;color:#000;line-height:40px;text-align:center;margin-top:93px}.bindbank .pop .pop-img .btn[data-v-6a44388c]{height:41px;margin:59px 110px}.bindbank .pop .pop-img button[data-v-6a44388c]{width:140px;height:41px;border:none;font-size:16px;border-radius:5px;cursor:pointer}.bindbank .pop .pop-img button[data-v-6a44388c]:focus,.bindbank .pop .pop-img button[data-v-6a44388c]:hover{outline:0;border:non}.bindbank .pop .pop-img button[data-v-6a44388c]:first-child{background-color:#f0f2f5;color:#000}.bindbank .pop .pop-img button[data-v-6a44388c]:nth-child(2){background-color:#c2a775;color:#fff;margin-left:10px}.bindbank .pop .close[data-v-6a44388c]{width:30px;height:30px;position:absolute;right:20px;top:5px;cursor:pointer}.bindbank .pop .close img[data-v-6a44388c]{width:30px;height:30px}", ""]); // exports /***/ }), /***/ "f6OF": /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__("8Nt4"); var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("8T4L"); var definePropertyModule = __webpack_require__("TQ+1"); var anObject = __webpack_require__("dkz4"); var toIndexedObject = __webpack_require__("OPii"); var objectKeys = __webpack_require__("NmtO"); // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties // eslint-disable-next-line es-x/no-object-defineproperties -- safe exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); var props = toIndexedObject(Properties); var keys = objectKeys(Properties); var length = keys.length; var index = 0; var key; while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); return O; }; /***/ }), /***/ "fAub": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".peronsals .binding .content .deposit-left .ivu-select{width:242px}.peronsals .binding .content .deposit-left .ivu-select .ivu-select-dropdown-list{height:265px}.peronsals .binding .content .deposit-left .adressSelect .ivu-select-dropdown-list{height:340px}.peronsals .binding .content .deposit-left .csSelect .ivu-select-dropdown-list{max-height:340px;height:auto}.peronsals .binding .content .deposit-left .mbSelect .ivu-select-dropdown-list{max-height:230px;height:auto}.bindingEbao .header{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;font-weight:600;margin:0 14px;font-family:Microsoft YaHei;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.bindingEbao .header img{width:26px;margin-right:10px}.bindingEbao .content .deposit-left{padding-top:6px;width:52%;position:relative}.bindingEbao .content .deposit-left .tips{position:relative;padding:20px;width:339px;border:1px solid #e0e0e0;margin-left:65px}.bindingEbao .content .deposit-left .tips p{color:#969696;font-size:14px;line-height:25px}.bindingEbao .content .deposit-left .tips p:first-child{font-weight:700}.bindingEbao .content .deposit-left .row{margin-top:20px}.bindingEbao .content .deposit-left .row .text{display:inline-block;width:144px;text-align:right;font-size:16px;font-family:Microsoft YaHei;vertical-align:middle;color:#696969}.bindingEbao .content .deposit-left .row input{width:275px;height:37px;background:#f9f9f9;border:1px solid #f5f5f5;font-size:16px;border-radius:10px;text-align:left;text-indent:.4em;padding-left:7px;color:#666}.bindingEbao .content .deposit-left .row input:not(.other){width:275px;height:38px;background:#f9f9f9}.bindingEbao .content .deposit-left .row input:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.bindingEbao .content .deposit-left .bar{height:50px;line-height:50px}.bindingEbao .content .deposit-left .bar label{display:inline-block;width:144px;text-align:right;font-size:15px;font-family:Microsoft YaHei}.bindingEbao .content .deposit-left .bar span{font-size:15px;font-family:Microsoft YaHei}.bindingEbao .content .deposit-left .bar span span{color:#f90;text-decoration:underline;font-family:Microsoft YaHei;cursor:pointer;font-size:15px;padding-left:5px;padding-left:-2px}.bindingEbao .content .deposit-left .submit{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin-top:28px;margin-left:150px;display:inline-block;cursor:pointer}.bindingEbao .content .deposit-left .submit.active{background:linear-gradient(180deg,#ccc,#eee)}.bindingEbao .content .deposit-left .submit.active:hover{cursor:not-allowed}.bindingEbao .content .deposit-left .max-bank{padding-left:20px;font-size:1.3em;display:block;font-size:15px;border-bottom:1px solid #f3f3f3;padding-bottom:20px;margin:1px 50px}.bindingEbao .content .deposit-left .toast{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:-93px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.bindingEbao .content .deposit-left .toast:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.bindingEbao .content .deposit-left .ivu-select{width:275px}.bindingEbao .content .deposit-usdt{width:48%;height:584px;background:#f2f2f2;border-radius:0 0 15px 0}.bindingEbao .content .deposit-usdt .bank{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;position:relative}.bindingEbao .content .deposit-usdt .bank .mask{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.bindingEbao .content .deposit-usdt .bank .mask img{margin-top:20px;margin-left:210px;width:140px;height:60px}.bindingEbao .content .deposit-usdt .bank .title{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bindingEbao .content .deposit-usdt .bank .title span{font-size:16px;color:#fff}.bindingEbao .content .deposit-usdt .bank .bank-kh{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.bindingEbao .content .deposit-usdt .bank .bank-kh span{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.bindingEbao .content .deposit-usdt .bank .bank-info{height:36px;line-height:36px}.bindingEbao .content .deposit-usdt .bank .bank-info span{display:inline-block;font-size:14px;color:#fff}.bindingEbao .content .deposit-usdt .ivu-carousel-dots-inside{bottom:-20px}", ""]); // exports /***/ }), /***/ "fD3f": /***/ (function(module, exports, __webpack_require__) { "use strict"; var charAt = __webpack_require__("Ufyy").charAt; var toString = __webpack_require__("lhK/"); var InternalStateModule = __webpack_require__("VbOW"); var defineIterator = __webpack_require__("0g/h"); var STRING_ITERATOR = 'String Iterator'; var setInternalState = InternalStateModule.set; var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); // `String.prototype[@@iterator]` method // https://tc39.es/ecma262/#sec-string.prototype-@@iterator defineIterator(String, 'String', function (iterated) { setInternalState(this, { type: STRING_ITERATOR, string: toString(iterated), index: 0 }); // `%StringIteratorPrototype%.next` method // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next }, function next() { var state = getInternalState(this); var string = state.string; var index = state.index; var point; if (index >= string.length) return { value: undefined, done: true }; point = charAt(string, index); state.index += point.length; return { value: point, done: false }; }); /***/ }), /***/ "fZOM": /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-object-values-entries var $export = __webpack_require__("kM2E"); var $values = __webpack_require__("mbce")(false); $export($export.S, 'Object', { values: function values(it) { return $values(it); } }); /***/ }), /***/ "fdvV": /***/ (function(module, exports, __webpack_require__) { var bind = __webpack_require__("NFMI"); var call = __webpack_require__("JAKr"); var anObject = __webpack_require__("dkz4"); var tryToString = __webpack_require__("l9Ez"); var isArrayIteratorMethod = __webpack_require__("HJBj"); var lengthOfArrayLike = __webpack_require__("DrWn"); var isPrototypeOf = __webpack_require__("KPk5"); var getIterator = __webpack_require__("3r2m"); var getIteratorMethod = __webpack_require__("1fdL"); var iteratorClose = __webpack_require__("Jnwp"); var $TypeError = TypeError; var Result = function (stopped, result) { this.stopped = stopped; this.result = result; }; var ResultPrototype = Result.prototype; module.exports = function (iterable, unboundFunction, options) { var that = options && options.that; var AS_ENTRIES = !!(options && options.AS_ENTRIES); var IS_ITERATOR = !!(options && options.IS_ITERATOR); var INTERRUPTED = !!(options && options.INTERRUPTED); var fn = bind(unboundFunction, that); var iterator, iterFn, index, length, result, next, step; var stop = function (condition) { if (iterator) iteratorClose(iterator, 'normal', condition); return new Result(true, condition); }; var callFn = function (value) { if (AS_ENTRIES) { anObject(value); return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); } return INTERRUPTED ? fn(value, stop) : fn(value); }; if (IS_ITERATOR) { iterator = iterable; } else { iterFn = getIteratorMethod(iterable); if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable'); // optimisation for array iterators if (isArrayIteratorMethod(iterFn)) { for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { result = callFn(iterable[index]); if (result && isPrototypeOf(ResultPrototype, result)) return result; } return new Result(false); } iterator = getIterator(iterable, iterFn); } next = iterator.next; while (!(step = call(next, iterator)).done) { try { result = callFn(step.value); } catch (error) { iteratorClose(iterator, 'throw', error); } if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; } return new Result(false); }; /***/ }), /***/ "fq/L": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("8i4O"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("03c05937", content, true, {}); /***/ }), /***/ "fwHU": /***/ (function(module, exports) { module.exports = function (exec) { try { return !!exec(); } catch (error) { return true; } }; /***/ }), /***/ "g2/s": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "@keyframes _scaleEnter-data-v-4b0ae208{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes _scaleLeave-data-v-4b0ae208{0%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-50%) scale(.9)}}[data-v-4b0ae208] .ivu-modal-mask,[data-v-4b0ae208] .ivu-modal-wrap{z-index:2000}[data-v-4b0ae208] .ivu-modal-close{right:0}[data-v-4b0ae208] .ivu-modal-footer{border-top:none;display:none}[data-v-4b0ae208] .ivu-modal{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:318px;animation:_scaleEnter-data-v-4b0ae208 .3s ease}[data-v-4b0ae208] .ivu-modal.v-leave-active{animation:_scaleLeave-data-v-4b0ae208 .3s ease}[data-v-4b0ae208] .ivu-modal-header{border-bottom:none;padding:0}[data-v-4b0ae208] .ivu-modal-close .ivu-icon-ios-close-empty{color:#fff;font-size:37px;top:0}[data-v-4b0ae208] .ivu-modal-body{padding:51.5px 0}[data-v-4b0ae208] .ivu-modal-close{top:0;right:20px}.headerp[data-v-4b0ae208]{text-align:center;margin-top:20px}.tishi[data-v-4b0ae208]{height:40px;line-height:40px;font-size:18px;color:#fff;border-radius:6px 6px 0 0}.tishi span[data-v-4b0ae208]{margin-left:30px}.agent-con[data-v-4b0ae208]{text-align:center;vertical-align:middle}.agent-con span:first-child i[data-v-4b0ae208]{font-size:40px;color:#f90;margin-right:8px}.agent-con span:first-child i[data-v-4b0ae208]:before{position:relative;top:0}.agent-con .tispan[data-v-4b0ae208]{font-size:17px;color:#1f1f1f;position:relative;top:-8px}.tipMarket-box[data-v-4b0ae208]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.tipMarket-box span[data-v-4b0ae208]{display:block}.tipMarket-box .tispan[data-v-4b0ae208]{top:0}", ""]); // exports /***/ }), /***/ "g4g4": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("Xrmd"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("4911d9dd", content, true, {}); /***/ }), /***/ "gRE1": /***/ (function(module, exports, __webpack_require__) { module.exports = { "default": __webpack_require__("TmV0"), __esModule: true }; /***/ }), /***/ "gSwd": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".green[data-v-28acaac7]{color:#12a441!important}.blue[data-v-28acaac7]{color:#388bfe!important}.red[data-v-28acaac7]{color:#fe4442!important}.normal[data-v-28acaac7]{color:#696969!important}.free-money .header[data-v-28acaac7]{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:70px;font-weight:400;cursor:pointer;margin-left:14px}.free-money .borrow-content[data-v-28acaac7]{background:#fff;padding-top:20px;height:580px}.free-money .borrow-content .details[data-v-28acaac7]{width:964px;margin:auto;background:#fff}.free-money .borrow-content .details div[data-v-28acaac7]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-bottom:1px solid #f4f4f4;border-top:1px solid #f4f4f4}.free-money .borrow-content .details div p[data-v-28acaac7]{width:161px;height:35px;text-align:center;line-height:35px;color:#696969;font-size:15px}.free-money .borrow-content .details div p[data-v-28acaac7]:first-child,.free-money .borrow-content .details div p[data-v-28acaac7]:nth-child(2),.free-money .borrow-content .details div p[data-v-28acaac7]:nth-child(3),.free-money .borrow-content .details div p[data-v-28acaac7]:nth-child(4),.free-money .borrow-content .details div p[data-v-28acaac7]:nth-child(5){border-left:1px solid #f4f4f4}.free-money .borrow-content .details div p[data-v-28acaac7]:last-child{border-right:1px solid #f4f4f4}.free-money .borrow-content .details ul[data-v-28acaac7]::-webkit-scrollbar{display:none}.free-money .borrow-content .details ul[data-v-28acaac7]{height:505px;overflow-y:auto;position:relative}.free-money .borrow-content .details ul li[data-v-28acaac7]{line-height:35px;color:#696969;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-bottom:1px solid #f4f4f4}.free-money .borrow-content .details ul li span[data-v-28acaac7]{display:inline-block;width:161px;height:35px;font-size:15px;text-align:center}.free-money .borrow-content .details ul li span[data-v-28acaac7]:first-child,.free-money .borrow-content .details ul li span[data-v-28acaac7]:nth-child(2),.free-money .borrow-content .details ul li span[data-v-28acaac7]:nth-child(3),.free-money .borrow-content .details ul li span[data-v-28acaac7]:nth-child(4),.free-money .borrow-content .details ul li span[data-v-28acaac7]:nth-child(5){border-left:1px solid #f4f4f4}.free-money .borrow-content .details ul li span[data-v-28acaac7]:last-child{cursor:pointer;color:#ff9146;border-right:1px solid #f4f4f4}.free-money .borrow-content .details .nodata[data-v-28acaac7]{position:absolute;top:55%;left:57%;transform:translate(-50%,-50%)}.free-money .borrow-content .details2[data-v-28acaac7]{width:964px;height:220px;margin:auto;background-image:url(\"/static/public/image/userImg/br_bg.png\");background-size:100% 100%;background-repeat:no-repeat;position:relative}.free-money .borrow-content .details2 .norepay[data-v-28acaac7]{width:200px;position:absolute;top:26%;left:50%;transform:translate(-50%,-50%)}.free-money .borrow-content .details2 .norepay p[data-v-28acaac7]{color:#fff;font-size:18px;text-align:center;line-height:45px}.free-money .borrow-content .details2 .norepay p[data-v-28acaac7]:last-child{font-size:50px}.free-money .borrow-content .details2 .someDetail[data-v-28acaac7]{position:absolute;left:50%;top:70%;transform:translate(-50%,-50%);width:530px;height:80px;background:#fffbf5;border-radius:10px;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.free-money .borrow-content .details2 .someDetail div[data-v-28acaac7]{width:50%;text-align:center;padding-top:10px}.free-money .borrow-content .details2 .someDetail div:first-child p[data-v-28acaac7]{border-right:1px solid #e7ddcf}.free-money .borrow-content .details2 .someDetail div p[data-v-28acaac7]{color:#d3a780;font-size:18px;line-height:30px}.free-money .borrow-content .details2 .someDetail div p[data-v-28acaac7]:last-child{color:#000;font-size:22px}.free-money .borrow-content .details2 .borrowDetal[data-v-28acaac7]{position:absolute;top:235px;background:#fff}.free-money .borrow-content .details2 .borrowDetal div[data-v-28acaac7]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-bottom:1px solid #f4f4f4;border-top:1px solid #f4f4f4}.free-money .borrow-content .details2 .borrowDetal div p[data-v-28acaac7]{color:#696969;height:35px;width:320px;font-size:15px;line-height:35px;text-align:center}.free-money .borrow-content .details2 .borrowDetal div p[data-v-28acaac7]:first-child,.free-money .borrow-content .details2 .borrowDetal div p[data-v-28acaac7]:nth-child(2){border-left:1px solid #f4f4f4}.free-money .borrow-content .details2 .borrowDetal div p[data-v-28acaac7]:last-child{border-right:1px solid #f4f4f4;border-left:1px solid #f4f4f4}.free-money .borrow-content .details2 .borrowDetal ul[data-v-28acaac7]{height:315px;overflow-y:auto}.free-money .borrow-content .details2 .borrowDetal ul li[data-v-28acaac7]{height:35px;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-bottom:1px solid #f4f4f4}.free-money .borrow-content .details2 .borrowDetal ul li span[data-v-28acaac7]{display:inline-block;width:320px;color:#696969;line-height:35px;font-size:15px;text-align:center}.free-money .borrow-content .details2 .borrowDetal ul li span[data-v-28acaac7]:first-child,.free-money .borrow-content .details2 .borrowDetal ul li span[data-v-28acaac7]:nth-child(2){border-left:1px solid #f4f4f4}.free-money .borrow-content .details2 .borrowDetal ul li span[data-v-28acaac7]:last-child{border-right:1px solid #f4f4f4;border-left:1px solid #f4f4f4}.free-money .borrow-content .details3 .payFinish[data-v-28acaac7]{margin:auto;width:964px;background:#fff;padding-top:10px;position:relative;height:193px;background-size:100% 100%;background-repeat:no-repeat;background-image:url(\"/static/public/image/userImg/br_bg.png\")}.free-money .borrow-content .details3 .payFinish .finidhShow div[data-v-28acaac7]{position:absolute;top:45px;right:80px}.free-money .borrow-content .details3 .payFinish .finidhShow p[data-v-28acaac7]{text-align:center;height:35px;font-size:15px;line-height:50px;margin-top:12px;color:#fff}.free-money .borrow-content .details3 .payFinish .finidhShow p[data-v-28acaac7]:first-child{font-size:20px}.free-money .borrow-content .details3 .payFinish .finidhShow p[data-v-28acaac7]:nth-child(2){font-size:50px}.free-money .borrow-content .details3 .payFinish .finidhShow p[data-v-28acaac7]:nth-child(3){color:#865221;font-size:20px}.free-money .borrow-content .details3 .finishDetal[data-v-28acaac7]{margin-top:60px;background:#fff;border-top:1px solid #f4f4f4}.free-money .borrow-content .details3 .finishDetal div[data-v-28acaac7]{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-bottom:1px solid #f4f4f4}.free-money .borrow-content .details3 .finishDetal div p[data-v-28acaac7]{color:#696969;height:35px;width:320px;font-size:15px;line-height:35px;text-align:center}.free-money .borrow-content .details3 .finishDetal div p[data-v-28acaac7]:first-child{border-left:1px solid #f4f4f4}.free-money .borrow-content .details3 .finishDetal div p[data-v-28acaac7]:last-child,.free-money .borrow-content .details3 .finishDetal div p[data-v-28acaac7]:nth-child(2){border-right:1px solid #f4f4f4}.free-money .borrow-content .details3 .finishDetal ul[data-v-28acaac7]{height:315px;overflow-y:auto}.free-money .borrow-content .details3 .finishDetal ul li[data-v-28acaac7]{height:35px;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-bottom:1px solid #f4f4f4}.free-money .borrow-content .details3 .finishDetal ul li span[data-v-28acaac7]{display:inline-block;width:320px;color:#696969;line-height:35px;font-size:15px;text-align:center;border-right:1px solid #f4f4f4}.free-money .borrow-content .details3 .finishDetal ul li span[data-v-28acaac7]:first-child{border-left:1px solid #f4f4f4}", ""]); // exports /***/ }), /***/ "gXh5": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".new2020[data-v-323edb8a]{position:fixed;z-index:9999;cursor:pointer;width:304px;height:294.5px;bottom:10px;left:10px;background-repeat:no-repeat;background-position:50%;background-size:contain;background-image:url(\"/static/public/image/activity/usdt.png\")}.new2020 .clBtn[data-v-323edb8a]{width:32px;height:32px;background-image:url(\"/static/public/image/activity/x.png\");position:absolute;top:-12px;right:0;cursor:pointer}", ""]); // exports /***/ }), /***/ "hE/7": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("4ONC"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("0d28bfda", content, true, {}); /***/ }), /***/ "hK82": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".newBox[data-v-33a19400]{width:100%;height:100%;background-color:rgba(0,0,0,.6);position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;z-index:10001;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}@media (max-width:1680px){.newBox .pop-img[data-v-33a19400]{transform:scale(.9);width:752px;height:612px;border-radius:16px;background-color:#fff;position:relative;overflow:hidden}.newBox .pop-img .top_img[data-v-33a19400],.newBox .pop-img .top_img img[data-v-33a19400]{width:100%;height:64px}.newBox .pop-img #show_box[data-v-33a19400]{width:100%;height:476px;overflow:auto}.newBox .pop-img #show_box #show_textBox[data-v-33a19400]{padding:0 24px 0 30px}.newBox .pop-img #show_box #show_textBox li p[data-v-33a19400]{padding:0;margin:0;font-size:17px;font-family:Microsoft YaHei;font-weight:400;color:#333;line-height:28px}.newBox .pop-img #show_box #show_textBox li .border_line[data-v-33a19400]{width:100%;height:2px;background:#e7e7e7;margin:13px 0}.newBox .pop-img #show_box #show_textBox li:last-child .border_line[data-v-33a19400]{opacity:0;margin-bottom:0}.newBox .pop-img .btnBox[data-v-33a19400]{width:100%;height:72px;padding:0 24px}.newBox .pop-img .btnBox .border_line[data-v-33a19400]{width:100%;height:1px;background:#e7e7e7}.newBox .pop-img .btnBox .pop_btnBox[data-v-33a19400]{position:absolute;left:50%;bottom:0;transform:translateX(-50%);height:72px;padding:16px 0 24px}.newBox .pop-img .btnBox .pop_btnBox span[data-v-33a19400]{color:#444;height:32px;line-height:32px;font-size:15px}.newBox .pop-img .btnBox .pop_btnBox .btn_sty[data-v-33a19400]{outline:none;font-size:15px;width:72px;height:32px;line-height:32px;border:1px solid #c5c5c5;background-color:#fff;border-radius:5px;color:#444}.newBox .pop-img .btnBox .pop_btnBox .shang[data-v-33a19400]{margin-left:16px;margin-right:16px}.newBox .pop-img .close[data-v-33a19400]{width:34px;height:34px;position:absolute;cursor:pointer;right:16px;top:15px}.newBox .pop-img .close img[data-v-33a19400]{width:34px;height:34px}.newBox .pop-img .close[data-v-33a19400]:hover{opacity:.8}}@media (min-width:1680px){.newBox .pop-img[data-v-33a19400]{transform:scale(.9);width:932px;height:758px;border-radius:20px;background-color:#fff;position:relative;overflow:hidden}.newBox .pop-img .top_img[data-v-33a19400],.newBox .pop-img .top_img img[data-v-33a19400]{width:932px;height:80px}.newBox .pop-img #show_box[data-v-33a19400]{width:932px;height:588px;overflow:auto}.newBox .pop-img #show_box #show_textBox[data-v-33a19400]{padding:0 40px 0 46px}.newBox .pop-img #show_box #show_textBox li p[data-v-33a19400]{padding:0;margin:0;font-size:18px;font-family:Microsoft YaHei;font-weight:400;color:#333;line-height:28px}.newBox .pop-img #show_box #show_textBox li .border_line[data-v-33a19400]{width:100%;height:2px;background:#e7e7e7;margin:13px 0}.newBox .pop-img #show_box #show_textBox li:last-child .border_line[data-v-33a19400]{opacity:0;margin-bottom:0}.newBox .pop-img .btnBox[data-v-33a19400]{width:932px;height:90px;padding:0 46px}.newBox .pop-img .btnBox .border_line[data-v-33a19400]{width:100%;height:1px;background:#e7e7e7}.newBox .pop-img .btnBox .pop_btnBox[data-v-33a19400]{position:absolute;left:50%;bottom:0;transform:translateX(-50%);height:90px;padding:20px 0 30px}.newBox .pop-img .btnBox .pop_btnBox span[data-v-33a19400]{color:#444;height:40px;line-height:40px;font-size:16px}.newBox .pop-img .btnBox .pop_btnBox .btn_sty[data-v-33a19400]{outline:none;font-size:16px;width:90px;height:40px;line-height:40px;border:1px solid #c5c5c5;background-color:#fff;border-radius:5px;color:#444}.newBox .pop-img .btnBox .pop_btnBox .shang[data-v-33a19400]{margin-left:20px;margin-right:20px}.newBox .pop-img .close[data-v-33a19400]{width:42px;height:42px;position:absolute;cursor:pointer;right:20px;top:18px}.newBox .pop-img .close img[data-v-33a19400]{width:42px;height:42px}.newBox .pop-img .close[data-v-33a19400]:hover{opacity:.8}}.newBox .blueType[data-v-33a19400]{background-color:#131f3f}.newBox .blueType #show_box[data-v-33a19400]{width:100%;overflow:auto}.newBox .blueType #show_box #show_textBox li p[data-v-33a19400]{color:#5380d4}.newBox .blueType #show_box #show_textBox li .border_line[data-v-33a19400]{background-color:#1e3064}.newBox .blueType #show_box[data-v-33a19400]::-webkit-scrollbar{width:0;height:0}.newBox .blueType #show_box[data-v-33a19400]::-webkit-scrollbar-thumb{background:#5380d4}.newBox .blueType #show_box[data-v-33a19400]::-webkit-scrollbar-track{background-color:#1e3064}.newBox .blueType .btnBox .border_line[data-v-33a19400]{background-color:#1e3064}.newBox .blueType .btnBox .pop_btnBox .show_num[data-v-33a19400]{color:#34528c}.newBox .blueType .btnBox .pop_btnBox .btn_sty[data-v-33a19400]{background-color:#131f3f;border:1px solid #1e3064;color:#34528c}.newBox .blackType[data-v-33a19400]{background-color:#15151c}.newBox .blackType #show_box[data-v-33a19400]{width:100%;overflow:auto}.newBox .blackType #show_box #show_textBox li p[data-v-33a19400]{color:#a7a7af}.newBox .blackType #show_box #show_textBox li .border_line[data-v-33a19400]{background-color:#1c1d25}.newBox .blackType #show_box[data-v-33a19400]::-webkit-scrollbar{width:0;height:0}.newBox .blackType #show_box[data-v-33a19400]::-webkit-scrollbar-thumb{background:#5380d4}.newBox .blackType #show_box[data-v-33a19400]::-webkit-scrollbar-track{background-color:#1e3064}.newBox .blackType .btnBox .border_line[data-v-33a19400]{background-color:#1c1d25}.newBox .blackType .btnBox .pop_btnBox .show_num[data-v-33a19400]{color:#747474}.newBox .blackType .btnBox .pop_btnBox .btn_sty[data-v-33a19400]{background-color:#15151c;border:1px solid #393939;color:#747474}", ""]); // exports /***/ }), /***/ "hMqW": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("uCvA"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("0697ed2a", content, true, {}); /***/ }), /***/ "haTd": /***/ (function(module, exports, __webpack_require__) { var TO_STRING_TAG_SUPPORT = __webpack_require__("Pwol"); var defineBuiltIn = __webpack_require__("MKw7"); var toString = __webpack_require__("o7mp"); // `Object.prototype.toString` method // https://tc39.es/ecma262/#sec-object.prototype.tostring if (!TO_STRING_TAG_SUPPORT) { defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true }); } /***/ }), /***/ "i1FO": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".mcBox[data-v-03ef61de],[data-v-03ef61de] .ivu-modal-mask,[data-v-03ef61de] .ivu-modal-wrap{z-index:2000}", ""]); // exports /***/ }), /***/ "i4+6": /***/ (function(module, exports, __webpack_require__) { var internalObjectKeys = __webpack_require__("KKkd"); var enumBugKeys = __webpack_require__("AtgE"); var hiddenKeys = enumBugKeys.concat('length', 'prototype'); // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return internalObjectKeys(O, hiddenKeys); }; /***/ }), /***/ "iC8O": /***/ (function(module, exports, __webpack_require__) { /* eslint-disable es-x/no-symbol -- required for testing */ var V8_VERSION = __webpack_require__("5hNP"); var fails = __webpack_require__("fwHU"); // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing module.exports = !!Object.getOwnPropertySymbols && !fails(function () { var symbol = Symbol(); // Chrome 38 Symbol has incorrect toString conversion // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances return !String(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances !Symbol.sham && V8_VERSION && V8_VERSION < 41; }); /***/ }), /***/ "iRav": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("U6SD"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("dea0ea94", content, true, {}); /***/ }), /***/ "iUs5": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("7EW6"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("18ff065e", content, true, {}); /***/ }), /***/ "iYXM": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("g2/s"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("7cf333eb", content, true, {}); /***/ }), /***/ "inCy": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".safety[data-v-14a6f718]{padding:0 14px}.safety .header[data-v-14a6f718]{border-bottom:1px solid #f3f3f3;height:66px;color:#696969;line-height:85px;padding-top:10px}.safety .header ul li[data-v-14a6f718]{padding:0 20px;font-size:1.8em;height:40px;float:left;line-height:40px;text-align:center;border-right:1px solid #dbdbdb}.safety .header ul .aisle[data-v-14a6f718]{border:none;font-size:1.6em;font-weight:200;padding:0 20px}.safety .header ul .aisle span[data-v-14a6f718]{padding:8px 20px;cursor:pointer}.safety .header ul .aisle .spanActive[data-v-14a6f718]{background:linear-gradient(180deg,#fe8983,#f0b761);border-radius:10px;color:#fff}.safety .content[data-v-14a6f718]{border-bottom:1px solid #f3f3f3;padding-bottom:25px;padding-top:8px}.safety .content .row[data-v-14a6f718]{margin-top:20px}.safety .content .row label[data-v-14a6f718]{width:150px;display:inline-block;text-align:right;font-size:15px;font-family:Microsoft YaHei}.safety .content .row input[data-v-14a6f718]{height:36px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;text-align:left;text-indent:5px;padding-left:5px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.safety .content .row input[data-v-14a6f718]:not(.other){width:242px;height:36px;background:#f9f9f9}.safety .content .row input[data-v-14a6f718]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.safety .content .row .ivu-select[data-v-14a6f718]{width:242px}.safety .submitPay[data-v-14a6f718]{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin-top:25px;margin-left:150px;display:inline-block;cursor:pointer}.safety .toast[data-v-14a6f718]{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:408px;top:340px;border-radius:5px;z-index:99;text-indent:1em}.safety .toast[data-v-14a6f718]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}", ""]); // exports /***/ }), /***/ "j8KR": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("/kZo"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("7418206e", content, true, {}); /***/ }), /***/ "jAFY": /***/ (function(module, exports, __webpack_require__) { "use strict"; var $propertyIsEnumerable = {}.propertyIsEnumerable; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); // `Object.prototype.propertyIsEnumerable` method implementation // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { var descriptor = getOwnPropertyDescriptor(this, V); return !!descriptor && descriptor.enumerable; } : $propertyIsEnumerable; /***/ }), /***/ "jGD3": /***/ (function(module, exports, __webpack_require__) { var hasOwn = __webpack_require__("SGKV"); var ownKeys = __webpack_require__("AC9B"); var getOwnPropertyDescriptorModule = __webpack_require__("jywo"); var definePropertyModule = __webpack_require__("TQ+1"); module.exports = function (target, source, exceptions) { var keys = ownKeys(source); var defineProperty = definePropertyModule.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { defineProperty(target, key, getOwnPropertyDescriptor(source, key)); } } }; /***/ }), /***/ "jI+G": /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(global) {var check = function (it) { return it && it.Math == Math && it; }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 module.exports = // eslint-disable-next-line es-x/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || // eslint-disable-next-line no-restricted-globals -- safe check(typeof self == 'object' && self) || check(typeof global == 'object' && global) || // eslint-disable-next-line no-new-func -- fallback (function () { return this; })() || Function('return this')(); /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("DuR2"))) /***/ }), /***/ "jNjR": /***/ (function(module, exports, __webpack_require__) { "use strict"; var toPropertyKey = __webpack_require__("NMaI"); var definePropertyModule = __webpack_require__("TQ+1"); var createPropertyDescriptor = __webpack_require__("ynKZ"); module.exports = function (object, key, value) { var propertyKey = toPropertyKey(key); if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); else object[propertyKey] = value; }; /***/ }), /***/ "jaFP": /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__("pzgD"); var global = __webpack_require__("jI+G"); var uncurryThis = __webpack_require__("CwQ2"); var isForced = __webpack_require__("cGQc"); var defineBuiltIn = __webpack_require__("MKw7"); var InternalMetadataModule = __webpack_require__("mjl2"); var iterate = __webpack_require__("fdvV"); var anInstance = __webpack_require__("0gMh"); var isCallable = __webpack_require__("ELn+"); var isObject = __webpack_require__("DG0c"); var fails = __webpack_require__("fwHU"); var checkCorrectnessOfIteration = __webpack_require__("PmyF"); var setToStringTag = __webpack_require__("Zu+f"); var inheritIfRequired = __webpack_require__("CyPm"); module.exports = function (CONSTRUCTOR_NAME, wrapper, common) { var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; var ADDER = IS_MAP ? 'set' : 'add'; var NativeConstructor = global[CONSTRUCTOR_NAME]; var NativePrototype = NativeConstructor && NativeConstructor.prototype; var Constructor = NativeConstructor; var exported = {}; var fixMethod = function (KEY) { var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]); defineBuiltIn(NativePrototype, KEY, KEY == 'add' ? function add(value) { uncurriedNativeMethod(this, value === 0 ? 0 : value); return this; } : KEY == 'delete' ? function (key) { return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); } : KEY == 'get' ? function get(key) { return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key); } : KEY == 'has' ? function has(key) { return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); } : function set(key, value) { uncurriedNativeMethod(this, key === 0 ? 0 : key, value); return this; } ); }; var REPLACE = isForced( CONSTRUCTOR_NAME, !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () { new NativeConstructor().entries().next(); })) ); if (REPLACE) { // create collection constructor Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); InternalMetadataModule.enable(); } else if (isForced(CONSTRUCTOR_NAME, true)) { var instance = new Constructor(); // early implementations not supports chaining var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); // most early implementations doesn't supports iterables, most modern - not close it correctly // eslint-disable-next-line no-new -- required for testing var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); // for early implementations -0 and +0 not the same var BUGGY_ZERO = !IS_WEAK && fails(function () { // V8 ~ Chromium 42- fails only with 5+ elements var $instance = new NativeConstructor(); var index = 5; while (index--) $instance[ADDER](index, index); return !$instance.has(-0); }); if (!ACCEPT_ITERABLES) { Constructor = wrapper(function (dummy, iterable) { anInstance(dummy, NativePrototype); var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); return that; }); Constructor.prototype = NativePrototype; NativePrototype.constructor = Constructor; } if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { fixMethod('delete'); fixMethod('has'); IS_MAP && fixMethod('get'); } if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); // weak collections should not contains .clear method if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; } exported[CONSTRUCTOR_NAME] = Constructor; $({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported); setToStringTag(Constructor, CONSTRUCTOR_NAME); if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); return Constructor; }; /***/ }), /***/ "jeDh": /***/ (function(module, exports, __webpack_require__) { var classof = __webpack_require__("PFdJ"); // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray // eslint-disable-next-line es-x/no-array-isarray -- safe module.exports = Array.isArray || function isArray(argument) { return classof(argument) == 'Array'; }; /***/ }), /***/ "jhF3": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("Y4oG"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("c131b80a", content, true, {}); /***/ }), /***/ "jywo": /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__("8Nt4"); var call = __webpack_require__("JAKr"); var propertyIsEnumerableModule = __webpack_require__("jAFY"); var createPropertyDescriptor = __webpack_require__("ynKZ"); var toIndexedObject = __webpack_require__("OPii"); var toPropertyKey = __webpack_require__("NMaI"); var hasOwn = __webpack_require__("SGKV"); var IE8_DOM_DEFINE = __webpack_require__("FdGk"); // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject(O); P = toPropertyKey(P); if (IE8_DOM_DEFINE) try { return $getOwnPropertyDescriptor(O, P); } catch (error) { /* empty */ } if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); }; /***/ }), /***/ "kMPS": /***/ (function(module, exports, __webpack_require__) { "use strict"; // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. // If obj.hasOwnProperty has been overridden, then calling // obj.hasOwnProperty(prop) will break. // See: https://github.com/joyent/node/issues/1707 function hasOwnProperty(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } module.exports = function(qs, sep, eq, options) { sep = sep || '&'; eq = eq || '='; var obj = {}; if (typeof qs !== 'string' || qs.length === 0) { return obj; } var regexp = /\+/g; qs = qs.split(sep); var maxKeys = 1000; if (options && typeof options.maxKeys === 'number') { maxKeys = options.maxKeys; } var len = qs.length; // maxKeys <= 0 means that we should not limit keys count if (maxKeys > 0 && len > maxKeys) { len = maxKeys; } for (var i = 0; i < len; ++i) { var x = qs[i].replace(regexp, '%20'), idx = x.indexOf(eq), kstr, vstr, k, v; if (idx >= 0) { kstr = x.substr(0, idx); vstr = x.substr(idx + 1); } else { kstr = x; vstr = ''; } k = decodeURIComponent(kstr); v = decodeURIComponent(vstr); if (!hasOwnProperty(obj, k)) { obj[k] = v; } else if (isArray(obj[k])) { obj[k].push(v); } else { obj[k] = [obj[k], v]; } } return obj; }; var isArray = Array.isArray || function (xs) { return Object.prototype.toString.call(xs) === '[object Array]'; }; /***/ }), /***/ "kVYB": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/newmodal.vue // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var newmodal = ({ props: { newmodal: { type: Object } }, data: function data() { return { transitionNames: ['', 'fade'] }; }, methods: {}, computed: { modeldetail: function modeldetail() { return this.$store.state.alert.newtip; } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-4b0ae208","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/newmodal.vue var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Modal',{attrs:{"class-name":"agent-transfer","width":"500","scrollable":true,"transition-names":_vm.transitionNames},model:{value:(_vm.modeldetail.bool),callback:function ($$v) {_vm.$set(_vm.modeldetail, "bool", $$v)},expression:"modeldetail.bool"}},[_c('div',{staticClass:"tishi",style:(_vm.newmodal.bgcolor),attrs:{"slot":"header"},slot:"header"},[_c('span',[_vm._v(_vm._s(_vm.newmodal.title))]),_vm._v(" "),_c('span')]),_vm._v(" "),_c('div',{staticClass:"agent-con",class:[_vm.modeldetail.type=='closeMaret'?'tipMarket-box':'']},[_c('span',{staticClass:"iconspan"},[_c('i',{staticClass:"iconfont icon-baojing"})]),_vm._v(" "),_c('span',{staticClass:"tispan",domProps:{"innerHTML":_vm._s(_vm.modeldetail.title)}})]),_vm._v(" "),_c('div',{attrs:{"slot":"footer"},slot:"footer"})])],1)} var staticRenderFns = [] var esExports = { render: render, staticRenderFns: staticRenderFns } /* harmony default export */ var home_newmodal = (esExports); // CONCATENATED MODULE: ./src/pages/public/home/newmodal.vue function injectStyle (ssrContext) { __webpack_require__("iYXM") } var normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = "data-v-4b0ae208" /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( newmodal, home_newmodal, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) /* harmony default export */ var public_home_newmodal = __webpack_exports__["a"] = (Component.exports); /***/ }), /***/ "kk4m": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".withdrawal-record[data-v-157c7eea]{border-bottom-right-radius:15px!important;overflow:hidden}.withdrawal-record .content .search[data-v-157c7eea]{height:64px;line-height:64px;padding:0 10px;padding:0 14px}.withdrawal-record .content .search .searchSpan[data-v-157c7eea]{display:inline-block;width:80px;height:36px;line-height:36px;text-align:center;font-size:1.6em;font-weight:200;color:#fff;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:5px;margin-left:18px;letter-spacing:5px;cursor:pointer}.withdrawal-record .content .page[data-v-157c7eea]{position:absolute;right:25px;bottom:20px}", ""]); // exports /***/ }), /***/ "kw9s": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "*{font-family:Microsoft YaHei}@keyframes animate{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.peronsals{position:fixed;width:100%;height:100%;top:0;left:0;z-index:1500;background-color:rgba(0,0,0,.5);font-size:62.5%}.peronsals .peronsals-content{width:1270px;height:650px;overflow:hidden;position:absolute;top:50%;left:50%;margin-left:-635px;margin-top:-325px;background:#fff;padding-left:240px;border-radius:15px}.peronsals .peronsals-content .peronsal-aside{position:absolute;width:240px;height:100%;left:0;top:0;border-radius:15px 0 0 15px;background:url(\"/static/public/image/userImg/mockup_bg.png\") 100% 100% no-repeat,url(\"/static/public/image/userImg/mackup_bg_right.png\")}.peronsals .peronsals-content .vp-admin-wrap-close{position:absolute;z-index:2000;top:12px;right:0;cursor:pointer;width:60px;height:40px;background:#f2f2f2;border-bottom-left-radius:24px;border-top-left-radius:24px}.peronsals .peronsals-content .vp-admin-wrap-close:hover{background:linear-gradient(180deg,#ff3492,#ff1e4f)}.peronsals .peronsals-content .vp-admin-wrap-close .vp-admin-wrap-close-empty{position:relative;background:#fff;border-radius:50%;width:36px;height:36px;font-size:56px;left:2px;top:2px;transition:all .5s ease-in}.peronsals .peronsals-content .vp-admin-wrap-close .vp-admin-wrap-close-empty a{position:absolute;top:9px;left:9px;width:20px;height:20px;display:inline-block;background:url(\"/static/public/image/common/vp-common-close.png\") #fff;background-size:98% 98%}.peronsals .peronsals-content .vp-admin-wrap-close .vp-admin-wrap-close-empty:hover{transform:translateX(40%)}.peronsals .loading{width:1030px;height:584px;background:#fff;z-index:99999;position:absolute;top:66px;left:240px;overflow:hidden}.peronsals .loading p{color:#666;font-size:14px;text-align:center;margin-top:100px}.peronsals .loading svg{position:absolute;bottom:0;left:0}.peronsals .loading svg .speed-1{animation-delay:-4s;animation:tcg-animation-move-forever 12s linear infinite;opacity:.8}.peronsals .loading svg .speed-2{animation-delay:-4s;animation-duration:8s;animation:tcg-animation-move-forever 12s linear infinite}.peronsals .loading svg .speed-3{animation-delay:-8s;animation-duration:4s}.peronsals .loading svg .speed-3,.peronsals .loading svg .speed-4{animation:tcg-animation-move-forever 12s linear infinite;opacity:.8}@keyframes tcg-animation-move-forever{0%{transform:translate(-90px)}to{transform:translate(85px)}}.peronsals .ivu-input:focus,.peronsals .ivu-input:hover{border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.peronsals .ivu-input{background:#f9f9f9;height:36px;border-radius:10px;border:1px solid #f5f5f5;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06)}.peronsals .ivu-radio-wrapper{font-size:14px}.peronsals .ivu-radio-checked .ivu-radio-inner{border-color:#ccc}.peronsals .ivu-radio-inner:after{background:#ff9146}.peronsals .ivu-carousel-dots li.ivu-carousel-active>button.radius{width:10px;height:10px;background:#ff9146!important}.peronsals .ivu-carousel-dots li button.radius{width:10px;height:10px;margin-right:8px}.peronsals .radio-span{font-size:16px}.peronsals .ivu-select-selection{background:#f9f9f9}.peronsals .ivu-select-dropdown{overflow:hidden;margin:0;padding:2px 0 0;max-height:520px;background:#fff;border-radius:10px;border:1px solid #d9d9d9;box-shadow:none;top:68px}.peronsals .ivu-select-dropdown-list{height:auto;overflow:auto;text-align:center}.peronsals .ivu-select-item{color:#848484;font-size:15.7px!important;padding:10px 0;border-bottom:1px solid #eaeaea}.peronsals .ivu-select-item:last-child{border-bottom:0}.peronsals .ivu-select-item:hover{background:#fff;color:#f90}.peronsals .ivu-icon-arrow-down-b{font-size:15.7px}.peronsals .ivu-select-single .ivu-select-selection{height:38px;background:linear-gradient(180deg,#fff 0,#fff 50%,#f0f0f0);color:#666;border-radius:10px;box-shadow:0}.peronsals .ivu-select-selection:hover{border-color:#dddee1;color:#f90}.peronsals .ivu-icon-arrow-down-b,.peronsals .ivu-select-selection:hover .ivu-icon-arrow-down-b{color:#f90}.peronsals .ivu-select:focus .ivu-select-selection{border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.peronsals .ivu-select-single .ivu-select-selection .ivu-select-placeholder,.peronsals .ivu-select-single .ivu-select-selection .ivu-select-selected-value{height:38px;line-height:38px;border-radius:8px;font-size:15.25px}.peronsals .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#666}.peronsals .ivu-icon-arrow-down-b:hover .ivu-select-single .ivu-select-selection .ivu-select-placeholder,.peronsals .ivu-icon-arrow-down-b:hover .ivu-select-single .ivu-select-selection .ivu-select-selected-value,.peronsals .ivu-select-single .ivu-select-selection .ivu-select-placeholder:hover,.peronsals .ivu-select-single .ivu-select-selection .ivu-select-selected-value,.peronsals .ivu-select-single .ivu-select-selection .ivu-select-selected-value:hover{color:#f90}.peronsals .ivu-select-item-selected{background:#fff}.peronsals .ivu-select-visible .ivu-select-selection{border-color:#dddee1;outline:none;box-shadow:0}.peronsals .ivu-select-visible{border:none}.peronsals .ivu-select-item-focus{background:transparent}.peronsals .ivu-page-item,.peronsals .ivu-page-next,.peronsals .ivu-page-prev{background-color:transparent}.peronsals .ivu-page-item-active{background-color:#2d8cf0;border-color:#2d8cf0}.peronsals .ivu-table-wrapper{border:none}.peronsals .ivu-table:after{width:0}.peronsals .ivu-table-cell{padding:0 5px}.peronsals .ivu-table-cell span.listShowAA{color:#ff9146;cursor:pointer}.peronsals .ivu-table-cell span.listShowAA:hover{text-decoration:underline}.peronsals .ivu-table{border-radius:0 0 15px 0}.peronsals .ivu-table td.demo-table-info-column{background:transparent;color:#666}.peronsals .ivu-table-body{background:#efefef}.peronsals .ivu-table-body,.peronsals .ivu-table-tip table td{height:555px;border-radius:0 0 15px}.peronsals .ivu-table:before{width:0}.peronsals .ivu-table-header{border-top:1px solid #dcdcdc}.peronsals .ivu-table th{height:28px;color:#949494;border-bottom:1px solid #dcdcdc;position:relative}.peronsals .ivu-table th:first-child::before{content:\"\";width:16px;height:16px;border-radius:6px;vertical-align:text-bottom;cursor:pointer;position:absolute;top:6px;right:0;background:#ddd url(\"/static/public/image/userImg/list-icon.png\") no-repeat;background-position:-342px -21px}.peronsals .ivu-table td{background:#efefef}.peronsals .ivu-date-picker-cells-header span{color:#2361fe}.peronsals .ivu-date-picker-cells-header span:first-child,.peronsals .ivu-date-picker-cells-header span:last-child{color:#fd2f28}.peronsals .ivu-picker-panel-body{background:linear-gradient(180deg,rgba(65,60,90,.92) 0,rgba(81,78,98,.92))}.peronsals .ivu-date-picker-cells span em{color:#a7a7a7;border-radius:50%}.peronsals .ivu-date-picker-cells-cell-next-month em{color:#fff!important}.peronsals .ivu-date-picker-cells-cell:hover em{background:rgba(254,192,83,.82)}.peronsals .ivu-date-picker-header-label{color:#fff}.peronsals .ivu-date-picker-cells-cell-range:before{background:transparent!important}.peronsals .ivu-icon-ios-calendar-outline{line-height:36px;color:#ccc}.peronsals .ivu-icon-ios-calendar-outline:before{content:\"\\F123\"}.peronsals .ivu-btn-ghost,.peronsals .ivu-btn-text{color:#fff}.zhie{position:fixed;width:100%;height:100%;top:0;left:0;filter:blur(9px)}.bet_box .ivu-table-body{height:488px;box-sizing:border-box}.bet_box+.loading{top:128px;height:526px}.agency_repot .ivu-table-body,.agency_repot .ivu-table-tip table td{height:487px;box-sizing:border-box}.agency_repot+.loading,.apply_list+.loading{top:128px;height:528px}.agency_repot_agency .ivu-table-body{height:420px;box-sizing:border-box}.agency_index+.loading{top:128px;height:528px}.next+.loading{top:123px;height:527px}.next .ivu-table-body,.next .ivu-table-tip table td{height:485.3px;box-sizing:border-box}.income+.loading{top:137.6px;height:512.4px}.income2+.loading{top:67px!important;height:581px}.income .income-content .ivu-table-body,.income .income-content .ivu-table-tip table td{height:484px;box-sizing:border-box}.people+.loading{top:130px;height:520px}.people .people-content .ivu-table-body,.people .people-content .ivu-table-tip table td{height:489px;box-sizing:border-box}", ""]); // exports /***/ }), /***/ "l9Ez": /***/ (function(module, exports) { var $String = String; module.exports = function (argument) { try { return $String(argument); } catch (error) { return 'Object'; } }; /***/ }), /***/ "lB6v": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".internerBank[data-v-055fd618]{padding:0 30px;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column}.internerBank .header[data-v-055fd618]{border-bottom:1px solid #f3f3f3;height:56px;color:#696969;padding-top:10px;width:100%;-ms-flex-pack:justify;justify-content:space-between}.internerBank .header-title[data-v-055fd618],.internerBank .header[data-v-055fd618]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.internerBank .header-title img[data-v-055fd618]{width:29px;height:29px}.internerBank .header-title h3[data-v-055fd618]{font-size:19.6px;font-weight:600;color:#333}.internerBank .warning-wrap[data-v-055fd618]{background-color:#fff;padding:20px 14px 0}.internerBank .warning-wrap .warning[data-v-055fd618]{height:40px;line-height:40px;color:#f33;background-color:#f9f9f9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.4em;border:1px solid #dbdbdb;border-radius:5px}.internerBank .warning-wrap .warning .icon[data-v-055fd618]{width:17px;height:17px;fill:#979797;overflow:hidden;margin-left:12px;margin-right:5px;vertical-align:middle}.internerBank .form-content[data-v-055fd618]{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.internerBank .form-content .order-content[data-v-055fd618]{width:40%}.internerBank .form-content .order-content .discountSelect .selectOp[data-v-055fd618]{width:260px;outline:none;border-color:transparent;background:#f5f5f5;margin-left:13px;height:38px;border-radius:10px;font-size:15px}.internerBank .form-content .order-content .tips[data-v-055fd618]{text-align:center;font-size:15.6px;height:36px;font-family:Microsoft YaHei;margin-top:20px;color:red}.internerBank .form-content .order-content[data-v-055fd618] .bank2{width:263px;margin-top:0}.internerBank .form-content .order-content[data-v-055fd618] .bank2 /deep/ .ivu-select-selection{width:200px}.internerBank .form-content .order-content .bar[data-v-055fd618]{margin-top:12px;display:-ms-flexbox;display:flex}.internerBank .form-content .order-content .bar.amount[data-v-055fd618]{-ms-flex-align:start;align-items:start}.internerBank .form-content .order-content .bar.amount .amount-content[data-v-055fd618]{width:78%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.internerBank .form-content .order-content .bar.amount .amount-content .ivu-radio-group[data-v-055fd618]{margin-top:10px;display:-ms-grid;display:grid;-ms-flex-pack:justify;justify-content:space-between;-ms-grid-columns:(70px)[auto-fill];grid-template-columns:repeat(auto-fill,70px);grid-gap:5px}.internerBank .form-content .order-content .bar.amount .amount-content .ivu-radio-wrapper[data-v-055fd618]{margin-right:0;display:-ms-flexbox;display:flex}.internerBank .form-content .order-content .bar.amount .amount-content .ivu-radio-wrapper p[data-v-055fd618]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.internerBank .form-content .order-content .bar .input-content[data-v-055fd618]{width:78%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.internerBank .form-content .order-content .bar .input-content input[data-v-055fd618]::-webkit-input-placeholder{text-indent:0}.internerBank .form-content .order-content .bar .input-content .save-name[data-v-055fd618]{height:32px;line-height:32px;font-size:15.6px}.internerBank .form-content .order-content .bar .text[data-v-055fd618]{display:inline-block;text-align:right;font-size:15.6px;height:36px;width:88px;line-height:36px;font-family:Microsoft YaHei;vertical-align:middle}.internerBank .form-content .order-content .bar input[type=text][data-v-055fd618]{height:36px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;padding:0 10px;text-align:left;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.internerBank .form-content .order-content .bar input[type=text][data-v-055fd618]:not(.other){width:256px;height:36px;background:#f9f9f9}.internerBank .form-content .order-content .bar input[type=text] .ivu-radio[data-v-055fd618]{font-size:16px;color:#666}.internerBank .form-content .order-content .bar input[type=text][data-v-055fd618]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.internerBank .form-content .order-content .bar .ivu-select[data-v-055fd618]{width:200px}.internerBank .form-content .order-content .bar .ivu-select-selection[data-v-055fd618]{background:#f9f9f9}.internerBank .form-content .order-content .bar .bank[data-v-055fd618]{width:280px;height:130px;display:inline-block;vertical-align:middle;padding:10px 6px;font-size:#fff;border-radius:10px}.internerBank .form-content .order-content .bar .bank a[data-v-055fd618]{text-decoration:underline;font-size:1em;color:#fff;margin-left:6px;font-weight:100}.internerBank .form-content .order-content .bar .bank .title img[data-v-055fd618]{width:36px;vertical-align:middle;margin-right:25px;opacity:0}.internerBank .form-content .order-content .bar .bank .title span[data-v-055fd618]{font-size:15px;color:#fff;vertical-align:middle}.internerBank .form-content .order-content .bar .bank .title a[data-v-055fd618]{margin-top:10px;font-size:13px}.internerBank .form-content .order-content .bar .bank .row[data-v-055fd618]{padding-top:10px;font-size:13px;color:#fff;height:25px}.internerBank .form-content .order-content .bar .bank .row label[data-v-055fd618]{width:52px;display:inline-block;text-align:left;margin-left:10px}.internerBank .form-content .order-content .bar .bank .row a[data-v-055fd618]{font-size:13px}.internerBank .form-content .order-content .bar .bank .row .cardNameOv[data-v-055fd618]{width:165px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.internerBank .form-content .order-content-info[data-v-055fd618]{width:55%;padding:10px 0}.internerBank .form-content .order-content-info-header[data-v-055fd618]{font-family:Microsoft YaHei;font-size:16px;color:#f90;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.internerBank .form-content .order-content-info-main[data-v-055fd618]{padding:0 8px;border-radius:10px;border:1px solid #ff9901;margin:15px 0}.internerBank .form-content .order-content-info-main .main-header[data-v-055fd618]{padding:8px 11px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-family:Microsoft YaHei;border-bottom:1px solid #f4f4f4}.internerBank .form-content .order-content-info-main .main-header-deposit[data-v-055fd618]{display:-ms-flexbox;display:flex;margin-right:20px}.internerBank .form-content .order-content-info-main .main-header-deposit-money[data-v-055fd618]{font-size:30.4px}.internerBank .form-content .order-content-info-main .main-header-deposit-unit[data-v-055fd618]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:25px}.internerBank .form-content .order-content-info-main .main-header-arbitration[data-v-055fd618]{font-size:16px;color:#f23d3d}.internerBank .form-content .order-content-info-main .main-header-tips[data-v-055fd618]{font-size:12px;color:#696969}.internerBank .form-content .order-content-info-main .main-header-tips.finish[data-v-055fd618]{margin-left:auto;font-size:16px}.internerBank .form-content .order-content-info-main .main-card-info[data-v-055fd618]{padding:8px 0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;border-bottom:1px solid #f4f4f4}.internerBank .form-content .order-content-info-main .main-card-info-content[data-v-055fd618]{width:380px;height:190px;border-radius:23px;padding:18px 20px;padding-top:20px;position:relative}.internerBank .form-content .order-content-info-main .main-card-info-content .card-info-copy[data-v-055fd618]{width:15px;height:15px;margin-left:8px;cursor:pointer}.internerBank .form-content .order-content-info-main .main-card-info-content-bank[data-v-055fd618]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:30px}.internerBank .form-content .order-content-info-main .main-card-info-content-bank div[data-v-055fd618]{font-size:1.6em;color:#fff;margin-left:50px}.internerBank .form-content .order-content-info-main .main-card-info-content-account[data-v-055fd618]{height:100px;line-height:100px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.internerBank .form-content .order-content-info-main .main-card-info-content-account p[data-v-055fd618]{font-size:2.6em;color:#fff}.internerBank .form-content .order-content-info-main .main-card-info-content-name[data-v-055fd618]{height:36px;line-height:36px}.internerBank .form-content .order-content-info-main .main-card-info-content-name div[data-v-055fd618]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:1.4em;color:#fff}.internerBank .form-content .order-content-info-main .main-operate[data-v-055fd618]{display:-ms-flexbox;display:flex}.internerBank .form-content .order-content-info-main .main-operate-arbitration[data-v-055fd618]{width:110px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:space-evenly;justify-content:space-evenly}.internerBank .form-content .order-content-info-main .main-operate-arbitration-button[data-v-055fd618]{width:100%;height:45px;font-size:15.5px;border-radius:5px}.internerBank .form-content .order-content-info-main .main-operate-arbitration-not-disable[data-v-055fd618]{color:#f90;border:1px solid #f90;background:#fff;cursor:pointer}.internerBank .form-content .order-content-info-main .main-operate-arbitration-disable[data-v-055fd618]{border:1px solid #ddd;background-color:#f0f0f0;color:#696969;cursor:not-allowed}.internerBank .form-content .order-content-info-main .main-operate-arbitration span[data-v-055fd618]{width:100%;font-size:12.5px;color:#848484;text-align:center;line-height:15px}.internerBank .form-content .order-content-info-submit[data-v-055fd618]{font-size:15.5px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative}.internerBank .form-content .order-content-info-submit .voucher-discount[data-v-055fd618]{position:absolute;right:60px;top:-18px;padding:0 10px;height:24px;background-image:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px 10px 10px 0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:space-evenly;justify-content:space-evenly;color:#fff;font-size:13.3px;font-weight:500;pointer-events:none}.internerBank .form-content .order-content-info-submit .cancel-button[data-v-055fd618]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:#f90;border-radius:5px;border:1px solid #f90;margin-right:12px;cursor:pointer;height:44px}.internerBank .form-content .order-content-info-submit .confirm-button[data-v-055fd618]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:#fff;background:#f90;border-radius:5px;cursor:pointer;height:44px}.internerBank .form-content .order-content-info-submit .small-button[data-v-055fd618]{width:186px}.internerBank .form-content .order-content-info-submit .big-button[data-v-055fd618]{width:385px}.internerBank .submitPay[data-v-055fd618]{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin:15px auto 0;cursor:pointer}.internerBank .submitPay.active[data-v-055fd618]{background:linear-gradient(180deg,#ccc,#eee)}.internerBank .submitPay.active[data-v-055fd618]:hover{cursor:not-allowed}.internerBank .footer[data-v-055fd618]{margin-top:auto;margin-bottom:16px;padding-top:10px;padding-left:20px;display:-ms-flexbox;display:flex;border-top:1px solid #e0e0e0;font-family:Microsoft YaHei;font-size:14px;line-height:1.71;color:#fd3332}.internerBank .footer-content[data-v-055fd618]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.internerBank .toast[data-v-055fd618]{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:455px;top:340px;border-radius:5px;z-index:99;text-indent:1em}.internerBank .toast[data-v-055fd618]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.internerBank[data-v-055fd618] .ivu-time-picker-cells-cell{color:#a7a7a7}.internerBank[data-v-055fd618] .ivu-time-picker-cells-cell:hover{background:rgba(254,192,83,.82);color:#fff}.internerBank[data-v-055fd618] .ivu-time-picker-cells-cell-selected{background:#2d8cf0;color:#fff}[data-v-055fd618] .ivu-modal-mask,[data-v-055fd618] .ivu-modal-wrap{z-index:2000}[data-v-055fd618] .ivu-modal-close{right:0}[data-v-055fd618] .ivu-modal-footer{border-top:none;padding:0;text-align:left}[data-v-055fd618] .ivu-checkbox-checked .ivu-checkbox-inner{border-color:#ff9146;background-color:#ff9146}.cancel-modal[data-v-055fd618] .ivu-modal{top:50%}.cancel-modal[data-v-055fd618] .ivu-modal-content{border-radius:12px}.cancel-modal-main[data-v-055fd618]{font-family:Microsoft YaHei;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.cancel-modal-main-title[data-v-055fd618]{font-size:19.8px;color:#424654;margin-bottom:9px}.cancel-modal-main-tip[data-v-055fd618]{font-size:15.5px;color:#f90;padding:0 25px}.cancel-modal-main-tip.credential[data-v-055fd618]{font-size:16px;text-align:center;color:#414655}.cancel-modal-main-count[data-v-055fd618]{font-size:16px;color:#414655;margin:15px 0}.cancel-modal-main-count span[data-v-055fd618]{color:#fd3332}.cancel-modal-main-reason[data-v-055fd618]{font-size:14px;color:#fd3332}.cancel-modal-main[data-v-055fd618] .ivu-radio-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;padding:0 24px}.cancel-modal-main[data-v-055fd618] .ivu-radio-group-button .ivu-radio-wrapper:first-child{border-radius:5px;border:1px solid #848484}.cancel-modal-main[data-v-055fd618] .ivu-radio-group-button .ivu-radio-wrapper{border-radius:5px;border:1px solid #848484;position:static;padding:0;margin-top:10px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;font-size:14px;color:#848484}.cancel-modal-main[data-v-055fd618] .ivu-radio-group-button .ivu-radio-wrapper:last-child{border-radius:5px;border:1px solid #848484}.cancel-modal-main[data-v-055fd618] .ivu-radio-wrapper{position:static}.cancel-modal-main[data-v-055fd618] .ivu-radio-group-button .ivu-radio-wrapper-checked{background-color:orange;color:#fff;box-shadow:none;border:1px solid orange!important}.cancel-modal-main .ivu-radio-group-button .ivu-radio-wrapper[data-v-055fd618]:before,.cancel-modal-main[data-v-055fd618] .ivu-radio-group-button .ivu-radio-wrapper:after{width:0}.cancel-modal-footer[data-v-055fd618]{display:-ms-flexbox;display:flex}.cancel-modal-footer div[data-v-055fd618]{width:50%;height:56px;font-size:19.8px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#f90;cursor:pointer}.cancel-modal-footer-cancel[data-v-055fd618]{border-radius:0 0 0 10px;color:#996002;border-right:.5px solid #fff}.cancel-modal-footer-submit[data-v-055fd618]{border-radius:0 0 10px 0;color:#fff;border-left:.5px solid #fff}.reward-modal[data-v-055fd618] .ivu-modal{top:50%}.reward-modal[data-v-055fd618] .ivu-modal-content{border-radius:12px}.reward-modal-main[data-v-055fd618]{font-family:Microsoft YaHei;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.reward-modal-main-title[data-v-055fd618]{font-size:19.8px;color:#424654;margin-bottom:9px;white-space:pre-line;padding:0 16px}.reward-modal-main-title[data-v-055fd618]:last-child{margin-bottom:0}.reward-modal-main-tip[data-v-055fd618]{font-size:15.5px;color:#f90;padding:0 25px}.reward-modal-main-tip.credential[data-v-055fd618]{font-size:16px;text-align:center;color:#414655}.reward-modal-main-count[data-v-055fd618]{font-size:16px;color:#414655;margin:15px 0}.reward-modal-main-count span[data-v-055fd618]{color:#fd3332}.reward-modal-main-reason[data-v-055fd618]{font-size:14px;color:#fd3332}.reward-modal-main[data-v-055fd618] .ivu-radio-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;padding:0 24px}.reward-modal-main[data-v-055fd618] .ivu-radio-group-button .ivu-radio-wrapper:first-child{border-radius:5px;border:1px solid #848484}.reward-modal-main[data-v-055fd618] .ivu-radio-group-button .ivu-radio-wrapper{border-radius:5px;border:1px solid #848484;position:static;padding:0;margin-top:10px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;font-size:14px;color:#848484}.reward-modal-main[data-v-055fd618] .ivu-radio-group-button .ivu-radio-wrapper:last-child{border-radius:5px;border:1px solid #848484}.reward-modal-main[data-v-055fd618] .ivu-radio-wrapper{position:static}.reward-modal-main[data-v-055fd618] .ivu-radio-group-button .ivu-radio-wrapper-checked{background-color:orange;color:#fff;box-shadow:none;border:1px solid orange!important}.reward-modal-main .ivu-radio-group-button .ivu-radio-wrapper[data-v-055fd618]:before,.reward-modal-main[data-v-055fd618] .ivu-radio-group-button .ivu-radio-wrapper:after{width:0}.reward-modal-footer[data-v-055fd618]{display:-ms-flexbox;display:flex}.reward-modal-footer div[data-v-055fd618]{width:100%;height:56px;font-size:19.8px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#f90;cursor:pointer}.reward-modal-footer-submit[data-v-055fd618]{border-radius:0 0 10px 10px;color:#fff}@keyframes _scaleEnter-data-v-055fd618{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes _scaleLeave-data-v-055fd618{0%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-50%) scale(.9)}}[data-v-055fd618] .ivu-modal{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:318px;animation:_scaleEnter-data-v-055fd618 .3s ease}[data-v-055fd618] .ivu-modal.ease-leave-active{animation:_scaleLeave-data-v-055fd618 .3s ease}[data-v-055fd618] .ivu-modal-header{border-bottom:none;padding:0}[data-v-055fd618] .ivu-modal-close .ivu-icon-ios-close-empty{display:none}[data-v-055fd618] .ivu-modal-body{padding:20px 0}[data-v-055fd618] .ivu-modal-close{top:3px}.headerp[data-v-055fd618]{text-align:center;margin-top:20px}.tishi[data-v-055fd618]{height:50px;line-height:50px;font-size:18px;color:#fff;background-color:#403d58;border-radius:6px 6px 0 0;border-bottom:1px solid #4b495c}.tishi span[data-v-055fd618]{margin-left:110px;margin-top:16px;font-size:18px}.agent-con[data-v-055fd618]{position:relative;background-color:#403d58;height:135px;padding-top:17px}.agent-con .showname[data-v-055fd618]{color:#d93d32}.agent-con .rename[data-v-055fd618]{margin-left:27px;font-size:14px;color:#fff}.agent-con input[data-v-055fd618]{width:238px;height:38px;margin-left:54px;margin-top:21px;border:1px solid #6e6c7c;border-radius:3px;color:#fff;text-indent:5px}.agent-con #inputtext[data-v-055fd618]{background-color:#403d58}.icon-baojing[data-v-055fd618]{font-size:45px;color:#f90}.iconspan[data-v-055fd618]{margin-left:82px;height:45px;line-height:45px;display:block;font-size:16px;position:relative;margin-top:40px}.iconspan .tispan[data-v-055fd618]{margin-left:10px;position:absolute;font-size:26px;color:#1f1f1f}.pay[data-v-055fd618]{display:block;position:absolute;width:160px;height:35px;background:linear-gradient(180deg,#ff3492,#ff1e4f);text-align:center;line-height:35px;color:#fff;font-size:18px;left:130px;top:80px;border-radius:10px}.vp-admin-wrap-close[data-v-055fd618]{display:none;width:60px;height:40px;background:#f2f2f2;border-bottom-left-radius:24px;border-top-left-radius:24px}.vp-admin-wrap-close[data-v-055fd618]:hover{background:linear-gradient(180deg,#ff3492,#ff1e4f)}.vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-055fd618]{position:relative;background:#fff;border-radius:50%;width:36px;height:36px;font-size:56px;left:2px;top:2px;transition:all .5s ease-in}.vp-admin-wrap-close .vp-admin-wrap-close-empty a[data-v-055fd618]{position:absolute;top:9px;left:9px;width:20px;height:20px;display:inline-block;background:url(\"/static/public/image/common/vp-common-close.png\") #fff;background-size:98% 98%}.vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-055fd618]:hover{transform:translateX(40%)}.bank1[data-v-055fd618] .ivu-select-dropdown-list{max-height:300px}.bank2[data-v-055fd618] .ivu-select-dropdown-list{max-height:200px}", ""]); // exports /***/ }), /***/ "lJVi": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("BbyL"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("4dd60286", content, true, {}); /***/ }), /***/ "lhK/": /***/ (function(module, exports, __webpack_require__) { var classof = __webpack_require__("J+MD"); var $String = String; module.exports = function (argument) { if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); return $String(argument); }; /***/ }), /***/ "ljsv": /***/ (function(module, exports) { /** * Data mask pattern reference * @type {Object} */ exports.Patterns = { PATTERN000: 0, PATTERN001: 1, PATTERN010: 2, PATTERN011: 3, PATTERN100: 4, PATTERN101: 5, PATTERN110: 6, PATTERN111: 7 } /** * Weighted penalty scores for the undesirable features * @type {Object} */ const PenaltyScores = { N1: 3, N2: 3, N3: 40, N4: 10 } /** * Check if mask pattern value is valid * * @param {Number} mask Mask pattern * @return {Boolean} true if valid, false otherwise */ exports.isValid = function isValid (mask) { return mask != null && mask !== '' && !isNaN(mask) && mask >= 0 && mask <= 7 } /** * Returns mask pattern from a value. * If value is not valid, returns undefined * * @param {Number|String} value Mask pattern value * @return {Number} Valid mask pattern or undefined */ exports.from = function from (value) { return exports.isValid(value) ? parseInt(value, 10) : undefined } /** * Find adjacent modules in row/column with the same color * and assign a penalty value. * * Points: N1 + i * i is the amount by which the number of adjacent modules of the same color exceeds 5 */ exports.getPenaltyN1 = function getPenaltyN1 (data) { const size = data.size let points = 0 let sameCountCol = 0 let sameCountRow = 0 let lastCol = null let lastRow = null for (let row = 0; row < size; row++) { sameCountCol = sameCountRow = 0 lastCol = lastRow = null for (let col = 0; col < size; col++) { let module = data.get(row, col) if (module === lastCol) { sameCountCol++ } else { if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5) lastCol = module sameCountCol = 1 } module = data.get(col, row) if (module === lastRow) { sameCountRow++ } else { if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5) lastRow = module sameCountRow = 1 } } if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5) if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5) } return points } /** * Find 2x2 blocks with the same color and assign a penalty value * * Points: N2 * (m - 1) * (n - 1) */ exports.getPenaltyN2 = function getPenaltyN2 (data) { const size = data.size let points = 0 for (let row = 0; row < size - 1; row++) { for (let col = 0; col < size - 1; col++) { const last = data.get(row, col) + data.get(row, col + 1) + data.get(row + 1, col) + data.get(row + 1, col + 1) if (last === 4 || last === 0) points++ } } return points * PenaltyScores.N2 } /** * Find 1:1:3:1:1 ratio (dark:light:dark:light:dark) pattern in row/column, * preceded or followed by light area 4 modules wide * * Points: N3 * number of pattern found */ exports.getPenaltyN3 = function getPenaltyN3 (data) { const size = data.size let points = 0 let bitsCol = 0 let bitsRow = 0 for (let row = 0; row < size; row++) { bitsCol = bitsRow = 0 for (let col = 0; col < size; col++) { bitsCol = ((bitsCol << 1) & 0x7FF) | data.get(row, col) if (col >= 10 && (bitsCol === 0x5D0 || bitsCol === 0x05D)) points++ bitsRow = ((bitsRow << 1) & 0x7FF) | data.get(col, row) if (col >= 10 && (bitsRow === 0x5D0 || bitsRow === 0x05D)) points++ } } return points * PenaltyScores.N3 } /** * Calculate proportion of dark modules in entire symbol * * Points: N4 * k * * k is the rating of the deviation of the proportion of dark modules * in the symbol from 50% in steps of 5% */ exports.getPenaltyN4 = function getPenaltyN4 (data) { let darkCount = 0 const modulesCount = data.data.length for (let i = 0; i < modulesCount; i++) darkCount += data.data[i] const k = Math.abs(Math.ceil((darkCount * 100 / modulesCount) / 5) - 10) return k * PenaltyScores.N4 } /** * Return mask value at given position * * @param {Number} maskPattern Pattern reference value * @param {Number} i Row * @param {Number} j Column * @return {Boolean} Mask value */ function getMaskAt (maskPattern, i, j) { switch (maskPattern) { case exports.Patterns.PATTERN000: return (i + j) % 2 === 0 case exports.Patterns.PATTERN001: return i % 2 === 0 case exports.Patterns.PATTERN010: return j % 3 === 0 case exports.Patterns.PATTERN011: return (i + j) % 3 === 0 case exports.Patterns.PATTERN100: return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 === 0 case exports.Patterns.PATTERN101: return (i * j) % 2 + (i * j) % 3 === 0 case exports.Patterns.PATTERN110: return ((i * j) % 2 + (i * j) % 3) % 2 === 0 case exports.Patterns.PATTERN111: return ((i * j) % 3 + (i + j) % 2) % 2 === 0 default: throw new Error('bad maskPattern:' + maskPattern) } } /** * Apply a mask pattern to a BitMatrix * * @param {Number} pattern Pattern reference number * @param {BitMatrix} data BitMatrix data */ exports.applyMask = function applyMask (pattern, data) { const size = data.size for (let col = 0; col < size; col++) { for (let row = 0; row < size; row++) { if (data.isReserved(row, col)) continue data.xor(row, col, getMaskAt(pattern, row, col)) } } } /** * Returns the best mask pattern for data * * @param {BitMatrix} data * @return {Number} Mask pattern reference number */ exports.getBestMask = function getBestMask (data, setupFormatFunc) { const numPatterns = Object.keys(exports.Patterns).length let bestPattern = 0 let lowerPenalty = Infinity for (let p = 0; p < numPatterns; p++) { setupFormatFunc(p) exports.applyMask(p, data) // Calculate penalty const penalty = exports.getPenaltyN1(data) + exports.getPenaltyN2(data) + exports.getPenaltyN3(data) + exports.getPenaltyN4(data) // Undo previously applied mask exports.applyMask(p, data) if (penalty < lowerPenalty) { lowerPenalty = penalty bestPattern = p } } return bestPattern } /***/ }), /***/ "m28F": /***/ (function(module, exports, __webpack_require__) { var arraySpeciesConstructor = __webpack_require__("QBhv"); // `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate module.exports = function (originalArray, length) { return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); }; /***/ }), /***/ "m8Fj": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("d33b"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("860b013e", content, true, {}); /***/ }), /***/ "mD2M": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("WEox"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("58888c1b", content, true, {}); /***/ }), /***/ "mSar": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("7gB5"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("30a1e4df", content, true, {}); /***/ }), /***/ "mbce": /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__("+E39"); var getKeys = __webpack_require__("lktj"); var toIObject = __webpack_require__("TcQ7"); var isEnum = __webpack_require__("NpIQ").f; module.exports = function (isEntries) { return function (it) { var O = toIObject(it); var keys = getKeys(O); var length = keys.length; var i = 0; var result = []; var key; while (length > i) { key = keys[i++]; if (!DESCRIPTORS || isEnum.call(O, key)) { result.push(isEntries ? [key, O[key]] : O[key]); } } return result; }; }; /***/ }), /***/ "mjl2": /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__("pzgD"); var uncurryThis = __webpack_require__("CwQ2"); var hiddenKeys = __webpack_require__("ET8X"); var isObject = __webpack_require__("DG0c"); var hasOwn = __webpack_require__("SGKV"); var defineProperty = __webpack_require__("TQ+1").f; var getOwnPropertyNamesModule = __webpack_require__("i4+6"); var getOwnPropertyNamesExternalModule = __webpack_require__("6Cwq"); var isExtensible = __webpack_require__("LOB8"); var uid = __webpack_require__("99vB"); var FREEZING = __webpack_require__("2lZ1"); var REQUIRED = false; var METADATA = uid('meta'); var id = 0; var setMetadata = function (it) { defineProperty(it, METADATA, { value: { objectID: 'O' + id++, // object ID weakData: {} // weak collections IDs } }); }; var fastKey = function (it, create) { // return a primitive with prefix if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; if (!hasOwn(it, METADATA)) { // can't set metadata to uncaught frozen object if (!isExtensible(it)) return 'F'; // not necessary to add metadata if (!create) return 'E'; // add missing metadata setMetadata(it); // return object ID } return it[METADATA].objectID; }; var getWeakData = function (it, create) { if (!hasOwn(it, METADATA)) { // can't set metadata to uncaught frozen object if (!isExtensible(it)) return true; // not necessary to add metadata if (!create) return false; // add missing metadata setMetadata(it); // return the store of weak collections IDs } return it[METADATA].weakData; }; // add metadata on freeze-family methods calling var onFreeze = function (it) { if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it); return it; }; var enable = function () { meta.enable = function () { /* empty */ }; REQUIRED = true; var getOwnPropertyNames = getOwnPropertyNamesModule.f; var splice = uncurryThis([].splice); var test = {}; test[METADATA] = 1; // prevent exposing of metadata key if (getOwnPropertyNames(test).length) { getOwnPropertyNamesModule.f = function (it) { var result = getOwnPropertyNames(it); for (var i = 0, length = result.length; i < length; i++) { if (result[i] === METADATA) { splice(result, i, 1); break; } } return result; }; $({ target: 'Object', stat: true, forced: true }, { getOwnPropertyNames: getOwnPropertyNamesExternalModule.f }); } }; var meta = module.exports = { enable: enable, fastKey: fastKey, getWeakData: getWeakData, onFreeze: onFreeze }; hiddenKeys[METADATA] = true; /***/ }), /***/ "mpMV": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("y4JV"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("686ce1bc", content, true, {}); /***/ }), /***/ "mpjE": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".deposit[data-v-54177d9e]{position:relative}.deposit .header[data-v-54177d9e]{height:60px;color:#696969;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;font-weight:400;margin:0 14px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.deposit .header .tab-group[data-v-54177d9e]{margin-left:4rem;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:center;align-items:center}.deposit .header .tab-group .tab-item[data-v-54177d9e]{width:9rem;background-color:#fff;position:relative;color:#a3a6ab;border:1px solid #f6f6f6;border-radius:.4rem;margin-right:1.8rem;cursor:pointer}.deposit .header .tab-group .tab-item.active[data-v-54177d9e]{background:linear-gradient(#ff6953,#ff920b);color:#fff}.deposit .header .tab-group .tab-item .top-hot-img[data-v-54177d9e]{position:absolute;pointer-events:none;top:-.7rem;left:103px;width:90px;height:24px;background-image:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px 10px 10px 0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:space-evenly;justify-content:space-evenly;color:#fff;font-size:13.3px;font-weight:500;z-index:1}.deposit .header .tab-group .tab-item .top-hot-img[data-v-54177d9e]:before{border-color:transparent #ff1e4f #ff1e4f transparent;border-style:solid;border-width:8px 2px;content:\"\";width:0;height:0;position:absolute;top:8px;left:-2px}.deposit .header .tab-group .tab-item .top-hot-img img[data-v-54177d9e]{width:16.7%;height:17px}.deposit .header .tab-group .tab-item .text[data-v-54177d9e]{height:2rem;position:relative;z-index:1;padding:.1rem 0;font-size:.965rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.deposit .header .tab-group .tab-item .hot[data-v-54177d9e]{position:absolute;top:-.7rem;right:-5.2rem}.deposit .header .tab-group .tab-item .hot.hot-booking[data-v-54177d9e]{width:7.75rem;height:1.56rem;background:url(\"/static/public/image/bankImg/hot-bg.png\") no-repeat 50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:1}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-tag[data-v-54177d9e]{width:1rem;margin-right:.2rem}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-text[data-v-54177d9e]{color:#fff;font-size:.83rem}.deposit .content .deposit-left[data-v-54177d9e]{width:55%;height:590px;overflow-y:auto;overflow-x:hidden}.deposit .content .deposit-left .bank[data-v-54177d9e]{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.deposit .content .deposit-left .bank .mask[data-v-54177d9e]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-left .bank .mask img[data-v-54177d9e]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-left .bank .title img[data-v-54177d9e]{width:36px;vertical-align:middle;margin-right:8px;opacity:0}.deposit .content .deposit-left .bank .title span[data-v-54177d9e]{font-size:1.6em;color:#fff;vertical-align:middle;margin-left:5px}.deposit .content .deposit-left .bank .bank-kh[data-v-54177d9e]{height:110px;line-height:110px;text-align:center}.deposit .content .deposit-left .bank .bank-kh p[data-v-54177d9e]{font-size:2.6em;color:#fff}.deposit .content .deposit-left .bank .bank-info[data-v-54177d9e]{height:36px;line-height:36px}.deposit .content .deposit-left .bank .bank-info span[data-v-54177d9e]{display:inline-block;font-size:1.4em;color:#fff}.deposit .content .deposit-left .list_user[data-v-54177d9e]{margin-top:25px;position:relative;width:534px;height:236px}.deposit .content .deposit-left .list_user>span[data-v-54177d9e]{position:absolute;top:36%;display:-ms-flexbox;display:flex;width:30px;height:30px;border-radius:50%;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background:#dedada;opacity:.7;cursor:pointer;outline:none;z-index:99}.deposit .content .deposit-left .list_user>span i[data-v-54177d9e]{display:block;color:#fff;font-size:16px}.deposit .content .deposit-left .list_user .slidePrev[data-v-54177d9e]{left:22px}.deposit .content .deposit-left .list_user .slideNext[data-v-54177d9e]{right:22px}.deposit .content .deposit-left .list_user .slideNext[data-v-54177d9e]:hover,.deposit .content .deposit-left .list_user .slidePrev[data-v-54177d9e]:hover{background:#a09e9e}.deposit .content .deposit-left .list_user .swiper-pagination-bullet-active[data-v-54177d9e]{background:#ff9146}.deposit .content .deposit-left .list_user .slide_box[data-v-54177d9e]{width:534px;height:236px;padding:0 77px}.deposit .content .deposit-left .list_user .slide_box .slide_list[data-v-54177d9e]{width:380px;height:210px;border-radius:23px;padding:18px 20px;padding-top:20px;position:relative}.deposit .content .deposit-left .list_user .slide_box .slide_list .mask[data-v-54177d9e]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-left .list_user .slide_box .slide_list .mask img[data-v-54177d9e]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-left .list_user .slide_box .slide_list .title img[data-v-54177d9e]{width:36px;vertical-align:middle;margin-right:8px;opacity:0}.deposit .content .deposit-left .list_user .slide_box .slide_list .title span[data-v-54177d9e]{font-size:1.6em;color:#fff;vertical-align:middle;margin-left:5px}.deposit .content .deposit-left .list_user .slide_box .slide_list .bank-kh[data-v-54177d9e]{height:110px;line-height:110px;text-align:center}.deposit .content .deposit-left .list_user .slide_box .slide_list .bank-kh p[data-v-54177d9e]{font-size:2.6em;color:#fff}.deposit .content .deposit-left .list_user .slide_box .slide_list .bank-info[data-v-54177d9e]{height:36px;line-height:36px}.deposit .content .deposit-left .list_user .slide_box .slide_list .bank-info span[data-v-54177d9e]{display:inline-block;font-size:1.4em;color:#fff}.deposit .content .deposit-left .pay-bankinfo[data-v-54177d9e]{padding-left:88px;padding-bottom:14px}.deposit .content .deposit-left .pay-bankinfo .row[data-v-54177d9e]{margin-top:20px}.deposit .content .deposit-left .pay-bankinfo .row.middle[data-v-54177d9e]{width:70%;font-size:14px;text-align:center}.deposit .content .deposit-left .pay-bankinfo .row.middle a[data-v-54177d9e]{float:right}.deposit .content .deposit-left .pay-bankinfo .row label[data-v-54177d9e]{font-size:15px;font-family:Microsoft YaHei;vertical-align:baseline}.deposit .content .deposit-left .pay-bankinfo .row input[data-v-54177d9e]{height:38px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;text-indent:3px;padding-left:10px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666;margin-right:20px}.deposit .content .deposit-left .pay-bankinfo .row input[data-v-54177d9e]:not(.other){width:242px;height:38px;background:#f9f9f9}.deposit .content .deposit-left .pay-bankinfo .row input[data-v-54177d9e]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.deposit .content .deposit-left .pay-bankinfo .row .radio-content[data-v-54177d9e]{vertical-align:top;max-width:280px;display:inline-block;position:relative}.deposit .content .deposit-left .pay-bankinfo .row .radio-content.hasCustom[data-v-54177d9e]{margin:12px 0 0 75px}.deposit .content .deposit-left .pay-bankinfo .row .radio-content .radio-group>[data-v-54177d9e]{width:70px;height:22.5px}.deposit .content .deposit-left .pay-bankinfo .row .ivu-radio-wrapper[data-v-54177d9e]{margin:0}.deposit .content .deposit-left .pay-bankinfo .bar[data-v-54177d9e]{margin-top:16px;display:-ms-flexbox;display:flex}.deposit .content .deposit-left .pay-bankinfo .bar span[data-v-54177d9e]{font-size:14px;-ms-flex:1;flex:1}.deposit .content .deposit-left .quick-withdrawal-times[data-v-54177d9e]{font-size:14px;margin:20px 0 -10px;text-align:center;color:#848484}.deposit .content .deposit-left .quick-withdrawal-times span[data-v-54177d9e]{color:#f90}.deposit .content .deposit-left .submit[data-v-54177d9e]{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin-top:20px;margin-left:196px;display:inline-block;cursor:pointer}.deposit .content .deposit-left .submit.active[data-v-54177d9e]{background:linear-gradient(180deg,#ccc,#eee)}.deposit .content .deposit-left .submit.active[data-v-54177d9e]:hover{cursor:not-allowed}.deposit .content .deposit-left .submit.disable[data-v-54177d9e]{background:#d8d8d8;color:#fff;cursor:auto}.deposit .content .deposit-left .max-bank[data-v-54177d9e]{margin-left:24px;font-size:1.3em}.deposit .content .deposit-left .toast[data-v-54177d9e]{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:410px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.deposit .content .deposit-left .toast[data-v-54177d9e]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.deposit .content .deposit-left .ivu-carousel-dots-inside[data-v-54177d9e]{bottom:-20px}.deposit .content .deposit-right[data-v-54177d9e]{width:45%;height:580px;background:#f2f2f2;border-radius:0 0 15px 0}.ivu-table[data-v-54177d9e]{background:#f2f2f2}.quick-withdrawal-modal[data-v-54177d9e] .ivu-modal-mask,.quick-withdrawal-modal[data-v-54177d9e] .ivu-modal-wrap{z-index:2000}.quick-withdrawal-modal[data-v-54177d9e] .ivu-modal-content{border-radius:12px}.quick-withdrawal-modal[data-v-54177d9e] .ivu-modal-body{padding:22px 0}.quick-withdrawal-modal[data-v-54177d9e] .proof-done-modal-text-2{font-family:MicrosoftYaHei;font-size:16px;color:#696969;line-height:1.88;letter-spacing:normal;text-align:center}.press-modal[data-v-54177d9e] .ivu-modal-mask{z-index:9999}.press-modal[data-v-54177d9e] .ivu-modal{top:0}.press-modal[data-v-54177d9e] .ivu-modal-wrap{z-index:9999;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.press-modal-container[data-v-54177d9e]{font-family:Microsoft YaHei;font-size:19.6px;color:#696969;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center}.press-modal-footer div[data-v-54177d9e]{width:100%;height:46px;font-size:19.8px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#f90;color:#fff;border-radius:0 0 12px 12px;cursor:pointer}.press-modal[data-v-54177d9e] .ivu-modal-footer{padding:0;border-top:1px solid #f90}.proof-modal-header[data-v-54177d9e]{height:42px;position:relative;border-bottom:1px solid #eee}.proof-modal-header-title[data-v-54177d9e]{font-size:19.6px;font-weight:600;line-height:1.53;text-align:center}.proof-modal-header-close[data-v-54177d9e]{position:absolute;height:24px;width:24px;top:-2px;right:20px;cursor:pointer}.proof-modal-header-close img[data-v-54177d9e]{height:100%;object-fit:contain}.proof-modal-container[data-v-54177d9e]{font-size:19.6px;color:#696969;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;font-size:16px;padding-top:20px}.proof-modal-container.active .proof-modal-container-title[data-v-54177d9e]{color:#41c04b}.proof-modal-container.active .proof-modal-container-btns .confirm-btn[data-v-54177d9e]{cursor:pointer;background-color:#41c04b}.proof-modal-container-title[data-v-54177d9e]{color:#a3a6ab;margin-bottom:6px}.proof-modal-container-money[data-v-54177d9e]{line-height:28px}.proof-modal-container-money .money[data-v-54177d9e]{font-size:30.4px;color:#414655}.proof-modal-container-expect[data-v-54177d9e]{font-size:12px;color:#a5a9b3}.proof-modal-container-expect .expect-time[data-v-54177d9e]{color:#41c04b}.proof-modal-container-preferential[data-v-54177d9e]{width:calc(100% - 32px);height:32px;line-height:32px;margin-top:10px;font-size:12px;text-align:center;color:#696969;border-radius:16px;border:1px solid #e9e9e9;background-color:#f4f4f4}.proof-modal-container-preferential .red[data-v-54177d9e]{color:#fd3332}.proof-modal-container-upload[data-v-54177d9e]{height:145px}.proof-modal-container-upload .time[data-v-54177d9e]{margin-top:15px;height:25px}.proof-modal-container-upload .proof[data-v-54177d9e]{margin-top:15px;display:-ms-flexbox;display:flex;justify-self:center;-ms-flex-align:center;align-items:center}.proof-modal-container-upload .proof .two-pic .img[data-v-54177d9e],.proof-modal-container-upload .proof .two-pic[data-v-54177d9e]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.proof-modal-container-upload .proof .two-pic .img[data-v-54177d9e]{width:80px;height:80px;margin:5px;cursor:pointer;overflow:hidden}.proof-modal-container-upload .proof .two-pic .img img[data-v-54177d9e]{object-fit:cover;height:100%}.proof-modal-container-btns[data-v-54177d9e]{display:-ms-flexbox;display:flex;margin:33px auto 28px}.proof-modal-container-btns .kefu-btn[data-v-54177d9e]{width:130px;height:36px;line-height:36px;vertical-align:middle;text-align:center;border-radius:8px;color:#41c04b;border:1px solid #41c04b;margin-right:6px;cursor:pointer}.proof-modal-container-btns .confirm-btn[data-v-54177d9e]{width:130px;height:36px;line-height:36px;vertical-align:middle;text-align:center;border-radius:8px;position:relative;color:#fff;background-color:#ddd}.proof-modal-container-btns .confirm-btn .hot-img[data-v-54177d9e]{position:absolute;right:-30px;top:-18px;width:94px;height:24px;background-image:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px 10px 10px 0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:space-evenly;justify-content:space-evenly;color:#fff;font-size:13.3px;font-weight:500}.proof-modal-container-btns .confirm-btn .hot-img[data-v-54177d9e]:before{border-color:transparent #ff1e4f #ff1e4f transparent;border-style:solid;border-width:8px 2px;content:\"\";width:0;height:0;position:absolute;top:8px;left:-2px}.proof-modal-container-btns .confirm-btn .hot-img img[data-v-54177d9e]{width:16.7%;height:17px}.proof-modal-container-tips[data-v-54177d9e]{font-size:12px;line-height:1.67;color:#a5a9b3;margin-top:-20px}.proof-modal[data-v-54177d9e] .ivu-modal{top:130px}.proof-modal[data-v-54177d9e] .ivu-modal-footer{display:none}.img-modal-container[data-v-54177d9e]{position:fixed;height:100%;width:100%;right:0;top:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.img-modal-container-close[data-v-54177d9e]{position:absolute;height:54px;width:54px;top:24px;right:24px;cursor:pointer}.img-modal-container .img[data-v-54177d9e]{height:100vh;max-width:80%;width:1920px;background-color:#000;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.img-modal-container .img img[data-v-54177d9e]{height:auto;max-height:100%;max-width:100%;object-fit:contain}.img-modal[data-v-54177d9e] .ivu-modal-body{padding:0}.img-modal[data-v-54177d9e] .ivu-modal{top:0;height:100vh}.img-modal[data-v-54177d9e] .ivu-modal-content{background:transparent}.img-modal[data-v-54177d9e] .ivu-modal-footer{display:none}.kefu-modal[data-v-54177d9e] .ivu-modal-footer{padding:0}.kefu-modal[data-v-54177d9e] .ivu-modal{top:200px}.kefu-modal-container[data-v-54177d9e]{font-family:Microsoft YaHei;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;margin-bottom:-20px}.kefu-modal-container-label[data-v-54177d9e]{font-size:14px;width:100%;padding:0 22px;color:#424654}.kefu-modal-container-title[data-v-54177d9e]{font-size:19.8px;color:#424654;margin-bottom:9px}.kefu-modal-container-textarea[data-v-54177d9e]{width:268px;height:152px;border-radius:5px;border:1px solid #848484;resize:none;padding:8px;font-size:14px;color:#666;margin:3px 0 12px}.kefu-modal-container-textarea[data-v-54177d9e]:focus{outline:none}.kefu-modal-container-upload[data-v-54177d9e]{width:100%;padding:0 22px}.kefu-modal-container-upload .prompt[data-v-54177d9e]{font-size:12px;color:#424654;letter-spacing:-.3px;margin-bottom:8px;white-space:nowrap}.kefu-modal-container-upload[data-v-54177d9e] .upload-wrap{border:none;padding-top:5px;padding-bottom:0}.kefu-modal-footer[data-v-54177d9e]{display:-ms-flexbox;display:flex}.kefu-modal-footer div[data-v-54177d9e]{width:50%;height:46px;font-size:19.8px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#f90;cursor:pointer}.kefu-modal-footer-cancel[data-v-54177d9e]{border-radius:0 0 0 10px;color:#996002;border-right:.5px solid #fff}.kefu-modal-footer-submit[data-v-54177d9e]{border-radius:0 0 10px 0;color:#fff;border-left:.5px solid #fff}.proof-done-modal[data-v-54177d9e] .ivu-modal-footer{padding:0}.proof-done-modal[data-v-54177d9e] .ivu-modal{top:250px}.proof-done-modal-container[data-v-54177d9e]{font-family:Microsoft YaHei;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.proof-done-modal-container-title[data-v-54177d9e]{font-size:19.8px;color:#424654;margin-bottom:9px;white-space:pre-line;padding:0 16px}.proof-done-modal-container-title[data-v-54177d9e]:last-child{margin-bottom:0}.proof-done-modal-container-text[data-v-54177d9e]{padding:0 18px;font-size:15px}.proof-done-modal-footer[data-v-54177d9e]{display:-ms-flexbox;display:flex}.proof-done-modal-footer div[data-v-54177d9e]{width:50%;height:46px;font-size:19.8px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#f90;cursor:pointer}.proof-done-modal-footer-cancel[data-v-54177d9e]{border-radius:0 0 0 10px;color:#996002;border-right:.5px solid #fff}.proof-done-modal-footer-submit[data-v-54177d9e]{border-radius:0 0 10px 0;color:#fff;border-left:.5px solid #fff}", ""]); // exports /***/ }), /***/ "nE5+": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".deposit .header[data-v-43f54c6b]{height:60px;color:#696969;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;font-weight:400;margin:0 14px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.deposit .header .tab-group[data-v-43f54c6b]{margin-left:4rem;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:center;align-items:center}.deposit .header .tab-group .tab-item[data-v-43f54c6b]{width:9rem;background-color:#fff;position:relative;color:#a3a6ab;border:1px solid #f6f6f6;border-radius:.4rem;cursor:pointer;margin-right:1.8rem}.deposit .header .tab-group .tab-item.active[data-v-43f54c6b]{background:linear-gradient(#ff6953,#ff920b);color:#fff}.deposit .header .tab-group .tab-item .text[data-v-43f54c6b]{height:2rem;position:relative;z-index:1;padding:.1rem 0;font-size:.965rem;border-radius:2rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.deposit .header .tab-group .tab-item .hot[data-v-43f54c6b]{position:absolute;top:-.7rem;right:-4rem}.deposit .header .tab-group .tab-item .hot.hot-booking[data-v-43f54c6b]{width:7.75rem;height:1.56rem;background:url(\"/static/public/image/bankImg/hot-bg.png\") no-repeat 50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:1}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-tag[data-v-43f54c6b]{width:1rem;margin-right:.2rem}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-text[data-v-43f54c6b]{color:#fff;font-size:.83rem}.deposit .content .deposit-usdtbing[data-v-43f54c6b]{width:52%}.deposit .content .deposit-usdtbing .bank[data-v-43f54c6b]{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.deposit .content .deposit-usdtbing .bank .mask[data-v-43f54c6b]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-usdtbing .bank .mask img[data-v-43f54c6b]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-usdtbing .bank .title[data-v-43f54c6b]{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit .content .deposit-usdtbing .bank .title span[data-v-43f54c6b]{font-size:16px;color:#fff}.deposit .content .deposit-usdtbing .bank .bank-kh[data-v-43f54c6b]{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.deposit .content .deposit-usdtbing .bank .bank-kh span[data-v-43f54c6b]{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.deposit .content .deposit-usdtbing .bank .bank-info[data-v-43f54c6b]{height:36px;line-height:36px}.deposit .content .deposit-usdtbing .bank .bank-info span[data-v-43f54c6b]{display:inline-block;font-size:14px;color:#fff}.deposit .content .deposit-usdtbing .list_user[data-v-43f54c6b]{margin-top:15px;position:relative;width:534px;height:236px}.deposit .content .deposit-usdtbing .list_user>span[data-v-43f54c6b]{position:absolute;top:36%;display:-ms-flexbox;display:flex;width:30px;height:30px;border-radius:50%;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background:#dedada;opacity:.7;cursor:pointer;outline:none;z-index:99}.deposit .content .deposit-usdtbing .list_user>span i[data-v-43f54c6b]{display:block;color:#fff;font-size:16px}.deposit .content .deposit-usdtbing .list_user .slidePrev[data-v-43f54c6b]{left:22px}.deposit .content .deposit-usdtbing .list_user .slideNext[data-v-43f54c6b]{right:22px}.deposit .content .deposit-usdtbing .list_user .slideNext[data-v-43f54c6b]:hover,.deposit .content .deposit-usdtbing .list_user .slidePrev[data-v-43f54c6b]:hover{background:#a09e9e}.deposit .content .deposit-usdtbing .list_user[data-v-43f54c6b] .swiper-pagination-bullet-active{background:#ff9146!important}.deposit .content .deposit-usdtbing .list_user .slide_box[data-v-43f54c6b]{width:534px;height:236px;padding:0 77px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list[data-v-43f54c6b]{width:380px;height:210px;border-radius:23px;padding:18px 20px;padding-top:20px;position:relative}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .mask[data-v-43f54c6b]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .mask img[data-v-43f54c6b]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .title[data-v-43f54c6b]{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .title span[data-v-43f54c6b]{font-size:16px;color:#616161}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-kh[data-v-43f54c6b]{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-kh span[data-v-43f54c6b]{font-size:2.6em;color:#616161;word-break:break-all;white-space:normal}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-info[data-v-43f54c6b]{height:36px;line-height:36px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-info span[data-v-43f54c6b]{display:inline-block;font-size:14px;color:#616161}.deposit .content .deposit-usdtbing .att[data-v-43f54c6b]{height:18px;margin:20px auto 30px;font-size:15px;font-family:MicrosoftYaHei;color:#696969;text-align:center;line-height:18px}.deposit .content .deposit-usdtbing .pay-bankinfo[data-v-43f54c6b]{border-bottom:1px solid #f3f3f3}.deposit .content .deposit-usdtbing .pay-bankinfo .row[data-v-43f54c6b]{margin-left:78px;margin-top:10px}.deposit .content .deposit-usdtbing .pay-bankinfo .row.middle[data-v-43f54c6b]{width:70%;font-size:14px;text-align:center}.deposit .content .deposit-usdtbing .pay-bankinfo .row.middle a[data-v-43f54c6b]{float:right}.deposit .content .deposit-usdtbing .pay-bankinfo .row label[data-v-43f54c6b]{font-size:15px;font-family:Microsoft YaHei}.deposit .content .deposit-usdtbing .pay-bankinfo .row input[data-v-43f54c6b]{height:38px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;text-indent:3px;padding-left:10px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666;margin-right:10px}.deposit .content .deposit-usdtbing .pay-bankinfo .row input[data-v-43f54c6b]:not(.other){width:242px;height:38px;background:#f9f9f9}.deposit .content .deposit-usdtbing .pay-bankinfo .row input[data-v-43f54c6b]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.deposit .content .deposit-usdtbing .pay-bankinfo .bar[data-v-43f54c6b]{margin-top:16px;display:-ms-flexbox;display:flex}.deposit .content .deposit-usdtbing .pay-bankinfo .bar span[data-v-43f54c6b]{font-size:14px;-ms-flex:1;flex:1}.deposit .content .deposit-usdtbing .submit[data-v-43f54c6b]{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin:10px auto 0;cursor:pointer}.deposit .content .deposit-usdtbing .submit.active[data-v-43f54c6b]{background:linear-gradient(180deg,#ccc,#eee)}.deposit .content .deposit-usdtbing .submit.active[data-v-43f54c6b]:hover{cursor:not-allowed}.deposit .content .deposit-usdtbing .max-bank[data-v-43f54c6b]{margin-left:24px;font-size:1.3em}.deposit .content .deposit-usdtbing .toast[data-v-43f54c6b]{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:410px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.deposit .content .deposit-usdtbing .toast[data-v-43f54c6b]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.deposit .content .deposit-usdtbing .ivu-carousel-dots-inside[data-v-43f54c6b]{bottom:-20px}.deposit .content .deposit-right[data-v-43f54c6b]{width:48%;height:580px;background:#f2f2f2;border-radius:0 0 15px 0}.ivu-table[data-v-43f54c6b]{background:#f2f2f2}", ""]); // exports /***/ }), /***/ "nSxQ": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; /* harmony default export */ __webpack_exports__["a"] = (freeGlobal); /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__("DuR2"))) /***/ }), /***/ "nZk+": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".deposit .header[data-v-28194f62]{height:60px;color:#696969;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;font-weight:400;margin:0 14px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.deposit .header .tab-group[data-v-28194f62]{margin-left:4rem;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:center;align-items:center}.deposit .header .tab-group .tab-item[data-v-28194f62]{width:9rem;background-color:#fff;position:relative;color:#a3a6ab;border:1px solid #f6f6f6;border-radius:.4rem;cursor:pointer;margin-right:1.8rem}.deposit .header .tab-group .tab-item.active[data-v-28194f62]{background:linear-gradient(#ff6953,#ff920b);color:#fff}.deposit .header .tab-group .tab-item .text[data-v-28194f62]{height:2rem;position:relative;z-index:1;padding:.1rem 0;font-size:.965rem;border-radius:2rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.deposit .header .tab-group .tab-item .hot[data-v-28194f62]{position:absolute;top:-.7rem;right:-4rem}.deposit .header .tab-group .tab-item .hot.hot-booking[data-v-28194f62]{width:7.75rem;height:1.56rem;background:url(\"/static/public/image/bankImg/hot-bg.png\") no-repeat 50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:1}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-tag[data-v-28194f62]{width:1rem;margin-right:.2rem}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-text[data-v-28194f62]{color:#fff;font-size:.83rem}.deposit .content .deposit-usdtbing[data-v-28194f62]{width:52%}.deposit .content .deposit-usdtbing .bank[data-v-28194f62]{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.deposit .content .deposit-usdtbing .bank .mask[data-v-28194f62]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-usdtbing .bank .mask img[data-v-28194f62]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-usdtbing .bank .title[data-v-28194f62]{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit .content .deposit-usdtbing .bank .title span[data-v-28194f62]{font-size:16px;color:#fff}.deposit .content .deposit-usdtbing .bank .bank-kh[data-v-28194f62]{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.deposit .content .deposit-usdtbing .bank .bank-kh span[data-v-28194f62]{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.deposit .content .deposit-usdtbing .bank .bank-info[data-v-28194f62]{height:36px;line-height:36px}.deposit .content .deposit-usdtbing .bank .bank-info span[data-v-28194f62]{display:inline-block;font-size:14px;color:#fff}.deposit .content .deposit-usdtbing .list_user[data-v-28194f62]{margin-top:15px;position:relative;width:534px;height:236px}.deposit .content .deposit-usdtbing .list_user>span[data-v-28194f62]{position:absolute;top:36%;display:-ms-flexbox;display:flex;width:30px;height:30px;border-radius:50%;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background:#dedada;opacity:.7;cursor:pointer;outline:none;z-index:99}.deposit .content .deposit-usdtbing .list_user>span i[data-v-28194f62]{display:block;color:#fff;font-size:16px}.deposit .content .deposit-usdtbing .list_user .slidePrev[data-v-28194f62]{left:22px}.deposit .content .deposit-usdtbing .list_user .slideNext[data-v-28194f62]{right:22px}.deposit .content .deposit-usdtbing .list_user .slideNext[data-v-28194f62]:hover,.deposit .content .deposit-usdtbing .list_user .slidePrev[data-v-28194f62]:hover{background:#a09e9e}.deposit .content .deposit-usdtbing .list_user .swiper-pagination-bullet-active[data-v-28194f62]{background:#ff9146}.deposit .content .deposit-usdtbing .list_user .slide_box[data-v-28194f62]{width:534px;height:236px;padding:0 77px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list[data-v-28194f62]{width:380px;height:210px;border-radius:23px;padding:18px 20px;padding-top:20px;position:relative}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .mask[data-v-28194f62]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .mask img[data-v-28194f62]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .title[data-v-28194f62]{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .title span[data-v-28194f62]{font-size:16px;color:#fff}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-kh[data-v-28194f62]{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-kh span[data-v-28194f62]{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-info[data-v-28194f62]{height:36px;line-height:36px}.deposit .content .deposit-usdtbing .list_user .slide_box .slide_list .bank-info span[data-v-28194f62]{display:inline-block;font-size:14px;color:#fff}.deposit .content .deposit-usdtbing .att[data-v-28194f62]{height:18px;margin:10px auto;font-size:12px;font-family:MicrosoftYaHei;color:#fd3332;text-align:center;line-height:18px}.deposit .content .deposit-usdtbing .pay-bankinfo[data-v-28194f62]{border-bottom:1px solid #f3f3f3}.deposit .content .deposit-usdtbing .pay-bankinfo .row[data-v-28194f62]{margin-left:78px;margin-top:10px}.deposit .content .deposit-usdtbing .pay-bankinfo .row.middle[data-v-28194f62]{width:70%;font-size:14px;text-align:center}.deposit .content .deposit-usdtbing .pay-bankinfo .row.middle a[data-v-28194f62]{float:right}.deposit .content .deposit-usdtbing .pay-bankinfo .row label[data-v-28194f62]{font-size:15px;font-family:Microsoft YaHei}.deposit .content .deposit-usdtbing .pay-bankinfo .row input[data-v-28194f62]{height:38px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;text-indent:3px;padding-left:10px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666;margin-right:10px}.deposit .content .deposit-usdtbing .pay-bankinfo .row input[data-v-28194f62]:not(.other){width:242px;height:38px;background:#f9f9f9}.deposit .content .deposit-usdtbing .pay-bankinfo .row input[data-v-28194f62]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.deposit .content .deposit-usdtbing .pay-bankinfo .bar[data-v-28194f62]{margin-top:16px;display:-ms-flexbox;display:flex}.deposit .content .deposit-usdtbing .pay-bankinfo .bar span[data-v-28194f62]{font-size:14px;-ms-flex:1;flex:1}.deposit .content .deposit-usdtbing .submit[data-v-28194f62]{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin:10px auto 0;cursor:pointer}.deposit .content .deposit-usdtbing .submit.active[data-v-28194f62]{background:linear-gradient(180deg,#ccc,#eee)}.deposit .content .deposit-usdtbing .submit.active[data-v-28194f62]:hover{cursor:not-allowed}.deposit .content .deposit-usdtbing .max-bank[data-v-28194f62]{margin-left:24px;font-size:1.3em}.deposit .content .deposit-usdtbing .toast[data-v-28194f62]{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:410px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.deposit .content .deposit-usdtbing .toast[data-v-28194f62]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.deposit .content .deposit-usdtbing .ivu-carousel-dots-inside[data-v-28194f62]{bottom:-20px}.deposit .content .deposit-right[data-v-28194f62]{width:48%;height:580px;background:#f2f2f2;border-radius:0 0 15px 0}.ivu-table[data-v-28194f62]{background:#f2f2f2}", ""]); // exports /***/ }), /***/ "nbJ6": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".peronsals .binding .content .deposit-left .ivu-select{width:242px}.peronsals .binding .content .deposit-left .ivu-select .ivu-select-dropdown-list{height:265px}.peronsals .binding .content .deposit-left .adressSelect .ivu-select-dropdown-list{height:340px}.peronsals .binding .content .deposit-left .csSelect .ivu-select-dropdown-list{max-height:340px;height:auto}.peronsals .binding .content .deposit-left .mbSelect .ivu-select-dropdown-list{max-height:230px;height:auto}.binding .header{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:66px;font-weight:400;margin:0 14px;font-family:Microsoft YaHei}.binding .content .deposit-left{padding-top:6px;width:52%;position:relative}.binding .content .deposit-left .row{margin-top:15px}.binding .content .deposit-left .row .text{display:inline-block;width:144px;text-align:right;font-size:15px;font-family:Microsoft YaHei;vertical-align:middle}.binding .content .deposit-left .row input{height:38px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;text-align:left;text-indent:.7em;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.binding .content .deposit-left .row input:not(.other){width:242px;height:38px;background:#f9f9f9}.binding .content .deposit-left .row input:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.binding .content .deposit-left .bar{height:50px;line-height:50px}.binding .content .deposit-left .bar label{display:inline-block;width:144px;text-align:right;font-size:15px;font-family:Microsoft YaHei}.binding .content .deposit-left .bar span{font-size:15px;font-family:Microsoft YaHei}.binding .content .deposit-left .bar span span{color:#f90;text-decoration:underline;font-family:Microsoft YaHei;cursor:pointer;font-size:15px;padding-left:5px;padding-left:-2px}.binding .content .deposit-left .submit{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin-top:10px;margin-left:150px;display:inline-block;cursor:pointer}.binding .content .deposit-left .submit.active{background:linear-gradient(180deg,#ccc,#eee)}.binding .content .deposit-left .submit.active:hover{cursor:not-allowed}.binding .content .deposit-left .max-bank{padding-left:20px;font-size:1.3em;display:block;font-size:15px;border-bottom:1px solid #f3f3f3;padding-bottom:20px;margin:1px 50px}.binding .content .deposit-left .toast{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:-65px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.binding .content .deposit-left .toast:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.binding .content .deposit-right{width:48%;height:584px;background:#f2f2f2;border-radius:0 0 15px 0}.binding .content .deposit-right .bank{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.binding .content .deposit-right .bank .mask{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.binding .content .deposit-right .bank .mask img{margin-top:20px;margin-left:210px;width:140px;height:60px}.binding .content .deposit-right .bank .title img{width:36px;vertical-align:middle;margin-right:8px;opacity:0}.binding .content .deposit-right .bank .title span{font-size:1.6em;color:#fff;vertical-align:middle;margin-left:5px}.binding .content .deposit-right .bank .bank-kh{height:110px;line-height:110px;text-align:center}.binding .content .deposit-right .bank .bank-kh p{font-size:2.6em;color:#fff}.binding .content .deposit-right .bank .bank-info{height:36px;line-height:36px}.binding .content .deposit-right .bank .bank-info span{display:inline-block;font-size:1.4em;color:#fff}.binding .content .deposit-right .ivu-carousel-dots-inside{bottom:-20px}", ""]); // exports /***/ }), /***/ "nwDn": /***/ (function(module, exports) { function hex2rgba (hex) { if (typeof hex === 'number') { hex = hex.toString() } if (typeof hex !== 'string') { throw new Error('Color should be defined as hex string') } let hexCode = hex.slice().replace('#', '').split('') if (hexCode.length < 3 || hexCode.length === 5 || hexCode.length > 8) { throw new Error('Invalid hex color: ' + hex) } // Convert from short to long form (fff -> ffffff) if (hexCode.length === 3 || hexCode.length === 4) { hexCode = Array.prototype.concat.apply([], hexCode.map(function (c) { return [c, c] })) } // Add default alpha value if (hexCode.length === 6) hexCode.push('F', 'F') const hexValue = parseInt(hexCode.join(''), 16) return { r: (hexValue >> 24) & 255, g: (hexValue >> 16) & 255, b: (hexValue >> 8) & 255, a: hexValue & 255, hex: '#' + hexCode.slice(0, 6).join('') } } exports.getOptions = function getOptions (options) { if (!options) options = {} if (!options.color) options.color = {} const margin = typeof options.margin === 'undefined' || options.margin === null || options.margin < 0 ? 4 : options.margin const width = options.width && options.width >= 21 ? options.width : undefined const scale = options.scale || 4 return { width: width, scale: width ? 4 : scale, margin: margin, color: { dark: hex2rgba(options.color.dark || '#000000ff'), light: hex2rgba(options.color.light || '#ffffffff') }, type: options.type, rendererOpts: options.rendererOpts || {} } } exports.getScale = function getScale (qrSize, opts) { return opts.width && opts.width >= qrSize + opts.margin * 2 ? opts.width / (qrSize + opts.margin * 2) : opts.scale } exports.getImageWidth = function getImageWidth (qrSize, opts) { const scale = exports.getScale(qrSize, opts) return Math.floor((qrSize + opts.margin * 2) * scale) } exports.qrToImageData = function qrToImageData (imgData, qr, opts) { const size = qr.modules.size const data = qr.modules.data const scale = exports.getScale(size, opts) const symbolSize = Math.floor((size + opts.margin * 2) * scale) const scaledMargin = opts.margin * scale const palette = [opts.color.light, opts.color.dark] for (let i = 0; i < symbolSize; i++) { for (let j = 0; j < symbolSize; j++) { let posDst = (i * symbolSize + j) * 4 let pxColor = opts.color.light if (i >= scaledMargin && j >= scaledMargin && i < symbolSize - scaledMargin && j < symbolSize - scaledMargin) { const iSrc = Math.floor((i - scaledMargin) / scale) const jSrc = Math.floor((j - scaledMargin) / scale) pxColor = palette[data[iSrc * size + jSrc] ? 1 : 0] } imgData[posDst++] = pxColor.r imgData[posDst++] = pxColor.g imgData[posDst++] = pxColor.b imgData[posDst] = pxColor.a } } } /***/ }), /***/ "nyx9": /***/ (function(module, exports, __webpack_require__) { const Mode = __webpack_require__("uF9H") const NumericData = __webpack_require__("sYKs") const AlphanumericData = __webpack_require__("RO0P") const ByteData = __webpack_require__("vPzN") const KanjiData = __webpack_require__("zYqW") const Regex = __webpack_require__("NY/E") const Utils = __webpack_require__("oLzS") const dijkstra = __webpack_require__("b2+w") /** * Returns UTF8 byte length * * @param {String} str Input string * @return {Number} Number of byte */ function getStringByteLength (str) { return unescape(encodeURIComponent(str)).length } /** * Get a list of segments of the specified mode * from a string * * @param {Mode} mode Segment mode * @param {String} str String to process * @return {Array} Array of object with segments data */ function getSegments (regex, mode, str) { const segments = [] let result while ((result = regex.exec(str)) !== null) { segments.push({ data: result[0], index: result.index, mode: mode, length: result[0].length }) } return segments } /** * Extracts a series of segments with the appropriate * modes from a string * * @param {String} dataStr Input string * @return {Array} Array of object with segments data */ function getSegmentsFromString (dataStr) { const numSegs = getSegments(Regex.NUMERIC, Mode.NUMERIC, dataStr) const alphaNumSegs = getSegments(Regex.ALPHANUMERIC, Mode.ALPHANUMERIC, dataStr) let byteSegs let kanjiSegs if (Utils.isKanjiModeEnabled()) { byteSegs = getSegments(Regex.BYTE, Mode.BYTE, dataStr) kanjiSegs = getSegments(Regex.KANJI, Mode.KANJI, dataStr) } else { byteSegs = getSegments(Regex.BYTE_KANJI, Mode.BYTE, dataStr) kanjiSegs = [] } const segs = numSegs.concat(alphaNumSegs, byteSegs, kanjiSegs) return segs .sort(function (s1, s2) { return s1.index - s2.index }) .map(function (obj) { return { data: obj.data, mode: obj.mode, length: obj.length } }) } /** * Returns how many bits are needed to encode a string of * specified length with the specified mode * * @param {Number} length String length * @param {Mode} mode Segment mode * @return {Number} Bit length */ function getSegmentBitsLength (length, mode) { switch (mode) { case Mode.NUMERIC: return NumericData.getBitsLength(length) case Mode.ALPHANUMERIC: return AlphanumericData.getBitsLength(length) case Mode.KANJI: return KanjiData.getBitsLength(length) case Mode.BYTE: return ByteData.getBitsLength(length) } } /** * Merges adjacent segments which have the same mode * * @param {Array} segs Array of object with segments data * @return {Array} Array of object with segments data */ function mergeSegments (segs) { return segs.reduce(function (acc, curr) { const prevSeg = acc.length - 1 >= 0 ? acc[acc.length - 1] : null if (prevSeg && prevSeg.mode === curr.mode) { acc[acc.length - 1].data += curr.data return acc } acc.push(curr) return acc }, []) } /** * Generates a list of all possible nodes combination which * will be used to build a segments graph. * * Nodes are divided by groups. Each group will contain a list of all the modes * in which is possible to encode the given text. * * For example the text '12345' can be encoded as Numeric, Alphanumeric or Byte. * The group for '12345' will contain then 3 objects, one for each * possible encoding mode. * * Each node represents a possible segment. * * @param {Array} segs Array of object with segments data * @return {Array} Array of object with segments data */ function buildNodes (segs) { const nodes = [] for (let i = 0; i < segs.length; i++) { const seg = segs[i] switch (seg.mode) { case Mode.NUMERIC: nodes.push([seg, { data: seg.data, mode: Mode.ALPHANUMERIC, length: seg.length }, { data: seg.data, mode: Mode.BYTE, length: seg.length } ]) break case Mode.ALPHANUMERIC: nodes.push([seg, { data: seg.data, mode: Mode.BYTE, length: seg.length } ]) break case Mode.KANJI: nodes.push([seg, { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) } ]) break case Mode.BYTE: nodes.push([ { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) } ]) } } return nodes } /** * Builds a graph from a list of nodes. * All segments in each node group will be connected with all the segments of * the next group and so on. * * At each connection will be assigned a weight depending on the * segment's byte length. * * @param {Array} nodes Array of object with segments data * @param {Number} version QR Code version * @return {Object} Graph of all possible segments */ function buildGraph (nodes, version) { const table = {} const graph = { start: {} } let prevNodeIds = ['start'] for (let i = 0; i < nodes.length; i++) { const nodeGroup = nodes[i] const currentNodeIds = [] for (let j = 0; j < nodeGroup.length; j++) { const node = nodeGroup[j] const key = '' + i + j currentNodeIds.push(key) table[key] = { node: node, lastCount: 0 } graph[key] = {} for (let n = 0; n < prevNodeIds.length; n++) { const prevNodeId = prevNodeIds[n] if (table[prevNodeId] && table[prevNodeId].node.mode === node.mode) { graph[prevNodeId][key] = getSegmentBitsLength(table[prevNodeId].lastCount + node.length, node.mode) - getSegmentBitsLength(table[prevNodeId].lastCount, node.mode) table[prevNodeId].lastCount += node.length } else { if (table[prevNodeId]) table[prevNodeId].lastCount = node.length graph[prevNodeId][key] = getSegmentBitsLength(node.length, node.mode) + 4 + Mode.getCharCountIndicator(node.mode, version) // switch cost } } } prevNodeIds = currentNodeIds } for (let n = 0; n < prevNodeIds.length; n++) { graph[prevNodeIds[n]].end = 0 } return { map: graph, table: table } } /** * Builds a segment from a specified data and mode. * If a mode is not specified, the more suitable will be used. * * @param {String} data Input data * @param {Mode | String} modesHint Data mode * @return {Segment} Segment */ function buildSingleSegment (data, modesHint) { let mode const bestMode = Mode.getBestModeForData(data) mode = Mode.from(modesHint, bestMode) // Make sure data can be encoded if (mode !== Mode.BYTE && mode.bit < bestMode.bit) { throw new Error('"' + data + '"' + ' cannot be encoded with mode ' + Mode.toString(mode) + '.\n Suggested mode is: ' + Mode.toString(bestMode)) } // Use Mode.BYTE if Kanji support is disabled if (mode === Mode.KANJI && !Utils.isKanjiModeEnabled()) { mode = Mode.BYTE } switch (mode) { case Mode.NUMERIC: return new NumericData(data) case Mode.ALPHANUMERIC: return new AlphanumericData(data) case Mode.KANJI: return new KanjiData(data) case Mode.BYTE: return new ByteData(data) } } /** * Builds a list of segments from an array. * Array can contain Strings or Objects with segment's info. * * For each item which is a string, will be generated a segment with the given * string and the more appropriate encoding mode. * * For each item which is an object, will be generated a segment with the given * data and mode. * Objects must contain at least the property "data". * If property "mode" is not present, the more suitable mode will be used. * * @param {Array} array Array of objects with segments data * @return {Array} Array of Segments */ exports.fromArray = function fromArray (array) { return array.reduce(function (acc, seg) { if (typeof seg === 'string') { acc.push(buildSingleSegment(seg, null)) } else if (seg.data) { acc.push(buildSingleSegment(seg.data, seg.mode)) } return acc }, []) } /** * Builds an optimized sequence of segments from a string, * which will produce the shortest possible bitstream. * * @param {String} data Input string * @param {Number} version QR Code version * @return {Array} Array of segments */ exports.fromString = function fromString (data, version) { const segs = getSegmentsFromString(data, Utils.isKanjiModeEnabled()) const nodes = buildNodes(segs) const graph = buildGraph(nodes, version) const path = dijkstra.find_path(graph.map, 'start', 'end') const optimizedSegs = [] for (let i = 1; i < path.length - 1; i++) { optimizedSegs.push(graph.table[path[i]].node) } return exports.fromArray(mergeSegments(optimizedSegs)) } /** * Splits a string in various segments with the modes which * best represent their content. * The produced segments are far from being optimized. * The output of this function is only used to estimate a QR Code version * which may contain the data. * * @param {string} data Input string * @return {Array} Array of segments */ exports.rawSplit = function rawSplit (data) { return exports.fromArray( getSegmentsFromString(data, Utils.isKanjiModeEnabled()) ) } /***/ }), /***/ "nzkh": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/src/assets/img/personal/alert.b8d4ba3.png"; /***/ }), /***/ "o7mp": /***/ (function(module, exports, __webpack_require__) { "use strict"; var TO_STRING_TAG_SUPPORT = __webpack_require__("Pwol"); var classof = __webpack_require__("J+MD"); // `Object.prototype.toString` method implementation // https://tc39.es/ecma262/#sec-object.prototype.tostring module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { return '[object ' + classof(this) + ']'; }; /***/ }), /***/ "oLzS": /***/ (function(module, exports) { let toSJISFunction const CODEWORDS_COUNT = [ 0, // Not used 26, 44, 70, 100, 134, 172, 196, 242, 292, 346, 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085, 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185, 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706 ] /** * Returns the QR Code size for the specified version * * @param {Number} version QR Code version * @return {Number} size of QR code */ exports.getSymbolSize = function getSymbolSize (version) { if (!version) throw new Error('"version" cannot be null or undefined') if (version < 1 || version > 40) throw new Error('"version" should be in range from 1 to 40') return version * 4 + 17 } /** * Returns the total number of codewords used to store data and EC information. * * @param {Number} version QR Code version * @return {Number} Data length in bits */ exports.getSymbolTotalCodewords = function getSymbolTotalCodewords (version) { return CODEWORDS_COUNT[version] } /** * Encode data with Bose-Chaudhuri-Hocquenghem * * @param {Number} data Value to encode * @return {Number} Encoded value */ exports.getBCHDigit = function (data) { let digit = 0 while (data !== 0) { digit++ data >>>= 1 } return digit } exports.setToSJISFunction = function setToSJISFunction (f) { if (typeof f !== 'function') { throw new Error('"toSJISFunc" is not a valid function.') } toSJISFunction = f } exports.isKanjiModeEnabled = function () { return typeof toSJISFunction !== 'undefined' } exports.toSJIS = function toSJIS (kanji) { return toSJISFunction(kanji) } /***/ }), /***/ "oMPp": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".cl[data-v-20ddbbda]:after{content:\"\";display:block;clear:both}.noBorder[data-v-20ddbbda]{border-right:0!important}.agency_index[data-v-20ddbbda]{border-bottom-right-radius:15px!important;padding:0 14px;height:100%}.agency_index .content[data-v-20ddbbda]{height:100%;overflow-y:auto}.agency_index .content .title[data-v-20ddbbda]{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400;cursor:pointer}.agency_index .content .search[data-v-20ddbbda]{height:64px;line-height:64px;padding:0 10px;-ms-flex-align:center;align-items:center}.agency_index .content .search .searchBtn[data-v-20ddbbda]{width:80px;height:36px;border-radius:5px;background:linear-gradient(180deg,#ff3492,#ff1e4f);color:#fff;line-height:36px;text-align:center;display:inline-block;margin:0 20px;font-size:18px;cursor:pointer}.agency_index .content .search .searchInput[data-v-20ddbbda]{width:240px;height:38px;font-size:14px;background:#fdfdfd;border:1px solid #f5f5f5;border-radius:5px;padding-left:8px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.agency_index .content .search .searchInput[data-v-20ddbbda]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.agency_index .content .search .mathDiv[data-v-20ddbbda]{position:relative;font-size:15px;float:right;color:#4674f6}.agency_index .content .search .mathDiv .explainDiv[data-v-20ddbbda]{display:none;position:absolute;width:412px;height:109px;background:#fff;box-shadow:0 2px 9px 0 rgba(177,178,195,.58);border-radius:10px;top:50px;right:0;padding:13px 18px;z-index:3;cursor:pointer}.agency_index .content .search .mathDiv .explainDiv p[data-v-20ddbbda]{line-height:28px;font-size:14px;font-family:MicrosoftYaHei;color:#666}.agency_index .content .search .mathDiv:hover .explainDiv[data-v-20ddbbda]{display:block}.agency_index .content .search .mathDiv .explainPic[data-v-20ddbbda]{cursor:pointer}.agency_index .content .head-info[data-v-20ddbbda]{margin-top:-30px;padding-bottom:0}.agency_index .content .head-info .contentUl[data-v-20ddbbda]{width:100%;box-sizing:border-box}.agency_index .content .head-info .contentUl .betClass[data-v-20ddbbda]{color:#4674f6!important;cursor:pointer}.agency_index .content .head-info .contentUl li[data-v-20ddbbda]{float:left;width:25%;height:90px;text-align:center;border-bottom:1px solid #dbdbdb;line-height:122px;box-sizing:border-box}.agency_index .content .head-info .contentUl li .liItem[data-v-20ddbbda]{display:inline-block;margin-top:0;height:30px;width:100%;border-right:1px solid #dbdbdb;position:relative}.agency_index .content .head-info .contentUl li .liItem p[data-v-20ddbbda]{line-height:28px}.agency_index .content .head-info .contentUl li .liItem .itemName[data-v-20ddbbda]{font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333}.agency_index .content .head-info .contentUl li .liItem .itemVal[data-v-20ddbbda]{font-size:16px;font-family:MicrosoftYaHei;font-weight:700;color:#ff9146}.agency_index .content .head-info .contentUl li:nth-child(4n) .liItem[data-v-20ddbbda]{border-right:0}.agency_index .content .agency-info[data-v-20ddbbda]{padding-bottom:25px}.agency_index .content .agency-info .contentUl[data-v-20ddbbda]{width:100%;box-sizing:border-box}.agency_index .content .agency-info .contentUl .betClass[data-v-20ddbbda]{color:#4674f6!important;cursor:pointer}.agency_index .content .agency-info .contentUl li[data-v-20ddbbda]{float:left;width:142px;height:50px;margin-top:15px;text-align:center;border-bottom:1px solid #dbdbdb;line-height:12px;box-sizing:border-box}.agency_index .content .agency-info .contentUl li .liItem[data-v-20ddbbda]{display:inline-block;height:20px;width:100%;border-right:1px solid #dbdbdb;position:relative}.agency_index .content .agency-info .contentUl li .liItem p[data-v-20ddbbda]{line-height:28px}.agency_index .content .agency-info .contentUl li .liItem .itemName[data-v-20ddbbda]{margin-bottom:10px;font-size:16px;line-height:.5rem;font-family:MicrosoftYaHei;font-weight:400;color:#333}.agency_index .content .agency-info .contentUl li .liItem .itemVal[data-v-20ddbbda]{margin-top:-.2rem;font-size:16px;font-family:MicrosoftYaHei;font-weight:700;color:#ff9146}.agency_index .content .agency-info .contentUl li:nth-child(7n) .liItem[data-v-20ddbbda]{border-right:0}.footer-info[data-v-20ddbbda]{border-bottom:1px solid #dbdbdb;padding-bottom:25px;font-size:16px;text-align:right;padding:0 15px 25px}.switch[data-v-20ddbbda]{position:relative;display:inline-block;width:24px;height:12px}.switch input[data-v-20ddbbda]{display:none}.slider[data-v-20ddbbda]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s}.slider[data-v-20ddbbda]:before{position:absolute;content:\"\";height:10px;width:10px;left:2px;bottom:1px;background-color:#fff;transition:.4s}input:checked+.slider[data-v-20ddbbda]{background-color:#ff9146}input:focus+.slider[data-v-20ddbbda]{box-shadow:0 0 1px #ff9146}input:checked+.slider[data-v-20ddbbda]:before{transform:translateX(10px)}.slider.round[data-v-20ddbbda]{border-radius:34px}.slider.round[data-v-20ddbbda]:before{border-radius:50%}.transfer-info[data-v-20ddbbda]{margin-top:25px;padding:0 40px 0 15px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.transfer-info .select[data-v-20ddbbda]{width:170px;height:30px}.transfer-info .border[data-v-20ddbbda]{border-left:1px solid #dbdbdb;margin-left:40px}.transfer-info span[data-v-20ddbbda]{font-size:16px;margin-top:10px;margin-left:40px}.transfer-info img[data-v-20ddbbda]{width:20px;height:20px;margin-top:10px}.transfer-info .pic1[data-v-20ddbbda]{margin-left:20px;margin-right:40px}.transfer-info .pic2[data-v-20ddbbda]{margin-left:50px;margin-right:50px}.transfer-info .pic3[data-v-20ddbbda]{margin-left:20px;margin-right:40px}.toast[data-v-20ddbbda]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:18rem;height:6rem;line-height:30px;background:#f90;color:#fff;font-size:16px;font-weight:700;position:absolute;right:425px;top:30px;border-radius:15px;z-index:99;text-indent:1em}.dialog[data-v-20ddbbda]{width:280px;height:165px;position:absolute;top:50%;left:50%;margin-left:-140px;margin-top:-82.5px;z-index:201999}.dialog .top[data-v-20ddbbda]{padding-top:24px;height:125px;background:#fff;border-radius:8px 8px 0 0;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:start;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}.dialog .top .title[data-v-20ddbbda]{font-size:18px}.dialog .top .dialog-content[data-v-20ddbbda]{font-size:14px;margin-top:24px}.dialog .top img[data-v-20ddbbda]{display:block;width:42px;margin-bottom:20px}.dialog .top p[data-v-20ddbbda]{color:#000;font-weight:200}.dialog .btn[data-v-20ddbbda]{display:-ms-flexbox;display:flex;-ms-flex-pack:space-arround;justify-content:space-arround}.dialog .bottom[data-v-20ddbbda]:first-child{color:#000;border-radius:0 0 0 8px}.dialog .bottom[data-v-20ddbbda]:first-child,.dialog .bottom[data-v-20ddbbda]:last-child{border-top:1px solid #e9edf3;width:50%;height:40px;background:#fff;line-height:40px;font-size:16px;text-align:center;cursor:pointer}.dialog .bottom[data-v-20ddbbda]:last-child{border-left:1px solid #e9edf3;color:#ff9146;border-radius:0 0 8px 0}.transfer-area[data-v-20ddbbda]{margin-top:25px;text-align:center}.transfer-area .transfer-btn[data-v-20ddbbda]{border:none;width:200px;height:40px;background-image:linear-gradient(180deg,#ff3492,#ff1e4f);color:#fff;font-size:16px;border-radius:10px;margin-top:20px;text-align:center;line-height:40px;cursor:pointer;margin:0 auto}.kefu-info[data-v-20ddbbda]{cursor:pointer;margin-top:25px;text-align:center}.kefu-info span[data-v-20ddbbda]{color:#ff9146}.modal-content[data-v-20ddbbda]{position:absolute;z-index:9000;filter:blur(10px);top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.53);width:100%;height:100%}[data-v-20ddbbda] .ivu-select-dropdown-list{overflow:auto;height:300px}", ""]); // exports /***/ }), /***/ "oaQl": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("kw9s"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("e7de561e", content, true, {}); /***/ }), /***/ "ocCA": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".login-wrap[data-v-25933c56]{width:350px;margin:0 auto;padding-bottom:50px}.login-wrap .list-box .list[data-v-25933c56]{margin-bottom:25px;position:relative;font-size:16px;color:#333;height:46px;line-height:46px;box-sizing:border-box}.login-wrap .list-box .list input[data-v-25933c56]{width:290px;height:46px;border:1px solid #dbdbdb;border-radius:3px;color:#444;font-size:16px;text-indent:4px;outline:none;padding-left:15px;line-height:46px;box-sizing:border-box}.login-wrap .list-box .list.list3[data-v-25933c56]{padding-bottom:30px;margin-left:-16px}.login-wrap .list-box .list.list3 .yzm[data-v-25933c56]{display:inline-block;cursor:pointer;width:90px;height:30px;position:absolute;right:15px;top:8px}.login-wrap .list-box .err[data-v-25933c56]{width:296px;margin-left:52px;height:30px;line-height:30px;color:#f60;font-size:16px;border:1px solid #f60;background:#fdffef;border-radius:3px;padding:0 14px;margin-bottom:20px}.login-wrap .list-box .err i[data-v-25933c56]{margin-right:5px}.login-wrap .list-box .forget[data-v-25933c56]{font-size:16px;color:#999;zoom:1;overflow:hidden;padding-top:30px;text-align:center}.login-wrap .list-box .forget span:first-child label[data-v-25933c56]{text-decoration:underline;color:#ff6d0e;cursor:pointer}.login-wrap .list-box .submit[data-v-25933c56]{width:296px;height:45px;font-size:18px;text-align:center;line-height:45px;background:#ff0024;color:#fff;border-radius:5px;cursor:pointer;margin-left:52px}", ""]); // exports /***/ }), /***/ "odpD": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "body{overflow-x:hidden}body .vp-lottery-style{overflow-x:auto}", ""]); // exports /***/ }), /***/ "or9A": /***/ (function(module, exports, __webpack_require__) { var toIntegerOrInfinity = __webpack_require__("/gFw"); var max = Math.max; var min = Math.min; // Helper for a popular repeating case of the spec: // Let integer be ? ToInteger(index). // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). module.exports = function (index, length) { var integer = toIntegerOrInfinity(index); return integer < 0 ? max(integer + length, 0) : min(integer, length); }; /***/ }), /***/ "oukt": /***/ (function(module, exports, __webpack_require__) { var uncurryThis = __webpack_require__("CwQ2"); var isCallable = __webpack_require__("ELn+"); var store = __webpack_require__("AbUK"); var functionToString = uncurryThis(Function.toString); // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper if (!isCallable(store.inspectSource)) { store.inspectSource = function (it) { return functionToString(it); }; } module.exports = store.inspectSource; /***/ }), /***/ "p0rj": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".peronsals .binding .content .deposit-left .ivu-select{width:242px}.peronsals .binding .content .deposit-left .ivu-select .ivu-select-dropdown-list{height:265px}.peronsals .binding .content .deposit-left .adressSelect .ivu-select-dropdown-list{height:340px}.peronsals .binding .content .deposit-left .csSelect .ivu-select-dropdown-list{max-height:340px;height:auto}.peronsals .binding .content .deposit-left .mbSelect .ivu-select-dropdown-list{max-height:230px;height:auto}.bindingalipay .header{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:66px;font-weight:400;margin:0 14px;font-family:Microsoft YaHei}.bindingalipay .content .deposit-left{padding-top:6px;width:52%;position:relative}.bindingalipay .content .deposit-left .att{height:18px;margin:20px auto 0;font-size:15px;font-family:MicrosoftYaHei;color:#696969;text-align:center;line-height:18px}.bindingalipay .content .deposit-left .row{margin-top:20px}.bindingalipay .content .deposit-left .row .text{display:inline-block;width:144px;text-align:right;font-size:16px;font-family:Microsoft YaHei;vertical-align:middle;color:#696969}.bindingalipay .content .deposit-left .row input{width:275px;height:37px;background:#f9f9f9;border:1px solid #f5f5f5;font-size:16px;border-radius:10px;text-align:left;text-indent:.4em;padding-left:7px;color:#666}.bindingalipay .content .deposit-left .row input:not(.other){width:275px;height:38px;background:#f9f9f9}.bindingalipay .content .deposit-left .row input:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.bindingalipay .content .deposit-left .bar{height:50px;line-height:50px}.bindingalipay .content .deposit-left .bar label{display:inline-block;width:144px;text-align:right;font-size:15px;font-family:Microsoft YaHei}.bindingalipay .content .deposit-left .bar span{font-size:15px;font-family:Microsoft YaHei}.bindingalipay .content .deposit-left .bar span span{color:#f90;text-decoration:underline;font-family:Microsoft YaHei;cursor:pointer;font-size:15px;padding-left:5px;padding-left:-2px}.bindingalipay .content .deposit-left .submit{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin-top:28px;margin-left:150px;display:inline-block;cursor:pointer}.bindingalipay .content .deposit-left .submit.active{background:linear-gradient(180deg,#ccc,#eee)}.bindingalipay .content .deposit-left .submit.active:hover{cursor:not-allowed}.bindingalipay .content .deposit-left .max-bank{padding-left:20px;font-size:1.3em;display:block;font-size:15px;border-bottom:1px solid #f3f3f3;padding-bottom:20px;margin:1px 50px}.bindingalipay .content .deposit-left .toast{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:-93px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.bindingalipay .content .deposit-left .toast:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.bindingalipay .content .deposit-left .ivu-select{width:275px}.bindingalipay .content .deposit-alipay{width:48%;height:584px;background:#f2f2f2;border-radius:0 0 15px 0}.bindingalipay .content .deposit-alipay .bank{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.bindingalipay .content .deposit-alipay .bank .mask{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.bindingalipay .content .deposit-alipay .bank .mask img{margin-top:20px;margin-left:210px;width:140px;height:60px}.bindingalipay .content .deposit-alipay .bank .title{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bindingalipay .content .deposit-alipay .bank .title span{font-size:16px;color:#fff}.bindingalipay .content .deposit-alipay .bank .bank-kh{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.bindingalipay .content .deposit-alipay .bank .bank-kh span{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.bindingalipay .content .deposit-alipay .bank .bank-info{height:36px;line-height:36px}.bindingalipay .content .deposit-alipay .bank .bank-info span{display:inline-block;font-size:14px;color:#fff}.bindingalipay .content .deposit-alipay .ivu-carousel-dots-inside{bottom:-20px!important}", ""]); // exports /***/ }), /***/ "pW26": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("oMPp"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("4db98db6", content, true, {}); /***/ }), /***/ "pWbA": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".regCode[data-v-fd13e2c2]{width:220px!important}.swiper-content[data-v-fd13e2c2]{width:620px;height:100%;position:relative;margin:0 auto;padding:10px 0;opacity:hidden}.swiper-content .show-swiper[data-v-fd13e2c2]{width:620px;height:100%;top:0;left:0;padding-bottom:20px;opacity:hidden}.swiper-content .show-swiper .swiper-slide[data-v-fd13e2c2]{width:260px;transition:all .4s cubic-bezier(.4,0,.2,1);border-radius:10px;opacity:hidden;background:#000;box-shadow:0 15px 17px -10px #3e3c3c}.swiper-content .show-swiper .swiper-slide .swiper-item[data-v-fd13e2c2]{width:100%;border-radius:6px;color:#ff4500;font-size:24px}.swiper-content .show-swiper .swiper-slide .swiper-item img[data-v-fd13e2c2]{width:100%;border-radius:6px}.register[data-v-fd13e2c2]{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.3);z-index:1900}.register .popup[data-v-fd13e2c2]{width:745px;min-height:200px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:10px}.register .popup .headline[data-v-fd13e2c2]{height:120px;border-radius:10px 10px 0 0;background:url(\"/static/xpj83/img/home/reheader.png\") no-repeat;background-size:100% 100%}.register .popup .headline p[data-v-fd13e2c2]{font-size:24px;color:#fff;position:absolute;left:350px;top:30px}.register .popup .headline p[data-v-fd13e2c2]:nth-child(2){left:450px;top:70px}.register .popup .content[data-v-fd13e2c2]{background:#fff;padding:0 57px 26px 54px}.register .popup .content .regTitle[data-v-fd13e2c2]{color:#000;font-size:21px;margin-left:10px;padding-bottom:18px;border-bottom:1px solid #ebecef;width:400px}.register .popup .content .title_tab[data-v-fd13e2c2]{opacity:hidden}.register .popup .content .title_tab ul li[data-v-fd13e2c2]{float:left}.register .popup .content .title_tab ul li a[data-v-fd13e2c2]{display:block;height:40px;line-height:40px;color:#3c3c3c;font-size:16px;margin-left:10px;padding:0 20px}.register .popup .content .title_tab ul li .cur[data-v-fd13e2c2]{position:relative;color:#ffa200;font-weight:700}.register .popup .content .title_tab ul li .cur[data-v-fd13e2c2]:after{content:\"\";position:absolute;bottom:1px;left:0;width:100%;height:2px;background:#ffa200}.register .popup .content .title_tab .close1[data-v-fd13e2c2]{position:absolute;width:50px;height:40px;top:15px;right:0;background:rgba(0,0,0,.8);border-radius:20px 0 0 20px}.register .popup .content .title_tab .close1 a[data-v-fd13e2c2]{display:block;height:100%}.register .popup .content .title_tab .close1 .closeBox[data-v-fd13e2c2]{width:32px;height:32px;background:#fff;border-radius:50%;position:absolute;left:6px;top:4px}.register .popup .content .title_tab .close1 img[data-v-fd13e2c2]{width:18px;height:18px;position:absolute;left:13px;top:11px;transition:transform .3s ease-in-out}.register .popup .content .title_tab .close1 i[data-v-fd13e2c2]{display:inline-block;width:32px;height:32px;text-align:center;line-height:34px;font-size:18px;margin:4px;color:#0a9899;border-radius:50%;background:#fff;transition:transform .3s ease-in-out}.register .popup .content .title_tab .close1:hover img[data-v-fd13e2c2]{transform:rotate(90deg)}.register .popup .content .row[data-v-fd13e2c2]{clear:both;opacity:hidden;margin-top:15px}.register .popup .content .row label[data-v-fd13e2c2]{float:left;display:block;width:100px;height:40px;text-indent:10px;line-height:40px;padding-right:10px;font-size:16px;color:#000}.register .popup .content .row .group[data-v-fd13e2c2]{opacity:hidden;position:relative}.register .popup .content .row .group .eys_ico1[data-v-fd13e2c2]{width:20px;height:13px;position:absolute;right:22px;top:15px;cursor:pointer}.register .popup .content .row .group input[data-v-fd13e2c2]{width:308px;height:40px;box-sizing:border-box;padding:7px 14px 7px 15px;line-height:40px;border:1px solid #ebecef;border-radius:5px;background:#fff;font-size:14px;color:#0b0b0b}.register .popup .content .row .group input[data-v-fd13e2c2]:focus,.register .popup .content .row .group input[data-v-fd13e2c2]:hover{border:1px solid #ffa200;border-radius:5px;outline:none}.register .popup .content .row .group .yzm_reg[data-v-fd13e2c2]{float:right;margin-left:10px;cursor:pointer}.register .popup .content .row .group .yzm_reg img[data-v-fd13e2c2]{width:78px;height:40px}.register .popup .content .row p[data-v-fd13e2c2]{font-size:12px}.register .popup .content .smsInputBox input[data-v-fd13e2c2]:focus{border:1px solid #ffa200;border-radius:5px;outline:none}.register .popup .content .operate[data-v-fd13e2c2]{width:100%;margin:auto;text-align:center;margin-top:20px}.register .popup .content .operate .btn[data-v-fd13e2c2]{display:inline-block;width:250px;height:40px;color:#fff;background:#e80000;line-height:40px;text-align:center;font-size:18px;border:none;cursor:pointer;transition:background .1s ease-in-out;border-radius:3px}.register .popup .content .tip_info[data-v-fd13e2c2]{text-align:center;margin-top:20px}.register .popup .content .tip_info p[data-v-fd13e2c2]{font-size:12px;color:#666}.register .popup .logAside[data-v-fd13e2c2]{position:absolute;right:-38px;top:300px}.register .popup .logAside ul li[data-v-fd13e2c2]{width:285px;height:88px;padding-top:8px;padding-left:45px}.register .popup .logAside ul li span[data-v-fd13e2c2]{display:block;text-align:center;color:#9e3c15;font-size:17px;line-height:20px}.register .popup .logAside ul li[data-v-fd13e2c2]:first-child{background:url(\"/static/xpj83/img/tan2.png\") no-repeat;background-size:100% 100%}.register .popup .logAside ul li:first-child span[data-v-fd13e2c2]:last-child{font-size:14px}.register .popup .logAside ul li[data-v-fd13e2c2]:nth-child(2){background:url(\"/static/xpj83/img/tan1.png\") no-repeat;background-size:100% 100%}.register .popup .logAside ul li[data-v-fd13e2c2]:nth-child(3){background:url(\"/static/xpj83/img/tan3.png\") no-repeat;background-size:100% 100%}.register .popup .logAside ul li[data-v-fd13e2c2]:last-child{background:url(\"/static/xpj83/img/tan4.png\") no-repeat;background-size:100% 100%}input[data-v-fd13e2c2]:-webkit-autofill{-webkit-text-fill-color:#333!important;-webkit-box-shadow:0 0 0 1000px transparent inset!important;background-color:transparent!important;transition:background-color 50000s ease-in-out 0s!important}", ""]); // exports /***/ }), /***/ "pY9o": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".withdrawal-record[data-v-7f212b92]{border-bottom-right-radius:15px!important;overflow:hidden}.withdrawal-record .content .search[data-v-7f212b92]{height:64px;line-height:64px;padding:0 10px;padding:0 14px}.withdrawal-record .content .search .searchSpan[data-v-7f212b92]{display:inline-block;width:80px;height:36px;line-height:36px;text-align:center;font-size:1.6em;font-weight:200;color:#fff;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:5px;margin-left:18px;letter-spacing:5px;cursor:pointer}.withdrawal-record .content .page[data-v-7f212b92]{position:absolute;right:25px;bottom:20px}", ""]); // exports /***/ }), /***/ "pomV": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".vp-admin-wrap-close[data-v-5d2bdb82]{position:absolute;top:15px;right:0;cursor:pointer;width:60px;height:40px;background:#f2f2f2;border-bottom-left-radius:24px;border-top-left-radius:24px}.vp-admin-wrap-close[data-v-5d2bdb82]:hover{background:linear-gradient(180deg,#ff3492,#ff1e4f)}.vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-5d2bdb82]{position:relative;background:#fff;border-radius:50%;width:36px;height:36px;font-size:56px;left:2px;top:2px;transition:all .5s ease-in}.vp-admin-wrap-close .vp-admin-wrap-close-empty a[data-v-5d2bdb82]{position:absolute;top:6px;left:5px;width:25px;height:25px;display:inline-block;background:url(\"/static/public/image/common/vp-common-close.png\") #fff;background-size:98% 98%}.vp-admin-wrap-close .vp-admin-wrap-close-empty[data-v-5d2bdb82]:hover{transform:translateX(40%)}.line[data-v-5d2bdb82]{position:absolute;top:62px;left:30px;height:1px;background-color:#ebecef;width:690px}", ""]); // exports /***/ }), /***/ "pzgD": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("jI+G"); var getOwnPropertyDescriptor = __webpack_require__("jywo").f; var createNonEnumerableProperty = __webpack_require__("/hIk"); var defineBuiltIn = __webpack_require__("MKw7"); var defineGlobalProperty = __webpack_require__("NN4L"); var copyConstructorProperties = __webpack_require__("jGD3"); var isForced = __webpack_require__("cGQc"); /* options.target - name of the target object options.global - target is the global object options.stat - export as static methods of target options.proto - export as prototype methods of target options.real - real prototype method for the `pure` version options.forced - export even if the native feature is available options.bind - bind methods to the target, required for the `pure` version options.wrap - wrap constructors to preventing global pollution, required for the `pure` version options.unsafe - use the simple assignment of property instead of delete + defineProperty options.sham - add a flag to not completely full polyfills options.enumerable - export as enumerable property options.dontCallGetSet - prevent calling a getter on target options.name - the .name of the function if it does not match the key */ module.exports = function (options, source) { var TARGET = options.target; var GLOBAL = options.global; var STATIC = options.stat; var FORCED, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { target = global; } else if (STATIC) { target = global[TARGET] || defineGlobalProperty(TARGET, {}); } else { target = (global[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contained in target if (!FORCED && targetProperty !== undefined) { if (typeof sourceProperty == typeof targetProperty) continue; copyConstructorProperties(sourceProperty, targetProperty); } // add a flag to not completely full polyfills if (options.sham || (targetProperty && targetProperty.sham)) { createNonEnumerableProperty(sourceProperty, 'sham', true); } defineBuiltIn(target, key, sourceProperty, options); } }; /***/ }), /***/ "qIgz": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/static/public/image/usdt-pay.ed9a4ac.png"; /***/ }), /***/ "qOJP": /***/ (function(module, exports, __webpack_require__) { "use strict"; module.exports = { isString: function(arg) { return typeof(arg) === 'string'; }, isObject: function(arg) { return typeof(arg) === 'object' && arg !== null; }, isNull: function(arg) { return arg === null; }, isNullOrUndefined: function(arg) { return arg == null; } }; /***/ }), /***/ "qW/n": /***/ (function(module, exports, __webpack_require__) { __webpack_require__("GmIv"); __webpack_require__("haTd"); __webpack_require__("ADO0"); var path = __webpack_require__("32pD"); module.exports = path.WeakMap; /***/ }), /***/ "qtT6": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".cl[data-v-e32acc94]:after{content:\"\";display:block;clear:both}.noBorder[data-v-e32acc94]{border-right:0!important}.agency_index[data-v-e32acc94]{border-bottom-right-radius:15px!important;padding:0 14px}.agency_index .content .title[data-v-e32acc94]{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400;cursor:pointer}.agency_index .content .search[data-v-e32acc94]{height:64px;line-height:64px;padding:0 10px;-ms-flex-align:center;align-items:center}.agency_index .content .search .searchBtn[data-v-e32acc94]{width:80px;height:36px;border-radius:5px;background:linear-gradient(180deg,#ff3492,#ff1e4f);color:#fff;line-height:36px;text-align:center;display:inline-block;margin:0 20px;font-size:18px;cursor:pointer}.agency_index .content .search .searchInput[data-v-e32acc94]{width:240px;height:38px;font-size:14px;background:#fdfdfd;border:1px solid #f5f5f5;border-radius:5px;padding-left:8px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.agency_index .content .search .searchInput[data-v-e32acc94]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.agency_index .content .search .mathDiv[data-v-e32acc94]{position:relative;font-size:15px;float:right;color:#4674f6}.agency_index .content .search .mathDiv .explainDiv[data-v-e32acc94]{display:none;position:absolute;width:412px;height:109px;background:#fff;box-shadow:0 2px 9px 0 rgba(177,178,195,.58);border-radius:10px;top:50px;right:0;padding:13px 18px;z-index:3;cursor:pointer}.agency_index .content .search .mathDiv .explainDiv p[data-v-e32acc94]{line-height:28px;font-size:14px;font-family:MicrosoftYaHei;color:#666}.agency_index .content .search .mathDiv:hover .explainDiv[data-v-e32acc94]{display:block}.agency_index .content .search .mathDiv .explainPic[data-v-e32acc94]{cursor:pointer}.agency_index .content .agency-info[data-v-e32acc94]{margin-top:10px;padding-bottom:40px}.agency_index .content .agency-info .contentUl[data-v-e32acc94]{width:100%;box-sizing:border-box}.agency_index .content .agency-info .contentUl .betClass[data-v-e32acc94]{color:#4674f6!important;cursor:pointer}.agency_index .content .agency-info .contentUl li[data-v-e32acc94]{float:left;width:250px;height:122px;text-align:center;border-bottom:1px solid #dbdbdb;line-height:122px;box-sizing:border-box}.agency_index .content .agency-info .contentUl li .liItem[data-v-e32acc94]{display:inline-block;margin-top:33px;height:56px;width:100%;border-right:1px dashed #dbdbdb;position:relative}.agency_index .content .agency-info .contentUl li .liItem p[data-v-e32acc94]{line-height:28px}.agency_index .content .agency-info .contentUl li .liItem .itemName[data-v-e32acc94]{font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333}.agency_index .content .agency-info .contentUl li .liItem .itemVal[data-v-e32acc94]{font-size:14px;font-family:MicrosoftYaHei;font-weight:700;color:#ff9146}.agency_index .content .agency-info .contentUl li:nth-child(4n) .liItem[data-v-e32acc94]{border-right:0}.agency_index .content .betMoney[data-v-e32acc94]{text-align:center;position:absolute;right:187px;top:155px;width:380px;height:327px;background:#fff;box-shadow:0 2px 9px 0 rgba(177,178,195,.58);border-radius:10px;z-index:2}.agency_index .content .betMoney .itemTitle[data-v-e32acc94]{width:100%;line-height:57px;height:57px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333}.agency_index .content .betMoney .betUl[data-v-e32acc94]{width:312px;margin:0 34px;border-top:1px solid #e6eaef;border-left:1px solid #e6eaef;box-sizing:border-box}.agency_index .content .betMoney .betUl li[data-v-e32acc94]{width:312px;height:38px}.agency_index .content .betMoney .betUl li .basicDiv[data-v-e32acc94]{float:left;width:156px;height:38px;border-right:1px solid #e6eaef;border-bottom:1px solid #e6eaef;box-sizing:border-box;line-height:38px}.agency_index .content .betMoney .betUl li .typeDiv[data-v-e32acc94]{font-size:14px;font-family:MicrosoftYaHei-Bold;font-weight:700;color:#333}.agency_index .content .betMoney .betUl li .betCash[data-v-e32acc94],.agency_index .content .betMoney .betUl li .betTitle[data-v-e32acc94]{font-size:14px;font-family:MicrosoftYaHei;font-weight:400;color:#666}.agency_index .content .betMoney .betUl li[data-v-e32acc94]:hover{cursor:pointer;background-color:#f9f9f9}.agency_index .content .betMoney[data-v-e32acc94]:before{content:\"\";position:absolute;border-left:14px solid #fff;border-right:0;border-bottom:10px solid #00800000;border-top:10px solid #00800000;left:100%;top:24px}.agency_index .content .quantity[data-v-e32acc94]{padding:25px 0}.agency_index .content .quantity ul li[data-v-e32acc94]{float:left;width:25%;height:80px;cursor:pointer;padding-left:25px;margin-bottom:55px;position:relative}.agency_index .content .quantity ul li p[data-v-e32acc94]:first-child{font-size:16px;color:#999}.agency_index .content .quantity ul li p[data-v-e32acc94]:nth-child(2){font-size:20px;color:#333;margin-top:20px}.agency_index .content .quantity ul li div[data-v-e32acc94]{padding:15px;padding-left:30px}.agency_index .content .quantity ul li span[data-v-e32acc94]{display:inline-block;width:1px;height:60px;position:absolute;top:10px;right:1px;background-color:#e4e4e4}.agency_index .content .quantity ul li:nth-child(4) span[data-v-e32acc94],.agency_index .content .quantity ul li:nth-child(8) span[data-v-e32acc94]{width:0}.agency_index .content .quantity ul li.liSelect div[data-v-e32acc94]{width:176px;height:80px;border-radius:10px;background:#f5f5f5}.agency_index .content .quantity ul li.liSelect div p[data-v-e32acc94]:nth-child(2){color:#f60}.agency_index .content .explain[data-v-e32acc94]{width:474px;height:134px;background:#fefef2;line-height:25px;padding:40px 13px;box-sizing:border-box;position:absolute;bottom:25px}.agency_index .content .explain span[data-v-e32acc94]{color:#f60;font-size:14px}.agency_index .content .explain p[data-v-e32acc94]{color:#999;font-size:12px}", ""]); // exports /***/ }), /***/ "qzCN": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "@keyframes verifyBefore-data-v-e8319550{0%{background-image:url(\"/static/public/image/paycheck/1.png\")}11.11%{background-image:url(\"/static/public/image/paycheck/1.png\")}22.22%{background-image:url(\"/static/public/image/paycheck/2.png\")}33.33%{background-image:url(\"/static/public/image/paycheck/3.png\")}44.44%{background-image:url(\"/static/public/image/paycheck/4.png\")}55.55%{background-image:url(\"/static/public/image/paycheck/5.png\")}66.66%{background-image:url(\"/static/public/image/paycheck/6.png\")}77.77%{background-image:url(\"/static/public/image/paycheck/7.png\")}88.88%{background-image:url(\"/static/public/image/paycheck/8.png\")}to{background-image:url(\"/static/public/image/paycheck/9.png\")}}.newBox3.newBox4[data-v-e8319550]{width:100%;height:100%;background-color:rgba(0,0,0,.6);position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;z-index:10001;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.newBox3.newBox4 .checkBox1[data-v-e8319550]{width:352px;height:298px}.newBox3.newBox4 .checkBox1 p[data-v-e8319550]{padding-left:15px;height:51px;font-size:16px;color:#3a3b3d;line-height:51px;border-bottom:1px solid #e6e6e6}.newBox3.newBox4 .checkBox1 .close1[data-v-e8319550]{width:15px;height:21px;display:inline-block;position:absolute;top:14px;right:15px;cursor:pointer;overflow:hidden}.newBox3.newBox4 .checkBox1 .close1 img[data-v-e8319550]{position:absolute;top:-61px;width:39px}.newBox3[data-v-e8319550]{width:100%;height:100%;background-color:rgba(0,0,0,.6);position:fixed;left:0;top:0;right:0;bottom:0;margin:auto;z-index:10001;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.newBox3 .question[data-v-e8319550]{width:40px;height:40px;display:inline-block;position:absolute;top:21px;right:70px;cursor:pointer}.newBox3 .question img[data-v-e8319550]{width:40px;height:40px}.newBox3 .close[data-v-e8319550]{width:40px;height:40px;display:inline-block;position:absolute;top:21px;right:15px;cursor:pointer}.newBox3 .close img[data-v-e8319550]{width:40px;height:40px}.newBox3 .checkBox[data-v-e8319550]{position:relative;width:150px;height:170px;background:#fff;border-radius:10px}.newBox3 .checkBox div[data-v-e8319550]{position:absolute;top:46%;left:50%;transform:translate(-50%,-50%)}.newBox3 .checkBox .text[data-v-e8319550]{position:absolute;bottom:10px;left:38px;color:#000}.newBox3 .checkBox .verify_loading[data-v-e8319550]{width:112px;height:112px;background-size:100% 100%;background-repeat:no-repeat;animation:verifyBefore-data-v-e8319550 .8s linear .5s infinite alternate}.newBox3 .checkBox .move2[data-v-e8319550]{transition:all;animation:animateSub-data-v-e8319550 3s linear infinite}@keyframes animateSub-data-v-e8319550{0%{top:20px;box-shadow:none}to{top:110px;box-shadow:none}}.newBox3 .checkBox1[data-v-e8319550]{position:relative;width:684px;height:582px;background:#fff;border-radius:10px}.newBox3 .checkBox1 p[data-v-e8319550]{padding-left:15px;height:80px;font-size:30px;color:#3a3b3d;padding-left:30px;font-family:PingFang-SC-Medium;line-height:80px;border-bottom:1px solid #e6e6e6}.newBox3 .checkBox1 .move_box[data-v-e8319550]{height:42px;border:1px dashed #000;position:relative}.newBox3 .checkBox1 .move_box .move_btn[data-v-e8319550]{position:absolute;top:0;z-index:3}", ""]); // exports /***/ }), /***/ "r+Lw": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".bounce-enter-active{animation:bounce-in 0s}.bounce-leave-to{animation:bounce-in 1s reverse!important}.bounce-leave-active{animation:bounce-in 1s reverse}.bounce-leave-active.filter{background-color:transparent!important}@keyframes scaleDraw{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes openRed{20%{transform:translate(-50%,-50%) scale(1.4,.4)}40%{transform:translate(-50%,-50%) scaleY(1.2);transform-origin:bottom}70%{transform:translate(-50%,-50%) scaleY(.9);transform-origin:bottom}to{transform:translate(-50%,-50%) scale(1)}}@keyframes roatejb{10%{transform:translateY(4px) rotateX(72deg)}20%{transform:translateY(8px) rotateX(144deg)}30%{transform:translateY(12px) rotateX(216deg)}40%{transform:translateY(16px) rotateX(288deg)}50%{transform:translateY(20px) rotateX(1turn)}60%{transform:translateY(24px) rotateX(432deg)}70%{transform:translateY(28px) rotateX(504deg)}80%{transform:translateY(32px) rotateX(576deg)}90%{transform:translateY(36px) rotateX(648deg);opacity:.5}to{transform:translateY(40px) rotateX(2turn);opacity:0}}@keyframes rotezb1{0%{transform:translateY(0) rotateY(0deg)}10%{transform:translateY(20px) rotateY(-80deg)}20%{transform:translateY(40px) rotateY(-10deg)}30%{transform:translateY(60px) rotateY(70deg)}40%{transform:translateY(80px) rotateY(-8deg)}50%{transform:translateY(100px) rotateY(-70deg)}60%{transform:translateY(120px) rotateY(3deg)}70%{transform:translateY(140px) rotateY(60deg)}80%{transform:translateY(160px) rotateY(-6deg)}90%{transform:translateY(180px) rotateY(-50deg);opacity:.5}to{transform:translateY(200px) rotateY(0deg);opacity:0}}", ""]); // exports /***/ }), /***/ "rccI": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".noBorder{border-right:0!important}.mySearch /deep/ .ivu-input-icon{font-size:20px;top:2px}/deep/ .ivu-input-icon{cursor:pointer}.agency_repot{border-bottom-right-radius:15px!important;overflow:hidden}.agency_repot .title{margin:0 14px;height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400;cursor:pointer}.agency_repot .title p{display:inline-block}.agency_repot .search{height:66px;padding:0 14px;line-height:66px}.agency_repot .repot .page{position:absolute;right:20px;bottom:35px}.agency_repot .member{border-bottom-right-radius:15px!important;overflow:hidden}.agency_repot .member .search{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.agency_repot .member .search .searchBtn{width:80px;height:36px;border-radius:5px;background:linear-gradient(180deg,#ff3492,#ff1e4f);color:#fff;line-height:36px;text-align:center;display:inline-block;margin:0 20px;font-size:18px;cursor:pointer}.agency_repot .member .search .searchInput{width:240px;height:38px;font-size:14px;background:#fdfdfd;border:1px solid #f5f5f5;border-radius:5px;padding-left:8px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.agency_repot .member .search .searchInput:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.agency_repot .member .search .mathDiv{position:relative;font-size:15px;margin-left:436px;color:#4674f6}.agency_repot .member .search .mathDiv .explainDiv{display:none;position:absolute;width:412px;background:#fff;box-shadow:0 2px 9px 0 rgba(177,178,195,.58);border-radius:10px;top:50px;right:0;padding:13px 18px;z-index:3;cursor:pointer}.agency_repot .member .search .mathDiv .explainDiv p{line-height:28px;font-size:14px;font-family:MicrosoftYaHei;color:#666;border-bottom:1px solid #eee}.agency_repot .member .search .mathDiv .explainDiv p span{color:#333}.agency_repot .member .search .mathDiv .explainDiv p:last-child{border:none}.agency_repot .member .search .mathDiv:hover .explainDiv{display:block}.agency_repot .member .search .mathDiv .explainPic{cursor:pointer}.agency_repot .member .search .searchBox{display:inline-block;width:234px;height:36px;border:1px solid #dbdbdb;border-radius:5px}.agency_repot .member .agency-info{margin-top:10px;padding-bottom:40px;border-bottom-right-radius:15px!important;overflow:hidden}.agency_repot .member .agency-info .contentUl{width:100%;box-sizing:border-box}.agency_repot .member .agency-info .contentUl .betClass{color:#4674f6!important;cursor:pointer}.agency_repot .member .agency-info .contentUl li{float:left;width:250px;height:122px;text-align:center;border-bottom:1px solid #dbdbdb;line-height:122px;box-sizing:border-box}.agency_repot .member .agency-info .contentUl li .liItem{display:inline-block;margin-top:33px;height:56px;width:100%;border-right:1px dashed #dbdbdb;position:relative}.agency_repot .member .agency-info .contentUl li .liItem p{line-height:28px}.agency_repot .member .agency-info .contentUl li .liItem .itemName{font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333}.agency_repot .member .agency-info .contentUl li .liItem .itemVal{font-size:14px;font-family:MicrosoftYaHei;font-weight:700;color:#ff9146}.agency_repot .member .agency-info .contentUl li:nth-child(4n) .liItem{border-right:0}.agency_repot .member .agency-info .contentUl_member{width:100%;box-sizing:border-box}.agency_repot .member .agency-info .contentUl_member .betClass{color:#4674f6!important;cursor:pointer}.agency_repot .member .agency-info .contentUl_member li{float:left;width:250px;height:122px;text-align:center;border-bottom:1px solid #dbdbdb;line-height:122px;box-sizing:border-box}.agency_repot .member .agency-info .contentUl_member li .liItem{display:inline-block;margin-top:33px;height:56px;width:100%;border-right:1px dashed #dbdbdb;position:relative}.agency_repot .member .agency-info .contentUl_member li .liItem p{line-height:28px}.agency_repot .member .agency-info .contentUl_member li .liItem .itemName{font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333}.agency_repot .member .agency-info .contentUl_member li .liItem .itemVal{font-size:14px;font-family:MicrosoftYaHei;font-weight:700;color:#ff9146}.agency_repot .member .agency-info .contentUl_member li:nth-child(4n) .liItem{border-right:0}.agency_repot .member .betMoney{text-align:center;position:absolute;right:109px;top:83px;width:532px;height:327px;background:#fff;box-shadow:0 2px 9px 0 rgba(177,178,195,.58);border-radius:4px;z-index:4}.agency_repot .member .betMoney .itemTitle{width:100%;line-height:57px;height:57px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333}.agency_repot .member .betMoney .betUl{width:468px;margin:0 34px;border-top:1px solid #e6eaef;border-left:1px solid #e6eaef;box-sizing:border-box}.agency_repot .member .betMoney .betUl li{width:468px;height:38px}.agency_repot .member .betMoney .betUl li .basicDiv{float:left;width:156px;height:38px;border-right:1px solid #e6eaef;border-bottom:1px solid #e6eaef;box-sizing:border-box;line-height:38px}.agency_repot .member .betMoney .betUl li .typeDiv{font-size:14px;font-family:MicrosoftYaHei-Bold;font-weight:700;color:#333}.agency_repot .member .betMoney .betUl li .betCash,.agency_repot .member .betMoney .betUl li .betNum,.agency_repot .member .betMoney .betUl li .betTitle{font-size:14px;font-family:MicrosoftYaHei;font-weight:400;color:#666}.agency_repot .member .betMoney .betUl li:hover{cursor:pointer;background-color:#f9f9f9}.agency_repot .member .betMoney:after{content:\"\";border-top:12px solid #fff;border-left:10px solid #00800000;border-right:10px solid #00800000;border-bottom:0 solid #00800000;position:absolute;left:45%;top:100%}.agency_repot .member .betMoney_member{text-align:center;position:absolute;right:366px;top:243px;width:380px;height:327px;background:#fff;box-shadow:0 2px 9px 0 rgba(177,178,195,.58);border-radius:4px;z-index:2}.agency_repot .member .betMoney_member .itemTitle{width:100%;line-height:57px;height:57px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333}.agency_repot .member .betMoney_member .betUl{width:312px;margin:0 34px;border-top:1px solid #e6eaef;border-left:1px solid #e6eaef;box-sizing:border-box}.agency_repot .member .betMoney_member .betUl li{width:312px;height:38px}.agency_repot .member .betMoney_member .betUl li .basicDiv{float:left;width:156px;height:38px;border-right:1px solid #e6eaef;border-bottom:1px solid #e6eaef;box-sizing:border-box;line-height:38px}.agency_repot .member .betMoney_member .betUl li .typeDiv{font-size:14px;font-family:MicrosoftYaHei-Bold;font-weight:700;color:#333}.agency_repot .member .betMoney_member .betUl li .betCash,.agency_repot .member .betMoney_member .betUl li .betTitle{font-size:14px;font-family:MicrosoftYaHei;font-weight:400;color:#666}.agency_repot .member .betMoney_member .betUl li:hover{cursor:pointer;background-color:#f9f9f9}.agency_repot .member .betMoney_member:before{content:\"\";border-bottom:14px solid #fff;border-left:10px solid #00800000;border-right:10px solid #00800000;border-top:0 solid #00800000;position:absolute;left:88%;top:-13px}.agency_repot .member .quantity{padding:25px 0;border-bottom-right-radius:15px!important;overflow:hidden}.agency_repot .member .quantity ul li{float:left;width:25%;height:80px;cursor:pointer;padding-left:25px;margin-bottom:55px;position:relative}.agency_repot .member .quantity ul li p:first-child{font-size:16px;color:#999}.agency_repot .member .quantity ul li p:nth-child(2){font-size:20px;color:#333;margin-top:20px}.agency_repot .member .quantity ul li div{padding:15px;padding-left:30px}.agency_repot .member .quantity ul li span{display:inline-block;width:1px;height:60px;position:absolute;top:10px;right:1px;background-color:#e4e4e4}.agency_repot .member .quantity ul li:nth-child(4) span,.agency_repot .member .quantity ul li:nth-child(8) span{width:0}.agency_repot .member .quantity ul li.liSelect div{width:176px;height:80px;border-radius:10px;background:#f5f5f5}.agency_repot .member .quantity ul li.liSelect div p:nth-child(2){color:#f60}.agency_repot .member .explain{width:474px;height:134px;background:#fefef2;line-height:25px;padding:40px 13px;box-sizing:border-box;position:absolute;bottom:25px;margin-left:10px}.agency_repot .member .explain span{color:#f60;font-size:14px}.agency_repot .member .explain p{color:#999;font-size:12px}", ""]); // exports /***/ }), /***/ "rofN": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); var events_namespaceObject = {}; __webpack_require__.d(events_namespaceObject, "keyboardHandler", function() { return keyboardHandler; }); __webpack_require__.d(events_namespaceObject, "mouseHandler", function() { return mouseHandler; }); __webpack_require__.d(events_namespaceObject, "resizeHandler", function() { return resizeHandler; }); __webpack_require__.d(events_namespaceObject, "selectHandler", function() { return selectHandler; }); __webpack_require__.d(events_namespaceObject, "touchHandler", function() { return touchHandler; }); __webpack_require__.d(events_namespaceObject, "wheelHandler", function() { return wheelHandler; }); // EXTERNAL MODULE: ./node_modules/babel-runtime/regenerator/index.js var regenerator = __webpack_require__("Xxa5"); var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator); // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/asyncToGenerator.js var asyncToGenerator = __webpack_require__("exGp"); var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/test1Dialog.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var test1Dialog = ({ props: { dialogPar: { type: Object } }, data: function data() { return { title: "", activeI: 0, change: false, popoutObj: { client_type: "PC" }, popups: [], imgsrc: [], showPopout: false, description: "text" }; }, mounted: function mounted() {}, created: function created() { if (this.$route.path == "/home") { if (!localStorage.register) { this.getPopout1(); // because signup form should not display with this modal at the same time } } else { if (this.$store.state.mainState.newShowDialog) { this.getPopout1(); this.$store.commit("mainState/newShowDialog", false); } } }, methods: { activeTab: function activeTab(text, index) { this.title = text; this.activeI = index; }, closeNotice: function closeNotice() { this.showPopout = false; }, getPosition: function getPosition() { var appears_location = ""; var bounce_location = ""; var fullPath = this.$router.currentRoute.path; // 是å¦é¦–页 if (fullPath == "/home") { this.popoutObj.appears_location = 1; } else if (fullPath.includes("/home/slot") || fullPath.includes("/home/fish") || fullPath.includes("/home/tiyu") || fullPath.includes("/home/chess") || fullPath.includes("/home/live")) { this.popoutObj.appears_location = 2; } else { // éžæ¸¸æˆé¡µé¢å’Œé¦–页 this.popoutObj.appears_location = 3; } // 是å¦ç™»å½• if (localStorage.token) { // å˜åœ¨è¡¨ç¤ºç™»å½•åŽ this.popoutObj.bounce_location = 2; } else { // ç™»å½•å‰ this.popoutObj.bounce_location = 1; } }, getPopout1: function getPopout1() { var _this = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var res, data, textArr, imgArr, i; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _this.getPosition(); if (!(_this.popoutObj.appears_location == 3)) { _context.next = 3; break; } return _context.abrupt("return", false); case 3: _context.next = 5; return _this.$http.post(_this.$HOST_NAME + "/site/newNotice", { type: "popups", client_type: _this.popoutObj.client_type, appears_location: _this.popoutObj.appears_location, bounce_location: _this.popoutObj.bounce_location, limit: 1000 }); case 5: res = _context.sent; if (!(res && res.code == 200)) { _context.next = 10; break; } if (res.data.data.length) { // 对数æ®è¿›è¡Œå¤„ç† if (res.data.data[0]) { data = res.data.data; _this.imgsrc = []; _this.popups = []; textArr = {}; imgArr = {}; for (i = 0; i < data.length; i++) { textArr = { text: data[i].title }; _this.popups.push(textArr); if (data[i].pc_pic) { imgArr = { img: data[i].pc_pic }; _this.imgsrc.push(imgArr); } else { imgArr = { description: data[i].description }; _this.imgsrc.push(imgArr); } } // this.imgsrc.reverse(); // this.popups.reverse(); } _this.activeTab(_this.popups[0].text, 0); _this.$store.commit("mainState/resetPour", true); _this.showPopout = true; } _context.next = 11; break; case 10: return _context.abrupt("return", false); case 11: case "end": return _context.stop(); } } }, _callee, _this); }))(); } }, computed: {}, watch: { $route: function $route(nVal, oVal) { if (["/home/live", "/home/chess", "/home/tiyu", "/home/fish", "/home/slot"].includes(nVal.path)) { if (this.$store.state.mainState.newShowDialog) { this.getPopout1(); this.$store.commit("mainState/newShowDialog", false); } } }, activeI: function activeI(val) { var _this2 = this; this.change = true; setTimeout(function () { _this2.change = false; }, 100); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-f336ba58","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/test1Dialog.vue var test1Dialog_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showPopout)?_c('div',{staticClass:"test1Dialog"},[_c('div',{class:[ 'dialogContent', _vm.dialogPar.activeName == 'betActive' ? 'betDialog' : _vm.$websiteName == 'jsyl' ? 'jsylDialog' : '' ],style:({ 'border-top': _vm.dialogPar.borderTop })},[_c('div',{staticClass:"listHead",style:({ 'background-color': _vm.dialogPar.headBg })},[_c('span',{style:({ color: _vm.dialogPar.headColor })},[_vm._v("å¹³å°å…¬å‘Š")]),_vm._v(" "),(_vm.dialogPar.hoverName == 'hoverName1')?_c('span',[_c('i',{on:{"click":_vm.closeNotice}})]):(_vm.dialogPar.hoverName == 'hoverName7')?_c('span',[_c('i',{class:['amhgSpan', (_vm.$websiteName + "Span")],on:{"click":_vm.closeNotice}})]):_c('span',[_c('em',{on:{"click":_vm.closeNotice}})])]),_vm._v(" "),_c('div',{staticClass:"listContainer",style:({ 'border-top': _vm.dialogPar.bandBorder })},[_c('div',[_c('ul',_vm._l((_vm.popups),function(item,index){return _c('li',{key:index,on:{"click":function($event){return _vm.activeTab(item.text, index)}}},[_c('a',{class:[ index == _vm.activeI ? _vm.dialogPar.activeName : '', _vm.dialogPar.hoverName, _vm.$websiteName ],style:({ 'border-left': _vm.dialogPar.borderLeft }),attrs:{"href":"#"}},[_c('i',{staticClass:"listIcon"}),_vm._v(_vm._s(item.text))])])}),0)]),_vm._v(" "),_c('div',{class:[_vm.change ? '' : '', 'contentBox']},[_c('div',{staticClass:"picTitle",style:({ color: _vm.dialogPar.titleColor })},[_vm._v("\n "+_vm._s(_vm.title)+"\n ")]),_vm._v(" "),_c('ul',_vm._l((_vm.imgsrc),function(item,index){return (_vm.activeI == index)?_c('li',{key:index},[(item.img)?_c('img',{attrs:{"src":item.img}}):_vm._e(),_vm._v(" "),(item.description)?_c('p',{domProps:{"innerHTML":_vm._s(item.description)}}):_vm._e()]):_vm._e()}),0)])])])]):_vm._e()} var staticRenderFns = [] var esExports = { render: test1Dialog_render, staticRenderFns: staticRenderFns } /* harmony default export */ var home_test1Dialog = (esExports); // CONCATENATED MODULE: ./src/pages/public/home/test1Dialog.vue function injectStyle (ssrContext) { __webpack_require__("AH3+") } var normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = "data-v-f336ba58" /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( test1Dialog, home_test1Dialog, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) /* harmony default export */ var public_home_test1Dialog = (Component.exports); // EXTERNAL MODULE: ./src/service/public/UserService.js var UserService = __webpack_require__("xzxg"); // EXTERNAL MODULE: ./src/service/public/service.js var public_service = __webpack_require__("LjVS"); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/attentionModel.vue // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var attentionModel = ({ props: { parmas: { type: Object } }, data: function data() { return { popoutObj: { client_type: "PC" }, inputList: [{ val: "" }, { val: "" }, { val: "" }, { val: "" }, { val: "" }, { val: "" }] }; }, methods: { /*对焦到下一个input框去*/ nextFocus: function nextFocus(el, index) { var dom = document.getElementsByClassName("border-input"), currInput = dom[index], nextInput = dom[index + 1], lastInput = dom[index - 1]; /*这里的keyCode æ ¹æ®ä¸åŒçš„å¹³å°æˆ–许ä¸åŒ,安å“就是ä¸æ˜¯8*/ if (el.keyCode != 8 && el.path[0].value) { if (index < this.inputList.length - 1) { nextInput.focus(); } } else { if (index != 0) { lastInput.focus(); } } }, // æäº¤éªŒè¯ submitAttention: function submitAttention() { var _this = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var pwd, res; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: pwd = ''; _this.inputList.forEach(function (v) { if (v.val) { pwd += v.val + ''; } }); if (!(pwd.length !== 6)) { _context.next = 5; break; } _this.$errorAlert('请输入6ä½æ•°å—资金密ç ', "warn"); return _context.abrupt("return", false); case 5: if (_this.dInvalidMoney(pwd)) { _context.next = 9; break; } _this.$errorAlert('请输入6ä½æ•°å—资金密ç ', "warn"); _this.inputList.forEach(function (v) { v.val = ''; }); return _context.abrupt("return", false); case 9: _context.next = 11; return Object(public_service["c" /* postS */])("validatePayPassword", { pay_password: pwd }); case 11: res = _context.sent; if (res.code === 200) { _this.$store.commit('alert/changeAttention', false); _this.$store.commit('mainState/loginOrout', true); localStorage.removeItem('isDiffPlace'); } else { _this.$errorAlert(res.message, "warn"); _this.inputList.forEach(function (v) { v.val = ''; }); } case 13: case "end": return _context.stop(); } } }, _callee, _this); }))(); }, hideAttention: function hideAttention() { if (localStorage.token) { this.logout(); this.$store.commit('alert/changeAttention', false); } else { this.$store.commit('alert/changeAttention', false); } }, logout: function logout() { UserService["a" /* default */].logout.call(this); }, getFocus: function getFocus() { var dom = document.getElementsByClassName("border-input"); dom[0].focus(); } }, created: function created() {}, mounted: function mounted() { // this.getFocus() }, //是å¦å±•ç¤ºå…¬å‘Šåˆ—表 computed: { showAlert: function showAlert() { return this.$store.state.alert.showAttention; } }, watch: { showAlert: function showAlert(newVal, oldVal) { if (newVal == true) { setTimeout(function () { var dom = document.getElementsByClassName("border-input"); dom[0].focus(); }, 1000); } } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-14b4d192","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/attentionModel.vue var attentionModel_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showAlert)?_c('div',{staticClass:"newBox1"},[_c('div',{staticClass:"pop-img",style:({backgroundImage: 'url(' + _vm.parmas.coverImgUrl + ')', backgroundSize:'contain',backgroundRepeat: 'no-repeat'})},[_c('div',{staticClass:"top_img"}),_vm._v(" "),_c('div',{ref:"searchBar",attrs:{"id":"show_box"}},[_c('p',{staticClass:"noticeText"},[_vm._v("当å‰è´¦å·å¼‚地登录,为了您账户资金安全请您输入资金密ç 验è¯èº«ä»½")]),_vm._v(" "),_c('div',{staticClass:"pwdNumber"},_vm._l((_vm.inputList),function(item,index){return _c('div',{key:index},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(item.val),expression:"item.val"}],staticClass:"border-input",attrs:{"type":"password","maxlength":"1"},domProps:{"value":(item.val)},on:{"keyup":function($event){return _vm.nextFocus($event,index)},"input":function($event){if($event.target.composing){ return; }_vm.$set(item, "val", $event.target.value)}}})])}),0),_vm._v(" "),_c('button',{staticClass:"confirmBtn",style:({backgroundColor:_vm.parmas.btnColor}),on:{"click":_vm.submitAttention}},[_vm._v("验è¯ç™»å…¥")])]),_vm._v(" "),_c('div',{class:['close'],on:{"click":_vm.hideAttention}},[_c('img',{attrs:{"src":'/static/public/image/modal_top/'+_vm.parmas.closeImg +'.png',"alt":""}})])])]):_vm._e()])} var attentionModel_staticRenderFns = [] var attentionModel_esExports = { render: attentionModel_render, staticRenderFns: attentionModel_staticRenderFns } /* harmony default export */ var home_attentionModel = (attentionModel_esExports); // CONCATENATED MODULE: ./src/pages/public/home/attentionModel.vue function attentionModel_injectStyle (ssrContext) { __webpack_require__("9TIp") } var attentionModel_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var attentionModel___vue_template_functional__ = false /* styles */ var attentionModel___vue_styles__ = attentionModel_injectStyle /* scopeId */ var attentionModel___vue_scopeId__ = "data-v-14b4d192" /* moduleIdentifier (server only) */ var attentionModel___vue_module_identifier__ = null var attentionModel_Component = attentionModel_normalizeComponent( attentionModel, home_attentionModel, attentionModel___vue_template_functional__, attentionModel___vue_styles__, attentionModel___vue_scopeId__, attentionModel___vue_module_identifier__ ) /* harmony default export */ var public_home_attentionModel = (attentionModel_Component.exports); // EXTERNAL MODULE: ./src/pages/public/home/safeCheck.vue + 11 modules var safeCheck = __webpack_require__("El0w"); // EXTERNAL MODULE: ./node_modules/babel-runtime/core-js/json/stringify.js var stringify = __webpack_require__("mvHQ"); var stringify_default = /*#__PURE__*/__webpack_require__.n(stringify); // EXTERNAL MODULE: ./node_modules/babel-runtime/core-js/object/values.js var values = __webpack_require__("gRE1"); var values_default = /*#__PURE__*/__webpack_require__.n(values); // EXTERNAL MODULE: ./node_modules/babel-runtime/core-js/object/keys.js var object_keys = __webpack_require__("fZjL"); var keys_default = /*#__PURE__*/__webpack_require__.n(object_keys); // EXTERNAL MODULE: ./src/vuex/store.js + 17 modules var store = __webpack_require__("YtJ0"); // EXTERNAL MODULE: ./src/pages/public/user/login.js var user_login = __webpack_require__("7tFu"); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/tradition/components/admin/login.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var admin_login = ({ mixins: [user_login["a" /* default */]], props: { clean: { type: Boolean } }, data: function data() { return {}; }, methods: { // é‡ç½® reset: function reset() { this.passKey.userName = ''; this.passKey.password = ''; this.passKey.code = ''; this.$emit('child-say'); this.cleanvalue(); }, // æ‰“å¼€æ³¨å†Œç•Œé¢ register: function register() { this.$store.commit('alert/setChooseModel', '注册账å·'); this.$store.commit('alert/setLoginTitle', '注册账å·'); }, // æ¸…ç©ºä¿¡æ¯ cleanvalue: function cleanvalue() { var _this = this; this.agent = this.GetQueryString('agent') || this.GetQueryString('k'); var registerPc = JSON.parse(localStorage.getItem('config')).register.pc; var registermodel = JSON.parse(localStorage.getItem('config')).site_model; if (registermodel == 'invite_code') { this.iscode = true; } else { this.iscode = false; } registerPc.forEach(function (v, i) { _this.register[i] = {}; switch (v) { case 'phone': _this.register[i].placeholder = '请输入手机å·'; _this.register[i].value = ''; _this.register[i].key = v; _this.register[i].name = '手机å·'; break; case 'email': _this.register[i].placeholder = '请输入邮箱地å€'; _this.register[i].value = ''; _this.register[i].key = v; _this.register[i].name = '邮箱'; break; case 'wechat': _this.register[i].placeholder = '请输入微信å·'; _this.register[i].value = ''; _this.register[i].key = v; _this.register[i].name = '微信'; break; case 'realName': _this.register[i].placeholder = '请输入真实姓å'; _this.register[i].value = ''; _this.register[i].key = v; _this.register[i].name = '真实姓å'; break; case 'payPassword': _this.register[i].placeholder = '请输入支付密ç '; _this.register[i].value = ''; _this.register[i].key = v; _this.register[i].name = '支付密ç '; break; } }); } }, created: function created() {}, watch: { clean: function clean() { if (this.clean) { this.reset(); } } }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-25933c56","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/tradition/components/admin/login.vue var login_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"login-wrap"},[_c('div',{staticClass:"list-box"},[_c('div',{staticClass:"list"},[_vm._v("\n è´¦å·ï¼š\n "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.userName),expression:"passKey.userName"}],attrs:{"placeholder":"è´¦å·(6-20ä½æ•°å—或å—æ¯)","type":"text","maxlength":"20"},domProps:{"value":(_vm.passKey.userName)},on:{"keydown":function($event){_vm.pulicError=''},"blur":_vm.getCode,"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "userName", $event.target.value)}}})]),_vm._v(" "),_c('div',{staticClass:"list"},[_vm._v("\n 密ç :\n "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.password),expression:"passKey.password"}],attrs:{"placeholder":"密ç (6-20ä½æ•°å—或å—æ¯)","type":"password","maxlength":"20"},domProps:{"value":(_vm.passKey.password)},on:{"keydown":function($event){_vm.pulicError=''},"keyup":[_vm.clearNull,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.login.apply(null, arguments)}],"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "password", $event.target.value)}}})]),_vm._v(" "),(_vm.code_show)?_c('div',{staticClass:"list list3"},[_vm._v("\n 验è¯ç :\n "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.code),expression:"passKey.code"}],attrs:{"placeholder":"请输入验è¯ç ","type":"text","maxlength":"4"},domProps:{"value":(_vm.passKey.code)},on:{"keydown":function($event){_vm.pulicError=''},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.login.apply(null, arguments)},"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "code", $event.target.value)}}}),_vm._v(" "),_c('img',{staticClass:"yzm",attrs:{"src":_vm.codeImg,"alt":""},on:{"click":_vm.getCode}})]):_vm._e(),_vm._v(" "),(_vm.pulicError)?_c('div',{staticClass:"err"},[_c('i',{staticClass:"iconfont icon-baojing"}),_vm._v(" "),_c('span',{ref:"pulicError"},[_vm._v(_vm._s(_vm.pulicError))])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"submit",on:{"click":_vm.login}},[_vm._v("\n ç«‹å³ç™»å½•\n ")]),_vm._v(" "),_c('div',{staticClass:"forget"},[_c('span',[_vm._v("没有账å·ï¼Ÿ"),_c('label',{on:{"click":_vm.register}},[_vm._v("ç«‹å³æ³¨å†Œ")])])])])])} var login_staticRenderFns = [] var login_esExports = { render: login_render, staticRenderFns: login_staticRenderFns } /* harmony default export */ var components_admin_login = (login_esExports); // CONCATENATED MODULE: ./src/pages/public/tradition/components/admin/login.vue function login_injectStyle (ssrContext) { __webpack_require__("JLJZ") } var login_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var login___vue_template_functional__ = false /* styles */ var login___vue_styles__ = login_injectStyle /* scopeId */ var login___vue_scopeId__ = "data-v-25933c56" /* moduleIdentifier (server only) */ var login___vue_module_identifier__ = null var login_Component = login_normalizeComponent( admin_login, components_admin_login, login___vue_template_functional__, login___vue_styles__, login___vue_scopeId__, login___vue_module_identifier__ ) /* harmony default export */ var tradition_components_admin_login = (login_Component.exports); // EXTERNAL MODULE: ./src/pages/public/user/register_copy.js var register_copy = __webpack_require__("ySO2"); // EXTERNAL MODULE: ./src/pages/public/home/smsInput.vue + 2 modules var smsInput = __webpack_require__("R23n"); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/tradition/components/admin/register.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // import data from '../../../user/register'; /* harmony default export */ var register = ({ mixins: [register_copy["a" /* default */]], props: { clean: { type: Boolean }, qxcp: { type: String } }, data: function data() { return { smsInputBox: { marginBottom: '25px' }, smsCodeWrapper: { paddingBottom: '25px', position: 'relative', fontSize: '16px', color: '#333', textAlign: 'center', height: '46px', display: 'flex', alignItems: 'center' }, star: { display: 'none' }, curLabel: { width: '100px', height: '25px', lineHeight: '25px', color: '#333', fontSize: '16px', textAlign: 'right', display: 'inline-block', transform: 'translateX(-15px)' }, inputBox: { width: '160px', height: '46px', border: '1px solid #dbdbdb', borderRadius: '3px', color: '#000', fontSize: '16px', textIndent: '6px', outline: 'none', transform: 'translateX(-15px)', padding: '0 15px' }, qxcpInput: { width: '160px', height: '46px', border: '1px solid #dbdbdb', borderRadius: '3px', color: '#000', fontSize: '16px', textIndent: '6px', outline: 'none', transform: 'translateX(-8px)', padding: '0 15px' }, msgVerifyBox: { width: '196px', position: 'absolute', top: '0', right: '-80px', marginLeft: '2px', display: 'flex', justifyContent: 'flex-start' }, btnStyle: { display: 'inline-block', height: '46px', lineHeight: '46px', fontSize: '16px', borderRadius: '3px', padding: '0 17px', color: '#727272' }, beforeSend: { color: '#fff', background: '#70c3ea' }, reSend: { color: '#fff', background: '#e9c17a', marginLeft: '-10px' }, msgTip: { margin: '8px 0 0 86px', color: '#333', fontSize: '12px', height: '20px', lineHeight: '20px' } }; }, methods: { // é‡ç½® reset: function reset() { this.userName = ''; this.password = ''; this.password_confirmation = ''; this.phoneNumber = ''; this.pulicError = ''; this.code = ''; this.captcha_key = ''; this.$emit('child-say'); this.cleanvalue(); }, // åˆå§‹åŒ–æ•°æ® cleanvalue: function cleanvalue() { var _this = this; this.agent = this.GetQueryString('agent') || this.GetQueryString('k'); var registerPc = JSON.parse(localStorage.getItem('config')).register.pc; var registermodel = JSON.parse(localStorage.getItem('config')).site_model; if (registermodel == 'invite_code') { this.iscode = true; } else { this.iscode = false; } registerPc.forEach(function (v, i) { _this.register[i] = {}; switch (v) { case 'phone': _this.register[i].placeholder = '请输入手机å·'; _this.register[i].value = ''; _this.register[i].key = v; _this.register[i].name = '手机å·'; _this.register[i].maxlength = 11; break; case 'email': _this.register[i].placeholder = '请输入邮箱地å€'; _this.register[i].value = ''; _this.register[i].key = v; _this.register[i].name = '邮箱'; _this.register[i].maxlength = 20; break; case 'wechat': _this.register[i].placeholder = '请输入微信å·'; _this.register[i].value = ''; _this.register[i].key = v; _this.register[i].name = '微信'; _this.register[i].maxlength = 20; break; case 'realName': _this.register[i].placeholder = '请输入真实姓å'; _this.register[i].value = ''; _this.register[i].key = v; _this.register[i].name = '真实姓å'; _this.register[i].maxlength = 10; break; case 'payPassword': _this.register[i].placeholder = '请输入支付密ç '; _this.register[i].value = ''; _this.register[i].key = v; _this.register[i].name = '支付密ç '; _this.register[i].maxlength = 6; break; } }); if (registerPc.includes('phone') && registerPc.includes('sms')) { this.isShowSms = true; } else { this.isShowSms = false; } this.register = this.register.filter(function (item, index) { return stringify_default()(item) !== '{}'; }); } }, created: function created() { this.cleanvalue(); }, mounted: function mounted() {}, watch: { clean: function clean() { if (this.clean) { this.reset(); } } }, components: { smsInput: smsInput["a" /* default */] }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-780f750a","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/tradition/components/admin/register.vue var register_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"register-wrap"},[_c('div',{staticClass:"list-box"},[_c('div',{staticClass:"list"},[_c('span',{staticClass:"label"},[_vm._v("è´¦å·ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.userName),expression:"userName"}],attrs:{"maxlength":"10","placeholder":"è´¦å· 6-10ä½æ•°å—或å—æ¯","type":"text"},domProps:{"value":(_vm.userName)},on:{"keydown":function($event){_vm.pulicError=''},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.registerTest.apply(null, arguments)},"blur":_vm.getCode,"input":function($event){if($event.target.composing){ return; }_vm.userName=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"list"},[_c('span',{staticClass:"label"},[_vm._v("密ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.password),expression:"password"}],attrs:{"maxlength":"20","placeholder":"密ç 8-20ä½æ•°å—或å—æ¯","type":"password"},domProps:{"value":(_vm.password)},on:{"keydown":function($event){_vm.pulicError=''},"keyup":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.registerTest.apply(null, arguments)},_vm.clearNull],"input":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"list"},[_c('span',{staticClass:"label"},[_vm._v("é‡å¤å¯†ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.password_confirmation),expression:"password_confirmation"}],attrs:{"maxlength":"20","placeholder":"请é‡å¤å¯†ç ","type":"password"},domProps:{"value":(_vm.password_confirmation)},on:{"keydown":function($event){_vm.pulicError=''},"keyup":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.registerTest.apply(null, arguments)},_vm.clearNull],"input":function($event){if($event.target.composing){ return; }_vm.password_confirmation=$event.target.value}}})]),_vm._v(" "),_vm._l((_vm.register),function(item,index){return _c('div',{key:index},[(JSON.stringify(item) !== '{}' )?_c('div',{staticClass:"list"},[_c('span',{staticClass:"label"},[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(item.value),expression:"item.value"}],attrs:{"maxlength":item.maxlength,"type":"text","placeholder":item.placeholder},domProps:{"value":(item.value)},on:{"keydown":function($event){_vm.pulicError=''},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.registerTest.apply(null, arguments)},"input":function($event){if($event.target.composing){ return; }_vm.$set(item, "value", $event.target.value)}}})]):_vm._e()])}),_vm._v(" "),(_vm.isShowSms && _vm.qxcp != 'qxcp')?_c('sms-input',{attrs:{"smsInputBox":_vm.smsInputBox,"smsCodeWrapper":_vm.smsCodeWrapper,"curLabel":_vm.curLabel,"reSend":_vm.reSend,"star":_vm.star,"inputBox":_vm.inputBox,"msgVerifyBox":_vm.msgVerifyBox,"btnStyle":_vm.btnStyle,"beforeSend":_vm.beforeSend,"msgTip":_vm.msgTip,"isShowSms":_vm.isShowSms,"hasSendMsg":_vm.hasSendMsg,"countDownTime":_vm.countDownTime,"bColor":"#dbdbdb"},on:{"my-event":_vm.getMsgCode},model:{value:(_vm.smsCode),callback:function ($$v) {_vm.smsCode=$$v},expression:"smsCode"}}):_vm._e(),_vm._v(" "),(_vm.isShowSms && _vm.qxcp == 'qxcp')?_c('sms-input',{attrs:{"smsInputBox":_vm.smsInputBox,"smsCodeWrapper":_vm.smsCodeWrapper,"curLabel":_vm.curLabel,"reSend":_vm.reSend,"star":_vm.star,"inputBox":_vm.qxcpInput,"msgVerifyBox":_vm.msgVerifyBox,"btnStyle":_vm.btnStyle,"beforeSend":_vm.beforeSend,"msgTip":_vm.msgTip,"isShowSms":_vm.isShowSms,"hasSendMsg":_vm.hasSendMsg,"countDownTime":_vm.countDownTime,"bColor":"#dbdbdb"},on:{"my-event":_vm.getMsgCode},model:{value:(_vm.smsCode),callback:function ($$v) {_vm.smsCode=$$v},expression:"smsCode"}}):_vm._e(),_vm._v(" "),(!_vm.isShowSms&&_vm.verifyType=='imgCode')?_c('div',{staticClass:"list list3",staticStyle:{"position":"relative"}},[_c('span',{staticClass:"label"},[_vm._v("验è¯ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.code),expression:"code"}],attrs:{"maxlength":"4","placeholder":"请输入验è¯ç ","type":"text"},domProps:{"value":(_vm.code)},on:{"keydown":function($event){_vm.pulicError=''},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.registerTest.apply(null, arguments)},"input":function($event){if($event.target.composing){ return; }_vm.code=$event.target.value}}}),_vm._v(" "),_c('img',{staticClass:"yzm",attrs:{"src":_vm.codeImg,"alt":""},on:{"click":_vm.getCode}})]):_vm._e(),_vm._v(" "),(_vm.iscode)?_c('div',{staticClass:"list"},[_c('span',{staticClass:"label"},[_vm._v("邀请ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.intacode),expression:"intacode"}],attrs:{"maxlength":"10","placeholder":"邀请ç ","type":"text","readonly":_vm.incodeReadonly},domProps:{"value":(_vm.intacode)},on:{"keydown":function($event){_vm.pulicError=''},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.registerTest.apply(null, arguments)},"input":function($event){if($event.target.composing){ return; }_vm.intacode=$event.target.value}}})]):_vm._e(),_vm._v(" "),(_vm.pulicError)?_c('div',{staticClass:"err",class:'err_'+_vm.qxcp},[_c('i',{staticClass:"iconfont icon-baojing"}),_vm._v(" "),_c('span',{ref:"pulicError"},[_vm._v(_vm._s(_vm.pulicError))])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"submit",on:{"click":_vm.registerTest}},[_vm._v("ç«‹å³æ³¨å†Œ")]),_vm._v(" "),_c('div',{staticClass:"treaty"},[_vm._v("完æˆå³è§†ä¸ºåŒæ„已满18å²ï¼Œä¸”åŒæ„å„项开户æ¡çº¦ã€‚")])],2)])} var register_staticRenderFns = [] var register_esExports = { render: register_render, staticRenderFns: register_staticRenderFns } /* harmony default export */ var admin_register = (register_esExports); // CONCATENATED MODULE: ./src/pages/public/tradition/components/admin/register.vue function register_injectStyle (ssrContext) { __webpack_require__("3R99") } var register_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var register___vue_template_functional__ = false /* styles */ var register___vue_styles__ = register_injectStyle /* scopeId */ var register___vue_scopeId__ = "data-v-780f750a" /* moduleIdentifier (server only) */ var register___vue_module_identifier__ = null var register_Component = register_normalizeComponent( register, admin_register, register___vue_template_functional__, register___vue_styles__, register___vue_scopeId__, register___vue_module_identifier__ ) /* harmony default export */ var components_admin_register = (register_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/tradition/components/admin/index.vue // // // // // // // // // // // // /* harmony default export */ var admin = ({ data: function data() { return { clean: false, qxcp: "qxcp" }; }, methods: { resetClean: function resetClean() { this.clean = false; }, close: function close() { this.clean = true; this.$store.commit('alert/showLogin', false); } }, computed: { modal: function modal() { return this.$store.state.alert.login.chooseModel; } }, components: { vpLgion: tradition_components_admin_login, vpRegister: components_admin_register }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-5d2bdb82","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/tradition/components/admin/index.vue var admin_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"vp-admin-wrap"},[_c('div',{staticClass:"vp-admin-wrap-close",on:{"click":_vm.close}},[_vm._m(0)]),_vm._v(" "),_c('div',{staticClass:"line"}),_vm._v(" "),(_vm.modal=='登入账å·')?_c('vp-lgion',{attrs:{"clean":_vm.clean},on:{"child-say":_vm.resetClean}}):_vm._e(),_vm._v(" "),(_vm.modal=='注册账å·')?_c('vp-register',{attrs:{"qxcp":_vm.qxcp,"clean":_vm.clean},on:{"child-say":_vm.resetClean}}):_vm._e()],1)} var admin_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"vp-admin-wrap-close-empty"},[_c('a')])}] var admin_esExports = { render: admin_render, staticRenderFns: admin_staticRenderFns } /* harmony default export */ var components_admin = (admin_esExports); // CONCATENATED MODULE: ./src/pages/public/tradition/components/admin/index.vue function admin_injectStyle (ssrContext) { __webpack_require__("YDcA") } var admin_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var admin___vue_template_functional__ = false /* styles */ var admin___vue_styles__ = admin_injectStyle /* scopeId */ var admin___vue_scopeId__ = "data-v-5d2bdb82" /* moduleIdentifier (server only) */ var admin___vue_module_identifier__ = null var admin_Component = admin_normalizeComponent( admin, components_admin, admin___vue_template_functional__, admin___vue_styles__, admin___vue_scopeId__, admin___vue_module_identifier__ ) /* harmony default export */ var tradition_components_admin = (admin_Component.exports); // EXTERNAL MODULE: ./src/pages/public/tradition/components/redPackets/redpackets.vue + 2 modules var redpackets = __webpack_require__("7M00"); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/modal.vue // // // // // // // // // // // // // // /* harmony default export */ var modal = ({ data: function data() { return {}; }, methods: {}, computed: { tipDatas: function tipDatas() { return this.$store.state.alert.tipModel; } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-03ef61de","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/modal.vue var modal_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"mcBox"},[_c('Modal',{class:[_vm.tipDatas.type=='closeMaret'?'tipMarket':''],attrs:{"scrollable":true,"title":"æ示信æ¯","class-name":"vp-all-tipModel-wrap","width":"450"},model:{value:(_vm.tipDatas.bool),callback:function ($$v) {_vm.$set(_vm.tipDatas, "bool", $$v)},expression:"tipDatas.bool"}},[_c('div',{class:[_vm.tipDatas.type=='closeMaret'?'tipMarket-box':'tipModel-box']},[_c('span',[(_vm.tipDatas.model=='warn')?_c('i',{staticClass:"iconfont icon-baojing"}):_vm._e(),_vm._v(" "),(_vm.tipDatas.model=='error')?_c('i',{staticClass:"iconfont icon-cuowu"}):_vm._e(),_vm._v(" "),(_vm.tipDatas.model=='success')?_c('i',{staticClass:"iconfont icon-chenggong"}):_vm._e()]),_vm._v(" "),_c('span',{domProps:{"innerHTML":_vm._s(_vm.tipDatas.title)}})])])],1)} var modal_staticRenderFns = [] var modal_esExports = { render: modal_render, staticRenderFns: modal_staticRenderFns } /* harmony default export */ var home_modal = (modal_esExports); // CONCATENATED MODULE: ./src/pages/public/home/modal.vue function modal_injectStyle (ssrContext) { __webpack_require__("5eX8") } var modal_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var modal___vue_template_functional__ = false /* styles */ var modal___vue_styles__ = modal_injectStyle /* scopeId */ var modal___vue_scopeId__ = "data-v-03ef61de" /* moduleIdentifier (server only) */ var modal___vue_module_identifier__ = null var modal_Component = modal_normalizeComponent( modal, home_modal, modal___vue_template_functional__, modal___vue_styles__, modal___vue_scopeId__, modal___vue_module_identifier__ ) /* harmony default export */ var public_home_modal = (modal_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/tradition/components/header/header.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var header = ({ props: { lotHeadDatas: { type: Object } }, data: function data() { return { ifShowBalan: false, routeUrl: "12", showWebsiteName: null, transitionNames: ["", "fade"], websiteName: this.$websiteName }; }, methods: { newRulePage: function newRulePage() { window.open("#/rules/ssc?id=4"); }, picUrl: function picUrl() { var UrlId = this.$route.meta.id; if (UrlId && isNaN(UrlId) === false) { if (UrlId == 99996) this.routeUrl = "12";else this.routeUrl = UrlId; } else { this.routeUrl = "12"; } }, // æ˜¾ç¤ºä½™é¢ showBal: function showBal() { if (!sessionStorage.token) { this.showLogin(); return false; } if (this.userinfo) { UserService["a" /* default */].vpGetBasicInfo.call(this); } this.ifShowBalan = true; }, //注册 register: function register() { this.$store.commit("alert/showLogin", true); this.$store.commit("alert/setChooseModel", "注册账å·"); this.$store.commit("alert/setLoginTitle", "注册账å·"); }, login: function login() { this.$store.commit("alert/showLogin", true); this.$store.commit("alert/setChooseModel", "登入账å·"); this.$store.commit("alert/setLoginTitle", "登入账å·"); }, // 历å²è®°å½• history: function history() { if (!sessionStorage.token) { this.showLogin(); return false; } }, logout: function logout() { UserService["a" /* default */].logout.call(this); }, // 打开个人ä¸å¿ƒ goUserCen: function goUserCen(name, num) { //name的类型有 : recharge (充值) personage (个人资料) //withdraw (æ现) agency (代ç†ï¼‰ message (消æ¯ï¼‰ discounts ï¼ˆä¼˜æƒ ï¼‰ this.$store.commit("showPersonal", { bool: true }); this.$store.commit("showContent", { parent: name }); this.$store.commit("showNav", { child: num }); }, //下载 goDownLoad: function goDownLoad() { window.open(this.lotHeadDatas.downLoadurl); }, //试玩 tryPlay: function tryPlay() { var _this = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var res; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.next = 2; return _this.$http.get("/frontend/test/demo", { headers: { Accept: "application/x.tg.v2+json" }, params: {} }); case 2: res = _context.sent; if (res && res.code == 200) { UserService["a" /* default */].setCache(res, "test"); _this.$http.post(_this.$HOST_NAME + "/member/refundInfo").then(function (res) { var platform = res.data.platform; var alias = res.data.alias; var keys = keys_default()(platform); var refund = []; keys.forEach(function (v, i) { refund[i] = {}; refund[i].title = v; refund[i].list = []; platform[v].forEach(function (a, j) { refund[i].list[j] = {}; refund[i].list[j].key = keys_default()(a)[0]; refund[i].list[j].refund = values_default()(a)[0]; refund[i].list[j].name = alias[refund[i].list[j].key]; }); }); // this.refundData = refund; localStorage.setItem("refund", stringify_default()(refund)); }); setTimeout(function () { window.location.reload(); }, 500); } case 4: case "end": return _context.stop(); } } }, _callee, _this); }))(); } }, watch: { "$route.fullPath": function $routeFullPath(newVal, oldVal) { if (newVal) { this.picUrl(); } } }, created: function created() { var curId = this.$route.meta.id; if (curId) { this.routeUrl = curId.toString(); } }, mounted: function mounted() { this.$store.commit("mainState/getDownLoad", this.lotHeadDatas); var websiteName = this.$websiteName; if (websiteName == "jhcp" || websiteName == "fczx" || websiteName == "t500w" || websiteName == "cjw" || websiteName == "jlcp" || websiteName == "jltx" || websiteName == "qygj" || websiteName == "xpj80" || websiteName == "xpj102" || websiteName == "qygj-preview") { this.showWebsiteName = true; } }, components: { vpAdminIndex: tradition_components_admin, vpRedPackets: redpackets["a" /* default */], Modal: public_home_modal }, computed: { // 个人信æ¯åˆ·æ–° userinfo: function userinfo() { return this.$store.state.mainState.userinfo; }, // 是å¦æç¤ºä¿¡æ¯ tipDatas: function tipDatas() { return this.$store.state.alert.tipModel; }, // 是å¦æ˜¾ç¤ºç™»å½• ifLogin: function ifLogin() { return this.$store.state.alert.login.ifLogin; }, // ç™»å½•æ³¨å†Œæ ‡é¢˜åˆ‡æ¢ modelTitle: function modelTitle() { return this.$store.state.alert.login.modelTitle; }, modeldetail: function modeldetail() { return this.$store.state.alert.newtip; } }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-23620869","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/tradition/components/header/header.vue var header_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('article',[_c('div',{staticClass:"header-content"},[_c('div',{staticClass:"header-menu-left"},[_c('a',{attrs:{"href":"javascript:void(0);"}},[_c('img',{staticClass:"logo",class:[_vm.$websiteName == 'test-1'?'test-1':''],attrs:{"src":_vm.lotHeadDatas.logoUrl,"alt":""}})]),_vm._v(" "),_c('div',{staticClass:"header-content-wrap"},[_c('label',{staticClass:"text name"},[(_vm.$store.state.mainState.loginOrout)?_c('span',[_vm._v("è´¦å·:")]):_vm._e(),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('label',[_vm._v(_vm._s(_vm.userinfo&&_vm.userinfo.userName))]):_vm._e()]),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"text balance"},[_vm._v("\n å¯ç”¨ä½™é¢ï¼š\n "),_c('label',{staticClass:"hide"},[_vm._v(_vm._s(_vm.userinfo&&_vm.userinfo.balance||'0.00'))])]):_vm._e(),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"text recharge",on:{"click":function($event){return _vm.goUserCen('recharge',0)}}},[_c('a',{attrs:{"href":"javascript:void(0)"}},[_vm._v("充值")])]):_vm._e(),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"line"},[_vm._v("|")]):_vm._e(),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"text withdrawals",on:{"click":function($event){return _vm.goUserCen('withdraw',0)}}},[_c('a',{attrs:{"href":"javascript:void(0)"}},[_vm._v("æ现")])]):_vm._e(),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"line"},[_vm._v("|")]):_vm._e(),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"text withdrawals",on:{"click":function($event){return _vm.goUserCen('personage',0)}}},[_c('a',{attrs:{"href":"javascript:void(0)"}},[_vm._v("个人ä¸å¿ƒ")])]):_vm._e(),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"line"},[_vm._v("|")]):_vm._e(),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"text record",on:{"click":function($event){return _vm.goUserCen('personage',2)}}},[_c('a',{attrs:{"href":"javascript:void(0)"}},[_vm._v("投注记录")])]):_vm._e(),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"line"},[_vm._v("|")]):_vm._e(),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"text exit",on:{"click":_vm.logout}},[_c('a',[_vm._v("退出")])]):_vm._e(),_vm._v(" "),(!_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"text exit",on:{"click":_vm.login}},[_c('a',[_vm._v("登录")])]):_vm._e(),_vm._v(" "),(!_vm.$store.state.mainState.loginOrout)?_c('label',{staticClass:"text exit",on:{"click":_vm.register}},[_c('a',[_vm._v("注册")])]):_vm._e()])]),_vm._v(" "),_c('div',{staticClass:"header-menu-right"},[_c('span',{staticClass:"text textRight hot"},[_c('i',{staticClass:"iconfont icon-hot"}),_vm._v(" "),_c('router-link',{attrs:{"tag":"a","to":{path:'/plays/hall',query:{}}}},[_vm._v("çƒé—¨å½©ç§")])],1),_vm._v(" "),_c('span',{staticClass:"line"},[_vm._v("|")]),_vm._v(" "),_c('span',{staticClass:"text textRight trend"},[_c('i',{staticClass:"orange iconfont icon-curve"}),_vm._v(" "),_c('router-link',{attrs:{"tag":"a","to":{path:'/trend/'+_vm.routeUrl+'',query:{}}}},[_vm._v("开奖走势")])],1),_vm._v(" "),_c('span',{staticClass:"line"},[_vm._v("|")]),_vm._v(" "),_c('span',{staticClass:"text textRight rule"},[_c('i',{staticClass:"orange iconfont icon-rule"}),_vm._v(" "),_c('a',{on:{"click":_vm.newRulePage}},[_vm._v("玩法规则")])]),_vm._v(" "),(_vm.$websiteName!='klk')?_c('span',{staticClass:"line"},[_vm._v("|")]):_vm._e(),_vm._v(" "),(_vm.$websiteName!='klk')?_c('span',{staticClass:"text textRight phoneApp",on:{"click":_vm.goDownLoad}},[_c('i',{staticClass:"iconfont icon-CombinedShapex"}),_vm._v(" "),_c('i',{staticClass:"iconfont icon-apple"}),_vm._v(" "),_c('router-link',{attrs:{"tag":"a","to":""}},[_vm._v("手机APP下载")])],1):_vm._e()]),_vm._v(" "),_c('Modal'),_vm._v(" "),_c('Modal',{staticClass:"Market",attrs:{"scrollable":true,"title":"æ示信æ¯","class-name":"vp-all-tipModel-wrap","width":"450","transition-names":_vm.transitionNames},model:{value:(_vm.modeldetail.bool),callback:function ($$v) {_vm.$set(_vm.modeldetail, "bool", $$v)},expression:"modeldetail.bool"}},[_c('div',{staticClass:"tipModel-box closeMarket"},[_c('span',[_c('i',{staticClass:"iconfont icon-baojing"})]),_vm._v(" "),_c('span',{domProps:{"innerHTML":_vm._s(_vm.modeldetail.title)}})])]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.ifLogin),expression:"ifLogin"}],staticClass:"my-modal"},[_c('div',{staticClass:"bg"}),_vm._v(" "),_c('div',{staticClass:"my-modal-content"},[_c('div',{staticClass:"my-register"},[_vm._v(_vm._s(_vm.$store.state.alert.login.chooseModel))]),_vm._v(" "),_c('vp-admin-index')],1)])],1)])} var header_staticRenderFns = [] var header_esExports = { render: header_render, staticRenderFns: header_staticRenderFns } /* harmony default export */ var header_header = (header_esExports); // CONCATENATED MODULE: ./src/pages/public/tradition/components/header/header.vue function header_injectStyle (ssrContext) { __webpack_require__("90lM") } var header_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var header___vue_template_functional__ = false /* styles */ var header___vue_styles__ = header_injectStyle /* scopeId */ var header___vue_scopeId__ = "data-v-23620869" /* moduleIdentifier (server only) */ var header___vue_module_identifier__ = null var header_Component = header_normalizeComponent( header, header_header, header___vue_template_functional__, header___vue_styles__, header___vue_scopeId__, header___vue_module_identifier__ ) /* harmony default export */ var components_header_header = (header_Component.exports); // EXTERNAL MODULE: ./node_modules/jquery/dist/jquery.js var jquery = __webpack_require__("7t+N"); var jquery_default = /*#__PURE__*/__webpack_require__.n(jquery); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/freshButton.vue // // // // // // // /* harmony default export */ var freshButton = ({ props: { newrefreh: { type: Object, default: function _default() { return { position: 'absolute', width: '67px', height: '25px', top: '-50px', left: '-26px', textAlign: 'center', transition: 'all .3s linear', backgroundColor: '#EE2D2D', lineHeight: '25px', color: '#fff', fontSize: '14px', zIndex: '1000', cursor: 'pointer', borderRadius: '5px' }; } }, trangle: { type: Object, default: function _default() { return { fontSize: '22px', content: "", position: 'absolute', bottom: '-14px', left: '42%', border: '7px solid transparent', borderTop: '7px solid #EE2D2D', transition: 'all .2s' }; } } }, data: function data() { return {}; }, methods: { // getBalance() { // if(this.isclick) return false // this.isclick=true // this.$parent.balanceRefreshing=true // this.$parent.showfresh=false // this.clickarr.push(this.frehclick) // this.clickarr2.push(this.freh) // setTimeout(()=>{ // this.$parent.balanceRefreshing=false // },600) // setTimeout(()=>{ // this.isclick=false // this.clickarr.pop() // this.clickarr2.pop() // },5000) // getS(`member/balance`).then(res => { // if (res.code === 200) { // if(["vnst","bet365","blr",'dqr','ecp','eyc','hsyl','hty','jltx','jsyl','ly88','mgm','pjdc','pjyl','sjcp','xpj','vnso','tycjt','cmgm'].includes(this.$websiteName)){ // this.$parent.refreshS=true // setTimeout(()=>{ // this.$parent.refreshS=false // }) // } // let userinfo = JSON.parse(localStorage.userinfo); // userinfo.balance = res.data.member; // userinfo.agent = res.data.agency; // this.$store.commit("mainState/reloadUserinfo", userinfo); // } // }); // }, }, computed: {} }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-8b058dc0","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/freshButton.vue var freshButton_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{style:(_vm.newrefreh)},[_vm._v("刷新余é¢"),_c('i',{style:(_vm.trangle)})])])} var freshButton_staticRenderFns = [] var freshButton_esExports = { render: freshButton_render, staticRenderFns: freshButton_staticRenderFns } /* harmony default export */ var home_freshButton = (freshButton_esExports); // CONCATENATED MODULE: ./src/pages/public/home/freshButton.vue function freshButton_injectStyle (ssrContext) { __webpack_require__("hMqW") } var freshButton_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var freshButton___vue_template_functional__ = false /* styles */ var freshButton___vue_styles__ = freshButton_injectStyle /* scopeId */ var freshButton___vue_scopeId__ = "data-v-8b058dc0" /* moduleIdentifier (server only) */ var freshButton___vue_module_identifier__ = null var freshButton_Component = freshButton_normalizeComponent( freshButton, home_freshButton, freshButton___vue_template_functional__, freshButton___vue_styles__, freshButton___vue_scopeId__, freshButton___vue_module_identifier__ ) /* harmony default export */ var public_home_freshButton = (freshButton_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/xpj83/home/header.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var home_header = ({ mixins: [user_login["a" /* default */]], data: function data() { return { allUnReadCount: 10, codeImg: '/static/xpj83/img/new_games/lo.png', freh: { borderBottom: '7px solid #696969' }, isclick: false, balanceRefreshing: false, showfresh: false, carheight: 460, logShow: true, clientwidth: window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, headerImg: '/static/xpj83/img/tiger.jpg', time: '', lantern: '', isShow: true, showLittlePic: true, headBg: '', refreshS: false, classListData: [{ name: "首页", text: "HOME", platform: "home", link: "/home", ico: 'home' }, { name: "棋牌游æˆ", text: "CHESS", link: "/home/chess?navid=9&id=0", platform: "KY_CHESS", gameName: "0", list: [], type: "chess", ico: 'chess', hot: true }, { name: "真人视讯", text: "CASINO", link: "/home/live", platform: "live_casino", ico: 'casino' }, { name: "æ•é±¼æ¸¸æˆ", text: "FISHING", link: "/home/fish?navid=9&id=0", type: "fish", ico: 'fishing', hot: true, list: [] }, { name: "è€è™Žæœº", text: "GAME", platform: "AG_GAME", link: "/home/slot?navid=9&id=0", type: "slot", ico: 'elec', hot: true, list: [] }, { name: "彩票游æˆ", text: "LOTTERY", platform: "CT_LOTTERY", link: "/plays/hall", gameName: "0", type: "lottery", ico: 'lottery' }, { name: "电竞体育", text: "SPORTS", platform: "sport", link: "/home/tiyu?id=0", ico: 'esport' }, { name: "ä¼˜æƒ æ´»åŠ¨", text: "ACTIVETY", link: "/home/youhui", ico: 'promo' }, { name: "在线客æœ", text: "SERVICE", link: "service", type: "service", ico: 'service' }], passKey: { userName: '', password: '', code: '' } }; }, methods: { getGameDatas: function getGameDatas() { var _this = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.next = 2; return _this.$gameSortV4(_this.getNativeDatas); case 2: case 'end': return _context.stop(); } } }, _callee, _this); }))(); }, getNativeDatas: function getNativeDatas() { if (localStorage.gameSortV4_chess) { this.classListData[1].list = this.$gameClassV4("chess"); } if (localStorage.gameSortV4_live) { this.classListData[2].list = this.$gameClassV4("live"); } if (localStorage.gameSortV4_fish) { this.classListData[3].list = this.$gameClassV4("fish"); } if (localStorage.gameSortV4_slot) { this.classListData[4].list = this.$gameClassV4("slot"); } if (localStorage.gameSortV4_sport) { this.classListData[6].list = this.$gameClassV4("sport"); } }, getBalance: function getBalance() { var _this2 = this; if (this.isclick) return false; this.isclick = true; this.balanceRefreshing = true; this.showfresh = false; setTimeout(function () { _this2.balanceRefreshing = false; }, 600); setTimeout(function () { _this2.isclick = false; }, 1000); Object(public_service["b" /* getS */])('member/balance').then(function (res) { if (res.code === 200) { var userinfo = JSON.parse(localStorage.userinfo); userinfo.balance = res.data.member; userinfo.agent = res.data.agency; _this2.$store.commit("mainState/reloadUserinfo", userinfo); } }); }, newshowfresh: function newshowfresh() { if (this.balanceRefreshing) this.showfresh = false;else this.showfresh = true; }, goKaihu: function goKaihu() { // this.$router.push('/home/register2'); this.$store.commit('alert/showMgmRegister', true); }, loginEnter: function loginEnter(keyNumber) { if (keyNumber == 13) { login(); } }, goQipaiGame: function goQipaiGame(v) { this.$router.push(v); }, goHeader: function goHeader(typeNum) { if (typeNum == 0) { // 线路检测 window.open('http://4491.com', '_blank'); } else if (typeNum == 1) { // 借呗 if (localStorage.token) { if (this.$store.state.game.jieBeiData.show) { this.$goUserCen('borrowMoney', 0); } else { this.$goUserCen('recharge', 0); //window.open('/static/xpj83/html/active/jiebei/index.html'); } } else { // window.open('/static/xpj83/html/active/jiebei/index.html'); this.$store.commit('alert/newshowtip', { bool: true, title: '请先登录', model: 'error', leftspan: true }); } } else if (typeNum == 2) { // 金管家 window.open('/static/public/active/jgj/index.html'); } else if (typeNum == 3) { //常è§é—®é¢˜ this.$router.push('/home/issue'); } else if (typeNum == 4) { window.open('/static/xpj83/html/download/index.html'); } }, forgetPwd: function forgetPwd() { this.$store.commit('alert/newshowtip', { bool: true, title: '忘记账å·å¯†ç ,请è”系在线客æœäººå‘˜å–回ï¼', model: '', leftspan: true }); }, logout: function logout() { UserService["a" /* default */].logout.call(this); }, goUserCen: function goUserCen(name, num) { //name的类型有 : recharge (充值) personage (个人资料) //withdraw (æ现) agency (代ç†ï¼‰ message (消æ¯ï¼‰ discounts ï¼ˆä¼˜æƒ ï¼‰ if (!localStorage.token || !localStorage.userinfo) { this.errorAlert('请先登录!'); } else { this.$store.commit('showPersonal', { bool: true }); this.$store.commit('showContent', { parent: name }); this.$store.commit('showNav', { child: num }); } }, goView: function goView(link) { if (link) { if (link == 'kefu') { this.$openKefu(); } else { if (link.includes('plays/hall')) { var i = window.location.href.indexOf('#'); var href = window.location.href.slice(0, i + 1); window.open(href + link); } else { this.$router.push(link); } } } else { return false; } }, ee: function ee(num) { if (num < 10) { num = '0' + num; } return num; }, we: function we(num) { switch (num) { case 1: num = '一'; break; case 2: num = '二'; break; case 3: num = '三'; break; case 4: num = 'å››'; break; case 5: num = '五'; break; case 6: num = 'å…'; break; case 7: num = '七'; break; } return num; }, getTimes: function getTimes() { var that = this; var timestam = new Date().getTime(); var time = timestam - 43200000; var dateObj = new Date(time), p0 = this.ee, Y = dateObj.getFullYear(), Mh = dateObj.getMonth() + 1, D = p0(dateObj.getDate()), X = this.we(dateObj.getDay()), H = p0(dateObj.getHours()), M = p0(dateObj.getMinutes()), S = p0(dateObj.getSeconds()); if (Mh > 12) { Mh = '01'; } else if (Mh < 10) { Mh = '0' + Mh; } var str = Y + '/' + Mh + '/' + D + '/ (' + X + ') ' + H + ':' + M + ':' + S; this.time = str; }, shake: function shake(element, className, times) { var i = 0, t = false, o = element.attr('class'), c = '', times = times || 2; if (t) return; t = setInterval(function () { i++; c = i % 2 ? o + ' ' + className : o; element.attr('class', c); if (i == 2 * times) { clearInterval(t); element.removeClass(className); } }, 500); } }, computed: { userinfo: function userinfo() { return this.$store.state.mainState.userinfo; }, is_agent: function is_agent() { return JSON.parse(localStorage.userinfo).is_agency; }, showMessage: function showMessage() { return this.$store.state.mainState.showMessage; } }, mounted: function mounted() { var time = setInterval(this.getTimes, 1000); this.shake(jquery_default()('.colors-change'), 'resd', -1); this.shake(jquery_default()('.blingColor'), 'resd', -1); if (this.$route.path == '/home') { this.isShow = true; this.showLittlePic = false; this.logShow = true; } else { this.isShow = false; this.logShow = false; if (this.$route.path == '/about-page' || this.$route.path == '/register-content' || this.$route.path == '/agent' || this.$route.path == '/relation' || this.$route.path == '/save-help' || this.$route.path == '/pull-help') { this.showLittlePic = false; } else { this.showLittlePic = true; } } }, created: function created() { this.getGameDatas(); this.is_code_show(); // this.getQiPai(); if (this.clientwidth > 1920) { this.carheight = 460 * (this.clientwidth / 1920) * 0.9; } }, watch: { $route: function $route() { if (this.$route.path == '/home') { this.isShow = true; this.showLittlePic = false; this.logShow = true; } else { this.isShow = false; this.logShow = false; if (this.$route.path == '/about-page' || this.$route.path == '/register-content' || this.$route.path == '/agent' || this.$route.path == '/relation' || this.$route.path == '/save-help' || this.$route.path == '/pull-help') { this.showLittlePic = false; } else { this.showLittlePic = true; } } var bg = '/static/xpj83/img'; switch (this.$route.path) { case '/home/live': this.headBg = bg + '/women.jpg'; break; case '/home/games': this.headBg = bg + '/dz.jpg'; break; case '/home/qipai': this.headBg = bg + '/tiger.jpg'; break; case '/home/buyu': this.headBg = bg + '/fish.jpg'; break; case '/home/youhui': this.headBg = bg + '/money.jpg'; break; case '/home/agent': this.headBg = bg + '/about-banner.jpg'; break; default: this.headBg = bg + '/about-banner.jpg'; } }, 'refreshS': function refreshS(newVal, oldVal) { if (newVal) { this.$store.commit('alert/newshowtip', { bool: true, title: '刷新余é¢æˆåŠŸ!', model: 'success', leftspan: true }); } }, 'showMessage': { handler: function handler(newval, oldVal) { this.allUnReadCount = this.showMessage.allUnReadCount; }, deep: true } }, components: { freshButton: public_home_freshButton }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-572ad797","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/xpj83/home/header.vue var home_header_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header index-header"},[_c('div',{staticClass:"header-top"},[_c('div',{staticClass:"w1000"},[_c('div',{staticClass:"toplink"},[_vm._m(0),_vm._v(" "),_c('a',{staticClass:"time"},[_vm._v("\n 美东时间:\n "),_c('span',{attrs:{"id":"mdtime","data-nowtime":"2019/03/29 02:34:04"}},[_vm._v(_vm._s(_vm.time))])]),_vm._v(" "),_c('div',{staticClass:"commonFunc"},[_c('a',{staticClass:"colors-change detection",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.goHeader(0)}}},[_vm._v("线路检测")]),_vm._v("|\n "),_c('a',{staticClass:"colors-change jiebei",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.goHeader(1)}}},[_vm._v("å…æ¯å€Ÿå‘—")]),_vm._v("|\n "),_c('a',{staticClass:"colors-change guanjia",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.goHeader(2)}}},[_vm._v("金管家")]),_vm._v("|\n "),_c('a',{staticClass:"colors-change download",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.goHeader(4)}}},[_vm._v("下载APP")]),_vm._v("|\n "),_c('a',{staticClass:"colors-change suggestion",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.goUserCen('message',1)}}},[_vm._v("投诉建议")])])])])]),_vm._v(" "),_c('div',{staticClass:"header-float"},[_c('div',{staticClass:"navbg"},[_c('div',{staticClass:"nav w1000"},[_c('a',{staticClass:"logo",attrs:{"href":"javascript:void(0)"},on:{"click":function($event){return _vm.goView('/home')}}}),_vm._v(" "),_c('ul',{attrs:{"id":"head-container"}},_vm._l((_vm.classListData),function(item,index){return _c('li',{key:index,class:item.text,on:{"click":function($event){return _vm.$goPath('one',item)}}},[_c('a',{staticClass:"nav_item",attrs:{"href":"javascript:void(0)"}},[_c('i',{staticClass:"ico",class:item.ico}),_vm._v(" "),_c('span',{staticClass:"ch"},[_vm._v(_vm._s(item.name))]),_vm._v(" "),(item.hot == true)?_c('img',{attrs:{"src":"/static/xpj83/img/hot.gif","alt":"hot"}}):_vm._e()]),_vm._v(" "),(item.list&&item.list.length>0)?_c('div',{staticClass:"subnav"},[_c('span',{staticClass:"jt"}),_vm._v(" "),_c('div',{staticClass:"con"},_vm._l((item.list),function(v,i){return _c('a',{key:i,staticStyle:{"position":"relative"},attrs:{"href":"javascript:void(0)"},on:{"click":function($event){$event.stopPropagation();return _vm.$goPath('nav',v)}}},[_vm._v("\n "+_vm._s(v.name)+"\n "),([173,11421,11729,10022,10018,10021,11320,243,10613,10695].includes(v.id))?_c('img',{staticStyle:{"position":"absolute","z-index":"99","right":"5px"},attrs:{"src":"/static/xpj83/img/hot.gif"}}):_vm._e()])}),0)]):_vm._e()])}),0)])])]),_vm._v(" "),(_vm.logShow)?_c('div',{staticClass:"lgobox",style:({height: _vm.carheight +'px'})},[( _vm.isShow && !_vm.$store.state.mainState.loginOrout)?_c('div',{staticClass:"index-bannercon w1000"},[_c('div',{attrs:{"name":"LoginForm","id":"loginForms"}},[_c('div',{staticClass:"index-login",class:[_vm.code_show ? 'withCode':'noCode']},[_c('div',{staticClass:"title"}),_vm._v(" "),_c('p',{staticClass:"username_box"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.userName),expression:"passKey.userName"}],staticClass:"user",attrs:{"type":"text","id":"userName","name":"username","value":"è´¦å·","tabindex":"1","placeholder":"è´¦å·","autocomplete":"off"},domProps:{"value":(_vm.passKey.userName)},on:{"change":_vm.getCode,"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "userName", $event.target.value)}}})]),_vm._v(" "),_c('p',{staticClass:"pwd_box"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.password),expression:"passKey.password"}],attrs:{"type":"password","id":"passwd","name":"password","tabindex":"2","placeholder":"密ç ","autocomplete":"off"},domProps:{"value":(_vm.passKey.password)},on:{"keyup":[_vm.clearNull,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.login.apply(null, arguments)}],"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "password", $event.target.value)}}})]),_vm._v(" "),(_vm.code_show)?_c('p',{staticClass:"code_box0"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.code),expression:"passKey.code"}],staticClass:"yzm code_box",attrs:{"type":"text","id":"rmNum","name":"rmNums","placeholder":"验è¯ç ","size":"4","tabindex":"3","maxlength":"4","title":"( 点选æ¤å¤„产生新验è¯ç )"},domProps:{"value":(_vm.passKey.code)},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.login.apply(null, arguments)},"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "code", $event.target.value)}}}),_vm._v(" "),_c('img',{staticClass:"yzmimg",attrs:{"id":"vPic","src":_vm.codeImg,"width":"55","height":"26","border":"1","align":"absmiddle","alt":"( 点选æ¤å¤„产生新验è¯ç )"},on:{"click":_vm.getCode}})]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"button"},[_c('a',{staticClass:"login_btn",attrs:{"href":"javascript:void(0)"},on:{"click":_vm.login}}),_vm._v(" "),_c('a',{staticClass:"forget",attrs:{"href":"javascript:void(0)"},on:{"click":_vm.forgetPwd}})]),_vm._v(" "),_c('a',{staticClass:"register_btn",class:[_vm.code_show ? 'show_code' : 'no_code'],attrs:{"href":"javascript:void(0)"},on:{"click":_vm.goKaihu}})])])]):_vm._e()]):_vm._e(),_vm._v(" "),(_vm.$store.state.mainState.loginOrout)?_c('div',{staticClass:"header-login"},[_c('div',{staticClass:"w1000"},[_vm._m(1),_vm._v(" "),_c('div',{staticClass:"left"},[_c('span',{staticClass:"account"},[_vm._v("\n ä¼šå‘˜è´¦å· ï¼š"),_c('font',{attrs:{"color":"yellow"}},[_vm._v(_vm._s(_vm.userinfo.userName))])],1),_vm._v(" "),_c('span',{staticClass:"user_money"},[_vm._v("\n é’±åŒ…ä½™é¢ ï¼š"),_c('font',{attrs:{"color":"yellow"}},[_vm._v(_vm._s(_vm.userinfo ? _vm.userinfo.balance : ''))])],1),_vm._v(" "),_c('span',{staticClass:"refresh_balance"},[_c('a',{staticClass:"refresh",class:[_vm.balanceRefreshing ?'fres':'',_vm.isclick ? 'newfresh':''],on:{"click":_vm.getBalance,"mouseover":_vm.newshowfresh,"mouseout":function($event){_vm.showfresh=false}}})])]),_vm._v(" "),_c('div',{staticClass:"right"},[_c('span',[_c('a',{attrs:{"href":"javascript:void(0)"},on:{"click":function($event){return _vm.$bindPhoneOrbank()}}},[_vm._v("我è¦å˜æ¬¾")]),_vm._v(" |  \n "),_c('a',{attrs:{"href":"javascript:void(0)"},on:{"click":function($event){return _vm.$goUserCen('withdraw',0)}}},[_vm._v("我è¦å–款")]),_vm._v(" |  \n "),_vm._v(" "),_c('a',{attrs:{"href":"javascript:void(0)"},on:{"click":function($event){return _vm.$goUserCen('discounts',0)}}},[_vm._v("时时返水")]),_vm._v(" |  \n "),(_vm.is_agent==0)?_c('a',{attrs:{"href":"javascript:void(0)"},on:{"click":function($event){return _vm.$goUserCen('personage',0)}}},[_vm._v("会员ä¸å¿ƒ")]):_vm._e(),_vm._v(" "),_c('a',{staticClass:"unread_msg",attrs:{"href":"javascript:void(0)"},on:{"click":function($event){return _vm.$goUserCen('message',0)}}},[_vm._v("\n 站内信\n "),(_vm.allUnReadCount !=0)?_c('font',{staticStyle:{"color":"yellow"},attrs:{"id":"user_num"}},[_vm._v(_vm._s(_vm.allUnReadCount))]):_vm._e()],1),_vm._v(" "),_c('a',{staticClass:"logOut",attrs:{"href":"javascript:void(0)"},on:{"click":_vm.logout}},[_vm._v("登出")])])])])]):_vm._e(),_vm._v(" "),(!_vm.isShow && !_vm.$store.state.mainState.loginOrout)?_c('div',{staticClass:"header-login",staticStyle:{"display":"block"},attrs:{"id":"xheader-login"}},[_c('form',{attrs:{"name":"LoginForm","id":"loginForm","action":"#","method":"POST","target":"actionframe","onsubmit":"return false;"}},[_c('div',{staticClass:"header-logincon"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.userName),expression:"passKey.userName"}],staticClass:"user",attrs:{"type":"text","id":"userName","name":"username","tabindex":"1","placeholder":"è´¦å·"},domProps:{"value":(_vm.passKey.userName)},on:{"change":_vm.getCode,"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "userName", $event.target.value)}}}),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.password),expression:"passKey.password"}],staticClass:"pass",attrs:{"type":"password","id":"passwd","name":"password","tabindex":"2","placeholder":"密ç "},domProps:{"value":(_vm.passKey.password)},on:{"keyup":_vm.clearNull,"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "password", $event.target.value)}}}),_vm._v(" "),_c('a',{staticClass:"forget",attrs:{"href":"javascript:void(0)"},on:{"click":_vm.forgetPwd}}),_vm._v(" "),(_vm.code_show)?_c('div',{staticClass:"verify_code_box"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.code),expression:"passKey.code"}],staticClass:"code",attrs:{"type":"text","id":"rmNum","name":"rmNum","placeholder":"验è¯ç ","size":"4","tabindex":"3","maxlength":"4","title":"(点选æ¤å¤„产生新验è¯ç )"},domProps:{"value":(_vm.passKey.code)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "code", $event.target.value)}}}),_vm._v(" "),_c('img',{staticClass:"codeimg",attrs:{"id":"vPic","src":_vm.codeImg,"width":"55","height":"26","border":"1","align":"absmiddle","alt":"(点选æ¤å¤„产生新验è¯ç )"},on:{"click":_vm.getCode}})]):_vm._e(),_vm._v(" "),_c('input',{staticClass:"subbtn",attrs:{"type":"submit","value":""},on:{"click":_vm.login}}),_vm._v(" "),_c('a',{staticClass:"regbtn",attrs:{"href":"javascript:void(0)"},on:{"click":_vm.goKaihu}})])])]):_vm._e()])} var home_header_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"lisence"},[_c('img',{attrs:{"src":"/static/xpj83/img/pz.png"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"img",staticStyle:{"margin-left":"8px"}},[_c('img',{attrs:{"src":"/static/xpj83/img/new_games/head_log.png","alt":""}})])}] var home_header_esExports = { render: home_header_render, staticRenderFns: home_header_staticRenderFns } /* harmony default export */ var xpj83_home_header = (home_header_esExports); // CONCATENATED MODULE: ./src/pages/xpj83/home/header.vue function home_header_injectStyle (ssrContext) { __webpack_require__("j8KR") } var home_header_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var home_header___vue_template_functional__ = false /* styles */ var home_header___vue_styles__ = home_header_injectStyle /* scopeId */ var home_header___vue_scopeId__ = "data-v-572ad797" /* moduleIdentifier (server only) */ var home_header___vue_module_identifier__ = null var home_header_Component = home_header_normalizeComponent( home_header, xpj83_home_header, home_header___vue_template_functional__, home_header___vue_styles__, home_header___vue_scopeId__, home_header___vue_module_identifier__ ) /* harmony default export */ var pages_xpj83_home_header = (home_header_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/xpj83/home/Aside.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var Aside = ({ data: function data() { return { s1: true, s2: true, url: "" }; }, methods: { gocp: function gocp() { window.open("#/plays/hall"); }, hide1: function hide1() { jquery_default()('#TplFloatPic_0').hide(); }, hide2: function hide2() { jquery_default()('#TplFloatPic_1').hide(); }, goView1: function goView1() { window.open('/static/xpj83/html/download/index.html'); }, goView: function goView() { this.$router.push('/home/youhui'); //window.open('/static/xpj83/html/active/jiebei/index.html'); // if(localStorage.token){ // if(this.$store.state.game.jieBeiData.show){ // this.$goUserCen('borrowMoney',0) // }else{ // this.$goUserCen('recharge',0) // } // }else{ // this.$store.commit('alert/newshowtip', { // bool: true, // title: '请先登录', // model: 'error', // leftspan: true // }); // } }, goView2: function goView2() { window.open('http://4491.com'); }, getUrl: function getUrl() { this.url = this.$getKefuUrl(); this.$store.commit('home/reloadeKefu', false); } }, mounted: function mounted() { this.getUrl(); this.$addWindow(); this.createDownloadQRCode({ el: this.$refs['qr-code'], url: window.location.origin + '/m#/download', size: 100 }); }, computed: { reloadeKefu: function reloadeKefu() { return this.$store.state.home.reloadeKefu; } }, watch: { reloadeKefu: function reloadeKefu(val) { if (val) { this.getUrl(); } } }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-7d96c613","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/xpj83/home/Aside.vue var Aside_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('ul',{staticClass:"TplFloatSet TplFloatPic_1",attrs:{"id":"TplFloatPic_0","picfloat":"left"}},[_vm._m(0),_vm._v(" "),_c('div',{staticClass:"hot-btn"},[_c('span',{on:{"click":function($event){return _vm.$router.push('/home/chess?navid=9&id=10042')}}}),_vm._v(" "),_c('span',{staticStyle:{"margin-top":"10px"},on:{"click":function($event){return _vm.$router.push('/home/chess?navid=9&id=10612')}}}),_vm._v(" "),_c('span',{staticStyle:{"margin-top":"10px"},on:{"click":function($event){return _vm.$router.push('/home/chess?navid=9&id=10694')}}}),_vm._v(" "),_c('span',{staticStyle:{"margin-top":"20px"},on:{"click":function($event){return _vm.$router.push('/home/fish?navid=9&id=10054')}}}),_vm._v(" "),_c('span',{staticStyle:{"margin-top":"20px"},on:{"click":function($event){return _vm.$router.push('/home/slot?navid=9&id=10022')}}})]),_vm._v(" "),_c('div',{staticClass:"close-btn",attrs:{"id":"close-left"},on:{"click":_vm.hide1}},[_c('img',{attrs:{"src":"/static/xpj83/img/close.png","alt":""}})])]),_vm._v(" "),_c('ul',{staticClass:"TplFloatSet TplFloatPic_1",attrs:{"id":"TplFloatPic_1","picfloat":"right"}},[_vm._m(1),_vm._v(" "),_c('a',{staticClass:"kefu-btn",attrs:{"href":"javascript:;"},on:{"click":function($event){$event.preventDefault();return _vm.$openKefu()}}}),_vm._v(" "),_c('div',{staticClass:"transfer",on:{"click":_vm.goView1}}),_vm._v(" "),_c('div',{staticClass:"jiebei",on:{"click":_vm.goView2}}),_vm._v(" "),_c('div',{staticClass:"jiance",on:{"click":_vm.goView}}),_vm._v(" "),_c('div',{staticClass:"close-btn",attrs:{"id":"close-right"},on:{"click":_vm.hide2}},[_c('img',{attrs:{"src":"/static/xpj83/img/close.png","alt":""}})])])])} var Aside_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{"display":"block"},attrs:{"id":"adleft","href":"javascript:void(0)"}},[_c('img',{staticStyle:{"width":"160px"},attrs:{"src":"/static/xpj83/img/left.png"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{"display":"block"},attrs:{"id":"adright","href":"javascript:void(0)"}},[_c('img',{staticStyle:{"width":"160px"},attrs:{"src":"/static/xpj83/img/right.png"}})])}] var Aside_esExports = { render: Aside_render, staticRenderFns: Aside_staticRenderFns } /* harmony default export */ var home_Aside = (Aside_esExports); // CONCATENATED MODULE: ./src/pages/xpj83/home/Aside.vue function Aside_injectStyle (ssrContext) { __webpack_require__("iRav") } var Aside_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var Aside___vue_template_functional__ = false /* styles */ var Aside___vue_styles__ = Aside_injectStyle /* scopeId */ var Aside___vue_scopeId__ = "data-v-7d96c613" /* moduleIdentifier (server only) */ var Aside___vue_module_identifier__ = null var Aside_Component = Aside_normalizeComponent( Aside, home_Aside, Aside___vue_template_functional__, Aside___vue_styles__, Aside___vue_scopeId__, Aside___vue_module_identifier__ ) /* harmony default export */ var xpj83_home_Aside = (Aside_Component.exports); // EXTERNAL MODULE: ./src/pages/public/home/newmodal.vue + 2 modules var newmodal = __webpack_require__("kVYB"); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/xpj83/home/footer.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var footer = ({ data: function data() { return { newmodal: { title: "æ¥è‡ªæ¾³é—¨æ–°è‘¡äº¬çš„消æ¯", bgcolor: { background: "linear-gradient(to right, #f1d35e, #ac821b)" } } }; }, methods: { gameRules: function gameRules() { window.open('#/rules/ssc?id=4'); } }, computed: {}, mounted: function mounted() {}, components: { newModal: newmodal["a" /* default */] }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-759f3900","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/xpj83/home/footer.vue var footer_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"footer-box"},[_c('div',{staticClass:"footer-area"},[_vm._m(0),_vm._v(" "),_c('div',{staticClass:"link-area"},[_c('ul',[_c('li',[_c('router-link',{attrs:{"to":"/about-page"}},[_vm._v("关于我们")])],1),_vm._v(" "),_c('li',[_c('router-link',{attrs:{"to":"/relation"}},[_vm._v("è”系我们")])],1),_vm._v(" "),_c('li',[_c('router-link',{attrs:{"to":"/save-help"}},[_vm._v("å˜æ¬¾å¸®åŠ©")])],1),_vm._v(" "),_c('li',[_c('router-link',{attrs:{"to":"/pull-help"}},[_vm._v("å–款帮助")])],1),_vm._v(" "),_c('li',[_c('a',{on:{"click":_vm.gameRules}},[_vm._v("游æˆè§„则")])])])]),_vm._v(" "),_vm._m(1),_vm._v(" "),_vm._m(2),_vm._v(" "),_vm._m(3),_vm._v(" "),_vm._m(4),_vm._v(" "),_c('img',{staticClass:"footer-bg1 footer-bg",attrs:{"src":"/static/xpj83/img/footer-bg1.png","alt":""}}),_vm._v(" "),_c('img',{staticClass:"footer-bg2 footer-bg",attrs:{"src":"/static/xpj83/img/footer-bg2.png","alt":""}}),_vm._v(" "),_c('img',{staticClass:"footer-bg3 footer-bg",attrs:{"src":"/static/xpj83/img/footer-bg3_1.png","alt":""}})]),_vm._v(" "),_c('new-modal',{attrs:{"newmodal":_vm.newmodal}})],1)} var footer_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"title"},[_c('ul',[_c('li',[_vm._v("澳门新葡京")]),_vm._v(" "),_c('li',[_vm._v("æµè§ˆå™¨æŽ¨è")]),_vm._v(" "),_c('li',[_vm._v("监管机构")]),_vm._v(" "),_c('li',[_vm._v("åˆä½œä¼™ä¼´")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"footer-text"},[_c('p',[_vm._v("Copyright © 澳门新葡京 Reserved")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"shuxian1 shuxian"},[_c('img',{attrs:{"src":"/static/xpj83/img/footer-shuxian.png","alt":""}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"shuxian2 shuxian"},[_c('img',{attrs:{"src":"/static/xpj83/img/footer-shuxian.png","alt":""}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"shuxian3 shuxian"},[_c('img',{attrs:{"src":"/static/xpj83/img/footer-shuxian.png","alt":""}})])}] var footer_esExports = { render: footer_render, staticRenderFns: footer_staticRenderFns } /* harmony default export */ var home_footer = (footer_esExports); // CONCATENATED MODULE: ./src/pages/xpj83/home/footer.vue function footer_injectStyle (ssrContext) { __webpack_require__("xBc5") } var footer_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var footer___vue_template_functional__ = false /* styles */ var footer___vue_styles__ = footer_injectStyle /* scopeId */ var footer___vue_scopeId__ = "data-v-759f3900" /* moduleIdentifier (server only) */ var footer___vue_module_identifier__ = null var footer_Component = footer_normalizeComponent( footer, home_footer, footer___vue_template_functional__, footer___vue_styles__, footer___vue_scopeId__, footer___vue_module_identifier__ ) /* harmony default export */ var xpj83_home_footer = (footer_Component.exports); // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/typeof.js var helpers_typeof = __webpack_require__("pFYg"); var typeof_default = /*#__PURE__*/__webpack_require__.n(helpers_typeof); // EXTERNAL MODULE: ./node_modules/iview/src/components/input-number/input-number.vue + 2 modules var input_number = __webpack_require__("DOIn"); // CONCATENATED MODULE: ./node_modules/iview/src/components/input-number/index.js /* harmony default export */ var components_input_number = (input_number["a" /* default */]); // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/defineProperty.js var defineProperty = __webpack_require__("bOdI"); var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty); // EXTERNAL MODULE: ./node_modules/axios/index.js var axios = __webpack_require__("mtWM"); var axios_default = /*#__PURE__*/__webpack_require__.n(axios); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/recharge/rechargeLog.vue // // // // // // // // // /* harmony default export */ var rechargeLog = (defineProperty_default()({ data: function data() { return { local: JSON.parse(localStorage.config).statics }; }, methods: {}, created: function created() { // let a = JSON.parse(localStorage.config).statics // this.local = a.substring(0,a.lastIndexOf('/')); }, computed: { showRecharge: function showRecharge() { return this.$store.state.personal.showRecharge; }, rechargeText: function rechargeText() { return this.$store.state.personal.rechargeText.msg; }, rechargeBg: function rechargeBg() { return this.$store.state.personal.rechargeText.msgImagePc; }, rechargeMsg: function rechargeMsg() { return this.$store.state.personal.rechargeMsg; } } }, 'created', function created() {})); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-fa44008c","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/recharge/rechargeLog.vue var rechargeLog_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showRecharge)?_c('div',{staticClass:"rechargeLog"},[_c('div',{staticClass:"rechargeContent",style:({background:'url('+_vm.local + _vm.rechargeBg+')center center/100% no-repeat'})},[_c('div',{staticClass:"closeLog",on:{"click":function($event){_vm.$store.state.personal.showRecharge = false}}}),_vm._v(" "),_c('div',{staticClass:"someMessage",domProps:{"innerHTML":_vm._s(_vm.rechargeMsg)}})])]):_vm._e()} var rechargeLog_staticRenderFns = [] var rechargeLog_esExports = { render: rechargeLog_render, staticRenderFns: rechargeLog_staticRenderFns } /* harmony default export */ var recharge_rechargeLog = (rechargeLog_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/recharge/rechargeLog.vue function rechargeLog_injectStyle (ssrContext) { __webpack_require__("biY2") } var rechargeLog_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var rechargeLog___vue_template_functional__ = false /* styles */ var rechargeLog___vue_styles__ = rechargeLog_injectStyle /* scopeId */ var rechargeLog___vue_scopeId__ = "data-v-fa44008c" /* moduleIdentifier (server only) */ var rechargeLog___vue_module_identifier__ = null var rechargeLog_Component = rechargeLog_normalizeComponent( rechargeLog, recharge_rechargeLog, rechargeLog___vue_template_functional__, rechargeLog___vue_styles__, rechargeLog___vue_scopeId__, rechargeLog___vue_module_identifier__ ) /* harmony default export */ var personals_recharge_rechargeLog = (rechargeLog_Component.exports); // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/toConsumableArray.js var toConsumableArray = __webpack_require__("Gu7T"); var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); // EXTERNAL MODULE: ./node_modules/vue/dist/vue.esm.js var vue_esm = __webpack_require__("7+uW"); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/navmenu/nav.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var nav = ({ naem: "personNav", data: function data() { var _ref; var personageList = [{ name: "个人报表" }, { name: "我的资料" }, { name: "投注记录" }, { name: "å˜æ¬¾è®°å½•" }, { name: "å–款记录" }, { name: "ä¼˜æƒ è®°å½•" }, { name: "代ç†è®°å½•" }, { name: "其它记录" }, { name: "è´¦å·å®‰å…¨" }]; return _ref = { staticURL: JSON.parse(localStorage.config).statics, personal_commission_mode: localStorage.personal_mode, signData: {}, allList: [], agencyList: [{ name: "我的收益" }, { name: "代ç†æŠ¥è¡¨" }, { name: "下级报表" }, { name: "下级开户" }, { name: "下级列表" }, { name: "下级财务" }, { name: "下级人数" }], borrowMoneyList: [{ name: "å…æ¯å€Ÿå‘—" }, { name: "我è¦å€Ÿæ¬¾" }, { name: "我è¦è¿˜æ¬¾" }, { name: "借呗é¢åº¦" }, { name: "借呗记录" }], discountsList: [{ name: "时时返水" }], messageList: [{ name: "系统信æ¯", message: "" }, { name: "投诉建议" }, { name: "å·²å‘ä¿¡æ¯", message: "" }], personageList: personageList, withdrawList: [{ name: "æ款记录" }, { name: "银行å¡æ款" }, { name: "USDTæ款" }, { name: "EBAOæ款" }, { name: "绑定银行å¡" }, { name: "绑定USDT" }, { name: "绑定Eå¸" }], transferList: [{ name: "转账ä¸å¿ƒ" }], is_agency: JSON.parse(localStorage.userinfo).is_agency }, defineProperty_default()(_ref, "personal_commission_mode", localStorage.personal_mode), defineProperty_default()(_ref, "withManualdeposit", false), defineProperty_default()(_ref, "quickDepositNavData", {}), defineProperty_default()(_ref, "quickDepositNavIndex", 0), _ref; }, methods: { sortNum: function sortNum(arr) { for (var i = 0; i <= arr.length; i++) { var oNum = arr[i]; if (arr[i] > arr[i + 1]) { arr[i] = arr[i + 1]; arr[i + 1] = oNum; } } return arr; }, sortNum1: function sortNum1(a, b) { return a - b; }, onShowSignin: function onShowSignin() { if (this.$store.state.mainState.isGet) { this.$error("今日已领å–,请明日å†æ¥"); } else { this.getSignin(); } }, getSignin: function getSignin() { var _this = this; this.$store.dispatch("home/getSignin", { type: "DailySignInList" }).then(function (res) { _this.signData = res; _this.$store.commit("mainState/signData", res); if (_this.signData.dailySignIn.gift_money_receive === "yes") { _this.$store.commit("mainState/isGet", true); _this.$error("今日已领å–,请明日å†æ¥"); } else { if (_this.signData.weilingqu === "yes") { _this.$store.commit("mainState/isOpen", true); _this.$store.commit("mainState/signMoney", _this.signData.dailySignIn.gift_money); } if (_this.signData.msg_tankuang) { if (_this.signData.msg_tankuang.includes("绑定银行å¡")) { _this.$error(_this.signData.msg_tankuang, 2000, true); } else { _this.$error(_this.signData.msg_tankuang); } } else { _this.$store.commit("mainState/showDialog", true); _this.$store.commit("mainState/signMoney", _this.signData.dailySignIn.gift_money); } } }).catch(function () {}); }, newShowSignin: function newShowSignin() { var _this2 = this; if (!this.$store.state.mainState.isShowSignin) { this.$store.dispatch("home/getSignin", { type: "display" }).then(function (res) { _this2.$store.commit("mainState/changShowSignin", res.display); if (_this2.$store.state.mainState.isShowSignin == "yes") { _this2.discountsList = [{ name: "时时返水" }]; _this2.discountsList.push({ name: "æ¯æ—¥ç¾åˆ°" }); } }); } else { if (this.$store.state.mainState.isShowSignin == "yes") { this.discountsList = [{ name: "时时返水" }]; this.discountsList.push({ name: "æ¯æ—¥ç¾åˆ°" }); } } }, toggle: function toggle(i, item) { if (this.contentView == "agency" && i == 7) { window.open("#/agent"); } else if (this.contentView == "discounts" && i == 1) { this.onShowSignin(); } else { if (this.contentView == "withdraw") { this.payCategory(); this.$store.commit("showNav", { child: item }); this.$store.commit("showContent", { parent: "withdraw" }); } else { this.$store.commit("showNav", { child: i }); } } }, getLogContent: function getLogContent() { var _this3 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var val, msg; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.next = 2; return _this3.$http.post(_this3.$HOST_NAME + "/getPaymentMsgImg"); case 2: val = _context.sent; if (val.code == 200 && val.data.msg) { _this3.$store.state.personal.showRecharge = true; _this3.$store.state.personal.rechargeText = val.data; msg = _this3.$store.state.personal.rechargeText.msg; msg = msg.replace("{payTypeText}", "<span style='color:#058dd7'>" + _this3.$store.state.personal.rechargeText.payTypeText + "</span>"); msg = msg.replace("{preferentialText}", "<span style='color:#d06901'>" + _this3.$store.state.personal.rechargeText.preferentialText + "</span>"); msg = msg.replace("{giftMoreText}", "<span style='color:#c21358'>" + _this3.$store.state.personal.rechargeText.giftMoreText + "</span>"); _this3.$store.state.personal.rechargeText["msg"] = msg; _this3.$store.state.personal.rechargeMsg = _this3.$store.state.personal.rechargeText["msg"]; } case 4: case "end": return _context.stop(); } } }, _callee, _this3); }))(); }, toggle2: function toggle2(i, item) { var _this4 = this; // æ£åœ¨å˜æ¬¾ç‚ºä¸Šå‚³æ†‘è‰é é¢ è©¢å•æ˜¯å¦è¦å–消 if (this.$store.state.trade.inBuyerOnOrderPayStep) { // å–消彈窗跳出 if (this.currentDepositType === 0) { this.$store.commit("trade/setIsCancelBankDeposit", true); } else { this.$store.commit("trade/setIsCancelQuickDeposit", true); } this.$store.commit("trade/setRememberCancelQuickDepositSuccessNextStep", { actionType: "nav", target: { i: i, item: item } }); return; } if (item.classType == "payment" && this.$websiteName && ["hqyl", "klk", "478qp", "blr", "bet365", "mgm", "pjdc", "qygj", "tycjt", "vnso", "vnst", "jsyl", "xpj"].includes(this.$websiteName)) { this.getLogContent(); } var onlineId = item.id; this.liActive = i; if (item.classType == "bank" || item.classType == "paymentServiceLink") { this.$store.commit("showContent", { parent: "recharge" }); this.$store.commit("showNav", { child: i }); this.$store.commit("payment", item); this.$store.commit("loading", false); } else { this.$store.commit("showContent", { parent: "recharge" }); this.$store.commit("showNav", { child: i }); this.$store.commit("payment", item); var postUrl = ""; if (item.classType == "qr_code") { postUrl = "/deposit/qr_code"; } else if (item.classType == "transfer_bank" || item.classType == "transfer_account") { postUrl = "/deposit/bank"; } else if (item.classType == "virtual") { postUrl = "/deposit/usdtList"; } else { postUrl = "/deposit/online"; } var parmers = {}; if (item.classType == "transfer_bank" || item.classType == "transfer_account") parmers = { classId: item.id, devices: "pc" };else if (item.classType == "virtual") parmers = { device: "pc", classId: item.id };else parmers = { categoryId: item.id, devices: "pc" }; this.$http.post("" + (this.$HOST_NAME + postUrl), parmers).then(function (res) { if (res.code == 200) { res.data.forEach(function (v) { if (v.bankCode && v.bankCode !== "null") { v.bankCode = JSON.parse(v.bankCode); v.codeShow = true; } else { v.codeShow = false; } }); if (postUrl == "/deposit/online") { var isFormatAmount = ""; if (res.data.length > 0) { // å˜åœ¨æ”¯ä»˜æ–¹å¼ï¼Œæ‰å¤„ç† res.data.forEach(function (item, index) { if (item.formatAmount) { // å˜åœ¨ï¼Œéœ€è¦ç”¨åˆ°ä¸‹æ‹‰æ¡† // 还需è¦å¤„ç†æ•°æ® item.priceList = item.formatAmount && item.formatAmount.split(",").sort(_this4.sortNum1); item.isFormatAmount = true; } else { // ä¸éœ€è¦ç”¨åˆ°ä¸‹æ‹‰æ¡† item.isFormatAmount = false; item.quick_amount_list = []; if (item.quick_amount) { if (item.quick_amount.indexOf(",") == -1) item.quick_amount_list[0] = item.quick_amount;else item.quick_amount_list = item.quick_amount.split(",").splice(0, 8); } else { item.quick_amount_list = [50, 100, 500, 1000, 5000]; } } }); } } if (item.classType == "virtual") { _this4.$store.commit("usdtData", res.data); } else { _this4.$store.commit("paymentDataFc", res.data); } } _this4.$store.commit("loading", false); }); this.$store.commit("refresh", 1); } }, withdrawBonus: function withdrawBonus(withdrawType) { var bonusConfig = JSON.parse(localStorage.config).preferential_config.find(function (e) { return e.depositType === withdrawType; }); if (!bonusConfig || bonusConfig.config.length == 0) return null; if (bonusConfig.status === "on") { return bonusConfig.config[0].preferential; } else { return 0; } }, payCategory: function payCategory() { var _this5 = this; if (this.$store.state.personal.contentView != "recharge") { this.allList = this[this.contentView + "List"]; if (this.contentView == "agency") { if (this.personal_commission_mode == "mode_b") { if (this.$websiteName == "xpj" && this.allList.indexOf("佣金æ¡æ¬¾") <= -1) { this.allList.push("佣金æ¡æ¬¾"); } } } if (this.contentView === "withdraw") { this.$http.get(this.$HOST_NAME + "/withdrawals/categoryV2", { params: { device: "pc", template: 3 } }).then(function (res) { if (res.code == 200) { var updateList = res.data.map(function (category) { if (category.type === "ebao_withdrawals_fast" || category.type === "normal") { return { name: category.title, type: category.type, list: category.list, bonus: _this5.withdrawBonus("ebao_withdrawals_fast") }; } return { name: category.title, type: category.type, list: category.list }; }); _this5.withdrawList = [{ name: "æ款记录", type: "history" }].concat(toConsumableArray_default()(updateList)); res.data.forEach(function (category) { if (category.type === "thirdWallet") { _this5.thirdPartyType = category.list.map(function (item) { if (item.status === "on") { return item.title; } }); _this5.$store.state.personal.thirdPartyWalletType = _this5.thirdPartyType; } }); res.data.forEach(function (category) { category.list && category.list.forEach(function (item) { if (item.extra && item.extra.bookingPreferentialConfig) { if (item.extra.bookingPreferentialConfig.enable) { var bonusList = item.extra.bookingPreferentialConfig.bonus; _this5.$store.commit("setBookingConfig", [].concat(toConsumableArray_default()(bonusList))); var sortBonusList = bonusList.sort(function (a, b) { return b.bonus - a.bonus; }); _this5.$store.commit("setMaxBookingBonus", sortBonusList[0].bonus); } else { _this5.$store.commit("setBookingConfig", []); _this5.$store.commit("setMaxBookingBonus", 0); } } }); if (["ebaoWithdrawalsFast", "normal"].includes(_this5.$store.state.personal.withdrawalType) && ["ebaoWithdrawalsFast", "normal"].includes(category.type)) { _this5.$store.commit("setWithdrawalTitle", category.title); } else if (_this5.$store.state.personal.withdrawalType == category.type) { _this5.$store.commit("setWithdrawalTitle", category.title); } }); _this5.$store.commit("handleRechargeConfig", res.data); var addBank = false; var addUsdt = false; var addMipay = false; var addThirdWallet = false; var addAlipay = false; for (var k = 0; k < _this5.withdrawList.length; k++) { switch (_this5.withdrawList[k].type) { case "normal": case "ebaoWithdrawalsFast": if (!addBank) { _this5.withdrawList.push({ name: "绑定银行å¡", type: "addBank" }); addBank = true; } break; case "mipay": if (!addMipay) { _this5.withdrawList.push({ name: "绑定MIPAY", type: "addMipay" }); addMipay = true; } break; case "thirdWallet": if (!addThirdWallet) { _this5.withdrawList.push({ name: "绑定钱包", type: "addThirdWallet" }); addThirdWallet = true; } break; case "usdt": if (!addUsdt) { _this5.withdrawList.push({ name: "绑定USDT", type: "addUsdt" }); addUsdt = true; } break; case "booking": for (var kk = 0; kk < _this5.withdrawList[k].list.length; kk++) { if (!addBank && _this5.withdrawList[k].list[kk].type == "bank") { _this5.withdrawList.push({ name: "绑定银行å¡", type: "addBank" }); addBank = true; } if (!addUsdt && _this5.withdrawList[k].list[kk].type == "usdt") { _this5.withdrawList.push({ name: "绑定USDT", type: "addUsdt" }); addUsdt = true; } } break; case "alipay": if (!addAlipay) { _this5.withdrawList.push({ name: "绑定支付å®", type: "addAlipay" }); addAlipay = true; } break; } } } function customSort(a, b) { var typeOrder = { addBank: 0, addUsdt: 1, addMipay: 2, addThirdWallet: 3, addAlipay: 4 }; var aOrder = typeOrder[a.type] || 0; var bOrder = typeOrder[b.type] || 0; return aOrder - bOrder; } _this5.withdrawList = _this5.withdrawList.sort(customSort); _this5.allList = [].concat(toConsumableArray_default()(_this5.withdrawList)); }); } } else { this.getNavDatas(); if (this.contentView == "recharge") {} } }, getNavDatas: function getNavDatas() { var _this6 = this; this.allList = []; this.$store.commit("loading", true); this.$http.post(this.$HOST_NAME + "/deposit/payment/category", { devices: "pc" }).then(function (res) { // æ¤ api åªæœ‰å–得支付通é“, 為解決時間差å•é¡Œ, ä»¥ä¸‹åˆ¤æ–·åŠ ä¸Š this.contentView == 'recharge' if (res.code == 200 && _this6.contentView == "recharge") { _this6.allList = res.data; // this.$store.commit("payment", this.allList[0]); _this6.$store.commit("paymentAll", _this6.allList); if (_this6.isFromAnotherPage) { _this6.toggle2(_this6.navView, _this6.navItemData); _this6.$store.commit("trade/setIsFromAnotherPage", false); } else if (_this6.$store.state.personal.navView != 0) { _this6.toggle2(1, _this6.allList[1]); } else { _this6.toggle2(0, _this6.allList[0]); } } }); }, isNavActive: function isNavActive(category, key, item) { var navView = this.$store.state.personal.navView; if (category === "withdraw") { if (navView.type && ["normal", "ebaoWithdrawalsFast"].includes(navView.type) && ["normal", "ebaoWithdrawalsFast"].includes(item.type)) { return true; } if (navView === 4) { return item.type === "addBank"; } if (navView === 9) { return item.type === "addThirdWallet"; } if (navView === 12) { return item.type === "addAlipay"; } } return key === navView || navView.type && item.type == navView.type; } }, created: function created() { this.newShowSignin(); this.$store.commit("mainState/isGet", false); this.payCategory(); this.messageList[0].message = this.showMessage.systemUnReadCount; this.messageList[2].message = this.showMessage.replyUnReadCount; }, components: {}, computed: { contentView: function contentView() { return this.$store.state.personal.contentView; }, showMessage: function showMessage() { return this.$store.state.mainState.showMessage; }, isFromAnotherPage: function isFromAnotherPage() { return this.$store.state.trade.isFromAnotherPage; }, navView: function navView() { return this.$store.state.personal.navView; }, navItemData: function navItemData() { return this.$store.state.personal.itemDatas; }, currentDepositType: function currentDepositType() { return this.$store.state.trade.currentDepositType; } }, watch: { contentView: { handler: function handler(val, oldVal) { this.payCategory(); }, deep: true }, showMessage: { handler: function handler(newval, oldVal) { this.messageList[0].message = this.showMessage.systemUnReadCount; this.messageList[2].message = this.showMessage.replyUnReadCount; }, deep: true } }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-0867e91a","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/navmenu/nav.vue var nav_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.is_agency == 1 ? 'message' : 'message1'},[(_vm.$store.state.personal.contentView == 'withdraw')?_c('ul',_vm._l((_vm.allList),function(item,i){return _c('li',{key:i,class:[ { liActive: _vm.isNavActive(_vm.$store.state.personal.contentView, i, item) } ],on:{"click":function($event){return _vm.toggle(i, item)}}},[_c('span',[_vm._v(_vm._s(item.name))]),_vm._v(" "),(item.bonus)?_c('span',{staticClass:"hot-text"},[_vm._v("åŠ é€"+_vm._s(item.bonus)+"%")]):_vm._e()])}),0):(_vm.$store.state.personal.contentView == 'recharge')?_c('ul',_vm._l((_vm.allList),function(item,i){return _c('li',{key:i,class:{ liActive: _vm.isNavActive(_vm.$store.state.personal.contentView, i, item) },on:{"click":function($event){return _vm.toggle2(i, item)}}},[_c('span',[_vm._v(_vm._s(item.className))]),_vm._v(" "),_c('img',{directives:[{name:"show",rawName:"v-show",value:(item.labelStatus == 'on'),expression:"item.labelStatus == 'on'"}],staticClass:"iconImg",attrs:{"src":_vm.staticURL + item.labelIcon,"alt":""}})])}),0):_c('ul',{class:[ _vm.$store.state.personal.contentView == 'personage' ? 'perul' : '', _vm.personal_commission_mode == 'mode_f' ? 'domain' : '' ]},_vm._l((_vm.allList),function(item,i){return _c('li',{key:i,class:[ { liActive: _vm.isNavActive(_vm.$store.state.personal.contentView, i, item) } ],on:{"click":function($event){return _vm.toggle(i)}}},[_c('span',[_vm._v(_vm._s(item.name))])])}),0)])} var nav_staticRenderFns = [] var nav_esExports = { render: nav_render, staticRenderFns: nav_staticRenderFns } /* harmony default export */ var navmenu_nav = (nav_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/navmenu/nav.vue function nav_injectStyle (ssrContext) { __webpack_require__("atHY") } var nav_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var nav___vue_template_functional__ = false /* styles */ var nav___vue_styles__ = nav_injectStyle /* scopeId */ var nav___vue_scopeId__ = "data-v-0867e91a" /* moduleIdentifier (server only) */ var nav___vue_module_identifier__ = null var nav_Component = nav_normalizeComponent( nav, navmenu_nav, nav___vue_template_functional__, nav___vue_styles__, nav___vue_scopeId__, nav___vue_module_identifier__ ) /* harmony default export */ var personals_navmenu_nav = (nav_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personal-aside/index.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // import navAll from "../navmenu/newnav"; // è¿™ä¸ªæ˜¯æ–°çš„æ”¯ä»˜æ–¹å¼ /* harmony default export */ var personal_aside = ({ name: "personalAside", data: function data() { return { navData: [{ text: "充值", type: "recharge", img: "/static/public/image/userImg/chongzhi@3x.png" }, { text: "æ款", type: "withdraw", img: "/static/public/image/userImg/tikuan@3x.png" }, { text: "借呗", type: "borrowMoney", img: "/static/public/image/userImg/jiebei@2x.png" }, { text: "个人", type: "personage", img: "/static/public/image/userImg/geren@3x.png" }, { text: "ä¼˜æƒ ", type: "discounts", img: "/static/public/image/userImg/youhui@3x.png" }, { text: "代ç†", type: "agency", img: "/static/public/image/userImg/daili@3x.png" }, { text: "ä¿¡æ¯", type: "message", img: "/static/public/image/userImg/gonggao@3x.png" }], navData2: [{ text: "充值", type: "recharge", img: "/static/public/image/userImg/chongzhi@3x.png" }, { text: "æ款", type: "withdraw", img: "/static/public/image/userImg/tikuan@3x.png" }, { text: "借呗", type: "borrowMoney", img: "/static/public/image/userImg/jiebei@2x.png" }, { text: "个人", type: "personage", img: "/static/public/image/userImg/geren@3x.png" }, { text: "ä¼˜æƒ ", type: "discounts", img: "/static/public/image/userImg/youhui@3x.png" }, { text: "ä¿¡æ¯", type: "message", img: "/static/public/image/userImg/gonggao@3x.png" }], amount: "", name: "", placehodle: "转账金é¢", refesh: false, canClick: false, ifbalance: false, ifagent: false, agentmodel: false, isClick: false, personal_commission_mode: localStorage.personal_mode }; }, methods: { walletList: function walletList() { var _this = this; this.$http.post(this.$HOST_NAME + "/member/walletList").then(function (res) { if (res.code == 200) { if (res.data.length) { res.data.forEach(function (v) { v.created_at = _this.$moment.unix(v.created_at - 0).format("YYYY-MM-DD"); }); } _this.$store.commit("walletList", res.data); } }); }, // mipayList() { // this.$http.post(`${this.$HOST_NAME}/member/mipayList`).then(res => { // if (res.code == 200) { // if (res.data.length) { // res.data.forEach(v => { // v.created_at = this.$moment // .unix(v.created_at - 0) // .format("YYYY-MM-DD"); // }); // } // this.$store.commit("mipayList", res.data); // } // }); // }, usdtList: function usdtList() { var _this2 = this; this.$http.post(this.$HOST_NAME + "/member/usdtList").then(function (res) { if (res.code == 200) { if (res.data.length) { res.data.forEach(function (v) { v.created_at = _this2.$moment.unix(v.created_at - 0).format("YYYY-MM-DD"); }); } _this2.$store.commit("usdtList", res.data); } }); }, ebaoList: function ebaoList() { var _this3 = this; this.$http.post(this.$HOST_NAME + "/member/ebaoList").then(function (res) { if (res.code == 200) { if (res.data.length) { res.data.forEach(function (v) { v.created_at = _this3.$moment.unix(v.created_at - 0).format("YYYY-MM-DD"); }); } _this3.$store.commit("ebaoList", res.data); } }); }, alipayList: function alipayList() { var _this4 = this; this.$http.post(this.$HOST_NAME + "/member/alipayList").then(function (res) { if (res.code == 200) { if (res.data.length) { res.data.forEach(function (v) { v.created_at = _this4.$moment.unix(v.created_at - 0).format("YYYY-MM-DD"); }); } _this4.$store.commit("alipayList", res.data); } }); }, toggle: function toggle(item) { // æ£åœ¨å˜æ¬¾ç‚ºä¸Šå‚³æ†‘è‰é é¢ è©¢å•æ˜¯å¦è¦å–消 if (this.$store.state.trade.inBuyerOnOrderPayStep) { // å–消彈窗跳出 if (this.currentDepositType === 0) { this.$store.commit("trade/setIsCancelBankDeposit", true); } else { this.$store.commit("trade/setIsCancelQuickDeposit", true); } this.$store.commit("trade/setRememberCancelQuickDepositSuccessNextStep", { actionType: "personSide", target: item }); return; } if (item.type == "withdraw") { this.usdtList(); // this.mipayList(); this.ebaoList(); this.walletList(); this.alipayList(); } if (item.type == "recharge") { this.getAssertVerifyPhone(); this.$bindPhoneOrbank(); return; } else { this.$store.commit("paymentDataFc", []); this.$store.commit("setItemDatas", ""); this.$store.commit("setCategoryId", ""); } this.$store.commit("showContent", { parent: item.type }); this.$store.commit("showNav", { child: 0 }); this.$store.commit("setCurrentTypeTitle", item.text); if (item.type == "agency") { this.ifbalance = true; } else { this.ifbalance = false; } }, getBalance: function getBalance() { var _this5 = this; setTimeout(function () { if (_this5.isClick) return false; _this5.refesh = true; setTimeout(function () { _this5.refesh = false; }, 1000); _this5.isClick = true; setTimeout(function () { _this5.isClick = false; }, 5000); _this5.$getS("/member/balance").then(function (res) { if (res.code == 200) { var userinfo = JSON.parse(localStorage.userinfo); userinfo.balance = res.data.member; userinfo.agent = res.data.agency; _this5.$store.commit("mainState/reloadUserinfo", userinfo); } }); }, 500); }, getMoneySubmit: function getMoneySubmit() { var _this6 = this; if (this.canClick) { return false; } if (!this.amount) { this.$error("请输入æ款金é¢"); this.ifagent = false; return false; } if (this.amount < 1) { this.ifagent = false; this.$error("转账金é¢ä¸èƒ½å°äºŽ1å…ƒ"); return false; } if (Number(this.amount) > Number(this.userinfo_agent)) { this.ifagent = false; this.$error("转账金é¢è¾“入错误"); return false; } this.canClick = true; setTimeout(function () { _this6.canClick = false; }, 5 * 1000); this.$postS("agency/agencyToMember", { money: this.amount }).then(function (res) { if (res && res.code == 200) { _this6.amount = ""; _this6.ifagent = false; _this6.$success(res.data); } else { while (res.message.indexOf("|") >= 0) { res.message = res.message.replace("|", ""); }_this6.ifagent = false; _this6.$error(res.message); } }); }, hanlderAmount: function hanlderAmount() { if (this.amount.indexOf(".") != -1) { this.amount = this.amount.substring(0, this.amount.indexOf(".") + 3); } }, closeagent: function closeagent() { this.ifagent = false; this.amount = ""; }, getagent: function getagent() { var _this7 = this; this.amount = ""; if (this.personal_commission_mode == "mode_b") { this.$postS("agency/commissionType", { type: "1" }).then(function (res) { if (res && res.code == 200) { if (res.data[0].commission_type == 0) { _this7.agentmodel = true; } else { _this7.ifagent = true; } } else { _this7.$error(res.message); } }); } else { this.ifagent = true; } }, hidemode: function hidemode() { this.agentmodel = false; }, sendName: function sendName() { var _this8 = this; this.$postS("agency/commissionType", { type: "2" }).then(function (res) { if (res && res.code == 200) { if (res.data[0].commission_type == 1) { _this8.agentmodel = false; _this8.ifagent = true; } } else { _this8.$error(res.message); } }); }, // 充值å‰é©—è‰æ‰‹æ©Ÿ, res.data: true(顯示彈窗) || false(ä¸é¡¯ç¤º) getAssertVerifyPhone: function getAssertVerifyPhone() { var _this9 = this; this.$postS("/assertVerifyPhone", { action: "deposit" }).then(function (res) { if (res && res.code == 200) { _this9.$store.commit("alert/changbindPhone", res.data); } else { _this9.$error(res.message); } }); } }, created: function created() { var _this10 = this; // 2022/12/29 xpj80 整个“借呗â€æ‹¿æŽ‰ if (["xpj80", "xpj102"].includes(this.$websiteName)) { this.navData = this.navData.filter(function (item) { return !["borrowMoney"].includes(item.type); }); this.navData2 = this.navData2.filter(function (item) { return !["borrowMoney"].includes(item.type); }); } if (["amhg", "mgm90", "boya"].includes(this.$websiteName)) { // 5/25 amhg æ•´ä¸ªâ€œä¼˜æƒ , 借呗â€æ‹¿æŽ‰ this.navData = this.navData.filter(function (item) { return !["borrowMoney"].includes(item.type); }); this.navData2 = this.navData2.filter(function (item) { return !["borrowMoney"].includes(item.type); }); } if (this.$store.state.personal.contentView == "recharge") { this.getAssertVerifyPhone(); } if (["tvns", "txox", "js94", "amhg", "mgm90", "boye", "boya", "hg99", "betnew", "xpj80", "xpj102"].includes(this.$websiteName)) { var data = [], data2 = []; for (var k in this.navData) { data.push(this.navData[k]); if (this.navData[k].type == "withdraw") { data.push({ text: "转账", type: "transfer", img: "/static/public/image/userImg/transfer.png" }); } } for (var _k in this.navData2) { data2.push(this.navData2[_k]); if (this.navData[_k].type == "withdraw") { data2.push({ text: "转账", type: "transfer", img: "/static/public/image/userImg/transfer.png" }); } } this.navData = data; this.navData2 = data2; } if (this.$store.state.personal.contentView == "agency") { this.ifbalance = true; } if (this.$store.state.personal.contentView == "withdraw") { this.usdtList(); this.ebaoList(); // this.mipayList(); this.walletList(); } var isnav = JSON.parse(localStorage.userinfo).is_agency; if (isnav) { this.navData = this.navData; } else { this.navData = this.navData2; } if (this.$websiteName == "txox") { this.navData = this.navData2; } if (!this.name) { this.navData.forEach(function (item) { if (item.type == _this10.$store.state.personal.contentView) { _this10.name = item.text; } }); } if (!this.$store.state.game.jieBeiData.show) { this.navData = this.navData.filter(function (item) { return item.type != "borrowMoney"; }); } if (this.$websiteName == "500w") { this.navData = this.navData.filter(function (item) { return item.type == "withdraw"; }); } }, computed: { liActive: function liActive() { return this.$store.state.personal.liActive; }, navView: function navView() { return this.$store.state.personal.navView; }, text: function text() { return this.$store.state.personal.navText; }, userinfo_agent: function userinfo_agent() { return this.$store.state.mainState.userinfo.agent; }, userinfo: function userinfo() { return this.$store.state.mainState.userinfo; }, is_agency: function is_agency() { return this.$store.state.mainState.userinfo.is_agency; }, allUnReadCount: function allUnReadCount() { return this.$store.state.mainState.showMessage.allUnReadCount; }, currentTypeTitle: function currentTypeTitle() { return this.$store.state.personal.currentTypeTitle; }, currentDepositType: function currentDepositType() { return this.$store.state.trade.currentDepositType; } }, components: { navAll: personals_navmenu_nav }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-46a50b8e","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personal-aside/index.vue var personal_aside_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"peronsal-aside"},[_c('div',{staticClass:"aside-nav"},[_c('ul',[_vm._l((_vm.navData),function(item,i){return _c('li',{key:i,class:{ liActive: item.type == _vm.$store.state.personal.contentView },on:{"click":function($event){return _vm.toggle(item)}}},[_c('img',{attrs:{"src":item.img,"alt":""}}),_vm._v(" "),_c('span',[_vm._v(_vm._s(item.text))]),_vm._v(" "),(item.type == 'message' && _vm.allUnReadCount > 0)?_c('div',{staticClass:"showMessg"},[_vm._v("\n "+_vm._s(_vm.allUnReadCount)+"\n ")]):_vm._e()])}),_vm._v(" "),_c('li',{on:{"click":function($event){return _vm.$openKefu()}}},[_c('img',{attrs:{"src":"/static/public/image/userImg/kefu@3x.png","alt":""}}),_vm._v(" "),_c('span',[_vm._v("客æœ")])])],2)]),_vm._v(" "),_c('div',{staticClass:"aside-content"},[_c('div',{staticClass:"header"},[_c('p',[_vm._v(_vm._s(_vm.currentTypeTitle))]),_vm._v(" "),_c('p',[_vm._v("\n ä½™é¢:"+_vm._s(_vm.userinfo.balance)+"\n "),_c('i',{class:[ 'ivu-icon', 'ivu-icon-ios-loop-strong', { active: _vm.refesh }, { newrefresh: _vm.isClick } ],on:{"click":_vm.getBalance}})]),_vm._v(" "),(_vm.is_agency == 1)?_c('p',[_vm._v("\n 代ç†ä½£é‡‘:"+_vm._s(_vm.userinfo.agent)+"\n "),_c('img',{staticStyle:{"width":"16px","height":"12px","cursor":"pointer"},attrs:{"src":"/static/public/image/userImg/agent1.png","alt":""},on:{"click":_vm.getagent}})]):_vm._e()]),_vm._v(" "),_c('navAll',{ref:"navAll",tag:"component"})],1),_vm._v(" "),_c('Modal',{staticClass:"ifagent",attrs:{"class-name":"agent-transfer","width":"345","mask-closable":false},model:{value:(_vm.ifagent),callback:function ($$v) {_vm.ifagent=$$v},expression:"ifagent"}},[_c('div',{staticClass:"vp-admin-wrap-close",attrs:{"slot":"close"},slot:"close"}),_vm._v(" "),_c('div',{staticClass:"tishi",attrs:{"slot":"header"},slot:"header"},[_c('span',[_vm._v("代ç†ä½£é‡‘转账")])]),_vm._v(" "),_c('div',{staticClass:"agent-con"},[_c('span',{staticClass:"rename"},[_vm._v("代ç†ä½£é‡‘:"+_vm._s(_vm.userinfo_agent)+"å…ƒ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.amount),expression:"amount"}],attrs:{"type":"text","placeholder":_vm.placehodle,"id":"inputtext","onkeyup":"value=value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,'$1$2.$3')"},domProps:{"value":(_vm.amount)},on:{"blur":_vm.hanlderAmount,"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.getMoneySubmit.apply(null, arguments)},"input":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}}),_vm._v(" "),_c('label',{on:{"click":function($event){_vm.amount = _vm.userinfo_agent}}},[_vm._v("全部")]),_vm._v(" "),_c('div',{staticClass:"inco"},[_vm._v("ï¿¥")])]),_vm._v(" "),_c('div',{staticClass:"footer",attrs:{"slot":"footer"},slot:"footer"},[_c('span',{staticClass:"span1",on:{"click":function($event){_vm.ifagent = false}}},[_vm._v("å–消")]),_vm._v(" "),_c('span',{on:{"click":_vm.getMoneySubmit}},[_vm._v("确定")])])]),_vm._v(" "),_c('Modal',{staticClass:"agentmodal",attrs:{"class-name":"agent-transfer","width":"290","mask-closable":false},model:{value:(_vm.agentmodel),callback:function ($$v) {_vm.agentmodel=$$v},expression:"agentmodel"}},[_c('div',{staticClass:"vp-admin-wrap-close",attrs:{"slot":"close"},slot:"close"}),_vm._v(" "),_c('div',{staticClass:"agent-con"},[_c('span',{staticClass:"rename"},[_vm._v("æ喜您获得"+_vm._s(_vm.$siteName)+"最高代ç†æƒé™!")]),_c('br'),_vm._v(" "),_c('span',{staticClass:"newname"}),_vm._v(" "),_c('span',{staticClass:"renamenew"},[_vm._v("å³åˆ»äº«å—佣金æ现!")])]),_vm._v(" "),_c('div',{staticClass:"footer",attrs:{"slot":"footer"},slot:"footer"},[_c('span',{staticClass:"span1",on:{"click":_vm.hidemode}},[_vm._v("å–消")]),_vm._v(" "),_c('span',{on:{"click":_vm.sendName}},[_vm._v("ç«‹å³æ¿€æ´»")])])])],1)} var personal_aside_staticRenderFns = [] var personal_aside_esExports = { render: personal_aside_render, staticRenderFns: personal_aside_staticRenderFns } /* harmony default export */ var personals_personal_aside = (personal_aside_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personal-aside/index.vue function personal_aside_injectStyle (ssrContext) { __webpack_require__("XTQG") } var personal_aside_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var personal_aside___vue_template_functional__ = false /* styles */ var personal_aside___vue_styles__ = personal_aside_injectStyle /* scopeId */ var personal_aside___vue_scopeId__ = "data-v-46a50b8e" /* moduleIdentifier (server only) */ var personal_aside___vue_module_identifier__ = null var personal_aside_Component = personal_aside_normalizeComponent( personal_aside, personals_personal_aside, personal_aside___vue_template_functional__, personal_aside___vue_styles__, personal_aside___vue_scopeId__, personal_aside___vue_module_identifier__ ) /* harmony default export */ var public_personals_personal_aside = (personal_aside_Component.exports); // EXTERNAL MODULE: ./node_modules/iview/src/components/checkbox/index.js var components_checkbox = __webpack_require__("2nDa"); // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/extends.js var helpers_extends = __webpack_require__("Dd8w"); var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/recharge/realNameModal.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var realNameModal = ({ data: function data() { return { ifmodel: false, realName: "" }; }, methods: { hidemode: function hidemode() { this.ifmodel = false; }, sendName: function sendName() { var _this = this; var reg = /^[\u4E00-\u9FA5·•]+$/; if (reg.test(this.realName)) { this.$postS("member/set-member-info", { realName: this.realName }).then(function (res) { if (res && res.code == 200) { _this.ifmodel = false; UserService["a" /* default */].vpGetBasicInfo.call(_this); _this.$emit("payMoney", _this.realName); } else { _this.ifmodel = false; _this.$error(res.message); } }); } else { this.$error('请输入æ£ç¡®çš„姓å'); } } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-ab8089ba","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/recharge/realNameModal.vue var realNameModal_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Modal',{attrs:{"class-name":"agent-transfer","width":"345","mask-closable":false},model:{value:(_vm.ifmodel),callback:function ($$v) {_vm.ifmodel=$$v},expression:"ifmodel"}},[_c('div',{staticClass:"vp-admin-wrap-close",attrs:{"slot":"close"},slot:"close"}),_vm._v(" "),_c('div',{staticClass:"tishi",attrs:{"slot":"header"},slot:"header"},[_c('span',[_vm._v("请填写真实姓å")])]),_vm._v(" "),_c('div',{staticClass:"agent-con"},[_c('span',{staticClass:"rename"},[_vm._v("请务必填写真实姓åï¼Œä¸€æ—¦ç»‘å®šå°†æ— æ³•ä¿®æ”¹å§“å")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.realName),expression:"realName"}],attrs:{"type":"text","placeholder":"真实姓å","id":"inputtext","maxlength":"15"},domProps:{"value":(_vm.realName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.realName=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"footer",attrs:{"slot":"footer"},slot:"footer"},[_c('span',{staticClass:"span1",on:{"click":_vm.hidemode}},[_vm._v("å–消")]),_vm._v(" "),_c('span',{on:{"click":_vm.sendName}},[_vm._v("确定")])])])],1)} var realNameModal_staticRenderFns = [] var realNameModal_esExports = { render: realNameModal_render, staticRenderFns: realNameModal_staticRenderFns } /* harmony default export */ var recharge_realNameModal = (realNameModal_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/recharge/realNameModal.vue function realNameModal_injectStyle (ssrContext) { __webpack_require__("YgEp") } var realNameModal_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var realNameModal___vue_template_functional__ = false /* styles */ var realNameModal___vue_styles__ = realNameModal_injectStyle /* scopeId */ var realNameModal___vue_scopeId__ = "data-v-ab8089ba" /* moduleIdentifier (server only) */ var realNameModal___vue_module_identifier__ = null var realNameModal_Component = realNameModal_normalizeComponent( realNameModal, recharge_realNameModal, realNameModal___vue_template_functional__, realNameModal___vue_styles__, realNameModal___vue_scopeId__, realNameModal___vue_module_identifier__ ) /* harmony default export */ var personals_recharge_realNameModal = (realNameModal_Component.exports); // EXTERNAL MODULE: ./node_modules/moment/moment.js var moment = __webpack_require__("PJh5"); var moment_default = /*#__PURE__*/__webpack_require__.n(moment); // EXTERNAL MODULE: ./node_modules/iview/src/components/icon/icon.vue + 2 modules var icon = __webpack_require__("LW0X"); // EXTERNAL MODULE: ./node_modules/iview/src/components/icon/index.js var components_icon = __webpack_require__("EMb8"); // EXTERNAL MODULE: ./node_modules/iview/src/utils/assist.js var assist = __webpack_require__("9Xvl"); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./node_modules/iview/src/components/progress/progress.vue // // // // // // // // // // // // // // // // // // // var prefixCls = 'ivu-progress'; /* harmony default export */ var progress = ({ components: { Icon: components_icon["a" /* default */] }, props: { percent: { type: Number, default: 0 }, status: { validator: function validator(value) { return Object(assist["h" /* oneOf */])(value, ['normal', 'active', 'wrong', 'success']); }, default: 'normal' }, hideInfo: { type: Boolean, default: false }, strokeWidth: { type: Number, default: 10 }, vertical: { type: Boolean, default: false } }, data: function data() { return { currentStatus: this.status }; }, computed: { isStatus: function isStatus() { return this.currentStatus == 'wrong' || this.currentStatus == 'success'; }, statusIcon: function statusIcon() { var type = ''; switch (this.currentStatus) { case 'wrong': type = 'ios-close'; break; case 'success': type = 'ios-checkmark'; break; } return type; }, bgStyle: function bgStyle() { return this.vertical ? { height: this.percent + '%', width: this.strokeWidth + 'px' } : { width: this.percent + '%', height: this.strokeWidth + 'px' }; }, wrapClasses: function wrapClasses() { var _ref; return ['' + prefixCls, prefixCls + '-' + this.currentStatus, (_ref = {}, defineProperty_default()(_ref, prefixCls + '-show-info', !this.hideInfo), defineProperty_default()(_ref, prefixCls + '-vertical', this.vertical), _ref)]; }, textClasses: function textClasses() { return prefixCls + '-text'; }, textInnerClasses: function textInnerClasses() { return prefixCls + '-text-inner'; }, outerClasses: function outerClasses() { return prefixCls + '-outer'; }, innerClasses: function innerClasses() { return prefixCls + '-inner'; }, bgClasses: function bgClasses() { return prefixCls + '-bg'; } }, created: function created() { this.handleStatus(); }, methods: { handleStatus: function handleStatus(isDown) { if (isDown) { this.currentStatus = 'normal'; this.$emit('on-status-change', 'normal'); } else { if (parseInt(this.percent, 10) == 100) { this.currentStatus = 'success'; this.$emit('on-status-change', 'success'); } } } }, watch: { percent: function percent(val, oldVal) { if (val < oldVal) { this.handleStatus(true); } else { this.handleStatus(); } }, status: function status(val) { this.currentStatus = val; } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-376d3441","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./node_modules/iview/src/components/progress/progress.vue var progress_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.wrapClasses},[_c('div',{class:_vm.outerClasses},[_c('div',{class:_vm.innerClasses},[_c('div',{class:_vm.bgClasses,style:(_vm.bgStyle)})])]),_vm._v(" "),(!_vm.hideInfo)?_c('span',{class:_vm.textClasses},[_vm._t("default",function(){return [(_vm.isStatus)?_c('span',{class:_vm.textInnerClasses},[_c('Icon',{attrs:{"type":_vm.statusIcon}})],1):_c('span',{class:_vm.textInnerClasses},[_vm._v("\n "+_vm._s(_vm.percent)+"%\n ")])]})],2):_vm._e()])} var progress_staticRenderFns = [] var progress_esExports = { render: progress_render, staticRenderFns: progress_staticRenderFns } /* harmony default export */ var progress_progress = (progress_esExports); // CONCATENATED MODULE: ./node_modules/iview/src/components/progress/progress.vue var progress_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var progress___vue_template_functional__ = false /* styles */ var progress___vue_styles__ = null /* scopeId */ var progress___vue_scopeId__ = null /* moduleIdentifier (server only) */ var progress___vue_module_identifier__ = null var progress_Component = progress_normalizeComponent( progress, progress_progress, progress___vue_template_functional__, progress___vue_styles__, progress___vue_scopeId__, progress___vue_module_identifier__ ) /* harmony default export */ var components_progress_progress = (progress_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./node_modules/iview/src/components/upload/upload-list.vue // // // // // // // // // // // // // // // // // // // // // // // // var upload_list_prefixCls = 'ivu-upload'; /* harmony default export */ var upload_list = ({ name: 'UploadList', components: { Icon: icon["a" /* default */], iProgress: components_progress_progress }, props: { files: { type: Array, default: function _default() { return []; } } }, data: function data() { return { prefixCls: upload_list_prefixCls }; }, methods: { fileCls: function fileCls(file) { return [upload_list_prefixCls + '-list-file', defineProperty_default()({}, upload_list_prefixCls + '-list-file-finish', file.status === 'finished')]; }, handleClick: function handleClick(file) { this.$emit('on-file-click', file); }, handlePreview: function handlePreview(file) { this.$emit('on-file-preview', file); }, handleRemove: function handleRemove(file) { this.$emit('on-file-remove', file); }, format: function format(file) { var format = file.name.split('.').pop().toLocaleLowerCase() || ''; var type = 'document'; if (['gif', 'jpg', 'jpeg', 'png', 'bmp', 'webp'].indexOf(format) > -1) { type = 'image'; } if (['mp4', 'm3u8', 'rmvb', 'avi', 'swf', '3gp', 'mkv', 'flv'].indexOf(format) > -1) { type = 'ios-film'; } if (['mp3', 'wav', 'wma', 'ogg', 'aac', 'flac'].indexOf(format) > -1) { type = 'ios-musical-notes'; } if (['doc', 'txt', 'docx', 'pages', 'epub', 'pdf'].indexOf(format) > -1) { type = 'document-text'; } if (['numbers', 'csv', 'xls', 'xlsx'].indexOf(format) > -1) { type = 'stats-bars'; } if (['keynote', 'ppt', 'pptx'].indexOf(format) > -1) { type = 'ios-videocam'; } return type; }, parsePercentage: function parsePercentage(val) { return parseInt(val, 10); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-129f5080","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./node_modules/iview/src/components/upload/upload-list.vue var upload_list_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{class:[_vm.prefixCls + '-list']},_vm._l((_vm.files),function(file){return _c('li',{class:_vm.fileCls(file),on:{"click":function($event){return _vm.handleClick(file)}}},[_c('span',{on:{"click":function($event){return _vm.handlePreview(file)}}},[_c('Icon',{attrs:{"type":_vm.format(file)}}),_vm._v(" "+_vm._s(file.name)+"\n ")],1),_vm._v(" "),_c('Icon',{directives:[{name:"show",rawName:"v-show",value:(file.status === 'finished'),expression:"file.status === 'finished'"}],class:[_vm.prefixCls + '-list-remove'],attrs:{"type":"ios-close-empty"},nativeOn:{"click":function($event){return _vm.handleRemove(file)}}}),_vm._v(" "),_c('transition',{attrs:{"name":"fade"}},[(file.showProgress)?_c('i-progress',{attrs:{"stroke-width":2,"percent":_vm.parsePercentage(file.percentage),"status":file.status === 'finished' && file.showProgress ? 'success' : 'normal'}}):_vm._e()],1)],1)}),0)} var upload_list_staticRenderFns = [] var upload_list_esExports = { render: upload_list_render, staticRenderFns: upload_list_staticRenderFns } /* harmony default export */ var upload_upload_list = (upload_list_esExports); // CONCATENATED MODULE: ./node_modules/iview/src/components/upload/upload-list.vue var upload_list_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var upload_list___vue_template_functional__ = false /* styles */ var upload_list___vue_styles__ = null /* scopeId */ var upload_list___vue_scopeId__ = null /* moduleIdentifier (server only) */ var upload_list___vue_module_identifier__ = null var upload_list_Component = upload_list_normalizeComponent( upload_list, upload_upload_list, upload_list___vue_template_functional__, upload_list___vue_styles__, upload_list___vue_scopeId__, upload_list___vue_module_identifier__ ) /* harmony default export */ var components_upload_upload_list = (upload_list_Component.exports); // CONCATENATED MODULE: ./node_modules/iview/src/components/upload/ajax.js // https://github.com/ElemeFE/element/blob/dev/packages/upload/src/ajax.js function getError(action, option, xhr) { var msg = 'fail to post ' + action + ' ' + xhr.status + '\''; var err = new Error(msg); err.status = xhr.status; err.method = 'post'; err.url = action; return err; } function getBody(xhr) { var text = xhr.responseText || xhr.response; if (!text) { return text; } try { return JSON.parse(text); } catch (e) { return text; } } function upload(option) { if (typeof XMLHttpRequest === 'undefined') { return; } var xhr = new XMLHttpRequest(); var action = option.action; if (xhr.upload) { xhr.upload.onprogress = function progress(e) { if (e.total > 0) { e.percent = e.loaded / e.total * 100; } option.onProgress(e); }; } var formData = new FormData(); if (option.data) { keys_default()(option.data).map(function (key) { formData.append(key, option.data[key]); }); } formData.append(option.filename, option.file); xhr.onerror = function error(e) { option.onError(e); }; xhr.onload = function onload() { if (xhr.status < 200 || xhr.status >= 300) { return option.onError(getError(action, option, xhr), getBody(xhr)); } option.onSuccess(getBody(xhr)); }; xhr.open('post', action, true); if (option.withCredentials && 'withCredentials' in xhr) { xhr.withCredentials = true; } var headers = option.headers || {}; // if (headers['X-Requested-With'] !== null) { // xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); // } for (var item in headers) { if (headers.hasOwnProperty(item) && headers[item] !== null) { xhr.setRequestHeader(item, headers[item]); } } xhr.send(formData); } // EXTERNAL MODULE: ./node_modules/iview/src/mixins/emitter.js var emitter = __webpack_require__("pEmh"); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./node_modules/iview/src/components/upload/upload.vue // // // // // // // // // // // // // // // // // // // // // // // // // var upload_prefixCls = 'ivu-upload'; /* harmony default export */ var upload_upload = ({ name: 'Upload', mixins: [emitter["a" /* default */]], components: { UploadList: components_upload_upload_list }, props: { action: { type: String, required: true }, headers: { type: Object, default: function _default() { return {}; } }, multiple: { type: Boolean, default: false }, data: { type: Object }, name: { type: String, default: 'file' }, withCredentials: { type: Boolean, default: false }, showUploadList: { type: Boolean, default: true }, type: { type: String, validator: function validator(value) { return Object(assist["h" /* oneOf */])(value, ['select', 'drag']); }, default: 'select' }, format: { type: Array, default: function _default() { return []; } }, accept: { type: String }, maxSize: { type: Number }, beforeUpload: Function, onProgress: { type: Function, default: function _default() { return {}; } }, onSuccess: { type: Function, default: function _default() { return {}; } }, onError: { type: Function, default: function _default() { return {}; } }, onRemove: { type: Function, default: function _default() { return {}; } }, onPreview: { type: Function, default: function _default() { return {}; } }, onExceededSize: { type: Function, default: function _default() { return {}; } }, onFormatError: { type: Function, default: function _default() { return {}; } }, defaultFileList: { type: Array, default: function _default() { return []; } } }, data: function data() { return { prefixCls: upload_prefixCls, dragOver: false, fileList: [], tempIndex: 1 }; }, computed: { classes: function classes() { var _ref; return ['' + upload_prefixCls, (_ref = {}, defineProperty_default()(_ref, upload_prefixCls + '-select', this.type === 'select'), defineProperty_default()(_ref, upload_prefixCls + '-drag', this.type === 'drag'), defineProperty_default()(_ref, upload_prefixCls + '-dragOver', this.type === 'drag' && this.dragOver), _ref)]; } }, methods: { handleClick: function handleClick() { this.$refs.input.click(); }, handleChange: function handleChange(e) { var files = e.target.files; if (!files) { return; } this.uploadFiles(files); this.$refs.input.value = null; }, onDrop: function onDrop(e) { this.dragOver = false; this.uploadFiles(e.dataTransfer.files); }, uploadFiles: function uploadFiles(files) { var _this = this; var postFiles = Array.prototype.slice.call(files); if (!this.multiple) postFiles = postFiles.slice(0, 1); if (postFiles.length === 0) return; postFiles.forEach(function (file) { _this.upload(file); }); }, upload: function upload(file) { var _this2 = this; if (!this.beforeUpload) { return this.post(file); } var before = this.beforeUpload(file); if (before && before.then) { before.then(function (processedFile) { if (Object.prototype.toString.call(processedFile) === '[object File]') { _this2.post(processedFile); } else { _this2.post(file); } }, function () { // this.$emit('cancel', file); }); } else if (before !== false) { this.post(file); } else { // this.$emit('cancel', file); } }, post: function post(file) { var _this3 = this; // check format if (this.format.length) { var _file_format = file.name.split('.').pop().toLocaleLowerCase(); var checked = this.format.some(function (item) { return item.toLocaleLowerCase() === _file_format; }); if (!checked) { this.onFormatError(file, this.fileList); return false; } } // check maxSize if (this.maxSize) { if (file.size > this.maxSize * 1024) { this.onExceededSize(file, this.fileList); return false; } } this.handleStart(file); var formData = new FormData(); formData.append(this.name, file); upload({ headers: this.headers, withCredentials: this.withCredentials, file: file, data: this.data, filename: this.name, action: this.action, onProgress: function onProgress(e) { _this3.handleProgress(e, file); }, onSuccess: function onSuccess(res) { _this3.handleSuccess(res, file); }, onError: function onError(err, response) { _this3.handleError(err, response, file); } }); }, handleStart: function handleStart(file) { file.uid = Date.now() + this.tempIndex++; var _file = { status: 'uploading', name: file.name, size: file.size, percentage: 0, uid: file.uid, showProgress: true }; this.fileList.push(_file); }, getFile: function getFile(file) { var fileList = this.fileList; var target = void 0; fileList.every(function (item) { target = file.uid === item.uid ? item : null; return !target; }); return target; }, handleProgress: function handleProgress(e, file) { var _file = this.getFile(file); this.onProgress(e, _file, this.fileList); _file.percentage = e.percent || 0; }, handleSuccess: function handleSuccess(res, file) { var _file = this.getFile(file); if (_file) { _file.status = 'finished'; _file.response = res; this.dispatch('FormItem', 'on-form-change', _file); this.onSuccess(res, _file, this.fileList); setTimeout(function () { _file.showProgress = false; }, 1000); } }, handleError: function handleError(err, response, file) { var _file = this.getFile(file); var fileList = this.fileList; _file.status = 'fail'; fileList.splice(fileList.indexOf(_file), 1); this.onError(err, response, file); }, handleRemove: function handleRemove(file) { var fileList = this.fileList; fileList.splice(fileList.indexOf(file), 1); this.onRemove(file, fileList); }, handlePreview: function handlePreview(file) { if (file.status === 'finished') { this.onPreview(file); } }, clearFiles: function clearFiles() { this.fileList = []; } }, watch: { defaultFileList: { immediate: true, handler: function handler(fileList) { var _this4 = this; this.fileList = fileList.map(function (item) { item.status = 'finished'; item.percentage = 100; item.uid = Date.now() + _this4.tempIndex++; return item; }); } } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-685e74c4","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./node_modules/iview/src/components/upload/upload.vue var upload_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.prefixCls]},[_c('div',{class:_vm.classes,on:{"click":_vm.handleClick,"drop":function($event){$event.preventDefault();return _vm.onDrop.apply(null, arguments)},"dragover":function($event){$event.preventDefault();_vm.dragOver = true},"dragleave":function($event){$event.preventDefault();_vm.dragOver = false}}},[_c('input',{ref:"input",class:[_vm.prefixCls + '-input'],attrs:{"type":"file","multiple":_vm.multiple,"accept":_vm.accept},on:{"change":_vm.handleChange}}),_vm._v(" "),_vm._t("default")],2),_vm._v(" "),_vm._t("tip"),_vm._v(" "),(_vm.showUploadList)?_c('upload-list',{attrs:{"files":_vm.fileList},on:{"on-file-remove":_vm.handleRemove,"on-file-preview":_vm.handlePreview}}):_vm._e()],2)} var upload_staticRenderFns = [] var upload_esExports = { render: upload_render, staticRenderFns: upload_staticRenderFns } /* harmony default export */ var components_upload_upload = (upload_esExports); // CONCATENATED MODULE: ./node_modules/iview/src/components/upload/upload.vue var upload_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var upload___vue_template_functional__ = false /* styles */ var upload___vue_styles__ = null /* scopeId */ var upload___vue_scopeId__ = null /* moduleIdentifier (server only) */ var upload___vue_module_identifier__ = null var upload_Component = upload_normalizeComponent( upload_upload, components_upload_upload, upload___vue_template_functional__, upload___vue_styles__, upload___vue_scopeId__, upload___vue_module_identifier__ ) /* harmony default export */ var src_components_upload_upload = (upload_Component.exports); // CONCATENATED MODULE: ./node_modules/iview/src/components/upload/index.js /* harmony default export */ var components_upload = (src_components_upload_upload); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/recharge/uploadCredential.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var OSS = __webpack_require__("/Z0X"); var Client = function Client(data) { return new OSS({ region: data.region, bucket: data.bucket, accessKeyId: data.accessKeyId, accessKeySecret: data.accessKeySecret, stsToken: data.stsToken }); }; /* harmony default export */ var uploadCredential = ({ components: { Upload: components_upload }, data: function data() { return { previewImageUrl: '', isShowPreview: false, uploadCountMax: 2, // 上傳檔案數é‡ä¸Šé™ imgsMaxSize: 5, // 單檔上傳大å°ä¸Šé™ï¼ˆMB) fileList: [], newFileDir: '' }; }, props: { defaultImgUrlArray: { type: Array }, orderNo: { type: [String], required: true }, orderTime: { type: [Number, String], required: true }, isUpload: { // Todo : è¿™ä¸ªé€»è¾‘è¿´è·¯å¤ªæ¸…å¥‡ï¼Œæ— æ³•å‚é€ã€‚我感觉是个åŒé‡å¦å®šã€‚ type: Boolean, default: false }, type: { type: String } }, computed: { isUploadDisable: function isUploadDisable() { return this.fileList.length >= this.uploadCountMax; }, isUploadLoading: function isUploadLoading() { return stringify_default()(this.ossSts) == '{}'; }, ossSts: function ossSts() { return this.$store.state.trade.ossSts; }, submitPics: function submitPics() { if (!this.fileList.length) return ''; return this.fileList.reduce(function (acc, file, idx, ary) { return acc + file.newFileName + (idx < ary.length - 1 ? '|' : ''); } // newFileName1|newFileName2 , ''); } }, mounted: function mounted() { this.getAliyunSts(); if (this.defaultImgUrlArray && this.defaultImgUrlArray.length) { this.fileList = this.defaultImgUrlArray.map(function (item) { return { url: item, status: 'finished' }; }); } }, created: function created() {}, watch: { submitPics: { handler: function handler(val) { this.updateCredentialPics(); }, deep: true } }, methods: { randomString: function randomString(len) { len = len || 32; var chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678'; var maxPos = chars.length; var pwd = ''; for (var i = 0; i < len; i++) { pwd += chars.charAt(Math.floor(Math.random() * maxPos)); } return pwd; }, updateCredentialPics: function updateCredentialPics() { this.$emit("emit-credential", this.submitPics); this.$emit('emit-fileLength', this.fileList.length); }, handleView: function handleView(url) { this.previewImageUrl = url; this.isShowPreview = true; }, handleRemove: function handleRemove(idx) { this.fileList.splice(idx, 1); }, handleBeforeUpload: function handleBeforeUpload(file) { var _this = this; // 判斷檔案類型 var acceptFileType = "image/"; if (file.type.indexOf(acceptFileType) !== 0) { this.$errorAlert('\u8BF7\u786E\u8BA4\u56FE\u6863\u683C\u5F0F', 'warn'); return false; } var params = extends_default()({ order: this.orderNo, time: this.orderTime }, this.type && { type: this.type }); this.$store.dispatch("trade/getEbaoAliyunStsToken", params).then(function (res) { if (res.code === 200) { // åˆ¤æ–·æª”æ¡ˆå¤§å° var acceptFileSizeLimit = _this.imgsMaxSize * 1024 * 1024; // (MB --> Byte) if (file.size > acceptFileSizeLimit) { _this.$errorAlert('\u56FE\u7247\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7' + _this.imgsMaxSize + 'MB', 'warn'); return false; } // 指定上傳阿里雲å°æ‡‰è³‡æ–™å¤¾ï¼ˆæœ€çµ‚æ交å‰çš„åœ–ç‰‡é ˆæ”¾ç½®æ–¼ä¸åŒè³‡æ–™å¤¾-æ¯æ¬¡ä¸Šå‚³å‰ä¾æ“šç•¶å‰æ‰€æœ‰åœ–片檢查尚未使用的path if (_this.fileList.length === 0) { _this.newFileDir = _this.ossSts.path[0]; } else { var usedImgDirAry = _this.fileList.map(function (file) { return file.dir; }); var allowImgDirAry = _this.ossSts.path.filter(function (dir) { return !dir.includes(usedImgDirAry); }); _this.newFileDir = allowImgDirAry.length === 0 ? _this.ossSts.path[0] : allowImgDirAry[0]; } _this.uploadImgsToAliyun(file); } else { _this.$errorAlert(res.message, 'warn'); } }).catch(function (err) { console.log(err); }); return false; // 阻æ¢iview內建自動上傳 }, getAliyunSts: function getAliyunSts() { var params = extends_default()({ order: this.orderNo, time: this.orderTime }, this.type && { type: this.type }); this.$store.dispatch("trade/getEbaoAliyunStsToken", params).then(function (res) { if (res.code === 200) {} else { // this.$errorAlert(res.message, 'warn') // console.error(res) } }).catch(function (err) { console.log(err); }); }, uploadImgsToAliyun: function uploadImgsToAliyun(file) { var client = Client({ // region: this.ossSts.host, region: 'oss-cn-hongkong', bucket: this.ossSts.bucket, accessKeyId: this.ossSts.Credentials.AccessKeyId, accessKeySecret: this.ossSts.Credentials.AccessKeySecret, stsToken: this.ossSts.Credentials.SecurityToken }); var dir = this.newFileDir; var suffix = file.name.split('.').pop().toLowerCase(); var newFileName = ''; if (this.type === 'deposit_bank') { newFileName = dir + '.' + suffix; } else { newFileName = dir + '/' + this.randomString() + '.' + suffix; } file.dir = this.newFileDir; var that = this; client.put(newFileName, file).then(function (res) { file.url = res.url; file.newFileName = res.name; file.status = 'finished'; that.fileList.push(file); }).catch(function (err) { console.warn(err); that.$errorAlert('\u4E0A\u4F20\u5931\u8D25' + err, 'warn'); that.fileList = that.fileList.filter(function (file) { return !!file.newFileName; }); // 移除上傳失敗的圖片 }); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-16efbc2a","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/recharge/uploadCredential.vue var uploadCredential_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"upload-wrap"},[(_vm.type !== 'seller_credential')?_c('div',{staticClass:"desc"},[_c('h4',[_vm._v("ä¸Šä¼ æ”¯ä»˜å‡è¯("+_vm._s(_vm.fileList.length)+"/"+_vm._s(_vm.uploadCountMax)+"):")]),_vm._v(" "),(!_vm.isUpload)?_c('h5',[_vm._v("ä¸Šä¼ å‡è¯åŽå³å¯ç¡®è®¤ä»˜æ¬¾")]):_vm._e()]):_vm._e(),_vm._v(" "),_vm._l((_vm.fileList),function(file,idx){return _c('div',{key:idx,staticClass:"upload-list"},[(file.status === 'finished')?[_c('img',{attrs:{"src":file.url}}),_vm._v(" "),_c('div',{staticClass:"upload-list-cover"},[_c('Icon',{attrs:{"type":"ios-eye-outline"},nativeOn:{"click":function($event){return _vm.handleView(file.url)}}}),_vm._v(" "),(!_vm.isUpload)?_c('Icon',{attrs:{"type":"ios-trash-outline"},nativeOn:{"click":function($event){return _vm.handleRemove(idx)}}}):_vm._e()],1)]:void 0],2)}),_vm._v(" "),(!_vm.isUpload)?_c('Upload',{ref:"upload",class:['upload-credential', {disabled: _vm.isUploadDisable}, {unready: _vm.isUploadLoading}],attrs:{"show-upload-list":true,"before-upload":_vm.handleBeforeUpload,"type":"drag","action":"1"}},[_c('div',{staticClass:"upload-button"})]):_vm._e()],2),_vm._v(" "),_c('Modal',{staticClass:"previewImgModal",attrs:{"title":"预览"},model:{value:(_vm.isShowPreview),callback:function ($$v) {_vm.isShowPreview=$$v},expression:"isShowPreview"}},[(_vm.isShowPreview)?_c('img',{staticStyle:{"width":"100%"},attrs:{"src":_vm.previewImageUrl}}):_vm._e(),_vm._v(" "),_c('div',{attrs:{"slot":"footer"},slot:"footer"})])],1)} var uploadCredential_staticRenderFns = [] var uploadCredential_esExports = { render: uploadCredential_render, staticRenderFns: uploadCredential_staticRenderFns } /* harmony default export */ var recharge_uploadCredential = (uploadCredential_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/recharge/uploadCredential.vue function uploadCredential_injectStyle (ssrContext) { __webpack_require__("hE/7") } var uploadCredential_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var uploadCredential___vue_template_functional__ = false /* styles */ var uploadCredential___vue_styles__ = uploadCredential_injectStyle /* scopeId */ var uploadCredential___vue_scopeId__ = "data-v-16efbc2a" /* moduleIdentifier (server only) */ var uploadCredential___vue_module_identifier__ = null var uploadCredential_Component = uploadCredential_normalizeComponent( uploadCredential, recharge_uploadCredential, uploadCredential___vue_template_functional__, uploadCredential___vue_styles__, uploadCredential___vue_scopeId__, uploadCredential___vue_module_identifier__ ) /* harmony default export */ var personals_recharge_uploadCredential = (uploadCredential_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/recharge/Internetbank.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var Internetbank = ({ data: function data() { return { bankAddress: '', bankShow: false, single: true, subMitStaue: true, notice: 'å…¬å¸é“¶è¡Œè´¦å·éšæ—¶æ›´æ¢! 请æ¯æ¬¡å˜æ¬¾éƒ½è‡³ [汇款æ交] 进行æ“作。 入款至已过期账å·ï¼Œå…¬å¸æ— 法查收,æ•ä¸è´Ÿè´£!', // 顶部公告 selectedAmount: '', amount: '', // ifmodel:false, depositBank: {}, amountRadio: [], depositDetail: {}, depositId: '', realName: '', showname: false, typeList: [{ name: '网银转账', value: '网银转账' }, { name: '支付å®è½¬è´¦', value: '支付å®è½¬è´¦' }, { name: '微信转账', value: '微信转账' }, { name: '银行柜å°', value: '银行柜å°' }, { name: 'ATM现金', value: 'ATM现金' }, { name: 'ATMå¡è½¬', value: 'ATMå¡è½¬' }, { name: '手机转账', value: '手机转账' }, { name: '其他', value: '其他方å¼' }], bankData: ['工商银行', '农业银行', '建设银行', '招商银行', 'ä¸å›½é“¶è¡Œ', '浦å‘银行', 'ä¸ä¿¡é“¶è¡Œ', '交通银行', '民生银行', '兴业银行', '邮政银行', '光大银行', 'åŽå¤é“¶è¡Œ', '浙商银行', '包商银行', '北京银行', '上海银行', '东莞银行', '广å‘银行', '平安银行', '徽商银行', '江è‹é“¶è¡Œ', '北京农商', 'æˆéƒ½é“¶è¡Œ', 'å‰æž—银行', '农æ‘信用社', '哈尔滨银行', '深圳å‘展银行', '浙江网商银行', 'ç¦å»ºå†œæ‘信用社', '广州农æ‘商业银行', '其它'], type: '网银转账', toastShow: false, toastNum: 345, toastText: '请选择å˜æ¬¾é‡‘é¢', timer: '', preferentialList: [], preferentiaId: '', name: '', discountList: [], discountVal: '', orderParams: {}, orderStatusData: null, showDepositInfo: false, checkedOrderMoney: 0, reminderTimeValue: 900, reminderTimer: null, countdownTimeValue: 0, countdownTimer: null, reasonOptions: [], cancelReason: '', credentialPics: "", orderStatusTimer: null, bankDepositStepActive: 1, inCredentialUploading: false, selectedBank: null, pollingOrderInterval: 0, isCancelUploadCredential: false, isRewardBankDeposit: false, depositLimit: { deposit_limit: 0, deposit_times: 0 }, isAlreadyDeposit: false, alreadyDepositOrderData: null, rewardMessage: '' }; }, methods: { payMoney: function payMoney(realName) { this.name = realName; this.application(); }, getDisCountData: function getDisCountData() { var _this = this; this.$http.post(this.$HOST_NAME + '/deposit/getDepositBonusList ', { depositType: 'bank' }).then(function (res) { if (res.code == 200 && res.data.length > 0) { for (var i = 0; i < res.data.length; i++) { res.data[i].val = i; res.data[i].bonusRate = res.data[i].bonusRate.toString(); } _this.discountList = res.data; _this.discountVal = res.data[0].bonusRate.indexOf('_') === -1 ? res.data[0].bonusRate : res.data[0].bonusRate.split('_')[1]; } }); }, // 银行å¡ä¿¡æ¯å¤åˆ¶ onCopy: function onCopy(text) { var _this2 = this; this.$copyText(text.replace(/\s*/g, '')).then(function () { _this2.$success('å¤åˆ¶æˆåŠŸ'); }); }, // 清除 formClean: function formClean() { this.depositId = ''; this.amount = ''; this.type = '网银转账'; this.bankShow = false; this.subMitStaue = true; this.selectedAmount = ''; }, // å˜æ¬¾ç”³è¯· application: function application() { var _this3 = this; var quickParams = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; if (!!quickParams) { // 急速轉網銀 var bank = quickParams.res.data.bank[0]; this.selectedBank = { id: bank.id, bankId: bank.cardNum.replace(/\s/g, ''), cardName: bank.cardName, bankName: bank.bankName, bankAddress: bank.bankAddress }; this.amount = quickParams.data.money; this.name = quickParams.data.realName; } else { // 網銀 if (!JSON.parse(localStorage.userinfo).realName && !this.name) { this.$refs.realModal.ifmodel = true; return false; } var _$refs$moneyInput$get = this.$refs.moneyInput.getBoundingClientRect(), moneyInputTop = _$refs$moneyInput$get.top, moneyInputHeight = _$refs$moneyInput$get.height; var toastHeight = moneyInputTop - moneyInputHeight / 2 - 5; if (!this.dInvalidMoney(this.amount)) { this.toastShow = true; this.toastText = '请输入æ£ç¡®å˜æ¬¾é‡‘é¢'; this.toastNum = toastHeight || 120; setTimeout(function () { _this3.toastShow = false; }, 2000); return false; } var _depositBank = this.depositBank, id = _depositBank.id, cardNum = _depositBank.cardNum, cardName = _depositBank.cardName, bankName = _depositBank.bankName, min_amount = _depositBank.min_amount, max_amount = _depositBank.max_amount; min_amount = min_amount > 10 ? min_amount : 10; if (this.amount - 0 < min_amount) { this.toastShow = true; this.toastText = '\u5B58\u6B3E\u91D1\u989D\u4E0D\u80FD\u4F4E\u4E8E ' + min_amount + ' \u5143'; this.toastNum = toastHeight || 120; setTimeout(function () { _this3.toastShow = false; }, 2000); return false; } if (max_amount > 0 && this.amount - 0 > max_amount) { this.toastShow = true; this.toastText = '\u5355\u7B14\u6700\u9AD8\u9650\u989D: ' + max_amount; setTimeout(function () { _this3.toastShow = false; }, 2000); this.toastNum = toastHeight || 120; return false; } this.selectedBank = { id: id, bankId: cardNum.replace(/\s/g, ''), cardName: cardName, bankName: bankName, bankAddress: this.depositBank.bankAddress }; } if (this.amount > 100 && this.amount % 100) { this.$error('å˜æ¬¾é‡‘é¢é¡»ä¸º100çš„æ•´æ•°å€æ•°ï¼Œ\n已为您调整'); this.amount = Math.floor(this.amount / 100) * 100; this.selectedAmount = ''; return; } this.checkedOrderMoney = this.amount; this.toastShow = false; this.timer = moment_default()(new Date()).format("YYYY-MM-DD HH:mm"); var data = { amount: this.checkedOrderMoney, depositId: this.selectedBank.id, bankId: this.selectedBank.bankId, // 用户银行å¡å· bankName: this.selectedBank.bankName, // 用户银行å称 bankAccountName: this.selectedBank.cardName, // 用户姓å bankSerialNumber: '', type: this.className, classId: this.depositBank.id, preferentialId: this.preferentiaId, depositRealName: this.name, depositTime: this.timer, bonusRate: this.discountVal }; if (this.className.includes('网银转账')) { delete data.classId; } if (data.bonusRate == "") delete data.bonusRate; this.$http.post(this.$HOST_NAME + '/deposit/applicationOther', data).then(function (res) { // 5020 有尚未完æˆçš„充值單,需è¦å…ˆå®Œæˆã€‚é–‹å•Ÿæ示彈窗 if (res.code === 5020) { _this3.alreadyDepositOrderData = extends_default()({}, res.data, { message: res.message }); _this3.isAlreadyDeposit = true; return; } if (res.code == 200) { _this3.bankShow = true; _this3.showDepositInfo = true; _this3.$store.commit('trade/setInBuyerOnOrderPayStep', true); _this3.$store.commit('trade/setCurrentDepositType', 0); _this3.$store.commit('trade/setRememberCancelQuickDepositSuccessNextStep', { actionType: '', target: '' }); _this3.formClean(); } else { _this3.$error(res.message); } }); }, // 获å–系统入款å¡ä¿¡æ¯ getbank: function getbank() { var _this4 = this; this.$store.commit('loading', true); var params = { devices: 'pc' }; if (this.className.includes('云闪付')) { var bank = this.$store.state.personal.paymentAll.find(function (item) { return item.className === '云闪付'; }); params = { devices: 'pc', classId: bank.id }; } this.$http.post(this.$HOST_NAME + '/deposit/bank', params).then(function (res) { if (res.code == 200) { _this4.bankAddress = res.data[0].cardAddress; res.data.forEach(function (v) { if (_this4.bankData.indexOf(v.bankName) != -1) { v.imgUrl = '/static/public/image/bankImg/' + v.bankName + '.png'; } else { if (v.bankName == '广州å‘展银行') { v.imgUrl = '/static/public/image/bankImg/' + v.bankName + '.png'; } else { v.imgUrl = '/static/public/image/bankImg/morenBank.png'; } } v.cardNum = v.cardNum.replace(/\s/g, ' ').replace(/(.{4})/g, '$1 '); }); if (res.data[0]) { _this4.depositBank = res.data[0]; var quickAmount = res.data[0].quick_amount; _this4.amountRadio = quickAmount ? quickAmount.split(',') : []; } _this4.$store.commit('loading', false); } else { _this4.$error(res.message, 6000); } }); }, sendmoney: function sendmoney() { var _this5 = this; if (!this.subMitStaue) { return false; } this.subMitStaue = false; setTimeout(function () { _this5.subMitStaue = true; }, 5 * 1000); var data = { amount: this.checkedOrderMoney, depositId: this.selectedBank.id, bankId: this.selectedBank.bankId, // 用户银行å¡å· bankName: this.selectedBank.bankName, // 用户银行å称 bankAccountName: this.selectedBank.cardName, // 用户姓å bankSerialNumber: '', type: this.className, preferentialId: this.preferentiaId, depositRealName: this.name, depositTime: this.timer, bonusRate: this.discountVal }; if (data.bonusRate == "") delete data.bonusRate; this.$http.post(this.$HOST_NAME + '/deposit/application', data).then(function (res) { if (res.code === 5020) { _this5.alreadyDepositOrderData = extends_default()({}, res.data, { message: res.message }); _this5.isAlreadyDeposit = true; return; } if (res.code == 200) { _this5.$success('æ交æˆåŠŸï¼Œè¯·ç‰å¾…å®¡æ ¸'); if (res && res.extra) { _this5.orderParams = res.extra; _this5.bankDepositStepActive = 2; _this5.$store.commit('trade/setInBuyerOnOrderPayStep', false); _this5.startPollingOrderStatus(res.extra.orderId, res.extra.check_interval, true); } } else { _this5.$error(res.message); } }); }, // 获å–å˜æ¬¾ä¼˜æƒ æ–¹å¼ getPreferential: function getPreferential() { // this.$http.post(`${this.$HOST_NAME}/preferential/deposit`).then(res => { // if (res.code == 200) { // res.data.forEach((v, i) => { // this.preferentialList[i] = {}; // this.preferentialList[i].id = v.id; // this.preferentialList[i].title = v.title; // }); // } // }); }, changeRadio: function changeRadio(newVal) { if (newVal === '自定义') { this.amount = ''; } else { this.amount = newVal; } }, startPollingOrderStatus: function startPollingOrderStatus(orderId, time, immediate) { var _this6 = this; if (!orderId || !time) return; if (!!immediate) { this.$http.post(this.$HOST_NAME + '/deposit/order', { orderId: orderId, sv: '230620' }).then(function (res) { if (res.code !== 200) { _this6.$error(res.message); return; } _this6.orderStatusData = res.data; if (["success", "fail"].includes(res.data.status)) { var msg = res.data.status === "fail" ? '交易失敗' : '交易完æˆ'; _this6.$success(msg); if (res.data.payment_img && res.data.payment_img.length > 0) { _this6.initStep(); } return; } _this6.orderStatusTimer = setTimeout(function () { return _this6.startPollingOrderStatus(orderId, time, true); }, time * 1000); }); } else { this.orderStatusTimer = setTimeout(function () { return _this6.startPollingOrderStatus(orderId, time, true); }, time * 1000); } }, startTimer: function startTimer() { var _this7 = this; this.countdownTimer && clearInterval(this.countdownTimer); this.countdownTimer = setInterval(function () { _this7.countDown(); }, 1000); }, stopTimer: function stopTimer() { clearInterval(this.countdownTimer); this.countdownTimer = null; }, countDown: function countDown() { this.countdownTimeValue--; if (this.countdownTimeValue <= 0) { this.stopTimer(); this.confirmCancelDepositHandler(); } }, startRemiderTimer: function startRemiderTimer() { var _this8 = this; this.reminderTimer && clearInterval(this.reminderTimer); this.reminderTimer = setInterval(function () { _this8.remiderCountdown(); }, 1000); }, stopRemiderTimer: function stopRemiderTimer() { clearInterval(this.reminderTimer); this.reminderTimer = null; }, remiderCountdown: function remiderCountdown() { this.reminderTimeValue--; if (this.reminderTimeValue <= 0) { this.stopRemiderTimer(); } }, getCancelReason: function getCancelReason() { var _this9 = this; this.$store.dispatch('trade/getDepositCancelReason').then(function (res) { if (res.code === 200 && res.data) { _this9.reasonOptions = res.data; _this9.cancelReason = _this9.reasonOptions[0]; } }); }, showCancelDepositModalHandler: function showCancelDepositModalHandler() { var show = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var resetTarget = arguments[1]; if (resetTarget) { this.$store.commit('trade/setRememberCancelQuickDepositSuccessNextStep', { actionType: '', target: '' }); } this.$store.commit('trade/setIsCancelBankDeposit', show); }, confirmCancelDepositHandler: function confirmCancelDepositHandler() { var _this10 = this; this.$store.dispatch('trade/cancelDeposit').then(function (res) { if (res.code === 200) { _this10.cancelReason = _this10.reasonOptions[0]; _this10.clearTimer(); // this.getCountdownTime() _this10.orderParams = {}; _this10.credentialPics = ""; _this10.showDepositInfo = false; _this10.bankDepositStepActive = 1; _this10.showCancelDepositModalHandler(false); _this10.$store.commit('trade/setInBuyerOnOrderPayStep', false); _this10.$success('æˆåŠŸå–消'); var quickDeposit = _this10.$store.state.personal.paymentAll.find(function (item) { return item.classType === 'e_quick_deposit'; }); var bankDeposit = _this10.$store.state.personal.paymentAll.find(function (item) { return item.classType === 'bank'; }); if (quickDeposit) { // 轉回原來 category 極速 _this10.$goUserCen('recharge', 4); _this10.$store.commit('setItemDatas', extends_default()({}, quickDeposit)); } else if (bankDeposit) { // do nothing } if (_this10.$store.state.trade.cancelQuickDepositSuccessNextStepActionType) { var item = null; switch (_this10.$store.state.trade.cancelQuickDepositSuccessNextStepActionType) { case 'close': _this10.$store.commit('showPersonal', { bool: false }); _this10.$store.commit('paymentDataFc', []); _this10.$store.commit('setItemDatas', ''); _this10.$store.commit('setCategoryId', ''); break; case 'personSide': item = _this10.$store.state.trade.cancelQuickDepositSuccessNextStepActionTarget; if (item.type == 'withdraw') { _this10.$parent.$refs.peronsalAside.usdtList(); _this10.$parent.$refs.peronsalAside.ebaoList(); } if (item.type == 'recharge') { _this10.$parent.$refs.peronsalAside.getAssertVerifyPhone(); _this10.$bindPhoneOrbank(); return; } else { _this10.$store.commit('paymentDataFc', []); _this10.$store.commit('setItemDatas', ''); _this10.$store.commit('setCategoryId', ''); } _this10.$store.commit("showContent", { parent: item.type }); _this10.$store.commit("showNav", { child: 0 }); _this10.$store.commit('setCurrentTypeTitle', item.text); if (item.type == "agency") { _this10.ifbalance = true; } else { _this10.ifbalance = false; } break; case 'nav': item = _this10.$store.state.trade.cancelQuickDepositSuccessNextStepActionTarget.item; var i = _this10.$store.state.trade.cancelQuickDepositSuccessNextStepActionTarget.i; _this10.$store.commit('showContent', { parent: 'recharge' }); _this10.$store.commit('showNav', { child: i }); _this10.$store.commit('payment', item); _this10.$store.commit('refresh', 1); break; } } _this10.$store.commit('trade/setRememberCancelQuickDepositSuccessNextStep', { actionType: '', target: '' }); } else { _this10.$error(res.message); _this10.$store.commit('trade/setRememberCancelQuickDepositSuccessNextStep', { actionType: 'close', target: '' }); } }); }, confirmRewardDepositHandler: function confirmRewardDepositHandler() { this.isRewardBankDeposit = false; }, handleAlreadyDepositClick: function handleAlreadyDepositClick() { this.isAlreadyDeposit = false; if (this.alreadyDepositOrderData) { var _alreadyDepositOrderD = this.alreadyDepositOrderData, type = _alreadyDepositOrderD.type, order = _alreadyDepositOrderD.order, time = _alreadyDepositOrderD.time; this.$store.commit('trade/setDepositDataParams', { code: order, time: time }); this.$store.commit('trade/setCurrentBuyerOrder', order); this.$store.commit('trade/setIsFromAnotherPage', true); this.$store.commit('setCurrentTypeTitle', '充值'); this.getDepositOrderData(); } }, getCredentialPics: function getCredentialPics(pics) { this.credentialPics = pics; }, remindOrderHandler: function remindOrderHandler() { var _this11 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var params, _ref, code, data, status; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: params = { orderId: _this11.orderParams.orderId, type: 'Deposit', get_kefu: 1 }; _context.next = 3; return _this11.$http.post(_this11.$HOST_NAME + '/onlineBank/call', params); case 3: _ref = _context.sent; code = _ref.code; data = _ref.data; status = _ref.status; if (code === 200 && data.kefu_url) { window.open(data.kefu_url, '_blank'); } // if (code === 400 && status.call_count_down) { // const remindCountdown = parseInt(status.call_count_down.toString().padEnd("13", '0')) // const timeDiffToSecond = Math.floor((remindCountdown - Date.now()) / 1000) // if (timeDiffToSecond) { // this.reminderTimeValue = timeDiffToSecond // this.startRemiderTimer() // } // } case 8: case 'end': return _context.stop(); } } }, _callee, _this11); }))(); }, clearTimer: function clearTimer() { this.countdownTimer && clearInterval(this.countdownTimer); this.countdownTimer = null; this.reminderTimer && clearInterval(this.reminderTimer); this.reminderTimer = null; this.orderStatusTimer && clearInterval(this.orderStatusTimer); this.orderStatusTimer = null; }, convertTime: function convertTime(time) { var minute = Math.floor(time / 60).toString().padStart(2, '0'); var second = (time % 60).toString().padStart(2, '0'); return minute + ':' + second; }, uploadCredential: function uploadCredential() { var _this12 = this; if (this.credentialPics.length === 0) { this.$error('\u8BF7\u4E0A\u4F20\u51ED\u8BC1\u56FE\u6863'); return; } this.inCredentialUploading = true; var params = { orderId: this.orderParams.orderId, time: this.orderParams.time, pic: this.credentialPics, sv: '230626' }; this.$http.post(this.$HOST_NAME + '/deposit/upload ', params).then(function (res) { if (res.code === 200) { _this12.bankDepositStepActive = 3; _this12.isRewardBankDeposit = true; _this12.rewardMessage = res.message; // 直接倒數五分é˜ã€‚從帳變進來的話看 order 給的 call_countdown _this12.reminderTimeValue = 300; _this12.startRemiderTimer(); } else { _this12.$error('ä¸Šä¼ å¤±è´¥'); } }).finally(function () { _this12.inCredentialUploading = false; }); }, showCancelUploadCredential: function showCancelUploadCredential() { // if (this.orderStatusData.status !== 'success') { // this.isCancelUploadCredential = true // } else { // this.cancelUploadCredentail() // } this.isCancelUploadCredential = true; }, cancelUploadCredentail: function cancelUploadCredentail() { var _this13 = this; this.clearTimer(); // this.getCountdownTime() this.orderParams = {}; this.subMitStaue = true; this.credentialPics = ""; this.showDepositInfo = false; this.bankDepositStepActive = 1; this.isCancelUploadCredential = false; if (this.itemDatas.category) { var quickDepositNavIndex = this.itemDatas.category.findIndex(function (item) { return item.classType === 'e_quick_deposit'; }); if (quickDepositNavIndex === -1) return; // ä¸æ‰“這支 API æ€¥é€Ÿæœƒæ²’ç•«é¢ this.$store.commit("loading", true); var categoryId = this.itemDatas.category[quickDepositNavIndex].id; var params = { categoryId: categoryId, devices: "pc" }; this.$http.post(this.$HOST_NAME + '/deposit/online', params).then(function (res) { if (res.code == 200) { if (res.data.length > 0) { res.data.forEach(function (item, index) { if (item.bankCode && item.bankCode !== "null") { item.bankCode = JSON.parse(item.bankCode); item.codeShow = true; } else { item.codeShow = false; } if (item.formatAmount) { item.priceList = item.formatAmount && item.formatAmount.split(",").sort(_this13.sortNum1); item.isFormatAmount = true; } else { item.isFormatAmount = false; item.quick_amount_list = []; if (item.quick_amount) { if (item.quick_amount.indexOf(",") == -1) item.quick_amount_list[0] = item.quick_amount;else item.quick_amount_list = item.quick_amount.split(",").splice(0, 8); } else { item.quick_amount_list = [50, 100, 500, 1000, 5000]; } } }); } _this13.$store.commit("setCategoryId", categoryId); _this13.$store.commit("paymentDataFc", res.data); _this13.$store.commit('trade/setIsFromAnotherPage', true); _this13.$goUserCen('recharge', quickDepositNavIndex); _this13.$store.commit('setItemDatas', _this13.itemDatas.category[quickDepositNavIndex]); } _this13.$store.commit("loading", false); }); } }, getDepositOrderData: function getDepositOrderData() { var _this14 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee2() { var _$store$state$trade$d, orderId, time; return regenerator_default.a.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: if (_this14.$store.state.trade.isFromAnotherPage) { _context2.next = 2; break; } return _context2.abrupt('return'); case 2: _$store$state$trade$d = _this14.$store.state.trade.depositDataParams, orderId = _$store$state$trade$d.order, time = _$store$state$trade$d.time; if (orderId) { _this14.orderParams = { orderId: orderId, time: time }; _this14.$http.post(_this14.$HOST_NAME + '/deposit/order', { orderId: orderId, sv: '230620' }).then(function (res) { if (res.code !== 200) { _this14.$error(res.message); return; } _this14.orderStatusData = res.data; _this14.checkedOrderMoney = res.data.amount; _this14.showDepositInfo = true; _this14.selectedBank = { bankName: res.data.bankName, cardName: res.data.bankAccountName, bankId: res.data.bankId, bankAccount: res.data.bankAccount }; _this14.bankAddress = res.data.bankAddress; var remindCountdown = parseInt(res.data.call_countdown.toString().padEnd("13", '0')); var timeDiffToSecond = Math.floor((remindCountdown - Date.now()) / 1000); if (timeDiffToSecond > 0) { _this14.reminderTimeValue = timeDiffToSecond; _this14.startRemiderTimer(); } if (res.data.payment_img.length > 0) { _this14.bankDepositStepActive = 3; } else { _this14.bankDepositStepActive = 2; } if (res.data.status !== 'success') { _this14.startPollingOrderStatus(orderId, _this14.pollingOrderInterval || 10); } }); } case 4: case 'end': return _context2.stop(); } } }, _callee2, _this14); }))(); }, initStep: function initStep() { this.clearTimer(); this.orderParams = {}; this.credentialPics = ""; this.orderStatusData = null; this.showDepositInfo = false; this.bankDepositStepActive = 1; }, copyText: function copyText(text) { var _this15 = this; this.$copyText(text).then(function () { _this15.$success('å¤åˆ¶æˆåŠŸ'); }); }, getDepositLimit: function getDepositLimit() { var _this16 = this; this.$store.dispatch('trade/getDepositLimit').then(function (res) { if (res.code === 200) { _this16.depositLimit = res.data; } }); } }, created: function created() { this.getbank(); this.getDisCountData(); this.getCancelReason(); this.getDepositOrderData(); this.getDepositLimit(); if (this.$store.state.personal.paymentModalMoney) { this.amount = this.$store.state.personal.paymentModalMoney; } var realName = JSON.parse(localStorage.userinfo).realName; if (realName) { this.name = realName; } }, mounted: function mounted() { // if(this.onFastTobank.needChange){ // console.log('in') // this.application(this.onFastTobank.data) // } }, destroyed: function destroyed() { this.$store.commit('loading', false); this.clearTimer(); }, components: { realModal: personals_recharge_realNameModal, Checkbox: components_checkbox["a" /* default */], uploadCredential: personals_recharge_uploadCredential }, computed: { rewardMoney: function rewardMoney() { var preferential = this.preferentialConfig ? this.preferentialConfig.preferential : null; if (!preferential) return 0; return '' + (+this.checkedOrderMoney * this.preferentialConfig.preferential / 100).toFixed(2); }, canUpdateRealName: function canUpdateRealName() { if (localStorage.config) { var config = JSON.parse(localStorage.config); return config.deposit_change_realname === 'off'; } return false; }, countdownTime: function countdownTime() { return this.convertTime(this.countdownTimeValue); }, remindeOrderCountdownTime: function remindeOrderCountdownTime() { return this.convertTime(this.reminderTimeValue); }, isCancelBankDeposit: function isCancelBankDeposit() { return this.$store.state.trade.isCancelBankDeposit; }, onFastTobank: function onFastTobank() { return this.$store.state.trade.onFastTobank; }, defaultImgUrlArray: function defaultImgUrlArray() { return this.orderStatusData ? this.orderStatusData.payment_img : []; }, isOrderFinish: function isOrderFinish() { return this.orderStatusData ? this.orderStatusData.status === 'success' : false; }, className: function className() { return this.$store.state.personal.itemDatas.className; }, preferentialConfig: function preferentialConfig() { var bonusConfig = JSON.parse(localStorage.config).preferential_config.find(function (e) { return e.depositType === 'ebao_deposit_fast'; }); if (!bonusConfig) return null; if (bonusConfig.status === 'on') { return bonusConfig.config[0]; } else { return false; } }, itemDatas: function itemDatas() { return this.$store.state.personal.itemDatas; }, hasVoucherUploaded: function hasVoucherUploaded() { return this.bankDepositStepActive >= 3 || this.orderStatusData && this.orderStatusData.payment_img.length > 0; } }, watch: { isCancelBankDeposit: function isCancelBankDeposit(val) { val && this.getDepositLimit(); }, className: { handler: function handler(val, oldVal) { this.getbank(); }, deep: true } }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-055fd618","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/recharge/Internetbank.vue var Internetbank_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"internerBank"},[_c('div',{staticClass:"header"},[_c('div',{staticClass:"header-title"},[_c('img',{attrs:{"src":"/static/public/image/userImg/quick-deposit-logo.png"}}),_vm._v(" "),_c('h3',[_vm._v(_vm._s(_vm.className))])])]),_vm._v(" "),_c('div',{staticClass:"form-content"},[_c('div',{staticClass:"order-content"},[_c('div',{staticClass:"bar name"},[_c('label',{staticClass:"text"},[_vm._v("å˜æ¬¾å§“å:")]),_vm._v(" "),_c('div',{staticClass:"input-content"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.name),expression:"name"}],attrs:{"type":"text","disabled":_vm.canUpdateRealName},domProps:{"value":(_vm.name)},on:{"input":function($event){if($event.target.composing){ return; }_vm.name=$event.target.value}}}),_vm._v(" "),_c('Checkbox',{directives:[{name:"show",rawName:"v-show",value:(!_vm.canUpdateRealName),expression:"!canUpdateRealName"}],staticClass:"save-name",attrs:{"size":"large"},model:{value:(_vm.single),callback:function ($$v) {_vm.single=$$v},expression:"single"}},[_vm._v("\n ä¿å˜å§“å\n ")])],1)]),_vm._v(" "),_c('div',{staticClass:"bar amount"},[_c('label',{staticClass:"text"},[_vm._v("å˜æ¬¾é‡‘é¢ï¼š")]),_vm._v(" "),_c('div',{staticClass:"amount-content"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.amount),expression:"amount"}],ref:"moneyInput",attrs:{"type":"text","placeholder":("å•ç¬”å˜æ¬¾é‡‘é¢ï¼š" + (this.depositBank.min_amount || 0) + " ~ " + (this.depositBank.max_amount || 0))},domProps:{"value":(_vm.amount)},on:{"input":[function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value},function($event){_vm.selectedAmount = ''}]}}),_vm._v(" "),_c('RadioGroup',{on:{"on-change":_vm.changeRadio},model:{value:(_vm.selectedAmount),callback:function ($$v) {_vm.selectedAmount=$$v},expression:"selectedAmount"}},_vm._l((_vm.amountRadio),function(amountItem,i){return _c('Radio',{key:i,attrs:{"label":amountItem}},[_c('span',{staticClass:"radio-span"},[_vm._v(_vm._s(amountItem))])])}),1)],1)]),_vm._v(" "),(!_vm.showDepositInfo)?_c('div',{staticClass:"submitPay",class:{'active':!_vm.subMitStaue},on:{"click":function (){ return _vm.application(); }}},[_vm._v("\n ç«‹å³å˜æ¬¾\n ")]):_vm._e(),_vm._v(" "),(['云闪付'].includes(_vm.className))?_c('div',{staticClass:"tips"},[_vm._v("\n æ¤é€šé“ä»…é™ \"云闪付app\" å˜æ¬¾\n ")]):_vm._e()]),_vm._v(" "),(_vm.showDepositInfo)?_c('div',{staticClass:"order-content-info"},[_c('div',{staticClass:"order-content-info-header"},[_c('span',[_vm._v("å˜æ¬¾ä¿¡æ¯")]),_vm._v(" "),(_vm.orderStatusData)?_c('span',{staticStyle:{"color":"#696969"}},[_vm._v("订å•å·ç :"+_vm._s(_vm.orderStatusData.code))]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"order-content-info-main"},[_c('div',{staticClass:"main-header"},[_c('div',{staticClass:"main-header-deposit"},[_c('span',{staticClass:"main-header-deposit-money"},[_vm._v(_vm._s(Number(_vm.checkedOrderMoney)))]),_vm._v(" "),_c('span',{staticClass:"main-header-deposit-unit"},[_vm._v("å…ƒ")])]),_vm._v(" "),(this.bankDepositStepActive === 1)?_c('div',{staticClass:"main-header-tips",staticStyle:{"margin-left":"auto"}},[_vm._m(0)]):_vm._e(),_vm._v(" "),(this.bankDepositStepActive === 2 && !_vm.isOrderFinish)?_c('div',{staticClass:"main-header-tips",staticStyle:{"margin-left":"auto"}},[_vm._m(1)]):_vm._e(),_vm._v(" "),(_vm.isOrderFinish)?_c('div',{staticClass:"main-header-tips finish"},[_c('p',[_vm._v("订å•å®Œæˆ")])]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"main-card-info"},[_c('div',{staticClass:"main-card-info-content",style:({backgroundImage: 'url(' + '/static/public/image/bankImg/'+'农业银行'+'.png' + ')', backgroundSize:'cover'})},[_c('div',{staticClass:"main-card-info-content-bank"},[_c('div',[_vm._v(_vm._s(_vm.selectedBank.bankName))]),_vm._v(" "),_c('img',{staticClass:"card-info-copy",attrs:{"src":"/static/public/image/userImg/icon-card-copy.png"},on:{"click":function($event){return _vm.copyText(_vm.selectedBank.bankName)}}})]),_vm._v(" "),_c('div',{staticClass:"main-card-info-content-account"},[_c('p',[_vm._v(_vm._s(_vm.selectedBank.bankId))]),_vm._v(" "),_c('img',{staticClass:"card-info-copy",attrs:{"src":"/static/public/image/userImg/icon-card-copy.png"},on:{"click":function($event){return _vm.copyText(_vm.selectedBank.bankId)}}})]),_vm._v(" "),_c('div',{staticClass:"main-card-info-content-name"},[_c('div',{staticClass:"fl"},[_c('span',[_vm._v("å–款人:"+_vm._s(_vm.selectedBank.cardName))]),_vm._v(" "),_c('img',{staticClass:"card-info-copy",attrs:{"src":"/static/public/image/userImg/icon-card-copy.png"},on:{"click":function($event){return _vm.copyText(_vm.selectedBank.cardName)}}})]),_vm._v(" "),(_vm.bankAddress)?_c('div',{staticClass:"fr"},[_c('span',[_vm._v(_vm._s(_vm.bankAddress))]),_vm._v(" "),_c('img',{staticClass:"card-info-copy",attrs:{"src":"/static/public/image/userImg/icon-card-copy.png"},on:{"click":function($event){return _vm.copyText(_vm.bankAddress)}}})]):_vm._e()])])]),_vm._v(" "),(this.bankDepositStepActive > 1)?_c('div',{staticClass:"main-operate"},[_c('upload-credential',{attrs:{"defaultImgUrlArray":_vm.defaultImgUrlArray,"orderNo":_vm.orderParams.orderId,"orderTime":_vm.orderParams.time,"isUpload":_vm.hasVoucherUploaded,"type":'deposit_bank'},on:{"emit-credential":_vm.getCredentialPics}})],1):_vm._e()]),_vm._v(" "),_c('div',[(this.bankDepositStepActive === 1)?_c('div',{staticClass:"order-content-info-submit"},[_c('div',{staticClass:"small-button cancel-button",on:{"click":function($event){return _vm.showCancelDepositModalHandler(true, true)}}},[_vm._v("å–消å˜æ¬¾ç”³è¯·")]),_vm._v(" "),_c('div',{staticClass:"small-button confirm-button",on:{"click":_vm.sendmoney}},[_vm._v("我已å˜æ¬¾")])]):_vm._e(),_vm._v(" "),(this.bankDepositStepActive === 2 && !this.inCredentialUploading)?_c('div',{staticClass:"order-content-info-submit"},[_c('div',{staticClass:"small-button cancel-button",on:{"click":_vm.showCancelUploadCredential}},[_vm._v("ä¸ä¸Šä¼ å‡è¯")]),_vm._v(" "),_c('div',{staticClass:"small-button confirm-button",on:{"click":_vm.uploadCredential}},[_vm._v("ä¸Šä¼ å‡è¯\n "),(_vm.preferentialConfig && _vm.preferentialConfig.preferential > 0)?_c('span',{staticStyle:{"margin-left":"4px"}},[_vm._v("\n èµ é€"+_vm._s(_vm.preferentialConfig.preferential)+"%\n ")]):_vm._e()])]):_vm._e(),_vm._v(" "),(this.bankDepositStepActive === 2 && this.inCredentialUploading)?_c('div',{staticClass:"order-content-info-submit"},[_c('div',{staticClass:"big-button confirm-button",staticStyle:{"background-color":"#ffcc7f"}},[_vm._v("处ç†ä¸")])]):_vm._e(),_vm._v(" "),(this.bankDepositStepActive === 3)?_c('div',{staticClass:"order-content-info-submit"},[(!_vm.reminderTimer)?_c('div',{staticClass:"big-button confirm-button",on:{"click":_vm.remindOrderHandler}},[_vm._v("我è¦å‚¬å•")]):_c('div',{staticClass:"big-button cancel-button"},[_vm._v(_vm._s(_vm.remindeOrderCountdownTime)+" 处ç†ä¸")])]):_vm._e()])]):_vm._e()]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({top:_vm.toastNum+'px'})},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e(),_vm._v(" "),_c('realModal',{ref:"realModal",on:{"payMoney":_vm.payMoney}}),_vm._v(" "),_c('Modal',{staticClass:"cancel-modal",attrs:{"value":_vm.isCancelBankDeposit,"width":"315","closable":false,"mask-closable":false}},[_c('div',{staticClass:"cancel-modal-main"},[_c('h3',{staticClass:"cancel-modal-main-title"},[_vm._v("是å¦å–消本次申请?")]),_vm._v(" "),_c('p',{staticClass:"cancel-modal-main-tip"},[_vm._v("如果您已完æˆè½¬è´¦ï¼Œè¯·å‹¿å–消,我们将尽快为您处ç†ï¼")]),_vm._v(" "),_c('p',{staticClass:"cancel-modal-main-reason"},[_vm._v("请选择å–æ¶ˆåŽŸå› ")]),_vm._v(" "),_c('Radio-group',{attrs:{"type":"button"},model:{value:(_vm.cancelReason),callback:function ($$v) {_vm.cancelReason=$$v},expression:"cancelReason"}},_vm._l((_vm.reasonOptions),function(reason,index){return _c('Radio',{key:index,attrs:{"label":reason}})}),1)],1),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"cancel-modal-footer-cancel",on:{"click":function($event){return _vm.showCancelDepositModalHandler(false, true)}}},[_vm._v("å–消")]),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer-submit",on:{"click":_vm.confirmCancelDepositHandler}},[_vm._v("确定")])])]),_vm._v(" "),_c('Modal',{staticClass:"cancel-modal",attrs:{"value":_vm.isCancelUploadCredential,"width":"315","closable":false,"mask-closable":false}},[_c('div',{staticClass:"cancel-modal-main"},[_c('h3',{staticClass:"cancel-modal-main-title"},[_vm._v("温馨æ示")]),_vm._v(" "),_c('p',{staticClass:"cancel-modal-main-tip credential"},[_vm._v("\n æ‚¨è¿˜æœªä¸Šä¼ å‡è¯å™¢ã€‚"),_c('br'),_vm._v("\n ä¸Šä¼ å‡è¯èƒ½è®©æ‚¨æ›´å¿«é€Ÿåˆ°å¸ã€‚"),_c('br'),_vm._v(" "),(_vm.preferentialConfig && _vm.preferentialConfig.preferential > 0)?_c('span',[_vm._v("\n é™æ—¶ä¼˜æƒ åŠ èµ "+_vm._s(_vm.preferentialConfig.preferential)+"ï¼…å‘财金。\n ")]):_vm._e()])]),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"cancel-modal-footer-cancel",on:{"click":_vm.cancelUploadCredentail}},[_vm._v("å¿ç—›ç¦»å¼€")]),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer-submit",on:{"click":function($event){_vm.isCancelUploadCredential = false}}},[_vm._v("我è¦ä¸Šä¼ ")])])]),_vm._v(" "),_c('Modal',{staticClass:"reward-modal",attrs:{"value":_vm.isRewardBankDeposit,"width":"315","closable":false,"mask-closable":false}},[_c('div',{staticClass:"reward-modal-main"},[_c('h3',{staticClass:"reward-modal-main-title"},[_vm._v("ä¸Šä¼ å‡è¯æˆåŠŸ")]),_vm._v(" "),_c('p',{staticClass:"reward-modal-main-title"},[_vm._v(_vm._s(_vm.rewardMessage))])]),_vm._v(" "),_c('div',{staticClass:"reward-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"reward-modal-footer-submit",on:{"click":_vm.confirmRewardDepositHandler}},[_vm._v("确定")])])]),_vm._v(" "),_c('Modal',{staticClass:"cancel-modal",attrs:{"value":_vm.isAlreadyDeposit,"width":"315","closable":false,"mask-closable":false}},[_c('div',{staticClass:"cancel-modal-main"},[_c('h3',{staticClass:"cancel-modal-main-title",style:({'white-space': 'pre-line'})},[_vm._v("\n "+_vm._s(_vm.alreadyDepositOrderData && _vm.alreadyDepositOrderData.message)+"\n ")])]),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"cancel-modal-footer-cancel",on:{"click":function($event){_vm.isAlreadyDeposit = false}}},[_vm._v("å–消")]),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer-submit",on:{"click":_vm.handleAlreadyDepositClick}},[_vm._v("去处ç†")])])])],1)} var Internetbank_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticStyle:{"font-size":"16px"}},[_c('span',{staticStyle:{"color":"#f23d3d"}},[_vm._v("(转账金é¢åŠ¡å¿…与订å•é‡‘é¢ä¸€è‡´)")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticStyle:{"font-size":"16px"}},[_c('span',{staticStyle:{"display":"flex","align-items":"center","color":"#f23d3d"}},[_c('img',{staticStyle:{"width":"18px","height":"18px","margin-right":"4px"},attrs:{"src":__webpack_require__("nzkh"),"alt":""}}),_vm._v("\n 为确ä¿æ‚¨çš„å˜æ¬¾åŠæ—¶åˆ°è´¦ï¼Œè¯·ä¸Šä¼ å˜æ¬¾å‡è¯\n ")])])}] var Internetbank_esExports = { render: Internetbank_render, staticRenderFns: Internetbank_staticRenderFns } /* harmony default export */ var recharge_Internetbank = (Internetbank_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/recharge/Internetbank.vue function Internetbank_injectStyle (ssrContext) { __webpack_require__("AFM+") } var Internetbank_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var Internetbank___vue_template_functional__ = false /* styles */ var Internetbank___vue_styles__ = Internetbank_injectStyle /* scopeId */ var Internetbank___vue_scopeId__ = "data-v-055fd618" /* moduleIdentifier (server only) */ var Internetbank___vue_module_identifier__ = null var Internetbank_Component = Internetbank_normalizeComponent( Internetbank, recharge_Internetbank, Internetbank___vue_template_functional__, Internetbank___vue_styles__, Internetbank___vue_scopeId__, Internetbank___vue_module_identifier__ ) /* harmony default export */ var personals_recharge_Internetbank = (Internetbank_Component.exports); // EXTERNAL MODULE: ./node_modules/qrcode/lib/browser.js var browser = __webpack_require__("71e1"); var browser_default = /*#__PURE__*/__webpack_require__.n(browser); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/recharge/onLine.vue var _methods; // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var timer = void 0; /* harmony default export */ var onLine = ({ data: function data() { return { n: 0, move: 0, bankIndex: 0, bankInfo: { backName: "", backMoney: "", saveName: "", saveMoney: "", id: "", bankNew: "", notice: "", classRemarks: "" }, carouselData: [{ imgUrl: "/static/public/image/userImg/teach1.png", text: "①点击å³ä¸Šè§’æ·»åŠ å¥½å‹" }, { imgUrl: "/static/public/image/userImg/teach2.png", text: "â‘¡æœç´¢æ”¯ä»˜å®è´¦å·" }, { imgUrl: "/static/public/image/userImg/teach3.png", text: "â‘¢ç‚¹å‡»â€œåŠ å¥½å‹â€" }, { imgUrl: "/static/public/image/userImg/teach4.png", text: "④点击“转账â€" }, { imgUrl: "/static/public/image/userImg/teach5.png", text: "⑤填写汇款金é¢" }], carouselData2: [{ imgUrl: "/static/public/image/userImg/wechat1.png", text: "â‘ æœç´¢å¾®ä¿¡è´¦å·â€" }, { imgUrl: "/static/public/image/userImg/wechat2.png", text: "â‘¡æ·»åŠ å¾®ä¿¡å¥½å‹" }, { imgUrl: "/static/public/image/userImg/wechat3.png", text: "③点击“å‘é€â€æ·»åŠ 申请" }, { imgUrl: "/static/public/image/userImg/wechat4.png", text: "④点击转账" }, { imgUrl: "/static/public/image/userImg/wechat5.png", text: "⑤输入汇款金é¢â€œ" }], carouselData3: [{ imgUrl: "/static/public/image/userImg/teach_card1.png", text: "①点击“转账â€è¿›å…¥â€œè½¬è´¦é¡µé¢â€" }, { imgUrl: "/static/public/image/userImg/teach_card2.png", text: "②点击“转到银行å¡â€è¿›å…¥ä¿¡æ¯å¡«å†™" }, { imgUrl: "/static/public/image/userImg/teach_card3.png", text: "③点击“下一æ¥â€è¾“入密ç 完æˆè½¬è´¦" }], carouselData4: [{ imgUrl: "/static/public/image/userImg/wecha_card1.png", text: "①点击“收付款â€è¿›å…¥â€œæ”¶ä»˜æ¬¾é¡µé¢â€" }, { imgUrl: "/static/public/image/userImg/wecha_card2.png", text: "②点击“å‘银行å¡æˆ–手机å·è½¬è´¦â€è¿›å…¥ä¸‹ä¸€æ¥" }, { imgUrl: "/static/public/image/userImg/wecha_card3.png", text: "③点击“å‘银行å¡è½¬è´¦â€è¿›å…¥ä¿¡æ¯å¡«å†™" }, { imgUrl: "/static/public/image/userImg/wecha_card4.png", text: "④填写完æˆç‚¹å‡»â€œä¸‹ä¸€æ¥â€è¾“入金é¢" }, { imgUrl: "/static/public/image/userImg/wecha_card5.png", text: "⑤输入金é¢ç‚¹å‡»â€œè½¬è´¦â€è¿›å…¥â€œè½¬è´¦è¯´æ˜Žâ€œ" }, { imgUrl: "/static/public/image/userImg/wecha_card6.png", text: "⑥输入转账说明点击“转账â€è¿›å…¥æ”¯ä»˜é¡µé¢" }, { imgUrl: "/static/public/image/userImg/wecha_card7.png", text: "⑦输入密ç 完æˆè½¬è´¦" }], wechat: "/static/public/image/userImg/wechat.png", alipay: "/static/public/image/userImg/alipay.png", usdtImg: "/static/public/image/userImg/usdt.png", ebaoImg: "/static/public/image/userImg/ebao.png", priceList: [], notice: "以下银行账å·é™æœ¬æ¬¡å˜æ¬¾ä½¿ç”¨,è´¦å·ä¸å®šæœŸæ›´æ¢!æ¯æ¬¡å˜æ¬¾å‰è¯·ä¾ç…§æœ¬é¡µæ‰€æ˜¾ç¤ºçš„银行账å·å…¥æ¬¾!如入款至已过期账å·,æ— æ³•æŸ¥æ”¶,本公å¸æ•ä¸è´Ÿè´£", // 顶部公告 datas: { id: "", minMoney: "", maxMoney: "", chainType: "" }, bankamount: "", bankname: "", realName: "", newmodel: false, canClick: true, ifmodel: false, upayModel: false, upayPassword: '', depositDetail: {}, passKey: { money: "", order: "", time: "", codeId: "", max_amount: "", min_amount: "", code: "" }, name: "", bankActive: 0, url: "", publicUrl: "", spanActive: 0, amount: "", bankCode: "", qrcodeShow: false, order: "", toastShow: false, toastNum: -20, toastText: "", paymentDataShow: true, preferentialList: [], preferentiaId: "", bankList: [], hrefpath: "", bankData: ["工商银行", "农业银行", "建设银行", "招商银行", "ä¸å›½é“¶è¡Œ", "浦å‘银行", "ä¸ä¿¡é“¶è¡Œ", "交通银行", "民生银行", "兴业银行", "邮政银行", "光大银行", "åŽå¤é“¶è¡Œ", "浙商银行", "包商银行", "北京银行", "上海银行", "东莞银行", "广å‘银行", "平安银行", "徽商银行", "江è‹é“¶è¡Œ", "农æ‘信用社", "哈尔滨银行", "深圳å‘展银行", "广州农æ‘商业银行", "其它"], bankDetail: [], wetbankList: [], discountList: [], discountVal: "", Ubalance: "0.00", // Uå¹£é¤˜é¡ isRefreshingBalance: false, // USDT qrcode USDTaddress: '', USDTqrcode: '', currentTime: '', USDTtimer: null, checkInterval: null, chainOptions: [], selectedType: 'TRC20', realAddress: '', cache: {}, retryCount: 0, maxRetries: 8, // 设置最大é‡è¯•æ¬¡æ•° USDTpamentId: null }; }, methods: (_methods = { onCopy: function onCopy(text) { var _this = this; this.$copyText(text.replace(/\s*/g, '')).then(function () { _this.$success('å¤åˆ¶æˆåŠŸ'); }); }, /** * æœç‹—,UC,QQ,百度ä¸å¯ä»¥åœ¨æ–°çª—å£æ‰“å¼€ */ canOpenInNewWin: function canOpenInNewWin() { var uas = ["SogouMobileBrowser", "MQQBrowser", "UCBrowser", "baiduboxapp", "MXiOS", "baidu", "Baidu"]; return !uas.some(function (ua) { return new RegExp(ua, "gi").test(window.navigator.userAgent); }); }, buyU: function buyU() { var _this2 = this; var newWin = void 0; if (this.canOpenInNewWin()) { if (window.navigator.userAgent.includes("baidu") || window.navigator.userAgent.includes("Baidu")) { newWin = window.open("", "_self"); // åªæœ‰ç™¾åº¦éœ€è¦é€™æ¨£åªèƒ½ç”¨ self } else { newWin = window.open("", "_blank"); } } this.$http.post(this.$HOST_NAME + "/upay/gotobuy").then(function (res) { if (res && res.data) { newWin.location.href = res.data.jump_url; } else { _this2.toastShow = true; _this2.toastNum = 10; _this2.toastText = res.message + ", \u8BF7\u5148\u67E5\u8BE2\u4F59\u989D"; console.warn(res.status, "/upay/gotobuy api 錯誤", res.message, res.code); } }).catch(function (error) { console.warn("/upay/gotobuy api 錯誤", error); }); }, getUbalance: function getUbalance() { var _this3 = this; if (this.isRefreshingBalance) return; this.isRefreshingBalance = true; this.$http.post(this.$HOST_NAME + "/upay/balance").then(function (res) { setTimeout(function () { _this3.isRefreshingBalance = false; }, 3000); if (res && res.data) { _this3.Ubalance = res.data.balance; } else { _this3.toastShow = true; _this3.toastNum = 10; _this3.toastText = res.message + ", \u8BF7\u5148\u67E5\u8BE2\u4F59\u989D"; console.warn(res.status, "/upay/gotobuy api 錯誤", res.message, res.code); } }).catch(function (error) { setTimeout(function () { _this3.isRefreshingBalance = false; }, 5000); console.warn("/upay/gotobuy api 錯誤", error); }); }, getDisCountData: function getDisCountData() { var _this4 = this; this.$http.post(this.$HOST_NAME + "/deposit/getDepositBonusList ", { depositType: "bank" }).then(function (res) { if (res.code == 200 && res.data.length > 0) { for (var i = 0; i < res.data.length; i++) { res.data[i].val = i; res.data[i].bonusRate = res.data[i].bonusRate.toString(); } _this4.discountList = res.data; _this4.discountVal = res.data[0].bonusRate.indexOf("_") === -1 ? res.data[0].bonusRate : res.data[0].bonusRate.split("_")[1]; } }); }, pre: function pre() { if (this.move != 0) { this.move = this.move + 360; } if (this.n >= 0) { this.n = this.n - 1; if (this.n < 0) { this.n = 0; } } }, next: function next(a) { switch (a) { case "wechat": if (this.move != -1440) { this.move = this.move - 360; } if (this.n < 4) { this.n = this.n + 1; } else { this.move = 0; this.n = 0; } break; case "wechatToCard": if (this.move != -2160) { this.move = this.move - 360; } if (this.n < 6) { this.n = this.n + 1; } else { this.move = 0; this.n = 0; } break; case "alipay": if (this.move != -1440) { this.move = this.move - 360; } if (this.n < 4) { this.n = this.n + 1; } else { this.move = 0; this.n = 0; } break; case "alipaytoCard": if (this.move != -720) { this.move = this.move - 360; } if (this.n < 2) { this.n = this.n + 1; } else { this.move = 0; this.n = 0; } break; } }, chooseBank: function chooseBank(v, i) { this.bankIndex = i; this.bankInfo.saveName = v.cardName; this.bankInfo.saveMoney = v.cardNum; this.bankInfo.bankNew = v.bankName; this.bankInfo.id = v.id; this.bankDetail = v; this.bankInfo.backName = ""; this.bankInfo.backMoney = ""; this.bankInfo.classRemarks = v.msgTitle; } }, defineProperty_default()(_methods, "onCopy", function onCopy(text) { var _this5 = this; this.$copyText(text.replace(/\s*/g, "")).then(function () { _this5.$success("å¤åˆ¶æˆåŠŸ"); }); }), defineProperty_default()(_methods, "selectBank", function selectBank(i, item) { this.bankActive = i; this.bankCode = item; }), defineProperty_default()(_methods, "hidemode", function hidemode() { this.newmodel = false; }), defineProperty_default()(_methods, "toggle", function toggle(i, item) { var _this6 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: if (!(item.requestType === "NNIA")) { _context.next = 5; break; } _context.next = 3; return _this6.$http.post(_this6.$HOST_NAME + "/onlinePaymentNew", { paymentId: item.id, money: 0, bankCode: _this6.bankCode, type: "pc", preferentialId: _this6.preferentiaId, categoryId: _this6.$store.state.personal.categoryId }, { headers: { // "Accept": "application/json, text/plain, */*", "Content-Type": "application/x-www-form-urlencoded", Authorization: "" + localStorage.token } }).then(function (res) { if (res.code === 200) { window.open(res.data.formUrl, "_blank"); } else { _this6.$error(res.message); } }); case 3: _context.next = 11; break; case 5: _this6.bankList = item.bankCode; _this6.spanActive = i; _this6.qrcodeShow = false; _this6.amount = ""; if (_this6.classType == "qr_code") { _this6.passKey.max_amount = item.max_amount; _this6.passKey.min_amount = item.min_amount; _this6.url = _this6.publicUrl + item.qr_code; _this6.passKey.codeId = item.id; } clearInterval(timer); case 11: case "end": return _context.stop(); } } }, _callee, _this6); }))(); }), defineProperty_default()(_methods, "toggle2", function toggle2(index, item) { this.depositDetail = this.paymentData[index]; this.depositDetail.quick_amount_list = []; this.bankname = ""; this.bankamount = ""; this.spanActive = index; var _depositDetail = this.depositDetail, bankName = _depositDetail.bankName, cardNum = _depositDetail.cardNum, quick_amount = _depositDetail.quick_amount, quick_amount_list = _depositDetail.quick_amount_list; if (this.bankData.indexOf(bankName) != -1) { this.depositDetail.imgUrl = "/static/public/image/bankImg/" + bankName + ".png"; } else { if (bankName == "广州å‘展银行") { this.depositDetail.imgUrl = "/static/public/image/bankImg/" + bankName + ".png"; } else { this.depositDetail.imgUrl = "/static/public/image/bankImg/morenBank.png"; } } if (quick_amount) { if (quick_amount.indexOf(",") == -1) this.depositDetail.quick_amount_list[0] = quick_amount;else this.depositDetail.quick_amount_list = quick_amount.split(",").splice(0, 8); } else { this.depositDetail.quick_amount_list = [50, 100, 500, 1000, 5000]; } }), defineProperty_default()(_methods, "selectTab", function selectTab(item) { // åˆ‡æ› chain é‡æ–°æ‹¿åœ°å€ if (item !== this.selectedType) { this.selectedType = item; this.onlinePaymentUSDT(); } }), defineProperty_default()(_methods, "selectType", function selectType(item) { return item === this.selectedType; }), defineProperty_default()(_methods, "updateTime", function updateTime() { var now = new Date(); this.currentTime = now.toTimeString().split(' ')[0]; }), defineProperty_default()(_methods, "obscureMiddle", function obscureMiddle(str) { var visibleCount = 6; // Number of characters to show at the start and end var start = str.slice(0, visibleCount); var end = str.slice(-visibleCount); return start + "\uFF0A\uFF0A\uFF0A\uFF0A\uFF0A" + end; }), defineProperty_default()(_methods, "checkStatus", function checkStatus() { var _this7 = this; this.checkInterval = setInterval(function () { _this7.$http.get(_this7.$HOST_NAME + "/sucAmt").then(function (res) { if (res && res.data && Number(res.data.amount) > 0) { _this7.$success('å˜æ¬¾æˆåŠŸ'); } }); }, 5000); // 设定为æ¯5秒执行一次 }), defineProperty_default()(_methods, "setCache", function setCache(type, data) { this.cache[type] = { data: data, timestamp: Date.now() }; }), defineProperty_default()(_methods, "processUSDTAddressResponse", function processUSDTAddressResponse(res) { var address = this.obscureMiddle(res.data.data.payParams.address); this.USDTaddress = address; this.USDTqrcode = res.data.data.payParams.addressPic; this.realAddress = res.data.data.payParams.address; }), defineProperty_default()(_methods, "onlinePaymentUSDT", function onlinePaymentUSDT() { var _this8 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee2() { var USDTparam, keys, cacheLifetime, now; return regenerator_default.a.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: // USDT 虛擬幣支付 clearInterval(_this8.USDTtimer); clearInterval(_this8.checkInterval); USDTparam = { paymentId: _this8.USDTpamentId, categoryId: _this8.categoryId, type: 'H5', chainType: _this8.selectedType, token: 'USDT' }; keys = keys_default()(_this8.cache); if (!keys.includes(_this8.selectedType)) { _context2.next = 11; break; } cacheLifetime = 3600 * 1000; // ç·©å˜å˜æ´»æ™‚間,單ä½æ¯«ç§’(1å°æ™‚) now = Date.now(); if (!(_this8.cache[_this8.selectedType].timestamp + cacheLifetime < now)) { _context2.next = 11; break; } _this8.processUSDTAddressResponse(_this8.cache[_this8.selectedType].data); _this8.checkStatus(); return _context2.abrupt("return"); case 11: if (!(_this8.retryCount >= _this8.maxRetries)) { _context2.next = 14; break; } _this8.$success('å˜æ¬¾æˆåŠŸ'); return _context2.abrupt("return"); case 14: _context2.next = 16; return _this8.$http.post(_this8.$HOST_NAME + "/getAddress", USDTparam).then(function (res) { if (res && res.data && res.data.data.payParams) { _this8.setCache(_this8.selectedType, res); _this8.processUSDTAddressResponse(res); _this8.retryCount = 0; } else { _this8.retryCount++; setTimeout(_this8.onlinePaymentUSDT(), 10000); } // if (res.code === 400) { // this.toastText(res.message) // } _this8.updateTime(); _this8.USDTtimer = setInterval(_this8.updateTime, 1000); // æ¯10秒调用一次checkUSDTsuccess _this8.checkStatus(); }).catch(function (err) { console.log("API: /getAddress: " + err, _this8.USDTpamentId, _this8.categoryId); }); case 16: case "end": return _context2.stop(); } } }, _callee2, _this8); }))(); }), defineProperty_default()(_methods, "onlinePayment", function onlinePayment(id, minMoney, maxMoney, chainType) { var _this9 = this; this.datas.id = id; this.datas.minMoney = minMoney; this.datas.maxMoney = maxMoney; this.$http.post(this.$HOST_NAME + "/getPaymentMsgImg").then(function (res) { if (res.code == 200 && res.data.msg) { _this9.$store.state.personal.rechargeText = res.data; _this9.getLogContent(); } else { if (!JSON.parse(localStorage.userinfo).realName) { _this9.newmodel = true; return false; } _this9.onlinePayment1(id, minMoney, maxMoney, chainType); } }); }), defineProperty_default()(_methods, "onlinePayment1", function onlinePayment1(id, minMoney, maxMoney, chainType) { var _this10 = this; // debugger if (!this.canClick) { return false; } if (!this.amount) { this.$error("请选择金é¢"); return false; } if ((this.upayPassword.length < 6 || this.upayPassword.length > 15) && this.classIdName.includes('upayhutong')) { this.$error("Uå¸æ”¯ä»˜å¯†ç 必须是6~15个å—å…ƒ"); return false; } if (!/^[a-zA-Z0-9]+$/.test(this.upayPassword) && this.classIdName.includes('upayhutong')) { this.$error("Uå¸æ”¯ä»˜å¯†ç ä¸ç¬¦åˆè§„å®šæ ¼å¼"); return false; } // debugger if (minMoney == 0 && maxMoney == 0) {} else { // å•é€‰æŒ‰é’®å¹¶éžä¸‹æ‹‰æ¡† if (this.amount - 0 < minMoney - 0) { this.toastShow = true; this.toastNum = 74; this.toastText = "金é¢ä½ŽäºŽé€šé“最低金é¢" + minMoney; setTimeout(function () { _this10.toastShow = false; }, 2000); return false; } if (this.amount - 0 > maxMoney - 0) { this.toastShow = true; this.toastText = "金é¢é«˜äºŽé€šé“最高金é¢" + maxMoney; this.toastNum = 74; setTimeout(function () { _this10.toastShow = false; }, 2000); return false; } } this.canClick = false; setTimeout(function () { _this10.canClick = true; }, 5 * 1000); this.toastShow = false; // å› ä¸ºç”¨äº†ajaxåŒæ¥ï¼Œæ‰€ä»¥å¼„个定时器弄æˆå¼‚æ¥ setTimeout(function () { var params = { paymentId: id, money: _this10.amount, bankCode: _this10.bankCode, type: "pc", preferentialId: _this10.preferentiaId, categoryId: _this10.$store.state.personal.categoryId }; if (_this10.classIdName.includes('upayhutong')) { params = { paymentId: id, money: _this10.amount, type: "pc", categoryId: _this10.$store.state.personal.categoryId, extra: _this10.upayPassword }; } if (_this10.$store.state.personal.categoryId == "1173" || _this10.$store.state.personal.categoryId == "39") { params.chainType = chainType; } _this10.$http.post(_this10.$HOST_NAME + "/onlinePaymentNew", params, { headers: { "Content-Type": "application/x-www-form-urlencoded", Authorization: "" + localStorage.token } }).then(function (res) { if (res.code === 200) { if (res.data.qrCode) { // tempwindow.close(); _this10.order = res.data.order; _this10.qrcodeShow = true; var that = _this10; _this10.$nextTick(function () { browser_default.a.toCanvas(document.getElementById("qrcode"), res.data.qrCode, function (err) { if (err) that.$error("生æˆäºŒç»´ç 失败!"); }); }); // this.spanActive = 999; timer = setInterval(_this10.payOrder, 5000); } else if (_this10.classIdName.includes('upayhutong')) { _this10.$success('å˜æ¬¾ç”³è¯·æˆåŠŸ'); _this10.getUbalance(); } else { _this10.ifmodel = true; // window.open(res.data.formUrl) _this10.hrefpath = res.data.formUrl; } } else if (res.code === 5015) { _this10.$store.commit("paymentModal", true); _this10.$store.commit("paymentModalData", res.extra); _this10.$store.commit("paymentModalMoney", _this10.amount); } else { _this10.$error(res.message); } _this10.amount = ''; _this10.upayPassword = ''; }); }, 0); }), defineProperty_default()(_methods, "payOrder", function payOrder() { var _this11 = this; this.$http.post(this.$HOST_NAME + "/onlinePayment/order", { order: this.order }).then(function (res) { if (res.data.orderStatus == "success") { _this11.$success("支付æˆåŠŸ"); _this11.qrcodeShow = false; _this11.amount = ""; clearInterval(timer); } }); }), defineProperty_default()(_methods, "hanlderDate", function hanlderDate(date) { this.passKey.time = date; }), defineProperty_default()(_methods, "subCode", function subCode() { var _this12 = this; var data = { QRCodeId: this.passKey.codeId, amount: this.passKey.money, depositTime: this.getTime(new Date()), serialNumber: this.passKey.order, depositAccountName: this.passKey.depositAccountName, bonusRate: this.discountVal }; if (data.bonusRate == "") delete data.bonusRate; this.$http.post(this.$HOST_NAME + "/deposit/qr_code_application", data).then(function (res) { if (res.code == 200) { _this12.passKey.money = ""; _this12.passKey.order = ""; _this12.passKey.time = ""; _this12.passKey.depositAccountName = ""; _this12.$success(res.message); } else { _this12.$error(res.message); } }); }), defineProperty_default()(_methods, "submitBnk", function submitBnk() { var _this13 = this; if (!this.canClick) { return false; } this.canClick = false; setTimeout(function () { _this13.canClick = true; }, 3 * 1000); var _depositDetail2 = this.depositDetail, bankName = _depositDetail2.bankName, cardName = _depositDetail2.cardName, cardNum = _depositDetail2.cardNum, classId = _depositDetail2.classId, className = _depositDetail2.className, id = _depositDetail2.id, min_amount = _depositDetail2.min_amount, max_amount = _depositDetail2.max_amount; var reg = /^[\u4e00-\u9fa5_a-zA-Z0-9]+$/; if (this.bankDetail.className == "微信转账" || this.bankDetail.className == "支付å®è½¬è´¦") { if (!this.bankInfo.backName || this.bankInfo.backName.length > 32 || this.bankInfo.backName.length < 1) { this.$error("请输入1-32ä½æ±‡æ¬¾æ˜µç§°"); return false; } } else { if (!reg.test(this.bankInfo.backName)) { this.$error("请输入æ£ç¡®æ±‡æ¬¾å§“å"); return false; } } if (!this.dInvalidMoney(this.bankInfo.backMoney)) { this.$error("请输入æ£ç¡®çš„å˜æ¬¾é‡‘é¢"); return false; } if (+this.bankInfo.backMoney < +min_amount) { this.$error("金é¢ä½ŽäºŽé€šé“最低金é¢" + min_amount); return false; } if (+this.bankInfo.backMoney > +max_amount) { this.$error("金é¢é«˜äºŽé€šé“最高金é¢" + max_amount); return false; } if (!JSON.parse(localStorage.userinfo).realName) { this.newmodel = true; return false; } this.submitMoney(); }), defineProperty_default()(_methods, "submitMoney", function submitMoney() { var _this14 = this; var postUrl = ""; if (this.classType == "transfer_account") { postUrl = "/deposit/transferAccount"; } else { postUrl = "/deposit/transferBank"; } var data = { amount: this.bankInfo.backMoney, depositId: this.bankInfo.id, bankId: this.bankDetail.cardNum, bankName: this.bankInfo.bankNew, bankAccountName: this.bankInfo.backName, bankSerialNumber: "23412342", className: this.bankDetail.className, depositTime: this.getTime(new Date()), classId: this.bankDetail.classId, classRemarks: this.classRemarks, bonusRate: this.discountVal }; if (data.bonusRate == "") delete data.bonusRate; this.$http.post("" + (this.$HOST_NAME + postUrl), data).then(function (res) { if (res.code == 200) { _this14.bankInfo.backName = ""; _this14.bankInfo.backMoney = ""; _this14.$success(res.data); } else { _this14.$error(res.message); } }); }), defineProperty_default()(_methods, "submitCode", function submitCode() { var _this15 = this; if (!this.canClick) { return false; } var reg = /^[\u4E00-\u9FA5·•]+$/; if (!reg.test(this.passKey.depositAccountName)) { this.$error("请输入æ£ç¡®å˜æ¬¾å§“å"); return false; } if (!this.passKey.money) { this.$error("请输入å˜æ¬¾é‡‘é¢"); return false; } if (!this.passKey.order) { this.$error("请输入订å•å·åŽä¹ä½"); return false; } this.canClick = false; setTimeout(function () { _this15.canClick = true; }, 5 * 1000); if (!JSON.parse(localStorage.userinfo).realName) { this.newmodel = true; return false; } this.subCode(); }), defineProperty_default()(_methods, "sendName", function sendName() { var _this16 = this; if (this.realName) { this.$postS("member/set-member-info", { realName: this.realName }).then(function (res) { if (res && res.code == 200) { _this16.newmodel = false; UserService["a" /* default */].vpGetBasicInfo.call(_this16); if (_this16.classType == "qr_code") { _this16.subCode(); // let {id,minMoney,maxMoney}=this.datas // this.onlinePayment1(id,minMoney,maxMoney) } else if (_this16.classType == "transfer_bank" || _this16.classType == "transfer_account") { _this16.submitMoney(); } else { var _datas = _this16.datas, id = _datas.id, minMoney = _datas.minMoney, maxMoney = _datas.maxMoney; _this16.onlinePayment1(id, minMoney, maxMoney); } } else { _this16.newmodel = false; _this16.$error(res.message); } }); } else {} }), defineProperty_default()(_methods, "getSaveBank", function getSaveBank() { var _this17 = this; this.$http.post(this.$HOST_NAME + "/deposit/bank", { devices: "pc", classId: this.$store.state.personal.itemDatas.id }).then(function (res) { if (res.code === 200 && res.data.length) { _this17.wetbankList = res.data; _this17.chooseBank(_this17.wetbankList[0], 0); } }); }), defineProperty_default()(_methods, "getLogContent", function getLogContent() { this.$store.state.personal.showRecharge = true; var msg = this.$store.state.personal.rechargeText.msg; msg = msg.replace("{payTypeText}", "<span style='color:#058dd7'>" + this.$store.state.personal.rechargeText.payTypeText + "</span>"); msg = msg.replace("{preferentialText}", "<span style='color:#d06901'>" + this.$store.state.personal.rechargeText.preferentialText + "</span>"); msg = msg.replace("{giftMoreText}", "<span style='color:#c21358'>" + this.$store.state.personal.rechargeText.giftMoreText + "</span>"); this.$store.state.personal.rechargeText["msg"] = msg; this.$store.state.personal.rechargeMsg = this.$store.state.personal.rechargeText["msg"]; }), _methods), created: function created() { if (localStorage.config) { var config = JSON.parse(localStorage.config); this.publicUrl = config.statics; } this.getSaveBank(); this.getDisCountData(); if (this.classIdName && this.classIdName.includes('upayhutong')) { this.getUbalance(); } }, mounted: function mounted() {}, destroyed: function destroyed() { clearInterval(timer); clearInterval(this.USDTtimer); // 清除定時器 }, computed: { paymentData: function paymentData() { try { var bankCodeArr = this.$store.state.personal.paymentData; var i = this.spanActive; var bankCodeObj = bankCodeArr[i]; this.bankCode = bankCodeObj.bankCode[0].code; } catch (err) {} return this.$store.state.personal.paymentData; }, isRefresh: function isRefresh() { return this.$store.state.personal.isRefresh; }, payName: function payName() { return this.$store.state.personal.payName; }, classType: function classType() { return this.$store.state.personal.itemDatas.classType; }, classIdName: function classIdName() { return this.$store.state.personal.itemDatas.classIdName; }, className: function className() { return this.$store.state.personal.itemDatas.className; }, classRemarks: function classRemarks() { return this.$store.state.personal.itemDatas.classRemarks; }, classType1: function classType1() { return this.$store.state.personal.paymentAll.classType; }, categoryId: function categoryId() { return this.$store.state.personal.categoryId; }, userRealName: function userRealName() { return this.$store.state.mainState.userinfo.realName; } }, watch: { className: function className(val) { if (this.classType == "transfer_bank" || this.classType == "transfer_account") { if (this.className.includes("微信") || this.className.includes("支付å®")) { this.n = 0; this.move = 0; this.bankIndex = 0; this.getSaveBank(); } } }, priceList: function priceList() { return this.$store.state.personal.paymentData.priceList; }, isRefresh: function isRefresh(newValue, oldValue) { if (newValue > 0) { this.qrcodeShow = false; this.amount = ""; this.spanActive = 0; clearInterval(timer); } }, paymentData: function paymentData(newValue, oldValue) { this.passKey.money = ""; this.passKey.order = ""; this.passKey.time = ""; this.url = ""; this.passKey.codeId = ""; this.passKey.max_amount = ""; this.passKey.min_amount = ""; var item = newValue[this.spanActive]; if (this.classType == "qr_code" && item) { this.url = this.publicUrl + item.qr_code; this.passKey.codeId = item.id; this.passKey.max_amount = item.max_amount; this.passKey.min_amount = item.min_amount; } if (this.classType == "transfer_bank" && this.spanActive == 0) { this.toggle2(0); } if (this.categoryId == 48) { clearInterval(this.USDTtimer); clearInterval(this.checkInterval); this.USDTaddress = ''; this.USDTqrcode = ''; this.toastShow = false; this.retryCount = 0; if (newValue[0]) { this.USDTpamentId = newValue[0].id; this.chainOptions = newValue[0].chain; this.onlinePaymentUSDT(); } } if (this.$store.state.personal.navView == 4 && newValue) { this.bankList = item.bankCode; } this.priceList = this.$store.state.personal.paymentData.priceList; } }, filters: { capitalize: function capitalize(value) { if (value) { switch (value) { case "微信": value = "weixin"; break; case "支付å®": value = "zfb"; break; case "微信扫ç ": value = "weixin"; break; case "支付å®æ‰«ç ": value = "zfb"; break; case "网银": value = "wangying"; break; case "QQ": value = "QQ"; break; case "京东": value = "jingdong"; break; case "å¿«æ·": value = "kuaijie"; break; case "银è”扫ç ": value = "saoma"; break; case "百度": value = "baidu"; break; case "银è”": value = "yinlian"; break; case "农业银行": value = "bank-1"; break; case "工商银行": value = "bank-2"; break; case "建设银行": value = "bank-2"; break; case "交通银行": value = "bank-3"; break; case "ä¸å›½é“¶è¡Œ": value = "bank-4"; break; case "招商银行": value = "bank-5"; break; case "民生银行": value = "bank-6"; break; case "邮政银行": value = "bank-7"; break; case "兴业银行": value = "bank-8"; break; case "ä¸ä¿¡é“¶è¡Œ": value = "bank-9"; break; case "浦å‘银行": value = "bank-10"; break; case "åŽå¤é“¶è¡Œ": value = "bank-11"; break; case "光大银行": value = "bank-12"; break; case "北京银行": value = "bank-13"; break; case "广å‘银行": value = "bank-14"; break; case "å—京银行": value = "bank-15"; break; case "上海银行": value = "bank-16"; break; case "平安银行": value = "bank-17"; break; case "东亚银行": value = "bank-18"; break; } return "/static/public/image/bank/" + value + ".png"; } } }, components: { rechargeLog: personals_recharge_rechargeLog }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-f7c57488","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/recharge/onLine.vue var onLine_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.paymentData.length)?_c('div',{staticClass:"on-line"},[_c('div',{staticClass:"header"},[_c('div',{staticClass:"title"},[( (_vm.classType == 'transfer_bank' || _vm.classType == 'transfer_account') && _vm.className.includes('微信') )?_c('span',[_c('img',{attrs:{"src":_vm.wechat}})]):_vm._e(),_vm._v(" "),( (_vm.classType == 'transfer_bank' || _vm.classType == 'transfer_account') && _vm.className.includes('支付å®') )?_c('span',[_c('img',{attrs:{"src":_vm.alipay}})]):_vm._e(),_vm._v(" "),(_vm.classType == 'payment' && _vm.className.includes('Eå®'))?_c('span',[_c('img',{attrs:{"src":_vm.ebaoImg}})]):_vm._e(),_vm._v(" "),(_vm.classType == 'payment' && _vm.classIdName.includes('upayhutong'))?_c('span'):_vm._e(),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.className))])])]),_vm._v(" "),(_vm.classType == 'payment')?_c('div',{staticClass:"content"},[_c('div',{staticClass:"title"},[(!_vm.classIdName.includes('upayhutong') && _vm.categoryId !== 48)?_c('ul',_vm._l((_vm.paymentData),function(item,i){return _c('li',{key:i},[_c('span',{class:{ spanActive: _vm.spanActive == i },on:{"click":function($event){return _vm.toggle(i, item)}}},[_vm._v(_vm._s(item.name))])])}),0):_vm._e()]),_vm._v(" "),_vm._l((_vm.paymentData),function(item,i){return (_vm.spanActive == i)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.qrcodeShow),expression:"!qrcodeShow"}],key:i,staticClass:"content-main"},[(_vm.classIdName.includes('upayhutong'))?_c('div',{staticClass:"wrap-upay"},[_c('div',{staticClass:"wrap-balance"},[_c('img',{attrs:{"src":__webpack_require__("62Hn"),"alt":"upay"}}),_vm._v(" "),_c('div',{staticStyle:{"margin":"0 4px"}},[_vm._v("Uå¸ä½™é¢ :")]),_vm._v(" "),_c('div',{staticClass:"u-money"},[_c('div',[_vm._v("Â¥ "+_vm._s(_vm.Ubalance))])]),_vm._v(" "),_c('img',{staticClass:"refresh-img",class:{ rotateAnimation: _vm.isRefreshingBalance },attrs:{"src":__webpack_require__("MES/")},on:{"click":function($event){return _vm.getUbalance()}}})]),_vm._v(" "),_c('div',[_c('button',{staticClass:"buy-submit",on:{"click":function($event){return _vm.buyU()}}},[_vm._v("+è´ä¹°Uå¸")])])]):_vm._e(),_vm._v(" "),(_vm.categoryId !== 48 && _vm.categoryId !== '48')?_c('div',{staticClass:"bar"},[_c('div',{class:{ inline: item.isFormatAmount }},[_c('label',{staticClass:"text"},[_vm._v("å˜æ¬¾é‡‘é¢:")]),_vm._v(" "),(!item.isFormatAmount)?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.amount),expression:"amount"}],staticStyle:{"width":"220px"},attrs:{"type":"text","placeholder":'å•ç¬”å˜æ¬¾é‡‘é¢ï¼š ' + item.minAmount + ' ~ ' + item.maxAmount},domProps:{"value":(_vm.amount)},on:{"input":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}}):_vm._e()]),_vm._v(" "),(!item.isFormatAmount && _vm.classIdName.includes('upayhutong'))?_c('RadioGroup',{staticClass:"radio-group",staticStyle:{"margin-left":"135px","margin-top":"8px"},model:{value:(_vm.amount),callback:function ($$v) {_vm.amount=$$v},expression:"amount"}},_vm._l((item.quick_amount && item.quick_amount.split(',')),function(quick,index){return _c('Radio',{key:index,attrs:{"label":quick}},[_c('span',{staticClass:"radio-span"},[_vm._v(_vm._s(quick))])])}),1):_vm._e(),_vm._v(" "),(!item.isFormatAmount && !_vm.classIdName.includes('upayhutong'))?_c('RadioGroup',{staticClass:"radio-group",staticStyle:{"margin-left":"135px","margin-top":"8px"},model:{value:(_vm.amount),callback:function ($$v) {_vm.amount=$$v},expression:"amount"}},_vm._l((item.quick_amount_list),function(quick,index){return _c('Radio',{key:index,attrs:{"label":quick}},[_c('span',{staticClass:"radio-span"},[_vm._v(_vm._s(quick))])])}),1):_vm._e(),_vm._v(" "),(item.isFormatAmount)?_c('Select',{staticStyle:{"width":"200px"},model:{value:(_vm.amount),callback:function ($$v) {_vm.amount=$$v},expression:"amount"}},_vm._l((item.priceList),function(v,pricei){return _c('Option',{key:pricei,attrs:{"value":v}},[_vm._v(_vm._s(v))])}),1):_vm._e()],1):_vm._e(),_vm._v(" "),(_vm.preferentialList.length !== 0)?_c('div',{staticClass:"bar"},[_c('label',{staticClass:"text"},[_vm._v("ä¼˜æƒ æ–¹å¼ï¼š")]),_vm._v(" "),_c('Select',{model:{value:(_vm.preferentiaId),callback:function ($$v) {_vm.preferentiaId=$$v},expression:"preferentiaId"}},_vm._l((_vm.preferentialList),function(item,i){return _c('Option',{key:i,attrs:{"value":item.id}},[_vm._v(_vm._s(item.title))])}),1)],1):_vm._e(),_vm._v(" "),(item.codeShow && _vm.className === '网银在线')?_c('div',{staticClass:"bar bank-bar"},[_c('label',{staticClass:"text"},[_vm._v("å˜æ¬¾æ–¹å¼:")]),_vm._v(" "),_c('RadioGroup',{model:{value:(_vm.bankCode),callback:function ($$v) {_vm.bankCode=$$v},expression:"bankCode"}},_vm._l((item.bankCode),function(val,key,i){return _c('Radio',{key:i,attrs:{"label":val.code}},[_c('img',{attrs:{"src":val.icon,"alt":""}})])}),1)],1):_vm._e(),_vm._v(" "),(_vm.classIdName.includes('upayhutong'))?_c('div',{staticClass:"bar"},[_c('div',{class:{ inline: item.isFormatAmount }},[_c('label',{staticClass:"text"},[_vm._v("Uå¸æ”¯ä»˜å¯†ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.upayPassword),expression:"upayPassword"}],attrs:{"type":"password","maxlength":"15","autocomplete":"off","placeholder":"请输入Uå¸æ”¯ä»˜å¯†ç "},domProps:{"value":(_vm.upayPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.upayPassword=$event.target.value}}})])]):_vm._e(),_vm._v(" "),(_vm.classIdName.includes('upayhutong'))?_c('div',{staticClass:"bar"},[_c('label',{staticClass:"text"},[_vm._v("温馨æ示:")]),_vm._v(" "),_c('span',[_vm._v("1ã€1Uå¸=1人民å¸ï¼Œæ”¯æŒå¾®ä¿¡ã€æ”¯ä»˜å®ã€é“¶è¡Œå¡ï¼Œæ‚¨å¯ä»¥éšæ—¶å°†Uå¸å…‘æ¢ä¸ºç¹ç ,")]),_vm._v(" "),_c('p',{staticStyle:{"margin-left":"155px"}},[_vm._v("\n 方便快æ·ç§’到账;也å¯ä»¥å°†ç¹ç æ现为Uå¸ç»äº¤æ˜“å¹³å°å”®å‡ºè½¬åŒ–为法å¸ã€‚\n ")]),_vm._v(" "),_vm._m(0,true),_vm._m(1,true),_vm._v(" "),_c('p'),_vm._v(" "),_c('p',{staticStyle:{"margin-left":"134px"}},[_vm._v("\n 3ã€ç”±äºŽé“¶è¡Œç®¡åˆ¶ã€å¯¼è‡´ç¬¬ä¸‰æ–¹å……值通é“ä¸ç¨³å®šã€å¦‚果充值一次未æˆåŠŸè¯·æ¢å…¶ä»–通é“进行充值ï¼\n ")])]):(_vm.categoryId == 48)?_c('div',[_c('div',{staticClass:"USDT-qrcode"},[_c('div',{staticClass:"chain-and-time"},[_c('div',{staticStyle:{"display":"flex","align-items":"center"}},[_vm._m(2,true),_vm._v(" "),_c('div',{ref:"tabGroup",refInFor:true,staticClass:"tab-group"},_vm._l((_vm.chainOptions),function(item,index){return _c('div',{key:index,class:['tab-item', { active: _vm.selectType(item) }],on:{"click":function($event){return _vm.selectTab(item)}}},[_c('div',{staticClass:"text"},[_vm._v(_vm._s(item))])])}),0)]),_vm._v(" "),_c('div',{staticClass:"USDT-time"},[_vm._v(_vm._s(_vm.currentTime))])]),_vm._v(" "),(_vm.USDTqrcode)?_c('img',{staticClass:"qrcode",staticStyle:{"width":"154px","height":"154px"},attrs:{"src":_vm.USDTqrcode}}):_c('div',{staticClass:"app-loading show"},[_c('img',{attrs:{"src":__webpack_require__("/9er")}})]),_vm._v(" "),_c('div',{staticClass:"address"},[_c('p',[_vm._v("地å€ï¼š")]),_vm._v(" "),_c('p',[_vm._v(_vm._s(_vm.USDTaddress)+"\n "),_c('span',{staticClass:"copy",on:{"click":function($event){return _vm.onCopy(_vm.realAddress)}}},[_vm._v("å¤åˆ¶")])])]),_vm._v(" "),_vm._m(3,true)])]):_c('div',{staticClass:"bar"},[_c('label',{staticClass:"text"},[_vm._v("温馨æ示:")]),_vm._v(" "),_c('span',[_vm._v("1ã€å……值时候,切记æ交订å•çš„金é¢å’Œå……值的金é¢è¦ç›¸ä¸€è‡´ï¼Œè¿™æ ·æˆåŠŸçŽ‡è¾ƒé«˜ï¼Œ1~3分钟å³å¯åˆ°è´¦,")]),_vm._v(" "),_vm._m(4,true),_vm._v(" "),_c('p',{staticStyle:{"margin-left":"134px"}},[_vm._v("\n 2ã€ç”±äºŽé“¶è¡Œç®¡åˆ¶ã€å¯¼è‡´ç¬¬ä¸‰æ–¹å……值通é“ä¸ç¨³å®šã€å¦‚果充值一次未æˆåŠŸè¯·æ¢å…¶ä»–通é“进行充值ï¼\n ")])]),_vm._v(" "),(!_vm.qrcodeShow && _vm.categoryId !== 48 && _vm.categoryId !== '48')?_c('div',{staticClass:"submitPay",class:{ active: !_vm.canClick },on:{"click":function($event){return _vm.onlinePayment(item.id, item.minAmount, item.maxAmount, item.name)}}},[_vm._v("\n ç«‹å³å˜æ¬¾\n ")]):_vm._e(),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({ top: _vm.toastNum + 'px' })},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]):_vm._e()}),_vm._v(" "),(_vm.qrcodeShow)?_c('div',{staticClass:"qrcode"},[_c('div',{staticClass:"bar"},[_c('label',{staticClass:"text"},[_vm._v("订å•å·:")]),_vm._v("[]\n "),_c('span',[_vm._v(_vm._s(_vm.order))])]),_vm._v(" "),_vm._m(5),_vm._v(" "),_c('div',{staticClass:"main"},[_c('p',[_vm._v("用手机"+_vm._s(_vm.payName)+"扫一扫")]),_vm._v(" "),_c('p',[_vm._v("扫é¢äºŒç»´ç 完æˆæ”¯ä»˜")])])]):_vm._e()],2):_vm._e(),_vm._v(" "),(_vm.classType == 'qr_code')?_c('div',{staticClass:"content content2"},[_c('div',{staticClass:"title"},[_c('ul',_vm._l((_vm.paymentData),function(item,i){return _c('li',{key:i},[_c('span',{class:{ spanActive: _vm.spanActive == i },on:{"click":function($event){return _vm.toggle(i, item)}}},[_vm._v("充值通é“"+_vm._s(i + 1))])])}),0)]),_vm._v(" "),_c('div',{staticClass:"content-main"},[_c('div',{staticClass:"erCode"},[_c('img',{attrs:{"src":_vm.url,"alt":""}})]),_vm._v(" "),_c('div',{staticClass:"bar"},[_c('span',{staticClass:"tip"},[_vm._v("打开"+_vm._s(_vm.className.includes("微信") ? "微信" : _vm.className.includes("支付å®") ? "支付å®" : _vm.className.includes("财付通") ? "财付通" : "")+"扫一扫")])]),_vm._v(" "),_c('div',{staticClass:"bar"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.depositAccountName),expression:"passKey.depositAccountName"}],attrs:{"placeholder":"姓å","type":"text"},domProps:{"value":(_vm.passKey.depositAccountName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "depositAccountName", $event.target.value)}}})]),_vm._v(" "),_c('div',{staticClass:"bar"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.money),expression:"passKey.money"}],attrs:{"placeholder":'å•ç¬”é™é¢' + _vm.passKey.min_amount + '~' + _vm.passKey.max_amount,"type":"text"},domProps:{"value":(_vm.passKey.money)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "money", $event.target.value)}}})]),_vm._v(" "),(_vm.discountList.length > 0)?_c('div',{staticClass:"bar"},[_c('Select',{staticClass:"bank2",attrs:{"disabled":_vm.discountList.length == 1},model:{value:(_vm.discountVal),callback:function ($$v) {_vm.discountVal=$$v},expression:"discountVal"}},_vm._l((_vm.discountList),function(i,j){return _c('Option',{key:j,attrs:{"value":i.bonusRate.indexOf('_') === -1 ? i.bonusRate : i.bonusRate.split('_')[1]}},[_vm._v(_vm._s(i.bonusRate.indexOf("_") === -1 ? i.bonusRate : i.bonusRate.split("_")[1])+"% (å˜æ¬¾"+_vm._s(i.multiple)+"å€æ‰“ç )")])}),1)],1):_vm._e(),_vm._v(" "),_c('div',{staticClass:"bar"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.passKey.order),expression:"passKey.order"}],attrs:{"placeholder":"输入订å•å·åŽä¹ä½","type":"text"},domProps:{"value":(_vm.passKey.order)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.passKey, "order", $event.target.value)}}})]),_vm._v(" "),_c('div',{staticClass:"submitPay",class:{ active: !_vm.canClick },on:{"click":_vm.submitCode}},[_vm._v("\n 确认æ交\n ")])])]):_vm._e(),_vm._v(" "),(_vm.classType == 'transfer_bank' || _vm.classType == 'transfer_account')?_c('div',{staticClass:"content_tansfer"},[(this.$store.state.mainState.flag)?_c('div',{staticClass:"warning-wrap"},[_c('div',{staticClass:"warning"},[_c('svg',{staticClass:"icon",attrs:{"aria-hidden":"true"}},[_c('use',{attrs:{"xlink:href":"#icon-user-sound"}})]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.notice))])])]):_c('div',{staticClass:"content-main2"},[_c('div',{staticClass:"left"},[_c('p',{staticClass:"teach"},[_c('span'),_vm._v(" "),_c('i',[_vm._v(_vm._s(_vm.className.includes("微信转å¡") ? "微信转银行å¡æ•™ç¨‹" : _vm.className.includes("支付å®è½¬å¡") ? "支付å®è½¬é“¶è¡Œå¡æ•™ç¨‹" : _vm.className.includes("微信转账") ? "微信转账教程" : "支付å®è½¬è´¦æ•™ç¨‹"))]),_vm._v(" "),_c('span')]),_vm._v(" "),(_vm.className.includes('支付å®è½¬è´¦'))?_c('div',{staticClass:"slide_list"},[_c('div',{staticClass:"slide_item",style:({ transform: 'translateX(' + _vm.move + 'px)' })},_vm._l((_vm.carouselData),function(v,i){return _c('div',{key:i},[_c('img',{attrs:{"src":v.imgUrl}}),_vm._v(" "),_c('p',_vm._l((_vm.carouselData),function(k,j){return _c('span',{key:j,class:{ ac: j == _vm.n }})}),0),_vm._v(" "),_c('p',[_vm._v(_vm._s(v.text))])])}),0),_vm._v(" "),_c('span',{staticClass:"pre",on:{"click":_vm.pre}}),_vm._v(" "),_c('span',{staticClass:"next",on:{"click":function($event){return _vm.next('alipay')}}})]):_vm._e(),_vm._v(" "),(_vm.className.includes('支付å®è½¬å¡'))?_c('div',{staticClass:"slide_list"},[_c('div',{staticClass:"slide_item",style:({ transform: 'translateX(' + _vm.move + 'px)' })},_vm._l((_vm.carouselData3),function(v,i){return _c('div',{key:i},[_c('img',{attrs:{"src":v.imgUrl}}),_vm._v(" "),_c('p',_vm._l((_vm.carouselData3),function(k,j){return _c('span',{key:j,class:{ ac: j == _vm.n }})}),0),_vm._v(" "),_c('p',[_vm._v(_vm._s(v.text))])])}),0),_vm._v(" "),_c('span',{staticClass:"pre",on:{"click":_vm.pre}}),_vm._v(" "),_c('span',{staticClass:"next",on:{"click":function($event){return _vm.next('alipaytoCard')}}})]):_vm._e(),_vm._v(" "),(_vm.className.includes('微信转账'))?_c('div',{staticClass:"slide_list"},[_c('div',{staticClass:"slide_item",style:({ transform: 'translateX(' + _vm.move + 'px)' })},_vm._l((_vm.carouselData2),function(v,i){return _c('div',{key:i},[_c('img',{attrs:{"src":v.imgUrl}}),_vm._v(" "),_c('p',_vm._l((_vm.carouselData2),function(k,j){return _c('span',{key:j,class:{ ac: j == _vm.n }})}),0),_vm._v(" "),_c('p',[_vm._v(_vm._s(v.text))])])}),0),_vm._v(" "),_c('span',{staticClass:"pre",on:{"click":_vm.pre}}),_vm._v(" "),_c('span',{staticClass:"next",on:{"click":function($event){return _vm.next('wechat')}}})]):_vm._e(),_vm._v(" "),(_vm.className.includes('微信转å¡'))?_c('div',{staticClass:"slide_list"},[_c('div',{staticClass:"slide_item",style:({ transform: 'translateX(' + _vm.move + 'px)' })},_vm._l((_vm.carouselData4),function(v,i){return _c('div',{key:i},[_c('img',{attrs:{"src":v.imgUrl}}),_vm._v(" "),_c('p',_vm._l((_vm.carouselData4),function(k,j){return _c('span',{key:j,class:{ ac: j == _vm.n }})}),0),_vm._v(" "),_c('p',[_vm._v(_vm._s(v.text))])])}),0),_vm._v(" "),_c('span',{staticClass:"pre",on:{"click":_vm.pre}}),_vm._v(" "),_c('span',{staticClass:"next",on:{"click":function($event){return _vm.next('wechatToCard')}}})]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"right"},[( _vm.className.includes('微信转å¡') || _vm.className.includes('支付å®è½¬å¡') )?_c('p',[_vm._v("\n 选择汇款å¡å·:\n ")]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"bank_kind"},_vm._l((_vm.wetbankList),function(v,i){return _c('span',{key:i,class:{ active: i == _vm.bankIndex },on:{"click":function($event){return _vm.chooseBank(v, i)}}},[(_vm.className.includes('微信转账'))?_c('span',[_c('img',{attrs:{"src":_vm.wechat}}),_c('i',{staticClass:"wechatName"},[_vm._v("微信账å·")])]):_vm._e(),_vm._v(" "),(_vm.className.includes('支付å®è½¬è´¦'))?_c('span',[_c('img',{attrs:{"src":_vm.alipay}}),_c('i',{staticClass:"alipayName"},[_vm._v("支付å®")])]):_vm._e(),_vm._v(" "),( !_vm.className.includes('支付å®è½¬è´¦') && !_vm.className.includes('微信转账') )?_c('span',{staticClass:"noeWechat"},[_c('img',{attrs:{"src":v.cardImg}}),_vm._v(_vm._s(v.bankName))]):_vm._e()])}),0),_vm._v(" "),_c('div',{staticClass:"customer_list"},[_c('div',[(_vm.className.includes('微信转账'))?_c('span',[_vm._v("微信昵称: ")]):(_vm.className.includes('支付å®è½¬è´¦'))?_c('span',[_vm._v("è´¦å·å§“å:\n ")]):_c('span',[_vm._v("收款姓å: ")]),_vm._v(" "),_c('i',{on:{"click":function($event){return _vm.onCopy(_vm.bankInfo.saveName)}}},[_vm._v("å¤åˆ¶")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.bankInfo.saveName),expression:"bankInfo.saveName"}],attrs:{"type":"text","placeholder":"收款姓å","disabled":"disabled"},domProps:{"value":(_vm.bankInfo.saveName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.bankInfo, "saveName", $event.target.value)}}})]),_vm._v(" "),_c('div',[(_vm.className.includes('微信转账'))?_c('span',[_vm._v("微信账å·: ")]):(_vm.className.includes('支付å®è½¬è´¦'))?_c('span',[_vm._v("转账账å·:\n ")]):_c('span',[_vm._v("收款账å·: ")]),_vm._v(" "),_c('i',{on:{"click":function($event){return _vm.onCopy(_vm.bankInfo.saveMoney)}}},[_vm._v("å¤åˆ¶")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.bankInfo.saveMoney),expression:"bankInfo.saveMoney"}],attrs:{"type":"text","placeholder":"收款金é¢","disabled":"disabled"},domProps:{"value":(_vm.bankInfo.saveMoney)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.bankInfo, "saveMoney", $event.target.value)}}})]),_vm._v(" "),( _vm.className.includes('微信转账') || _vm.className.includes('支付å®è½¬è´¦') )?_c('div',[_c('span',[_vm._v("温馨æ示: ")]),_vm._v(" "),(_vm.className.includes('支付å®è½¬è´¦'))?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.bankInfo.classRemarks),expression:"bankInfo.classRemarks"}],attrs:{"type":"text","disabled":"disabled","placeholder":_vm.classRemarks},domProps:{"value":(_vm.bankInfo.classRemarks)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.bankInfo, "classRemarks", $event.target.value)}}}):_vm._e(),_vm._v(" "),(_vm.className.includes('微信转账'))?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.bankInfo.classRemarks),expression:"bankInfo.classRemarks"}],attrs:{"type":"text","disabled":"disabled","placeholder":_vm.classRemarks},domProps:{"value":(_vm.bankInfo.classRemarks)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.bankInfo, "classRemarks", $event.target.value)}}}):_vm._e()]):_vm._e(),_vm._v(" "),_c('div',[( _vm.className.includes('微信转账') || _vm.className.includes('支付å®è½¬è´¦') )?_c('span',[_vm._v("汇款昵称:\n ")]):_vm._e(),_vm._v(" "),( _vm.className.includes('微信转账') || _vm.className.includes('支付å®è½¬è´¦') )?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.bankInfo.backName),expression:"bankInfo.backName"}],attrs:{"maxlength":"32","type":"text","placeholder":"请输入1~32ä½æ±‡æ¬¾æ˜µç§°"},domProps:{"value":(_vm.bankInfo.backName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.bankInfo, "backName", $event.target.value)}}}):_vm._e(),_vm._v(" "),( !_vm.className.includes('微信转账') && !_vm.className.includes('支付å®è½¬è´¦') )?_c('span',[_vm._v("汇款姓å:\n ")]):_vm._e(),_vm._v(" "),( !_vm.className.includes('微信转账') && !_vm.className.includes('支付å®è½¬è´¦') )?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.bankInfo.backName),expression:"bankInfo.backName"}],attrs:{"type":"text","placeholder":"汇款姓å"},domProps:{"value":(_vm.bankInfo.backName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.bankInfo, "backName", $event.target.value)}}}):_vm._e()]),_vm._v(" "),_c('div',[_c('span',[_vm._v("汇款金é¢: ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.bankInfo.backMoney),expression:"bankInfo.backMoney"}],attrs:{"type":"text","placeholder":"汇款金é¢"},domProps:{"value":(_vm.bankInfo.backMoney)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.bankInfo, "backMoney", $event.target.value)}}})]),_vm._v(" "),(_vm.discountList.length > 0)?_c('div',[_c('span',{staticClass:"text"},[_vm._v("ä¼˜æƒ æ¯”ä¾‹:")]),_vm._v(" "),_c('Select',{staticClass:"bank2",attrs:{"disabled":_vm.discountList.length == 1},model:{value:(_vm.discountVal),callback:function ($$v) {_vm.discountVal=$$v},expression:"discountVal"}},_vm._l((_vm.discountList),function(i,j){return _c('Option',{key:j,attrs:{"value":i.bonusRate.indexOf('_') === -1 ? i.bonusRate : i.bonusRate.split('_')[1]}},[_vm._v(_vm._s(i.bonusRate.indexOf("_") === -1 ? i.bonusRate : i.bonusRate.split("_")[1])+"% (å˜æ¬¾"+_vm._s(i.multiple)+"å€æ‰“ç )")])}),1)],1):_vm._e(),_vm._v(" "),_c('div',[_c('div',{staticClass:"submitPay",class:{ actives: !_vm.canClick },on:{"click":_vm.submitBnk}},[_vm._v("\n 确认æ交\n ")])])])])])]):_vm._e()]):_c('div',{staticClass:"no-pay-tongdao"},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-pay-tongdao.png","alt":""}})]),_vm._v(" "),_c('Modal',{staticClass:"oldmal",attrs:{"class-name":"agent-transfer","width":"424","mask-closable":false},model:{value:(_vm.ifmodel),callback:function ($$v) {_vm.ifmodel=$$v},expression:"ifmodel"}},[_c('div',{staticClass:"vp-admin-wrap-close",attrs:{"slot":"close"},slot:"close"},[_c('div',{staticClass:"vp-admin-wrap-close-empty"},[_c('a')])]),_vm._v(" "),_c('div',{staticClass:"tishi",attrs:{"slot":"header"},slot:"header"},[_c('span',[_vm._v("æ示")])]),_vm._v(" "),_c('div',{staticClass:"agent-con"},[_c('span',{staticClass:"iconspan"},[_c('i',{staticClass:"iconfont icon-baojing"}),_c('span',{staticClass:"tispan"},[_vm._v("是å¦ç»§ç»è¯¥ç¬”充值")])]),_vm._v(" "),_c('a',{staticClass:"pay",attrs:{"href":_vm.hrefpath,"target":"_blank"}},[_vm._v("支付")])]),_vm._v(" "),_c('div',{attrs:{"slot":"footer"},slot:"footer"})]),_vm._v(" "),_c('Modal',{staticClass:"newmodal",attrs:{"class-name":"agent-transfer","width":"345","mask-closable":false},model:{value:(_vm.newmodel),callback:function ($$v) {_vm.newmodel=$$v},expression:"newmodel"}},[_c('div',{staticClass:"vp-admin-wrap-close",attrs:{"slot":"close"},slot:"close"}),_vm._v(" "),_c('div',{staticClass:"tishi",attrs:{"slot":"header"},slot:"header"},[_c('span',[_vm._v("请填写真实姓å")])]),_vm._v(" "),_c('div',{staticClass:"agent-con"},[_c('span',{staticClass:"rename"},[_vm._v("请务必填写真实姓åï¼Œä¸€æ—¦ç»‘å®šå°†æ— æ³•ä¿®æ”¹å§“å")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.realName),expression:"realName"}],attrs:{"type":"text","placeholder":"真实姓å","id":"inputtext"},domProps:{"value":(_vm.realName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.realName=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"footer",attrs:{"slot":"footer"},slot:"footer"},[_c('span',{staticClass:"span1",on:{"click":_vm.hidemode}},[_vm._v("å–消")]),_vm._v(" "),_c('span',{on:{"click":_vm.sendName}},[_vm._v("确定")])])]),_vm._v(" "),_c('rechargeLog')],1)} var onLine_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticStyle:{"margin-left":"134px"}},[_vm._v("\n 2ã€å……值时候,切记æ交订å•çš„金é¢å’Œå……值的金é¢è¦ç›¸ä¸€è‡´ï¼Œè¿™æ ·æˆåŠŸçŽ‡è¾ƒé«˜ï¼Œ1~3分钟å³å¯åˆ°è´¦,"),_c('br')])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticStyle:{"margin-left":"155px"}},[_vm._v("如ä¸ä¸€è‡´ï¼Œä¼šå¯¼è‡´ä¸åˆ°è´¦å“¦"),_c('span',{staticStyle:{"color":"#F00","font-size":"14PX"}},[_vm._v("ã€æ”¯ä»˜æˆåŠŸä¸åˆ°è´¦çš„,请找在线客æœæˆ–推广代ç†ã€‘")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"usdt-img"},[_c('img',{attrs:{"src":__webpack_require__("qIgz")}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"usdt-tips"},[_c('h2',[_vm._v("é‡è¦æ醒")]),_vm._v(" "),_c('p',[_vm._v("\n ç¦æ¢å‘TRC20地å€å……值除TRC20之外的资产ï¼"),_c('br'),_vm._v("\n 任何充入TRC20地å€çš„éžTRC20资产将ä¸å¯æ‰¾å›žï¼"),_c('br'),_vm._v("\n 充值需è¦å…¨ç½‘确认æ‰èƒ½åˆ°è´¦ï¼Œè¯·è€å¿ƒç‰å€™ï¼"),_c('br')])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticStyle:{"margin-left":"155px"}},[_vm._v("\n 如ä¸ä¸€è‡´ï¼Œä¼šå¯¼è‡´ä¸åˆ°è´¦å“¦ã€"),_c('span',{staticStyle:{"color":"#F00","font-size":"14PX"}},[_vm._v("支付æˆåŠŸä¸åˆ°è´¦çš„,请找在线客æœæˆ–推广代ç†")]),_vm._v("】\n ")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bar"},[_c('label',{staticClass:"text"},[_vm._v("二维ç :")]),_vm._v(" "),_c('canvas',{attrs:{"id":"qrcode"}})])}] var onLine_esExports = { render: onLine_render, staticRenderFns: onLine_staticRenderFns } /* harmony default export */ var recharge_onLine = (onLine_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/recharge/onLine.vue function onLine_injectStyle (ssrContext) { __webpack_require__("NZQs") } var onLine_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var onLine___vue_template_functional__ = false /* styles */ var onLine___vue_styles__ = onLine_injectStyle /* scopeId */ var onLine___vue_scopeId__ = "data-v-f7c57488" /* moduleIdentifier (server only) */ var onLine___vue_module_identifier__ = null var onLine_Component = onLine_normalizeComponent( onLine, recharge_onLine, onLine___vue_template_functional__, onLine___vue_styles__, onLine___vue_scopeId__, onLine___vue_module_identifier__ ) /* harmony default export */ var personals_recharge_onLine = (onLine_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/recharge/manual.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var manual = ({ data: function data() { return { notice: 'å…¬å¸é“¶è¡Œè´¦å·éšæ—¶æ›´æ¢! 请æ¯æ¬¡å˜æ¬¾éƒ½è‡³ [汇款æ交] 进行æ“作。 入款至已过期账å·ï¼Œå…¬å¸æ— 法查收,æ•ä¸è´Ÿè´£!', //顶部公告 serviceData: [], hasServiceInfo: false, link: '', allList: [], serviceStar: ["/static/public/image/userImg/star.png", "/static/public/image/userImg/star.png", "/static/public/image/userImg/star.png", "/static/public/image/userImg/star.png", "/static/public/image/userImg/star.png"] }; }, methods: { //获å–客æœè¿žæŽ¥å’Œtoken getKefuLink: function getKefuLink() { var _this = this; this.$http.post(this.$HOST_NAME + '/paymentServiceLink', { port: 1, siteId: JSON.parse(localStorage.config).siteId, hierarchyId: JSON.parse(localStorage.userinfo).agencyInfo.levelId }).then(function (res) { if (res.code == 200) { _this.link = res.data.link; _this.getServiceList(res.data.token); } }); }, // 获å–侧边æ æ•°æ® getNavDatas: function getNavDatas() { var _this2 = this; this.$http.post(this.$HOST_NAME + '/deposit/payment/category', { devices: 'pc' }).then(function (res) { if (res.code == 200) { _this2.allList = res.data; } }); }, // 跳转支付 toggle2: function toggle2(name) { var _this3 = this; var goName = name.split('-')[0]; var thisA = []; var index = 0; for (var i = 0; i < this.allList.length; i++) { switch (goName) { case "支付å®": if (this.allList[i].className == '支付å®è½¬å¡') { thisA = this.allList[i]; } index = 2; break; case "微信": if (this.allList[i].className == '微信转账') { thisA = this.allList[i]; } index = 4; break; case "网银": if (this.allList[i].className == '网银转账') { thisA = this.allList[i]; } index = 0; break; case "云闪付": if (this.allList[i].className == '银è”支付') { thisA = this.allList[i]; } index = 6; break; } } if (thisA.classType == 'bank' || thisA.classType == 'paymentServiceLink') { this.$store.commit('showContent', { parent: 'recharge' }); this.$store.commit('showNav', { child: index }); this.$store.commit('payment', thisA); } else { this.$store.commit('showContent', { parent: 'recharge' }); this.$store.commit('showNav', { child: index }); this.$store.commit('payment', thisA); var postUrl = ''; if (thisA.classType == 'qr_code') { postUrl = '/deposit/qr_code'; } else if (thisA.classType == 'transfer_bank') { postUrl = '/deposit/bank'; } else { postUrl = '/deposit/online'; } var parmers = {}; if (thisA.classType == 'transfer_bank' || thisA.classType == 'e_quick_deposit') parmers = { classId: thisA.id, devices: 'pc' };else parmers = { categoryId: thisA.id, devices: 'pc' }; this.$http.post('' + (this.$HOST_NAME + postUrl), parmers).then(function (res) { if (res.code == 200) { res.data.forEach(function (v) { if (v.bankCode && v.bankCode !== 'null') { v.bankCode = JSON.parse(v.bankCode); v.codeShow = true; } else { v.codeShow = false; } }); if (postUrl == '/deposit/online') { var isFormatAmount = ''; if (res.data.length > 0) { // å˜åœ¨æ”¯ä»˜æ–¹å¼ï¼Œæ‰å¤„ç† // res.data.forEach((item, index) => { // if (item.formatAmount) { // // å˜åœ¨ï¼Œéœ€è¦ç”¨åˆ°ä¸‹æ‹‰æ¡† // // 还需è¦å¤„ç†æ•°æ® // item.priceList = item.formatAmount && item.formatAmount.split(',').sort(this.sortNum1); // item.isFormatAmount = true; // } else { // // ä¸éœ€è¦ç”¨åˆ°ä¸‹æ‹‰æ¡† // item.isFormatAmount = false; // item.quick_amount_list=[] // if(item.quick_amount){ // if(item.quick_amount.indexOf(',')==-1) item.quick_amount_list[0]= item.quick_amount // else item.quick_amount_list=item.quick_amount.split(',').splice(0,8) // }else{ // item.quick_amount_list=[50,100,500,1000,5000] // } // } // }); } } _this3.$store.commit('paymentDataFc', res.data); } }); this.$store.commit('refresh', 1); } }, // 获å–用户 getServiceList: function getServiceList(token) { var _this4 = this; var service = axios_default.a.create({ headers: { "Content-Type": "application/x-www-form-urlencoded;charset=utf-8" }, timeout: 10000, // 请求超时时间 withCredentials: true //指示是å¦è·¨ç«™ç‚¹è®¿é—®æŽ§åˆ¶è¯·æ±‚ }); service.post('https://api.n9011.com/web/service/payServiceList', { token: token, hierarchyId: JSON.parse(localStorage.userinfo).agencyInfo.levelId }).then(function (res) { if (res.data.code === 0) { if (res.data.data) { _this4.hasServiceInfo = true; res.data.data.forEach(function (v) { _this4.serviceData.push(v); }); } else { _this4.hasServiceInfo = false; } // if (res.data.data.length =0 ) { // this.hasServiceInfo = false; // } else { // this.hasServiceInfo = true; // this.serviceData = res.data.data; // res.data.data.forEach(v => { // }); // } } else { _this4.hasServiceInfo = false; } }); }, //è·³è½¬å……å€¼å®¢æœ toKefu: function toKefu(uuid) { var _this5 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _this5.$http.post(_this5.$HOST_NAME + '/paymentServiceCustomer').then(function (res) { if (res.code == 200) { window.open(res.data.data.url + '&port=1&type=0&key=' + res.data.data.key + '&customerUuid=' + uuid); } else { _this5.$error(res.message, 3000); } }); case 1: case 'end': return _context.stop(); } } }, _callee, _this5); }))(); } }, filters: { getName: function getName(name) { return name.split('-')[1]; }, getName1: function getName1(name) { return name.split('-')[0]; } }, created: function created() { this.getKefuLink(); this.getNavDatas(); }, destroyed: function destroyed() { this.$store.commit('loading', false); }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-41e9bedb","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/recharge/manual.vue var manual_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"internerBank"},[_vm._m(0),_vm._v(" "),(_vm.hasServiceInfo)?_c('div',[(this.$store.state.mainState.flag)?_c('div',{staticClass:"warning-wrap"},[_c('div',{staticClass:"warning"},[_c('svg',{staticClass:"icon",attrs:{"aria-hidden":"true"}},[_c('use',{attrs:{"xlink:href":"#icon-user-sound"}})]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.notice))])])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"userListContianer"},[_vm._m(1),_vm._v(" "),_c('div',{staticClass:"userList"},[_c('ul',_vm._l((_vm.serviceData),function(v,i){return _c('li',{key:i},[_c('div',{staticClass:"userPhoto"},[_c('img',{attrs:{"src":v.headImg,"width":"119px"}})]),_vm._v(" "),_c('div',{staticClass:"userName"},[_c('span',[_vm._v(_vm._s(_vm._f("getName")(v.nickname)))]),_vm._v(" "),_c('span',_vm._l((_vm.serviceStar),function(j,i){return _c('img',{key:i,attrs:{"src":j,"width":"23px"}})}),0),_vm._v(" "),_c('span',[_vm._v("该通é“支æŒ"),_c('a',{on:{"click":function($event){return _vm.toggle2(v.nickname)}}},[_vm._v(_vm._s(_vm._f("getName1")(v.nickname))+"充值")])])]),_vm._v(" "),_c('div',{staticClass:"manualBtn"},[_c('a',{on:{"click":function($event){return _vm.toKefu(v.aisleId)}}},[_c('img',{attrs:{"src":"/static/public/image/userImg/btn.png","width":"129px"}})])]),_vm._v(" "),_c('span',{staticClass:"discount"},[_vm._v("æƒ 1%")])])}),0)])])]):_c('div',{staticClass:"noService"},[_c('span',[_vm._v("æš‚æ— äººå·¥å…¥æ¬¾å®¢æœ!")])])])} var manual_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header"},[_c('ul',[_c('li',[_c('img',{attrs:{"src":"/static/public/image/userImg/wangyin-pay@3x.png","alt":""}}),_vm._v(" "),_c('span',[_vm._v("人工入款")])])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"userTitle"},[_c('img',{attrs:{"src":"/static/public/image/userImg/title.png","width":"100%"}})])}] var manual_esExports = { render: manual_render, staticRenderFns: manual_staticRenderFns } /* harmony default export */ var recharge_manual = (manual_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/recharge/manual.vue function manual_injectStyle (ssrContext) { __webpack_require__("sHAr") } var manual_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var manual___vue_template_functional__ = false /* styles */ var manual___vue_styles__ = manual_injectStyle /* scopeId */ var manual___vue_scopeId__ = "data-v-41e9bedb" /* moduleIdentifier (server only) */ var manual___vue_module_identifier__ = null var manual_Component = manual_normalizeComponent( manual, recharge_manual, manual___vue_template_functional__, manual___vue_styles__, manual___vue_scopeId__, manual___vue_module_identifier__ ) /* harmony default export */ var personals_recharge_manual = (manual_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/recharge/usdtTransfer.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var usdtTransfer = ({ data: function data() { return { usdtImg: '/static/public/image/userImg/usdt.png', canClick: true, spanActive: 0, usdtParames: { min_amount: '', usdtId: '', usdtMoney: '' }, discountList: [], discountVal: '' }; }, methods: { payMoney: function payMoney() { this.sendMony(); }, getDisCountData: function getDisCountData() { var _this = this; this.$http.post(this.$HOST_NAME + '/deposit/getDepositBonusList ', { depositType: 'usdt' }).then(function (res) { if (res.code == 200 && res.data.length > 0) { for (var i = 0; i < res.data.length; i++) { res.data[i].val = i; res.data[i].bonusRate = res.data[i].bonusRate.toString(); } _this.discountList = res.data; _this.discountVal = res.data[0].bonusRate.indexOf('_') === -1 ? res.data[0].bonusRate : res.data[0].bonusRate.split('_')[1]; } }); }, clearNoNum: function clearNoNum() { this.usdtParames.min_amount = this.usdtParames.min_amount.replace(/[\u4e00-\u9fa5]+/g, ''); // 验è¯éžæ±‰å— this.usdtParames.min_amount = this.usdtParames.min_amount.replace(/[^\d.]/g, ''); // 清除"æ•°å—"å’Œ"."以外的å—符 this.usdtParames.min_amount = this.usdtParames.min_amount.replace(/^\./g, ''); // 验è¯ç¬¬ä¸€ä¸ªå—符是数å—而ä¸æ˜¯ this.usdtParames.min_amount = this.usdtParames.min_amount.replace('.', '$#$').replace(/\./g, '').replace('$#$', '.'); // åªä¿ç•™ç¬¬ä¸€ä¸ªå°æ•°ç‚¹, 清除多余的 this.usdtParames.min_amount = this.usdtParames.min_amount.replace(/^(\-)*(\d+)\.(\d{4}).*$/, '$1$2.$3'); // åªèƒ½è¾“å…¥6个å°æ•° this.usdtParames.min_amount = this.usdtParames.min_amount.replace(/^\D*(\d{0,7}(?:\.\d{0,4})?).*$/g, '$1'); }, openUsdt: function openUsdt() { window.open('/static/public/active/hb/index.html'); }, submitBnk: function submitBnk() { var _this2 = this; if (!this.canClick) { return false; } this.canClick = false; setTimeout(function () { _this2.canClick = true; }, 3 * 1000); if (!this.usdtParames.min_amount) { this.$error('请输入货å¸æ•°é‡'); return false; } if (Number(this.usdtParames.min_amount) < Number(this.usdtData[this.spanActive].min_usdt_count)) { this.$error('最å°å……值数é‡' + this.usdtData[this.spanActive].min_usdt_count); return false; } if (!this.usdtParames.usdtId) { this.$error('请输入区å—链交易ID'); return false; } if (this.usdtParames.usdtId.length < 6) { this.$error('请输入æ£ç¡®çš„区å—链交易ID'); return false; } if (!JSON.parse(localStorage.userinfo).realName) { this.$refs.realModal.ifmodel = true; return false; } this.sendMony(); }, sendMony: function sendMony() { var _this3 = this; var data = { device: 'pc', depositId: this.usdtData[this.spanActive].id, classId: this.usdtData[this.spanActive].classId, className: this.usdtData[this.spanActive].className, bankId: this.usdtData[this.spanActive].address, bankSerialNumber: this.usdtParames.usdtId, amount: this.usdtParames.usdtMoney, usdt_count: this.usdtParames.min_amount, bonusRate: this.discountVal }; if (data.bonusRate == "") delete data.bonusRate; this.$http.post(this.$HOST_NAME + '/deposit/usdtDeposit', data).then(function (res) { if (res.code == 200) { _this3.$success(res.data); _this3.usdtParames.min_amount = ''; _this3.usdtParames.usdtId = ''; _this3.usdtParames.usdtMoney = ''; } else { _this3.$error(res.message); } }); }, toggle: function toggle(i, item) { this.spanActive = i; this.usdtParames.min_amount = ''; this.usdtParames.usdtId = ''; this.usdtParames.usdtMoney = ''; }, onCopy: function onCopy(text) { var _this4 = this; this.$copyText(text.replace(/\s*/g, '')).then(function () { _this4.$success('å¤åˆ¶æˆåŠŸ'); }); } }, mounted: function mounted() { this.getDisCountData(); }, computed: { className: function className() { return this.$store.state.personal.itemDatas.className; }, usdtData: function usdtData() { return this.$store.state.personal.usdtData; } }, components: { realModal: personals_recharge_realNameModal }, watch: { 'usdtParames.min_amount': function usdtParamesMin_amount(val) { this.usdtParames.usdtMoney = this.usdtParames.min_amount * this.usdtData[this.spanActive].usdtDepositRate; } }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-a110d184","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/recharge/usdtTransfer.vue var usdtTransfer_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.usdtData.length)?_c('div',{staticClass:"on-line"},[_c('div',{staticClass:"header"},[_c('div',{staticClass:"title"},[_c('span',[_c('img',{attrs:{"src":_vm.usdtImg}})]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.className))])])]),_vm._v(" "),_c('div',{staticClass:"payment"},[_c('div',{staticClass:"title"},[_c('ul',_vm._l((_vm.usdtData),function(item,i){return _c('li',{key:i},[_c('span',{class:{spanActive:_vm.spanActive ==i},on:{"click":function($event){return _vm.toggle(i,item)}}},[_vm._v("充值通é“"+_vm._s(i+1))])])}),0)])]),_vm._v(" "),_c('div',{staticClass:"transfer_usdt"},[_c('p',{staticClass:"usdt_Title"},[_vm._v("温馨æ示:使用数å—è´§å¸å˜å–款,é¿å…银行æµæ°´è¿‡å¤§è¢«é£ŽæŽ§ï¼Œå¤§é¢å¨±ä¹é¦–选ï¼")]),_vm._v(" "),_c('div',{staticClass:"step"},[_c('div',{staticClass:"usdt_first_step"},[_c('div',{staticClass:"step_head"},[_c('span',[_vm._v("第一æ¥")]),_vm._v(" "),_c('span',[_c('i',[_vm._v("充值地å€ï¼š")]),_vm._v(" "),_c('i',[_vm._v(_vm._s(_vm.usdtData[_vm.spanActive].address))]),_vm._v(" "),_c('i',{staticStyle:{"cursor":"pointer"},on:{"click":function($event){return _vm.onCopy(_vm.usdtData[_vm.spanActive].address)}}},[_vm._v("å¤åˆ¶")])])]),_vm._v(" "),_c('div',{staticClass:"step_content"},[_c('p',[_vm._v(_vm._s(_vm.usdtData[_vm.spanActive].address.substring(0, 1) !== 'T' ? 'USDT-ERC20' : 'USDT-TRC20')+"收款ç ")]),_vm._v(" "),_c('div',[_c('span',{staticClass:"loadCode"},[_c('div',{staticClass:"qr"},[_c('img',{staticClass:"qrcode",staticStyle:{"width":"154px","height":"154px"},attrs:{"src":_vm.usdtData[_vm.spanActive].qrCodeImg}})])])]),_vm._v(" "),_c('div',[_vm._v("请使用app扫æ付款")]),_vm._v(" "),_c('div',{staticStyle:{"cursor":"pointer"},on:{"click":_vm.openUsdt}},[_vm._v("查看USDT转账教程>>")])])]),_vm._v(" "),_vm._m(0),_vm._v(" "),_c('div',{staticClass:"usdt_second_step"},[_vm._m(1),_vm._v(" "),_c('div',{staticClass:"step_content"},[_c('div',[_c('span',[_vm._v("è´§å¸æ•°é‡: ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.usdtParames.min_amount),expression:"usdtParames.min_amount"}],attrs:{"type":"text","placeholder":'最å°å……值数é‡'+_vm.usdtData[_vm.spanActive].min_usdt_count,"maxlength":"12"},domProps:{"value":(_vm.usdtParames.min_amount)},on:{"keyup":function($event){return _vm.clearNoNum()},"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.usdtParames, "min_amount", $event.target.value)}}})]),_vm._v(" "),_c('div',[_c('span',[_vm._v("区å—链交易ID: ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.usdtParames.usdtId),expression:"usdtParames.usdtId"}],attrs:{"type":"text","placeholder":"请输入åŽå…ä½","maxlength":"6"},domProps:{"value":(_vm.usdtParames.usdtId)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.usdtParames, "usdtId", $event.target.value)}}})]),_vm._v(" "),_c('div',[_c('span',[_vm._v("å˜æ¬¾æ±‡çŽ‡: ")]),_vm._v(" "),_c('input',{attrs:{"type":"text","disabled":""},domProps:{"value":_vm.usdtData[_vm.spanActive].usdtDepositRate}})]),_vm._v(" "),_c('div',[_c('span',[_vm._v("转账金é¢: ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.usdtParames.usdtMoney),expression:"usdtParames.usdtMoney"}],attrs:{"type":"text","placeholder":"转账金é¢","disabled":""},domProps:{"value":(_vm.usdtParames.usdtMoney)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.usdtParames, "usdtMoney", $event.target.value)}}})]),_vm._v(" "),(_vm.discountList.length > 0)?_c('div',{staticClass:"bar"},[_c('span',{staticClass:"text"},[_vm._v("ä¼˜æƒ æ¯”ä¾‹:")]),_vm._v(" "),_c('Select',{staticClass:"bank2",attrs:{"disabled":_vm.discountList.length == 1},model:{value:(_vm.discountVal),callback:function ($$v) {_vm.discountVal=$$v},expression:"discountVal"}},_vm._l((_vm.discountList),function(i,j){return _c('Option',{key:j,attrs:{"value":i.bonusRate.indexOf('_') === -1 ? i.bonusRate : i.bonusRate.split('_')[1]}},[_vm._v(_vm._s(i.bonusRate.indexOf('_') === -1 ? i.bonusRate : i.bonusRate.split('_')[1])+"% (å˜æ¬¾"+_vm._s(i.multiple)+"å€æ‰“ç )")])}),1)],1):_vm._e(),_vm._v(" "),_c('div',[_c('div',{staticClass:"submitPay",class:{'actives':!_vm.canClick},on:{"click":_vm.submitBnk}},[_vm._v("\n 确认æ交\n ")])])])])])])]):_c('div',{staticClass:"no-pay-tongdao"},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-pay-tongdao.png","alt":""}})]),_vm._v(" "),_c('realModal',{ref:"realModal",on:{"payMoney":_vm.payMoney}})],1)} var usdtTransfer_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('img',{attrs:{"src":"/static/public/image/userImg/next_step.png"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"step_head"},[_c('span',[_vm._v("第二æ¥")])])}] var usdtTransfer_esExports = { render: usdtTransfer_render, staticRenderFns: usdtTransfer_staticRenderFns } /* harmony default export */ var recharge_usdtTransfer = (usdtTransfer_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/recharge/usdtTransfer.vue function usdtTransfer_injectStyle (ssrContext) { __webpack_require__("/Bmd") } var usdtTransfer_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var usdtTransfer___vue_template_functional__ = false /* styles */ var usdtTransfer___vue_styles__ = usdtTransfer_injectStyle /* scopeId */ var usdtTransfer___vue_scopeId__ = "data-v-a110d184" /* moduleIdentifier (server only) */ var usdtTransfer___vue_module_identifier__ = null var usdtTransfer_Component = usdtTransfer_normalizeComponent( usdtTransfer, recharge_usdtTransfer, usdtTransfer___vue_template_functional__, usdtTransfer___vue_styles__, usdtTransfer___vue_scopeId__, usdtTransfer___vue_module_identifier__ ) /* harmony default export */ var personals_recharge_usdtTransfer = (usdtTransfer_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/recharge/quickDeposit.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var recharge_quickDeposit = ({ components: { uploadCredential: personals_recharge_uploadCredential, Checkbox: components_checkbox["a" /* default */] }, store: store["a" /* default */], data: function data() { return { showTextModal: false, // modal - æ–‡å—æ示 modalText: "", single: true, // 显示用 showQuickDepositList: false, noQuickDepositList: false, isGetDepositList: false, limitTips: '', quickDepositList: [], quickDepositStepActive: 1, quickDepositSteps: [{ active: 1, description: 'æ交订å•' }, { active: 2, description: '转账付款' }, { active: 3, description: 'ä¸Šä¼ å‡è¯' }, { active: 4, description: '完æˆè®¢å•' }], isPressQuickDeposit: false, cancelReason: '', reasonOptions: [], depositLimit: 0, depositAmountLimit: 0, quickDepositName: this.$store.state.mainState.userinfo.realName, quickDepositMoney: '', selectedQuickDepositMoney: 0, ebaoDepositInfo: {}, isDepositInfo: false, quickDepositTimeValue: 0, quickDepositTimer: null, reminderTimeValue: 300, reminderTimer: null, currentEbaoOrder: 0, currentEbaoOrderNo: 0, currentEbaoOrderTime: null, traggleEbaoTimerButton: false, credentialPics: "", getUploadImgLength: 0, ebaoCurrentStatus: "nothing", showUrgedAndConfirmedArea: true, user_deposit_cancel_times: 0, deposit_cancel_limit: 0, isSystemWait: false, isShowHintOne: false, isShowHintTwo: false, isKefu: false, isArbitrated: false, isArbitrationModal: false, arbitrationRemark: '', undoneLimit: 0, undoneLimitCount: 0, isOrderFinish: false, orderParams: { order: '', time: 0 }, loopTimer: null, getDepositListLoopTimer: null, isGetDepositListDisable: false, quickAmountData: [], quickAmountLimit: { customer_amount_status: '', maxAmount: '', minAmount: '' }, checkedAmount: '', hasVoucherUploaded: false, showFinishOrderVoucher: false, isCancelUploadCredential: false, isRewardBankDeposit: false, isAlreadyDeposit: false, alreadyDepositOrderData: null, rewardMessage: '' }; }, computed: { isCancelQuickDeposit: function isCancelQuickDeposit() { return this.$store.state.trade.isCancelQuickDeposit; }, paymentData: function paymentData() { return this.$store.state.personal.paymentData; }, className: function className() { return this.$store.state.personal.itemDatas.className; }, categoryId: function categoryId() { return this.$store.state.personal.categoryId; }, userRealName: function userRealName() { return this.$store.state.mainState.userinfo.realName; }, ebaoWsMessage: function ebaoWsMessage() { return this.$store.state.trade.ebaoWebsocketOnmessage; }, preferentialConfig: function preferentialConfig() { var bonusConfig = JSON.parse(localStorage.config).preferential_config.find(function (e) { return e.depositType === 'ebao_deposit_fast'; }); if (!bonusConfig) return null; if (bonusConfig.status === 'on') { return bonusConfig.config[0]; } else { return false; } }, rewardMoney: function rewardMoney() { var preferential = this.preferentialConfig ? this.preferentialConfig.preferential : null; if (!preferential) return 0; return '' + (+this.ebaoDepositInfo.amount * this.preferentialConfig.preferential / 100).toFixed(2); }, itemDatas: function itemDatas() { return this.$store.state.personal.itemDatas; } }, watch: { ebaoWsMessage: function ebaoWsMessage(val) { if (!val.action) return; switch (val.action) { case "connect": //建立连线 case "wait": // 订å•æ¶ˆæ¯ ä¹°å•çŠ¶æ€ä¸ºä»²è£ä¸ case "system_wait_done": // 仲è£äº‹ä»¶å·²å¤„ç† case "system_wait": case "seller_cancel": // 订å•æ¶ˆæ¯ 通知买家,å–家å–消å–å•: case "seller_confirm": // 订å•æ¶ˆæ¯-通知买家,å–å®¶å·²ç¡®è®¤è®¢å• case "success": // 订å•æ¶ˆæ¯é€šçŸ¥ä¹°å®¶ï¼Œå–家已确认收款,订å•å®Œæˆ this.$nextTick(function () { var _this = this; setTimeout(function () { _this.getDepositOrderData('1D' + val.action + _this.orderParams, 'ws'); }, 400); }); // this.$router.push('/home') // this.$store.commit('showPersonal', { // bool: false // }) break; default: break; } }, isArbitrationModal: { handler: function handler(newValue) { if (!newValue) { this.arbitrationRemark = ''; } }, immediate: true } }, methods: { isCancelQuickDepositHandler: function isCancelQuickDepositHandler(data) { var _this2 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _this2.$store.commit('trade/setIsCancelQuickDeposit', data); case 1: case 'end': return _context.stop(); } } }, _callee, _this2); }))(); }, getDepositUndoneLimit: function getDepositUndoneLimit() { var _this3 = this; this.$store.dispatch('trade/postDepositUnDoneLimit').then(function (res) { if (res.code === 200 && res.data) { _this3.undoneLimit = res.data.deposit_unDone_limit; _this3.undoneLimitCount = res.data.user_deposit_unDone_count; } }); }, // getEbaoDepositOrderList () { // this.$store.dispatch('trade/getEbaoDepositOrderList').then(res=>{ // if (res.code === 200 ){ // if (res.data && res.data.order) { // if (res.data.ebao_status === 'success' || res.data.ebao_status === 'kefu_done') { // this.resetQuickDeposit() // return // } // this.$store.commit('trade/setCurrentBuyerOrder', res.data.order) // this.showQuickDepositList = false // this.noQuickDepositList = false // this.isDepositInfo = true // this.isGetDepositList = true // this.ebaoCurrentStatus = res.data.ebao_status // this.ebaoDepositInfo = res.data // this.currentEbaoOrderTime = res.data.time // this.selectedQuickDepositMoney = res.data.amount // this.currentEbaoOrder = res.data.order // this.quickDepositStepActive = 2 // this.quickDepositTimeValue = res.data.countDown - (Math.floor(Date.now() / 1000)) // if (this.quickDepositTimeValue <= 0) { // this.stopTimer() // } else { // this.startTimer() // } // if (res.data.ebao_status === 'buyer_pay') { // this.traggleEbaoTimerButton = true // this.quickDepositStepActive = 3 // } else if (res.data.ebao_status === 'kefu') { // this.showUrgedAndConfirmedArea = false // this.isSystemWait = true // } else if (res.data.ebao_status === 'cancel') { // "超时å–消"的状æ€æ¡ä»¶ // if (res.data.status === 'wait' || res.data.status === 'payment') { // this.showUrgedAndConfirmedArea = false; // this.stopTimer() // } // } // } else { // this.resetQuickDeposit() // } // } // }) // }, loopRequestData: function loopRequestData() { var params = void 0; params = this.$store.state.trade.depositDataParams; if (this.orderParams.order && this.orderParams.time) { params = this.orderParams; } if (params.order && params.time) { this.getDepositOrderData(); } }, stopLoopRequestData: function stopLoopRequestData() { clearInterval(this.loopTimer); this.loopTimer = null; }, getDepositOrderData: function getDepositOrderData() { var _this4 = this; if (this.$store.state.trade.isFromAnotherPage) { this.orderParams = this.$store.state.trade.depositDataParams; this.showFinishOrderVoucher = true; } if (!this.orderParams.order && !this.orderParams.time) { clearInterval(this.loopTimer); return; } this.$store.dispatch('trade/postDepositOrderData', this.orderParams).then(function (res) { if (res.code === 200 && res.data.length) { // 必须先å–å¾— start _this4.currentEbaoOrderTime = res.data[0].time; _this4.currentEbaoOrder = res.data[0].order; if (res.data[0].pay_voucher.length > 0) { _this4.hasVoucherUploaded = true; } else { _this4.hasVoucherUploaded = false; } // 必须先å–å¾— end if (res.data[0].ebao_status === 'success' || res.data[0].ebao_status === 'kefu_done') { _this4.isOrderFinish = true; if (res.data[0].pay_voucher.length <= 0 && _this4.showFinishOrderVoucher) { // 从记录过æ¥ï¼Œå°šæœªä¸Šä¼ å‡è¯æ—¶è¦å¯ä»¥è¡¥ä¸Šä¼ _this4.hasVoucherUploaded = false; _this4.showFinishOrderVoucher = false; _this4.$store.commit('trade/setCurrentBuyerOrder', res.data[0].order); _this4.showQuickDepositList = false; _this4.noQuickDepositList = false; _this4.isDepositInfo = true; _this4.isGetDepositList = true; _this4.ebaoDepositInfo = res.data[0]; _this4.ebaoCurrentStatus = res.data[0].ebao_status; _this4.selectedQuickDepositMoney = res.data[0].amount; _this4.quickDepositStepActive = 4; _this4.showUrgedAndConfirmedArea = true; _this4.traggleEbaoTimerButton = false; _this4.isSystemWait = false; } else { if (res.data[0].ebao_status === 'success') { _this4.showTextModal = true; _this4.modalText = '交易完æˆ'; } _this4.resetQuickDeposit(); _this4.stopLoopRequestData(); } return; } // å¯åŠ¨ 防æ¢è·³å‡ºçš„弹窗功能 if (res.data[0].ebao_status === 'seller_confirm') { _this4.$store.commit('trade/setInBuyerOnOrderPayStep', true); _this4.$store.commit('trade/setCurrentDepositType', 1); } if (!res.data[0].ebao_unsuccess && res.data[0].ebao_status === 'buyer_created' || res.data[0].ebao_unsuccess && res.data[0].status === 'wait') { _this4.isShowHintOne = true; _this4.isShowHintTwo = false; } else { _this4.isShowHintTwo = true; _this4.isShowHintOne = false; } _this4.$store.commit('trade/setCurrentBuyerOrder', res.data[0].order); _this4.showQuickDepositList = false; _this4.noQuickDepositList = false; _this4.isDepositInfo = true; _this4.isGetDepositList = true; _this4.ebaoDepositInfo = res.data[0]; _this4.ebaoCurrentStatus = res.data[0].ebao_status; _this4.selectedQuickDepositMoney = res.data[0].amount; _this4.quickDepositStepActive = 2; _this4.quickDepositTimeValue = res.data[0].countDown - Math.floor(Date.now() / 1000); _this4.reminderTimeValue = res.data[0].call_countdown - Math.floor(Date.now() / 1000); if (res.data[0].ebao_status === 'kefu' && res.data[0].kefu_url && !_this4.reminderTimeValue > 0) { _this4.isKefu = true; } if (_this4.reminderTimeValue <= 0) { _this4.stopRemiderTimer(); } else { _this4.startRemiderTimer(); } if (_this4.quickDepositTimeValue <= 0) { _this4.stopTimer(); } else { _this4.startTimer(); } if (_this4.loopTimer) { _this4.stopLoopRequestData(); } _this4.loopTimer = setInterval(function () { _this4.loopRequestData(); }, 15000); if (res.data[0].ebao_status === 'buyer_pay') { _this4.traggleEbaoTimerButton = true; if (res.data[0].pay_voucher.length <= 0) { _this4.quickDepositStepActive = 3; } else { _this4.quickDepositStepActive = 4; } } else if (res.data[0].ebao_status === 'kefu') { if (res.data[0].pay_voucher.length <= 0) { _this4.showUrgedAndConfirmedArea = true; } else { _this4.showUrgedAndConfirmedArea = false; } _this4.traggleEbaoTimerButton = false; _this4.isSystemWait = true; } else if (res.data[0].ebao_status === 'cancel') { if (res.data[0].status === 'wait' || res.data[0].status === 'payment') { _this4.showUrgedAndConfirmedArea = false; _this4.traggleEbaoTimerButton = false; _this4.stopTimer(); _this4.stopLoopRequestData(); } } } else { _this4.resetQuickDeposit(); _this4.stopLoopRequestData(); } }); }, uploadBuyConfirm: function uploadBuyConfirm() { var _this5 = this; if (this.credentialPics.length === 0) { this.$errorAlert('\u8BF7\u4E0A\u4F20\u51ED\u8BC1\u56FE\u6863', 'warn'); return false; } var params = { order: this.currentEbaoOrder, time: Math.floor(Date.now() / 1000), pic: this.credentialPics }; this.$store.dispatch('trade/uploadBuyConfirm', params).then(function (res) { if (res.code == 200) { // å¼€å¯å¼¹çª— _this5.isRewardBankDeposit = true; _this5.rewardMessage = res.message; if (_this5.quickDepositStepActive === 4) { _this5.$errorAlert('交易完æˆ'); _this5.resetQuickDeposit(); _this5.stopLoopRequestData(); _this5.$store.commit('trade/setCurrentBuyerOrder', ''); } if ([2].includes(_this5.quickDepositStepActive) && isSystemWait) { _this5.traggleEbaoTimerButton = false; // 仲è£ä¸ä¸Šä¼ 图片ä¸æ˜¾ç¤ºæŒ‰é’® } else { _this5.traggleEbaoTimerButton = true; _this5.quickDepositStepActive = 4; // 直接倒數五分é˜ã€‚從帳變進來的話看 orderData 給的 call_countdown _this5.reminderTimeValue = 300; _this5.startRemiderTimer(); } _this5.hasVoucherUploaded = true; _this5.$store.commit('trade/setInBuyerOnOrderPayStep', false); } else { _this5.$errorAlert(res.message); } }); }, resetQuickDeposit: function resetQuickDeposit() { this.quickDepositMoney = ''; this.checkedAmount = ''; if (this.quickAmountLimit.customer_amount_status === 'off' && this.quickAmountData && this.quickAmountData.length > 0) { this.quickDepositMoney = this.quickAmountData[0]; } this.showQuickDepositList = false; this.isGetDepositList = false; this.isDepositInfo = false; this.quickDepositStepActive = 1; this.showUrgedAndConfirmedArea = true; this.isSystemWait = false; this.traggleEbaoTimerButton = false; this.isArbitrated = false; this.isOrderFinish = false; this.$store.commit('trade/setDepositDataParams', { order: '', time: 0 }); }, getCancelReason: function getCancelReason() { var _this6 = this; this.$store.dispatch('trade/getDepositCancelReason').then(function (res) { if (res.code === 200 && res.data) { _this6.reasonOptions = res.data; _this6.cancelReason = _this6.reasonOptions[0]; } }); }, cancelQuickDeposit: function cancelQuickDeposit() { var _this7 = this; if (this.cancelReason === '') { return; } var params = { order: this.currentEbaoOrder, time: this.currentEbaoOrderTime, remark: this.cancelReason }; this.$store.dispatch('trade/deleteDepositCancel', params).then(function () { var _ref = asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee2(res) { var item, i, val, msg, onlineId, postUrl, parmers; return regenerator_default.a.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: if (!(res.code === 200)) { _context2.next = 47; break; } _this7.$success('æˆåŠŸå–消'); _this7.resetQuickDeposit(); _this7.stopLoopRequestData(); _this7.isCancelQuickDepositHandler(false); _this7.$store.commit('trade/setInBuyerOnOrderPayStep', false); if (!_this7.$store.state.trade.cancelQuickDepositSuccessNextStepActionType) { _context2.next = 43; break; } item = null; _context2.t0 = _this7.$store.state.trade.cancelQuickDepositSuccessNextStepActionType; _context2.next = _context2.t0 === 'close' ? 11 : _context2.t0 === 'personSide' ? 16 : _context2.t0 === 'nav' ? 32 : 43; break; case 11: _this7.$store.commit('showPersonal', { bool: false }); _this7.$store.commit('paymentDataFc', []); _this7.$store.commit('setItemDatas', ''); _this7.$store.commit('setCategoryId', ''); return _context2.abrupt('break', 43); case 16: item = _this7.$store.state.trade.cancelQuickDepositSuccessNextStepActionTarget; if (item.type == 'withdraw') { _this7.$parent.$refs.peronsalAside.usdtList(); _this7.$parent.$refs.peronsalAside.ebaoList(); } if (!(item.type == 'recharge')) { _context2.next = 24; break; } _this7.$parent.$refs.peronsalAside.getAssertVerifyPhone(); _this7.$bindPhoneOrbank(); return _context2.abrupt('return'); case 24: _this7.$store.commit('paymentDataFc', []); _this7.$store.commit('setItemDatas', ''); _this7.$store.commit('setCategoryId', ''); case 27: _this7.$store.commit("showContent", { parent: item.type }); _this7.$store.commit("showNav", { child: 0 }); _this7.$store.commit('setCurrentTypeTitle', item.text); if (item.type == "agency") { _this7.ifbalance = true; } else { _this7.ifbalance = false; } return _context2.abrupt('break', 43); case 32: item = _this7.$store.state.trade.cancelQuickDepositSuccessNextStepActionTarget.item; i = _this7.$store.state.trade.cancelQuickDepositSuccessNextStepActionTarget.i; if (!(item.classType == 'payment' && _this7.$websiteName && ['hqyl', 'klk', '478qp', 'blr', 'bet365', 'mgm', 'pjdc', 'qygj', 'tycjt', 'vnso', 'vnst', 'jsyl', 'xpj'].includes(_this7.$websiteName))) { _context2.next = 39; break; } _context2.next = 37; return _this7.$http.post(_this7.$HOST_NAME + '/getPaymentMsgImg'); case 37: val = _context2.sent; if (val.code == 200 && val.data.msg) { _this7.$store.state.personal.showRecharge = true; _this7.$store.state.personal.rechargeText = val.data; msg = _this7.$store.state.personal.rechargeText.msg; msg = msg.replace('{payTypeText}', '<span style=\'color:#058dd7\'>' + _this7.$store.state.personal.rechargeText.payTypeText + '</span>'); msg = msg.replace('{preferentialText}', '<span style=\'color:#d06901\'>' + _this7.$store.state.personal.rechargeText.preferentialText + '</span>'); msg = msg.replace('{giftMoreText}', '<span style=\'color:#c21358\'>' + _this7.$store.state.personal.rechargeText.giftMoreText + '</span>'); _this7.$store.state.personal.rechargeText['msg'] = msg; _this7.$store.state.personal.rechargeMsg = _this7.$store.state.personal.rechargeText['msg']; } case 39: onlineId = item.id; _this7.liActive = i; if (item.classType == 'bank' || item.classType == 'paymentServiceLink') { _this7.$store.commit('showContent', { parent: 'recharge' }); _this7.$store.commit('showNav', { child: i }); _this7.$store.commit('payment', item); } else { _this7.$store.commit('showContent', { parent: 'recharge' }); _this7.$store.commit('showNav', { child: i }); _this7.$store.commit('payment', item); postUrl = ''; if (item.classType == 'qr_code') { postUrl = '/deposit/qr_code'; } else if (item.classType == 'transfer_bank' || item.classType == 'transfer_account') { postUrl = '/deposit/bank'; } else if (item.classType == 'virtual') { postUrl = '/deposit/usdtList'; } else { postUrl = '/deposit/online'; } parmers = {}; if (item.classType == 'transfer_bank' || item.classType == 'transfer_account') parmers = { classId: item.id, devices: 'pc' };else if (item.classType == 'virtual') { parmers = { device: 'pc', classId: item.id }; } else { parmers = { categoryId: item.id, devices: 'pc' }; } _this7.$http.post('' + (_this7.$HOST_NAME + postUrl), parmers).then(function (res) { if (res.code == 200) { res.data.forEach(function (v) { if (v.bankCode && v.bankCode !== 'null') { v.bankCode = JSON.parse(v.bankCode); v.codeShow = true; } else { v.codeShow = false; } }); if (postUrl == '/deposit/online') { var isFormatAmount = ''; if (res.data.length > 0) { // å˜åœ¨æ”¯ä»˜æ–¹å¼ï¼Œæ‰å¤„ç† res.data.forEach(function (item, index) { if (item.formatAmount) { // å˜åœ¨ï¼Œéœ€è¦ç”¨åˆ°ä¸‹æ‹‰æ¡† // 还需è¦å¤„ç†æ•°æ® item.priceList = item.formatAmount && item.formatAmount.split(',').sort(_this7.sortNum1); item.isFormatAmount = true; } else { // ä¸éœ€è¦ç”¨åˆ°ä¸‹æ‹‰æ¡† item.isFormatAmount = false; item.quick_amount_list = []; if (item.quick_amount) { if (item.quick_amount.indexOf(',') == -1) item.quick_amount_list[0] = item.quick_amount;else item.quick_amount_list = item.quick_amount.split(',').splice(0, 8); } else { item.quick_amount_list = [50, 100, 500, 1000, 5000]; } } }); } } if (item.classType == 'virtual') { _this7.$store.commit('usdtData', res.data); } else { _this7.$store.commit('paymentDataFc', res.data); } } }); _this7.$store.commit('refresh', 1); } return _context2.abrupt('break', 43); case 43: _this7.$store.commit('trade/setInBuyerOnOrderPayStep', false); _this7.$store.commit('trade/setRememberCancelQuickDepositSuccessNextStep', { actionType: '', target: '' }); // this.isCancelQuickDeposit = false // å–消æˆåŠŸå¸®ä»–获å–ä¸€æ¬¡è®¢å• // this.getDepositList() _context2.next = 49; break; case 47: _this7.$errorAlert(res.message); _this7.$store.commit('trade/setRememberCancelQuickDepositSuccessNextStep', { actionType: 'close', target: '' }); case 49: case 'end': return _context2.stop(); } } }, _callee2, _this7); })); return function (_x) { return _ref.apply(this, arguments); }; }()).catch(function (_e) { _this7.$errorAlert(res.message); _this7.$store.commit('trade/setRememberCancelQuickDepositSuccessNextStep', { actionType: 'close', target: '' }); }); }, arbitrateOrder: function arbitrateOrder() { var _this8 = this; if (this.arbitrationRemark === '') return; var params = { order: this.currentEbaoOrder, time: this.currentEbaoOrderTime, remark: this.arbitrationRemark }; this.$store.dispatch('trade/postArbitrationOrder', params).then(function (res) { if (res.code === 200) { _this8.$success(res.data); _this8.showUrgedAndConfirmedArea = false; _this8.traggleEbaoTimerButton = false; _this8.isSystemWait = true; _this8.isArbitrationModal = false; _this8.arbitrationRemark = ''; _this8.isArbitrated = true; } else { _this8.$errorAlert(res.message); } }); }, getCredentialPics: function getCredentialPics(pics) { this.credentialPics = pics; }, getDepositLimit: function getDepositLimit() { var _this9 = this; this.$store.dispatch('trade/getEbaoDepositLimit').then(function (res) { if (res.code === 200) { // this.depositLimit = res.data.deposit_limit - res.data.user_deposit_times // this.depositAmountLimit = res.data.deposit_get_amount_limit - res.data.user_deposit_get_amount_times // 写æ»æ— é™åˆ¶æ¬¡æ•° _this9.depositLimit = 1; _this9.depositAmountLimit = 1; _this9.deposit_cancel_limit = res.data.deposit_cancel_limit; _this9.user_deposit_cancel_times = res.data.user_deposit_cancel_times; } }); }, handleDepositType: function handleDepositType() { var _this10 = this; if (this.quickDepositMoney === '' || this.quickDepositMoney === '0') { this.$error("请输入å˜æ¬¾é‡‘é¢"); return; } if (this.quickDepositMoney > 100 && this.quickDepositMoney % 100) { this.$error('å˜æ¬¾é‡‘é¢é¡»ä¸º100çš„æ•´æ•°å€æ•°ï¼Œ\n已为您调整'); this.quickDepositMoney = '' + Math.floor(this.quickDepositMoney / 100) * 100; this.checkedAmount = ''; return; } // 代表æ£åœ¨long pulling 直到 æœ‰æŒ‚å• å› æ¤æŒç»æ˜¾ç¤º 订å•åŒ¹é…ä¸.... if (this.$store.state.trade.inEbaoDepositMatchListLongPolling) {} else { this.isGetDepositListDisable = true; setTimeout(function () { _this10.isGetDepositListDisable = false; }, 3000); } this.quickDepositList = []; this.isOrderFinish = false; var data = { categoryId: this.categoryId, money: Number(this.quickDepositMoney) || 0, paymentId: this.paymentData[0].id, realName: this.quickDepositName }; this.$store.dispatch('trade/getEbaoDepositMatchList', data).then(function (res) { // 5020 有尚未完æˆçš„充值å•ï¼Œéœ€è¦å…ˆå®Œæˆã€‚å¼€å¯æ示弹窗 if (res.code === 5020) { _this10.alreadyDepositOrderData = extends_default()({}, res.data, { message: res.message }); _this10.isAlreadyDeposit = true; return; } if (res.code === 200) { if (res.data.bank) { // 网银 // this.$store.commit('trade/setOnFastTobank', {needChange: true, data: {type: 'bank', res, data}}) _this10.$goUserCen('recharge', 0); _this10.$store.commit('setItemDatas', extends_default()({}, res.bank, { classType: res.data.category.classType, className: res.data.category.className })); _this10.$emit('handleDepositType', { type: 'bank', res: res, data: data }); } else if (res.data.match_list) { // æžé€Ÿ _this10.$emit('handleDepositType', { type: 'quick', res: res, data: data }); } } else { _this10.$error(res.message); } }); }, getDepositList: function getDepositList(res) { var _this11 = this; // getEbaoDepositMatchList æžé€Ÿ if (res.code === 200) { if (res.data.match_list.length) { res.data.match_list.forEach(function (item) { var interestImg = Number(_this11.quickDepositMoney) - item.money > 0 ? '/static/public/image/userImg/quick-deposit-arrow-down.png' : '/static/public/image/userImg/quick-deposit-arrow-up.png'; _this11.quickDepositList.push({ money: item.money, interest: Math.abs(Number(_this11.quickDepositMoney) - item.money), img: interestImg, ebaoOrderNo: item.ebaoOrderNo, btnIsSelected: false }); }); this.noQuickDepositList = false; this.showQuickDepositList = false; clearTimeout(this.getDepositListLoopTimer); this.$store.commit('trade/setInEbaoDepositMatchListLongPolling', false); // 直接å˜æ¬¾ï¼Œä¸ç”¨é€‰æ‹© this.handleDepositNow(this.quickDepositList[0]); } else { // 应该è¦å¼€å§‹è½®è¯¢ this.$store.commit('trade/setInEbaoDepositMatchListLongPolling', true); clearTimeout(this.getDepositListLoopTimer); this.getDepositListLoopTimer = setTimeout(function () { _this11.handleDepositType(); }, 5000); this.showQuickDepositList = false; this.noQuickDepositList = true; } } else if (res.code === 403) { this.$error('请绑定真实姓å'); clearTimeout(this.getDepositListLoopTimer); this.$store.commit('trade/setInEbaoDepositMatchListLongPolling', false); } else { this.$error(res.message); clearTimeout(this.getDepositListLoopTimer); this.$store.commit('trade/setInEbaoDepositMatchListLongPolling', false); this.showQuickDepositList = false; this.noQuickDepositList = true; } this.getDepositLimit(); if (this.quickDepositList.length > 1 && !this.quickDepositList[0].btnIsSelected) { this.isGetDepositList = false; } // this.$store.dispatch('trade/getEbaoDepositList', data).then(res => { // this.limitTips = '' // if(res.code === 200) { // if (res.data.length) { // res.data.forEach(item => { // let interestImg = Number(this.quickDepositMoney) - item.money > 0 ? '/static/public/image/userImg/quick-deposit-arrow-down.png' : '/static/public/image/userImg/quick-deposit-arrow-up.png'; // this.quickDepositList.push( // { money: item.money, interest: Math.abs(Number(this.quickDepositMoney) - item.money), img: interestImg, ebaoOrderNo: item.ebaoOrderNo, btnIsSelected:false }, // ) // }) // this.noQuickDepositList = false // this.showQuickDepositList = true // } else { // this.showQuickDepositList = false // this.noQuickDepositList = true // } // } else if (res.code === 403) { // this.$error('请绑定真实姓å') // } else { // this.$error(res.message) // this.showQuickDepositList = false // this.noQuickDepositList = true // } // this.getDepositLimit() // if (this.quickDepositList.length !== 1 && !this.quickDepositList[0].btnIsSelected) { // this.isGetDepositList = false // } // }) }, handleDepositNow: function handleDepositNow(data) { var _this12 = this; this.stopRemiderTimer(); this.selectedQuickDepositMoney = data.money; this.currentEbaoOrderNo = data.ebaoOrderNo; this.currentEbaoOrderTime = data.time; var params = { categoryId: this.categoryId, paymentId: this.paymentData[0].id, depositRealName: this.quickDepositName // 需è¦å¸¦å…¥åå— æˆ–æ˜¯è‡ªå·±æ‰“çš„åå— }; var money = data.money, ebaoOrderNo = data.ebaoOrderNo; params = extends_default()({ money: money, ebaoOrderNo: ebaoOrderNo }, params); this.$store.dispatch('trade/postOnlinePaymentNew', params).then(function (res) { if (res.code === 200 && res.data) { _this12.isGetDepositList = true; // disable 页é¢å±•ç¤º _this12.quickDepositList = _this12.quickDepositList.map(function (item) { if (item.ebaoOrderNo === _this12.currentEbaoOrderNo) { item.btnIsSelected = true; } return item; }); _this12.quickDepositMoney = ''; _this12.checkedAmount = ''; _this12.orderParams.order = res.data.order; _this12.orderParams.time = res.data.time; _this12.$store.commit('trade/setCurrentBuyerOrder', res.data.order); UserService["a" /* default */].ebaoWebScoket.call(_this12); _this12.getDepositOrderData(); } else { _this12.$errorAlert(res.message, 'warn'); _this12.resetQuickDeposit(); _this12.quickDepositList = []; } _this12.getDepositLimit(); }); }, confirmQuickEboaDesposit: function confirmQuickEboaDesposit() { var _this13 = this; // if (this.credentialPics.length === 0) { // this.$errorAlert(`è¯·ä¸Šä¼ å‡è¯å›¾æ¡£`, 'warn') // return // } var params = { order: this.currentEbaoOrder, time: Math.floor(Date.now() / 1000) // pic: this.credentialPics }; this.$store.dispatch('trade/submitEbaoUploadConfirm', params).then(function (res) { if (res.code == 200) { _this13.traggleEbaoTimerButton = true; _this13.quickDepositStepActive = 3; _this13.$store.commit('trade/setInBuyerOnOrderPayStep', false); } else { _this13.$errorAlert(res.message); } }); }, formatTimer: function formatTimer(num, length) { return (Array(length).join("0") + num).slice(-length); }, getTimer: function getTimer(time) { var minute = Math.floor(time / 60).toString().padStart(2, '0'); var second = (time % 60).toString().padStart(2, '0'); return minute + ':' + second; // if (!timeValue) return "00:00:00"; // const hour = this.formatTimer(Math.floor(timeValue / 3600), 2) // const minute = this.formatTimer(Math.floor(timeValue / 60), 2); // const second = this.formatTimer(timeValue % 60, 2); // if (format=='MMSS' && hour=='00') { // return `${minute}:${second}`; // } // return `${hour}:${minute}:${second}`; }, startTimer: function startTimer() { var _this14 = this; clearInterval(this.quickDepositTimer); this.quickDepositTimer = setInterval(function () { _this14.countDown(); }, 1000); }, stopTimer: function stopTimer() { clearInterval(this.quickDepositTimer); this.quickDepositTimer = null; this.quickDepositTimeValue = 0; }, countDown: function countDown() { this.quickDepositTimeValue--; if (this.quickDepositTimeValue <= 0) { this.stopTimer(); this.getDepositOrderData(); } }, startRemiderTimer: function startRemiderTimer() { var _this15 = this; clearInterval(this.reminderTimer); this.reminderTimer = setInterval(function () { _this15.remiderCounterDonw(); }, 1000); }, stopRemiderTimer: function stopRemiderTimer() { clearInterval(this.reminderTimer); this.reminderTimer = null; this.reminderTimeValue = 300; }, remiderCounterDonw: function remiderCounterDonw() { this.reminderTimeValue--; // localStorage.setItem('ebaoRemiderTimerValue', this.reminderTimeValue) if (this.reminderTimeValue <= 0) { this.stopRemiderTimer(); } }, openCustomerServiceHandler: function openCustomerServiceHandler() { var url = this.ebaoDepositInfo && this.ebaoDepositInfo.kefu_url; if (url) { window.open(url); } }, ebaoReminderAction: function ebaoReminderAction() { var _this16 = this; var params = { order: this.currentEbaoOrder, time: Math.floor(Date.now() / 1000), pic: this.credentialPics, countdown: 'yes', get_kefu: 1 }; if (this.credentialPics.length === 0) { this.$errorAlert('\u8BF7\u4E0A\u4F20\u51ED\u8BC1\u56FE\u6863', 'warn'); return; } this.$store.dispatch('trade/callEbaoWithdrawals', params).then(function (res) { if (res.code === 200) { if (res.data.kefu_url) { window.open(res.data.kefu_url, '_blank'); } } else { _this16.$errorAlert(res.message); } }); }, copyText: function copyText(text) { var _this17 = this; this.$copyText(text).then(function () { _this17.$success('å¤åˆ¶æˆåŠŸ'); }); }, changeRadio: function changeRadio(newVal) { if (newVal === '自定义') { this.quickDepositMoney = ''; } else { this.quickDepositMoney = newVal; } }, getQuickAmountOptions: function getQuickAmountOptions() { var _this18 = this; var params = { categoryId: 42 }; this.$store.dispatch('trade/getDepositOnline', params).then(function (res) { if (res.code === 200) { if (res.data.length > 0 && res.data[0].quick_amount.length > 0) { _this18.quickAmountData = res.data[0].quick_amount.split(','); // 金é¢åˆ—表 _this18.quickAmountLimit.customer_amount_status = res.data[0].customer_amount_status; // 自定义 on: å¼€å¯ off: å…³é— _this18.quickAmountLimit.maxAmount = res.data[0].maxAmount; _this18.quickAmountLimit.minAmount = res.data[0].minAmount; if (_this18.quickAmountLimit.customer_amount_status === 'off') { // 没自订时,预设 radio 第一笔值 _this18.checkedAmount = _this18.quickAmountData[0]; } } else { _this18.quickDepositMoney = ''; } } }); }, canUpdateRealName: function canUpdateRealName() { if (localStorage.config) { var config = JSON.parse(localStorage.config); return config.deposit_change_realname === 'off'; } return false; }, checkUserCategory: function checkUserCategory() { if (!this.itemDatas.category) return; var bankDepositNavIndex = this.itemDatas.category.findIndex(function (item) { return item.classType === 'bank'; }); if (bankDepositNavIndex === -1) return; this.$goUserCen('recharge', bankDepositNavIndex); this.$store.commit('setItemDatas', this.itemDatas.category[bankDepositNavIndex]); }, showCancelUploadCredential: function showCancelUploadCredential() { // if (this.ebaoDepositInfo.ebao_status !== 'success') { // this.isCancelUploadCredential = true // } else { // this.cancelUploadCredentail() // } this.isCancelUploadCredential = true; }, cancelUploadCredentail: function cancelUploadCredentail() { this.isCancelUploadCredential = false; this.resetQuickDeposit(); this.stopLoopRequestData(); this.checkUserCategory(); }, confirmRewardDepositHandler: function confirmRewardDepositHandler() { this.isRewardBankDeposit = false; this.getDepositOrderData(); }, handleAlreadyDepositClick: function handleAlreadyDepositClick() { this.isAlreadyDeposit = false; if (this.alreadyDepositOrderData) { var _alreadyDepositOrderD = this.alreadyDepositOrderData, type = _alreadyDepositOrderD.type, order = _alreadyDepositOrderD.order, time = _alreadyDepositOrderD.time; this.$store.commit('trade/setDepositDataParams', { code: order, time: time }); this.$store.commit('trade/setCurrentBuyerOrder', order); this.$store.commit('trade/setIsFromAnotherPage', true); this.$store.commit('setCurrentTypeTitle', '充值'); // 如果是网银 if (type === 'depositBank') { this.$store.commit("setItemDatas", { classType: 'bank' }); } else { this.getDepositOrderData(); } } } }, created: function created() { if (localStorage.config) { var config = JSON.parse(localStorage.config); this.publicUrl = config.statics; } this.getQuickAmountOptions(); this.getDepositUndoneLimit(); this.getDepositLimit(); this.getCancelReason(); this.getDepositOrderData(); // // 检查是å¦æœ‰æ£åœ¨è¿›è¡Œçš„ eboa 急速å˜æ¬¾è®¢å• // this.getEbaoDepositOrderList() // è¿›æ¥ç¡®è®¤æ˜¯å¦æœ‰è®¢å• 有的è¯è¦è¿žçº¿ï¼·ï¼³ UserService["a" /* default */].ebaoWebScoket.call(this); this.$store.commit('loading', false); }, mounted: function mounted() { //ï¼¥å® å‚¬å•è®¡æ—¶å™¨ // if(localStorage['ebaoRemiderTimerValue']){ // let range = Number(localStorage['ebaoRemiderTimerValue']) // if(range > 0 && range < 900){ // this.reminderTimeValue = range // this.startRemiderTimer() // } // } }, destroyed: function destroyed() { clearInterval(this.quickDepositTimer); clearInterval(this.reminderTimer); clearInterval(this.loopTimer); clearTimeout(this.getDepositListLoopTimer); // 摧æ¯æ—¶å–消æ£åœ¨ MatchListLongPolling çŠ¶æ€ this.$store.commit('trade/setInEbaoDepositMatchListLongPolling', false); this.$store.commit('trade/setCurrentBuyerOrder', ''); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-2b358ab0","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/recharge/quickDeposit.vue var quickDeposit_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"container"},[_c('div',{staticClass:"container-payment-data"},[_c('div',{staticClass:"container-payment-data-header"},[_c('div',{staticClass:"header-content"},[_c('div',{staticClass:"header-content-title"},[_c('img',{attrs:{"src":"/static/public/image/userImg/quick-deposit-logo.png"}}),_vm._v(" "),_c('h3',[_vm._v(_vm._s(_vm.className))])])])]),_vm._v(" "),_c('div',{staticClass:"container-payment-data-main"},[_c('div',{staticClass:"container-payment-data-main-content"},[_c('div',{staticClass:"get-order-content"},[_c('div',{staticClass:"get-order-content-money"},[_c('ul',{staticClass:"get-order-content-money-form"},[_c('li',{staticClass:"bar name"},[_c('label',{staticClass:"text"},[_vm._v("å˜æ¬¾å§“å:")]),_vm._v(" "),_c('div',{staticClass:"input-content"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.quickDepositName),expression:"quickDepositName"}],attrs:{"placeholder":"请输入æ£ç¡®å˜æ¬¾å§“å","disabled":_vm.canUpdateRealName},domProps:{"value":(_vm.quickDepositName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.quickDepositName=$event.target.value}}}),_vm._v(" "),_c('Checkbox',{directives:[{name:"show",rawName:"v-show",value:(!_vm.canUpdateRealName),expression:"!canUpdateRealName"}],staticClass:"save-name",attrs:{"size":"large"},model:{value:(_vm.single),callback:function ($$v) {_vm.single=$$v},expression:"single"}},[_vm._v("\n ä¿å˜å§“å\n ")])],1)]),_vm._v(" "),_c('li',{staticClass:"bar amount"},[_c('label',{staticClass:"text"},[_vm._v("å˜æ¬¾é‡‘é¢ï¼š")]),_vm._v(" "),_c('div',{staticClass:"input-content"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.quickDepositMoney),expression:"quickDepositMoney"}],attrs:{"input":_vm.quickDepositMoney = _vm.quickDepositMoney.replace(/[^\d]/g,''),"placeholder":_vm.quickAmountLimit.customer_amount_status === 'on' ? ("å•ç¬”å˜æ¬¾é‡‘é¢ï¼š" + (_vm.quickAmountLimit.minAmount || 0) + " ~ " + (_vm.quickAmountLimit.maxAmount || 0)) : ''},domProps:{"value":(_vm.quickDepositMoney)},on:{"input":function($event){if($event.target.composing){ return; }_vm.quickDepositMoney=$event.target.value}}}),_vm._v(" "),(_vm.quickAmountData.length > 0)?_c('RadioGroup',{staticStyle:{"margin-top":"12px"},on:{"on-change":_vm.changeRadio},model:{value:(_vm.checkedAmount),callback:function ($$v) {_vm.checkedAmount=$$v},expression:"checkedAmount"}},_vm._l((_vm.quickAmountData),function(item,index){return _c('Radio',{key:index,attrs:{"label":item}},[_c('p',[_vm._v(_vm._s(item))])])}),1):_vm._e()],1)])]),_vm._v(" "),(_vm.paymentData.length && !_vm.depositLimit && !_vm.depositAmountLimit)?_c('button',{staticClass:"get-order-content-money-button disable"},[_vm._v("\n 已达次数上é™\n ")]):(_vm.paymentData.length && !_vm.isGetDepositList && !_vm.$store.state.trade.inEbaoDepositMatchListLongPolling)?_c('button',{staticClass:"get-order-content-money-button",class:{disable:_vm.isGetDepositListDisable, submit:!_vm.isGetDepositListDisable},attrs:{"disabled":_vm.isGetDepositListDisable},on:{"click":function($event){return _vm.handleDepositType()}}},[_vm._v("\n "+_vm._s(_vm.isGetDepositListDisable ? '匹é…ä¸' : 'ç«‹å³å˜æ¬¾')+"\n ")]):_vm._e(),_vm._v(" "),(_vm.showQuickDepositList)?_c('div',{staticClass:"get-order-content-money-list"},[_c('div',{staticClass:"get-order-content-money-list-header"},[_c('span',{staticClass:"get-order-content-money-list-header-title"},[_vm._v("é€‰æ‹©ä½ æƒ³è¦çš„å˜æ¬¾é‡‘é¢")]),_vm._v(" "),(!_vm.isGetDepositList && !_vm.$store.state.trade.inEbaoDepositMatchListLongPolling)?_c('button',{staticClass:"get-order-content-money-list-header-refresh",class:{opacity30:_vm.isGetDepositListDisable},attrs:{"disabled":_vm.isGetDepositListDisable},on:{"click":function($event){return _vm.handleDepositType()}}},[_c('img',{attrs:{"src":"/static/public/image/userImg/quick-deposit-refresh.png","alt":""}}),_vm._v(" "),_c('span',[_vm._v("é‡æ–°èŽ·å–")])]):_vm._e()]),_vm._v(" "),_c('ul',{staticClass:"get-order-content-money-list-content"},_vm._l((_vm.quickDepositList),function(item){return _c('li',{key:item.ebaoOrderNo},[_c('span',{staticClass:"content-title"},[_vm._v("Â¥ "+_vm._s(item.money))]),_vm._v(" "),_c('div',{staticClass:"content-operate"},[_c('div',{staticClass:"content-operate-interval"},[_c('img',{attrs:{"src":item.img,"alt":""}}),_vm._v(" "),_c('span',[_vm._v("Â¥"+_vm._s(item.interest))])]),_vm._v(" "),(!item.btnIsSelected)?_c('button',{staticClass:"content-operate-button content-operate-not-selected",on:{"click":function($event){return _vm.handleDepositNow(item)}}},[_vm._v("\n ç«‹å³å˜æ¬¾\n ")]):_c('button',{staticClass:"content-operate-button content-operate-selected"},[_vm._v("ç«‹å³å˜æ¬¾")])])])}),0)]):_vm._e(),_vm._v(" "),(_vm.noQuickDepositList)?_c('div',{staticClass:"get-order-content-money-no-data"},[_c('div',{staticClass:"title"},[_vm._v("\n 订å•åŒ¹é…ä¸â€¦\n ")]),_vm._v(" "),_vm._m(0)]):_vm._e()]),_vm._v(" "),(_vm.isDepositInfo)?_c('div',{staticClass:"get-order-content-info"},[_c('div',{staticClass:"get-order-content-info-header"},[_c('span',[_vm._v("å˜æ¬¾ä¿¡æ¯")]),_vm._v(" "),_c('span',{staticStyle:{"color":"#696969"}},[_vm._v("订å•å·ç :"+_vm._s(_vm.ebaoDepositInfo.order))])]),_vm._v(" "),_c('div',{staticClass:"get-order-content-info-main"},[_c('div',{staticClass:"main-header"},[_c('div',{staticClass:"main-header-deposit"},[_c('span',{staticClass:"main-header-deposit-money"},[_vm._v(_vm._s(_vm.selectedQuickDepositMoney))]),_vm._v(" "),_c('span',{staticClass:"main-header-deposit-unit"},[_vm._v("å…ƒ")])]),_vm._v(" "),(_vm.isSystemWait)?_c('div',{staticClass:"main-header-arbitration"},[_vm._v("订å•ä»²è£ä¸ï¼Œè¯·è€å¿ƒç‰å¾…æœåŠ¡äººå‘˜å¤„ç†ã€‚")]):_vm._e(),_vm._v(" "),(_vm.isShowHintOne)?_c('div',{staticClass:"main-header-tips"},[_vm._m(1)]):_vm._e(),_vm._v(" "),(_vm.isShowHintTwo)?_c('div',{staticClass:"main-header-tips",staticStyle:{"margin-left":"auto"}},[_vm._m(2)]):_vm._e(),_vm._v(" "),(_vm.isOrderFinish)?_c('div',{staticClass:"main-header-tips finish"},[_c('p',[_vm._v("订å•å®Œæˆ")])]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"main-card-info"},[_c('div',{staticClass:"main-card-info-content",style:({backgroundImage: 'url(' + '/static/public/image/bankImg/'+'农业银行'+'.png' + ')', backgroundSize:'cover'})},[_c('div',{staticClass:"main-card-info-content-bank"},[_c('div',[_vm._v(_vm._s(_vm.ebaoDepositInfo.bank_name))]),_vm._v(" "),_c('img',{staticClass:"card-info-copy",attrs:{"src":"/static/public/image/userImg/icon-card-copy.png"},on:{"click":function($event){return _vm.copyText(_vm.ebaoDepositInfo.bank_name)}}})]),_vm._v(" "),_c('div',{staticClass:"main-card-info-content-account"},[_c('p',[_vm._v(_vm._s(_vm.ebaoDepositInfo.bank_account))]),_vm._v(" "),_c('img',{staticClass:"card-info-copy",attrs:{"src":"/static/public/image/userImg/icon-card-copy.png"},on:{"click":function($event){return _vm.copyText(_vm.ebaoDepositInfo.bank_account)}}})]),_vm._v(" "),_c('div',{staticClass:"main-card-info-content-name"},[_c('div',{staticClass:"fl"},[_c('span',[_vm._v("å–款人:"+_vm._s(_vm.ebaoDepositInfo.card_name))]),_vm._v(" "),_c('img',{staticClass:"card-info-copy",attrs:{"src":"/static/public/image/userImg/icon-card-copy.png"},on:{"click":function($event){return _vm.copyText(_vm.ebaoDepositInfo.card_name)}}})]),_vm._v(" "),(_vm.ebaoDepositInfo.bank_address)?_c('div',{staticClass:"fr"},[_c('span',[_vm._v(_vm._s(_vm.ebaoDepositInfo.bank_address))]),_vm._v(" "),_c('img',{staticClass:"card-info-copy",attrs:{"src":"/static/public/image/userImg/icon-card-copy.png"},on:{"click":function($event){return _vm.copyText(_vm.ebaoDepositInfo.bank_address)}}})]):_vm._e()])])]),_vm._v(" "),_c('div',{staticClass:"main-operate"},[([3,4].includes(_vm.quickDepositStepActive) || ([2].includes(_vm.quickDepositStepActive) && _vm.isSystemWait))?_c('upload-credential',{attrs:{"defaultImgUrlArray":_vm.ebaoDepositInfo.pay_voucher,"orderNo":_vm.ebaoDepositInfo.order,"orderTime":_vm.ebaoDepositInfo.time,"isUpload":_vm.hasVoucherUploaded,"type":'buyer_pay_credential'},on:{"emit-credential":_vm.getCredentialPics}}):_vm._e()],1)]),_vm._v(" "),(_vm.showUrgedAndConfirmedArea)?_c('div',[(!_vm.traggleEbaoTimerButton && (_vm.quickDepositStepActive === 2 && !_vm.isSystemWait))?_c('div',{staticClass:"get-order-content-info-submit"},[_c('div',{staticClass:"small-button cancel-button",on:{"click":function($event){return _vm.isCancelQuickDepositHandler(true)}}},[_vm._v("å–消å˜æ¬¾ç”³è¯·")]),_vm._v(" "),_c('div',{staticClass:"small-button confirm-button",on:{"click":_vm.confirmQuickEboaDesposit}},[_vm._v("我已å˜æ¬¾")])]):_vm._e(),_vm._v(" "),(([3,4].includes(_vm.quickDepositStepActive) && !_vm.hasVoucherUploaded) || ([2].includes(_vm.quickDepositStepActive) && _vm.isSystemWait && !_vm.hasVoucherUploaded))?_c('div',{staticClass:"get-order-content-info-submit"},[_c('div',{staticClass:"small-button cancel-button",on:{"click":_vm.showCancelUploadCredential}},[_vm._v("ä¸ä¸Šä¼ å‡è¯")]),_vm._v(" "),_c('div',{staticClass:"small-button confirm-button",on:{"click":_vm.uploadBuyConfirm}},[_vm._v("ä¸Šä¼ å‡è¯\n "),(_vm.preferentialConfig && _vm.preferentialConfig.preferential > 0)?_c('span',{staticStyle:{"margin-left":"4px"}},[_vm._v("èµ é€"+_vm._s(_vm.preferentialConfig.preferential)+"%")]):_vm._e()])]):_vm._e(),_vm._v(" "),(_vm.quickDepositStepActive === 4 && _vm.traggleEbaoTimerButton)?_c('div',{staticClass:"get-order-content-info-submit"},[(!_vm.reminderTimer)?_c('div',{staticClass:"big-button confirm-button",on:{"click":_vm.ebaoReminderAction}},[_vm._v("我è¦å‚¬å•")]):_c('div',{staticClass:"big-button cancel-button"},[_vm._v(_vm._s(_vm.getTimer(_vm.reminderTimeValue))+" 处ç†ä¸")])]):_vm._e()]):_vm._e(),_vm._v(" "),(!_vm.showUrgedAndConfirmedArea)?_c('div',{staticClass:"get-order-content-info-submit"},[_vm._v("\n "+_vm._s(_vm.ebaoDepositInfo.status_message)+"\n ")]):_vm._e()]):_vm._e()])])])]),_vm._v(" "),_c('Modal',{staticClass:"press-modal",attrs:{"width":"315","closable":false,"mask-closable":false},model:{value:(_vm.isPressQuickDeposit),callback:function ($$v) {_vm.isPressQuickDeposit=$$v},expression:"isPressQuickDeposit"}},[_c('div',{staticClass:"press-modal-main"},[_c('span',[_vm._v("对方已催å•ï¼Œ")]),_vm._v(" "),_c('span',[_vm._v("è¯·å°½å¿«ä¸Šä¼ å‡è¯ï¼")])]),_vm._v(" "),_c('div',{staticClass:"press-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"press-modal-footer-cancel",on:{"click":function($event){_vm.isPressQuickDeposit = false}}},[_vm._v("确定")])])]),_vm._v(" "),_c('Modal',{staticClass:"press-modal center",attrs:{"width":"315","closable":false,"mask-closable":false},model:{value:(_vm.showTextModal),callback:function ($$v) {_vm.showTextModal=$$v},expression:"showTextModal"}},[_c('div',{staticClass:"press-modal-main"},[_c('span',{domProps:{"innerHTML":_vm._s(_vm.modalText)}})]),_vm._v(" "),_c('div',{staticClass:"press-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"press-modal-footer-cancel",on:{"click":function($event){_vm.showTextModal = false}}},[_vm._v("\n 确定\n ")])])]),_vm._v(" "),_c('Modal',{staticClass:"cancel-modal quick",attrs:{"width":"315","closable":false,"mask-closable":false},model:{value:(_vm.isCancelQuickDeposit),callback:function ($$v) {_vm.isCancelQuickDeposit=$$v},expression:"isCancelQuickDeposit"}},[_c('div',{staticClass:"cancel-modal-main"},[_c('h3',{staticClass:"cancel-modal-main-title"},[_vm._v("是å¦å–消本次申请?")]),_vm._v(" "),_c('p',{staticClass:"cancel-modal-main-tip"},[_vm._v("如果您已完æˆè½¬è´¦ï¼Œè¯·å‹¿å–消,我们将尽快为您处ç†ï¼")]),_vm._v(" "),_c('p',{staticClass:"cancel-modal-main-reason"},[_vm._v("请选择å–æ¶ˆåŽŸå› ")]),_vm._v(" "),_c('Radio-group',{attrs:{"type":"button"},model:{value:(_vm.cancelReason),callback:function ($$v) {_vm.cancelReason=$$v},expression:"cancelReason"}},_vm._l((_vm.reasonOptions),function(reason,index){return _c('Radio',{key:index,attrs:{"label":reason}})}),1)],1),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"cancel-modal-footer-cancel",on:{"click":function($event){return _vm.isCancelQuickDepositHandler(false)}}},[_vm._v("å–消")]),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer-submit",on:{"click":_vm.cancelQuickDeposit}},[_vm._v("确定")])])]),_vm._v(" "),_c('Modal',{staticClass:"arbitration-modal",attrs:{"width":"315","closable":false,"mask-closable":false},model:{value:(_vm.isArbitrationModal),callback:function ($$v) {_vm.isArbitrationModal=$$v},expression:"isArbitrationModal"}},[_c('div',{staticClass:"arbitration-modal-main"},[_c('h3',{staticClass:"arbitration-modal-main-title"},[_vm._v("请输入申请仲è£åŽŸå› ")]),_vm._v(" "),_c('textarea',{directives:[{name:"model",rawName:"v-model",value:(_vm.arbitrationRemark),expression:"arbitrationRemark"}],domProps:{"value":(_vm.arbitrationRemark)},on:{"input":function($event){if($event.target.composing){ return; }_vm.arbitrationRemark=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"arbitration-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"arbitration-modal-footer-cancel",on:{"click":function($event){_vm.isArbitrationModal = false}}},[_vm._v("å–消")]),_vm._v(" "),_c('div',{staticClass:"arbitration-modal-footer-submit",on:{"click":function($event){return _vm.arbitrateOrder()}}},[_vm._v("确定")])])]),_vm._v(" "),_c('Modal',{staticClass:"cancel-modal",attrs:{"value":_vm.isCancelUploadCredential,"width":"315","closable":false,"mask-closable":false}},[_c('div',{staticClass:"cancel-modal-main"},[_c('h3',{staticClass:"cancel-modal-main-title"},[_vm._v("温馨æ示")]),_vm._v(" "),_c('p',{staticClass:"cancel-modal-main-tip credential"},[_vm._v("\n æ‚¨è¿˜æœªä¸Šä¼ å‡è¯å™¢ã€‚"),_c('br'),_vm._v("\n ä¸Šä¼ å‡è¯èƒ½è®©æ‚¨æ›´å¿«é€Ÿåˆ°å¸ã€‚"),_c('br'),_vm._v(" "),(_vm.preferentialConfig && _vm.preferentialConfig.preferential > 0)?_c('span',[_vm._v("\n é™æ—¶ä¼˜æƒ åŠ èµ "+_vm._s(_vm.preferentialConfig.preferential)+"ï¼…å‘财金。\n ")]):_vm._e()])]),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"cancel-modal-footer-cancel",on:{"click":_vm.cancelUploadCredentail}},[_vm._v("å¿ç—›ç¦»å¼€")]),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer-submit",on:{"click":function($event){_vm.isCancelUploadCredential = false}}},[_vm._v("我è¦ä¸Šä¼ ")])])]),_vm._v(" "),_c('Modal',{staticClass:"reward-modal",attrs:{"value":_vm.isRewardBankDeposit,"width":"315","closable":false,"mask-closable":false}},[_c('div',{staticClass:"reward-modal-main"},[_c('h3',{staticClass:"reward-modal-main-title"},[_vm._v("ä¸Šä¼ å‡è¯æˆåŠŸ")]),_vm._v(" "),_c('p',{staticClass:"reward-modal-main-title"},[_vm._v(_vm._s(_vm.rewardMessage))])]),_vm._v(" "),_c('div',{staticClass:"reward-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"reward-modal-footer-submit",on:{"click":_vm.confirmRewardDepositHandler}},[_vm._v("确定")])])]),_vm._v(" "),_c('Modal',{staticClass:"cancel-modal",attrs:{"value":_vm.isAlreadyDeposit,"width":"315","closable":false,"mask-closable":false}},[_c('div',{staticClass:"cancel-modal-main"},[_c('h3',{staticClass:"cancel-modal-main-title",style:({'white-space': 'pre-line'})},[_vm._v("\n "+_vm._s(_vm.alreadyDepositOrderData && _vm.alreadyDepositOrderData.message)+"\n ")])]),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"cancel-modal-footer-cancel",on:{"click":function($event){_vm.isAlreadyDeposit = false}}},[_vm._v("å–消")]),_vm._v(" "),_c('div',{staticClass:"cancel-modal-footer-submit",on:{"click":_vm.handleAlreadyDepositClick}},[_vm._v("去处ç†")])])])],1)} var quickDeposit_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"detial"},[_vm._v("\n 您有一笔æžé€Ÿå˜æ¬¾è®¢å•æ£åœ¨"),_c('span',{staticClass:"special"},[_vm._v("匹é…ä¸")]),_vm._v(",\n "),_c('br'),_vm._v("\n 我们æ£åœ¨æŠ“紧处ç†æ‚¨çš„订å•ï¼Œ 请ä¸è¦ç¦»å¼€ï¼\n "),_c('br'),_vm._v(" "),_c('span',{staticClass:"special"},[_vm._v("离开画é¢è§†åŒå–消订å•ï¼Œå°†åœæ¢åŒ¹é…。")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticStyle:{"font-size":"16px"}},[_c('span',{staticStyle:{"color":"#f23d3d"}},[_vm._v("(转账金é¢åŠ¡å¿…与订å•é‡‘é¢ä¸€è‡´)")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticStyle:{"font-size":"16px"}},[_c('span',{staticStyle:{"display":"flex","align-items":"center","color":"#f23d3d"}},[_c('img',{staticStyle:{"width":"18px","height":"18px","margin-right":"4px"},attrs:{"src":__webpack_require__("nzkh"),"alt":""}}),_vm._v("\n 为确ä¿æ‚¨çš„å˜æ¬¾åŠæ—¶åˆ°è´¦ï¼Œè¯·ä¸Šä¼ å˜æ¬¾å‡è¯\n ")])])}] var quickDeposit_esExports = { render: quickDeposit_render, staticRenderFns: quickDeposit_staticRenderFns } /* harmony default export */ var personals_recharge_quickDeposit = (quickDeposit_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/recharge/quickDeposit.vue function quickDeposit_injectStyle (ssrContext) { __webpack_require__("27jM") } var quickDeposit_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var quickDeposit___vue_template_functional__ = false /* styles */ var quickDeposit___vue_styles__ = quickDeposit_injectStyle /* scopeId */ var quickDeposit___vue_scopeId__ = "data-v-2b358ab0" /* moduleIdentifier (server only) */ var quickDeposit___vue_module_identifier__ = null var quickDeposit_Component = quickDeposit_normalizeComponent( recharge_quickDeposit, personals_recharge_quickDeposit, quickDeposit___vue_template_functional__, quickDeposit___vue_styles__, quickDeposit___vue_scopeId__, quickDeposit___vue_module_identifier__ ) /* harmony default export */ var public_personals_recharge_quickDeposit = (quickDeposit_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personage/report.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var report = ({ data: function data() { return { testData: [{ value: "a", name: "1" }, { value: "a", name: "1" }, { value: "a", name: "1" }, { value: "a", name: "1" }, { value: "a", name: "1" }, { value: "a", name: "1" }, { value: "a", name: "1" }, { value: "a", name: "1" }, { value: "a", name: "1" }, { value: "a", name: "1" }, { value: "a", name: "1" }, { value: "a", name: "1" }], showTouzhu: false, agencyData: [ // {name: "团队净盈利", value: "0.00"}, // {name: "团队返点", value: "0.00"}, // {name: "团队余é¢", value: "0.00"}, // {name: "新增用户", value: 0}, // {name: "下级总人数", value: "1"}, // {name: "首å˜äººæ•°", value: 0}, // {name: "投注人数", value: "0"}, // {name: "投注金é¢", value: "0.00"}, // {name: "ä¸å¥–金é¢", value: "0.00"}, // {name: "å˜æ¬¾é‡‘é¢", value: "0.00"}, // {name: "å–款金é¢", value: "0.00"}, // {name: "活动礼金", value: "0.00"}, ], moneyList: [{ name: "棋牌", money: 132465 }, { name: "电å", money: 46564 }, { name: "视讯", money: 2323 }, { name: "彩票", money: 33 }, { name: "体育", money: 2333 }], searchType: 2, // 个人报表新å‚æ•° startTime: "", endTime: "", date: 1, day: '1', contShow: true, // agencyData: [], liSelect: 0, uname: this.$store.state.mainState.userinfo.userName, iconSrc: ['/static/public/image/proimt/p-netprofit@2x.png', '/static/public/image/proimt/p-balance@2x.png', '/static/public/image/proimt/p-depositors@2x.png', '/static/public/image/proimt/p-team@2x.png'] }; }, methods: { tapTest: function tapTest(item) { if (item.name != '投注金é¢') { return false; } this.showTouzhu = !this.showTouzhu; }, closeWin: function closeWin() { this.showTouzhu = false; }, //个人报表 getTeamInfo: function getTeamInfo() { var _this = this; var dateObj = {}; if (this.searchType == 1) { // 时间段 dateObj = { startTime: this.startTime, endTime: this.endTime }; if (this.startTime == this.endTime) { this.$error("结æŸæ—¶é—´å¿…须大于开始时间"); return false; } } else if (this.searchType == 2) { // å•é€‰ dateObj = { date: this.date }; } this.$store.commit('loading', true); this.$postS("/member/memberReport", dateObj).then(function (res) { if (res.code == 200) { if (res.data != '') { var leftNum = 0; if (res.data.length < 4 && res.data.length > 0) { leftNum = 4 - res.data.length; } else if (res.data.length > 4 && res.data.length < 8) { leftNum = 8 - res.data.length; } else if (res.data.length > 8 && res.data.length < 12) { leftNum = 12 - res.data.length; } else if (res.data.length > 12 && res.data.length < 16) { leftNum = 16 - res.data.length; } for (var i = 0; i < leftNum; i++) { res.data.push({ value: "", name: "", noBorder: true }); } _this.agencyData = res.data; _this.contShow = true; } else { _this.contShow = false; _this.$error(res.message); } } else { _this.contShow = false; _this.$error(res.message); } _this.$store.commit('loading', false); }); }, hanlderRadio: function hanlderRadio(val) { this.searchType = 2; // 切æ¢ä¸ºå•é€‰ if (val) { this.date = val; } else {} this.getTeamInfo(); }, hanlderTime: function hanlderTime(date) { if (!date[0]) { // 没有选择事件 this.searchType = 2; this.date = 3; this.getTeamInfo(); return false; } this.searchType = 1; this.startTime = date[0]; this.endTime = date[1]; this.getTeamInfo(); }, toggle: function toggle(i) { this.liSelect = i; }, hanlderClick: function hanlderClick() { this.day = '1'; this.hanlderRadio(1); this.getTeamInfo(); } }, created: function created() { var _this2 = this; this.$nextTick(function () { _this2.getTeamInfo(); }); }, mounted: function mounted() {} }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-e32acc94","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personage/report.vue var report_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"agency_index cl"},[_c('div',{staticClass:"content cl"},[_c('div',{staticClass:"title",on:{"click":_vm.hanlderClick}},[_vm._v("个人报表")]),_vm._v(" "),_c('div',{staticClass:"search cl"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("今日")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("昨天")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("本月")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"4"}},[_c('span',{staticClass:"radio-span"},[_vm._v("上月")])])],1),_vm._v(" "),_c('DatePicker',{staticStyle:{"width":"236px","margin-left":"25px"},attrs:{"placeholder":"选择时间","type":"daterange","placement":"bottom-end"},on:{"on-change":_vm.hanlderTime}}),_vm._v(" "),_vm._m(0)],1),_vm._v(" "),(_vm.contShow)?_c('div',[_c('div',{staticClass:"agency-info cl"},[_c('ul',{staticClass:"contentUl cl"},_vm._l((_vm.agencyData),function(item,index){return _c('li',{key:index},[_c('div',{staticClass:"liItem",class:{noBorder:item.noBorder}},[_c('p',{staticClass:"itemName"},[_c('span',[_vm._v(_vm._s(item.name))])]),_vm._v(" "),_c('p',{staticClass:"itemVal"},[_vm._v(_vm._s(item.value))])])])}),0)]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showTouzhu),expression:"showTouzhu"}],staticClass:"betMoney"},[_c('div',{staticClass:"anoBox"},[_c('p',{staticClass:"itemTitle"},[_vm._v("投注金é¢è¯¦æƒ…")]),_vm._v(" "),_c('img',{staticStyle:{"position":"absolute","right":"23px","top":"23px","width":"12px","height":"12px","cursor":"pointer"},attrs:{"src":"/static/public/image/userImg/closebtn.png","alt":""},on:{"click":_vm.closeWin}}),_vm._v(" "),_c('ul',{staticClass:"betUl cl"},[_vm._m(1),_vm._v(" "),_vm._l((_vm.moneyList),function(v,i){return _c('li',{key:i,staticClass:"betItem cl"},[_c('div',{staticClass:"betTitle basicDiv"},[_vm._v(_vm._s(v.name))]),_vm._v(" "),_c('div',{staticClass:"betCash basicDiv"},[_vm._v(_vm._s(v.money))])])})],2)])])]):_vm._e(),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.contShow),expression:"!contShow"}],staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})])])])} var report_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"mathDiv cl"},[_c('p',[_vm._v("è®¡ç®—å…¬å¼ "),_c('img',{staticClass:"explainPic",staticStyle:{"vertical-align":"middle","width":"16px","height":"16px","margin-bottom":"3px"},attrs:{"src":"/static/public/image/userImg/question.png","alt":""}})]),_vm._v(" "),_c('div',{staticClass:"explainDiv"},[_c('p',{staticStyle:{"color":"rgba(51,51,51,1)","font-weight":"600"}},[_vm._v("计算公å¼")]),_vm._v(" "),_c('p',{staticStyle:{"border-bottom":"1px solid #eee"}},[_vm._v("会员盈利=ä¼˜æƒ é‡‘é¢+会员输赢")]),_vm._v(" "),_c('p',[_vm._v("ä¼˜æƒ é‡‘é¢=自身返水+活动金é¢")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"cl"},[_c('div',{staticClass:"basicDiv typeDiv"},[_vm._v("类型")]),_vm._v(" "),_c('div',{staticClass:"basicDiv typeDiv"},[_vm._v("投注金é¢")])])}] var report_esExports = { render: report_render, staticRenderFns: report_staticRenderFns } /* harmony default export */ var personage_report = (report_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/report.vue function report_injectStyle (ssrContext) { __webpack_require__("01N2") } var report_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var report___vue_template_functional__ = false /* styles */ var report___vue_styles__ = report_injectStyle /* scopeId */ var report___vue_scopeId__ = "data-v-e32acc94" /* moduleIdentifier (server only) */ var report___vue_module_identifier__ = null var report_Component = report_normalizeComponent( report, personage_report, report___vue_template_functional__, report___vue_styles__, report___vue_scopeId__, report___vue_module_identifier__ ) /* harmony default export */ var personals_personage_report = (report_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personage/my-info.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // function codeStr(str) { if (/[^*]+(@[A-z0-9]+\.[A-z0-9]+)/.test(str)) return str.replace(/([^*]{3})[^*]+(@[A-z0-9]+\.[A-z0-9]+)/, '$1*****$2');else if (str.length === 0) return '';else if (str.length === 1) return '*';else if (str.length === 2) return str.replace(/([^*])[^*]/, '$1*');else if (str.length === 3) return str.replace(/([^*])([^*]{2})/, '$1**');else if (str.length === 4) return str.replace(/([^*])([^*]{2})([^*])/, '$1**$3');else if (str.length === 5) return str.replace(/([^*])([^*]{3})([^*])/, '$1***$3');else if (str.length === 6) return str.replace(/([^*]{2})([^*]{2})([^*]{2})/, '$1**$3');else if (str.length === 7) return str.replace(/([^*]{2})([^*]{3})([^*]{2})/, '$1***$3');else if (str.length === 8) return str.replace(/([^*]{2})([^*]{4})([^*]{2})/, '$1****$3');else if (str.length > 8) return str.replace(/([^*]{3})([^*]{3,})([^*]{3})/, '$1*****$3'); } /* harmony default export */ var my_info = ({ data: function data() { return { passKey: {}, payPassword: '', toastShow: false, toastNum: 380, toastText: '请输入资金密ç ', wechat: codeStr(this.$store.state.mainState.userinfo.wechat), phone: codeStr(this.$store.state.mainState.userinfo.phone), email: codeStr(this.$store.state.mainState.userinfo.email) }; }, methods: { resetMember: function resetMember() { var _this = this; var testEmail = this.testEmail(this.email); if (this.email !== codeStr(this.$store.state.mainState.userinfo.email) && !testEmail) { this.toastShow = true; this.toastText = '请输入åˆæ³•çš„邮箱'; this.toastNum = 188; return false; } var testPhone = this.testPhone(this.phone); if (this.phone !== codeStr(this.$store.state.mainState.userinfo.phone) && !testPhone) { this.toastShow = true; this.toastText = '请输入åˆæ³•çš„手机å·'; this.toastNum = 254; return false; } this.toastShow = false; this.passKey = {}; this.passKey.wechat = this.wechat.indexOf('*') > -1 ? this.$store.state.mainState.userinfo.wechat : this.wechat; this.passKey.phone = this.phone.indexOf('*') > -1 ? this.$store.state.mainState.userinfo.phone : this.phone; this.passKey.email = this.email.indexOf('*') > -1 ? this.$store.state.mainState.userinfo.email : this.email; for (var key in this.passKey) { if (!this.passKey[key]) delete this.passKey[key]; } this.$postS('member/set-member-info', this.passKey).then(function (res) { if (res.code == 200) { _this.$success('修改æˆåŠŸ'); UserService["a" /* default */].vpGetBasicInfo.call(_this); } else { _this.$error(res.message); } }); } }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-62f5a74f","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personage/my-info.vue var my_info_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"my-info"},[_c('div',{staticClass:"header"},[_vm._v("\n 我的资料\n ")]),_vm._v(" "),_c('div',{staticClass:"content"},[_c('div',{staticClass:"row"},[_c('label',[_vm._v("è´¦å·ï¼š")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(this.$store.state.mainState.userinfo.userName))])]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("真实姓å:")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(this.$store.state.mainState.userinfo.realName||'æš‚æ— è®¾ç½®'))])]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("邮箱账å·ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.email),expression:"email"}],attrs:{"type":"text","placeholder":"请输入邮箱地å€"},domProps:{"value":(_vm.email)},on:{"input":function($event){if($event.target.composing){ return; }_vm.email=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("手机å·ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.phone),expression:"phone"}],attrs:{"type":"text","placeholder":"请输入手机å·ç ","maxlength":"11"},domProps:{"value":(_vm.phone)},on:{"input":function($event){if($event.target.composing){ return; }_vm.phone=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("微信å·ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.wechat),expression:"wechat"}],attrs:{"type":"text","placeholder":"请输入微信å·"},domProps:{"value":(_vm.wechat)},on:{"input":function($event){if($event.target.composing){ return; }_vm.wechat=$event.target.value}}})])]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({top:_vm.toastNum+'px'})},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"submitInfo",on:{"click":_vm.resetMember}},[_vm._v("\n 确认修改\n ")])])} var my_info_staticRenderFns = [] var my_info_esExports = { render: my_info_render, staticRenderFns: my_info_staticRenderFns } /* harmony default export */ var personage_my_info = (my_info_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/my-info.vue function my_info_injectStyle (ssrContext) { __webpack_require__("mSar") } var my_info_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var my_info___vue_template_functional__ = false /* styles */ var my_info___vue_styles__ = my_info_injectStyle /* scopeId */ var my_info___vue_scopeId__ = "data-v-62f5a74f" /* moduleIdentifier (server only) */ var my_info___vue_module_identifier__ = null var my_info_Component = my_info_normalizeComponent( my_info, personage_my_info, my_info___vue_template_functional__, my_info___vue_styles__, my_info___vue_scopeId__, my_info___vue_module_identifier__ ) /* harmony default export */ var personals_personage_my_info = (my_info_Component.exports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/time.js var getSystemDate = { // 获å–上一周的开始结æŸæ—¶é—´ getLastWeekDays: function getLastWeekDays() { var date = []; var weekOfday = parseInt(moment_default()().format('d')); // è®¡ç®—ä»Šå¤©æ˜¯è¿™å‘¨ç¬¬å‡ å¤© 周日为一周ä¸çš„第一天 var start = moment_default()().subtract(weekOfday + 6, 'days').format('YYYY-MM-DD'); // 周一日期 var end = moment_default()().subtract(weekOfday, 'days').format('YYYY-MM-DD'); // 周日日期 date.push(start); date.push(end); return date; }, // 获å–上一个月的开始结æŸæ—¶é—´ getLastMonthDays: function getLastMonthDays() { var date = []; var start = moment_default()().subtract('month', 1).format('YYYY-MM') + '-01'; var end = moment_default()(start).subtract('month', -1).add('days', -1).format('YYYY-MM-DD'); date.push(start); date.push(end); return date; }, // 获å–当å‰å‘¨çš„开始结æŸæ—¶é—´ getCurrWeekDays: function getCurrWeekDays() { var date = []; var weekOfday = parseInt(moment_default()().format('d')); // è®¡ç®—ä»Šå¤©æ˜¯è¿™å‘¨ç¬¬å‡ å¤© 周日为一周ä¸çš„第一天 var start = moment_default()().subtract(weekOfday - 1, 'days').format('YYYY-MM-DD'); // 周一日期 var end = moment_default()().add(7 - weekOfday, 'days').format('YYYY-MM-DD'); // 周日日期 date.push(start); date.push(end); return date; }, // 获å–当å‰æœˆçš„开始结æŸæ—¶é—´ getCurrMonthDays: function getCurrMonthDays() { var date = []; var start = moment_default()().add('month', 0).format('YYYY-MM') + '-01'; var end = moment_default()(start).add('month', 1).add('days', -1).format('YYYY-MM-DD'); date.push(start); date.push(end); return date; } }; /* harmony default export */ var personage_time = (getSystemDate); // CONCATENATED MODULE: ./src/pages/public/personals/personage/bet.js /* harmony default export */ var bet = ({ Live: [{ title: '游æˆç±»åž‹', align: 'center', key: 'platform', width: 90 }, { title: '订å•ç¼–å·', align: 'center', key: 'billNo', width: 230, render: function render(h, params) { var texts = params.row.billNo; if (params.row.billNo != null) { if (params.row.billNo.length > 20) { texts = params.row.billNo.slice(0, 20) + '...'; // 进行数å—æˆªå– } else { texts = params.row.billNo; } } return h('Tooltip', { props: { placement: 'top' } }, [texts, h('span', { slot: 'content', style: { whiteSpace: 'normal', wordBreak: 'break-all' } }, params.row.billNo)]); } }, { title: '投注时间', align: 'center', key: 'betTime', width: 150, render: function render(h, params) { return h('div', [h('span', moment_default.a.unix(params.row.betTime - 0).format('YYYY-MM-DD HH:mm:ss'))]); } }, { title: '玩法', align: 'center', key: 'gameName' }, { title: '投注内容', align: 'center', key: 'betInfo', render: function render(h, params) { var texts = params.row.betInfo; if (params.row.betInfo != null) { if (params.row.betInfo.length > 9) { texts = params.row.betInfo.slice(0, 9) + '...'; // 进行数å—æˆªå– } else { texts = params.row.betInfo; } } return h('Tooltip', { props: { placement: 'top' } }, [texts, h('span', { slot: 'content', style: { whiteSpace: 'normal', wordBreak: 'break-all' } }, params.row.betInfo)]); }, // render: (h, params) => { // return h('div', [ // h( // 'span', // params.row.betInfo ? params.row.betInfo : '- -' // ) // ]) // }, width: 180 }, { title: '投注金é¢', align: 'center', key: 'betAmount' }, { title: '输赢', align: 'center', key: 'netAmount' }, { title: '派彩', align: 'center', key: 'payoutAmount' }], sport: [{ title: '游æˆç±»åž‹', align: 'center', key: 'platform', width: 90 }, { title: '订å•ç¼–å·', align: 'center', key: 'billNo', width: 150 }, { title: '投注时间', align: 'center', key: 'betTime', render: function render(h, params) { return h('div', [h('span', moment_default.a.unix(params.row.betTime - 0).format('YYYY-MM-DD HH:mm:ss'))]); }, width: 150 }, { title: '投注内容', align: 'center', key: 'betInfo', width: 300, render: function render(h, params) { var code = JSON.parse(params.row.betInfo); if (params.row.betInfo != null) { return h('div', [h('div', code[0].hometeamname + 'VS' + code[0].awayteamname), h('div', code[0].bettypename), h('div', code[0].teambetname ? code[0].teambetname : "" + ('(\u8D54\u7387' + code[0].odds + ')'))]); } else { return h('div', [h('span', '- -')]); } } }, { title: '投注金é¢', align: 'center', key: 'betAmount' }, { title: '输赢', align: 'center', key: 'netAmount' }, { title: '派彩', align: 'center', key: 'payoutAmount' }, { title: '状æ€', align: 'center', key: 'status', render: function render(h, params) { var status = void 0; switch (params.row.status) { case 0: status = "未结算"; break; case 1: status = "èµ¢"; break; case 2: status = "输"; break; case 3: status = "å’Œ"; break; case 4: status = "已撤销"; break; case 5: status = "系统撤销"; break; } return h('div', [h('span', status)]); } }], chess: [{ title: '游æˆç±»åž‹', align: 'center', key: 'platform' }, { title: '游æˆå称', align: 'center', key: 'gameName' }, { title: '订å•ç¼–å·', align: 'center', key: 'billNo', width: 200 }, { title: '投注时间', align: 'center', key: 'betTime', width: 128, render: function render(h, params) { return h('div', [h('span', moment_default.a.unix(params.row.betTime - 0).format('YYYY-MM-DD HH:mm:ss'))]); } }, { title: '下注内容', align: 'center', key: 'betInfo', render: function render(h, params) { return h('div', [h('span', '--')]); } }, { title: '投注金é¢', align: 'center', key: 'betAmount' }, { title: '输赢', align: 'center', key: 'netAmount' }, { title: '派彩', align: 'center', key: 'payoutAmount' }] }); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personage/betrecord.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var betrecord = ({ data: function data() { var _this = this, _ref; return _ref = { // 列表头部 columns: [{ title: "时间", align: "center", render: function render(h, params) { return h("div", [h("span", { style: { display: "inline-block", marginRight: "20px" } }, params.row.date.date), h("span", params.row.date.week)]); } }, { title: "笔数", key: "bet_count", align: "center" }, { title: "投注金é¢", key: "bet_amount", align: "center" }, { title: "输赢", key: "bet_win_amount", align: "center" }, { title: "æ“作", key: " ", align: "center", render: function render(h, params) { return h("div", [h("span", { attrs: { class: "deleteLink" }, class: 'listShowAA', on: { click: function click() { _this.showNEI = true; _this.date = params.row.date.date; _this.showContent = "bet"; _this.getBetType(); //this.hanlderMoney(params); } } }, "详情")]); } }], Lottery: [{ title: "游æˆç±»åž‹", align: "center", key: "platform", width: 90, render: function render(h, params) { return h("span", { style: { color: params.row.status === 4 ? "#aaaaaa" : "" } }, params.row.platform); } }, // { // title: "订å•ç¼–å·", // align: "center", // width: 140, // render: (h, params) => { // return h("div", [ // h( // "span", { // style: { // display: "inline-block", // width: "100%", // whiteSpace: "nowrap", // overflow: "hidden", // textOverflow: "ellipsis", // color: params.row.status === 4 ? "#aaaaaa" : "" // } // }, // params.row.billNo // ) // ]); // } // }, { title: "期数", align: "center", key: "issue", width: 100, render: function render(h, params) { return h("span", { style: { color: params.row.status === 4 ? "#aaaaaa" : "" } }, params.row.issue); } }, { title: "投注时间", align: "center", key: "betTime", width: 128, render: function render(h, params) { return h("div", [h("span", { style: { color: params.row.status === 4 ? "#aaaaaa" : "" } }, moment_default.a.unix(params.row.betTime - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "投注金é¢", align: "center", key: "betAmount", render: function render(h, params) { return h("div", [h("span", { style: { color: params.row.status === 4 ? "#aaaaaa" : "" } }, params.row.betAmount)]); } }, { title: "彩ç§", align: "center", key: "lotteryName", width: 100, render: function render(h, params) { return h("div", [h("span", { style: { color: params.row.status === 4 ? "#aaaaaa" : "" } }, params.row.lotteryName)]); } }, { title: "玩法", align: "center", key: "playwayName", render: function render(h, params) { return h("div", [h("span", { style: { display: "inline-block", width: "100%", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", color: params.row.status === 4 ? "#aaaaaa" : "" } }, params.row.playwayName)]); } }, { title: "玩å·", align: "center", key: "ball", render: function render(h, params) { return h("div", [h("span", { style: { cursor: "pointer", color: params.row.status === 4 ? "#aaaaaa" : "" } }, params.row.ball ? params.row.ball : "æ— " // [ // h("div", "详情"), // h("div", { // slot: "title" // }, params.row.lotteryName), // h( // "div", { // slot: "content", // style: { // width: "137px", // whiteSpace: "pre-wrap", // color: params.row.status === 4 ? "#aaaaaa" : "" // } // }, // params.row.ball ? params.row.ball : "æ— " // ) // ] )]); } }, { title: "下注内容", align: "center", key: "betInfo", width: 130, render: function render(h, params) { var texts = params.row.betInfo; if (params.row.betInfo != null) { if (params.row.betInfo.length > 9) { texts = params.row.betInfo.slice(0, 9) + '...'; // 进行数å—æˆªå– } else { texts = params.row.betInfo; } } // return h('Tooltip', { // props: { placement: 'top' } // }, [ // // texts, // h('span', { slot: 'content', style: { whiteSpace: 'normal', wordBreak: 'break-all' } },texts) // ]) return h('span', { style: { whiteSpace: 'normal', wordBreak: 'break-all' } }, texts); } // render: (h, params) => { // let Template = { // props: ["row"], // data() { // return { // style: { // width: "120px", // overflow: "hidden", // textOverflow: "ellipsis", // whiteSpace: "nowrap", // color: params.row.status === 4 ? "#aaaaaa" : "" // } // }; // }, // template: ` // <Poptip placement="bottom" trigger="hover"> // <div :style="style">{{row.betInfo}}</div> // <div slot="content">{{row.betInfo}}</div> // </Poptip>` // }; // if ((params.row.betInfo).length>3) { // return h(Template, { // props: { // row: params.row // } // }); // } else { // return h("span",{ // style:{ // color: params.row.status === 4 ? "#aaaaaa" : "" // } // },params.row.betInfo); // } // } }, { title: "输赢", align: "center", key: "netAmount", render: function render(h, params) { return h("div", [h("span", { style: { color: params.row.status === 1 ? params.row.status === 4 ? "#aaaaaa" : "red" : params.row.status === 4 ? "#aaaaaa" : "" } }, params.row.netAmount)]); } }, { title: "派彩", key: "payoutAmount", align: "center" }, { title: "状æ€", align: "center", key: "status", render: function render(h, params) { var text = void 0; switch (params.row.status) { case 0: text = "待开奖"; break; case 1: text = "å·²ä¸å¥–"; break; case 2: text = "未ä¸å¥–"; break; case 3: text = "å’Œ"; break; case 4: text = "已撤销"; break; case 5: text = "系统撤销"; break; } return h("div", [h("span", { style: { color: params.row.status === 4 ? "#aaaaaa" : "" } }, text)]); } }, { title: "æ“作", align: "center", render: function render(h, params) { var text = "æ’¤å•"; if (params.row.status == 0) { return h("div", [h("span", { class: 'listShowAA', on: { click: function click() { _this.getCanel(params); } } }, text)]); }; if (params.row.status != 0) { return h("div", [h("span", { style: { color: "#aaaaaa" } }, text)]); } } }], data: [], day: "1", dates: "", i: 1, //当å‰é¡µç time_start: personage_time.getCurrWeekDays()[0], time_end: this.getYMD(new Date()), type: "", nexttime: 0, validBetAmount: "", total_bet: "", total_win: "", validBetAmount1: '', total_bet1: '', total_win1: '', showContent: "betrecord", gameData: [], gameDetail: {}, lotterShow: true, //详情页é¢å‚æ•° days: "1", //gameNum: "VR彩票", platform: "", betView: "bet2", columns1: bet.Live, data1: [] }, defineProperty_default()(_ref, "i", 1), defineProperty_default()(_ref, "total", 1), defineProperty_default()(_ref, "timeStart", this.getYMD(new Date())), defineProperty_default()(_ref, "timeEnd", this.getYMD(new Date())), defineProperty_default()(_ref, "type", ""), defineProperty_default()(_ref, "status", ""), defineProperty_default()(_ref, "statusList", ["待开奖", "å·²ä¸å¥–", "未ä¸å¥–", "å’Œ", "已撤销"]), defineProperty_default()(_ref, "statusShow", true), defineProperty_default()(_ref, "date", this.getYMD(new Date())), defineProperty_default()(_ref, "betTime", 0), defineProperty_default()(_ref, "id", 12), defineProperty_default()(_ref, "dataLink", ["投注记录"]), defineProperty_default()(_ref, "showNEI", false), defineProperty_default()(_ref, "betShow", false), _ref; }, methods: { hanlderRadio: function hanlderRadio(val) { if (val == "1") { this.time_start = personage_time.getCurrWeekDays()[0]; this.time_end = this.getYMD(new Date()); } else if (val == "2") { this.time_start = personage_time.getLastWeekDays()[0]; this.time_end = personage_time.getLastWeekDays()[1]; } else if (val == "3") { this.time_start = personage_time.getCurrMonthDays()[0]; this.time_end = this.getYMD(new Date()); } else { this.time_start = personage_time.getLastMonthDays()[0]; this.time_end = personage_time.getLastMonthDays()[1]; } this.i = 1; this.getGameRecord(); }, hanlderList: function hanlderList(name) { var _this2 = this; this.gameData.forEach(function (v) { if (v.type == name) { _this2.gameDetail = v; _this2.dataLink.splice(1); _this2.dataLink.push(_this2.gameDetail.name); } }); this.i = 1; this.platform = ""; switch (name) { case "CT_LOTTERY": this.statusShow = true; this.lotterShow = false; this.gameName = this.gameDetail.list[0].gameName; this.statusList = ["待开奖", "å·²ä¸å¥–", "未ä¸å¥–", "å’Œ", "已撤销"]; this.i = 1; this.status = ""; this.columns1 = this.Lottery; break; case "GAME": this.statusShow = false; this.lotterShow = true; this.columns1 = bet.Live; this.gameName = ""; this.i = 1; break; case "SPORT": this.statusShow = true; this.lotterShow = true; this.gameName = ""; this.statusList = ["未结算", "已结算", "æ— æ•ˆ"]; this.status = ""; this.columns1 = bet.sport; this.i = 1; break; case "LIVE": this.statusShow = false; this.gameName = ""; this.lotterShow = true; this.columns1 = bet.Live; this.i = 1; break; case "CHESS": this.statusShow = false; this.i = 1; this.status = ""; this.columns1 = bet.chess; break; case "FISH": this.statusShow = false; this.lotterShow = true; this.columns1 = bet.Live; this.gameName = ""; this.i = 1; break; } this.getGameRecord(); }, // 查询记录 getGameRecord: function getGameRecord() { var _this3 = this; this.$store.commit("loading", true); var param = { time_start: this.time_start, time_end: this.time_end, game_class: this.type.toLowerCase() == "game" ? "slot" : this.type.toLowerCase() == "ct_lottery" ? "lottery" : this.type.toLowerCase(), limit: 8, page: this.i }; this.$getS("member/bet-record/summary", param).then(function (res) { if (res && res.code == 200) { _this3.data = res.data.list; _this3.total = res.data.total; _this3.validBetAmount = res.data.amount; _this3.total_bet = res.data.amount.total_bet; _this3.total_win = res.data.amount.total_win; } _this3.betShow = true; _this3.$store.commit("loading", false); }); }, getCanel: function getCanel(params) { var _this4 = this; var data = { betTime: params.row.betTime, recordId: params.row.id }; this.$http.post(this.$HOST_NAME + "/lottery/cancel", data).then(function (res) { if (res.code == 200) { _this4.text = "已撤å•"; _this4.$set(_this4.Lottery[params.index], "status", 4); params.row.status = 4; _this4.$success(res.data); _this4.getBetType(); } else { _this4.$error(res.message); } }); }, // 选择大类里的类型 hanlderPlatform: function hanlderPlatform(val) { this.platform = val; this.i = 1; this.getBetType(); }, hanlderGameName: function hanlderGameName(val) { this.gameName = val; this.getBetType(); }, // 分页 hanlderPage: function hanlderPage(value) { this.i = value; this.getGameRecord(); }, hanlderPages: function hanlderPages(value) { this.i = value; this.getBetType(); }, //详情页é¢æ–¹æ³• //é¢åŒ…屑 跳转 hanlderClick: function hanlderClick(item) { if (item === "投注记录") { this.showNEI = false; this.showContent = "betrecord"; this.i = 1; this.day = '1'; this.hanlderRadio(1); this.getGameRecord(); } else { this.showContent = "bet"; this.platform = ''; this.status = ''; this.hanlderStatus(); this.getBetType(); } }, hanlderClick1: function hanlderClick1() { this.day = '1'; this.hanlderRadio(1); this.getGameRecord(); }, // é€‰æ‹©çŠ¶æ€ hanlderStatus: function hanlderStatus(i) { this.status = i; this.i = 1; this.getBetType(); }, //å查询记录 getBetType: function getBetType(pageNum) { var _this5 = this; this.$store.commit("loading", true); this.$getS('member/bet-record/list', defineProperty_default()({ page: this.i + new Date().getTime(), date: this.date, game_platform: this.platform, game_class: this.type.toLowerCase() == "game" ? "slot" : this.type.toLowerCase() == "ct_lottery" ? "lottery" : this.type.toLowerCase(), status: this.status !== "" ? this.status : this.status, limit: 8 }, "page", this.i)).then(function (res) { if (res.code == 200) { _this5.data1 = res.data.data.list; _this5.total = res.data.total; _this5.validBetAmount1 = res.data.data.amount; _this5.total_bet1 = res.data.data.amount.total_bet; _this5.total_win1 = res.data.data.amount.total_win; } _this5.$store.commit("loading", false); }); } }, created: function created() { var _this6 = this; this.$nextTick(function () { var gameList = JSON.parse(localStorage.getItem("gameList")); // gameList.push({ // id: 10005, // list: [{id: 11746, name: "MGæ•é±¼", status: "yes", platform: "MG_FISH"}], // name: "æ•é±¼æ¸¸æˆ", // type: "FISH" // }) var cai = {}; gameList.forEach(function (v, i) { if (gameList[i].name == 'VR彩票') { gameList.splice(i, 1); } if (gameList[i].name == '彩票游æˆ') { cai = gameList.splice(i, 1); } }); _this6.columns1 = _this6.Lottery; gameList.unshift(cai[0]); if (['qxcp', 'csj', 'fczj', 'tycp', 'flcp'].includes(_this6.$websiteName)) { gameList = gameList.filter(function (item) { return item.name == '彩票游æˆ' || item.name == '棋牌游æˆ'; }); } if (['935qp', '632qp', 'kyqp', 'k78qp'].includes(_this6.$websiteName)) { gameList = gameList.filter(function (item) { return item.name == '棋牌游æˆ' || item.name == 'æ•é±¼æ¸¸æˆ' || item.name == '电å游艺' || item.name == '真人视讯'; }); } gameList.forEach(function (item) { item.list = item.list.filter(function (listItem) { return listItem.status == 'yes'; }); }); _this6.gameData = gameList; _this6.gameDetail = gameList[0]; _this6.type = gameList[0].type; _this6.dataLink.push(gameList[0].name); _this6.getGameRecord(); }); }, beforeDestroy: function beforeDestroy() { this.$store.commit("loading", false); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-2cc930e3","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personage/betrecord.vue var betrecord_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bet_box"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showNEI),expression:"showNEI"}],staticClass:"title titles"},_vm._l((_vm.dataLink),function(item,i){return _c('p',{key:i},[_c('span',{attrs:{"data-getvalue":"item"},on:{"click":function($event){return _vm.hanlderClick(item)}}},[(i>0)?_c('label',[_vm._v(">")]):_vm._e(),_vm._v(_vm._s(item))])])}),0),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showNEI),expression:"!showNEI"}],staticClass:"title",on:{"click":_vm.hanlderClick1}},[_vm._v("\n\t\t\t投注记录\n\t\t")]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.betShow),expression:"betShow"}]},[(_vm.showContent == 'betrecord')?_c('div',{staticClass:"betrecord"},[_c('div',{staticClass:"search"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("本周")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("上周")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("本月")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"4"}},[_c('span',{staticClass:"radio-span"},[_vm._v("上月")])])],1),_vm._v(" "),_c('Select',{on:{"on-change":_vm.hanlderList},model:{value:(_vm.type),callback:function ($$v) {_vm.type=$$v},expression:"type"}},_vm._l((_vm.gameData),function(item,i){return _c('Option',{key:i,attrs:{"value":item.type}},[_vm._v(_vm._s(item.name))])}),1)],1),_vm._v(" "),_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),(_vm.validBetAmount)?_c('div',{staticClass:"totalBet"},[_vm._v("\n\t\t\t\t\t总投注:\n\t\t\t\t\t"),_c('span',{staticStyle:{"color":"red"}},[_vm._v(_vm._s(_vm.total_bet))]),_vm._v(" ,总输赢:\n\t\t\t\t\t"),_c('span',{staticStyle:{"color":"red"}},[_vm._v(_vm._s(_vm.total_win))])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"page"},[(_vm.total>0)?_c('Page',{attrs:{"show-total":"","current":_vm.i,"page-size":8,"total":_vm.total,"size":"small"},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1)],1):_vm._e(),_vm._v(" "),(_vm.showContent == 'bet')?_c('div',{staticClass:"bet"},[_c('div',{staticClass:"search"},[_c('span',[_c('label',{staticClass:"text"},[_vm._v("类型:")]),_vm._v(" "),_c('Select',{staticClass:"platform-select",on:{"on-change":_vm.hanlderPlatform},model:{value:(_vm.platform),callback:function ($$v) {_vm.platform=$$v},expression:"platform"}},_vm._l((_vm.gameDetail.list),function(item,i){return _c('Option',{key:i,attrs:{"value":item.platform}},[_vm._v(_vm._s(item.name))])}),1)],1),_vm._v(" "),(_vm.statusShow)?_c('span',[_c('label',{staticClass:"text"},[_vm._v("状æ€ï¼š")]),_vm._v(" "),_c('Select',{on:{"on-change":_vm.hanlderStatus},model:{value:(_vm.status),callback:function ($$v) {_vm.status=$$v},expression:"status"}},_vm._l((_vm.statusList),function(item,i){return _c('Option',{key:i,attrs:{"value":i}},[_vm._v(_vm._s(item))])}),1)],1):_vm._e()]),_vm._v(" "),_c('Table',{attrs:{"columns":_vm.columns1,"data":_vm.data1,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),(_vm.validBetAmount1)?_c('div',{staticClass:"totalBet"},[_vm._v("\n\t\t\t\t\t总投注:\n\t\t\t\t\t"),_c('span',{staticStyle:{"color":"red"}},[_vm._v(_vm._s(_vm.total_bet1))]),_vm._v(" ,总输赢:\n\t\t\t\t\t"),_c('span',{staticStyle:{"color":"red"}},[_vm._v(_vm._s(_vm.total_win1))])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"page"},[(_vm.total>0)?_c('Page',{attrs:{"show-total":"","current":_vm.i,"page-size":8,"total":_vm.total,"size":"small"},on:{"on-change":_vm.hanlderPages}}):_vm._e()],1)],1):_vm._e()])])} var betrecord_staticRenderFns = [] var betrecord_esExports = { render: betrecord_render, staticRenderFns: betrecord_staticRenderFns } /* harmony default export */ var personage_betrecord = (betrecord_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/betrecord.vue function betrecord_injectStyle (ssrContext) { __webpack_require__("HTR2") } var betrecord_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var betrecord___vue_template_functional__ = false /* styles */ var betrecord___vue_styles__ = betrecord_injectStyle /* scopeId */ var betrecord___vue_scopeId__ = "data-v-2cc930e3" /* moduleIdentifier (server only) */ var betrecord___vue_module_identifier__ = null var betrecord_Component = betrecord_normalizeComponent( betrecord, personage_betrecord, betrecord___vue_template_functional__, betrecord___vue_styles__, betrecord___vue_scopeId__, betrecord___vue_module_identifier__ ) /* harmony default export */ var personals_personage_betrecord = (betrecord_Component.exports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/record2.js var Record = { data: function data() { return { total: 0, i: 1, day: '1', timeStart: '', timeEnd: '' }; }, methods: { hanlderRadio: function hanlderRadio(val) { this.i = 1; if (val == 1) { this.timeStart = this.getYMD(new Date()); this.timeEnd = this.getYMD(new Date()); } else if (val == 2) { this.timeStart = this.getYMD(new Date() - 1000 * 60 * 60 * 24); this.timeEnd = this.getYMD(new Date() - 1000 * 60 * 60 * 24); } else { this.timeStart = this.getYMD(new Date() - 1000 * 60 * 60 * 24 * 6); this.timeEnd = this.getYMD(new Date()); } this.getRecord(); }, hanlderDate: function hanlderDate(date) { this.timeStart = date[0]; this.timeEnd = date[1]; }, serachRecord: function serachRecord() { this.i = 1; this.getRecord(); }, hanlderPage: function hanlderPage(i) { this.i = i; this.getRecord(); } }, created: function created() { var _this = this; this.$nextTick(function () { _this.getRecord(); }); }, destroyed: function destroyed() { this.$store.commit('loading', false); } }; /* harmony default export */ var record2 = (Record); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personage/deposit.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var deposit = ({ mixins: [record2], data: function data() { var _this = this; return { quickDepositNavIndex: -1, quickDepositNavData: null, bankDepositNavIndex: -1, bankDepositNavData: null, columns: [{ title: 'å˜æ¬¾æ—¶é—´', align: 'center', key: 'time', render: function render(h, params) { return h('div', [h('span', _this.$moment.unix(params.row.time - 0).format('YYYY-MM-DD HH:mm:ss'))]); } }, { title: 'æµæ°´å·', align: 'center', width: 240, key: 'code' }, { title: '金é¢', align: 'center', key: 'amount' }, { title: '备注', align: 'center', key: 'remark' }, { title: '状æ€', align: 'center', key: 'status', render: function render(h, params) { return h('div', [params.row.ebao_status && params.row.ebao_status !== 'kefu_done' ? h('span', _this.getQuickOrderSatusText(params.row)) : h('span', _this.getBankOrderStatusText(params.row))]); } }, // 進入訂單æ‰èƒ½æ“作催帳 // { // title: '催账', // align: 'center', // key: 'status', // render: (h, params) => { // return h('div', [ // params.row.status == 'wait' || params.row.status == 'payment' // ? h( // 'span', // { // style: { // cursor: 'pointer', // border: '1px solid #dbdbdb', // padding: '6px 12px', // display: 'inline-block', // borderRadius: '5px', // background: 'linear-gradient(180deg, #ff3492, #ff1e4f)', // color: '#fff' // }, // on: { // click: () => { // this.emergency(params.row.id, params.row.time) // } // } // }, // '催账' // ) // : h( // 'span', // { // style: { // cursor: 'pointer', // border: '1px solid #dbdbdb', // padding: '6px 12px', // display: 'inline-block', // borderRadius: '5px', // background: '#f9f9f9' // }, // on: { // click: () => { // this.$error('该状æ€æ— 法申请催账') // // this.emergency(params.row.id); // // this.emergency(params.row.id, params.row.time); // } // } // }, // '催账' // ) // ]) // } // }, { title: ' ', align: 'center', key: 'ebao_unsuccess', render: function render(h, params) { return h('div', [params.row.type === 'e_quick_deposit' && (params.row.ebao_status && params.row.ebao_status !== 'kefu_done' || params.row.ebao_unsuccess || params.row.pay_voucher && params.row.pay_voucher.length <= 0 || params.row.payment_img && params.row.payment_img.length <= 0 && !['fail'].includes(params.row.status)) ? h('span', { style: { cursor: 'pointer', border: 'solid 1px #dcdcdc', padding: '6px 12px', display: 'inline-block', borderRadius: '5px', background: '#f9f9f9', color: '#414655' }, on: { click: function click() { _this.goToEaboQuickDeposit(params.row); } } }, 'å‰å¾€è®¢å•') : (params.row.type === 'bank' || params.row.type === 'e_quick_deposit' && params.row.ebao_status === 'kefu_done') && (params.row.payment_img.length <= 0 && !['fail'].includes(params.row.status) || params.row.payment_img.length > 0 && ['wait', 'payment'].includes(params.row.status)) ? h('span', { style: { cursor: 'pointer', border: 'solid 1px #dcdcdc', padding: '6px 12px', display: 'inline-block', borderRadius: '5px', background: '#f9f9f9', color: '#414655' }, on: { click: function click() { _this.goToBankDepsit(params.row); } } }, 'å‰å¾€è®¢å•') : h('span', '')]); } }], data: [], navData: [] }; }, mounted: function mounted() { this.getNavData(); }, methods: { getRecord: function getRecord() { var _this2 = this; this.$store.commit('loading', true); this.$getS('member/account-money-record/depositV2', { page: this.i, time_start: this.timeStart || this.getYMD(new Date()), time_end: this.timeEnd || this.getYMD(new Date()), limit: 10 }).then(function (res) { if (res.code == 200) { _this2.data = res.data.data.list; _this2.total = res.data.total; } _this2.$store.commit('loading', false); }); }, emergency: function emergency(id, date) { var _this3 = this; this.$http.post(this.$HOST_NAME + '/emergency/application', { financeId: id, type: 'deposit', date: this.$moment.unix(date - 0).format('YYYY-MM-DD') }).then(function (res) { if (res.code == 200) { _this3.$success('催账æˆåŠŸ'); } else { _this3.$error(res.message); } }); }, goToEaboQuickDeposit: function goToEaboQuickDeposit(orderData) { this.$store.commit('trade/setDepositDataParams', orderData); this.$store.commit('trade/setCurrentBuyerOrder', orderData.code); this.$store.commit('trade/setIsFromAnotherPage', true); this.$store.commit('setCurrentTypeTitle', '充值'); var quickDepositNavIndex = this.navData.findIndex(function (item) { return item.classType === 'e_quick_deposit'; }); if (quickDepositNavIndex !== -1) { this.$goUserCen('recharge', quickDepositNavIndex); this.$store.commit('setItemDatas', this.navData[quickDepositNavIndex]); } else { var quickDepositNavData = { classType: 'e_quick_deposit', className: 'å˜æ¬¾', category: this.navData }; this.$goUserCen('recharge', -1); this.$store.commit('setItemDatas', quickDepositNavData); } }, goToBankDepsit: function goToBankDepsit(orderData) { this.$store.commit('trade/setDepositDataParams', orderData); this.$store.commit('trade/setCurrentBuyerOrder', orderData.code); this.$store.commit('trade/setIsFromAnotherPage', true); this.$store.commit('setCurrentTypeTitle', '充值'); var bankDepositNavIndex = this.navData.findIndex(function (item) { return item.classType === 'bank'; }); if (bankDepositNavIndex !== -1) { this.$goUserCen('recharge', bankDepositNavIndex); this.$store.commit('setItemDatas', this.navData[bankDepositNavIndex]); } else { var bankDepositNavData = { classType: 'bank', className: 'å˜æ¬¾', category: this.navData }; this.$goUserCen('recharge', -1); this.$store.commit('setItemDatas', bankDepositNavData); } }, getNavData: function getNavData() { var _this4 = this; this.$http.post(this.$HOST_NAME + '/deposit/payment/category', { devices: 'pc' }).then(function (res) { if (res.code === 200) { _this4.navData = res.data; } }); }, getBankOrderStatusText: function getBankOrderStatusText(data) { if (data.type === 'deposit') { switch (data.status) { case 'success': return 'æˆåŠŸ'; case 'wait': return '处ç†ä¸'; case 'payment': return '支付ä¸'; case 'fail': return '失败'; default: return ''; } } else { switch (data.status) { case 'success': return data.payment_img.length > 0 ? 'æˆåŠŸ' : 'æˆåŠŸï¼Œå°šæœªä¸Šä¼ å‡è¯'; case 'wait': return '处ç†ä¸'; case 'payment': return '支付ä¸'; case 'fail': return '失败'; default: return ''; } } }, getQuickOrderSatusText: function getQuickOrderSatusText(data) { switch (data.ebao_status) { case 'success': return data.payment_img.length > 0 ? 'æˆåŠŸ' : 'æˆåŠŸï¼Œå°šæœªä¸Šä¼ å‡è¯'; case 'buyer_created': return '买家创建订å•'; case 'buyer_pay': return '买家付款'; case 'seller_confirm': return 'å–家确认'; case 'cancel': return 'å–消'; case 'kefu': return data.payment_img.length > 0 ? '仲è£ä¸' : '仲è£ä¸ï¼Œå°šæœªä¸Šä¼ å‡è¯'; case 'kefu_done': return '仲è£å·²å¤„ç†'; default: return ''; } } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-0afcab9e","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personage/deposit.vue var deposit_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"deposit-record"},[_c('div',{staticClass:"content"},[_c('div',{staticClass:"search"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("今日")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("昨天")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("最近七天")])])],1),_vm._v(" "),_c('DatePicker',{staticStyle:{"width":"236px"},attrs:{"type":"daterange","placement":"bottom-end","placeholder":"选择时间"},on:{"on-change":_vm.hanlderDate}}),_vm._v(" "),_c('span',{staticClass:"searchSpan",on:{"click":_vm.serachRecord}},[_vm._v("æœç´¢")])],1),_vm._v(" "),_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),_c('div',{staticClass:"page"},[(_vm.total>0)?_c('Page',{attrs:{"current":_vm.i,"show-total":"","total":_vm.total,"size":"small"},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1)],1)])} var deposit_staticRenderFns = [] var deposit_esExports = { render: deposit_render, staticRenderFns: deposit_staticRenderFns } /* harmony default export */ var personage_deposit = (deposit_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/deposit.vue function deposit_injectStyle (ssrContext) { __webpack_require__("Q3J5") } var deposit_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var deposit___vue_template_functional__ = false /* styles */ var deposit___vue_styles__ = deposit_injectStyle /* scopeId */ var deposit___vue_scopeId__ = "data-v-0afcab9e" /* moduleIdentifier (server only) */ var deposit___vue_module_identifier__ = null var deposit_Component = deposit_normalizeComponent( deposit, personage_deposit, deposit___vue_template_functional__, deposit___vue_styles__, deposit___vue_scopeId__, deposit___vue_module_identifier__ ) /* harmony default export */ var personals_personage_deposit = (deposit_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personage/withdrawal.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var withdrawal = ({ mixins: [record2], data: function data() { var _this = this; return { confirmCode: "", isConfirmModal: false, columns: [{ title: "å–款时间", align: "center", key: "time", render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.time - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "æµæ°´å·", align: "center", width: 240, key: "code" }, { title: "金é¢", align: "center", key: "amount" }, { title: "备注", align: "center", key: "remark" }, { title: "状æ€", align: "center", key: "status", render: function render(h, params) { return h("div", [params.row.ebao_status ? h("span", params.row.ebao_status == "buyer_created" ? "出款ä¸" : params.row.ebao_status == "buyer_pay" ? "待确认" : params.row.ebao_status == "seller_confirm" ? "出款ä¸" : params.row.ebao_status == "audit" ? "处ç†ä¸" : params.row.ebao_status == "wait" ? "自动出款ä¸ï¼Œè¯·ç‰å¾…" : params.row.ebao_status == "success" ? "æˆåŠŸ" : params.row.ebao_status === "cancel" ? "å–消" : params.row.ebao_status == "kefu" ? "仲è£ä¸" : params.row.ebao_status == "kefu_done" ? "已完æˆ" : "") : h("span", params.row.status == "success" || params.row.status == "virtualWithdrawals" || params.row.status == "alipayWithdrawals" || params.row.status == "thirdWalletWithdrawals" ? "æˆåŠŸ" : false || params.row.status == "fail" ? "失败" : ["wait", "ebaoWait", "ebaoTimeout"].includes(params.row.status) ? "出款ä¸" : params.row.status == "ebaoFastWithdrawals" ? "æˆåŠŸ" : params.row.status == "split" ? '订å•æ‹†åˆ†ä¸' : params.row.type === 'withdrawals' && params.row.is_kefu_wait ? "仲è£ä¸" : "å®¡æ ¸ä¸")]); } }, // 進入訂單æ‰èƒ½æ“作催帳 // { // title: "催账", // align: "center", // key: "status", // render: (h, params) => { // return h("div", [ // params.row.status == "wait" // ? h( // "span", // { // style: { // cursor: "pointer", // border: "1px solid #dbdbdb", // padding: "6px 12px", // display: "inline-block", // borderRadius: "5px", // background: "linear-gradient(180deg,#ff8181,#fd4949)", // color: "#fff" // }, // on: { // click: () => { // this.emergency(params.row.id, params.row.time); // } // } // }, // "催账" // ) // : h( // "span", // { // style: { // cursor: "pointer", // border: "1px solid #dbdbdb", // padding: "6px 12px", // display: "inline-block", // borderRadius: "5px", // background: "#f9f9f9" // }, // on: { // click: () => { // this.$error("该状æ€æ— 法申请催账"); // } // } // }, // "催账" // ) // ]); // } // }, { title: " ", align: "center", key: "ebao_unsuccess", render: function render(h, params) { return h("div", [ // å–款改æˆä¸€çŽ‡éŽåŽ» // this.checkOrderStatus(params.row) (params.row.typeV2 === "ebao_fast" || params.row.typeV2 === "withdrawals") && h("span", { style: { cursor: "pointer", border: "1px solid #dbdbdb", padding: "6px 12px", display: "inline-block", borderRadius: "5px", background: "#f9f9f9", color: "#414655" }, on: { click: function click() { _this.goToEaboQuickWithdraw(params.row); } } }, "å‰å¾€è®¢å•")]); } }], data: [] }; }, methods: { //å–款列表 getRecord: function getRecord() { var _this2 = this; this.$store.commit("loading", true); this.$getS("member/account-money-record/withdrawalsV2", { page: this.i, time_start: this.timeStart || this.getYMD(new Date()), time_end: this.timeEnd || this.getYMD(new Date()), limit: 10, get_main: 1, sv: '230620' }).then(function (res) { if (res.code == 200) { _this2.data = res.data.data.list; _this2.total = res.data.total; } _this2.$store.commit("loading", false); }); }, //催款 emergency: function emergency(id, date) { var _this3 = this; this.$http.post(this.$HOST_NAME + "/emergency/application", { financeId: id, type: "withdrawals", date: this.$moment.unix(date - 0).format("YYYY-MM-DD") }).then(function (res) { if (res.code == 200) { _this3.$success("催账æˆåŠŸ"); } else { _this3.$error(res.message); } }); }, goToEaboQuickWithdraw: function goToEaboQuickWithdraw(orderData) { this.$store.commit("trade/setWithdrawalDataParams", orderData); this.$store.commit("trade/setCurrentSellerOrder", orderData.code); this.$store.commit("trade/setIsFromAnotherPage", true); // localStorage.setItem('recentWithdrawalOrder', code) // localStorage.setItem('recentWithdrawalTime', time) this.$goUserCen("withdraw", { name: "", type: "ebaoWithdrawalsFast" }); this.$store.commit("setCurrentTypeTitle", "æ款"); }, // openWithdrawalConfirmModal (code) { // this.confirmCode = code // this.isConfirmModal = true // }, confirmWithdrawal: function confirmWithdrawal() { var _this4 = this; this.$postS("/withdrawals/confirm", { code: this.confirmCode, sv: '230626' }).then(function (res) { if (res.code === 200) { _this4.getRecord(); _this4.isConfirmModal = false; } }); }, checkOrderStatus: function checkOrderStatus(data) { var withdrawalsGotoOrderStatus = ['system_processing', 'wait', 'withdraw_free', 'waitConfirm', 'ebaoTimeout', 'ebaoWait', 'split']; return data.typeV2 === "ebao_fast" && data.ebao_status && !['kefu_done', 'success'].includes(data.ebao_status) || data.ebao_unsuccess || (data.typeV2 === "withdrawals" || data.typeV2 === "ebao_fast" && !data.ebao_status) && withdrawalsGotoOrderStatus.includes(data.status); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-70f459f4","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personage/withdrawal.vue var withdrawal_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"withdrawal-record"},[_c('div',{staticClass:"content"},[_c('div',{staticClass:"search"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("今日")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("昨天")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("最近七天")])])],1),_vm._v(" "),_c('DatePicker',{staticStyle:{"width":"236px"},attrs:{"type":"daterange","placement":"bottom-end","placeholder":"选择时间"},on:{"on-change":_vm.hanlderDate}}),_vm._v(" "),_c('span',{staticClass:"searchSpan",on:{"click":_vm.serachRecord}},[_vm._v("æœç´¢")])],1),_vm._v(" "),_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),_c('div',{staticClass:"page"},[(_vm.total > 0)?_c('Page',{attrs:{"current":_vm.i,"total":_vm.total,"size":"small"},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1)],1)]),_vm._v(" "),_c('Modal',{staticClass:"message-modal",attrs:{"width":"400","closable":false,"mask-closable":false},model:{value:(_vm.isConfirmModal),callback:function ($$v) {_vm.isConfirmModal=$$v},expression:"isConfirmModal"}},[_c('div',{staticClass:"message-modal-main"},[_c('h2',[_vm._v("请å†æ¬¡ç¡®è®¤å·²æ”¶åˆ°æ¬¾é¡¹ï¼")]),_vm._v(" "),_c('p',[_vm._v("请您务必确认收到款项åŽæ‰èƒ½æ”¾æ¬¾ï¼Œå¦‚é‡æ¬¾é¡¹æœªåˆ°è´¦æˆ‘å¸å°†ä¸è´Ÿè´£ï¼")])]),_vm._v(" "),_c('div',{staticClass:"message-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"button message-modal-footer-cancel",on:{"click":function($event){_vm.isConfirmModal = false}}},[_vm._v("\n å–消\n ")]),_vm._v(" "),_c('div',{staticClass:"button message-modal-footer-confirm",on:{"click":function($event){return _vm.confirmWithdrawal()}}},[_vm._v("\n 确认\n ")])])])],1)} var withdrawal_staticRenderFns = [] var withdrawal_esExports = { render: withdrawal_render, staticRenderFns: withdrawal_staticRenderFns } /* harmony default export */ var personage_withdrawal = (withdrawal_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/withdrawal.vue function withdrawal_injectStyle (ssrContext) { __webpack_require__("Oh0C") } var withdrawal_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var withdrawal___vue_template_functional__ = false /* styles */ var withdrawal___vue_styles__ = withdrawal_injectStyle /* scopeId */ var withdrawal___vue_scopeId__ = "data-v-70f459f4" /* moduleIdentifier (server only) */ var withdrawal___vue_module_identifier__ = null var withdrawal_Component = withdrawal_normalizeComponent( withdrawal, personage_withdrawal, withdrawal___vue_template_functional__, withdrawal___vue_styles__, withdrawal___vue_scopeId__, withdrawal___vue_module_identifier__ ) /* harmony default export */ var personals_personage_withdrawal = (withdrawal_Component.exports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/record.js var record_Record = { data: function data() { return { total: 0, i: 1, startTime: this.getYMD(new Date()) + ' 00:00:00', endTime: this.getTime(new Date()), day: '1' }; }, methods: { hanlderRadio: function hanlderRadio(val) { this.i = 1; if (val == '1') { this.startTime = this.getYMD(new Date()) + ' 00:00:00'; this.endTime = this.getTime(new Date()); } else if (val == '2') { this.startTime = this.getYMD(new Date() - 1000 * 60 * 60 * 24) + ' 00:00:00'; this.endTime = this.getYMD(new Date() - 1000 * 60 * 60 * 24) + ' 23:59:59 '; } else { this.startTime = this.getYMD(new Date() - 1000 * 60 * 60 * 24 * 6) + ' 00:00:00'; this.endTime = this.getTime(new Date()); } this.getRecord(); }, hanlderDate: function hanlderDate(date) { this.startTime = date[0]; this.endTime = date[1]; }, serachRecord: function serachRecord() { this.i = 1; this.getRecord(); }, hanlderPage: function hanlderPage(i) { this.i = i; this.getRecord(); } }, created: function created() { var _this = this; this.$nextTick(function () { _this.getRecord(); }); }, destroyed: function destroyed() { this.$store.commit('loading', false); } }; /* harmony default export */ var record = (record_Record); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personage/discounts.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var discounts = ({ mixins: [record], data: function data() { var _this = this; return { columns: [{ title: 'ä¼˜æƒ å称', align: 'center', // width: 240, key: 'title', width: 100, render: function render(h, params) { return h('div', [h('span', params.row.subType)]); } }, { title: '订å•å·', align: 'center', key: 'orderId', width: 440, // width:0 render: function render(h, params) { return h('div', [h('span', params.row.orderNumber)]); } }, { title: '领å–时间', align: 'center', key: 'time', render: function render(h, params) { return h('div', [h('span', _this.$moment.unix(params.row.time - 0).format('YYYY-MM-DD HH:mm:ss'))]); } }, { title: '金é¢', align: 'center', key: 'bouns', render: function render(h, params) { return h('div', [h('span', params.row.amount)]); } // width:0 }, { title: '状æ€', align: 'center', key: 'status', render: function render(h, params) { return h('div', [h('span', 'æˆåŠŸ')]); } }], data: [], i: 1 }; }, methods: { getRecord: function getRecord() { var _$getS, _this2 = this; this.$store.commit('loading', true); this.startTime = this.startTime.split(" ")[0]; this.endTime = this.endTime.split(" ")[0]; this.$getS('member/account-money-record/bonus', (_$getS = { page: this.i, time_start: this.startTime, time_end: this.endTime }, defineProperty_default()(_$getS, 'page', this.i), defineProperty_default()(_$getS, 'limit', 10), _$getS)).then(function (res) { if (res.code == 200) { _this2.data = res.data.data.list; _this2.total = res.data.total; _this2.$store.commit('loading', false); } else { _this2.$store.commit('loading', false); } }); }, hanlderPage: function hanlderPage(i) { this.i = i; this.getRecord(); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-a9f44bae","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personage/discounts.vue var discounts_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"withdrawal-record"},[_c('div',{staticClass:"content"},[_c('div',{staticClass:"search"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("今日")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("昨天")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("最近七天")])])],1),_vm._v(" "),_c('DatePicker',{staticStyle:{"width":"236px"},attrs:{"type":"daterange","placement":"bottom-end","placeholder":"选择时间"},on:{"on-change":_vm.hanlderDate}}),_vm._v(" "),_c('span',{staticClass:"searchSpan",on:{"click":_vm.serachRecord}},[_vm._v("æœç´¢")])],1),_vm._v(" "),_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),_c('div',{staticClass:"page"},[(_vm.total>0)?_c('Page',{attrs:{"current":_vm.i,"total":_vm.total,"size":"small"},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1)],1)])} var discounts_staticRenderFns = [] var discounts_esExports = { render: discounts_render, staticRenderFns: discounts_staticRenderFns } /* harmony default export */ var personage_discounts = (discounts_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/discounts.vue function discounts_injectStyle (ssrContext) { __webpack_require__("UkFw") } var discounts_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var discounts___vue_template_functional__ = false /* styles */ var discounts___vue_styles__ = discounts_injectStyle /* scopeId */ var discounts___vue_scopeId__ = "data-v-a9f44bae" /* moduleIdentifier (server only) */ var discounts___vue_module_identifier__ = null var discounts_Component = discounts_normalizeComponent( discounts, personage_discounts, discounts___vue_template_functional__, discounts___vue_styles__, discounts___vue_scopeId__, discounts___vue_module_identifier__ ) /* harmony default export */ var personals_personage_discounts = (discounts_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personage/agency.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var agency = ({ mixins: [record2], data: function data() { var _this = this; return { columns: [{ title: '金é¢', align: 'center', key: 'amount' // width: 180 }, { title: '备注', align: 'center', key: 'remarks' // width: 180 }, { title: '领å–时间', align: 'center', key: 'time', render: function render(h, params) { return h('div', [h('span', _this.$moment.unix(params.row.time - 0).format('YYYY-MM-DD'))]); } }], data: [] }; }, methods: { getRecord: function getRecord() { var _this2 = this; this.$store.commit('loading', true); this.$getS('member/account-money-record/agency', { time_start: this.timeStart || this.getYMD(new Date()), time_end: this.timeEnd || this.getYMD(new Date()), page: this.i, limit: 10 }).then(function (res) { if (res.code == 200) { _this2.data = res.data.data.list; _this2.total = res.data.total; _this2.$store.commit('loading', false); } else { _this2.$store.commit('loading', false); } }); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-157c7eea","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personage/agency.vue var agency_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"withdrawal-record"},[_c('div',{staticClass:"content"},[_c('div',{staticClass:"search"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("今日")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("昨天")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("最近七天")])])],1),_vm._v(" "),_c('DatePicker',{staticStyle:{"width":"236px"},attrs:{"type":"daterange","placement":"bottom-end","placeholder":"选择时间"},on:{"on-change":_vm.hanlderDate}}),_vm._v(" "),_c('span',{staticClass:"searchSpan",on:{"click":_vm.serachRecord}},[_vm._v("æœç´¢")])],1),_vm._v(" "),_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),_c('div',{staticClass:"page"},[(_vm.total>0)?_c('Page',{attrs:{"current":_vm.i,"total":_vm.total,"size":"small"},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1)],1)])} var agency_staticRenderFns = [] var agency_esExports = { render: agency_render, staticRenderFns: agency_staticRenderFns } /* harmony default export */ var personage_agency = (agency_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/agency.vue function agency_injectStyle (ssrContext) { __webpack_require__("/TbE") } var agency_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var agency___vue_template_functional__ = false /* styles */ var agency___vue_styles__ = agency_injectStyle /* scopeId */ var agency___vue_scopeId__ = "data-v-157c7eea" /* moduleIdentifier (server only) */ var agency___vue_module_identifier__ = null var agency_Component = agency_normalizeComponent( agency, personage_agency, agency___vue_template_functional__, agency___vue_styles__, agency___vue_scopeId__, agency___vue_module_identifier__ ) /* harmony default export */ var personals_personage_agency = (agency_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personage/other.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var personage_other = ({ mixins: [record2], data: function data() { var _this = this; return { columns: [{ title: '订å•å·', align: 'center', width: 240, key: 'orderNo' }, { title: '类型', align: 'center', key: 'type' // width: 180 }, { title: '金é¢', align: 'center', key: 'amount' // width: 180 }, { title: '备注', align: 'center', key: 'remarks' // width: 180 }, { title: '领å–时间', align: 'center', key: 'created_at', render: function render(h, params) { return h('div', [h('span', _this.$moment.unix(params.row.created_at - 0).format('YYYY-MM-DD HH:mm:ss'))]); } }], data: [] }; }, methods: { getRecord: function getRecord() { var _$getS, _this2 = this; this.$store.commit('loading', true); this.$getS('member/account-money-record/others', (_$getS = { page: this.i, time_start: this.timeStart || this.getYMD(new Date()), time_end: this.timeEnd || this.getYMD(new Date()) }, defineProperty_default()(_$getS, 'page', this.i), defineProperty_default()(_$getS, 'limit', 10), _$getS)).then(function (res) { if (res.code == 200) { _this2.data = res.data.data.list; _this2.total = res.data.total; _this2.$store.commit('loading', false); } else { _this2.$store.commit('loading', false); } }); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-7f212b92","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personage/other.vue var other_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"withdrawal-record"},[_c('div',{staticClass:"content"},[_c('div',{staticClass:"search"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("今日")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("昨天")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("最近七天")])])],1),_vm._v(" "),_c('DatePicker',{staticStyle:{"width":"236px"},attrs:{"type":"daterange","placement":"bottom-end","placeholder":"选择时间"},on:{"on-change":_vm.hanlderDate}}),_vm._v(" "),_c('span',{staticClass:"searchSpan",on:{"click":_vm.serachRecord}},[_vm._v("æœç´¢")])],1),_vm._v(" "),_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),_c('div',{staticClass:"page"},[(_vm.total>0)?_c('Page',{attrs:{"current":_vm.i,"total":_vm.total,"size":"small"},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1)],1)])} var other_staticRenderFns = [] var other_esExports = { render: other_render, staticRenderFns: other_staticRenderFns } /* harmony default export */ var personals_personage_other = (other_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/other.vue function other_injectStyle (ssrContext) { __webpack_require__("FPzg") } var other_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var other___vue_template_functional__ = false /* styles */ var other___vue_styles__ = other_injectStyle /* scopeId */ var other___vue_scopeId__ = "data-v-7f212b92" /* moduleIdentifier (server only) */ var other___vue_module_identifier__ = null var other_Component = other_normalizeComponent( personage_other, personals_personage_other, other___vue_template_functional__, other___vue_styles__, other___vue_scopeId__, other___vue_module_identifier__ ) /* harmony default export */ var public_personals_personage_other = (other_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personage/safety.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var safety = ({ data: function data() { return { amount: "", setLoginPaw: true, setPayPwd: false, setEncrypted: false, secretKeyList: [], param: {}, toastShow: false, toastNum: 96, toastText: "" }; }, methods: { toggle: function toggle(i) { // this.spanActive = i; this.$store.commit("bankSafety", i); this.param = {}; this.toastShow = false; switch (i) { case 0: this.setLoginPaw = true; this.setPayPwd = false; this.setEncrypted = false; break; case 1: this.setLoginPaw = false; this.setPayPwd = true; this.setEncrypted = false; break; case 2: this.setLoginPaw = false; this.setPayPwd = false; this.setEncrypted = true; break; } }, submitPwd: function submitPwd() { if (this.spanActive == 0) { this.setpwd(); } else if (this.spanActive == 1) { this.setmoneypassd(); } // else { // this.setmerpass(); // } }, secretKey: function secretKey() { var _this = this; this.$http.post(this.$HOST_NAME + "/member/secretKey").then(function (res) { if (res.code == 200) { _this.secretKeyList = res.data; _this.key = res.data[0]; _this.loginKey = res.data[0]; } }); }, set_pay_password: function set_pay_password(param) { var _this2 = this; this.toastShow = false; this.$postS("member/set-pay-password", param).then(function (res) { if (res.code == 200) { _this2.$success("设置æˆåŠŸ"); _this2.param = {}; UserService["a" /* default */].vpGetBasicInfo.call(_this2); } }); }, //修改登录密ç setpwd: function setpwd() { var _this3 = this; var param = {}; var url = this.$HOST_NAME + "/member/resetPassword"; param.oldpassword = this.param.oldpassword; // let isOldPwd = this.valiPwdAccount(param.oldpassword); if (param.oldpassword.length < 6) { this.toastShow = true; this.toastText = "原登录密ç 错误"; this.toastNum = 96; this.reset(0); return false; } param.password = this.param.password; // let isNewPwd = this.valiPwdAccount(param.password); if (param.password.length < 8) { this.toastShow = true; this.toastText = "请输入8-20ä½æ–°å¯†ç "; this.toastNum = 152; this.reset(0); return false; } param.password_confirmation = this.param.password_confirmation; if (param.password_confirmation !== param.password) { this.toastShow = true; this.toastText = "两次输入的新密ç ä¸ä¸€è‡´"; this.toastNum = 210; this.reset(0); return false; } if (param.password === param.oldpassword) { this.toastShow = true; this.toastText = "新密ç ä¸èƒ½ä¸ŽåŽŸå¯†ç 一致"; this.toastNum = 152; this.reset(0); return false; } this.toastShow = false; this.$http.post(url, param).then(function (res) { if (res.code == 200) { if (!_this3.$store.state.mainState.userinfo.secret && url.includes("/member/secret")) { _this3.$success("设置æˆåŠŸ"); } else { _this3.$success("修改æˆåŠŸ"); } _this3.param = {}; UserService["a" /* default */].vpGetBasicInfo.call(_this3); } else { _this3.$error(res.message); } }); }, //修改资金密ç setmoneypassd: function setmoneypassd() { var _this4 = this; var param = {}; if (this.$store.state.mainState.userinfo.secret === "unset" && this.$store.state.mainState.userinfo.payPassword == "unset") { param.pay_password = this.param.newPay; var isNewPwd = this.dInvalidMoney(param.pay_password); if (param.pay_password.length < 6 || !isNewPwd) { this.toastShow = true; this.toastText = "请输入6ä½æ•°å—资金密ç "; this.toastNum = 96; this.reset(1); return false; } param.pay_password_confirmation = this.param.confirmPay; if (param.pay_password_confirmation != param.pay_password || param.pay_password_confirmation < 6) { this.toastShow = true; this.toastText = "两次密ç ä¸ä¸€è‡´"; this.toastNum = 152; this.reset(1); return false; } param.key = this.param.payKey; param.key = '123456'; param.value = '123456'; // if(!['935qp','632qp','kyqp','839qp','k78qp'].includes(this.$websiteName)) { // if (!param.key) { // this.toastShow = true; // this.toastText = "请选择密ä¿é—®é¢˜"; // this.toastNum = 210; // return false; // } // } // param.value = this.param.payVal; // if(!['935qp','632qp','kyqp','839qp','k78qp'].includes(this.$websiteName)) { // if (!param.value) { // this.toastShow = true; // this.toastText = "请输入密ä¿ç”案"; // this.toastNum = 265; // return false; // } // } // if(['935qp','632qp','kyqp','839qp','k78qp'].includes(this.$websiteName)){ // param.key='123456' // param.value='123456' // } this.set_pay_password(param); } else if (this.$store.state.mainState.userinfo.secret !== "unset" && this.$store.state.mainState.userinfo.payPassword == "unset") { param.pay_password = this.param.newPay; var _isNewPwd = this.dInvalidMoney(param.pay_password); if (!param.pay_password || !_isNewPwd) { this.toastShow = true; this.toastText = "请输入6ä½æ•°å—资金密ç "; this.toastNum = 92; return false; } param.pay_password_confirmation = this.param.confirmPay; var isNewPwd2 = this.dInvalidMoney(param.pay_password_confirmation); if (!param.pay_password_confirmation || !isNewPwd2) { this.toastShow = true; this.toastText = "请输入6ä½æ•°å—资金密ç "; this.toastNum = 152; return false; } if (param.pay_password_confirmation != param.pay_password) { this.toastShow = true; this.toastText = "两次密ç ä¸ä¸€è‡´"; this.toastNum = 152; this.reset(1); return false; } this.set_pay_password(param); } else { param.ori_pay_password = this.param.oldwPay; var oldNewPwd = this.dInvalidMoney(param.ori_pay_password); if (param.ori_pay_password.length < 6 || !oldNewPwd) { this.toastShow = true; this.toastText = "请输入6ä½æ•°å—原资金密ç "; this.toastNum = 96; return false; } param.new_pay_password = this.param.newPay; var newNewPwd = this.dInvalidMoney(param.new_pay_password); if (param.new_pay_password.length < 6 || !newNewPwd) { this.toastShow = true; this.toastText = "请输入6ä½æ•°å—资金密ç "; this.toastNum = 152; this.reset(1); return false; } param.new_pay_password_confirmation = this.param.confirmPay; if (param.new_pay_password_confirmation !== param.new_pay_password) { this.toastShow = true; this.toastText = "两次密ç ä¸ä¸€è‡´"; this.toastNum = 210; this.reset(1); return false; } if (param.new_pay_password === param.ori_pay_password) { this.toastShow = true; this.toastText = "新密ç ä¸èƒ½ä¸ŽåŽŸå¯†ç 一致"; this.toastNum = 210; this.reset(1); return false; } param.key = this.param.payKey; if (this.$store.state.mainState.userinfo.secret != "unset") { param.key = this.$store.state.mainState.userinfo.secret; } // if(!['935qp','632qp','kyqp','839qp','k78qp'].includes(this.$websiteName)){ // if (!param.key) { // this.toastShow = true; // this.toastText = "请选择密ä¿é—®é¢˜"; // this.toastNum = 265; // return false; // } // } param.value = this.param.payVal; param.key = '123456'; param.value = '123456'; // if(!['935qp','632qp','kyqp','839qp','k78qp'].includes(this.$websiteName)){ // if (!param.value) { // this.toastShow = true; // this.toastText = "请输入密ä¿ç”案"; // this.toastNum = 322; // return false; // } // } // if(['935qp','632qp','kyqp','839qp','k78qp'].includes(this.$websiteName)){ // param.key='123456' // param.value='123456' // } this.toastShow = false; this.$postS("member/reset-pay-password", param).then(function (res) { if (res.code == 200) { _this4.$success("修改æˆåŠŸ"); _this4.param = {}; UserService["a" /* default */].vpGetBasicInfo.call(_this4); } else { _this4.$error(res.message); } }); } }, //修改密ä¿å¯†ç setmerpass: function setmerpass() { var _this5 = this; var param = {}; if (this.$store.state.mainState.userinfo.secret == "unset") { param.key = this.param.oldkey; if (!param.key) { this.toastShow = true; this.toastText = "请选择ä¿é—®é¢˜"; this.toastNum = 96; return false; } param.value = this.param.oldValue; if (!param.value) { this.toastShow = true; this.toastText = "请输入密ä¿ç”案"; this.toastNum = 152; return false; } } else { param.key = this.$store.state.mainState.userinfo.secret; // if(!param.key){ // this.toastShow = true // this.toastText = '请输入密ä¿é—®é¢˜' // this.toastNum = 96 // return false // } param.value = this.param.oldValue; if (!param.value) { this.toastShow = true; this.toastText = "请输入密ä¿ç”案"; this.toastNum = 152; return false; } param.newKey = this.param.newKey; if (!param.newKey) { this.toastShow = true; this.toastText = "请输入新密ä¿ç”案"; this.toastNum = 208; return false; } param.newValue = this.param.newValue; if (!param.newValue) { this.toastShow = true; this.toastText = "请输入新密ä¿ç”案"; this.toastNum = 265; return false; } if (param.value === param.newValue) { this.toastShow = true; this.toastText = "新密ä¿ä¸èƒ½ä¸ŽåŽŸå¯†ä¿ä¸€è‡´"; this.toastNum = 265; this.reset(2); return false; } } this.toastShow = false; this.$http.post(this.$HOST_NAME + "/member/secret", param).then(function (res) { if (res.code == 200) { _this5.$success(res.data); _this5.param = {}; UserService["a" /* default */].vpGetBasicInfo.call(_this5); } else { _this5.$error(res.message); } }); }, reset: function reset(index) { switch (index) { case 1: //资金密ç this.param.newPay = ""; this.param.confirmPay = ""; break; case 2: //密ä¿é—®é¢˜ this.param.oldValue = ""; this.param.newValue = ""; break; default: //登陆密ç this.param.password = ""; this.param.password_confirmation = ""; this.break; } } }, created: function created() { this.secretKey(); // 讓導覽列å¯ä»¥å¿«é€Ÿåˆ‡æ›åˆ°ã€Œè¨ç½®è³‡é‡‘密碼ã€é é¢ if (this.$store.state.personal.showSetPayPwd) { this.setLoginPaw = false; this.setPayPwd = true; this.setEncrypted = false; this.$store.commit("bankSafety", 1); this.$store.commit('showSetPayPwd', false); } if (this.$store.state.personal.bankSafety == 2) { this.setLoginPaw = false; this.setPayPwd = false; this.setEncrypted = true; } }, destroyed: function destroyed() { this.$store.commit("bankSafety", 0); }, computed: { spanActive: function spanActive() { return this.$store.state.personal.bankSafety; } }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-14a6f718","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personage/safety.vue var safety_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"safety"},[_c('div',{staticClass:"header"},[_c('ul',[_vm._m(0),_vm._v(" "),_c('li',{staticClass:"aisle"},[_c('span',{class:{spanActive:_vm.spanActive ==0},on:{"click":function($event){return _vm.toggle(0)}}},[_vm._v("修改登录密ç ")])]),_vm._v(" "),_c('li',{staticClass:"aisle"},[_c('span',{class:{spanActive:_vm.spanActive ==1},on:{"click":function($event){return _vm.toggle(1)}}},[_vm._v(_vm._s(_vm.$store.state.mainState.userinfo.payPassword=='unset'?'设置资金密ç ':'修改资金密ç '))])])])]),_vm._v(" "),_c('div',{staticClass:"content"},[(_vm.setLoginPaw)?_c('div',{staticClass:"setLoginPaw"},[_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 旧密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.oldpassword),expression:"param.oldpassword"}],attrs:{"type":"password","placeholder":"请输入原登录密ç ","maxlength":"20"},domProps:{"value":(_vm.param.oldpassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "oldpassword", $event.target.value)}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 新密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.password),expression:"param.password"}],attrs:{"type":"password","placeholder":"请输入新登录密ç ","maxlength":"20"},domProps:{"value":(_vm.param.password)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "password", $event.target.value)}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 确认密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.password_confirmation),expression:"param.password_confirmation"}],attrs:{"type":"password","placeholder":"é‡æ–°è¾“入新密ç ","maxlength":"20"},domProps:{"value":(_vm.param.password_confirmation)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "password_confirmation", $event.target.value)}}})])]):_vm._e(),_vm._v(" "),(_vm.setPayPwd)?_c('div',{staticClass:"setPayPwd"},[(_vm.$store.state.mainState.userinfo.secret == 'unset'&& _vm.$store.state.mainState.userinfo.payPassword=='unset')?_c('div',[_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 资金密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.newPay),expression:"param.newPay"}],attrs:{"type":"password","placeholder":"请输入6ä½èµ„金密ç ","maxlength":"6"},domProps:{"value":(_vm.param.newPay)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "newPay", $event.target.value)}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 确认密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.confirmPay),expression:"param.confirmPay"}],attrs:{"type":"password","placeholder":"é‡æ–°è¾“å…¥6ä½èµ„金密ç ","maxlength":"6"},domProps:{"value":(_vm.param.confirmPay)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "confirmPay", $event.target.value)}}})])]):(_vm.$store.state.mainState.userinfo.secret !== 'unset' && _vm.$store.state.mainState.userinfo.payPassword=='unset')?_c('div',[_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 资金密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.newPay),expression:"param.newPay"}],attrs:{"type":"password","placeholder":"请输入6ä½èµ„金密ç ","maxlength":"6"},domProps:{"value":(_vm.param.newPay)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "newPay", $event.target.value)}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 确认密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.confirmPay),expression:"param.confirmPay"}],attrs:{"type":"password","placeholder":"é‡æ–°è¾“å…¥6ä½èµ„金密ç ","maxlength":"6"},domProps:{"value":(_vm.param.confirmPay)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "confirmPay", $event.target.value)}}})])]):_c('div',[_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 原资金密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.oldwPay),expression:"param.oldwPay"}],attrs:{"type":"password","placeholder":"请输入6ä½åŽŸèµ„金密ç ","maxlength":"6"},domProps:{"value":(_vm.param.oldwPay)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "oldwPay", $event.target.value)}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 新资金密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.newPay),expression:"param.newPay"}],attrs:{"type":"password","placeholder":"请输入6ä½æ–°èµ„金密ç ","maxlength":"6"},domProps:{"value":(_vm.param.newPay)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "newPay", $event.target.value)}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 确认密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.confirmPay),expression:"param.confirmPay"}],attrs:{"type":"password","placeholder":"é‡æ–°è¾“å…¥6ä½èµ„金密ç ","maxlength":"6"},domProps:{"value":(_vm.param.confirmPay)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "confirmPay", $event.target.value)}}})])])]):_vm._e(),_vm._v(" "),(_vm.setEncrypted)?_c('div',{staticClass:"setEncrypted"},[(_vm.$store.state.mainState.userinfo.secret ==='unset')?_c('div',[_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 密ä¿é—®é¢˜ï¼š\n ")]),_vm._v(" "),_c('Select',{model:{value:(_vm.param.oldkey),callback:function ($$v) {_vm.$set(_vm.param, "oldkey", $$v)},expression:"param.oldkey"}},_vm._l((_vm.secretKeyList),function(item,i){return _c('Option',{key:i,attrs:{"value":item}},[_vm._v(_vm._s(item))])}),1)],1),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 密ä¿ç”案:\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.oldValue),expression:"param.oldValue"}],attrs:{"type":"text","placeholder":"请输入密ä¿ç”案"},domProps:{"value":(_vm.param.oldValue)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "oldValue", $event.target.value)}}})])]):_c('div',[_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 密ä¿é—®é¢˜ï¼š\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.$store.state.mainState.userinfo.secret),expression:"$store.state.mainState.userinfo.secret"}],staticStyle:{"color":"#333"},attrs:{"type":"text","disabled":"true"},domProps:{"value":(_vm.$store.state.mainState.userinfo.secret)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$store.state.mainState.userinfo, "secret", $event.target.value)}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 密ä¿ç”案:\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.oldValue),expression:"param.oldValue"}],attrs:{"type":"text","placeholder":"请输入密ä¿ç”案"},domProps:{"value":(_vm.param.oldValue)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "oldValue", $event.target.value)}}})]),_vm._v(" "),(this.$store.state.mainState.userinfo.secret)?_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 新密ä¿é—®é¢˜ï¼š\n ")]),_vm._v(" "),_c('Select',{model:{value:(_vm.param.newKey),callback:function ($$v) {_vm.$set(_vm.param, "newKey", $$v)},expression:"param.newKey"}},_vm._l((_vm.secretKeyList),function(item,i){return _c('Option',{key:i,attrs:{"value":item}},[_vm._v(_vm._s(item))])}),1)],1):_vm._e(),_vm._v(" "),(this.$store.state.mainState.userinfo.secret)?_c('div',{staticClass:"row"},[_c('label',[_vm._v("\n 新密ä¿ç”案:\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.param.newValue),expression:"param.newValue"}],attrs:{"type":"text","placeholder":"请输入新密ä¿ç”案"},domProps:{"value":(_vm.param.newValue)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.param, "newValue", $event.target.value)}}})]):_vm._e()])]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"submitPay",on:{"click":_vm.submitPwd}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({top:_vm.toastNum+'px'})},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()])} var safety_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',[_c('span',[_vm._v("è´¦å·å®‰å…¨")])])}] var safety_esExports = { render: safety_render, staticRenderFns: safety_staticRenderFns } /* harmony default export */ var personage_safety = (safety_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/safety.vue function safety_injectStyle (ssrContext) { __webpack_require__("Zpnx") } var safety_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var safety___vue_template_functional__ = false /* styles */ var safety___vue_styles__ = safety_injectStyle /* scopeId */ var safety___vue_scopeId__ = "data-v-14a6f718" /* moduleIdentifier (server only) */ var safety___vue_module_identifier__ = null var safety_Component = safety_normalizeComponent( safety, personage_safety, safety___vue_template_functional__, safety___vue_styles__, safety___vue_scopeId__, safety___vue_module_identifier__ ) /* harmony default export */ var personals_personage_safety = (safety_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personage/transferCenter.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var transferCenter = ({ data: function data() { return { tranferMoney: 0, fromWallet: '', toWallet: '', rowWallet: [], fromSelect: null, toSelect: null, dialogShow: false, toastText: '', toastShow: false, toastNum: 30, isAutoTransition: false, agencyData: [], tempagencyData: [], centerMoney: 0, lockMoney: 0, searchType: 2, // 个人报表新å‚æ•° startTime: "", endTime: "", date: 1, day: '1', contShow: true, // agencyData: [], liSelect: 0, uname: this.$store.state.mainState.userinfo.userName, iconSrc: ['/static/public/image/proimt/p-netprofit@2x.png', '/static/public/image/proimt/p-balance@2x.png', '/static/public/image/proimt/p-depositors@2x.png', '/static/public/image/proimt/p-team@2x.png'] }; }, methods: { getPlatAllMoney: function getPlatAllMoney() { var _this = this; this.tranferMoney = this.rowWallet.find(function (item) { return item.name_en == _this.fromWallet; }).balance || 0; }, submitTransfer: function submitTransfer() { var _this2 = this; var postData = { from: this.fromWallet, to: this.toWallet, amount: this.tranferMoney }; this.$store.commit('loading', true); this.$postS('/transferBetweenPlat', postData).then(function (res) { _this2.$store.commit('loading', false); if (res.code == 200) { _this2.toastShow = true; _this2.toastText = '转账æˆåŠŸ '; setTimeout(function () { _this2.toastShow = false; }, 3000); } else { _this2.toastShow = true; _this2.toastText = res.message; setTimeout(function () { _this2.toastShow = false; }, 3000); } _this2.getTeamInfo(); }); }, isNumber: function isNumber(evt) { var keysAllowed = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '.']; var keyPressed = evt.key; if (!keysAllowed.includes(keyPressed) || keyPressed == '.' && evt.target.value.indexOf('.') > -1) { evt.preventDefault(); } }, toKefu: function toKefu() { var url = this.$getKefuUrl(); window.open(url); this.$store.commit('home/reloadeKefu', false); }, toggleWallet: function toggleWallet(type, isOn) { if (type == '钱包收åˆ') { if (isOn) { this.agencyData = this.agencyData.slice(0, 6); this.agencyData.push({ balance: "", name_cn: "展开", noBorder: true, type: '钱包收åˆ', isOn: false }); } else { this.agencyData = this.tempagencyData; } } }, yesCloseAuto: function yesCloseAuto() { this.isAutoTransition = false; this.dialogShow = false; var postData = { status: this.isAutoTransition ? 'yes' : 'no' }; this.$postS('/switchAutoTransferStatus', postData).then(function (res) {}); }, noCloseAuto: function noCloseAuto() { this.isAutoTransition = true; this.dialogShow = false; }, collectAllTeamInfo: function collectAllTeamInfo() { var _this3 = this; this.$store.commit('loading', true); this.$getS('/refreshBalance', {}).then(function (res) { if (res.code == 200) { _this3.getTeamInfo(); } _this3.$store.commit('loading', false); }); }, toggleAutoTransition: function toggleAutoTransition() { var _this4 = this; this.isAutoTransition = !this.isAutoTransition; if (this.isAutoTransition) { var postData = { status: this.isAutoTransition ? 'yes' : 'no' }; this.$postS('/switchAutoTransferStatus', postData).then(function (res) { if (res.code === 200) { _this4.toastShow = true; _this4.toastText = '自动转账功能已开å¯'; setTimeout(function () { _this4.toastShow = false; }, 3000); } else { _this4.toastText = '转账失败'; } }); } else { this.dialogShow = true; } }, tapTest: function tapTest(item) { if (item.name != '投注金é¢') { return false; } }, //å–å¾— 转账ä¸å¿ƒåˆå§‹èµ„æ–™ getTeamInfo: function getTeamInfo() { var _this5 = this; var dateObj = {}; this.$store.commit('loading', true); this.$getS("/allPlatBalance", dateObj).then(function (res) { if (res.code == 200) { if (res.data != '') { _this5.isAutoTransition = res.data.auto_transfer === 'yes' ? true : false; _this5.centerMoney = res.data.balance; _this5.lockMoney = res.data.lock_balance; _this5.rowWallet = [].concat(toConsumableArray_default()(res.data.platform)); _this5.rowWallet.unshift({ name_en: 'LOCKBALANCE', name_cn: 'é”定钱包', balance: _this5.lockMoney }); _this5.rowWallet.unshift({ name_en: 'BALANCE', name_cn: 'ä¸å¿ƒé’±åŒ…', balance: _this5.centerMoney }); var leftNum = 0; if (res.data.platform.length < 7 && res.data.platform.length > 0) { leftNum = 7 - res.data.platform.length; } else if (res.data.platform.length > 7 && res.data.platform.length < 14) { leftNum = 14 - res.data.platform.length; } else if (res.data.platform.length > 14 && res.data.platform.length < 21) { leftNum = 21 - res.data.platform.length; } else if (res.data.platform.length > 21 && res.data.platform.length < 28) { leftNum = 28 - res.data.platform.length; } else if (res.data.platform.length > 28 && res.data.platform.length < 35) { leftNum = 35 - res.data.platform.length; } for (var i = 0; i < leftNum; i++) { if (i == 0) { res.data.platform.push({ balance: "", name_cn: "收起", noBorder: true, type: '钱包收åˆ', isOn: true }); } else { res.data.platform.push({ balance: "", name_cn: "", noBorder: true }); } } _this5.agencyData = res.data.platform; _this5.tempagencyData = _this5.agencyData; _this5.contShow = true; } else { _this5.contShow = false; _this5.$error(res.message); } } else { _this5.contShow = false; _this5.$error(res.message); } _this5.$store.commit('loading', false); }); }, hanlderRadio: function hanlderRadio(val) { this.searchType = 2; // 切æ¢ä¸ºå•é€‰ if (val) { this.date = val; } else {} this.getTeamInfo(); }, hanlderTime: function hanlderTime(date) { if (!date[0]) { // 没有选择事件 this.searchType = 2; this.date = 3; this.getTeamInfo(); return false; } this.searchType = 1; this.startTime = date[0]; this.endTime = date[1]; this.getTeamInfo(); }, toggle: function toggle(i) { this.liSelect = i; }, hanlderClick: function hanlderClick() { this.day = '1'; this.hanlderRadio(1); this.getTeamInfo(); } }, created: function created() { var _this6 = this; this.$nextTick(function () { _this6.getTeamInfo(); }); }, mounted: function mounted() {} }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-20ddbbda","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personage/transferCenter.vue var transferCenter_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"agency_index cl"},[_c('div',{staticClass:"content cl"},[_c('div',{staticClass:"title",on:{"click":_vm.hanlderClick}},[_vm._v("转账ä¸å¿ƒ")]),_vm._v(" "),_c('div',{staticClass:"head-info cl"},[_c('ul',{staticClass:"contentUl cl"},[_c('li',[_c('div',{staticClass:"liItem"},[_c('p',{staticClass:"itemName"},[_vm._m(0),_vm._v(" "),_c('span',{staticClass:"itemVal"},[_vm._v(_vm._s(_vm.centerMoney))])])])]),_vm._v(" "),_c('li',[_c('div',{staticClass:"liItem"},[_c('p',{staticClass:"itemName"},[_vm._m(1),_vm._v(" "),_c('span',{staticClass:"itemVal"},[_vm._v(_vm._s(_vm.lockMoney))])])])]),_vm._v(" "),_c('li',[_c('div',{staticClass:"liItem"},[_c('p',{staticClass:"itemName",staticStyle:{"cursor":"pointer"},on:{"click":_vm.getTeamInfo}},[_c('span',[_vm._v("钱包金é¢")]),_vm._v(" "),_vm._m(2)])])]),_vm._v(" "),_c('li',[_c('div',{staticClass:"liItem"},[_c('p',{staticClass:"itemName",on:{"click":_vm.collectAllTeamInfo}},[_c('span',{staticClass:"itemVal",staticStyle:{"cursor":"pointer"}},[_vm._v("一键回收")])])])])])]),_vm._v(" "),(_vm.contShow)?_c('div',[_c('div',{staticClass:"agency-info cl"},[_c('ul',{staticClass:"contentUl cl"},_vm._l((_vm.agencyData),function(item,index){return _c('li',{key:index,on:{"click":function($event){return _vm.toggleWallet(item.type, item.isOn)}}},[_c('div',{staticClass:"liItem",class:{noBorder:item.noBorder}},[_c('p',{staticClass:"itemName"},[_c('span',[_vm._v(_vm._s(item.name_cn))])]),_vm._v(" "),_c('p',{staticClass:"itemVal"},[_vm._v(_vm._s(item.balance))]),_vm._v(" "),_c('img',{directives:[{name:"show",rawName:"v-show",value:(item.type == '钱包收åˆ'),expression:"item.type == '钱包收åˆ'"}],style:({transform: item.name_cn === '展开'? 'rotate(180deg)': 'none'}),attrs:{"src":"/static/public/image/close-fold.png"}})])])}),0)]),_vm._v(" "),_c('div',{staticClass:"footer-info"},[_vm._v("\n 自动转账\n "),_c('label',{staticClass:"switch"},[_c('input',{ref:"autoTransitionRefs",attrs:{"type":"checkbox"},domProps:{"checked":_vm.isAutoTransition},on:{"click":function($event){return _vm.toggleAutoTransition()}}}),_vm._v(" "),_c('div',{staticClass:"slider round"})])]),_vm._v(" "),(!_vm.isAutoTransition)?[_c('div',{staticClass:"transfer-info"},[_c('Select',{staticClass:"select",attrs:{"placement":"top"},model:{value:(_vm.fromWallet),callback:function ($$v) {_vm.fromWallet=$$v},expression:"fromWallet"}},_vm._l((_vm.rowWallet),function(v,index){return _c('Option',{key:index+'from',attrs:{"value":String(v.name_en)}},[_vm._v(_vm._s(v.name_cn))])}),1),_vm._v(" "),_c('img',{staticClass:"pic2",attrs:{"src":"/static/public/image/arrow-big.png"}}),_vm._v(" "),_c('Select',{staticClass:"select",attrs:{"placement":"top"},model:{value:(_vm.toWallet),callback:function ($$v) {_vm.toWallet=$$v},expression:"toWallet"}},_vm._l((_vm.rowWallet),function(v,index){return _c('Option',{key:index+'to',attrs:{"value":String(v.name_en)}},[_vm._v(_vm._s(v.name_cn))])}),1),_vm._v(" "),_c('div',{staticClass:"border"}),_vm._v(" "),_c('span',[_vm._v("Â¥")]),_vm._v(" "),_c('InputNumber',{staticClass:"mySearch",staticStyle:{"width":"200px","margin-left":"4px"},attrs:{"placeholder":"请输入转账金é¢"},nativeOn:{"keypress":function($event){return _vm.isNumber($event)}},model:{value:(_vm.tranferMoney),callback:function ($$v) {_vm.tranferMoney=$$v},expression:"tranferMoney"}}),_vm._v(" "),_c('span',{staticStyle:{"margin-left":"74px","cursor":"pointer"},on:{"click":_vm.getPlatAllMoney}},[_vm._v("全部金é¢")])],1),_vm._v(" "),_c('div',{staticClass:"transfer-area"},[_c('button',{staticClass:"transfer-btn",on:{"click":_vm.submitTransfer}},[_vm._v("ç«‹å³è½¬è´¦")])])]:_vm._e(),_vm._v(" "),_c('div',{staticClass:"kefu-info"},[_vm._v("如需帮助, 请 "),_c('span',{on:{"click":_vm.toKefu}},[_vm._v("è”系客æœ")])])],2):_vm._e(),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.contShow),expression:"!contShow"}],staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})])]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({top:_vm.toastNum+'vh'})},[_c('div',[_vm._v(_vm._s(_vm.toastText))])]):_vm._e(),_vm._v(" "),(_vm.dialogShow)?_c('div',{staticClass:"dialog"},[_vm._m(3),_vm._v(" "),_c('div',{staticClass:"btn"},[_c('div',{staticClass:"bottom",on:{"click":_vm.noCloseAuto}},[_vm._v("\n å–消\n ")]),_vm._v(" "),_c('div',{staticClass:"bottom",on:{"click":_vm.yesCloseAuto}},[_vm._v("\n 确认\n ")])])]):_vm._e(),_vm._v(" "),(_vm.dialogShow)?_c('div',{staticClass:"modal-content"}):_vm._e()])} var transferCenter_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_c('img',{staticStyle:{"display":"inline-block","height":"1em","vertical-align":"-2px"},attrs:{"src":"/static/public/image/wallet-icon.png"}}),_vm._v("\n ä¸å¿ƒé’±åŒ…")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_c('img',{staticStyle:{"display":"inline-block","height":"1em","vertical-align":"-2px"},attrs:{"src":"/static/public/image/wallet-icon.png"}}),_vm._v("\n é”定钱包")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:"itemVal"},[_c('img',{staticStyle:{"display":"inline-block","height":"1em","vertical-align":"-2px"},attrs:{"src":"/static/public/image/refresh-2.png"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"top"},[_c('p',{staticClass:"title"},[_vm._v("温馨æ示")]),_vm._v(" "),_c('p',{staticClass:"dialog-content"},[_vm._v("是å¦å…³é—自动转账功能?")])])}] var transferCenter_esExports = { render: transferCenter_render, staticRenderFns: transferCenter_staticRenderFns } /* harmony default export */ var personage_transferCenter = (transferCenter_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personage/transferCenter.vue function transferCenter_injectStyle (ssrContext) { __webpack_require__("pW26") } var transferCenter_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var transferCenter___vue_template_functional__ = false /* styles */ var transferCenter___vue_styles__ = transferCenter_injectStyle /* scopeId */ var transferCenter___vue_scopeId__ = "data-v-20ddbbda" /* moduleIdentifier (server only) */ var transferCenter___vue_module_identifier__ = null var transferCenter_Component = transferCenter_normalizeComponent( transferCenter, personage_transferCenter, transferCenter___vue_template_functional__, transferCenter___vue_styles__, transferCenter___vue_scopeId__, transferCenter___vue_module_identifier__ ) /* harmony default export */ var personals_personage_transferCenter = (transferCenter_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/JieBei/freeMoney.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var freeMoney = ({ data: function data() { return { jieBeiData: {}, showDetail: false }; }, methods: { checkDetail: function checkDetail(a) { if (a == 1) { this.showDetail = true; } else { this.showDetail = false; } }, doBorrow: function doBorrow(name) { if (name == 'borrow') { this.$store.commit('showNav', { child: 1 }); } else { this.$store.commit('showNav', { child: 2 }); } }, getJiebeiData: function getJiebeiData() { var _this = this; this.$store.dispatch("game/activityJiebeiJieHuanInfo").then(function (res) { if (res.code === 200) _this.$store.commit("game/setJieBeiData", res.data); _this.jieBeiData = res.data; }).catch(function () {}); } }, created: function created() { this.jieBeiData = this.$store.state.game.jieBeiData; this.getJiebeiData(); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-42c0989c","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/JieBei/freeMoney.vue var freeMoney_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"free-money"},[_c('div',{staticClass:"header"},[_vm._v("å…æ¯å€Ÿå‘—")]),_vm._v(" "),_c('div',{staticClass:"borrow-content"},[_c('div',{staticClass:"show-borrow"},[_c('div',{class:_vm.jieBeiData.jieInfo && _vm.jieBeiData.jieInfo.overdueMsg ? 'can-borrow2' : 'can-borrow'}),_vm._v(" "),(_vm.jieBeiData.jieInfo && _vm.jieBeiData.jieInfo.overdueMsg)?_c('p',{staticClass:"returnDate2"},[_vm._v(_vm._s(_vm.jieBeiData.jieInfo.overdueMsg))]):_vm._e(),_vm._v(" "),_c('div',{class:_vm.jieBeiData.jieInfo && _vm.jieBeiData.jieInfo.overdueMsg ? 'money2' : 'money'},[_c('p',[_vm._v("总é¢åº¦")]),_vm._v(" "),_c('p',[_vm._v(_vm._s(_vm.jieBeiData.jieInfo && _vm.jieBeiData.jieInfo.totalAmount ? _vm.jieBeiData.jieInfo.totalAmount : '0.00'))]),_vm._v(" "),_c('p',{staticStyle:{"cursor":"pointer"},on:{"click":function($event){return _vm.checkDetail(1)}}},[_vm._v("查看详情")])]),_vm._v(" "),_c('div',{staticClass:"already"},[_c('div',[_c('p',[_vm._v("本期借款")]),_vm._v(" "),_c('p',[_vm._v(_vm._s(_vm.jieBeiData.jieInfo &&_vm.jieBeiData.jieInfo.currentLoan ? _vm.jieBeiData.jieInfo.currentLoan : '0.00'))])]),_vm._v(" "),_c('div',[_c('p',[_vm._v("待还款")]),_vm._v(" "),_c('p',[_vm._v(_vm._s(_vm.jieBeiData.jieInfo && _vm.jieBeiData.jieInfo.alreadyUseAmount ? _vm.jieBeiData.jieInfo.alreadyUseAmount : '0.00'))])])]),_vm._v(" "),(_vm.jieBeiData.jieInfo && _vm.jieBeiData.jieInfo.returnAmounDate2)?_c('p',{staticClass:"returnDate"},[_vm._v(_vm._s(_vm.jieBeiData.jieInfo.returnAmounDate2))]):_vm._e()]),_vm._v(" "),_c('div',{class:_vm.jieBeiData.jieInfo && _vm.jieBeiData.jieInfo.overdueMsg ? 'ad2' : 'ad'}),_vm._v(" "),_c('div',{staticClass:"btn-group"},[_c('p',{on:{"click":function($event){return _vm.doBorrow('borrow')}}},[_vm._v("去借款")]),_vm._v(" "),_c('p',{on:{"click":function($event){return _vm.doBorrow('repay')}}},[_vm._v("去还款")])])]),_vm._v(" "),(_vm.showDetail)?_c('div',{staticClass:"logBg"},[_c('div',{staticClass:"detailLog"},[_c('p',{staticClass:"title"},[_vm._v("我的é¢åº¦")]),_vm._v(" "),_c('span',{staticClass:"close",on:{"click":function($event){return _vm.checkDetail(2)}}},[_c('img',{attrs:{"src":"/static/public/image/userImg/cl.png","width":"28px"}})]),_vm._v(" "),_c('div',{staticClass:"totalMont"},[_c('div',[_c('p',[_vm._v("总é¢åº¦")]),_vm._v(" "),_c('p',[_vm._v(_vm._s(_vm.jieBeiData.jieInfo && _vm.jieBeiData.jieInfo.totalAmount ? _vm.jieBeiData.jieInfo.totalAmount : '0.00'))])]),_vm._v(" "),_c('div',[_c('p',[_c('span',[_vm._v("本期借款")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.jieBeiData.jieInfo &&_vm.jieBeiData.jieInfo.currentLoan ? _vm.jieBeiData.jieInfo.currentLoan : '0.00'))])]),_vm._v(" "),_c('p',[_c('span',[_vm._v("待还款")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.jieBeiData.jieInfo && _vm.jieBeiData.jieInfo.alreadyUseAmount ? _vm.jieBeiData.jieInfo.alreadyUseAmount : '0.00'))])])])]),_vm._v(" "),(_vm.jieBeiData.jiebeiEdu.length)?_c('div',{staticClass:"total"},_vm._l((_vm.jieBeiData.jiebeiEdu),function(item,i){return _c('div',{key:i,staticClass:"totalMont2"},[_c('p',[_c('span',[_vm._v(_vm._s(item.name))]),_vm._v(" "),_c('span',[_vm._v(_vm._s(item.level)+"级")])]),_vm._v(" "),_c('p',[_c('span',[_vm._v("å¯å€Ÿé¢åº¦")]),_vm._v(" "),_c('span',[_vm._v(_vm._s((item.edu*1).toFixed(2)))])])])}),0):_vm._e()])]):_vm._e()])} var freeMoney_staticRenderFns = [] var freeMoney_esExports = { render: freeMoney_render, staticRenderFns: freeMoney_staticRenderFns } /* harmony default export */ var JieBei_freeMoney = (freeMoney_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/JieBei/freeMoney.vue function freeMoney_injectStyle (ssrContext) { __webpack_require__("2NnI") } var freeMoney_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var freeMoney___vue_template_functional__ = false /* styles */ var freeMoney___vue_styles__ = freeMoney_injectStyle /* scopeId */ var freeMoney___vue_scopeId__ = "data-v-42c0989c" /* moduleIdentifier (server only) */ var freeMoney___vue_module_identifier__ = null var freeMoney_Component = freeMoney_normalizeComponent( freeMoney, JieBei_freeMoney, freeMoney___vue_template_functional__, freeMoney___vue_styles__, freeMoney___vue_scopeId__, freeMoney___vue_module_identifier__ ) /* harmony default export */ var personals_JieBei_freeMoney = (freeMoney_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/JieBei/borrowMoney.vue // // // // // // // // // // // // // // /* harmony default export */ var borrowMoney = ({ data: function data() { return { money: "", jieBeiData: {}, submitting: false }; }, methods: { submit: function submit() { var _this = this; if (!this.money) { this.$error("请输入金é¢"); } else if (!parseFloat(this.money)) { this.$error('请输入æ£ç¡®çš„金é¢'); } else if (this.jieBeiData.huanInfo.qiankuan > 1) { this.$error('è¯·å…ˆè¿˜æ¸…æ¬ æ¬¾å†æ¥å€Ÿæ¬¾'); } else if (parseFloat(this.money) > this.jieBeiData.jieInfo.allowAmount && this.jieBeiData.jieInfo.allowAmount < 1) { this.$error('æš‚æ— å¯å€Ÿé¢åº¦'); } else if (parseFloat(this.money) > this.jieBeiData.jieInfo.allowAmount) { this.$error('借款金é¢å¤§äºŽå¯å€Ÿé¢åº¦'); } else { this.submitting = true; this.$store.dispatch("game/activityJiebeiJie", { amount: parseFloat(this.money) }).then(function (res) { setTimeout(function () { _this.submitting = false; }, 5000); if (res.code === 200) { _this.$success("借款æˆåŠŸ"); _this.$nextTick(function () { _this.getJiebeiData(); }); _this.money = ""; _this.getbanlance(); } else { _this.$error(res.message); } }).catch(function () { _this.submitting = false; }); } }, getJiebeiData: function getJiebeiData() { var _this2 = this; this.$store.dispatch("game/activityJiebeiJieHuanInfo").then(function (res) { if (res.code === 200) _this2.$store.commit("game/setJieBeiData", res.data); _this2.jieBeiData = res.data; }).catch(function () {}); }, getbanlance: function getbanlance() { var _this3 = this; this.$getS("/member/balance").then(function (res) { if (res.code == 200) { var userinfo = JSON.parse(localStorage.userinfo); userinfo.balance = res.data.member; userinfo.agent = res.data.agency; _this3.$store.commit("mainState/reloadUserinfo", userinfo); } }); } }, created: function created() { this.jieBeiData = this.$store.state.game.jieBeiData; this.getJiebeiData(); }, computed: { borrowData: function borrowData() { if (this.jieBeiData.huanInfo && this.jieBeiData.jieInfo) { if (Number(this.jieBeiData.huanInfo.qiankuan) > 0) { return { limit: '0.00', text: "\u5F53\u524D\u6B20\u6B3E" + (this.jieBeiData.huanInfo.qiankuan * 1).toFixed(2) + "\u5143", allMoney: 0 }; } else { var text = ''; var applyMoney = Number(this.jieBeiData.jieInfo.allowAmount); if (applyMoney > 10) { text = "10.00~" + this.jieBeiData.jieInfo.allowAmount + "\u5143"; } else if (applyMoney === 10) { text = 'å¯ç”³è¯·10.00å…ƒ'; } else if (applyMoney > 0) { text = '最低10.00元起'; } else if (applyMoney === 0) { text = 'å¯ç”³è¯·0.00å…ƒ'; } return { limit: this.jieBeiData.jieInfo.allowAmount, text: text, allMoney: Number(this.jieBeiData.jieInfo.allowAmount).toFixed(2) }; } } } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-06fdd67c","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/JieBei/borrowMoney.vue var borrowMoney_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"free-money"},[_c('div',{staticClass:"header"},[_vm._v("我è¦å€Ÿæ¬¾")]),_vm._v(" "),_c('div',{staticClass:"borrow-content"},[_c('div',{staticClass:"borrow-input"},[_c('p',[_vm._v("å¯ç”³è¯·é¢åº¦ :"),(_vm.jieBeiData.huanInfo)?_c('span',{staticStyle:{"color":"red"}},[_vm._v(_vm._s(_vm.borrowData['limit']))]):_vm._e(),_vm._v("å…ƒ")]),_vm._v(" "),_c('span',[_vm._v("Â¥")]),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.money),expression:"money"}],attrs:{"type":"text","maxlength":"7","placeholder":_vm.borrowData['text']},domProps:{"value":(_vm.money)},on:{"input":function($event){if($event.target.composing){ return; }_vm.money=$event.target.value}}}),_c('span',[_c('span',{staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.money = _vm.borrowData['allMoney']}}},[_vm._v("全部")])])]),_vm._v(" "),_c('div',{staticClass:"confirm"},[_c('button',{staticStyle:{"cursor":"pointer"},on:{"click":_vm.submit}},[_vm._v("去借款")])]),_vm._v(" "),_c('div',{staticClass:"day"},[_vm._v("最åŽè¿˜æ¬¾æ—¥:"+_vm._s(_vm.jieBeiData.jieInfo && _vm.jieBeiData.jieInfo.returnAmounDate ? _vm.jieBeiData.jieInfo.returnAmounDate : ''))])])])} var borrowMoney_staticRenderFns = [] var borrowMoney_esExports = { render: borrowMoney_render, staticRenderFns: borrowMoney_staticRenderFns } /* harmony default export */ var JieBei_borrowMoney = (borrowMoney_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/JieBei/borrowMoney.vue function borrowMoney_injectStyle (ssrContext) { __webpack_require__("mpMV") } var borrowMoney_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var borrowMoney___vue_template_functional__ = false /* styles */ var borrowMoney___vue_styles__ = borrowMoney_injectStyle /* scopeId */ var borrowMoney___vue_scopeId__ = "data-v-06fdd67c" /* moduleIdentifier (server only) */ var borrowMoney___vue_module_identifier__ = null var borrowMoney_Component = borrowMoney_normalizeComponent( borrowMoney, JieBei_borrowMoney, borrowMoney___vue_template_functional__, borrowMoney___vue_styles__, borrowMoney___vue_scopeId__, borrowMoney___vue_module_identifier__ ) /* harmony default export */ var personals_JieBei_borrowMoney = (borrowMoney_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/JieBei/repayMoney.vue // // // // // // // // // // // // // // // /* harmony default export */ var repayMoney = ({ data: function data() { return { money: "", jieBeiData: {}, submitting: false }; }, methods: { setBalanceToLocal: function setBalanceToLocal() { var _this = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var res; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: if (localStorage.token) { _context.next = 2; break; } return _context.abrupt("return", false); case 2: _context.next = 4; return _this.$http.post(_this.$HOST_NAME + "/member/setBalanceToLocal", {}); case 4: res = _context.sent; if (res && res.code == 200) { _this.getJiebeiData(); } else {} case 6: case "end": return _context.stop(); } } }, _callee, _this); }))(); }, getbanlance: function getbanlance() { var _this2 = this; this.$getS("/member/balance").then(function (res) { if (res.code == 200) { var userinfo = JSON.parse(localStorage.userinfo); userinfo.balance = res.data.member; userinfo.agent = res.data.agency; _this2.$store.commit("mainState/reloadUserinfo", userinfo); } }); }, submit: function submit() { var _this3 = this; if (!this.money) { this.$error("请输入金é¢"); } else if (this.jieBeiData.huanInfo.qiankuan <= 0) { this.$error("æš‚æ— æ¬ æ¬¾é‡‘é¢"); } else if (!parseFloat(this.money)) { this.$error('请输入æ£ç¡®çš„金é¢'); } else if (parseFloat(this.money) > this.userinfo.balance) { this.$error('超出余é¢ï¼Œè¯·é‡æ–°è¾“å…¥'); } else if (parseFloat(this.money) > this.jieBeiData.huanInfo.qiankuan) { this.$error('è¶…å‡ºæ¬ æ¬¾ï¼Œæœ€å¤šéœ€è¿˜' + this.jieBeiData.huanInfo.qiankuan + 'å…ƒ'); } else if (parseFloat(this.money) < 0) { this.$error('金é¢ä¸èƒ½å°äºŽ0å…ƒ'); } else { this.submitting = true; this.$store.dispatch("game/activityJiebeiHuan", { amount: parseFloat(this.money) }).then(function (res) { setTimeout(function () { _this3.submitting = false; }, 5000); if (res.code === 200) { _this3.$success("还款æˆåŠŸ"); _this3.getbanlance(); _this3.$nextTick(function () { _this3.getJiebeiData(); }); _this3.money = ""; } else { _this3.$error(res.message); } }).catch(function () { _this3.submitting = false; }); } }, getJiebeiData: function getJiebeiData() { var _this4 = this; this.$store.dispatch("game/activityJiebeiJieHuanInfo").then(function (res) { if (res.code === 200) _this4.$store.commit("game/setJieBeiData", res.data); _this4.jieBeiData = res.data; }).catch(function () {}); } }, created: function created() { this.jieBeiData = this.$store.state.game.jieBeiData; this.setBalanceToLocal(); }, computed: { refundData: function refundData() { if (this.jieBeiData.huanInfo) { var text = ''; var applyMoney = Number(this.jieBeiData.huanInfo.zuiduokehuan); if (applyMoney === 0) { text = 'æš‚æ— æ¬ æ¬¾'; } else if (applyMoney > 0) { text = "\u53EF\u8FD8\u6B3E" + (this.jieBeiData.huanInfo.zuiduokehuan * 1).toFixed(2) + "\u5143"; } return { text: text, allMoney: Number(this.jieBeiData.huanInfo.zuiduokehuan).toFixed(2) }; } }, userinfo: function userinfo() { return this.$store.state.mainState.userinfo; } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-0ba8d37d","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/JieBei/repayMoney.vue var repayMoney_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"free-money"},[_c('div',{staticClass:"header"},[_vm._v("我è¦è¿˜æ¬¾")]),_vm._v(" "),_c('div',{staticClass:"borrow-content"},[_c('div',{staticClass:"borrow-input"},[_c('p',[_vm._v("è´¦å·ä½™é¢ :"),_c('span',[_vm._v(_vm._s(_vm.userinfo.balance))]),_vm._v("å…ƒ")]),_vm._v(" "),_c('p',[_vm._v("æ¬ æ¬¾é‡‘é¢ ï¼š"),_c('span',[_vm._v(_vm._s(_vm.jieBeiData.huanInfo && _vm.jieBeiData.huanInfo.qiankuan ? (_vm.jieBeiData.huanInfo.qiankuan*1).toFixed(2) : '0.00'))]),_vm._v("å…ƒ")]),_vm._v(" "),_c('span',[_vm._v("Â¥")]),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.money),expression:"money"}],attrs:{"type":"text","maxlength":"7","placeholder":_vm.refundData['text']},domProps:{"value":(_vm.money)},on:{"input":function($event){if($event.target.composing){ return; }_vm.money=$event.target.value}}}),_c('span',[_c('span',{staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.money = _vm.refundData['allMoney']}}},[_vm._v("全部")])])]),_vm._v(" "),_c('div',{staticClass:"confirm"},[_c('button',{staticStyle:{"cursor":"pointer"},on:{"click":_vm.submit}},[_vm._v("确认还款")])]),_vm._v(" "),_c('div',{staticClass:"day"},[_vm._v("请ä¿è¯è´¦æˆ·ä½™é¢èµ„金足够还款")])])])} var repayMoney_staticRenderFns = [] var repayMoney_esExports = { render: repayMoney_render, staticRenderFns: repayMoney_staticRenderFns } /* harmony default export */ var JieBei_repayMoney = (repayMoney_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/JieBei/repayMoney.vue function repayMoney_injectStyle (ssrContext) { __webpack_require__("FPXp") } var repayMoney_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var repayMoney___vue_template_functional__ = false /* styles */ var repayMoney___vue_styles__ = repayMoney_injectStyle /* scopeId */ var repayMoney___vue_scopeId__ = "data-v-0ba8d37d" /* moduleIdentifier (server only) */ var repayMoney___vue_module_identifier__ = null var repayMoney_Component = repayMoney_normalizeComponent( repayMoney, JieBei_repayMoney, repayMoney___vue_template_functional__, repayMoney___vue_styles__, repayMoney___vue_scopeId__, repayMoney___vue_module_identifier__ ) /* harmony default export */ var personals_JieBei_repayMoney = (repayMoney_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/JieBei/borrowQuota.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var borrowQuota = ({ data: function data() { return { palceHolder: "å¯è¿˜æ¬¾20000å…ƒ", levelArr: [], jiebeiQuota: [], showNav: 1, jiebeiName: "", limitData: {}, nodata: false, jiebeiClass: 0 }; }, methods: { handleClick: function handleClick(num) { this.showNav = num; }, jiebeiTab: function jiebeiTab(name, index) { this.jiebeiClass = index; this.jiebeiName = name; this.nodata = false; this.jiebeiQuota = this.levelArr[index].list; this.limitData = this.levelArr[index]; if (!this.jiebeiQuota.length) { this.nodata = true; } }, getJieBeiEdu: function getJieBeiEdu() { var _this = this; this.$store.commit("loading", true); this.$store.dispatch("game/activityJiebeiEdu").then(function (res) { if (res.code === 200) _this.$store.commit("loading", false); _this.$store.commit("game/setjiebeiQuota", res.data); _this.levelArr = res.data; _this.jiebeiQuota = res.data[0].list; _this.limitData = res.data[0]; if (!_this.jiebeiQuota.length) { _this.nodata = true; } }).catch(function () {}); } }, mounted: function mounted() { this.getJieBeiEdu(); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-a5bea734","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/JieBei/borrowQuota.vue var borrowQuota_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"free-money"},[_c('div',{staticClass:"header"},[_c('span',{on:{"click":function($event){return _vm.handleClick(1)}}},[_c('i',{class:{active:_vm.showNav == 1}},[_vm._v("借呗é¢åº¦")])]),_vm._v(" "),_c('span',{on:{"click":function($event){return _vm.handleClick(2)}}},[_c('i',{class:{active:_vm.showNav == 2}},[_vm._v("借呗规则")])])]),_vm._v(" "),_c('div',{staticClass:"borrow-content"},[(_vm.showNav == 1)?_c('div',{staticClass:"quota"},[_c('div',{staticClass:"title"},[_vm._v("è·ç¦»ä¸‹ä¸€ç‰çº§è¿˜éœ€ "+_vm._s(_vm.limitData.next_level_bet)+" 打ç ")]),_vm._v(" "),_c('div',{staticClass:"levelTable"},[_c('div',_vm._l((_vm.levelArr),function(i,j){return _c('p',{key:j,class:{changeC:j==_vm.jiebeiClass},on:{"click":function($event){return _vm.jiebeiTab(i.tab_name,j)}}},[_vm._v(_vm._s(i.tab_name))])}),0),_vm._v(" "),_vm._m(0),_vm._v(" "),_c('ul',_vm._l((_vm.jiebeiQuota),function(item,index){return _c('li',{key:index},[_c('span',[_vm._v(_vm._s(item.level))]),_vm._v(" "),_c('span',[_vm._v(_vm._s(item.betTotal))]),_vm._v(" "),_c('span',[_vm._v(_vm._s(item.jiebei_edu))])])}),0),_vm._v(" "),(_vm.nodata)?_c('p',{staticClass:"nodata"},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})]):_vm._e()])]):_vm._e(),_vm._v(" "),(_vm.showNav == 2)?_c('div',{staticClass:"rule"},[_c('p',{staticClass:"bolder"},[_vm._v("借呗规则")]),_vm._v(" "),_vm._m(1),_vm._v(" "),_c('p',[_vm._v("2.å„类型借呗ç‰çº§ç”±å„类型的打ç 决定,投注越多,ç‰çº§è¶Šé«˜,借款é¢åº¦å°±è¶Šé«˜ã€‚如棋牌/电å借呗ç‰çº§åˆ™åªè®¡ç®—棋牌/电å的累积有效打ç ,视讯借呗则åªè®¡ç®—视讯的累积有效打ç 。")]),_vm._v(" "),_vm._m(2),_vm._v(" "),_c('p',[_vm._v("4.会员还清借款,5分钟åŽå³å¯å†æ¬¡å€Ÿæ¬¾ï¼")]),_vm._v(" "),_c('p',[_vm._v("5.ä¼šå‘˜å€Ÿæ¬¾è‹¥æœªè¿˜æ¬¾ï¼Œåˆ™æ— æ³•å†æ¬¡è¿›è¡Œç¬¬äºŒæ¬¡å€Ÿæ¬¾ï¼")]),_vm._v(" "),_c('p',[_vm._v("6.信用就是价值,价值就是金钱ï¼æœªè¿˜æ¸…借款金é¢åˆ™æ— 法账å·äº¤æ˜“ï¼ ")]),_vm._v(" "),_c('p',[_vm._v("7."),_c('i',[_vm._v(_vm._s(this.$siteName))]),_vm._v("借呗ä¿ç•™å¯¹æœ¬æ´»åŠ¨çš„最终解释æƒï¼Œå¯éšæ—¶åœ¨æ— 任何告知的情况下åœæ¢è¯¥æ´»åŠ¨ã€‚")]),_vm._v(" "),_c('br'),_vm._v(" "),_c('p',{staticClass:"bolder"},[_vm._v("逾期还款")]),_vm._v(" "),_c('br'),_vm._v(" "),_vm._m(3),_vm._v(" "),_vm._m(4),_vm._v(" "),_vm._m(5),_vm._v(" "),_vm._m(6)]):_vm._e()])])} var borrowQuota_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"someTitle"},[_c('span',[_vm._v("ç‰çº§")]),_vm._v(" "),_c('span',[_vm._v("累计打ç ")]),_vm._v(" "),_c('span',[_vm._v("借款é¢åº¦")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',[_vm._v("1.å¯å€Ÿæ¬¾æ€»é¢")]),_vm._v("=å„借呗类型之和。")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',[_vm._v("3.会员还款时间:")]),_vm._v("最åŽè¿˜æ¬¾æ—¥æœŸä¸ºæ¬¡æœˆ3å·ï¼Œè¶…过3å·å³ä¸ºé€¾æœŸã€‚"),_c('br'),_vm._v(" \n 例如:在本月1å·å€Ÿæ¬¾ï¼Œæœ€åŽè¿˜æ¬¾æ—¥æœŸä¸ºæ¬¡æœˆ3å·ï¼Œè¶…过3å·å³ä¸ºé€¾æœŸã€‚")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',[_vm._v("1.第一次逾期还款还清借款åŽä¸€ä¸ªæœˆå†…ä¸èƒ½å€Ÿæ¬¾ã€‚")]),_c('br'),_vm._v("\n 例如会员A第一次逾期还款: 1月1å·å€Ÿæ¬¾ï¼Œ2月3å·æ— 还清借款,2月4å·æ‰è¿˜æ¸…借款,视为逾期。æ¤æ—¶è™½ç„¶ä¼šå‘˜A已还清借款但ä»ç„¶ä¸€ä¸ªæœˆå†…ä¸èƒ½å€Ÿæ¬¾ï¼Œåªæœ‰åˆ°3月4å·æ‰èƒ½å†æ¬¡å€Ÿæ¬¾ã€‚\n 注:如当月31å·è¿˜æ¸…借款,下月最多åªæœ‰30å·ï¼Œåˆ™ä¸‹æœˆå¯åœ¨30å·è¿›è¡Œå†æ¬¡å€Ÿæ¬¾ã€‚")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',[_vm._v("2.第二次逾期还款还清借款åŽä¸¤ä¸ªæœˆå†…ä¸èƒ½å€Ÿæ¬¾ã€‚")]),_c('br'),_vm._v("\n 例如会员A第二次逾期还款: 3月4å·å€Ÿæ¬¾ï¼Œ4月3å·æ— 还清借款,4月5å·æ‰è¿˜æ¸…借款,第二次逾期。æ¤æ—¶è™½ç„¶ä¼šå‘˜A已还清借款但由于是第二次逾期还款,则两个月内ä¸èƒ½å€Ÿæ¬¾ï¼Œåªæœ‰åˆ°6月5å·æ‰èƒ½å†æ¬¡å€Ÿæ¬¾ã€‚")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',[_vm._v("3.第三次逾期还款还清借款åŽå…个月内ä¸èƒ½å€Ÿæ¬¾ã€‚")]),_c('br'),_vm._v("\n 例如会员A第三次逾期还款: 19å¹´6月5å·å€Ÿæ¬¾ï¼Œ7月3å·æ— 还清借款,7月5å·æ‰è¿˜æ¸…借款,第三次逾期。æ¤æ—¶è™½ç„¶ä¼šå‘˜A已还清借款但由于是第三次逾期还款,则å…个月内ä¸èƒ½å€Ÿæ¬¾ï¼Œåªæœ‰åˆ°æ¬¡å¹´20å¹´1月5å·æ‰èƒ½å†æ¬¡å€Ÿæ¬¾ã€‚\n ")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',[_vm._v("4.第四次逾期直接å–æ¶ˆå€Ÿå‘—èµ„æ ¼ï¼Œè¿˜æ¸…å€Ÿæ¬¾åŽä¹Ÿä¸å¯å†æ¬¡å€Ÿæ¬¾ã€‚")])])}] var borrowQuota_esExports = { render: borrowQuota_render, staticRenderFns: borrowQuota_staticRenderFns } /* harmony default export */ var JieBei_borrowQuota = (borrowQuota_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/JieBei/borrowQuota.vue function borrowQuota_injectStyle (ssrContext) { __webpack_require__("3zc3") } var borrowQuota_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var borrowQuota___vue_template_functional__ = false /* styles */ var borrowQuota___vue_styles__ = borrowQuota_injectStyle /* scopeId */ var borrowQuota___vue_scopeId__ = "data-v-a5bea734" /* moduleIdentifier (server only) */ var borrowQuota___vue_module_identifier__ = null var borrowQuota_Component = borrowQuota_normalizeComponent( borrowQuota, JieBei_borrowQuota, borrowQuota___vue_template_functional__, borrowQuota___vue_styles__, borrowQuota___vue_scopeId__, borrowQuota___vue_module_identifier__ ) /* harmony default export */ var personals_JieBei_borrowQuota = (borrowQuota_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/JieBei/borrowRecord.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var borrowRecord = ({ data: function data() { return { type: false, untype: false, detailsItem: {}, showDetail: true, headTitle: ['借款时间', '本期借款', '已还款', '未还款', '状æ€', 'æ“作'], detailList: [], recordList: [], showdata: false }; }, methods: { details: function details(item) { this.showDetail = false; if (Number(item.unpaid) === 0 && item.statusCode !== 2 && item.statusCode !== 0) { this.untype = true; } else { this.type = true; } this.detailList = item.jiehuanInfo; this.detailsItem = item; }, getRecordList: function getRecordList() { var _this = this; this.$store.commit("loading", true); this.$store.dispatch("game/activityJiebeiJieHuanList", { page: 1, limit: 10000 }).then(function (res) { _this.$store.commit("loading", false); _this.recordList = res.data.data; if (!_this.recordList.length) { _this.showdata = true; } }); }, goRecord: function goRecord() { this.showDetail = true; this.untype = false; this.type = false; } }, created: function created() { this.getRecordList(); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-28acaac7","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/JieBei/borrowRecord.vue var borrowRecord_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"free-money"},[_c('div',{staticClass:"header"},[_c('span',{staticStyle:{"cursor":"pointer"},on:{"click":_vm.goRecord}},[_vm._v("借呗记录")]),(_vm.showDetail == false)?_c('span',[_vm._v(">借呗详情")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"borrow-content"},[(_vm.showDetail)?_c('div',{staticClass:"details"},[_c('div',_vm._l((_vm.headTitle),function(i,j){return _c('p',{key:j},[_vm._v(_vm._s(i))])}),0),_vm._v(" "),_c('ul',_vm._l((_vm.recordList),function(k,l){return _c('li',{key:l},[_c('span',[_vm._v(_vm._s(_vm.$moment.unix(k.date - 0).format("YYYY-MM-DD HH:mm:ss")))]),_vm._v(" "),_c('span',[_vm._v(_vm._s(k.borrow_amount))]),_vm._v(" "),_c('span',[_vm._v(_vm._s(k.repayment))]),_vm._v(" "),_c('span',[_vm._v(_vm._s(k.unpaid))]),_vm._v(" "),_c('span',{class:k.statusCode == 0 ? 'blue' : k.statusCode == 1 ? 'green' : k.statusCode == 2 ? 'red' : 'normal'},[_vm._v(_vm._s(k.status))]),_vm._v(" "),_c('span',{on:{"click":function($event){return _vm.details(k)}}},[_vm._v("详情")])])}),0),_vm._v(" "),(_vm.showdata)?_c('div',{staticClass:"nodata"},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})]):_vm._e()]):_vm._e(),_vm._v(" "),(_vm.type)?_c('div',{staticClass:"details2"},[_c('div',{staticClass:"norepay"},[_c('p',[_vm._v("未还款")]),_vm._v(" "),_c('p',[_vm._v(_vm._s(_vm.detailsItem.unpaid))])]),_vm._v(" "),(_vm.showDetail == false)?_c('div',{staticClass:"someDetail"},[_c('div',[_c('p',[_vm._v("本期借款")]),_vm._v(" "),_c('p',[_vm._v(_vm._s(_vm.detailsItem.statusCode == 2 ? '0.00' : _vm.detailsItem.borrow_amount))])]),_vm._v(" "),_c('div',[_c('p',[_vm._v("已还款")]),_vm._v(" "),_c('p',[_vm._v(_vm._s(_vm.detailsItem.repayment))])])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"borrowDetal"},[_vm._m(0),_vm._v(" "),_c('ul',_vm._l((_vm.detailList),function(i,j){return _c('li',{key:j},[_c('span',[_vm._v(_vm._s(_vm.$moment.unix(i.date - 0).format("YYYY-MM-DD HH:mm:ss")))]),_vm._v(" "),_c('span',[_vm._v(_vm._s(i.amount))]),_vm._v(" "),_c('span',{class:i.statusCode == 0 ? 'blue' : i.statusCode == 1 ? 'green' : i.statusCode == 2 ? 'red' : 'normal'},[_vm._v(_vm._s(i.status))])])}),0)])]):_vm._e(),_vm._v(" "),(_vm.untype)?_c('div',{staticClass:"details3"},[_c('div',{staticClass:"payFinish"},[_c('div',{staticClass:"finidhShow"},[_c('p',[_vm._v("本期借款")]),_vm._v(" "),_c('p',[_vm._v(_vm._s(_vm.detailsItem.borrow_amount))]),_vm._v(" "),_c('p',[_vm._v("好借好还,å†å€Ÿä¸éš¾")]),_vm._v(" "),_vm._m(1)]),_vm._v(" "),_c('div',{staticClass:"finishDetal"},[_vm._m(2),_vm._v(" "),_c('ul',_vm._l((_vm.detailList),function(i,j){return _c('li',{key:j},[_c('span',[_vm._v(_vm._s(_vm.$moment.unix(i.date - 0).format("YYYY-MM-DD HH:mm:ss")))]),_vm._v(" "),_c('span',[_vm._v(_vm._s(i.amount))]),_vm._v(" "),_c('span',{class:i.statusCode == 0 ? 'blue' : i.statusCode == 1 ? 'green' : i.statusCode == 2 ? 'red' : 'normal'},[_vm._v(_vm._s(i.status))])])}),0)])])]):_vm._e()])])} var borrowRecord_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('p',[_vm._v("借还时间")]),_vm._v(" "),_c('p',[_vm._v("金é¢")]),_vm._v(" "),_c('p',[_vm._v("状æ€")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('img',{attrs:{"src":"/static/public/image/userImg/finish.png","width":"120px"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('p',[_vm._v("借还时间")]),_vm._v(" "),_c('p',[_vm._v("金é¢")]),_vm._v(" "),_c('p',[_vm._v("状æ€")])])}] var borrowRecord_esExports = { render: borrowRecord_render, staticRenderFns: borrowRecord_staticRenderFns } /* harmony default export */ var JieBei_borrowRecord = (borrowRecord_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/JieBei/borrowRecord.vue function borrowRecord_injectStyle (ssrContext) { __webpack_require__("F2gz") } var borrowRecord_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var borrowRecord___vue_template_functional__ = false /* styles */ var borrowRecord___vue_styles__ = borrowRecord_injectStyle /* scopeId */ var borrowRecord___vue_scopeId__ = "data-v-28acaac7" /* moduleIdentifier (server only) */ var borrowRecord___vue_module_identifier__ = null var borrowRecord_Component = borrowRecord_normalizeComponent( borrowRecord, JieBei_borrowRecord, borrowRecord___vue_template_functional__, borrowRecord___vue_styles__, borrowRecord___vue_scopeId__, borrowRecord___vue_module_identifier__ ) /* harmony default export */ var personals_JieBei_borrowRecord = (borrowRecord_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/record.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var withdraw_record = ({ data: function data() { var _this = this; return { columns: [{ title: 'æ款编å·', align: 'center', width: 240, key: 'code' }, { title: '银行å称/USDT地å€', align: 'center', key: 'bankName', render: function render(h, params) { return h('div', [h('span', Number(params.row.usdt_count) > 0 ? "å°¾å·:" + (params.row.bankAccount.length > 6 ? params.row.bankAccount.substring(params.row.bankAccount.length - 6, params.row.bankAccount.length) : params.row.bankAccount) : params.row.bankName)]); } }, { title: 'æ款金é¢', align: 'center', key: 'amount' }, { title: 'æ款时间', align: 'center', key: 'time', render: function render(h, params) { return h('div', [h('span', _this.$moment.unix(params.row.time - 0).format('YYYY-MM-DD HH:mm:ss'))]); } }, { title: '状æ€', align: 'center', key: 'status', render: function render(h, params) { return h('div', [h('span', params.row == undefined ? '' : params.row.status == 'success' || params.row.status == "virtualWithdrawals" || params.row.status === "thirdWalletWithdrawals" || params.row.status === "alipayWithdrawals" ? 'æˆåŠŸ' : false || params.row.status == 'fail' ? '失败' : ['wait', 'ebaoWait', 'ebaoTimeout'].includes(params.row.status) ? '出款ä¸' : params.row.status == 'ebaoFastWithdrawals' ? 'æˆåŠŸ' : 'å®¡æ ¸ä¸')]); } }, { title: '备注', align: 'center', key: 'remark' }, { title: '催账', align: 'center', key: 'status', render: function render(h, params) { return h('div', [params.row.status == 'system_processing' ? h('span', { style: { cursor: 'pointer', border: '1px solid #dbdbdb', padding: '6px 12px', display: 'inline-block', borderRadius: '5px', background: 'linear-gradient(180deg,#ff8181,#fd4949)', color: '#fff' }, on: { click: function click() { _this.emergency(params.row.id, params.row.time); } } }, '催账') : ['ebaoWait', 'ebaoWithdrawals'].includes(params.row.status) ? h('span') : h('span', { style: { cursor: 'pointer', border: '1px solid #dbdbdb', padding: '6px 12px', display: 'inline-block', borderRadius: '5px', background: '#f9f9f9' }, on: { click: function click() { _this.$error('该状æ€æ— 法申请催账'); } } }, '催账')]); } }], data: [], total: 0, i: 1, startTime: this.getYMD(new Date()), endTime: this.getYMD(new Date()), day: '1' }; }, methods: { //å–款列表 getRecord: function getRecord() { var _$getS, _this2 = this; this.$store.commit('loading', true); this.$getS('member/account-money-record/withdrawalsV2', (_$getS = { page: this.i, time_start: this.startTime, time_end: this.endTime, limit: 10 }, defineProperty_default()(_$getS, 'page', this.i), defineProperty_default()(_$getS, 'get_main', 1), defineProperty_default()(_$getS, 'sv', '230620'), _$getS)).then(function (res) { if (res.code == 200) { _this2.data = res.data.data.list; _this2.total = res.data.total; } _this2.$store.commit('loading', false); }); }, //催款 emergency: function emergency(id, date) { var _this3 = this; this.$http.post(this.$HOST_NAME + '/emergency/application', { financeId: id, type: 'withdrawals', date: this.$moment.unix(date - 0).format('YYYY-MM-DD') }).then(function (res) { if (res.code == 200) { _this3.$success('催账æˆåŠŸ'); } else { _this3.$error(res.message); } }); }, //日期 hanlderRadio: function hanlderRadio(val) { this.i = 1; if (val == '1') { this.startTime = this.getYMD(new Date()); this.endTime = this.getYMD(new Date()); } else if (val == '2') { this.startTime = this.getYMD(new Date() - 1000 * 60 * 60 * 24); this.endTime = this.getYMD(new Date() - 1000 * 60 * 60 * 24); } else { this.startTime = this.getYMD(new Date() - 1000 * 60 * 60 * 24 * 6); this.endTime = this.getYMD(new Date()); } this.getRecord(); }, //日历 hanlderDate: function hanlderDate(date) { this.startTime = date[0]; this.endTime = date[1]; }, //æœç´¢ serachRecord: function serachRecord() { this.i = 1; this.getRecord(); }, //分页 hanlderPage: function hanlderPage(i) { this.i = i; this.getRecord(); } }, created: function created() { var _this4 = this; this.$nextTick(function () { _this4.getRecord(); }); }, destroyed: function destroyed() { this.$store.commit('loading', false); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-f16fa50e","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/record.vue var record_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"withdrawal-record"},[_c('div',{staticClass:"content"},[_c('div',{staticClass:"search"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("今日")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("昨天")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("最近七天")])])],1),_vm._v(" "),_c('DatePicker',{staticStyle:{"width":"236px"},attrs:{"type":"daterange","placement":"bottom-end","placeholder":"选择时间"},on:{"on-change":_vm.hanlderDate}}),_vm._v(" "),_c('span',{staticClass:"searchSpan",on:{"click":_vm.serachRecord}},[_vm._v("æœç´¢")])],1),_vm._v(" "),_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),_c('div',{staticClass:"page"},[(_vm.total>0)?_c('Page',{attrs:{"current":_vm.i,"total":_vm.total,"size":"small"},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1)],1)])} var record_staticRenderFns = [] var record_esExports = { render: record_render, staticRenderFns: record_staticRenderFns } /* harmony default export */ var personals_withdraw_record = (record_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/record.vue function record_injectStyle (ssrContext) { __webpack_require__("iUs5") } var record_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var record___vue_template_functional__ = false /* styles */ var record___vue_styles__ = record_injectStyle /* scopeId */ var record___vue_scopeId__ = "data-v-f16fa50e" /* moduleIdentifier (server only) */ var record___vue_module_identifier__ = null var record_Component = record_normalizeComponent( withdraw_record, personals_withdraw_record, record___vue_template_functional__, record___vue_styles__, record___vue_scopeId__, record___vue_module_identifier__ ) /* harmony default export */ var public_personals_withdraw_record = (record_Component.exports); // EXTERNAL MODULE: ./node_modules/swiper/dist/css/swiper.css var swiper = __webpack_require__("v2ns"); var swiper_default = /*#__PURE__*/__webpack_require__.n(swiper); // EXTERNAL MODULE: ./node_modules/vue-awesome-swiper/dist/vue-awesome-swiper.js var vue_awesome_swiper = __webpack_require__("7QTg"); var vue_awesome_swiper_default = /*#__PURE__*/__webpack_require__.n(vue_awesome_swiper); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/quickWithdrawal.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var quickWithdrawal = ({ props: { total: { type: Object, default: function _default() {} }, list: { type: Array, default: function _default() { return []; } }, isWaitingAudit: { type: Boolean, default: true } }, data: function data() { return { hasCallEbaoDeposit: false, reminderTimeValue: 900, reminderTimer: null }; }, computed: { quickEbaoPreferentialConfig: function quickEbaoPreferentialConfig() { var bonusConfig = JSON.parse(localStorage.config).preferential_config.find(function (e) { return e.depositType === "ebao_withdrawals_fast"; }); if (!bonusConfig) return null; if (bonusConfig.status === "on") { return bonusConfig.config[0] || false; } else { return false; } }, confirmWithdrawText: function confirmWithdrawText() { if (this.quickEbaoPreferentialConfig && this.quickEbaoPreferentialConfig.preferential > 0) { return "\u786E\u8BA4\u5230\u5E10\u8D60\u9001" + this.quickEbaoPreferentialConfig.preferential + "%"; } else { return "确认到å¸"; } } }, methods: { getTimer: function getTimer(timeValue) { if (!timeValue) return ""; var hour = this.formatTimer(Math.floor(timeValue / 3600), 2); var min = this.formatTimer(Math.floor(timeValue / 60), 2); var sec = this.formatTimer(timeValue % 60, 2); return hour + ":" + min + ":" + sec; }, handleOpenKefu: function handleOpenKefu(item) { var url = item && item.kefu_url; if (url) { window.open(url, '_blank'); } } }, beforeDestroy: function beforeDestroy() { this.$store.commit("trade/setCurrentSellerOrder", ''); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-01eb10a4","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/quickWithdrawal.vue var quickWithdrawal_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"quick-withdrawal"},[[_c('div',{staticClass:"quick-withdrawal-content"},[_c('section',{staticClass:"quick-withdrawal-item"},[_c('div',{staticClass:"withdrawal-info"},[_c('div',{staticClass:"info-box"},[_c('span',{staticClass:"label"},[_vm._v("å–款金é¢ï¼š")]),_vm._v(" "),_c('span',{staticClass:"info orange"},[_vm._v("\n "+_vm._s(_vm.total.amount)+"\n ")])]),_vm._v(" "),_c('div',{staticClass:"info-box"},[_c('span',{staticClass:"label"},[_vm._v("收款银行:")]),_vm._v(" "),_c('span',{staticClass:"info"},[_vm._v("\n "+_vm._s(_vm.total.bank_name)+"\n ")])]),_vm._v(" "),_c('div',{staticClass:"info-box"},[_c('span',{staticClass:"label"},[_vm._v("银行å¡å·ï¼š")]),_vm._v(" "),_c('span',{staticClass:"info"},[_vm._v("\n "+_vm._s(_vm.total.bank_account)+"\n ")])])]),_vm._v(" "),_vm._l((_vm.list),function(item,index){return _c('div',{key:index,staticClass:"withdrawal-money-status"},[_c('div',{staticClass:"withdrawal-item"},[_c('div',{staticClass:"title"},[_vm._v("\n åˆ°è´¦é‡‘é¢ "),_c('span',{staticClass:"money"},[_vm._v(_vm._s(item.amount))]),_vm._v(" å…ƒ\n ")]),_vm._v(" "),(['wait', 'audit', 'buyer_created', 'seller_confirm'].includes(item.ebao_status))?_c('div',{staticClass:"status-content"},[_vm._m(0,true)]):_vm._e(),_vm._v(" "),(item.ebao_status === 'buyer_pay')?_c('div',{staticClass:"status-content"},[_c('div',{staticClass:"btn btn-purple",on:{"click":function($event){return _vm.$emit('openConfirm', Object.assign({}, {order: item.code}, item))}}},[_vm._v("\n "+_vm._s(_vm.confirmWithdrawText)+"\n ")]),_vm._v(" "),_c('div',{staticClass:"btn btn-purple",on:{"click":function($event){return _vm.$emit('openKefu', Object.assign({}, {order: item.code}, item))}}},[_vm._v("\n 未到å¸\n ")])]):_vm._e(),_vm._v(" "),( item.ebao_status === 'kefu' && ['ebaoFastWithdrawals', 'ebaoWait', 'success', 'autoWithdrawals'].includes(item.status) && item.kefu_url )?_c('div',{staticClass:"status-content"},[_c('div',{staticClass:"btn btn-red",on:{"click":function () { return _vm.handleOpenKefu(item); }}},[_vm._v("\n æœªåˆ°å¸ è”系客æœ\n ")])]):_vm._e(),_vm._v(" "),(item.ebao_status === 'kefu_done')?_c('div',{staticClass:"status-content"},[_c('div',{staticClass:"btn"},[_vm._v("\n 已完æˆ\n ")])]):_vm._e(),_vm._v(" "),(item.ebao_status === 'fail')?_c('div',{staticClass:"status-content"},[_c('div',{staticClass:"btn"},[_vm._v("\n 失敗\n ")])]):_vm._e(),_vm._v(" "),(item.ebao_status === 'success')?_c('div',{staticClass:"status-content"},[(item.bonusAmount > 0)?_c('div',{staticClass:"btn"},[_vm._v("\n 确认到å¸èµ é€ "+_vm._s(item.bonusAmount)+" å…ƒ\n ")]):_c('div',{staticClass:"btn"},[_vm._v("\n 确认到å¸\n ")])]):_vm._e()])])})],2)])]],2)} var quickWithdrawal_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"btn btn-large"},[_vm._v("\n 请勿离开到å¸åŽç‚¹ç¡®è®¤é¢†ä¼˜æƒ "),_c('br'),_vm._v("\n 到å¸åŽ5åˆ†é’Ÿå†…ä¼˜æƒ æœ‰æ•ˆæœŸ\n ")])}] var quickWithdrawal_esExports = { render: quickWithdrawal_render, staticRenderFns: quickWithdrawal_staticRenderFns } /* harmony default export */ var withdraw_quickWithdrawal = (quickWithdrawal_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/quickWithdrawal.vue function quickWithdrawal_injectStyle (ssrContext) { __webpack_require__("MxdR") } var quickWithdrawal_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var quickWithdrawal___vue_template_functional__ = false /* styles */ var quickWithdrawal___vue_styles__ = quickWithdrawal_injectStyle /* scopeId */ var quickWithdrawal___vue_scopeId__ = "data-v-01eb10a4" /* moduleIdentifier (server only) */ var quickWithdrawal___vue_module_identifier__ = null var quickWithdrawal_Component = quickWithdrawal_normalizeComponent( quickWithdrawal, withdraw_quickWithdrawal, quickWithdrawal___vue_template_functional__, quickWithdrawal___vue_styles__, quickWithdrawal___vue_scopeId__, quickWithdrawal___vue_module_identifier__ ) /* harmony default export */ var personals_withdraw_quickWithdrawal = (quickWithdrawal_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/normalWithdrawal.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var normalWithdrawal = ({ props: { withdrawOrderData: { type: Object, default: function _default() {} }, isWaitingBankDetail: { type: Boolean, default: function _default() { return false; } } }, data: function data() { return { checkCountdownTimeValue: 600, checkCountdownTimer: null }; }, computed: { isConfirmNoPayment: function isConfirmNoPayment() { return this.withdrawOrderData.status === 'waitConfirm' && !this.withdrawOrderData.payment_img; }, isKefu: function isKefu() { return this.withdrawOrderData.kefu_url && this.withdrawOrderData.is_kefu_wait; }, isSuccess: function isSuccess() { return this.withdrawOrderData.status === 'success'; }, canConfirm: function canConfirm() { return this.withdrawOrderData.status === 'waitConfirm'; }, orderStatus: function orderStatus() { switch (this.withdrawOrderData.status) { case 'success': case 'autoWithdrawals': return '交易已完æˆ'; case 'fail': return '交易失败'; default: return '自动出款ä¸ï¼Œè¯·ç‰å¾…'; } }, checkCountdownTime: function checkCountdownTime() { return this.convertTime(this.checkCountdownTimeValue); }, preferentialConfig: function preferentialConfig() { var bonusConfig = JSON.parse(localStorage.config).preferential_config.find(function (e) { return e.depositType === 'ebao_withdrawals_fast'; }); if (!bonusConfig) return null; if (bonusConfig.status === 'on') { return bonusConfig.config[0]; } else { return false; } }, confirmWithdrawText: function confirmWithdrawText() { if (this.preferentialConfig && this.preferentialConfig.preferential > 0) { return '\u786E\u8BA4\u5230\u5E10\u8D60\u9001' + this.preferentialConfig.preferential + '%'; } else { return "确认到å¸"; } } }, methods: { convertTime: function convertTime(time) { var minute = Math.floor(time / 60).toString().padStart(2, '0'); var second = (time % 60).toString().padStart(2, '0'); return minute + ':' + second; }, startCheckCountdown: function startCheckCountdown() { var _this = this; this.checkCountdownTimer = setInterval(function () { _this.checkCountdown(); }, 1000); }, stopCheckCountdown: function stopCheckCountdown() { this.checkCountdownTimer && clearInterval(this.checkCountdownTimer); this.checkCountdownTimer = null; }, checkCountdown: function checkCountdown() { this.checkCountdownTimeValue--; if (this.checkCountdownTimeValue <= 0) { this.startCheckCountdown(); } }, handleOpenKefu: function handleOpenKefu() { var url = this.withdrawOrderData && this.withdrawOrderData.kefu_url; if (url) { window.open(url, '_blank'); } } }, watch: { canConfirm: function canConfirm(newVal) { if (newVal) { this.startCheckCountdown(); } } }, mounted: function mounted() { if (this.canConfirm) { this.startCheckCountdown(); } }, beforeDestroy: function beforeDestroy() { this.stopCheckCountdown(); this.$store.commit("trade/setCurrentSellerOrder", ''); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-ccdab32e","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/normalWithdrawal.vue var normalWithdrawal_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"quick-withdrawal"},[[_c('div',{staticClass:"quick-withdrawal-content"},[_c('div',{staticClass:"withdrawal-info"},[_c('div',{staticClass:"info-box"},[_c('div',[_c('span',{staticClass:"label"},[_vm._v("å–款金é¢ï¼š")]),_vm._v(" "),_c('span',{staticClass:"info orange"},[_vm._v("\n "+_vm._s(Number(_vm.withdrawOrderData.amount))+"\n ")])])]),_vm._v(" "),_c('div',{staticClass:"info-box"},[_c('div',[_c('span',{staticClass:"label"},[_vm._v("收款银行:")]),_vm._v(" "),_c('span',{staticClass:"info"},[_vm._v("\n "+_vm._s(_vm.withdrawOrderData.bankName)+"\n ")])])]),_vm._v(" "),_c('div',{staticClass:"info-box"},[_c('div',[_c('span',{staticClass:"label"},[_vm._v("银行å¡å·ï¼š")]),_vm._v(" "),_c('span',{staticClass:"info"},[_vm._v("\n "+_vm._s(_vm.withdrawOrderData.bankAccount)+"\n ")])])]),_vm._v(" "),_c('div',{staticClass:"withdrawal-list"},[_c('div',{staticClass:"withdrawal-item"},[_c('div',{staticClass:"title"},[_vm._v("\n åˆ°è´¦é‡‘é¢ "),_c('span',{staticClass:"money"},[_vm._v(_vm._s(Number(_vm.withdrawOrderData.amount)))]),_vm._v(" å…ƒ\n ")]),_vm._v(" "),(_vm.isConfirmNoPayment)?_c('div',{staticClass:"status-content"},[_c('div',{staticClass:"btn btn-purple",on:{"click":function($event){return _vm.$emit('openConfirm', Object.assign({}, {order: _vm.withdrawOrderData.code}, _vm.withdrawOrderData))}}},[_vm._v("\n "+_vm._s(_vm.confirmWithdrawText)+"\n ")]),_vm._v(" "),_c('div',{staticClass:"btn btn-purple",on:{"click":function($event){return _vm.$emit('openKefu', Object.assign({}, {order: _vm.withdrawOrderData.code}, _vm.withdrawOrderData))}}},[_vm._v("\n 未到å¸\n ")])]):_vm._e(),_vm._v(" "),(_vm.isKefu)?_c('div',{staticClass:"status-content"},[_c('div',{staticClass:"btn btn-red",on:{"click":_vm.handleOpenKefu}},[_vm._v("\n æœªåˆ°å¸ è”系客æœ\n ")])]):_vm._e(),_vm._v(" "),(_vm.isWaitingBankDetail)?_c('div',{staticClass:"status-content"},[_vm._m(0)]):_vm._e(),_vm._v(" "),(_vm.isSuccess)?_c('div',{staticClass:"status-content"},[(_vm.withdrawOrderData.bonusAmount > 0)?_c('div',{staticClass:"btn"},[_vm._v("\n 确认到å¸èµ é€ "+_vm._s(_vm.withdrawOrderData.bonusAmount)+" å…ƒ\n ")]):_c('div',{staticClass:"btn"},[_vm._v("\n 确认到å¸\n ")])]):_vm._e()])])])])]],2)} var normalWithdrawal_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"wait-status"},[_vm._v(" \n 请勿离开到å¸åŽç‚¹ç¡®è®¤é¢†ä¼˜æƒ "),_c('br'),_vm._v("\n 到å¸åŽ5åˆ†é’Ÿå†…ä¼˜æƒ æœ‰æ•ˆæœŸ\n ")])}] var normalWithdrawal_esExports = { render: normalWithdrawal_render, staticRenderFns: normalWithdrawal_staticRenderFns } /* harmony default export */ var withdraw_normalWithdrawal = (normalWithdrawal_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/normalWithdrawal.vue function normalWithdrawal_injectStyle (ssrContext) { __webpack_require__("jhF3") } var normalWithdrawal_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var normalWithdrawal___vue_template_functional__ = false /* styles */ var normalWithdrawal___vue_styles__ = normalWithdrawal_injectStyle /* scopeId */ var normalWithdrawal___vue_scopeId__ = "data-v-ccdab32e" /* moduleIdentifier (server only) */ var normalWithdrawal___vue_module_identifier__ = null var normalWithdrawal_Component = normalWithdrawal_normalizeComponent( normalWithdrawal, withdraw_normalWithdrawal, normalWithdrawal___vue_template_functional__, normalWithdrawal___vue_styles__, normalWithdrawal___vue_scopeId__, normalWithdrawal___vue_module_identifier__ ) /* harmony default export */ var personals_withdraw_normalWithdrawal = (normalWithdrawal_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/request.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var request = ({ data: function data() { var _this = this; return { longPollingTimer: null, createOrderParams: { order: "", time: 0 }, isWaitingAudit: true, // 是å¦ç‰å¾…後å°å¯©æ ¸ isWaitingBankDetail: true, showKefuModal: false, kefuRemark: "", showTextModal: false, // modal - æ–‡å—æ示 modalText: "", showWithdrawalProofModal: false, // modal - 到账å‡è¯ä¿¡æ¯ showWithdrawalProofDoneModal: false, // modal - 到账å‡è¯ç¡®è®¤æ示 showWithdrawalRewardModal: false, // modal - ä¼˜æƒ å¼¹çª— hasProofStatus: false, showBigImgModal: false, // modal - 放大圖 modalPic: "", withdrawalsBookingType: "", showQuickWithdrawal: false, // 是å¦é¡¯ç¤ºæœ‰è¨‚å–®è¨Šæ¯ isGetSub: 1, // 是å¦æŽ¥æ”¶å訂單(拆單) withdrawalsOrderTotal: { amount: 0, bank_account: '', bank_name: '', order: '' }, withdrawalsOrderList: [], currentOrder: {}, // 當å‰æ“作ä¸çš„å–®å currentOrderKefuImg: '', // æ“作ä¸çš„單,仲è£æ†‘è‰ç”¨çš„圖片å—串(用|隔開) withdrawalLimit: 0, isWithdrawalNoLimit: false, withdrawalUndoneLimit: 0, expectTime: 0, timer: null, bookingHour: 0, showSome: false, value1: 0, bankList: [], bankData: ["工商银行", "农业银行", "建设银行", "招商银行", "ä¸å›½é“¶è¡Œ", "浦å‘银行", "ä¸ä¿¡é“¶è¡Œ", "交通银行", "民生银行", "兴业银行", "邮政银行", "光大银行", "åŽå¤é“¶è¡Œ", "浙商银行", "包商银行", "北京银行", "上海银行", "东莞银行", "广å‘银行", "平安银行", "徽商银行", "江è‹é“¶è¡Œ", "北京农商", "æˆéƒ½é“¶è¡Œ", "å‰æž—银行", "农æ‘信用社", "哈尔滨银行", "深圳å‘展银行", "浙江网商银行", "ç¦å»ºå†œæ‘信用社", "广州农æ‘商业银行", "其它"], // bankDetail: {}, relMsg: "", radioAmount: "", customAmount: "", amount: null, availableAmount: "", notAmount: "", totalAmount: "", unavailableReason: "", payPassword: "", toastShow: false, toastNum: 430, toastText: "", columns: [{ title: "银行å称", align: "center", key: "bankName", className: "demo-table-info-column" }, { title: "æ款金é¢", align: "center", key: "amount", className: "demo-table-info-column" }, { title: "æ款时间", key: "time", align: "center", className: "demo-table-info-column", width: 150, render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.time - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "状æ€", align: "center", key: "status", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", params.row == undefined ? "" : params.row.status == "success" ? "æˆåŠŸ" : false || params.row.status == "fail" ? "失败" : ["wait", "ebaoWait", "ebaoTimeout"].includes(params.row.status) ? "出款ä¸" : params.row.status == "ebaoFastWithdrawals" ? "æˆåŠŸ" : "å®¡æ ¸ä¸")]); } }], data: [], canClick: false, swiperOption: { loop: true, slidesPerView: 1, pagination: { el: ".swiper-pagination", clickable: true }, navigation: { nextEl: ".slideNext", prevEl: ".slidePrev" } }, withdrawOrderStatusTimer: null, withdrawOrderData: {}, withdrawRewardMessage: '' }; }, methods: { getCredentialPics: function getCredentialPics(pics) { this.currentOrderKefuImg = pics; }, // 自定義 å’Œ radio 控制閥 handleCustomAmount: function handleCustomAmount(val) { this.radioAmount = ""; this.amount = null; this.toastShow = false; }, handleRadioAmount: function handleRadioAmount(val) { this.customAmount = ""; // 顯示用 this.amount = val; this.toastShow = false; }, showTab: function showTab(type) { if (this.handleTabData.length <= 1) { return false; } if (type === "booking") { return this.bookingConfig.length > 0; } else { return true; } }, longPolling: function longPolling() { var params = void 0; params = this.$store.state.trade.withdrawalDataParams; if (this.createOrderParams && this.createOrderParams.order && this.createOrderParams.time) { params = this.createOrderParams; } if (this.isNormalWithdraw) { return; } // 有單å號碼和時間æ‰æ‰“ if (params.order && params.time) { this.getWithdrawalsOrderData(); } }, clearLongPolling: function clearLongPolling() { if (this.longPollingTimer) { clearInterval(this.longPollingTimer); this.longPollingTimer = null; } }, handleBookingType: function handleBookingType(type) { if (this.$store.state.personal.isBookingWithdrawal) { if (type === "usdt") { // USDT 预约å–款,用 USDT 的模组 this.$store.commit("showNav", { child: { type: "booking", subType: "usdt" } }); } } this.withdrawalsBookingType = type; if (type === "bank") { // 读å–到å类了,强制读å–主类别,å¯èƒ½æ˜¯ normal 或 ebaoWithdrawalsFast this.withdrawalsBookingType = this.bankRechargeConfig.type; } this.toastShow = false; this.amount = null; // localStorage.removeItem('recentWithdrawalOrder') }, getEbaoRemark: function getEbaoRemark(status) { var statusList = { buyer_created: "出款ä¸", buyer_pay: "待确认", seller_confirm: "出款ä¸", audit: "处ç†ä¸", wait: "自动出款ä¸ï¼Œè¯·ç‰å¾…", success: "å·²æˆåŠŸ", kefu: "仲è£ä¸", kefu_done: "已完æˆ", cancel: "å·²å–消" }; return statusList[status] || ""; }, getWithdrawRemark: function getWithdrawRemark(status) { var statusList = { withdraw_free: "自动出款ä¸ï¼Œè¯·ç‰å¾…", wait: "自动出款ä¸ï¼Œè¯·ç‰å¾…", success: "å·²æˆåŠŸ", waitConfirm: "待确认", cancel: "å·²å–消" }; return statusList[status] || ""; }, getExpectTime: function getExpectTime() { var _this2 = this; // 判斷需è¦è¨ˆæ™‚更新物件的狀態 && 倒數 var hasCountStatus = this.withdrawalsOrderList.some(function (item) { return ['buyer_pay', 'seller_confirm'].includes(item.ebao_status); }); var hasCountDown = this.withdrawalsOrderList.some(function (item) { return item.countDown !== 0; }); if (!hasCountStatus && !hasCountDown) return; clearInterval(this.timer); this.timer = null; this.timer = setInterval(function () { _this2.withdrawalsOrderList = _this2.withdrawalsOrderList.map(function (item, i) { // console.log(this.getTimer(item.expectTime), item.countDown) if (item.expectTime !== null) item.expectTime--; if (item.expectTime === 0) item.expectTime = null; return item; }); // let refreshExpectTime = this.withdrawalsOrderList.some(item => item.expectTime !== null) // if (refreshExpectTime) this.$forceUpdate() var refreshDataStatus = _this2.withdrawalsOrderList.some(function (item) { return item.expectTime === 0; }); if (refreshDataStatus) { _this2.getWithdrawalsOrderData(); _this2.showWithdrawalProofModal = false; _this2.showWithdrawalProofDoneModal = false; } }, 1000); }, formatTimer: function formatTimer(num, length) { return (Array(length).join("0") + num).slice(-length); }, getTimer: function getTimer(timeValue) { if (!timeValue) return ""; var hour = this.formatTimer(Math.floor(timeValue / 3600), 2); var min = this.formatTimer(Math.floor(timeValue / 60), 2); var sec = this.formatTimer(timeValue % 60, 2); return hour + ":" + min + ":" + sec; }, showModal: function showModal(type) { var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; if (type === "quickly" && data) { this.showTextModal = true; this.modalText = data; } if (type === "seeProof" && data) { this.currentOrder = {}; this.currentOrder = data.order; this.currentOrder['proof_voucher'] = []; // 仲è£æ†‘è‰å€Ÿç”¨ä¾†å¸¶å…¥çš„空陣列,無實際作用 this.showWithdrawalProofModal = true; if (data.proof === "hasNotProof") this.hasProofStatus = true; if (data.proof === "hasProof") this.hasProofStatus = false; } if (type === "img" && data) { this.showBigImgModal = true; this.modalPic = data; } }, handleWithdrawalsConfirm: function handleWithdrawalsConfirm() { var _this3 = this; this.showWithdrawalProofDoneModal = false; if (this.isNormalWithdraw) { var code = this.currentOrder.order; this.$store.dispatch('trade/submitNormalWithdrawalsConfirm', { code: code }).then(function (res) { if (res.code === 200) { _this3.hasProofStatus = false; _this3.showWithdrawalRewardModal = true; _this3.withdrawRewardMessage = res.message; _this3.pollingWithdrawOrderStatus(); } else { _this3.$error(res.message); } }); } else { var _currentOrder = this.currentOrder, order = _currentOrder.order, time = _currentOrder.time; var params = { order: order, time: time }; this.$store.dispatch("trade/submitEbaoWithdrawalsConfirm", params).then(function (res) { if (res.code === 200) { _this3.hasProofStatus = false; _this3.getWithdrawalsOrderData(); _this3.showWithdrawalRewardModal = true; _this3.withdrawRewardMessage = res.message; } else { _this3.$error(res.message); } }); } }, handleOpenKefu: function handleOpenKefu(order) { this.currentOrder = order; this.showKefuModal = true; }, handleOpenWithdrawalsConfirm: function handleOpenWithdrawalsConfirm(order) { this.currentOrder = order; this.showWithdrawalProofDoneModal = true; }, handleWithdrawalRewardConfirm: function handleWithdrawalRewardConfirm() { this.showWithdrawalRewardModal = false; }, handleBooking: function handleBooking(val) { this.bookingHour = val; }, showBtn: function showBtn() { if (this.bankList.length > 1) { this.showSome = true; } }, hideBtn: function hideBtn() { this.showSome = false; }, fetchUserWithdrawAmmount: function fetchUserWithdrawAmmount() { var _this4 = this; this.$http.post(this.$HOST_NAME + "/withdrawals/getWithdrawAmount").then(function (res) { if (res.code === 200 && res.data) { var _res$data = res.data, amount = _res$data.amount, notAmount = _res$data.notAmount, msg = _res$data.msg, totalAmount = _res$data.totalAmount; _this4.availableAmount = amount; //å¯ç”¨æ€»é¢ _this4.notAmount = notAmount; //ä¸å¯ç”¨é‡‘é¢ // this.unavailableReason = msg.split(',')[1] //ä¸å¯ç”¨åŽŸå› _this4.unavailableReason = msg; var realmsg = msg; var num = realmsg.match(/\d+\.\d+/g); _this4.relMsg = realmsg.replace(num, "<span style='color:#ff9146'>" + num + "</span>"); _this4.totalAmount = totalAmount; //æ€»é‡‘é¢ } else { _this4.$error(res.message); } }); }, // 获å–用户银行å¡ä¿¡æ¯ userBank: function userBank() { var _this5 = this; this.$store.commit("loading", true); this.$http.post(this.$HOST_NAME + "/member/bank").then(function (res) { if (res.code == 200) { res.data.forEach(function (v) { v.created_at = _this5.$moment.unix(v.created_at - 0).format("YYYY-MM-DD"); }); res.data.forEach(function (v) { v.cardNum = v.cardNum.replace(/\s/g, " ").replace(/(.{4})/g, "$1 "); if (_this5.bankData.indexOf(v.bankName) != -1) { v.imgUrl = "/static/public/image/bankImg/" + v.bankName + ".png"; } else { if (v.bankName == "广州å‘展银行") { v.imgUrl = "/static/public/image/bankImg/" + v.bankName + ".png"; } else { v.imgUrl = "/static/public/image/bankImg/morenBank.png"; } } }); _this5.bankList = res.data; if (!_this5.bankList.length) { if (localStorage.Public_User == "test") { _this5.$error("è¯•çŽ©ç”¨æˆ·æ— æƒé™ï¼Œè¯·æ³¨å†Œæ£å¼ç”¨æˆ·", 3000); } else { _this5.$error("请绑定银行å¡", 3000); _this5.$store.commit("showContent", { parent: "withdraw" }); _this5.$store.commit("showNav", { child: 4 }); } return false; } _this5.$store.commit("loading", false); } else { // 没有银行å¡è·³åŽ»ç»‘å®šé“¶è¡Œå¡ // this.$store.commit("showContent", { // parent: "withdraw" // }); // this.$store.commit("showNav", { // child: 2 // }); } }); }, hanlderCarousel: function hanlderCarousel(oldval, newval) {}, // å–款申请 application: function application() { var _this6 = this; if (this.withdrawalsBookingType === "ebaoWithdrawalsFast" && !this.amount && this.radioAmount) this.amount = this.radioAmount; this.toastShow = false; var radioHeight = 22.5 * Math.floor(this.withdrawalsAmount.length / 4); if (this.radioAmount) { radioHeight += -35; } if (this.isWithdrawalLimit) return false; if (this.canClick) { return false; } if (this.bankDetail.status == "no") { this.$error("该银行å¡å·²åœç”¨"); return false; } var isMoney = this.dInvalidMoney(this.amount); var isPwd = this.validatePwdAccount(this.payPassword); if (!isMoney) { this.toastShow = true; if (this.withdrawalsBookingType === "ebaoWithdrawalsFast") { this.toastNum = 355 + radioHeight; } else { this.toastNum = 375; } this.toastText = "请输入æ£ç¡®é‡‘é¢"; return false; } if (Number(this.amount) < Number(JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit)) { this.toastShow = true; if (this.withdrawalsBookingType === "ebaoWithdrawalsFast") { this.toastNum = 355 + radioHeight; } else { this.toastNum = 375; } this.toastText = "æ款金é¢ä¸èƒ½å°äºŽ" + JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit; return false; } // --- 急速å˜å–款 availableAmount 為 0 時,刪除以測試 if (this.amount * 1 > this.availableAmount * 1) { this.toastShow = true; if (this.withdrawalsBookingType === "ebaoWithdrawalsFast") { this.toastNum = 355 + radioHeight; } else { this.toastNum = 375; } this.toastText = "æ款金é¢ä¸èƒ½å¤§äºŽ" + this.availableAmount; return false; } if (!isPwd) { this.toastShow = true; if (this.withdrawalsBookingType === "ebaoWithdrawalsFast") { this.toastNum = this.notAmount > 0 ? 455 : 420; this.toastNum += radioHeight; } else { this.toastNum = this.notAmount > 0 ? 465 : 430; } this.toastText = "请输入æ£ç¡®6ä½æ•°å—资金密ç "; return false; } // --- 急速å˜å–款 availableAmount 為 0 時,刪除以測試 if (this.availableAmount <= 0) { this.$toast(this.unavailableReason); return false; } if (this.amount > 100 && this.amount % 100) { this.$error('å–款金é¢é¡»ä¸º100çš„æ•´æ•°å€æ•°ï¼Œ\n已为您调整'); this.amount = Math.floor(this.amount / 100) * 100; this.radioAmount = ''; return; } var payload = { amount: this.amount, payPassword: this.payPassword, bankId: this.bankDetail.id }; if (this.withdrawalsBookingType === "booking") { payload.isBooking = 1; payload.bookingHour = this.bookingHour; } this.toastShow = false; this.canClick = true; setTimeout(function () { _this6.canClick = false; }, 3 * 1000); // ebao 極速å–款 if (this.withdrawalsBookingType === "ebaoWithdrawalsFast") { payload.withdrawalsType = "ebaoWithdrawalsFast"; this.isWaitingAudit = true; } this.$http.post(this.$HOST_NAME + "/member/setBalanceToLocal").then(function (res) { if (res.code == 200) { // this.amount = this.amount.toFixed(2) _this6.$http.post(_this6.$HOST_NAME + "/withdrawals/application", payload).then(function (res) { if (res.code == 200) { // localStorage.setItem('recentWithdrawalOrder', res.data.order) // localStorage.setItem('recentWithdrawalTime', res.data.timestamp) if (_this6.withdrawalsBookingType === "normal") { _this6.createOrderParams.order = res.extra.orderId; _this6.createOrderParams.time = res.extra.time; _this6.createOrderParams.check_interval = res.extra.check_interval; _this6.withdrawalsBookingType = "normalWithdrawalDetail"; _this6.isWaitingBankDetail = true; _this6.pollingWithdrawOrderStatus(); } else { _this6.isGetSub = 1; _this6.createOrderParams.order = res.data.order; _this6.createOrderParams.time = res.data.timestamp; _this6.getWithdrawalsOrderData(); } _this6.$store.commit("trade/setCurrentSellerOrder", res.data.order); _this6.amount = ""; _this6.payPassword = ""; _this6.withdrawals(); _this6.fetchUserWithdrawAmmount(); _this6.$success("申请æˆåŠŸ"); } else if (res.code == 5011) { _this6.$store.commit("alert/changbindPhone", true); } else { _this6.$error(res.message); } }); } }); }, // 最近åæ¡å–款记录 withdrawals: function withdrawals() { var _this7 = this; var params = { money_type: "CNY" }; this.$http.post(this.$HOST_NAME + "/withdrawals/last", params).then(function (res) { if (res.code == 200) { _this7.data = res.data; _this7.data = _this7.data.filter(function (v) { return Number(v.usdt_count) <= 0 && v.bankName !== "Eå®"; }); } }); }, hanlderAmount: function hanlderAmount() { if (!this.amount) return; if (this.amount.indexOf(".") != -1) { this.amount = this.amount.substring(0, this.amount.indexOf(".") + 3); } }, getEbaoWithdrawalsLimit: function getEbaoWithdrawalsLimit() { // 寫æ»ä¸é™åˆ¶æ¬¡æ•¸ this.isWithdrawalNoLimit = true; this.withdrawalLimit = 1; // this.$store.dispatch('trade/getEbaoWithdrawalsLimit').then(res => { // if (res.code === 200) { // this.isWithdrawalNoLimit = false // this.withdrawalLimit = res.data.withdraw_limit - res.data.user_withdraw_times // }else{ // this.$error(res.message) // } // }) }, // getEbaoWithdrawalsAmount () { // this.$store.dispatch('trade/getEbaoWithdrawalsAmount').then(res => { // if (res.code === 200) { // this.withdrawalsAmount = res.data.format_amount // }else{ // this.$error(res.message) // } // }) // }, getWithdrawalsUnDoneLimit: function getWithdrawalsUnDoneLimit() { var _this8 = this; this.$store.dispatch("trade/getWithdrawalsUnDoneLimit").then(function (res) { if (res.code === 200) { _this8.withdrawalUndoneLimit = res.data.withdrawals_unDone_limit - res.data.user_withdrawals_unDone_count; } else { _this8.$error(res.message); } }); }, // getEbaoWithdrawalsOrderList() { // this.$store.dispatch('trade/getEbaoWithdrawalsOrderList').then(res => { // if (res.code === 200) { // // {} 或 success å¯æ–°å¢žè¨‚å–® // this.showQuickWithdrawal = Object.keys(res.data).length !== 0 && res.data.ebao_status !== 'success' // // 如果有訂單(除 success),就拿訂單資料 // // 確èªæ˜¯å¦æœ‰è¨‚å–® 有的話è¦é€£ç·šï¼·ï¼³ // if (this.showQuickWithdrawal) { // this.withdrawalsOrderList = res.data // UserService.ebaoWebScoket.call(this) // this.getExpectTime() // if (['buyer_pay'].includes(this.withdrawalsOrderList.ebao_status)) { // this.needConfirmEbao() // } // } else { // this.getWithdrawalsUnDoneLimit() // // this.getEbaoWithdrawalsLimit() // // this.getEbaoWithdrawalsAmount() // } // } // }) // }, getWithdrawalsOrderData: function getWithdrawalsOrderData() { var _this9 = this; // if (!localStorage.getItem('recentWithdrawalOrder')) return var params = void 0; if (this.createOrderParams && this.createOrderParams.order && this.createOrderParams.time) { params = this.createOrderParams; } // 需è¦å–消æ„å¤–ç‹€æ³ æ²’æœ‰è¨‚å–®å¥½ å–消 longpllling timer if (!params) { this.clearLongPolling(); return; } else { params['get_sub'] = this.isGetSub; } // 一律拆單ã€åŠ 上 get_total 會拿到新版資料çµæ§‹ params.get_sub = 1; params.get_total = 1; this.$store.dispatch("trade/getWithdrawalsOrderData", params).then(function (res) { if (res.code === 200) { // if (res.data[0].can_confirm) { // this.isWaitingBankDetail = false; // // ----- 一般å–款詳細 // this.withdrawalsBookingType = "normalWithdrawalDetail"; // this.withdrawalsOrderList = res.data[0]; // this.$store.commit( // "trade/setCurrentSellerOrder", // res.data[0].order // ); // this.withdrawals(); // this.clearLongPolling(); // } else { // ----- 極速å–款詳細 _this9.withdrawalsBookingType = "quickWithdrawalDetail"; // {} 或 success å¯æ–°å¢žè¨‚å–® _this9.showQuickWithdrawal = true; // Object.keys(res.data).length !== 0 && // res.data[0].ebao_status !== "success" && // res.data[0].ebao_status !== "kefu_done" && // res.data[0].ebao_status !== "cancel"; // 如果有訂單(除 success kefu_done cancel),æ‰å°±æ‹¿è¨‚單資料 // 確èªæ˜¯å¦æœ‰è¨‚å–® 有的話è¦é€£ç·šï¼·ï¼³ if (_this9.showQuickWithdrawal) { _this9.withdrawalsOrderTotal = res.data.total; _this9.withdrawalsOrderList = res.data.list; _this9.withdrawalsOrderList = _this9.withdrawalsOrderList.map(function (item) { var now = Math.floor(Date.now() / 1000); item['expectTime'] = item.countDown === 0 ? 0 : item.countDown - now; return item; }); _this9.$store.commit("trade/setCurrentSellerOrder", res.data.total.order); UserService["a" /* default */].ebaoWebScoket.call(_this9); _this9.getExpectTime(); if (["buyer_pay"].includes(_this9.withdrawalsOrderList.ebao_status) && _this9.$store.state.trade.autoOpenProofModal) { // this.needConfirmEbao() _this9.$store.commit("trade/setAutoOpenProofModal", false); _this9.showModal("seeProof", "hasNotProof"); } // 開始long polling計時器 _this9.clearLongPolling(); _this9.longPollingTimer = setInterval(function () { _this9.longPolling(); }, 15000); _this9.withdrawals(); } else { _this9.withdrawals(); _this9.getWithdrawalsUnDoneLimit(); _this9.getEbaoWithdrawalsLimit(); // this.getEbaoWithdrawalsAmount() _this9.handleBookingType("ebaoWithdrawalsFast"); } // } } }); }, // needConfirmEbao() { // this.showTextModal = true // this.modalText = '您有待确认款项,<br>请尽快查看å‡è¯å¹¶ç¡®è®¤åˆ°è´¦' // }, submitArbitration: function submitArbitration() { var _this10 = this; if (this.kefuRemark === "") { this.showTextModal = true; this.modalText = "请输入未到账说明"; return false; } if (this.currentOrderKefuImg.length === 0) { this.showTextModal = true; this.modalText = "è¯·ä¸Šä¼ å‡è¯å›¾æ¡£"; return false; } if (this.isNormalWithdraw) { var params = { orderId: this.currentOrder.order, time: this.currentOrder.time, remark: this.kefuRemark, pic: this.currentOrderKefuImg }; this.$store.dispatch("trade/submitWithdrawalsArbitration", params).then(function (res) { if (res.code === 200) { _this10.kefuRemark = ""; _this10.currentOrderKefuImg = ""; _this10.showKefuModal = false; _this10.showWithdrawalProofModal = false; _this10.$success(res.data); _this10.pollingWithdrawOrderStatus(); } else { _this10.$errorAlert(res.message); } }); } else { var _params = { order: this.currentOrder.order, time: this.currentOrder.time, remark: this.kefuRemark, pic: this.currentOrderKefuImg }; this.$store.dispatch("trade/submitEbaoWithdrawalsArbitration", _params).then(function (res) { if (res.code === 200) { _this10.kefuRemark = ""; _this10.currentOrderKefuImg = ""; _this10.showKefuModal = false; _this10.showWithdrawalProofModal = false; _this10.$success(res.data); _this10.getWithdrawalsOrderData(); } else { _this10.$errorAlert(res.message); } }); } }, pollingWithdrawOrderStatus: function pollingWithdrawOrderStatus() { var _this11 = this; if (!this.createOrderParams || !this.createOrderParams.order) return; this.stopPollingWithdrawOrder(); var payload = { orderId: this.createOrderParams.order }; var stopPollingStatus = ['success', 'autoWithdrawals', 'fail', 'cancel', 'return']; this.$store.dispatch("trade/getWithdrawOrderStatus", payload).then(function (res) { if (res.code === 200) { _this11.withdrawOrderData = res.data; _this11.$store.commit("trade/setCurrentSellerOrder", res.data.code); if (!stopPollingStatus.includes(res.data.status)) { _this11.withdrawOrderStatusTimer = setTimeout(_this11.pollingWithdrawOrderStatus, _this11.createOrderParams.check_interval * 1000 || 10000); if (res.data.status === 'waitConfirm') { _this11.isWaitingBankDetail = false; } } else { _this11.isWaitingBankDetail = false; _this11.withdrawals(); } } }).catch(function () {}); }, stopPollingWithdrawOrder: function stopPollingWithdrawOrder() { if (this.withdrawOrderStatusTimer) { clearTimeout(this.withdrawOrderStatusTimer); this.withdrawOrderStatusTimer = null; } }, getCountdownTime: function getCountdownTime() { var _this12 = this; this.$http.post(this.$HOST_NAME + "/deposit/countdown").then(function (res) { if (res.code === 200) { _this12.countdownTimeValue = res.data.countdown; _this12.pollingOrderInterval = res.data.polling_check_interval; _this12.reminderTimeValue = res.data.call_countdown; } else { _this12.countdownTimeValue = 1800; _this12.pollingOrderInterval = 10; _this12.reminderTimeValue = 900; } }).catch(function () { _this12.countdownTimeValue = 1800; _this12.pollingOrderInterval = 10; _this12.reminderTimeValue = 900; }); }, handleFromAnotherPage: function handleFromAnotherPage() { var _this13 = this; this.$store.commit("trade/setIsFromAnotherPage", false); this.isGetSub = 0; // é è¨ 1 接收拆單,0 ä¸æ‹†å–® this.createOrderParams.order = this.$store.state.trade.withdrawalDataParams.order; this.createOrderParams.time = this.$store.state.trade.withdrawalDataParams.time; if (this.$store.state.trade.withdrawalDataParams.type === 'withdrawals') { this.pollingWithdrawOrderStatus(); this.withdrawalsBookingType = "normalWithdrawalDetail"; this.withdrawOrderData = this.$store.state.trade.withdrawalDataParams; } else { this.withdrawalsBookingType = "quickWithdrawalDetail"; this.withdrawalsOrderList = [this.$store.state.trade.withdrawalDataParams].map(function (item) { var now = Math.floor(Date.now() / 1000); item['expectTime'] = item.countDown === 0 ? 0 : item.countDown - now; return item; }); this.getWithdrawalsOrderData(); this.clearLongPolling(); this.longPollingTimer = setInterval(function () { _this13.longPolling(); }, 15000); } } }, components: { swiper: vue_awesome_swiper["swiper"], swiperSlide: vue_awesome_swiper["swiperSlide"], uploadCredential: personals_recharge_uploadCredential, quickwithdrawal: personals_withdraw_quickWithdrawal, normalwithdrawal: personals_withdraw_normalWithdrawal }, created: function created() { var _this14 = this; this.handleBookingType(''); this.$nextTick(function () { _this14.userBank(); _this14.withdrawals(); _this14.fetchUserWithdrawAmmount(); // 檢查是å¦æœ‰æ£åœ¨é€²è¡Œçš„å–款訂單 // this.getEbaoWithdrawalsOrderList() _this14.getEbaoWithdrawalsLimit(); _this14.getWithdrawalsUnDoneLimit(); _this14.withdrawalsAmount[0] ? true // (this.radioAmount = this.withdrawalsAmount[0]) : _this14.customAmount = _this14.amount; if (_this14.$store.state.trade.isFromAnotherPage) { _this14.handleFromAnotherPage(); } else { _this14.handleBookingType(_this14.bankRechargeConfig.list[0].type); } }); }, destroyed: function destroyed() { clearInterval(this.timer); this.clearLongPolling(); this.stopPollingWithdrawOrder(); this.$store.commit("loading", false); this.$store.commit("trade/setCurrentSellerOrder", ""); }, computed: { rewardMoney: function rewardMoney() { var isEbao = this.currentOrder.ebao_status; var preferential = null; if (isEbao) { preferential = this.quickEbaoPreferentialConfig ? this.quickEbaoPreferentialConfig.preferential : null; } else { preferential = this.preferentialConfig ? this.preferentialConfig.preferential : null; } if (!preferential || !this.currentOrder || !this.currentOrder.amount) return 0; return "" + (+this.currentOrder.amount * this.quickEbaoPreferentialConfig.preferential / 100).toFixed(2); }, navView: function navView() { return this.$store.state.personal.navView; }, // showCustomInput() { // return !( // this.withdrawalsBookingType === "ebaoWithdrawalsFast" && // this.radioAmount // ); // }, bankRechargeConfig: function bankRechargeConfig() { if (this.$store.state.personal.isBookingWithdrawal) { return this.$store.state.personal.rechargeConfig.find(function (e) { return e.type === "booking"; }) || false; } else { return this.$store.state.personal.rechargeConfig.find(function (e) { return e.type === "ebaoWithdrawalsFast" || e.type === "normal"; }) || false; } }, withdrawalsAmount: function withdrawalsAmount() { if (!this.bankRechargeConfig && !this.bankRechargeConfig.list) return []; var rechargeData = this.bankRechargeConfig.list.find(function (e) { return e.type === "bank"; }); if (rechargeData && rechargeData.format_amount) { return rechargeData.format_amount; } else { return []; } }, isShowCustomerAmount: function isShowCustomerAmount() { if (!this.bankRechargeConfig && !this.bankRechargeConfig.list) return []; if (this.bankRechargeConfig.type === "ebaoWithdrawalsFast") { var rechargeData = this.bankRechargeConfig.list.find(function (e) { return e.type === "bank"; }); if (rechargeData && rechargeData.extra && rechargeData.extra.customer_amount_status) { return rechargeData.extra.customer_amount_status; // 'on':顯示 / 'off':ä¸é¡¯ç¤º } } // 预约å–款ã€ä¸€èˆ¬å–款è¦å¯ä»¥è¾“å…¥é‡‘é¢ return "on"; }, handleTabData: function handleTabData() { var _this15 = this; if (!this.bankRechargeConfig && !this.bankRechargeConfig.list) return []; if (this.$store.state.personal.isBookingWithdrawal) { this.withdrawalsBookingType = "booking"; } else if (!this.createOrderParams || !this.createOrderParams.order || !this.createOrderParams.time) { // 如果ä¸æ˜¯è¦çœ‹è¨‚單詳情,active ç¬¬ä¸€é¡ºä½ this.handleBookingType(this.bankRechargeConfig.list[0].type); } // 補 quickWithdrawalDetail é é¢å…±ç”¨ tab active var dataList = this.bankRechargeConfig.list.map(function (e) { if (_this15.bankRechargeConfig.type === "ebaoWithdrawalsFast") { return extends_default()({}, e, { active: ["" + e.type, "quickWithdrawalDetail"] }); } else { return extends_default()({}, e, { active: ["" + e.type] }); } }); return dataList; }, isWithdrawalLimit: function isWithdrawalLimit() { return this.withdrawalLimit <= 0; }, isUndoneLimit: function isUndoneLimit() { return this.withdrawalUndoneLimit <= 0; }, quickEbaoPreferentialConfig: function quickEbaoPreferentialConfig() { var bonusConfig = JSON.parse(localStorage.config).preferential_config.find(function (e) { return e.depositType === "ebao_withdrawals_fast"; }); if (!bonusConfig) return null; if (bonusConfig.status === "on") { return bonusConfig.config[0] || false; } else { return false; } }, preferentialConfig: function preferentialConfig() { var bonusConfig = JSON.parse(localStorage.config).preferential_config.find(function (e) { return e.depositType === "ebao_withdrawals_fast"; }); if (!bonusConfig) return null; if (bonusConfig.status === "on") { return bonusConfig.config[0] || false; } else { return false; } }, hasPayVoucher: function hasPayVoucher() { return keys_default()(this.currentOrder).length > 0 && this.currentOrder.pay_voucher && this.currentOrder.pay_voucher.length > 0; }, swiper: function swiper() { return this.$refs.mySwiper.swiper; }, bankDetail: function bankDetail() { return this.bankList[this.swiper.activeIndex - 1]; }, bookingConfig: function bookingConfig() { if (this.$store.state.personal.bookingConfig.length > 0) { this.bookingHour = this.$store.state.personal.bookingConfig[0].hours; } return this.$store.state.personal.bookingConfig; }, maxBookingBonus: function maxBookingBonus() { return this.$store.state.personal.maxBookingBonus; }, ebaoWsMessage: function ebaoWsMessage() { return this.$store.state.trade.ebaoWebsocketOnmessage; }, isNormalWithdraw: function isNormalWithdraw() { return this.withdrawalsBookingType === "normalWithdrawalDetail" || this.withdrawalsBookingType === "normal"; }, credentialType: function credentialType() { return this.isNormalWithdraw ? "withdrawals_bank" : "seller_credential"; }, isFromAnotherPage: function isFromAnotherPage() { return this.$store.state.trade.isFromAnotherPage; } }, watch: { ebaoWsMessage: function ebaoWsMessage(val) { var _this16 = this; if (!val.action) return; if (this.isNormalWithdraw) return; switch (val.action) { case "connect": //建立連線 case "seller_created": //後å°å¯©æ ¸é€šéŽé€šçŸ¥è³£å®¶ this.isWaitingAudit = false; setTimeout(function () { _this16.getWithdrawalsOrderData(); }, 3000); break; case "system_wait": // 仲è£ä¸ case "system_wait_done": // 仲è£å®Œæˆ case "buyer_pay": // 订å•æ¶ˆæ¯-通知å–家,买家已ç»ä»˜æ¬¾: case "buyer_created": // 订å•æ¶ˆæ¯ 通知å–å®¶æœ‰ä¹°å• case "buyer_cancel": // 订å•æ¶ˆæ¯ 通知å–家,买å•å–消 case "wait": // 订å•æ¶ˆæ¯ ä¹°å•çŠ¶æ€ä¸ºä»²è£ä¸ case "expired_seller_cancel": // 超時å–消 呼å«è²·å®¶ case "third_status_complete": // 超時æ款單 - 後å°ç›´æŽ¥æ¨™è¨˜æˆåŠŸ case "third_status_daifu": // 超時æ款單 - 後å°ä½¿ç”¨å…¶ä»–出款æˆåŠŸ case "call_seller": // 买家呼å«å–家 this.getWithdrawalsOrderData(); break; default: break; } }, navView: { handler: function handler(val, oldVal) { this.handleBookingType(val.type); }, deep: true }, isFromAnotherPage: function isFromAnotherPage(val) { if (val) { this.handleFromAnotherPage(); } } }, beforeDestroy: function beforeDestroy() { this.clearLongPolling(); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-54177d9e","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/request.vue var request_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (this.bankList.length)?_c('div',{staticClass:"deposit"},[_c('div',{staticClass:"header"},[_c('div',{staticClass:"title"},[_vm._v("\n "+_vm._s(_vm.$store.state.personal.withdrawalTitle)+"\n ")]),_vm._v(" "),_c('div',{staticClass:"tab-group"},_vm._l((_vm.handleTabData),function(item){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showTab(item.type)),expression:"showTab(item.type)"}],key:item.title,class:[ 'tab-item', { active: item.active.includes(_vm.withdrawalsBookingType) || (_vm.$store.state.personal.isBookingWithdrawal && item.type === 'bank') } ],on:{"click":function($event){return _vm.handleBookingType(item.type)}}},[_c('div',{staticClass:"text"},[_vm._v(_vm._s(item.title))]),_vm._v(" "),[( _vm.bankRechargeConfig.type === 'ebaoWithdrawalsFast' && _vm.quickEbaoPreferentialConfig )?_c('div',{staticClass:"top-hot-img"},[_c('img',{attrs:{"src":"/static/public/image/userImg/quick-deposit-heat.png"}}),_vm._v(" "),_c('span',{staticStyle:{"margin-left":"-10px"}},[_vm._v("åŠ é€"+_vm._s(_vm.quickEbaoPreferentialConfig.preferential)+"%")])]):_vm._e(),_vm._v(" "),( false)?_c('div',{staticClass:"hot hot-booking"},[_c('img',{staticClass:"hot-tag",attrs:{"src":"/static/public/image/bankImg/hot-tag.png","alt":""}}),_vm._v(" "),_c('span',{staticClass:"hot-text"},[_vm._v("æœ€é«˜åŠ é€"+_vm._s(_vm.maxBookingBonus)+"%")])]):_vm._e()]],2)}),0)]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-left fl"},[(_vm.withdrawalsBookingType === 'quickWithdrawalDetail')?_c('quickwithdrawal',{key:'key',attrs:{"total":_vm.withdrawalsOrderTotal,"list":_vm.withdrawalsOrderList,"isWaitingAudit":_vm.isWaitingAudit},on:{"clearLongPolling":_vm.clearLongPolling,"openConfirm":_vm.handleOpenWithdrawalsConfirm,"openKefu":_vm.handleOpenKefu}}):_vm._e(),_vm._v(" "),(_vm.withdrawalsBookingType === 'normalWithdrawalDetail')?_c('normalwithdrawal',{attrs:{"withdrawOrderData":_vm.withdrawOrderData,"isWaitingBankDetail":_vm.isWaitingBankDetail},on:{"openConfirm":_vm.handleOpenWithdrawalsConfirm,"openKefu":_vm.handleOpenKefu}}):_vm._e(),_vm._v(" "),_c('section',{directives:[{name:"show",rawName:"v-show",value:( ['ebaoWithdrawalsFast', 'normal', 'booking'].includes( _vm.withdrawalsBookingType ) ),expression:"\n ['ebaoWithdrawalsFast', 'normal', 'booking'].includes(\n withdrawalsBookingType\n )\n "}]},[_c('div',{staticClass:"list_user",on:{"mouseenter":_vm.showBtn,"mouseleave":_vm.hideBtn}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slidePrev"},[_c('Icon',{attrs:{"type":"ios-arrow-left"}})],1),_vm._v(" "),_c('swiper',{ref:"mySwiper",attrs:{"options":_vm.swiperOption}},[_vm._l((_vm.bankList),function(item,index){return _c('swiper-slide',{key:index,model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},[_c('div',{staticClass:"slide_box"},[_c('div',{staticClass:"slide_list",style:({ backgroundImage: 'url(' + item.imgUrl + ')', backgroundSize: 'cover' })},[(item.status == 'no')?_c('div',{staticClass:"mask"},[_c('img',{attrs:{"src":"/static/public/image/bankImg/stop.png","alt":""}})]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"title"},[_c('img',{attrs:{"src":"/static/public/image/bank/yhk.png","alt":""}}),_vm._v(" "),_c('span',[_vm._v(_vm._s(item.bankName))])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('p',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fl"},[_vm._v(" å–款人:"+_vm._s(item.cardName)+" ")]),_vm._v(" "),_c('span',{staticClass:"fr"},[_vm._v(" 绑定时间: "+_vm._s(item.created_at)+" ")])])])])])}),_vm._v(" "),_c('div',{staticClass:"swiper-pagination",attrs:{"slot":"pagination"},slot:"pagination"})],2),_vm._v(" "),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slideNext"},[_c('Icon',{attrs:{"type":"ios-arrow-right"}})],1)],1),_vm._v(" "),_c('div',{staticClass:"pay-bankinfo"},[(_vm.withdrawalsBookingType === 'booking')?_c('div',{staticClass:"row"},[_c('label',[_vm._v("预约时间:")]),_vm._v(" "),_c('Select',{staticClass:"bookingSelect",staticStyle:{"width":"242px"},on:{"on-change":_vm.handleBooking},model:{value:(_vm.bookingHour),callback:function ($$v) {_vm.bookingHour=$$v},expression:"bookingHour"}},_vm._l((_vm.bookingConfig),function(item){return _c('Option',{key:item.bonus,attrs:{"value":item.hours}},[_vm._v("0-"+_vm._s(item.hours)+"å°æ—¶ä¹‹å†…å–款-åŠ é€"+_vm._s(item.bonus)+"%")])}),1)],1):_vm._e(),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{class:{ customLabel: _vm.withdrawalsBookingType === 'ebaoWithdrawalsFast' && _vm.withdrawalsAmount.length > 0 }},[_vm._v("æ款金é¢ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowCustomerAmount === 'on'),expression:"isShowCustomerAmount === 'on'"},{name:"model",rawName:"v-model",value:(_vm.amount),expression:"amount"}],class:{ 'custom-radio-input': _vm.withdrawalsBookingType === 'ebaoWithdrawalsFast' && _vm.withdrawalsAmount.length > 0 },attrs:{"placeholder":'å¯æ现金é¢' + _vm.availableAmount + 'å…ƒ',"onkeyup":"value=value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,'$1$2.$3')","autocomplete":"off","type":"text"},domProps:{"value":(_vm.amount)},on:{"input":[function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value},function($event){_vm.radioAmount = ''}],"blur":_vm.hanlderAmount}}),_vm._v(" "),_c('a',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowCustomerAmount === 'on'),expression:"isShowCustomerAmount === 'on'"}],staticStyle:{"font-size":"14px","color":"#2d8cf0"},attrs:{"href":"javascript:;"},on:{"click":function($event){_vm.amount = _vm.availableAmount}}},[_vm._v("å…¨é¢æ款")]),_vm._v(" "),(_vm.withdrawalsBookingType === 'ebaoWithdrawalsFast')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.withdrawalsAmount.length > 0),expression:"withdrawalsAmount.length > 0"}],class:['radio-content', { hasCustom : _vm.isShowCustomerAmount === 'on' }]},[_c('RadioGroup',{staticClass:"radio-group",style:({ marginBottom: _vm.withdrawalsAmount.length % 4 === 0 ? '22.5px' : 0 }),on:{"on-change":_vm.handleRadioAmount},model:{value:(_vm.radioAmount),callback:function ($$v) {_vm.radioAmount=$$v},expression:"radioAmount"}},_vm._l((_vm.withdrawalsAmount),function(item,i){return _c('Radio',{key:(i + "-" + item),attrs:{"label":item}},[_c('span',{staticClass:"radio-span"},[_vm._v(_vm._s(item))])])}),1)],1):_vm._e()]),_vm._v(" "),(_vm.notAmount > 0)?_c('div',{staticClass:"row middle"},[_c('span',{domProps:{"innerHTML":_vm._s(_vm.relMsg)}})]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("资金密ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","placeholder":"请输入6ä½èµ„金密ç ","maxlength":"6","autocomplete":"off"},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})])]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:( !_vm.isWithdrawalNoLimit && _vm.withdrawalsBookingType === 'ebaoWithdrawalsFast' ),expression:"\n !isWithdrawalNoLimit &&\n withdrawalsBookingType === 'ebaoWithdrawalsFast'\n "}],staticClass:"quick-withdrawal-times"},[_vm._v("\n 今日å¯æžé€Ÿå–款:"),_c('span',[_vm._v(_vm._s(_vm.withdrawalLimit))]),_vm._v(" 次\n ")]),_vm._v(" "),_c('div',{staticClass:"submit",class:[{ active: _vm.canClick }, { disable: _vm.isWithdrawalLimit }],on:{"click":_vm.application}},[_vm._v("\n "+_vm._s(_vm.isWithdrawalLimit ? "已达次数上é™" : "确认æ交")+"\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({ top: _vm.toastNum + 'px' })},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()])],1),_vm._v(" "),_c('div',{staticClass:"deposit-right fl"},[_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='line-height:453px;background:#f2f2f2;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}})],1)]),_vm._v(" "),_c('Modal',{staticClass:"quick-withdrawal-modal press-modal",attrs:{"width":"315","closable":false,"mask-closable":false},model:{value:(_vm.showTextModal),callback:function ($$v) {_vm.showTextModal=$$v},expression:"showTextModal"}},[_c('div',{staticClass:"press-modal-container"},[_c('span',{domProps:{"innerHTML":_vm._s(_vm.modalText)}})]),_vm._v(" "),_c('div',{staticClass:"press-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"press-modal-footer-cancel",on:{"click":function($event){_vm.showTextModal = false}}},[_vm._v("\n 确定\n ")])])]),_vm._v(" "),_c('Modal',{staticClass:"quick-withdrawal-modal proof-modal",attrs:{"width":"360","height":"442","closable":false,"mask-closable":false},model:{value:(_vm.showWithdrawalProofModal),callback:function ($$v) {_vm.showWithdrawalProofModal=$$v},expression:"showWithdrawalProofModal"}},[_c('div',{staticClass:"proof-modal-header"},[_c('h3',{staticClass:"proof-modal-header-title"},[_vm._v("到账å‡è¯ä¿¡æ¯")]),_vm._v(" "),_c('span',{staticClass:"proof-modal-header-close",on:{"click":function($event){_vm.showWithdrawalProofModal = false}}},[_c('img',{attrs:{"src":"/static/public/image/userImg/close.png"}})])]),_vm._v(" "),_c('div',{class:['proof-modal-container', { active: _vm.hasProofStatus }]},[_c('div',{staticClass:"proof-modal-container-title"},[_vm._v("\n "+_vm._s(_vm.hasProofStatus ? _vm.currentOrder.hasOwnProperty("ebao_status") ? _vm.getEbaoRemark(_vm.currentOrder.ebao_status) : _vm.getWithdrawRemark(_vm.currentOrder.status) : "已确认")+"\n ")]),_vm._v(" "),_c('div',{staticClass:"proof-modal-container-money"},[_c('span',{staticClass:"money"},[_vm._v(_vm._s(_vm.currentOrder.amount))]),_vm._v(" å…ƒ\n ")]),_vm._v(" "),(_vm.hasProofStatus && _vm.currentOrder.expectTime > 0)?_c('div',{staticClass:"proof-modal-container-expect"},[_vm._v("\n 预计到账倒计时:"),_c('span',{staticClass:"expect-time"},[_vm._v(_vm._s(_vm.getTimer(_vm.currentOrder.expectTime)))])]):_vm._e(),_vm._v(" "),(_vm.quickEbaoPreferentialConfig)?_c('div',{staticClass:"proof-modal-container-preferential"},[_c('span',{staticClass:"red"},[_vm._v(_vm._s(_vm.quickEbaoPreferentialConfig.expiredTime || 0))]),_vm._v("\n 分钟内确认,å¯èŽ·å¾—\n "),_c('span',{staticClass:"red"},[_vm._v(_vm._s(_vm.quickEbaoPreferentialConfig.preferential || 0)+"%")]),_vm._v("\n çš„å–款返利\n ")]):_vm._e(),_vm._v(" "),(_vm.hasPayVoucher)?_c('div',{staticClass:"proof-modal-container-upload"},[_c('div',{staticClass:"time"},[_vm._v("\n ä¸Šä¼ æ—¶é—´ï¼š"),_c('span',[_vm._v(_vm._s(this.$moment .unix(_vm.currentOrder.buyer_pay_time) .format("YYYY-MM-DD HH:mm:ss")))])]),_vm._v(" "),_c('div',{staticClass:"proof"},[_vm._v("\n 支付å‡è¯ï¼š\n "),_c('div',{staticClass:"two-pic"},_vm._l((_vm.currentOrder.pay_voucher),function(pic){return _c('div',{key:pic,staticClass:"img",on:{"click":function($event){return _vm.showModal('img', pic)}}},[_c('img',{attrs:{"src":pic,"alt":""}})])}),0)])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"proof-modal-container-btns"},[(_vm.hasProofStatus)?_c('div',{staticClass:"kefu-btn",on:{"click":function($event){_vm.showKefuModal = true}}},[_vm._v("\n 申请仲è£\n ")]):_vm._e(),_vm._v(" "),(_vm.hasProofStatus)?_c('div',{staticClass:"confirm-btn",on:{"click":function($event){return _vm.handleWithdrawalsConfirm()}}},[(_vm.quickEbaoPreferentialConfig && _vm.quickEbaoPreferentialConfig.preferential)?_c('div',{staticClass:"hot-img"},[_c('img',{attrs:{"src":"/static/public/image/userImg/quick-deposit-heat.png"}}),_vm._v(" "),_c('span',[_vm._v("åŠ é€"+_vm._s(_vm.quickEbaoPreferentialConfig.preferential)+"%")])]):_vm._e(),_vm._v("\n 确认到账\n ")]):_c('div',{staticClass:"confirm-btn"},[_vm._v("\n "+_vm._s(_vm.currentOrder.ebao_status === "audit" ? _vm.getEbaoRemark("audit") : "已确认到账")+"\n ")])]),_vm._v(" "),(_vm.hasProofStatus)?_c('div',{staticClass:"proof-modal-container-tips"},[_vm._v("\n è‹¥æ— æ³•ç¡®è®¤åˆ°è´¦ï¼Œè¯·ç”³è¯·ä»²è£ç”±æœåŠ¡äººå‘˜ä¸ºæ‚¨å¤„ç†\n ")]):_vm._e()])]),_vm._v(" "),_c('Modal',{staticClass:"quick-withdrawal-modal img-modal",attrs:{"width":"100%","closable":false,"mask-closable":false},model:{value:(_vm.showBigImgModal),callback:function ($$v) {_vm.showBigImgModal=$$v},expression:"showBigImgModal"}},[_c('div',{staticClass:"img-modal-container"},[_c('img',{staticClass:"img-modal-container-close",attrs:{"src":"/static/public/image/userImg/close-img.png"},on:{"click":function($event){_vm.showBigImgModal = false}}}),_vm._v(" "),_c('div',{staticClass:"img"},[_c('img',{attrs:{"src":_vm.modalPic,"alt":""}})])])]),_vm._v(" "),_c('Modal',{staticClass:"quick-withdrawal-modal kefu-modal",attrs:{"width":"315","closable":false,"mask-closable":false},model:{value:(_vm.showKefuModal),callback:function ($$v) {_vm.showKefuModal=$$v},expression:"showKefuModal"}},[_c('div',{staticClass:"kefu-modal-container"},[_c('div',{staticClass:"kefu-modal-container-label"},[_vm._v("è¯·ä¸Šä¼ æœªåˆ°å¸çš„银行å¸å•æˆªå›¾ï¼š")]),_vm._v(" "),_c('div',{staticClass:"kefu-modal-container-upload"},[(_vm.currentOrder.order)?_c('upload-credential',{attrs:{"defaultImgUrlArray":_vm.currentOrder.proof_voucher,"orderNo":_vm.currentOrder.order,"orderTime":_vm.currentOrder.time,"isUpload":false,"type":_vm.credentialType},on:{"emit-credential":_vm.getCredentialPics}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"prompt"},[_vm._v("æ–‡ä»¶æ ¼å¼ä¸ºpngã€jpgã€jpeg,档案ä¸è¶…过5MB")])],1),_vm._v(" "),_c('div',{staticClass:"kefu-modal-container-label"},[_vm._v("补充说明:")]),_vm._v(" "),_c('textarea',{directives:[{name:"model",rawName:"v-model",value:(_vm.kefuRemark),expression:"kefuRemark"}],staticClass:"kefu-modal-container-textarea",attrs:{"placeholder":"未到账说明"},domProps:{"value":(_vm.kefuRemark)},on:{"input":function($event){if($event.target.composing){ return; }_vm.kefuRemark=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"kefu-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"kefu-modal-footer-cancel",on:{"click":function($event){_vm.showKefuModal = false}}},[_vm._v("\n å–消\n ")]),_vm._v(" "),_c('div',{staticClass:"kefu-modal-footer-submit",on:{"click":function($event){return _vm.submitArbitration()}}},[_vm._v("\n 确定\n ")])])]),_vm._v(" "),_c('Modal',{staticClass:"quick-withdrawal-modal proof-done-modal",attrs:{"width":"315","closable":false,"mask-closable":false},model:{value:(_vm.showWithdrawalProofDoneModal),callback:function ($$v) {_vm.showWithdrawalProofDoneModal=$$v},expression:"showWithdrawalProofDoneModal"}},[_c('div',{staticClass:"proof-done-modal-container"},[_c('h3',{staticClass:"proof-done-modal-container-title"},[_vm._v("请å†æ¬¡ç¡®è®¤å·²æ”¶åˆ°çš„款项ï¼")]),_vm._v(" "),_c('p',{staticClass:"proof-done-modal-text-2"},[_vm._v("请务必收到款项åŽæ‰ç‚¹å‡»ç¡®è®¤ï¼Œ")]),_vm._v(" "),_c('p',{staticClass:"proof-done-modal-text-2"},[_vm._v("如é‡åˆ°æ¬¾é¡¹ä¸åˆ°å¸æˆ‘å¸ä¸è´Ÿè´£ï¼")])]),_vm._v(" "),_c('div',{staticClass:"proof-done-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"proof-done-modal-footer-cancel",on:{"click":function($event){_vm.showWithdrawalProofDoneModal = false}}},[_vm._v("\n å–消\n ")]),_vm._v(" "),_c('div',{staticClass:"proof-done-modal-footer-submit",on:{"click":function($event){return _vm.handleWithdrawalsConfirm()}}},[_vm._v("\n 确认\n ")])])]),_vm._v(" "),_c('Modal',{staticClass:"quick-withdrawal-modal press-modal",attrs:{"width":"315","closable":false,"mask-closable":false},model:{value:(_vm.showWithdrawalRewardModal),callback:function ($$v) {_vm.showWithdrawalRewardModal=$$v},expression:"showWithdrawalRewardModal"}},[_c('div',{staticClass:"press-modal-container"},[_c('h3',{staticClass:"proof-done-modal-container-title"},[_vm._v("确认到账ï¼")]),_vm._v(" "),_c('h3',{staticClass:"proof-done-modal-container-title"},[_vm._v(_vm._s(_vm.withdrawRewardMessage))])]),_vm._v(" "),_c('div',{staticClass:"press-modal-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('div',{staticClass:"press-modal-footer-cancel",on:{"click":function($event){return _vm.handleWithdrawalRewardConfirm()}}},[_vm._v("\n 确定\n ")])])])],1):_vm._e()} var request_staticRenderFns = [] var request_esExports = { render: request_render, staticRenderFns: request_staticRenderFns } /* harmony default export */ var withdraw_request = (request_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/request.vue function request_injectStyle (ssrContext) { __webpack_require__("a0FK") } var request_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var request___vue_template_functional__ = false /* styles */ var request___vue_styles__ = request_injectStyle /* scopeId */ var request___vue_scopeId__ = "data-v-54177d9e" /* moduleIdentifier (server only) */ var request___vue_module_identifier__ = null var request_Component = request_normalizeComponent( request, withdraw_request, request___vue_template_functional__, request___vue_styles__, request___vue_scopeId__, request___vue_module_identifier__ ) /* harmony default export */ var personals_withdraw_request = (request_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/usdtRequest.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var usdtRequest = ({ data: function data() { var _this = this; return { withdrawalsBookingType: "normal", bookingHour: 0, rate: 7.0, showSome: false, value1: 0, bankSerialNumber: "0.00", bankList: [], imgUrl: "/static/public/image/userImg/usdt_bank.png", amount: "", availableAmount: "", notAmount: "", totalAmount: "", unavailableReason: "", payPassword: "", toastShow: false, toastNum: 430, toastText: "", columns: [{ title: "USDT地å€", align: "center", key: "bankName", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", Number(params.row.usdt_count) > 0 ? "å°¾å·:" + (params.row.bankAccount.length > 6 ? params.row.bankAccount.substring(params.row.bankAccount.length - 6, params.row.bankAccount.length) : params.row.bankAccount) : params.row.bankName)]); } }, { title: "æ款金é¢", align: "center", key: "amount", className: "demo-table-info-column" }, { title: "æ款时间", key: "time", align: "center", className: "demo-table-info-column", width: 150, render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.time - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "状æ€", align: "center", key: "status", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", params.row.status == "success" || params.row.status == "virtualWithdrawals" || params.row.status === "thirdWalletWithdrawals" || params.row.status === "alipayWithdrawals" ? "æˆåŠŸ" : false || params.row.status == "fail" ? "失败" : "å®¡æ ¸ä¸")]); } }], data: [], canClick: false, swiperOption: { loop: true, slidesPerView: 1, pagination: { el: ".swiper-pagination", clickable: true }, navigation: { nextEl: ".slideNext", prevEl: ".slidePrev" } } }; }, methods: { showTab: function showTab(type) { if (this.handleTabData.length <= 1) { return false; } if (type === "booking") { return this.bookingConfig.length > 0; } else { return true; } }, handleBooking: function handleBooking(val) { this.bookingHour = val; }, showBtn: function showBtn() { if (this.bankList.length > 1) { this.showSome = true; } }, hideBtn: function hideBtn() { this.showSome = false; }, fetchUserWithdrawAmmount: function fetchUserWithdrawAmmount() { var _this2 = this; this.$http.post(this.$HOST_NAME + "/withdrawals/getWithdrawAmount").then(function (res) { if (res.code === 200 && res.data) { var _res$data = res.data, amount = _res$data.amount, notAmount = _res$data.notAmount, msg = _res$data.msg, totalAmount = _res$data.totalAmount; _this2.availableAmount = amount.toFixed(2); //å¯ç”¨æ€»é¢ _this2.notAmount = notAmount; //ä¸å¯ç”¨é‡‘é¢ // this.unavailableReason = msg.split(',')[1] //ä¸å¯ç”¨åŽŸå› _this2.unavailableReason = msg; _this2.totalAmount = totalAmount; //æ€»é‡‘é¢ } else { _this2.$error(res.message); } }); }, setList: function setList() { var _this3 = this; if (this.bankList.length) { this.bankList.forEach(function (v) { v.created_at = _this3.$moment.unix(v.created_at - 0).format("YYYY-MM-DD HH:mm:ss"); }); } }, // å–款申请 application: function application() { var _this4 = this; if (this.canClick) { return false; } // if(this.bankDetail.status=="no"){ // this.$error("该银行å¡å·²åœç”¨") // return false // } var isMoney = this.dInvalidMoney(this.amount); var isPwd = this.validatePwdAccount(this.payPassword); if (!isMoney) { this.toastShow = true; this.toastNum = 356; this.toastText = "请输入æ£ç¡®é‡‘é¢"; return false; } if (Number(this.amount) < Number(JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit)) { this.toastShow = true; this.toastNum = 356; this.toastText = "æ款金é¢ä¸èƒ½å°äºŽ" + JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit; return false; } if (this.amount * 1 > this.availableAmount * 1) { this.toastShow = true; this.toastNum = 356; this.toastText = "å–款金é¢ä¸èƒ½å¤§äºŽå¯ç”¨é‡‘é¢"; return false; } if (!isPwd) { this.toastShow = true; this.toastNum = 490; this.toastText = "请输入æ£ç¡®6ä½æ•°å—资金密ç "; return false; } if (this.availableAmount <= 0) { this.$toast(this.unavailableReason); return false; } var payload = { amount: this.amount, payPassword: this.payPassword, bankId: this.bankList[this.$refs.mySwiper.swiper.activeIndex].id, withdrawalsType: "usdtWithdrawals" }; if (this.withdrawalsBookingType === "booking") { payload.isBooking = 1; payload.bookingHour = this.bookingHour; } this.toastShow = false; this.canClick = true; setTimeout(function () { _this4.canClick = false; }, 3 * 1000); this.$http.post(this.$HOST_NAME + "/member/setBalanceToLocal").then(function (res) { if (res.code == 200) { // this.amount = this.amount.toFixed(2) _this4.$http.post(_this4.$HOST_NAME + "/withdrawals/application", payload).then(function (res) { if (res.code == 200) { _this4.amount = ""; _this4.payPassword = ""; _this4.$success("申请æˆåŠŸ"); _this4.withdrawals(); _this4.fetchUserWithdrawAmmount(); } else if (res.code == 5011) { // ææ¬¾æ—¶ä¼ å›ž 5011 弹出绑定电è¯è§†çª—。 _this4.$store.commit("alert/changbindPhone", true); } else { _this4.$error(res.message); } }); } }); }, // 最近åæ¡å–款记录 withdrawals: function withdrawals() { var _this5 = this; var params = { money_type: "USDT" }; this.$http.post(this.$HOST_NAME + "/withdrawals/last", params).then(function (res) { if (res.code == 200) { _this5.data = res.data; _this5.data = _this5.data.filter(function (v) { return v.usdt_count && Number(v.usdt_count) > 0; }); } }); }, hanlderAmount: function hanlderAmount() { if (this.amount.indexOf(".") != -1) { this.amount = this.amount.substring(0, this.amount.indexOf(".") + 3); } }, handleBookingType: function handleBookingType(type) { if (this.$store.state.personal.isBookingWithdrawal) { if (type === "bank") { // USDT 预约å–款,用 USDT 的模组 this.$store.commit("showNav", { child: { type: "booking", subType: "bank" } }); } else if (type === "usdt") { this.withdrawalsBookingType = "booking"; } } else { this.withdrawalsBookingType = type; } } }, components: { swiper: vue_awesome_swiper["swiper"], swiperSlide: vue_awesome_swiper["swiperSlide"] }, created: function created() { var _this6 = this; this.$nextTick(function () { _this6.bankList = _this6.$store.state.personal.usdtList; if (!_this6.bankList.length) { _this6.$error("请绑定USDT", 3000); _this6.$store.commit("showContent", { parent: "withdraw" }); _this6.$store.commit("showNav", { child: 6 }); } // this.setList() _this6.withdrawals(); _this6.fetchUserWithdrawAmmount(); }); }, destroyed: function destroyed() { this.$store.commit("loading", false); }, computed: { handleTabData: function handleTabData() { if (this.$store.state.personal.isBookingWithdrawal) { var usdtData = this.$store.state.personal.rechargeConfig.find(function (e) { return e.type === "booking"; }); if (!usdtData && !usdtData.list) return []; this.withdrawalsBookingType = "booking"; return usdtData.list; } else { var _usdtData = this.$store.state.personal.rechargeConfig.find(function (e) { return e.type === "usdt"; }); if (!_usdtData && !_usdtData.list) return []; // active ç¬¬ä¸€é †ä½ this.withdrawalsBookingType = _usdtData.list[0].type; return _usdtData.list; } }, swiper: function swiper() { return this.$refs.mySwiper.swiper; }, bankDetail: function bankDetail() { return this.bankList[this.swiper.activeIndex - 1]; }, bookingConfig: function bookingConfig() { if (this.$store.state.personal.bookingConfig.length > 0) { this.bookingHour = this.$store.state.personal.bookingConfig[0].hours; } return this.$store.state.personal.bookingConfig; }, maxBookingBonus: function maxBookingBonus() { return this.$store.state.personal.maxBookingBonus; } }, watch: { amount: function amount(val) { this.bankSerialNumber = (this.amount / this.bankList[this.value1].usdtDepositRate).toFixed(4); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-28194f62","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/usdtRequest.vue var usdtRequest_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"deposit"},[_c('div',{staticClass:"header"},[_c('div',{staticClass:"title"},[_vm._v("\n "+_vm._s(_vm.$store.state.personal.withdrawalTitle)+"\n ")]),_vm._v(" "),_c('div',{staticClass:"tab-group"},_vm._l((_vm.handleTabData),function(item){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showTab(item.type)),expression:"showTab(item.type)"}],key:item.title,class:[ 'tab-item', { active: item.type === _vm.withdrawalsBookingType || (_vm.$store.state.personal.isBookingWithdrawal && item.type === 'usdt') } ],on:{"click":function($event){return _vm.handleBookingType(item.type)}}},[_c('div',{staticClass:"text"},[_vm._v(_vm._s(item.title))]),_vm._v(" "),[(item.type === 'booking')?_c('div',{staticClass:"hot hot-booking"},[_c('img',{staticClass:"hot-tag",attrs:{"src":"/static/public/image/bankImg/hot-tag.png","alt":""}}),_vm._v(" "),_c('span',{staticClass:"hot-text"},[_vm._v("æœ€é«˜åŠ é€"+_vm._s(_vm.maxBookingBonus)+"%")])]):_vm._e()]],2)}),0)]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-usdtbing fl"},[_c('div',{staticClass:"list_user",on:{"mouseenter":_vm.showBtn,"mouseleave":_vm.hideBtn}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slidePrev"},[_c('Icon',{attrs:{"type":"ios-arrow-left"}})],1),_vm._v(" "),_c('swiper',{ref:"mySwiper",attrs:{"options":_vm.swiperOption}},[_vm._l((_vm.bankList),function(item,index){return _c('swiper-slide',{key:index,model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},[_c('div',{staticClass:"slide_box"},[_c('div',{staticClass:"slide_list",style:({ backgroundImage: 'url(/static/public/image/bank/usdt.png)', backgroundSize: 'cover' })},[_c('div',{staticClass:"title"},[_c('span',[_vm._v(_vm._s(item.usdt_type)),_c('span',[_vm._v("(尾å·:"+_vm._s(item.cardNumLast)+")")])])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('span',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fl"},[_vm._v(" å–款人:"+_vm._s(item.cardName)+" ")]),_vm._v(" "),_c('span',{staticClass:"fr"},[_vm._v(" 绑定时间: "+_vm._s(item.created_at)+" ")])])])])])}),_vm._v(" "),_c('div',{staticClass:"swiper-pagination",attrs:{"slot":"pagination"},slot:"pagination"})],2),_vm._v(" "),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slideNext"},[_c('Icon',{attrs:{"type":"ios-arrow-right"}})],1)],1),_vm._v(" "),_c('div',{staticClass:"pay-bankinfo"},[(_vm.withdrawalsBookingType === 'booking')?_c('div',{staticClass:"row"},[_c('label',[_vm._v("预约时间:")]),_vm._v(" "),_c('Select',{staticClass:"bookingSelect",staticStyle:{"width":"242px"},on:{"on-change":_vm.handleBooking},model:{value:(_vm.bookingHour),callback:function ($$v) {_vm.bookingHour=$$v},expression:"bookingHour"}},_vm._l((_vm.bookingConfig),function(item){return _c('Option',{key:item.bonus,attrs:{"value":item.hours}},[_vm._v("0-"+_vm._s(item.hours)+"å°æ—¶ä¹‹å†…å–款-åŠ é€"+_vm._s(item.bonus)+"%")])}),1)],1):_vm._e(),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("æ款金é¢ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.amount),expression:"amount"}],attrs:{"autocomplete":"off","type":"text","placeholder":'å¯æ现金é¢' + _vm.availableAmount + 'å…ƒ',"onkeyup":"value=value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,'$1$2.$3')"},domProps:{"value":(_vm.amount)},on:{"blur":_vm.hanlderAmount,"input":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}}),_vm._v(" "),_c('a',{staticStyle:{"font-size":"14px","color":"#2d8cf0"},attrs:{"href":"javascript:;"},on:{"click":function($event){_vm.amount = _vm.availableAmount}}},[_vm._v("å…¨é¢æ款")])]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("æ款汇率:")]),_vm._v(" "),_c('input',{attrs:{"type":"text","disabled":""},domProps:{"value":_vm.bankList.length > 0 ? _vm.bankList[this.$refs.mySwiper.swiper.activeIndex] .usdtDepositRate : 7.0}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("è´§å¸æ•°é‡ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.bankSerialNumber),expression:"bankSerialNumber"}],attrs:{"type":"text","disabled":""},domProps:{"value":(_vm.bankSerialNumber)},on:{"input":function($event){if($event.target.composing){ return; }_vm.bankSerialNumber=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("资金密ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})]),_vm._v(" "),_c('p',{staticClass:"att"},[_vm._v("\n 注æ„:收款地å€ç»‘定错误请åŠæ—¶è”系客æœè§£ç»‘\n ,æ款å‰è¯·åŠ¡å¿…å†ä¸‰ç¡®è®¤æ”¶æ¬¾åœ°å€ä¸ºUSDT-ERC20\n ")])]),_vm._v(" "),_c('div',{staticClass:"submit",class:{ active: _vm.canClick },on:{"click":_vm.application}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({ top: _vm.toastNum + 'px' })},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-right fl"},[_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='line-height:453px;background:#f2f2f2;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}})],1)])])} var usdtRequest_staticRenderFns = [] var usdtRequest_esExports = { render: usdtRequest_render, staticRenderFns: usdtRequest_staticRenderFns } /* harmony default export */ var withdraw_usdtRequest = (usdtRequest_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/usdtRequest.vue function usdtRequest_injectStyle (ssrContext) { __webpack_require__("ak/7") } var usdtRequest_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var usdtRequest___vue_template_functional__ = false /* styles */ var usdtRequest___vue_styles__ = usdtRequest_injectStyle /* scopeId */ var usdtRequest___vue_scopeId__ = "data-v-28194f62" /* moduleIdentifier (server only) */ var usdtRequest___vue_module_identifier__ = null var usdtRequest_Component = usdtRequest_normalizeComponent( usdtRequest, withdraw_usdtRequest, usdtRequest___vue_template_functional__, usdtRequest___vue_styles__, usdtRequest___vue_scopeId__, usdtRequest___vue_module_identifier__ ) /* harmony default export */ var personals_withdraw_usdtRequest = (usdtRequest_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/ebaoRequest.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var ebaoRequest = ({ data: function data() { var _this = this; return { withdrawalsBookingType: "fast", bookingHour: 0, rate: 7.0, showSome: false, value1: 0, bankSerialNumber: "0.00", bankList: [], imgUrl: "/static/public/image/userImg/usdt_bank.png", amount: "", availableAmount: "", notAmount: "", totalAmount: "", unavailableReason: "", payPassword: "", toastShow: false, toastNum: 430, toastText: "", columns: [{ title: "Eå®åœ°å€", align: "center", key: "bankName", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", Number(params.row.usdt_count) > 0 ? "å°¾å·:" + (params.row.bankAccount.length > 6 ? params.row.bankAccount.substring(params.row.bankAccount.length - 6, params.row.bankAccount.length) : params.row.bankAccount) : params.row.bankName)]); } }, { title: "æ款金é¢", align: "center", key: "amount", className: "demo-table-info-column" }, { title: "æ款时间", key: "time", align: "center", className: "demo-table-info-column", width: 150, render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.time - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "状æ€", align: "center", key: "status", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", params.row.status == "success" || params.row.status == "virtualWithdrawals" || params.row.status === "thirdWalletWithdrawals" || params.row.status === "alipayWithdrawals" ? "æˆåŠŸ" : false || params.row.status == "fail" ? "失败" : "å®¡æ ¸ä¸")]); } }], data: [], canClick: false, swiperOption: { loop: true, slidesPerView: 1, pagination: { el: ".swiper-pagination", clickable: true }, navigation: { nextEl: ".slideNext", prevEl: ".slidePrev" } } }; }, methods: { handleBooking: function handleBooking(val) { this.bookingHour = val; }, showBtn: function showBtn() { if (this.bankList.length > 1) { this.showSome = true; } }, hideBtn: function hideBtn() { this.showSome = false; }, fetchUserWithdrawAmmount: function fetchUserWithdrawAmmount() { var _this2 = this; this.$http.post(this.$HOST_NAME + "/withdrawals/getWithdrawAmount").then(function (res) { if (res.code === 200 && res.data) { var _res$data = res.data, amount = _res$data.amount, notAmount = _res$data.notAmount, msg = _res$data.msg, totalAmount = _res$data.totalAmount; _this2.availableAmount = amount.toFixed(2); //å¯ç”¨æ€»é¢ _this2.notAmount = notAmount; //ä¸å¯ç”¨é‡‘é¢ // this.unavailableReason = msg.split(',')[1] //ä¸å¯ç”¨åŽŸå› _this2.unavailableReason = msg; _this2.totalAmount = totalAmount; //æ€»é‡‘é¢ } else { _this2.$error(res.message); } }); }, setList: function setList() { var _this3 = this; if (this.bankList.length) { this.bankList.forEach(function (v) { v.created_at = _this3.$moment.unix(v.created_at - 0).format("YYYY-MM-DD HH:mm:ss"); }); } }, // å–款申请 application: function application() { var _this4 = this; if (this.canClick) { return false; } var isMoney = this.dInvalidMoney(this.amount); var isPwd = this.validatePwdAccount(this.payPassword); if (!isMoney) { this.toastShow = true; this.toastNum = 356; this.toastText = "请输入æ£ç¡®é‡‘é¢"; return false; } if (Number(this.amount) < Number(JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit)) { this.toastShow = true; this.toastNum = 356; this.toastText = "æ款金é¢ä¸èƒ½å°äºŽ" + JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit; return false; } if (this.amount * 1 > this.availableAmount * 1) { this.toastShow = true; this.toastNum = 356; this.toastText = "å–款金é¢ä¸èƒ½å¤§äºŽå¯ç”¨é‡‘é¢"; return false; } if (!isPwd) { this.toastShow = true; this.toastNum = 490; this.toastText = "请输入æ£ç¡®6ä½æ•°å—资金密ç "; return false; } if (this.availableAmount <= 0) { this.$toast(this.unavailableReason); return false; } var payload = { amount: this.amount, payPassword: this.payPassword, bankId: this.bankList[this.$refs.mySwiper.swiper.activeIndex].id, withdrawalsType: "ebaoWithdrawals" }; if (this.withdrawalsBookingType === "booking") { payload.isBooking = 1; payload.bookingHour = this.bookingHour; } this.toastShow = false; this.canClick = true; setTimeout(function () { _this4.canClick = false; }, 3 * 1000); this.$http.post(this.$HOST_NAME + "/member/setBalanceToLocal").then(function (res) { if (res.code == 200) { _this4.$http.post(_this4.$HOST_NAME + "/withdrawals/application", payload).then(function (res) { if (res.code == 200) { _this4.amount = ""; _this4.payPassword = ""; _this4.$success("申请æˆåŠŸ"); _this4.withdrawals(); _this4.fetchUserWithdrawAmmount(); } else if (res.code == 5011) { // ææ¬¾æ—¶ä¼ å›ž 5011 弹出绑定电è¯è§†çª—。 _this4.$store.commit("alert/changbindPhone", true); } else { _this4.$error(res.message); } }); } }); }, // 最近åæ¡å–款记录 withdrawals: function withdrawals() { var _this5 = this; this.$http.post(this.$HOST_NAME + "/withdrawals/last").then(function (res) { if (res.code == 200) { _this5.data = res.data; _this5.data = _this5.data.filter(function (v) { return v.bankName === "Eå®"; }); } }); }, hanlderAmount: function hanlderAmount() { if (this.amount.indexOf(".") != -1) { this.amount = this.amount.substring(0, this.amount.indexOf(".") + 3); } } }, components: { swiper: vue_awesome_swiper["swiper"], swiperSlide: vue_awesome_swiper["swiperSlide"] }, created: function created() { var _this6 = this; this.$nextTick(function () { _this6.bankList = _this6.$store.state.personal.ebaoList; if (!_this6.bankList.length) { _this6.$error("请绑定Eå®", 3000); _this6.$store.commit("showContent", { parent: "withdraw" }); _this6.$store.commit("showNav", { child: 6 }); } _this6.withdrawals(); _this6.fetchUserWithdrawAmmount(); }); }, destroyed: function destroyed() { this.$store.commit("loading", false); }, computed: { swiper: function swiper() { return this.$refs.mySwiper.swiper; }, bankDetail: function bankDetail() { return this.bankList[this.swiper.activeIndex - 1]; }, usdtWithdrawalsRate: function usdtWithdrawalsRate() { return this.$store.state.home.usdtWithdrawalsRate; }, bookingConfig: function bookingConfig() { if (this.$store.state.personal.bookingConfig.length > 0) { this.bookingHour = this.$store.state.personal.bookingConfig[0].hours; } return this.$store.state.personal.bookingConfig; }, maxBookingBonus: function maxBookingBonus() { return this.$store.state.personal.maxBookingBonus; } }, watch: { amount: function amount(val) { this.bankSerialNumber = (this.amount / this.bankList[this.value1].usdtDepositRate).toFixed(4); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-e023c3ee","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/ebaoRequest.vue var ebaoRequest_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"deposit"},[_c('div',{staticClass:"header"},[_vm._m(0),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.bookingConfig.length > 0),expression:"bookingConfig.length > 0"}],staticClass:"tab-group"},[_c('div',{staticClass:"tab-item",class:{ active: _vm.withdrawalsBookingType === 'fast' },on:{"click":function($event){_vm.withdrawalsBookingType = 'fast'}}},[_c('div',{staticClass:"text"},[_vm._v("å³æ—¶å–款")])]),_vm._v(" "),_c('div',{staticClass:"tab-item",class:{ active: _vm.withdrawalsBookingType === 'booking' },on:{"click":function($event){_vm.withdrawalsBookingType = 'booking'}}},[_c('div',{staticClass:"text"},[_vm._v("预约å–款")]),_vm._v(" "),_c('div',{staticClass:"hot hot-booking"},[_c('img',{staticClass:"hot-tag",attrs:{"src":"/static/public/image/bankImg/hot-tag.png","alt":""}}),_vm._v(" "),_c('span',{staticClass:"hot-text"},[_vm._v("æœ€é«˜åŠ é€"+_vm._s(_vm.maxBookingBonus)+"%")])])])])]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-ebaoBing fl"},[_c('div',{staticClass:"list_user",on:{"mouseenter":_vm.showBtn,"mouseleave":_vm.hideBtn}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slidePrev"},[_c('Icon',{attrs:{"type":"ios-arrow-left"}})],1),_vm._v(" "),_c('swiper',{ref:"mySwiper",attrs:{"options":_vm.swiperOption}},[_vm._l((_vm.bankList),function(item,index){return _c('swiper-slide',{key:index,model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},[_c('div',{staticClass:"slide_box"},[_c('div',{staticClass:"slide_list",style:({ backgroundImage: 'url(/static/public/image/bank/ebao.png)', backgroundSize: 'cover' })},[_c('div',{staticClass:"title"},[_c('span',[_vm._v("Eå¸"),_c('span',[_vm._v("(尾å·:"+_vm._s(item.cardNumLast)+")")])])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('span',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fl"},[_vm._v(" å–款人:"+_vm._s(item.cardName)+" ")]),_vm._v(" "),_c('span',{staticClass:"fr"},[_vm._v(" 绑定时间: "+_vm._s(item.created_at)+" ")])])])])])}),_vm._v(" "),_c('div',{staticClass:"swiper-pagination",attrs:{"slot":"pagination"},slot:"pagination"})],2),_vm._v(" "),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slideNext"},[_c('Icon',{attrs:{"type":"ios-arrow-right"}})],1)],1),_vm._v(" "),_c('div',{staticClass:"pay-bankinfo"},[(_vm.withdrawalsBookingType === 'booking')?_c('div',{staticClass:"row"},[_c('label',[_vm._v("预约时间:")]),_vm._v(" "),_c('Select',{staticClass:"bookingSelect",staticStyle:{"width":"242px"},on:{"on-change":_vm.handleBooking},model:{value:(_vm.bookingHour),callback:function ($$v) {_vm.bookingHour=$$v},expression:"bookingHour"}},_vm._l((_vm.bookingConfig),function(item){return _c('Option',{key:item.bonus,attrs:{"value":item.hours}},[_vm._v("0-"+_vm._s(item.hours)+"å°æ—¶ä¹‹å†…å–款-åŠ é€"+_vm._s(item.bonus)+"%")])}),1)],1):_vm._e(),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("æ款金é¢ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.amount),expression:"amount"}],attrs:{"autocomplete":"off","type":"text","placeholder":'å¯æ现金é¢' + _vm.availableAmount + 'å…ƒ',"onkeyup":"value=value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,'$1$2.$3')"},domProps:{"value":(_vm.amount)},on:{"blur":_vm.hanlderAmount,"input":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}}),_vm._v(" "),_c('a',{staticStyle:{"font-size":"14px","color":"#2d8cf0"},attrs:{"href":"javascript:;"},on:{"click":function($event){_vm.amount = _vm.availableAmount}}},[_vm._v("å…¨é¢æ款")])]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("资金密ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})]),_vm._v(" "),_c('p',{staticClass:"att"},[_vm._v("\n 注æ„:收款地å€ç»‘定错误请åŠæ—¶è”系客æœè§£ç»‘\n ,æ款å‰è¯·åŠ¡å¿…å†ä¸‰ç¡®è®¤æ”¶æ¬¾åœ°å€ä¸ºEå®åœ°å€\n ")])]),_vm._v(" "),_c('div',{staticClass:"submit",class:{ active: _vm.canClick },on:{"click":_vm.application}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({ top: _vm.toastNum + 'px' })},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-right fl"},[_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='line-height:453px;background:#f2f2f2;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}})],1)])])} var ebaoRequest_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"title"},[_c('img',{attrs:{"src":"/static/public/image/userImg/ebao.png"}}),_vm._v("\n Eå®æ款\n ")])}] var ebaoRequest_esExports = { render: ebaoRequest_render, staticRenderFns: ebaoRequest_staticRenderFns } /* harmony default export */ var withdraw_ebaoRequest = (ebaoRequest_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/ebaoRequest.vue function ebaoRequest_injectStyle (ssrContext) { __webpack_require__("JCsn") } var ebaoRequest_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var ebaoRequest___vue_template_functional__ = false /* styles */ var ebaoRequest___vue_styles__ = ebaoRequest_injectStyle /* scopeId */ var ebaoRequest___vue_scopeId__ = "data-v-e023c3ee" /* moduleIdentifier (server only) */ var ebaoRequest___vue_module_identifier__ = null var ebaoRequest_Component = ebaoRequest_normalizeComponent( ebaoRequest, withdraw_ebaoRequest, ebaoRequest___vue_template_functional__, ebaoRequest___vue_styles__, ebaoRequest___vue_scopeId__, ebaoRequest___vue_module_identifier__ ) /* harmony default export */ var personals_withdraw_ebaoRequest = (ebaoRequest_Component.exports); // EXTERNAL MODULE: ./node_modules/v-distpicker/dist/v-distpicker.js var v_distpicker = __webpack_require__("95YI"); var v_distpicker_default = /*#__PURE__*/__webpack_require__.n(v_distpicker); // CONCATENATED MODULE: ./src/service/public/addres.js /* harmony default export */ var addres = ({ province_list: [{ name: '北京市', list: ['城区', '郊区'] }, { name: '天津市', list: ['城区', '郊区'] }, { name: '上海市', list: ['城区', '郊区'] }, { name: '河北çœ', list: ['石家庄市', 'å”山市', '秦皇岛市', '邯郸市', 'é‚¢å°å¸‚', 'ä¿å®šå¸‚', 'å¼ å®¶å£å¸‚', '承德市', '沧州市', '廊åŠå¸‚', '衡水市'] }, { name: '山西çœ', list: ['太原市', '大åŒå¸‚', '阳泉市', '长治市', '晋城市', '朔州市', '晋ä¸å¸‚', 'è¿åŸŽå¸‚', '忻州市', '临汾市', 'å•æ¢å¸‚'] }, { name: '内蒙å¤çœ', list: ['呼和浩特市', '包头市', '乌海市', '赤峰市', '通辽市', '鄂尔多斯市', '呼伦è´å°”市', '巴彦淖尔市', '乌兰察布市', '兴安盟', '锡林éƒå‹’盟', '阿拉善盟'] }, { name: 'è¾½å®çœ', list: ['沈阳市', '大连市', 'éžå±±å¸‚', '抚顺市', '本溪市', '丹东市', '锦州市', 'è¥å£å¸‚', '阜新市', '辽阳市', '盘锦市', 'é“å²å¸‚', 'æœé˜³å¸‚', '葫芦岛市'] }, { name: 'å‰æž—çœ', list: ['长春市', 'å‰æž—市', '四平市', 'è¾½æºå¸‚', '通化市', '白山市', 'æ¾åŽŸå¸‚', '白城市', '延边'] }, { name: '黑龙江çœ', list: ['哈尔滨市', 'é½é½å“ˆå°”市', '鸡西市', '鹤岗市', 'åŒé¸å±±å¸‚', '大庆市', '伊春市', '佳木斯市', '七å°æ²³å¸‚', '牡丹江市', '黑河市', '绥化市', '大兴安å²'] }, { name: '江è‹çœ', list: ['å—京市', 'æ— é”¡å¸‚', 'å¾å·žå¸‚', '常州市', 'è‹å·žå¸‚', 'å—通市', '连云港市', '淮安市', 'ç›åŸŽå¸‚', '扬州市', '镇江市', '泰州市', '宿è¿å¸‚'] }, { name: '浙江çœ', list: ['æ州市', 'å®æ³¢å¸‚', '温州市', '嘉兴市', '湖州市', 'ç»å…´å¸‚', '金åŽå¸‚', '衢州市', '舟山市', 'å°å·žå¸‚', '丽水市'] }, { name: '安徽çœ', list: ['åˆè‚¥å¸‚', '芜湖市', 'èšŒåŸ å¸‚', 'æ·®å—市', '马éžå±±å¸‚', '淮北市', '铜陵市', '安庆市', '黄山市', 'æ»å·žå¸‚', '阜阳市', '宿州市', 'å…安市', '亳州市', 'æ± å·žå¸‚', '宣城市'] }, { name: 'ç¦å»ºçœ', list: ['ç¦å·žå¸‚', '厦门市', '莆田市', '三明市', '泉州市', '漳州市', 'å—平市', '龙岩市', 'å®å¾·å¸‚'] }, { name: '江西çœ', list: ['å—昌市', '景德镇市', 'è乡市', 'ä¹æ±Ÿå¸‚', '新余市', 'é¹°æ½å¸‚', '赣州市', 'å‰å®‰å¸‚', '宜春市', '抚州市', '上饶市'] }, { name: '山东çœ', list: ['济å—市', 'é’岛市', 'æ·„åšå¸‚', '枣庄市', '东è¥å¸‚', '烟å°å¸‚', 'æ½åŠå¸‚', '济å®å¸‚', '泰安市', 'å¨æµ·å¸‚', '日照市', '莱芜市', '临沂市', '德州市', 'èŠåŸŽå¸‚', '滨州市', 'è泽市'] }, { name: 'æ²³å—çœ', list: ['郑州市', 'å¼€å°å¸‚', '洛阳市', '平顶山市', '安阳市', '鹤å£å¸‚', '新乡市', '焦作市', '濮阳市', '许昌市', '漯河市', '三门峡市', 'å—阳市', '商丘市', '信阳市', '周å£å¸‚', '驻马店市', '济æºå¸‚'] }, { name: '湖北çœ', list: ['æ¦æ±‰å¸‚', '黄石市', 'åå °å¸‚', '宜昌市', '襄阳市', '鄂州市', 'è†é—¨å¸‚', 'å感市', 'è†å·žå¸‚', '黄冈市', 'å’¸å®å¸‚', 'éšå·žå¸‚', 'æ©æ–½åœŸå®¶æ—', '仙桃市', '潜江市', '天门市', '神农架'] }, { name: 'æ¹–å—çœ', list: ['长沙市', 'æ ªæ´²å¸‚', '湘æ½å¸‚', '衡阳市', '邵阳市', '岳阳市', '常德市', 'å¼ å®¶ç•Œå¸‚', '益阳市', '永州市', '怀化市', '娄底市', '湘西土家æ—'] }, { name: '广东çœ', list: ['广州市', '韶关市', '深圳市', 'ç 海市', '汕头市', '佛山市', '江门市', '湛江市', '茂å市', '肇庆市', 'æƒ å·žå¸‚', '梅州市', '汕尾市', 'æ²³æºå¸‚', '阳江市', '清远市', '东莞市', 'ä¸å±±å¸‚', '东沙群岛', '潮州市', 'æ阳市', '云浮市'] }, { name: '广西çœ', list: ['å—å®å¸‚', '柳州市', '桂林市', '梧州市', '北海市', '防城港市', '钦州市', '贵港市', '玉林市', '百色市', '贺州市', 'æ¥å®¾å¸‚', '崇左市'] }, { name: 'æµ·å—çœ', list: ['æµ·å£å¸‚', '三亚市', '三沙市', '儋州市', '五指山市', 'ç¼æµ·å¸‚', '文昌市', '万å®å¸‚', '东方市'] }, { name: 'é‡åº†å¸‚', list: ['城区', '郊区'] }, { name: 'å››å·çœ', list: ['æˆéƒ½å¸‚', '自贡市', '攀æžèŠ±å¸‚', '泸州市', '德阳市', '绵阳市', '广元市', 'é‚å®å¸‚', '内江市', 'ä¹å±±å¸‚', 'å—充市', '眉山市', '宜宾市', '广安市', '达州市', '雅安市', 'å·´ä¸å¸‚', '资阳市', '阿åè—æ—', '甘åœ', '凉山'] }, { name: '贵州çœ', list: ['贵阳市', 'å…盘水市', 'éµä¹‰å¸‚', '安顺市', '毕节市', 'é“œä»å¸‚', '黔西å—布ä¾æ—', '黔东å—è‹—æ—', 'é»”å—布ä¾æ—'] }, { name: '云å—çœ', list: ['昆明市', '曲é–市', '玉溪市', 'ä¿å±±å¸‚', 'æ˜é€šå¸‚', '丽江市', '普洱市', '临沧市', '楚雄', '红河哈尼æ—', '文山壮æ—', '西åŒç‰ˆçº³', '大ç†', 'å¾·å®', '怒江傈', '迪庆'] }, { name: '西è—', list: ['拉è¨å¸‚', '日喀则市', '昌都市', 'æž—èŠå¸‚', 'å±±å—市', '那曲地区', '阿里地区'] }, { name: '陕西çœ', list: ['西安市', 'é“œå·å¸‚', 'å®é¸¡å¸‚', '咸阳市', 'æ¸å—市', '延安市', '汉ä¸å¸‚', '榆林市', '安康市', '商洛市'] }, { name: '甘肃çœ', list: ['兰州市', '嘉峪关市', '金昌市', '白银市', '天水市', 'æ¦å¨å¸‚', 'å¼ æŽ–å¸‚', '平凉市', '酒泉市', '庆阳市', '定西市', '陇å—市', '临å¤å›žæ—', '甘å—è—æ—'] }, { name: 'é’æµ·çœ', list: ['西å®å¸‚', '海东市', '海北è—æ—', '黄å—è—æ—', 'æµ·å—è—æ—', '果洛è—æ—', 'çŽ‰æ ‘è—æ—', '海西蒙å¤æ—è—æ—'] }, { name: 'å®å¤çœ', list: ['银å·å¸‚', '石嘴山市', '海北è—æ—', '固原市', 'ä¸å«å¸‚'] }, { name: 'æ–°ç–†çœ', list: ['乌é²æœ¨é½å¸‚', '克拉玛ä¾å¸‚', 'åé²ç•ªå¸‚', '哈密市', '昌å‰å›žæ—', 'åšå°”塔拉蒙å¤', '巴音éƒæ¥žè’™å¤', '阿克è‹'] }, { name: 'å°æ¹¾çœ', list: ['å°æ¹¾å¸‚'] }, { name: '香港', list: ['城区', '郊区'] }, { name: '澳门', list: ['城区', '郊区'] }] }); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/binding.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var binding = ({ data: function data() { return { value1: 0, autoplay: 3500, bankList: [], bankId: '', qitaBank: false, cardName: this.$store.state.mainState.userinfo.realName, cardAddress: '', toastShow: false, toastNum: 30, cardNum: '', cardNum2: '', payPassword: '', confirmPay: '', toastText: '', bankData: ['工商银行', '农业银行', '建设银行', '招商银行', 'ä¸å›½é“¶è¡Œ', '浦å‘银行', 'ä¸ä¿¡é“¶è¡Œ', '交通银行', '民生银行', '兴业银行', '邮政银行', '光大银行', 'åŽå¤é“¶è¡Œ', '浙商银行', '包商银行', '北京银行', '上海银行', "东莞银行", "广å‘银行", "平安银行", "徽商银行", '江è‹é“¶è¡Œ', "北京农商", "æˆéƒ½é“¶è¡Œ", "å‰æž—银行", "农æ‘信用社", '哈尔滨银行', "深圳å‘展银行", "浙江网商银行", "ç¦å»ºå†œæ‘信用社", "广州农æ‘商业银行"], secretKeyList: [], addresData: addres.province_list, addresList: [], addressInfo: '', key: '', value: '', canClick: false, param: '' }; }, methods: { userBank: function userBank() { var _this = this; this.$http.post(this.$HOST_NAME + '/member/bank').then(function (res) { if (res.code == 200) { _this.bankList = res.data; _this.bankList.forEach(function (v) { v.created_at = _this.$moment.unix(v.created_at - 0).format('YYYY-MM-DD'); v.cardNum = v.cardNum.replace(/\s/g, ' ').replace(/(.{4})/g, '$1 '); if (_this.bankData.indexOf(v.bankName) != -1) { v.imgUrl = '/static/public/image/bankImg/' + v.bankName + '.png'; } else { if (v.bankName == "广州å‘展银行") { v.imgUrl = '/static/public/image/bankImg/' + v.bankName + '.png'; } else { v.imgUrl = '/static/public/image/bankImg/morenBank.png'; } } }); // this.secretKey(); _this.$store.commit('loading', false); } else { _this.$store.commit('loading', false); } }); }, // onSelected(data) { // this.cardAddress = data.province.value + data.city.value; // }, hanlderAddres: function hanlderAddres(val) { var _this2 = this; this.addresData.forEach(function (v) { if (v.name == val) { _this2.addresList = v.list; } }); this.addressInfo = this.addresList[0]; }, cardgeshi: function cardgeshi() { var v = this.cardNum2; if (/\S{5}/.test(v)) { this.cardNum2 = v.replace(/\s/g, '').replace(/(.{4})/g, "$1 "); } }, setBank: function setBank() { var _this3 = this; if (this.canClick) { return false; } var reg = /^[\u4E00-\u9FA5·•]+$/; if (!reg.test(this.cardName) && !this.$store.state.mainState.userinfo.realName) { this.toastText = '请输入æ£ç¡®çš„æ款å'; this.toastShow = true; this.toastNum = 25; return false; } // if (this.cardName.length > 4) { // this.toastText = "æ款åä¸èƒ½å¤§äºŽ4ä½"; // this.toastShow = true; // this.toastNum = 30; // return false; // } if (!this.bankId) { this.toastText = '请选择或输入银行'; this.toastShow = true; this.toastNum = 80; return false; } this.cardNum = this.cardNum2.replace(/\s/g, ""); if (this.cardNum.length < 15 || this.cardNum.length > 21) { this.toastText = '请输入15~21ä½é“¶è¡Œå¡å·'; this.toastShow = true; this.toastNum = 130; return false; } var num = /^\d*$/; //å…¨æ•°å— if (!num.exec(this.cardNum)) { this.toastText = '请输入æ£ç¡®çš„银行å¡å·'; this.toastShow = true; this.toastNum = 135; return false; } if (!this.cardAddress) { this.toastText = '请选择银行所在地'; this.toastShow = true; this.toastNum = 188; return false; } if (!this.payPassword && this.$store.state.mainState.userinfo.payPassword == 'unset') { this.toastText = '请输入支付密ç '; this.toastShow = true; this.toastNum = 240; return false; } if (this.payPassword != this.confirmPay && this.$store.state.mainState.userinfo.payPassword == 'unset') { this.toastText = '两次密ç ä¸ä¸€æ ·'; this.toastShow = true; this.toastNum = 292; return false; } if (!this.payPassword && this.$store.state.mainState.userinfo.payPassword == 'set') { this.toastText = '请输入支付密ç '; this.toastShow = true; this.toastNum = 240; return false; } // if(!['935qp','632qp','kyqp','839qp','k78qp'].includes(this.$websiteName)){ // if (!this.key&& this.$store.state.mainState.userinfo.secret=='unset') { // this.toastText = '请选择密ä¿é—®é¢˜' // this.toastShow = true // this.toastNum = 345 // return false // } // } // if(!['935qp','632qp','kyqp','839qp','k78qp'].includes(this.$websiteName)){ // if (!this.value && this.$store.state.mainState.userinfo.secret=='unset') { // this.toastText = '请输入密ä¿é—®é¢˜' // this.toastShow = true // this.toastNum = 398 // return false // } // } this.toastShow = false; if (this.$store.state.mainState.userinfo.payPassword == 'unset') { if (this.$store.state.mainState.userinfo.secret == 'unset') { this.param = { bankName: this.bankId, cardNum: this.cardNum.trim(), cardAddress: this.cardAddress + this.addressInfo, payPassword: this.payPassword, payPassword_confirmation: this.confirmPay, key: this.key, value: this.value }; if (['935qp', '632qp', 'kyqp', '839qp', 'k78qp'].includes(this.$websiteName)) { this.param.key = '123456'; this.param.value = '123456'; } } else { this.param = { bankName: this.bankId, cardNum: this.cardNum.trim(), cardAddress: this.cardAddress + this.addressInfo, payPassword: this.payPassword, payPassword_confirmation: this.confirmPay }; } } if (this.$store.state.mainState.userinfo.payPassword == 'set') { this.param = { bankName: this.bankId, cardNum: this.cardNum.trim(), cardAddress: this.cardAddress + this.addressInfo, payPassword: this.payPassword }; } if (!this.$store.state.mainState.userinfo.realName) { this.param.cardName = this.cardName; } this.canClick = true; setTimeout(function () { _this3.canClick = false; }, 3 * 1000); this.$postS('member/set-bank-info', this.param).then(function (res) { if (res.code == 200) { _this3.$success('绑定æˆåŠŸ'); _this3.userBank(); _this3.param = {}; _this3.payPassword = ''; _this3.value = ''; _this3.cardNum2 = ''; _this3.cardAddress = ''; _this3.addressInfo = ''; _this3.confirmPay = ''; _this3.bankId = ''; UserService["a" /* default */].vpGetBasicInfo.call(_this3); } else { _this3.$error(res.message); } }); }, setEncrypted: function setEncrypted() { this.$store.commit('showNav', { child: 7 }); this.$store.commit('showContent', { parent: 'personage' }); this.$store.commit('bankSafety', 2); }, // commonBank() { // this.$http.post("${this.$HOST_NAME}/common/bank").then(res => { // if (res.code == 200) { // this.bankData = res.data; // } // }); // }, secretKey: function secretKey() { var _this4 = this; this.$http.post(this.$HOST_NAME + '/member/secretKey').then(function (res) { if (res.code == 200) { _this4.secretKeyList = res.data; // this.key = res.data[0]; _this4.loginKey = res.data[0]; } }); } }, created: function created() { var _this5 = this; this.$nextTick(function () { _this5.$store.commit('loading', true); _this5.userBank(); _this5.secretKey(); }); }, destroyed: function destroyed() { this.$store.commit('loading', false); }, components: { VDistpicker: v_distpicker_default.a }, watch: { bankId: function bankId(newValue, oldValue) { if (newValue == '其它') { this.qitaBank = true; this.bankId = ''; } } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-8f6b8718","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/binding.vue var binding_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"binding"},[_c('div',{staticClass:"header"},[_vm._v("\n 绑定银行å¡\n ")]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-left fl"},[_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n æ款姓å:\n ")]),_vm._v(" "),(!_vm.$store.state.mainState.userinfo.realName)?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","maxlength":"15"},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","disabled":""},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 开户银行:\n ")]),_vm._v(" "),(!_vm.qitaBank)?_c('Select',{model:{value:(_vm.bankId),callback:function ($$v) {_vm.bankId=$$v},expression:"bankId"}},_vm._l((_vm.bankData),function(item,i){return _c('Option',{key:i,attrs:{"value":item}},[_vm._v(_vm._s(item))])}),1):_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.bankId),expression:"bankId"}],attrs:{"type":"text"},domProps:{"value":(_vm.bankId)},on:{"input":function($event){if($event.target.composing){ return; }_vm.bankId=$event.target.value}}})],1),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 银行å¡å·ï¼š\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardNum2),expression:"cardNum2"}],attrs:{"type":"text","autocomplete":"off"},domProps:{"value":(_vm.cardNum2)},on:{"keyup":_vm.cardgeshi,"input":function($event){if($event.target.composing){ return; }_vm.cardNum2=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 开户网点:\n ")]),_vm._v(" "),_c('Select',{staticClass:"adressSelect",staticStyle:{"width":"120px"},on:{"on-change":_vm.hanlderAddres},model:{value:(_vm.cardAddress),callback:function ($$v) {_vm.cardAddress=$$v},expression:"cardAddress"}},_vm._l((_vm.addresData),function(item,i){return _c('Option',{key:i,attrs:{"value":item.name}},[_vm._v(_vm._s(item.name))])}),1),_vm._v(" "),_c('Select',{staticClass:"csSelect",staticStyle:{"width":"120px"},model:{value:(_vm.addressInfo),callback:function ($$v) {_vm.addressInfo=$$v},expression:"addressInfo"}},_vm._l((_vm.addresList),function(item,i){return _c('Option',{key:i,attrs:{"value":item}},[_vm._v(_vm._s(item))])}),1)],1),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 资金密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off"},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})]),_vm._v(" "),(this.$store.state.mainState.userinfo.payPassword == 'unset')?_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 确认密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.confirmPay),expression:"confirmPay"}],attrs:{"type":"password","maxlength":"6"},domProps:{"value":(_vm.confirmPay)},on:{"input":function($event){if($event.target.composing){ return; }_vm.confirmPay=$event.target.value}}})]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"submit",class:{'active':_vm.canClick},on:{"click":_vm.setBank}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({top:_vm.toastNum+'px'})},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-right fl"},[(_vm.bankList.length)?_c('Carousel',{attrs:{"loop":"","radius-dot":"","arrow":_vm.bankList.length >1 ? 'hover':'never'},model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},_vm._l((_vm.bankList),function(item,i){return _c('CarouselItem',{key:i},[_c('div',{staticClass:"bank",style:({backgroundImage: 'url(' + item.imgUrl + ')', backgroundSize:'cover'})},[(item.status=='no')?_c('div',{staticClass:"mask"},[_c('img',{attrs:{"src":"/static/public/image/bankImg/stop.png","alt":""}})]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"title"},[_c('img',{attrs:{"src":"/static/public/image/bank/yhk.png","alt":""}}),_vm._v(" "),_c('span',[_vm._v(_vm._s(item.bankName))])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('p',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fl"},[_vm._v("å–款人:"+_vm._s(item.cardName))]),_vm._v(" "),_c('span',{staticClass:"fr"},[_vm._v("\n 绑定时间: "+_vm._s(item.created_at)+"\n ")])])])])}),1):_c('div',{staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})])],1)])])} var binding_staticRenderFns = [] var binding_esExports = { render: binding_render, staticRenderFns: binding_staticRenderFns } /* harmony default export */ var withdraw_binding = (binding_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/binding.vue function binding_injectStyle (ssrContext) { __webpack_require__("9YUT") } var binding_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var binding___vue_template_functional__ = false /* styles */ var binding___vue_styles__ = binding_injectStyle /* scopeId */ var binding___vue_scopeId__ = null /* moduleIdentifier (server only) */ var binding___vue_module_identifier__ = null var binding_Component = binding_normalizeComponent( binding, withdraw_binding, binding___vue_template_functional__, binding___vue_styles__, binding___vue_scopeId__, binding___vue_module_identifier__ ) /* harmony default export */ var personals_withdraw_binding = (binding_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/bindEbao.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var bindEbao = ({ data: function data() { return { value1: 0, autoplay: 3500, bankList: [], usdtType: '', qitaBank: false, cardName: this.$store.state.mainState.userinfo.realName, cardAddress: '', toastShow: false, toastNum: 30, cardNum: '', payPassword: '', payPassword_confirmation: '', ebaoCardNum: "", toastText: '', key: '', value: '', canClick: false, param: '' }; }, methods: { clearNoNum: function clearNoNum() { this.ebaoCardNum = this.ebaoCardNum.replace(/[\u4e00-\u9fa5]+/g, ""); //验è¯éžæ±‰å— }, setList: function setList() { var _this = this; if (this.bankList.length) { this.bankList.forEach(function (v) { v.created_at = _this.$moment.unix(v.created_at - 0).format('YYYY-MM-DD HH:mm:ss'); }); } }, ebaoList: function ebaoList() { var _this2 = this; this.$http.post(this.$HOST_NAME + '/member/ebaoList').then(function (res) { if (res.code == 200) { if (res.data.length) { res.data.forEach(function (v) { v.created_at = _this2.$moment.unix(v.created_at - 0).format('YYYY-MM-DD'); }); } _this2.bankList = res.data; _this2.$store.commit('ebaoList', res.data); _this2.$store.commit('loading', false); } else { _this2.$store.commit('loading', false); } }); }, setBank: function setBank() { var _this3 = this; if (this.canClick) { return false; } var reg = /^[\u4E00-\u9FA5·]+$/; if (!reg.test(this.cardName) && !this.$store.state.mainState.userinfo.realName) { this.toastText = '请输入开户姓å'; this.toastShow = true; this.toastNum = 28; return false; } if (!this.ebaoCardNum) { this.toastText = '请输入EBAO地å€'; this.toastShow = true; this.toastNum = 88; return false; } var regusdt = new RegExp('[\\u4E00-\\u9FFF]+', "g"); if (regusdt.test(this.ebaoCardNum)) { this.toastText = '请输入æ£ç¡®çš„Eå¸åœ°å€'; this.toastShow = true; this.toastNum = 88; this.ebaoCardNum = ''; return false; } if (!this.payPassword) { this.toastText = '请输入æ£ç¡®çš„6ä½èµ„金密ç '; this.toastShow = true; this.toastNum = 146; return false; } if (this.$store.state.mainState.userinfo.payPassword == 'unset') { if (!this.payPassword_confirmation) { this.toastText = '请输入æ£ç¡®çš„6ä½èµ„金密ç '; this.toastShow = true; this.toastNum = 204; return false; } if (this.payPassword_confirmation != this.payPassword) { this.toastText = '两次密ç ä¸ä¸€æ ·'; this.toastShow = true; this.toastNum = 204; return false; } } this.toastShow = false; this.param = { cardName: this.cardName, cardNum: this.ebaoCardNum, payPassword: this.payPassword }; if (this.$store.state.mainState.userinfo.payPassword == 'unset') { this.param.payPassword_confirmation = this.payPassword_confirmation; } // if(!this.$store.state.mainState.userinfo.realName){ // this.param.cardName=this.cardName // } this.canClick = true; setTimeout(function () { _this3.canClick = false; }, 3 * 1000); this.$postS('member/set-ebao-info', this.param).then(function (res) { if (res.code == 200) { _this3.$success('绑定æˆåŠŸ'); _this3.ebaoList(); _this3.param = {}; _this3.ebaoCardNum = ''; _this3.payPassword = ''; _this3.payPassword_confirmation = ''; UserService["a" /* default */].vpGetBasicInfo.call(_this3); } else { _this3.$error(res.message); } }); } }, created: function created() { var _this4 = this; this.$nextTick(function () { _this4.bankList = _this4.$store.state.personal.ebaoList; }); }, destroyed: function destroyed() { this.$store.commit('loading', false); }, components: {}, watch: {} }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-5a23cb4a","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/bindEbao.vue var bindEbao_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bindingEbao"},[_vm._m(0),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-left fl"},[_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n æ款姓å:\n ")]),_vm._v(" "),(!_vm.$store.state.mainState.userinfo.realName)?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","maxlength":"15","placeholder":"请输入开户姓å"},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","disabled":""},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n Eå¸åœ°å€ï¼š\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.ebaoCardNum),expression:"ebaoCardNum"}],attrs:{"type":"text","placeholder":"请输入您的Eå¸åœ°å€","maxlength":"50"},domProps:{"value":(_vm.ebaoCardNum)},on:{"keyup":function($event){return _vm.clearNoNum()},"input":function($event){if($event.target.composing){ return; }_vm.ebaoCardNum=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 资金密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})]),_vm._v(" "),(this.$store.state.mainState.userinfo.payPassword == 'unset')?_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 确定密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword_confirmation),expression:"payPassword_confirmation"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword_confirmation)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword_confirmation=$event.target.value}}})]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"submit",class:{'active':_vm.canClick},on:{"click":_vm.setBank}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({top:_vm.toastNum+'px'})},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-usdt fl"},[(_vm.bankList.length)?_c('Carousel',{attrs:{"loop":"","radius-dot":"","arrow":_vm.bankList.length >1 ? 'hover':'never'},model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},_vm._l((_vm.bankList),function(item,i){return _c('CarouselItem',{key:i},[_c('div',{staticClass:"bank",style:({backgroundImage: 'url(/static/public/image/bank/ebao.png)', backgroundSize:'cover'})},[_c('div',{staticClass:"title"},[_c('span',[_vm._v(_vm._s(item.usdt_type)),_c('span',[_vm._v("(尾å·:"+_vm._s(item.cardNumLast)+")")])])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('span',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fl"},[_vm._v("å–款人:"+_vm._s(item.cardName))]),_vm._v(" "),_c('span',{staticClass:"fr"},[_vm._v("\n 绑定时间: "+_vm._s(item.created_at)+"\n ")])])])])}),1):_c('div',{staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})])],1)])])} var bindEbao_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header"},[_c('img',{attrs:{"src":"/static/public/image/userImg/ebao.png"}}),_vm._v(" "),_c('span',[_vm._v("绑定Eå®")])])}] var bindEbao_esExports = { render: bindEbao_render, staticRenderFns: bindEbao_staticRenderFns } /* harmony default export */ var withdraw_bindEbao = (bindEbao_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/bindEbao.vue function bindEbao_injectStyle (ssrContext) { __webpack_require__("ZRoR") } var bindEbao_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var bindEbao___vue_template_functional__ = false /* styles */ var bindEbao___vue_styles__ = bindEbao_injectStyle /* scopeId */ var bindEbao___vue_scopeId__ = null /* moduleIdentifier (server only) */ var bindEbao___vue_module_identifier__ = null var bindEbao_Component = bindEbao_normalizeComponent( bindEbao, withdraw_bindEbao, bindEbao___vue_template_functional__, bindEbao___vue_styles__, bindEbao___vue_scopeId__, bindEbao___vue_module_identifier__ ) /* harmony default export */ var personals_withdraw_bindEbao = (bindEbao_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/bindUsdt.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var bindUsdt = ({ data: function data() { return { value1: 0, autoplay: 3500, bankList: [], usdtType: '', qitaBank: false, cardName: this.$store.state.mainState.userinfo.realName, cardAddress: '', toastShow: false, toastNum: 30, cardNum: '', payPassword: '', payPassword_confirmation: '', usdtcardNum: "", toastText: '', key: '', value: '', canClick: false, param: '', usdtTypeData: [] }; }, methods: { clearNoNum: function clearNoNum() { this.usdtcardNum = this.usdtcardNum.replace(/[\u4e00-\u9fa5·•]+/g, ""); //验è¯éžæ±‰å— }, setList: function setList() { var _this = this; if (this.bankList.length) { this.bankList.forEach(function (v) { v.created_at = _this.$moment.unix(v.created_at - 0).format('YYYY-MM-DD HH:mm:ss'); }); } }, setUsdtType: function setUsdtType() { var _this2 = this; this.$http.get(this.$HOST_NAME + '/usdtType').then(function (res) { if (res.code == 200) { _this2.usdtTypeData = res.data; } }); }, usdtList: function usdtList() { var _this3 = this; this.$http.post(this.$HOST_NAME + '/member/usdtList').then(function (res) { if (res.code == 200) { if (res.data.length) { res.data.forEach(function (v) { v.created_at = _this3.$moment.unix(v.created_at - 0).format('YYYY-MM-DD'); }); } _this3.bankList = res.data; // this.setList(); _this3.$store.commit('usdtList', res.data); _this3.$store.commit('loading', false); } else { _this3.$store.commit('loading', false); } }); }, setBank: function setBank() { var _this4 = this; if (this.canClick) { return false; } var reg = /^[\u4E00-\u9FA5·•]+$/; if (!reg.test(this.cardName) && !this.$store.state.mainState.userinfo.realName) { this.toastText = '请输入开户姓å'; this.toastShow = true; this.toastNum = 28; return false; } if (!this.usdtType) { this.toastText = '请选择å¸ç§'; this.toastShow = true; this.toastNum = 88; return false; } if (!this.usdtcardNum) { this.toastText = '请输入USDT地å€'; this.toastShow = true; this.toastNum = 88; return false; } var regusdt = new RegExp('[\\u4E00-\\u9FFF]+', "g"); if (regusdt.test(this.usdtcardNum)) { this.toastText = '请输入æ£ç¡®çš„USDT地å€'; this.toastShow = true; this.toastNum = 88; this.usdtcardNum = ''; return false; } if (!this.payPassword) { this.toastText = '请输入æ£ç¡®çš„6ä½èµ„金密ç '; this.toastShow = true; this.toastNum = 146; return false; } if (this.$store.state.mainState.userinfo.payPassword == 'unset') { if (!this.payPassword_confirmation) { this.toastText = '请输入æ£ç¡®çš„6ä½èµ„金密ç '; this.toastShow = true; this.toastNum = 204; return false; } if (this.payPassword_confirmation != this.payPassword) { this.toastText = '两次密ç ä¸ä¸€æ ·'; this.toastShow = true; this.toastNum = 204; return false; } } this.toastShow = false; this.param = { usdt_type: this.usdtType, cardNum: this.usdtcardNum, payPassword: this.payPassword }; if (this.$store.state.mainState.userinfo.payPassword == 'unset') { this.param.payPassword_confirmation = this.payPassword_confirmation; } if (!this.$store.state.mainState.userinfo.realName) { this.param.cardName = this.cardName; } this.canClick = true; setTimeout(function () { _this4.canClick = false; }, 3 * 1000); this.$postS('member/set-usdt-info', this.param).then(function (res) { if (res.code == 200) { _this4.$success('绑定æˆåŠŸ'); _this4.usdtList(); // if(!this.$store.state.mainState.userinfo.realName){ // this.$store.state.mainState.userinfo.realName= this.cardName // } _this4.param = {}; // this.cardName='' _this4.usdtcardNum = ''; _this4.payPassword = ''; _this4.payPassword_confirmation = ''; UserService["a" /* default */].vpGetBasicInfo.call(_this4); } else { _this4.$error(res.message); } }); } }, created: function created() { var _this5 = this; this.$nextTick(function () { _this5.bankList = _this5.$store.state.personal.usdtList; _this5.setUsdtType(); // this.setList(); }); }, destroyed: function destroyed() { this.$store.commit('loading', false); }, components: {}, watch: {}, computed: { usdtCardNumPlaceholder: function usdtCardNumPlaceholder() { console.log(this.usdtType); if (!this.usdtType) { return '请输入您的USDT收款地å€'; } return '请输入您的' + this.usdtType + '收款地å€'; } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-e8653784","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/bindUsdt.vue var bindUsdt_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bindingusdt"},[_c('div',{staticClass:"header"},[_vm._v("\n 绑定USDT\n ")]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-left fl"},[_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n æ款姓å:\n ")]),_vm._v(" "),(!_vm.$store.state.mainState.userinfo.realName)?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","maxlength":"15","placeholder":"请输入开户姓å"},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","disabled":""},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 选择å¸ç§ï¼š\n ")]),_vm._v(" "),_c('Select',{model:{value:(_vm.usdtType),callback:function ($$v) {_vm.usdtType=$$v},expression:"usdtType"}},_vm._l((_vm.usdtTypeData),function(item,i){return _c('Option',{key:i,attrs:{"value":item}},[_vm._v(_vm._s(item))])}),1)],1),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n USDT地å€ï¼š\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.usdtcardNum),expression:"usdtcardNum"}],attrs:{"type":"text","placeholder":_vm.usdtCardNumPlaceholder,"maxlength":"50"},domProps:{"value":(_vm.usdtcardNum)},on:{"keyup":function($event){return _vm.clearNoNum()},"input":function($event){if($event.target.composing){ return; }_vm.usdtcardNum=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 资金密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})]),_vm._v(" "),(this.$store.state.mainState.userinfo.payPassword == 'unset')?_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 确定密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword_confirmation),expression:"payPassword_confirmation"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword_confirmation)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword_confirmation=$event.target.value}}})]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"submit",class:{'active':_vm.canClick},on:{"click":_vm.setBank}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({top:_vm.toastNum+'px'})},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-usdt fl"},[(_vm.bankList.length)?_c('Carousel',{attrs:{"loop":"","radius-dot":"","arrow":_vm.bankList.length >1 ? 'hover':'never'},model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},_vm._l((_vm.bankList),function(item,i){return _c('CarouselItem',{key:i},[_c('div',{staticClass:"bank",style:({backgroundImage: 'url(/static/public/image/bank/usdt.png)', backgroundSize:'cover'})},[_c('div',{staticClass:"title"},[_c('span',[_vm._v(_vm._s(item.usdt_type)),_c('span',[_vm._v("(尾å·:"+_vm._s(item.cardNumLast)+")")])])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('span',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fl"},[_vm._v("å–款人:"+_vm._s(item.cardName))]),_vm._v(" "),_c('span',{staticClass:"fr"},[_vm._v("\n 绑定时间: "+_vm._s(item.created_at)+"\n ")])])])])}),1):_c('div',{staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})])],1)])])} var bindUsdt_staticRenderFns = [] var bindUsdt_esExports = { render: bindUsdt_render, staticRenderFns: bindUsdt_staticRenderFns } /* harmony default export */ var withdraw_bindUsdt = (bindUsdt_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/bindUsdt.vue function bindUsdt_injectStyle (ssrContext) { __webpack_require__("JZFE") } var bindUsdt_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var bindUsdt___vue_template_functional__ = false /* styles */ var bindUsdt___vue_styles__ = bindUsdt_injectStyle /* scopeId */ var bindUsdt___vue_scopeId__ = null /* moduleIdentifier (server only) */ var bindUsdt___vue_module_identifier__ = null var bindUsdt_Component = bindUsdt_normalizeComponent( bindUsdt, withdraw_bindUsdt, bindUsdt___vue_template_functional__, bindUsdt___vue_styles__, bindUsdt___vue_scopeId__, bindUsdt___vue_module_identifier__ ) /* harmony default export */ var personals_withdraw_bindUsdt = (bindUsdt_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/Mipay/bindMi.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var bindMi = ({ data: function data() { return { value1: 0, autoplay: 3500, bankList: [], usdtType: "", qitaBank: false, cardName: this.$store.state.mainState.userinfo.realName, cardAddress: "", toastShow: false, toastNum: 30, cardNum: "", payPassword: "", payPassword_confirmation: "", usdtcardNum: "", toastText: "", key: "", value: "", canClick: false, param: "", usdtTypeData: [], amount: "", availableAmount: '', bankName: "" }; }, methods: { clearNoNum: function clearNoNum() { this.usdtcardNum = this.usdtcardNum.replace(/[\u4e00-\u9fa5·•]+/g, ""); //验è¯éžæ±‰å— }, setList: function setList() { var _this = this; if (this.bankList.length) { this.bankList.forEach(function (v) { v.created_at = _this.$moment.unix(v.created_at - 0).format("YYYY-MM-DD HH:mm:ss"); }); } }, mipayList: function mipayList() { var _this2 = this; this.$http.post(this.$HOST_NAME + "/member/mipayList").then(function (res) { if (res.code == 200) { if (res.data.length) { res.data.forEach(function (v) { v.created_at = _this2.$moment.unix(v.created_at - 0).format("YYYY-MM-DD"); }); } _this2.bankList = res.data; _this2.$store.commit("mipayList", res.data); _this2.$store.commit("loading", false); } else { _this2.$store.commit("loading", false); } }); }, setBank: function setBank() { var _this3 = this; if (this.canClick) { return false; } var reg = /^[\u4E00-\u9FA5·•]+$/; if (!reg.test(this.cardName) && !this.$store.state.mainState.userinfo.realName) { this.toastText = "请输入开户姓å"; this.toastShow = true; this.toastNum = 28; return false; } if (!this.usdtcardNum) { this.toastText = "请输入地å€"; this.toastShow = true; this.toastNum = 88; return false; } var regusdt = new RegExp("[\\u4E00-\\u9FFF]+", "g"); if (regusdt.test(this.usdtcardNum)) { this.toastText = "请输入æ£ç¡®çš„地å€"; this.toastShow = true; this.toastNum = 88; this.usdtcardNum = ""; return false; } var isPwd = this.validatePwdAccount(this.payPassword); if (!isPwd) { this.toastText = "请输入æ£ç¡®çš„6ä½èµ„金密ç "; this.toastShow = true; this.toastNum = 146; return false; } if (this.$store.state.mainState.userinfo.payPassword == "unset") { if (!this.payPassword_confirmation) { this.toastText = "请输入æ£ç¡®çš„6ä½èµ„金密ç "; this.toastShow = true; this.toastNum = 204; return false; } if (this.payPassword_confirmation != this.payPassword) { this.toastText = "两次密ç ä¸ä¸€æ ·"; this.toastShow = true; this.toastNum = 204; return false; } } this.toastShow = false; this.param = { // usdt_type: this.usdtType, cardNum: this.usdtcardNum, cardName: this.cardName, payPassword: this.payPassword }; if (this.$store.state.mainState.userinfo.payPassword == "unset") { this.param.payPassword_confirmation = this.payPassword_confirmation; } if (!this.$store.state.mainState.userinfo.realName) { this.param.cardName = this.cardName; } this.canClick = true; setTimeout(function () { _this3.canClick = false; }, 3 * 1000); this.$postS("member/set-mipay-info", this.param).then(function (res) { if (res.code == 200) { _this3.$success("绑定æˆåŠŸ"); _this3.mipayList(); _this3.param = {}; _this3.payPassword = ""; _this3.payPassword_confirmation = ""; UserService["a" /* default */].vpGetBasicInfo.call(_this3); } else { _this3.$error(res.message); } }); } }, created: function created() { var _this4 = this; this.$nextTick(function () { _this4.bankList = _this4.$store.state.personal.mipayList; }); }, destroyed: function destroyed() { this.$store.commit("loading", false); }, components: {}, watch: {}, computed: { usdtCardNumPlaceholder: function usdtCardNumPlaceholder() { return "请输入您的收款地å€"; } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-62245875","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/Mipay/bindMi.vue var bindMi_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bindingusdt"},[_c('div',{staticClass:"header"},[_vm._v("\n ç¶å®šMipay\n ")]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-left fl"},[_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n æ款姓å:\n ")]),_vm._v(" "),(!_vm.$store.state.mainState.userinfo.realName)?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","maxlength":"15","placeholder":"请输入开户姓å"},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","disabled":""},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n ï¼iPay地å€ï¼š\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.usdtcardNum),expression:"usdtcardNum"}],attrs:{"type":"text","placeholder":_vm.usdtCardNumPlaceholder,"maxlength":"50"},domProps:{"value":(_vm.usdtcardNum)},on:{"keyup":function($event){return _vm.clearNoNum()},"input":function($event){if($event.target.composing){ return; }_vm.usdtcardNum=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 资金密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})]),_vm._v(" "),(this.$store.state.mainState.userinfo.payPassword == 'unset')?_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 确定密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword_confirmation),expression:"payPassword_confirmation"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword_confirmation)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword_confirmation=$event.target.value}}})]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"submit",class:{ active: _vm.canClick },on:{"click":_vm.setBank}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({ top: _vm.toastNum + 'px' })},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-usdt fl"},[(_vm.bankList.length)?_c('Carousel',{attrs:{"loop":"","radius-dot":"","arrow":_vm.bankList.length > 1 ? 'hover' : 'never'},model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},_vm._l((_vm.bankList),function(item,i){return _c('CarouselItem',{key:i},[_c('div',{staticClass:"bank",style:({ backgroundImage: 'url(/static/public/image/bank/mipay.png)', backgroundSize: 'cover' })},[_c('div',{staticClass:"title"},[_c('span',[_vm._v(_vm._s(item.bankName))])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('span',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fr"},[_vm._v(" 绑定时间: "+_vm._s(item.created_at)+" ")])])])])}),1):_c('div',{staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})])],1)])])} var bindMi_staticRenderFns = [] var bindMi_esExports = { render: bindMi_render, staticRenderFns: bindMi_staticRenderFns } /* harmony default export */ var Mipay_bindMi = (bindMi_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/Mipay/bindMi.vue function bindMi_injectStyle (ssrContext) { __webpack_require__("UlyT") } var bindMi_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var bindMi___vue_template_functional__ = false /* styles */ var bindMi___vue_styles__ = bindMi_injectStyle /* scopeId */ var bindMi___vue_scopeId__ = null /* moduleIdentifier (server only) */ var bindMi___vue_module_identifier__ = null var bindMi_Component = bindMi_normalizeComponent( bindMi, Mipay_bindMi, bindMi___vue_template_functional__, bindMi___vue_styles__, bindMi___vue_scopeId__, bindMi___vue_module_identifier__ ) /* harmony default export */ var withdraw_Mipay_bindMi = (bindMi_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/Mipay/mipayRequest.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var mipayRequest = ({ data: function data() { var _this = this; return { rate: 7.0, showSome: false, value1: 0, bankList: [], imgUrl: "/static/public/image/userImg/usdt_bank.png", amount: "", availableAmount: "", notAmount: "", totalAmount: "", unavailableReason: "", payPassword: "", toastShow: false, toastNum: 430, toastText: "", columns: [{ title: "钱包地å€", align: "center", key: "bankName", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", Number(params.row.usdt_count) > 0 ? "å°¾å·:" + (params.row.bankAccount.length > 6 ? params.row.bankAccount.substring(params.row.bankAccount.length - 6, params.row.bankAccount.length) : params.row.bankAccount) : params.row.bankName)]); } }, { title: "æ款金é¢", align: "center", key: "amount", className: "demo-table-info-column" }, { title: "æ款时间", key: "time", align: "center", className: "demo-table-info-column", width: 150, render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.time - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "状æ€", align: "center", key: "status", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", params.row.status == "success" || params.row.status == "virtualWithdrawals" || params.row.status === "thirdWalletWithdrawals" || params.row.status === "alipayWithdrawals" ? "æˆåŠŸ" : false || params.row.status == "fail" ? "失败" : "å®¡æ ¸ä¸")]); } }], data: [], canClick: false, swiperOption: { loop: true, slidesPerView: 1, pagination: { el: ".swiper-pagination", clickable: true }, navigation: { nextEl: ".slideNext", prevEl: ".slidePrev" } } }; }, methods: { showBtn: function showBtn() { if (this.bankList.length > 1) { this.showSome = true; } }, hideBtn: function hideBtn() { this.showSome = false; }, fetchUserWithdrawAmmount: function fetchUserWithdrawAmmount() { var _this2 = this; this.$http.post(this.$HOST_NAME + "/withdrawals/getWithdrawAmount").then(function (res) { if (res.code === 200 && res.data) { var _res$data = res.data, amount = _res$data.amount, notAmount = _res$data.notAmount, msg = _res$data.msg, totalAmount = _res$data.totalAmount; _this2.availableAmount = amount.toFixed(2); //å¯ç”¨æ€»é¢ _this2.notAmount = notAmount; //ä¸å¯ç”¨é‡‘é¢ // this.unavailableReason = msg.split(',')[1] //ä¸å¯ç”¨åŽŸå› _this2.unavailableReason = msg; _this2.totalAmount = totalAmount; //æ€»é‡‘é¢ } else { _this2.$error(res.message); } }); }, setList: function setList() { var _this3 = this; if (this.bankList.length) { this.bankList.forEach(function (v) { v.created_at = _this3.$moment.unix(v.created_at - 0).format("YYYY-MM-DD HH:mm:ss"); }); } }, // å–款申请 application: function application() { var _this4 = this; if (this.canClick) { return false; } var isMoney = this.dInvalidMoney(this.amount); var isPwd = this.validatePwdAccount(this.payPassword); if (!isMoney) { this.toastShow = true; this.toastNum = 356; this.toastText = "请输入æ£ç¡®é‡‘é¢"; return false; } if (Number(this.amount) < Number(JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit)) { this.toastShow = true; this.toastNum = 356; this.toastText = "æ款金é¢ä¸èƒ½å°äºŽ" + JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit; return false; } if (this.amount * 1 > this.availableAmount * 1) { this.toastShow = true; this.toastNum = 356; this.toastText = "å–款金é¢ä¸èƒ½å¤§äºŽå¯ç”¨é‡‘é¢"; return false; } if (!isPwd) { this.toastShow = true; this.toastNum = 490; this.toastText = "请输入æ£ç¡®6ä½æ•°å—资金密ç "; return false; } if (this.availableAmount <= 0) { this.$toast(this.unavailableReason); return false; } var payload = { amount: this.amount, payPassword: this.payPassword, bankId: this.bankList[this.$refs.mySwiper.swiper.activeIndex].id, withdrawalsType: "mipay" }; this.toastShow = false; this.canClick = true; setTimeout(function () { _this4.canClick = false; }, 3 * 1000); this.$http.post(this.$HOST_NAME + "/member/setBalanceToLocal").then(function (res) { if (res.code == 200) { // this.amount = this.amount.toFixed(2) _this4.$http.post(_this4.$HOST_NAME + "/withdrawals/application", payload).then(function (res) { if (res.code == 200) { _this4.amount = ""; _this4.payPassword = ""; _this4.$success("申请æˆåŠŸ"); _this4.withdrawals(); _this4.fetchUserWithdrawAmmount(); } else if (res.code == 5011) { // ææ¬¾æ—¶ä¼ å›ž 5011 弹出绑定电è¯è§†çª—。 _this4.$store.commit("alert/changbindPhone", true); } else { _this4.$error(res.message); } }); } }); }, // 最近åæ¡å–款记录 withdrawals: function withdrawals() { var _this5 = this; var params = { money_type: "MIPAY" }; this.$http.post(this.$HOST_NAME + "/withdrawals/last", params).then(function (res) { if (res.code == 200) { _this5.data = res.data; // this.data = this.data.filter(v => { // return v.usdt_count && Number(v.usdt_count) > 0; // }); } }); }, hanlderAmount: function hanlderAmount() { if (this.amount.indexOf(".") != -1) { this.amount = this.amount.substring(0, this.amount.indexOf(".") + 3); } } }, components: { swiper: vue_awesome_swiper["swiper"], swiperSlide: vue_awesome_swiper["swiperSlide"] }, created: function created() { var _this6 = this; this.$nextTick(function () { _this6.bankList = _this6.$store.state.personal.mipayList; if (!_this6.bankList.length) { _this6.$error("请绑定Mipay", 3000); _this6.$store.commit("showContent", { parent: "withdraw" }); _this6.$store.commit("showNav", { child: 7 }); } // this.setList() _this6.withdrawals(); _this6.fetchUserWithdrawAmmount(); }); }, destroyed: function destroyed() { this.$store.commit("loading", false); }, computed: { swiper: function swiper() { return this.$refs.mySwiper.swiper; }, bankDetail: function bankDetail() { return this.bankList[this.swiper.activeIndex - 1]; } }, watch: {} }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-44f0dbe6","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/Mipay/mipayRequest.vue var mipayRequest_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"deposit"},[_c('div',{staticClass:"header"},[_c('div',{staticClass:"title"},[_vm._v("\n "+_vm._s(_vm.$store.state.personal.withdrawalTitle)+"\n ")])]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-usdtbing fl"},[_c('div',{staticClass:"list_user",on:{"mouseenter":_vm.showBtn,"mouseleave":_vm.hideBtn}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slidePrev"},[_c('Icon',{attrs:{"type":"ios-arrow-left"}})],1),_vm._v(" "),_c('swiper',{ref:"mySwiper",attrs:{"options":_vm.swiperOption}},[_vm._l((_vm.bankList),function(item,index){return _c('swiper-slide',{key:index,model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},[_c('div',{staticClass:"slide_box"},[_c('div',{staticClass:"slide_list",style:({ backgroundImage: 'url(/static/public/image/bank/mipay.png)', backgroundSize: 'cover' })},[_c('div',{staticClass:"title"},[_c('span',[_vm._v("Mipay withdraw8")])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('span',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fl"},[_vm._v(" å–款人:"+_vm._s(item.cardName)+" ")]),_vm._v(" "),_c('span',{staticClass:"fr"},[_vm._v(" 绑定时间: "+_vm._s(item.created_at)+" ")])])])])])}),_vm._v(" "),_c('div',{staticClass:"swiper-pagination",attrs:{"slot":"pagination"},slot:"pagination"})],2),_vm._v(" "),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slideNext"},[_c('Icon',{attrs:{"type":"ios-arrow-right"}})],1)],1),_vm._v(" "),_c('div',{staticClass:"pay-bankinfo"},[_c('div',{staticClass:"row"},[_c('label',[_vm._v("æ款金é¢ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.amount),expression:"amount"}],attrs:{"autocomplete":"off","type":"text","placeholder":'å¯æ现金é¢' + _vm.availableAmount + 'å…ƒ',"onkeyup":"value=value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,'$1$2.$3')"},domProps:{"value":(_vm.amount)},on:{"blur":_vm.hanlderAmount,"input":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}}),_vm._v(" "),_c('a',{staticStyle:{"font-size":"14px","color":"#2d8cf0"},attrs:{"href":"javascript:;"},on:{"click":function($event){_vm.amount = _vm.availableAmount}}},[_vm._v("å…¨é¢æ款")])]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("资金密ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})]),_vm._v(" "),_c('p',{staticClass:"att"},[_vm._v("\n 注æ„:收款地å€ç»‘定错误请åŠæ—¶è”系客æœè§£ç»‘\n ,æ款å‰è¯·åŠ¡å¿…å†ä¸‰ç¡®è®¤æ”¶æ¬¾åœ°å€ä¸ºUSDT-ERC20\n ")])]),_vm._v(" "),_c('div',{staticClass:"submit",class:{ active: _vm.canClick },on:{"click":_vm.application}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({ top: _vm.toastNum + 'px' })},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-right fl"},[_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='line-height:453px;background:#f2f2f2;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}})],1)])])} var mipayRequest_staticRenderFns = [] var mipayRequest_esExports = { render: mipayRequest_render, staticRenderFns: mipayRequest_staticRenderFns } /* harmony default export */ var Mipay_mipayRequest = (mipayRequest_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/Mipay/mipayRequest.vue function mipayRequest_injectStyle (ssrContext) { __webpack_require__("Kp0d") } var mipayRequest_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var mipayRequest___vue_template_functional__ = false /* styles */ var mipayRequest___vue_styles__ = mipayRequest_injectStyle /* scopeId */ var mipayRequest___vue_scopeId__ = "data-v-44f0dbe6" /* moduleIdentifier (server only) */ var mipayRequest___vue_module_identifier__ = null var mipayRequest_Component = mipayRequest_normalizeComponent( mipayRequest, Mipay_mipayRequest, mipayRequest___vue_template_functional__, mipayRequest___vue_styles__, mipayRequest___vue_scopeId__, mipayRequest___vue_module_identifier__ ) /* harmony default export */ var withdraw_Mipay_mipayRequest = (mipayRequest_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/Mipay/bindThirdWallet.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var bindThirdWallet = ({ data: function data() { return { value1: 0, autoplay: 3500, bankList: [], qitaBank: false, cardName: this.$store.state.mainState.userinfo.realName, cardAddress: "", toastShow: false, toastNum: 30, cardNum: "", payPassword: "", payPassword_confirmation: "", usdtcardNum: "", toastText: "", key: "", value: "", canClick: false, param: "", usdtTypeData: [], bankName: "", thirdWalletTypeId: "" }; }, methods: { clearNoNum: function clearNoNum() { this.usdtcardNum = this.usdtcardNum.replace(/[\u4e00-\u9fa5·•]+/g, ""); //验è¯éžæ±‰å— }, setList: function setList() { var _this = this; if (this.bankList.length) { this.bankList.forEach(function (v) { v.created_at = _this.$moment.unix(v.created_at - 0).format("YYYY-MM-DD HH:mm:ss"); }); } }, walletList: function walletList() { var _this2 = this; this.$http.post(this.$HOST_NAME + "/member/walletList").then(function (res) { if (res.code == 200) { if (res.data.length) { res.data.forEach(function (v) { v.created_at = _this2.$moment.unix(v.created_at - 0).format("YYYY-MM-DD"); }); } _this2.bankList = res.data; _this2.$store.commit("walletList", res.data); _this2.$store.commit("loading", false); } else { _this2.$store.commit("loading", false); } }); }, setBank: function setBank() { var _this3 = this; if (this.canClick) { return false; } var reg = /^[\u4E00-\u9FA5·•]+$/; if (!reg.test(this.cardName)) { this.toastText = "请输入开户姓å"; this.toastShow = true; this.toastNum = 89; return false; } if (!this.usdtcardNum) { this.toastText = "请输入地å€"; this.toastShow = true; this.toastNum = 147; return false; } var regusdt = new RegExp("[\\u4E00-\\u9FFF]+", "g"); if (regusdt.test(this.usdtcardNum)) { this.toastText = "请输入æ£ç¡®çš„地å€"; this.toastShow = true; this.toastNum = 147; this.usdtcardNum = ""; return false; } if (!this.thirdWalletTypeId) { this.toastText = "请选择绑定钱包"; this.toastShow = true; this.toastNum = 28; return false; } var isPwd = this.validatePwdAccount(this.payPassword); if (!isPwd) { this.toastText = "请输入æ£ç¡®çš„6ä½èµ„金密ç "; this.toastShow = true; this.toastNum = 207; return false; } if (this.$store.state.mainState.userinfo.payPassword == "unset") { if (!this.payPassword_confirmation) { this.toastText = "请输入æ£ç¡®çš„6ä½èµ„金密ç "; this.toastShow = true; this.toastNum = 265; return false; } if (this.payPassword_confirmation != this.payPassword) { this.toastText = "两次密ç ä¸ä¸€æ ·"; this.toastShow = true; this.toastNum = 204; return false; } } this.toastShow = false; this.param = { cardNum: this.usdtcardNum, cardName: this.cardName, payPassword: this.payPassword, type: this.thirdWalletTypeId }; if (this.$store.state.mainState.userinfo.payPassword == "unset") { this.param.payPassword_confirmation = this.payPassword_confirmation; } if (!this.$store.state.mainState.userinfo.realName) { this.param.cardName = this.cardName; } this.canClick = true; setTimeout(function () { _this3.canClick = false; }, 3 * 1000); this.$postS("member/set-wallet-info", this.param).then(function (res) { if (res.code == 200) { _this3.$success("绑定æˆåŠŸ"); _this3.walletList(); _this3.param = {}; _this3.payPassword = ""; _this3.payPassword_confirmation = ""; _this3.thirdWalletTypeId = ""; UserService["a" /* default */].vpGetBasicInfo.call(_this3); } else { _this3.$error(res.message); } }); } // getBankCard(item) { // if(item.bankName.toLowerCase() === 'mipay') { // return 'url(/static/public/image/bank/mipay.png)' // } // return 'url(/static/public/image/bank/topay.png)' // } }, created: function created() { var _this4 = this; this.$nextTick(function () { _this4.bankList = _this4.$store.state.personal.walletList; }); }, destroyed: function destroyed() { this.$store.commit("loading", false); }, components: {}, watch: {}, computed: { usdtCardNumPlaceholder: function usdtCardNumPlaceholder() { return "请输入您的收款地å€"; } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-c23354d8","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/Mipay/bindThirdWallet.vue var bindThirdWallet_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bindingusdt"},[_c('div',{staticClass:"header"},[_vm._v("\n 绑定钱包\n ")]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-left fl"},[_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n ç¶å®šä¸‰æ–¹:\n ")]),_vm._v(" "),_c('Select',{model:{value:(_vm.thirdWalletTypeId),callback:function ($$v) {_vm.thirdWalletTypeId=$$v},expression:"thirdWalletTypeId"}},_vm._l((_vm.$store.state.personal.thirdPartyWalletType),function(item,i){return _c('Option',{key:i,attrs:{"value":item}},[_vm._v(_vm._s(item))])}),1)],1),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n æ款姓å:\n ")]),_vm._v(" "),(!_vm.$store.state.mainState.userinfo.realName)?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","maxlength":"15","placeholder":"请输入开户姓å"},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","disabled":""},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 地å€ï¼š\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.usdtcardNum),expression:"usdtcardNum"}],attrs:{"type":"text","placeholder":_vm.usdtCardNumPlaceholder,"maxlength":"50"},domProps:{"value":(_vm.usdtcardNum)},on:{"keyup":function($event){return _vm.clearNoNum()},"input":function($event){if($event.target.composing){ return; }_vm.usdtcardNum=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 资金密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})]),_vm._v(" "),(this.$store.state.mainState.userinfo.payPassword == 'unset')?_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 确定密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword_confirmation),expression:"payPassword_confirmation"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword_confirmation)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword_confirmation=$event.target.value}}})]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"submit",class:{ active: _vm.canClick },on:{"click":_vm.setBank}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({ top: _vm.toastNum + 'px' })},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-usdt fl"},[(_vm.bankList.length)?_c('Carousel',{attrs:{"loop":"","radius-dot":"","arrow":_vm.bankList.length > 1 ? 'hover' : 'never'},model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},_vm._l((_vm.bankList),function(item,i){return _c('CarouselItem',{key:i},[_c('div',{staticClass:"bank",style:({ backgroundImage: 'url(/static/public/image/bank/generalpay.png)', backgroundSize: 'cover' })},[_c('div',{staticClass:"title"},[_c('span',[_vm._v(_vm._s(item.bankName))])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('span',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fl"},[_vm._v("å–款人:"+_vm._s(item.cardName))]),_vm._v(" "),_c('span',{staticClass:"fr"},[_vm._v(" 绑定时间: "+_vm._s(item.created_at)+" ")])])])])}),1):_c('div',{staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})])],1)])])} var bindThirdWallet_staticRenderFns = [] var bindThirdWallet_esExports = { render: bindThirdWallet_render, staticRenderFns: bindThirdWallet_staticRenderFns } /* harmony default export */ var Mipay_bindThirdWallet = (bindThirdWallet_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/Mipay/bindThirdWallet.vue function bindThirdWallet_injectStyle (ssrContext) { __webpack_require__("DABa") } var bindThirdWallet_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var bindThirdWallet___vue_template_functional__ = false /* styles */ var bindThirdWallet___vue_styles__ = bindThirdWallet_injectStyle /* scopeId */ var bindThirdWallet___vue_scopeId__ = null /* moduleIdentifier (server only) */ var bindThirdWallet___vue_module_identifier__ = null var bindThirdWallet_Component = bindThirdWallet_normalizeComponent( bindThirdWallet, Mipay_bindThirdWallet, bindThirdWallet___vue_template_functional__, bindThirdWallet___vue_styles__, bindThirdWallet___vue_scopeId__, bindThirdWallet___vue_module_identifier__ ) /* harmony default export */ var withdraw_Mipay_bindThirdWallet = (bindThirdWallet_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/Mipay/thirdWalletRequest.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var thirdWalletRequest = ({ data: function data() { var _this = this; return { rate: 7.0, showSome: false, value1: 0, bankList: [], imgUrl: "/static/public/image/userImg/usdt_bank.png", amount: "", availableAmount: "", notAmount: "", totalAmount: "", unavailableReason: "", payPassword: "", toastShow: false, toastNum: 430, toastText: "", columns: [{ title: "钱包", align: "center", key: "bankName", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", Number(params.row.usdt_count) > 0 ? "å°¾å·:" + (params.row.bankAccount.length > 6 ? params.row.bankAccount.substring(params.row.bankAccount.length - 6, params.row.bankAccount.length) : params.row.bankAccount) : params.row.bankName)]); } }, { title: "地å€", align: "center", key: "bankAccount", className: "demo-table-info-column" }, { title: "æ款金é¢", align: "center", key: "amount", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", "Â¥" + params.row.amount)]); } }, { title: "æ款时间", key: "time", align: "center", className: "demo-table-info-column", width: 150, render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.time - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "状æ€", align: "center", key: "status", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", params.row.status == "success" || params.row.status == "virtualWithdrawals" || params.row.status === "thirdWalletWithdrawals" || params.row.status === "alipayWithdrawals" ? "æˆåŠŸ" : false || params.row.status == "fail" ? "失败" : "å®¡æ ¸ä¸")]); } }], data: [], canClick: false, swiperOption: { loop: true, slidesPerView: 1, pagination: { el: ".swiper-pagination", clickable: true }, navigation: { nextEl: ".slideNext", prevEl: ".slidePrev" }, on: { // 监å¬æ»‘动切æ¢äº‹ä»¶ï¼Œè¿”回swiper对象 slideChange: function slideChange() { _this.withdrawals(); } } }, bankName: "" }; }, methods: { showBtn: function showBtn() { if (this.bankList.length > 1) { this.showSome = true; } }, hideBtn: function hideBtn() { this.showSome = false; }, fetchUserWithdrawAmmount: function fetchUserWithdrawAmmount() { var _this2 = this; this.$http.post(this.$HOST_NAME + "/withdrawals/getWithdrawAmount").then(function (res) { if (res.code === 200 && res.data) { var _res$data = res.data, amount = _res$data.amount, notAmount = _res$data.notAmount, msg = _res$data.msg, totalAmount = _res$data.totalAmount; _this2.availableAmount = amount.toFixed(2); //å¯ç”¨æ€»é¢ _this2.notAmount = notAmount; //ä¸å¯ç”¨é‡‘é¢ // this.unavailableReason = msg.split(',')[1] //ä¸å¯ç”¨åŽŸå› _this2.unavailableReason = msg; _this2.totalAmount = totalAmount; //æ€»é‡‘é¢ } else { _this2.$error(res.message); } }); }, setList: function setList() { var _this3 = this; if (this.bankList.length) { this.bankList.forEach(function (v) { v.created_at = _this3.$moment.unix(v.created_at - 0).format("YYYY-MM-DD HH:mm:ss"); }); } }, // å–款申请 application: function application() { var _this4 = this; if (this.canClick) { return false; } var isMoney = this.dInvalidMoney(this.amount); var isPwd = this.validatePwdAccount(this.payPassword); if (!isMoney) { this.toastShow = true; this.toastNum = 356; this.toastText = "请输入æ£ç¡®é‡‘é¢"; return false; } if (Number(this.amount) < Number(JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit)) { this.toastShow = true; this.toastNum = 356; this.toastText = "æ款金é¢ä¸èƒ½å°äºŽ" + JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit; return false; } if (this.amount * 1 > this.availableAmount * 1) { this.toastShow = true; this.toastNum = 356; this.toastText = "å–款金é¢ä¸èƒ½å¤§äºŽå¯ç”¨é‡‘é¢"; return false; } if (!isPwd) { this.toastShow = true; this.toastNum = 490; this.toastText = "请输入æ£ç¡®6ä½æ•°å—资金密ç "; return false; } if (this.availableAmount <= 0) { this.$toast(this.unavailableReason); return false; } var payload = { amount: this.amount, payPassword: this.payPassword, bankId: this.bankList[this.$refs.mySwiper.swiper.activeIndex].id, withdrawalsType: this.bankList[this.$refs.mySwiper.swiper.activeIndex].bankName.toLowerCase() }; this.toastShow = false; this.canClick = true; setTimeout(function () { _this4.canClick = false; }, 3 * 1000); this.$http.post(this.$HOST_NAME + "/member/setBalanceToLocal").then(function (res) { if (res.code == 200) { // this.amount = this.amount.toFixed(2) _this4.$http.post(_this4.$HOST_NAME + "/withdrawals/application", payload).then(function (res) { if (res.code == 200) { _this4.amount = ""; _this4.payPassword = ""; _this4.$success("申请æˆåŠŸ"); _this4.withdrawals(); _this4.fetchUserWithdrawAmmount(); } else if (res.code == 5011) { // ææ¬¾æ—¶ä¼ å›ž 5011 弹出绑定电è¯è§†çª—。 _this4.$store.commit("alert/changbindPhone", true); } else { _this4.$error(res.message); } }); } }); }, // 最近åæ¡å–款记录 withdrawals: function withdrawals() { var _this5 = this; var params = { money_type: this.bankList[this.$refs.mySwiper.swiper.activeIndex].bankName.toUpperCase() }; this.$http.post(this.$HOST_NAME + "/withdrawals/last", params).then(function (res) { if (res.code == 200) { _this5.data = res.data; // this.data = this.data.filter(v => { // return v.usdt_count && Number(v.usdt_count) > 0; // }); } }); }, hanlderAmount: function hanlderAmount() { if (this.amount.indexOf(".") != -1) { this.amount = this.amount.substring(0, this.amount.indexOf(".") + 3); } } // getBankCard(item) { // if(item.bankName.toLowerCase() === 'mipay') { // return 'url(/static/public/image/bank/mipay.png)' // } // return 'url(/static/public/image/bank/topay.png)' // } }, components: { swiper: vue_awesome_swiper["swiper"], swiperSlide: vue_awesome_swiper["swiperSlide"] }, created: function created() { var _this6 = this; this.$nextTick(function () { _this6.bankList = _this6.$store.state.personal.walletList; if (!_this6.bankList.length) { _this6.$error("请绑定钱包", 3000); _this6.$store.commit("showContent", { parent: "withdraw" }); _this6.$store.commit("showNav", { child: 9 }); } // this.setList() _this6.withdrawals(); _this6.fetchUserWithdrawAmmount(); }); }, destroyed: function destroyed() { this.$store.commit("loading", false); }, computed: { swiper: function swiper() { return this.$refs.mySwiper.swiper; }, bankDetail: function bankDetail() { return this.bankList[this.swiper.activeIndex - 1]; } }, watch: {} }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-43f54c6b","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/Mipay/thirdWalletRequest.vue var thirdWalletRequest_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"deposit"},[_c('div',{staticClass:"header"},[_c('div',{staticClass:"title"},[_vm._v("\n "+_vm._s(_vm.$store.state.personal.withdrawalTitle)+"\n ")])]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-usdtbing fl"},[_c('div',{staticClass:"list_user",on:{"mouseenter":_vm.showBtn,"mouseleave":_vm.hideBtn}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slidePrev"},[_c('Icon',{attrs:{"type":"ios-arrow-left"}})],1),_vm._v(" "),_c('swiper',{ref:"mySwiper",attrs:{"options":_vm.swiperOption}},[_vm._l((_vm.bankList),function(item,index){return _c('swiper-slide',{key:index,model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},[_c('div',{staticClass:"slide_box"},[_c('div',{staticClass:"slide_list",style:({ backgroundImage: 'url(/static/public/image/bank/generalpay.png)', backgroundSize: 'cover' })},[_c('div',{staticClass:"title"},[_c('span',[_vm._v(_vm._s(item.bankName))])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('span',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fl"},[_vm._v(" å–款人:"+_vm._s(item.cardName)+" ")]),_vm._v(" "),_c('span',{staticClass:"fr"},[_vm._v(" 绑定时间: "+_vm._s(item.created_at)+" ")])])])])])}),_vm._v(" "),_c('div',{staticClass:"swiper-pagination thirdWalletSwiper",attrs:{"slot":"pagination"},slot:"pagination"})],2),_vm._v(" "),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slideNext"},[_c('Icon',{attrs:{"type":"ios-arrow-right"}})],1)],1),_vm._v(" "),_c('div',{staticClass:"pay-bankinfo"},[_c('div',{staticClass:"row"},[_c('label',[_vm._v("æ款金é¢ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.amount),expression:"amount"}],attrs:{"autocomplete":"off","type":"text","placeholder":'å¯æ现金é¢' + _vm.availableAmount + 'å…ƒ',"onkeyup":"value=value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,'$1$2.$3')"},domProps:{"value":(_vm.amount)},on:{"blur":_vm.hanlderAmount,"input":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}}),_vm._v(" "),_c('a',{staticStyle:{"font-size":"14px","color":"#2d8cf0"},attrs:{"href":"javascript:;"},on:{"click":function($event){_vm.amount = _vm.availableAmount}}},[_vm._v("å…¨é¢æ款")])]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("资金密ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})]),_vm._v(" "),_c('p',{staticClass:"att"},[_vm._v("\n 注æ„:收款地å€ç»‘定错误请åŠæ—¶è”系客æœè§£ç»‘\n ")])]),_vm._v(" "),_c('div',{staticClass:"submit",class:{ active: _vm.canClick },on:{"click":_vm.application}},[_vm._v("\n ç«‹å³å–款\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({ top: _vm.toastNum + 'px' })},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-right fl"},[_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='line-height:453px;background:#f2f2f2;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}})],1)])])} var thirdWalletRequest_staticRenderFns = [] var thirdWalletRequest_esExports = { render: thirdWalletRequest_render, staticRenderFns: thirdWalletRequest_staticRenderFns } /* harmony default export */ var Mipay_thirdWalletRequest = (thirdWalletRequest_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/Mipay/thirdWalletRequest.vue function thirdWalletRequest_injectStyle (ssrContext) { __webpack_require__("6iyp") } var thirdWalletRequest_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var thirdWalletRequest___vue_template_functional__ = false /* styles */ var thirdWalletRequest___vue_styles__ = thirdWalletRequest_injectStyle /* scopeId */ var thirdWalletRequest___vue_scopeId__ = "data-v-43f54c6b" /* moduleIdentifier (server only) */ var thirdWalletRequest___vue_module_identifier__ = null var thirdWalletRequest_Component = thirdWalletRequest_normalizeComponent( thirdWalletRequest, Mipay_thirdWalletRequest, thirdWalletRequest___vue_template_functional__, thirdWalletRequest___vue_styles__, thirdWalletRequest___vue_scopeId__, thirdWalletRequest___vue_module_identifier__ ) /* harmony default export */ var withdraw_Mipay_thirdWalletRequest = (thirdWalletRequest_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/alipay/alipayRequest.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var alipayRequest = ({ data: function data() { var _this = this; return { showSome: false, value1: 0, bankSerialNumber: "0.00", alipayList: [], amount: "", radioAmount: "", availableAmount: "", notAmount: "", totalAmount: "", unavailableReason: "", payPassword: "", toastShow: false, toastNum: 430, toastText: "", columns: [{ title: "支付å®åœ°å€", align: "center", key: "bankAccount", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", Number(params.row.usdt_count) > 0 ? "å°¾å·:" + (params.row.bankAccount.length > 6 ? params.row.bankAccount.substring(params.row.bankAccount.length - 6, params.row.bankAccount.length) : params.row.bankAccount) : params.row.bankAccount)]); } }, { title: "æ款金é¢", align: "center", key: "amount", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", "Â¥" + params.row.amount)]); } }, { title: "æ款时间", key: "time", align: "center", className: "demo-table-info-column", width: 150, render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.time - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "状æ€", align: "center", key: "status", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", params.row.status == "success" || params.row.status == "virtualWithdrawals" || params.row.status === "thirdWalletWithdrawals" || params.row.status === "alipayWithdrawals" ? "æˆåŠŸ" : false || params.row.status == "fail" ? "失败" : "å®¡æ ¸ä¸")]); } }], data: [], canClick: false, swiperOption: { loop: false, slidesPerView: 1, pagination: { el: ".swiper-pagination", clickable: true }, navigation: { nextEl: ".slideNext", prevEl: ".slidePrev" } } }; }, methods: { showBtn: function showBtn() { if (this.alipayList.length > 1) { this.showSome = true; } }, hideBtn: function hideBtn() { this.showSome = false; }, fetchUserWithdrawAmmount: function fetchUserWithdrawAmmount() { var _this2 = this; this.$http.post(this.$HOST_NAME + "/withdrawals/getWithdrawAmount").then(function (res) { if (res.code === 200 && res.data) { var _res$data = res.data, amount = _res$data.amount, notAmount = _res$data.notAmount, msg = _res$data.msg, totalAmount = _res$data.totalAmount; _this2.availableAmount = amount.toFixed(2); //å¯ç”¨æ€»é¢ _this2.notAmount = notAmount; //ä¸å¯ç”¨é‡‘é¢ _this2.unavailableReason = msg; _this2.totalAmount = totalAmount; //æ€»é‡‘é¢ } else { _this2.$error(res.message); } }); }, setList: function setList() { var _this3 = this; if (this.alipayList.length) { this.alipayList.forEach(function (v) { v.created_at = _this3.$moment.unix(v.created_at - 0).format("YYYY-MM-DD HH:mm:ss"); }); } }, // å–款申请 application: function application() { var _this4 = this; if (this.canClick) return false; var isMoney = this.dInvalidMoney(this.amount); var isPwd = this.validatePwdAccount(this.payPassword); if (!isMoney) { this.toastShow = true; this.toastNum = 325; this.toastText = "请输入æ£ç¡®é‡‘é¢"; return false; } if (Number(this.amount) < Number(this.withdrawalsLimit)) { this.toastShow = true; this.toastNum = 325; this.toastText = "æ款金é¢ä¸èƒ½å°äºŽ" + this.withdrawalsLimit; return false; } if (this.amount * 1 > this.availableAmount * 1) { this.toastShow = true; this.toastNum = 325; this.toastText = "å–款金é¢ä¸èƒ½å¤§äºŽå¯ç”¨é‡‘é¢"; return false; } if (!isPwd) { this.toastShow = true; this.toastNum = 372; this.toastText = "请输入æ£ç¡®6ä½æ•°å—资金密ç "; return false; } if (this.availableAmount <= 0) { this.$toast(this.unavailableReason); return false; } var withdrawalsType = this.$store.state.personal.navView.list ? this.$store.state.personal.navView.list[0].extra.withdrawalsType : "alipayWithdrawals"; var payload = { amount: this.amount, payPassword: this.payPassword, bankId: this.alipayList[this.$refs.mySwiper.swiper.activeIndex].id, withdrawalsType: withdrawalsType }; this.toastShow = false; this.canClick = true; setTimeout(function () { _this4.canClick = false; }, 3 * 1000); this.$http.post(this.$HOST_NAME + "/member/setBalanceToLocal").then(function (res) { if (res.code == 200) { _this4.$http.post(_this4.$HOST_NAME + "/withdrawals/application", payload).then(function (res) { if (res.code == 200) { _this4.amount = ""; _this4.radioAmount = ""; _this4.payPassword = ""; _this4.$success("申请æˆåŠŸ"); _this4.withdrawals(); _this4.fetchUserWithdrawAmmount(); } else if (res.code == 5011) { // ææ¬¾æ—¶ä¼ å›ž 5011 弹出绑定电è¯è§†çª—。 _this4.$store.commit("alert/changbindPhone", true); } else { _this4.$error(res.message); } }); } }); }, // 最近åæ¡å–款记录 withdrawals: function withdrawals() { var _this5 = this; var params = { money_type: "ALIPAY" }; this.$http.post(this.$HOST_NAME + "/withdrawals/last", params).then(function (res) { if (res.code == 200) { _this5.data = res.data; } }); }, hanldeAmount: function hanldeAmount() { if (this.amount.indexOf(".") != -1) { this.amount = this.amount.substring(0, this.amount.indexOf(".") + 3); } }, handleRadioAmount: function handleRadioAmount(val) { this.amount = val; this.toastShow = false; } }, components: { swiper: vue_awesome_swiper["swiper"], swiperSlide: vue_awesome_swiper["swiperSlide"] }, created: function created() { this.alipayList = this.$store.state.personal.alipayList; if (!this.alipayList.length) { this.$error("请绑定支付å®", 3000); this.$store.commit("showContent", { parent: "withdraw" }); this.$store.commit("showNav", { child: 12 }); } this.withdrawals(); this.fetchUserWithdrawAmmount(); }, destroyed: function destroyed() { this.$store.commit("loading", false); }, computed: { swiper: function swiper() { return this.$refs.mySwiper.swiper; }, bankDetail: function bankDetail() { return this.alipayList[this.swiper.activeIndex - 1]; }, maxBookingBonus: function maxBookingBonus() { return this.$store.state.personal.maxBookingBonus; }, withdrawalsLimit: function withdrawalsLimit() { return JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit; }, alipayConfig: function alipayConfig() { return this.$store.state.personal.rechargeConfig.find(function (e) { return e.type === "alipay"; }); }, withdrawalsAmount: function withdrawalsAmount() { if (!this.alipayConfig && !this.alipayConfig.list) return []; return this.alipayConfig.list[0].format_amount; } }, watch: { amount: function amount(val) { this.bankSerialNumber = (this.amount / this.alipayList[this.value1].usdtDepositRate).toFixed(4); }, "this.$refs.mySwiper.swiper.activeIndex": function this$refsMySwiperSwiperActiveIndex(ne, old) { console.log("activeIndex", ne, old); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-50c69e99","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/alipay/alipayRequest.vue var alipayRequest_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"deposit"},[_c('div',{staticClass:"header"},[_c('div',{staticClass:"title"},[_vm._v("\n "+_vm._s(_vm.$store.state.personal.withdrawalTitle)+"\n ")])]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-alipaybing fl"},[_c('div',{staticClass:"list_user",on:{"mouseenter":_vm.showBtn,"mouseleave":_vm.hideBtn}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slidePrev"},[_c('Icon',{attrs:{"type":"ios-arrow-left"}})],1),_vm._v(" "),_c('swiper',{ref:"mySwiper",attrs:{"options":_vm.swiperOption}},[_vm._l((_vm.alipayList),function(item,index){return _c('swiper-slide',{key:index,model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},[_c('div',{staticClass:"slide_box"},[_c('div',{staticClass:"slide_list",style:({ backgroundImage: 'url(/static/public/image/bank/alipay.png)', backgroundSize: 'cover' })},[_c('div',{staticClass:"title"},[_c('span',[_vm._v(_vm._s(item.bankName))])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('span',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fl"},[_vm._v(" å–款人:"+_vm._s(item.cardName)+" ")]),_vm._v(" "),_c('span',{staticClass:"fr"},[_vm._v(" 绑定时间: "+_vm._s(item.created_at)+" ")])])])])])}),_vm._v(" "),_c('div',{staticClass:"swiper-pagination",attrs:{"slot":"pagination"},slot:"pagination"})],2),_vm._v(" "),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSome),expression:"showSome"}],staticClass:"slideNext"},[_c('Icon',{attrs:{"type":"ios-arrow-right"}})],1)],1),_vm._v(" "),_c('div',{staticClass:"pay-bankinfo"},[_c('div',{staticClass:"row"},[_c('label',[_vm._v("æ款金é¢ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.amount),expression:"amount"}],attrs:{"autocomplete":"off","type":"text","placeholder":'å¯æ现金é¢' + _vm.availableAmount + 'å…ƒ',"onkeyup":"value=value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,'$1$2.$3')"},domProps:{"value":(_vm.amount)},on:{"blur":_vm.hanldeAmount,"input":[function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value},function($event){_vm.radioAmount = ''}]}}),_vm._v(" "),_c('a',{staticStyle:{"font-size":"14px","color":"#2d8cf0"},on:{"click":function($event){$event.preventDefault();_vm.amount = _vm.availableAmount}}},[_vm._v("å…¨é¢æ款")]),_vm._v(" "),(_vm.withdrawalsAmount.length > 0)?_c('div',{class:['radio-content', 'hasCustom']},[_c('RadioGroup',{staticClass:"radio-group",on:{"on-change":_vm.handleRadioAmount},model:{value:(_vm.radioAmount),callback:function ($$v) {_vm.radioAmount=$$v},expression:"radioAmount"}},_vm._l((_vm.withdrawalsAmount),function(item,i){return _c('Radio',{key:(i + "-" + item),attrs:{"label":item}},[_c('span',{staticClass:"radio-span"},[_vm._v(_vm._s(item))])])}),1)],1):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("资金密ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})]),_vm._v(" "),_c('p',{staticClass:"att"},[_vm._v("\n 注æ„:收款地å€ç»‘定错误请åŠæ—¶è”系客æœè§£ç»‘\n ")])]),_vm._v(" "),_c('div',{staticClass:"submit",class:{ active: _vm.canClick },on:{"click":_vm.application}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({ top: _vm.toastNum + 'px' })},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-right fl"},[_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='line-height:453px;background:#f2f2f2;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}})],1)])])} var alipayRequest_staticRenderFns = [] var alipayRequest_esExports = { render: alipayRequest_render, staticRenderFns: alipayRequest_staticRenderFns } /* harmony default export */ var alipay_alipayRequest = (alipayRequest_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/alipay/alipayRequest.vue function alipayRequest_injectStyle (ssrContext) { __webpack_require__("Yxzg") } var alipayRequest_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var alipayRequest___vue_template_functional__ = false /* styles */ var alipayRequest___vue_styles__ = alipayRequest_injectStyle /* scopeId */ var alipayRequest___vue_scopeId__ = "data-v-50c69e99" /* moduleIdentifier (server only) */ var alipayRequest___vue_module_identifier__ = null var alipayRequest_Component = alipayRequest_normalizeComponent( alipayRequest, alipay_alipayRequest, alipayRequest___vue_template_functional__, alipayRequest___vue_styles__, alipayRequest___vue_scopeId__, alipayRequest___vue_module_identifier__ ) /* harmony default export */ var withdraw_alipay_alipayRequest = (alipayRequest_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/alipay/bindAlipay.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var bindAlipay = ({ data: function data() { return { value1: 0, alipayList: [], cardName: this.$store.state.mainState.userinfo.realName, toastShow: false, toastNum: 30, payPassword: '', payPassword_confirmation: '', alipayNum: "", toastText: '', key: '', canClick: false, param: '' }; }, methods: { clearNoNum: function clearNoNum() { this.alipayNum = this.alipayNum.replace(/[\u4e00-\u9fa5·•]+/g, ""); //验è¯éžæ±‰å— }, setList: function setList() { var _this = this; if (this.alipayList.length) { this.alipayList.forEach(function (v) { v.created_at = _this.$moment.unix(v.created_at - 0).format('YYYY-MM-DD HH:mm:ss'); }); } }, fetchAlipayList: function fetchAlipayList() { var _this2 = this; this.$http.post(this.$HOST_NAME + '/member/alipayList').then(function (res) { if (res.code == 200) { if (res.data.length) { res.data.forEach(function (v) { v.created_at = _this2.$moment.unix(v.created_at - 0).format('YYYY-MM-DD'); }); } _this2.alipayList = res.data; _this2.$store.commit('alipayList', res.data); _this2.$store.commit('loading', false); } else { _this2.$store.commit('loading', false); } }); }, setBank: function setBank() { var _this3 = this; if (this.canClick) return false; var reg = /^[\u4E00-\u9FA5·•]+$/; if (!reg.test(this.cardName) && !this.$store.state.mainState.userinfo.realName) { this.toastText = '请输入开户姓å'; this.toastShow = true; this.toastNum = 28; return false; } if (!this.alipayNum) { this.toastText = '请输入支付å®åœ°å€'; this.toastShow = true; this.toastNum = 88; return false; } reg = new RegExp('[\\u4E00-\\u9FFF]+', "g"); if (reg.test(this.alipayNum)) { this.toastText = '请输入æ£ç¡®çš„支付å®åœ°å€'; this.toastShow = true; this.toastNum = 88; this.alipayNum = ''; return false; } if (!this.payPassword) { this.toastText = '请输入æ£ç¡®çš„6ä½èµ„金密ç '; this.toastShow = true; this.toastNum = 146; return false; } if (this.$store.state.mainState.userinfo.payPassword == 'unset') { if (!this.payPassword_confirmation) { this.toastText = '请输入æ£ç¡®çš„6ä½èµ„金密ç '; this.toastShow = true; this.toastNum = 204; return false; } if (this.payPassword_confirmation !== this.payPassword) { this.toastText = '两次密ç ä¸ä¸€æ ·'; this.toastShow = true; this.toastNum = 204; return false; } } this.toastShow = false; this.param = { cardNum: this.alipayNum, payPassword: this.payPassword }; if (this.$store.state.mainState.userinfo.payPassword === 'unset') { this.param.payPassword_confirmation = this.payPassword_confirmation; } if (!this.$store.state.mainState.userinfo.realName) { this.param.cardName = this.cardName; } this.canClick = true; setTimeout(function () { _this3.canClick = false; }, 3 * 1000); this.$postS('member/set-alipay-info', this.param).then(function (res) { if (res.code == 200) { _this3.$success('绑定æˆåŠŸ'); _this3.fetchAlipayList(); _this3.param = {}; _this3.alipayNum = ''; _this3.payPassword = ''; _this3.payPassword_confirmation = ''; UserService["a" /* default */].vpGetBasicInfo.call(_this3); } else { _this3.$error(res.message); } }); } }, created: function created() { this.alipayList = this.$store.state.personal.alipayList; }, destroyed: function destroyed() { this.$store.commit('loading', false); }, computed: {} }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-df482fbc","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/alipay/bindAlipay.vue var bindAlipay_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bindingalipay"},[_c('div',{staticClass:"header"},[_vm._v("\n 绑定支付å®\n ")]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-left fl"},[_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n æ款姓å:\n ")]),_vm._v(" "),(!_vm.$store.state.mainState.userinfo.realName)?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","maxlength":"15","placeholder":"请输入开户姓å"},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.cardName),expression:"cardName"}],attrs:{"type":"text","disabled":""},domProps:{"value":(_vm.cardName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.cardName=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 支付å®æ”¶æ¬¾å¸æˆ·ï¼š\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.alipayNum),expression:"alipayNum"}],attrs:{"type":"text","placeholder":'请输您的收款地å€',"maxlength":"50"},domProps:{"value":(_vm.alipayNum)},on:{"keyup":function($event){return _vm.clearNoNum()},"input":function($event){if($event.target.composing){ return; }_vm.alipayNum=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 资金密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})]),_vm._v(" "),(this.$store.state.mainState.userinfo.payPassword == 'unset')?_c('div',{staticClass:"row"},[_c('label',{staticClass:"text"},[_vm._v("\n 确定密ç :\n ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword_confirmation),expression:"payPassword_confirmation"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword_confirmation)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword_confirmation=$event.target.value}}})]):_vm._e(),_vm._v(" "),_c('p',{staticClass:"att"},[_vm._v("è¯·è®¤çœŸæ ¡å¯¹å¸æˆ·åœ°å€ï¼Œå¸å·é”™è¯¯èµ„é‡‘å°†æ— æ³•åˆ°è´¦ã€‚")]),_vm._v(" "),_c('div',{staticClass:"submit",class:{'active':_vm.canClick},on:{"click":_vm.setBank}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({top:_vm.toastNum+'px'})},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-alipay fl"},[(_vm.alipayList.length)?_c('Carousel',{attrs:{"loop":"","radius-dot":"","arrow":_vm.alipayList.length >1 ? 'hover':'never'},model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v},expression:"value1"}},_vm._l((_vm.alipayList),function(item,i){return _c('CarouselItem',{key:i},[_c('div',{staticClass:"bank",style:({backgroundImage: 'url(/static/public/image/bank/alipay.png)', backgroundSize:'cover'})},[_c('div',{staticClass:"title"},[_c('span',[_vm._v(_vm._s(item.bankName))])]),_vm._v(" "),_c('div',{staticClass:"bank-kh"},[_c('span',[_vm._v(_vm._s(item.cardNum))])]),_vm._v(" "),_c('div',{staticClass:"bank-info"},[_c('span',{staticClass:"fl"},[_vm._v("å–款人:"+_vm._s(item.cardName))]),_vm._v(" "),_c('span',{staticClass:"fr"},[_vm._v("\n 绑定时间: "+_vm._s(item.created_at)+"\n ")])])])])}),1):_c('div',{staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})])],1)])])} var bindAlipay_staticRenderFns = [] var bindAlipay_esExports = { render: bindAlipay_render, staticRenderFns: bindAlipay_staticRenderFns } /* harmony default export */ var alipay_bindAlipay = (bindAlipay_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/alipay/bindAlipay.vue function bindAlipay_injectStyle (ssrContext) { __webpack_require__("0ImA") } var bindAlipay_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var bindAlipay___vue_template_functional__ = false /* styles */ var bindAlipay___vue_styles__ = bindAlipay_injectStyle /* scopeId */ var bindAlipay___vue_scopeId__ = null /* moduleIdentifier (server only) */ var bindAlipay___vue_module_identifier__ = null var bindAlipay_Component = bindAlipay_normalizeComponent( bindAlipay, alipay_bindAlipay, bindAlipay___vue_template_functional__, bindAlipay___vue_styles__, bindAlipay___vue_scopeId__, bindAlipay___vue_module_identifier__ ) /* harmony default export */ var withdraw_alipay_bindAlipay = (bindAlipay_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/withdraw/upayRequest.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // import "swiper/dist/css/swiper.css"; // import { swiper, swiperSlide } from "vue-awesome-swiper"; /* harmony default export */ var upayRequest = ({ data: function data() { var _this = this; return { showSome: false, value1: 0, bankSerialNumber: "0.00", // alipayList: [], amount: "", radioAmount: "", availableAmount: "", notAmount: "", totalAmount: "", unavailableReason: "", payPassword: "", toastShow: false, toastNum: 430, toastText: "", columns: [{ title: "钱包", align: "center", key: "bankAccount", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", params.row.bankName)]); } }, { title: "æ款金é¢", align: "center", key: "amount", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", "Â¥" + params.row.amount)]); } }, { title: "æ款时间", key: "time", align: "center", className: "demo-table-info-column", width: 150, render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.time - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "状æ€", align: "center", key: "status", className: "demo-table-info-column", render: function render(h, params) { return h("div", [h("span", params.row.status == "success" || params.row.status == "virtualWithdrawals" || params.row.status === "thirdWalletWithdrawals" || params.row.status === "alipayWithdrawals" ? "æˆåŠŸ" : false || params.row.status == "fail" ? "失败" : "å®¡æ ¸ä¸")]); } }], data: [], canClick: false, Ubalance: "0.00", // Uå¹£é¤˜é¡ isRefreshingBalance: false // swiperOption: { // loop: false, // slidesPerView: 1, // pagination: { // el: ".swiper-pagination", // clickable: true // }, // navigation: { // nextEl: ".slideNext", // prevEl: ".slidePrev" // } // } }; }, methods: { // showBtn() { // if (this.alipayList.length > 1) { // this.showSome = true; // } // }, // hideBtn() { // this.showSome = false; // }, /** * æœç‹—,UC,QQ,百度ä¸å¯ä»¥åœ¨æ–°çª—å£æ‰“å¼€ */ canOpenInNewWin: function canOpenInNewWin() { var uas = ["SogouMobileBrowser", "MQQBrowser", "UCBrowser", "baiduboxapp", "MXiOS", "baidu", "Baidu"]; return !uas.some(function (ua) { return new RegExp(ua, "gi").test(window.navigator.userAgent); }); }, buyU: function buyU() { var _this2 = this; var newWin = void 0; if (this.canOpenInNewWin()) { if (window.navigator.userAgent.includes("baidu") || window.navigator.userAgent.includes("Baidu")) { newWin = window.open("", "_self"); // åªæœ‰ç™¾åº¦éœ€è¦é€™æ¨£åªèƒ½ç”¨ self } else { newWin = window.open("", "_blank"); } } this.$http.post(this.$HOST_NAME + "/upay/gotobuy").then(function (res) { if (res && res.data) { newWin.location.href = res.data.jump_url; } else { _this2.toastShow = true; _this2.toastNum = 325; _this2.toastText = res.message + ", \u8BF7\u5148\u67E5\u8BE2\u4F59\u989D"; console.warn(res.status, "/upay/gotobuy api 錯誤", res.message, res.code); } }).catch(function (error) { console.warn("/upay/gotobuy api 錯誤", error); }); }, getUbalance: function getUbalance() { var _this3 = this; if (this.isRefreshingBalance) return; this.isRefreshingBalance = true; this.$http.post(this.$HOST_NAME + "/upay/balance").then(function (res) { setTimeout(function () { _this3.isRefreshingBalance = false; }, 3000); if (res && res.data) { _this3.Ubalance = res.data.balance; } else { _this3.toastShow = true; _this3.toastNum = 325; _this3.toastText = res.message + ", \u8BF7\u5148\u67E5\u8BE2\u4F59\u989D"; console.warn(res.status, "/upay/gotobuy api 錯誤", res.message, res.code); } }).catch(function (error) { setTimeout(function () { _this3.isRefreshingBalance = false; }, 5000); console.warn("/upay/gotobuy api 錯誤", error); }); }, fetchUserWithdrawAmmount: function fetchUserWithdrawAmmount() { var _this4 = this; this.$http.post(this.$HOST_NAME + "/withdrawals/getWithdrawAmount").then(function (res) { if (res.code === 200 && res.data) { var _res$data = res.data, amount = _res$data.amount, notAmount = _res$data.notAmount, msg = _res$data.msg, totalAmount = _res$data.totalAmount; _this4.availableAmount = amount.toFixed(2); //å¯ç”¨æ€»é¢ _this4.notAmount = notAmount; //ä¸å¯ç”¨é‡‘é¢ _this4.unavailableReason = msg; _this4.totalAmount = totalAmount; //æ€»é‡‘é¢ } else { _this4.$error(res.message); } }); }, // setList() { // if (this.alipayList.length) { // this.alipayList.forEach(v => { // v.created_at = this.$moment // .unix(v.created_at - 0) // .format("YYYY-MM-DD HH:mm:ss"); // }); // } // }, // å–款申请 application: function application() { var _this5 = this; if (this.canClick) return false; var isMoney = this.dInvalidMoney(this.amount); var isPwd = this.validatePwdAccount(this.payPassword); if (!isMoney) { this.toastShow = true; this.toastNum = 133; this.toastText = "请输入æ£ç¡®é‡‘é¢"; return false; } if (Number(this.amount) < Number(this.withdrawalsLimit)) { this.toastShow = true; this.toastNum = 133; this.toastText = "æ款金é¢ä¸èƒ½å°äºŽ" + this.withdrawalsLimit; return false; } if (this.amount * 1 > this.availableAmount * 1) { this.toastShow = true; this.toastNum = 133; this.toastText = "å–款金é¢ä¸èƒ½å¤§äºŽå¯ç”¨é‡‘é¢"; return false; } if (!isPwd) { this.toastShow = true; this.toastNum = 183; this.toastText = "请输入æ£ç¡®6ä½æ•°å—资金密ç "; return false; } if (this.availableAmount <= 0) { this.$toast(this.unavailableReason); return false; } var withdrawalsType = this.$store.state.personal.navView.list ? this.$store.state.personal.navView.list[0].extra.withdrawalsType : "upayhutongWithdrawals"; var payload = { amount: this.amount, payPassword: this.payPassword, withdrawalsType: withdrawalsType }; this.toastShow = false; this.canClick = true; setTimeout(function () { _this5.canClick = false; }, 3 * 1000); this.$http.post(this.$HOST_NAME + "/member/setBalanceToLocal").then(function (res) { if (res.code == 200) { _this5.$http.post(_this5.$HOST_NAME + "/withdrawals/application", payload).then(function (res) { if (res.code == 200) { _this5.amount = ""; _this5.radioAmount = ""; _this5.payPassword = ""; _this5.$success("申请æˆåŠŸ"); _this5.withdrawals(); _this5.fetchUserWithdrawAmmount(); } else if (res.code == 5011) { // ææ¬¾æ—¶ä¼ å›ž 5011 弹出绑定电è¯è§†çª—。 _this5.$store.commit("alert/changbindPhone", true); } else { _this5.$error(res.message); } }); } }); }, // 最近åæ¡å–款记录 withdrawals: function withdrawals() { var _this6 = this; var params = { money_type: "UPAYHUTONG" }; this.$http.post(this.$HOST_NAME + "/withdrawals/last", params).then(function (res) { if (res.code == 200) { _this6.data = res.data; } }); }, hanldeAmount: function hanldeAmount() { if (this.amount.indexOf(".") != -1) { this.amount = this.amount.substring(0, this.amount.indexOf(".") + 3); } }, handleRadioAmount: function handleRadioAmount(val) { this.amount = val; this.toastShow = false; } }, created: function created() { // this.alipayList = this.$store.state.personal.alipayList; // if (!this.alipayList.length) { // this.$error("请绑定支付å®", 3000); // this.$store.commit("showContent", { parent: "withdraw" }); // this.$store.commit("showNav", { child: 12 }); // } this.getUbalance(); this.withdrawals(); this.fetchUserWithdrawAmmount(); }, destroyed: function destroyed() { this.$store.commit("loading", false); }, computed: { maxBookingBonus: function maxBookingBonus() { return this.$store.state.personal.maxBookingBonus; }, withdrawalsLimit: function withdrawalsLimit() { return JSON.parse(localStorage.getItem("config")).limit.withdrawalsLimit; }, alipayConfig: function alipayConfig() { return this.$store.state.personal.rechargeConfig.find(function (e) { return e.type === "alipay"; }); } // withdrawalsAmount() { // if (!this.alipayConfig && !this.alipayConfig.list) return []; // return this.alipayConfig.list[0].format_amount; // } }, watch: { // amount: function(val) { // this.bankSerialNumber = ( // this.amount / this.alipayList[this.value1].usdtDepositRate // ).toFixed(4); // }, } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-01ef1520","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/withdraw/upayRequest.vue var upayRequest_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"deposit"},[_c('div',{staticClass:"header"},[_c('div',{staticClass:"title"},[_vm._v("\n "+_vm._s(_vm.$store.state.personal.withdrawalTitle)+"\n ")])]),_vm._v(" "),_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"deposit-alipaybing fl"},[_c('div',{staticClass:"pay-bankinfo"},[_c('div',{staticClass:"row"},[_c('div',{staticClass:"wrap-upay"},[_c('div',{staticClass:"wrap-balance"},[_c('img',{attrs:{"src":__webpack_require__("62Hn"),"alt":"upay"}}),_vm._v(" "),_c('div',{staticStyle:{"margin":"0 4px"}},[_vm._v("Uå¸ä½™é¢ :")]),_vm._v(" "),_c('div',{staticClass:"u-money"},[_c('div',[_vm._v("Â¥ "+_vm._s(_vm.Ubalance))])]),_vm._v(" "),_c('img',{staticClass:"refresh-img",class:{ rotateAnimation: _vm.isRefreshingBalance },attrs:{"src":__webpack_require__("aONZ")},on:{"click":function($event){return _vm.getUbalance()}}})]),_vm._v(" "),_c('div',[_c('button',{staticClass:"buy-submit",on:{"click":function($event){return _vm.buyU()}}},[_vm._v("æ领Uå¸")])])])]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("æ款金é¢ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.amount),expression:"amount"}],attrs:{"autocomplete":"off","type":"text","placeholder":'å¯æ现金é¢' + _vm.availableAmount + 'å…ƒ',"onkeyup":"value=value.replace(/^(\\-)*(\\d+)\\.(\\d\\d).*$/,'$1$2.$3')"},domProps:{"value":(_vm.amount)},on:{"blur":_vm.hanldeAmount,"input":[function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value},function($event){_vm.radioAmount = ''}]}}),_vm._v(" "),_c('a',{staticStyle:{"font-size":"14px","color":"#2d8cf0"},on:{"click":function($event){$event.preventDefault();_vm.amount = _vm.availableAmount}}},[_vm._v("å…¨é¢æ款")])]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("资金密ç :")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.payPassword),expression:"payPassword"}],attrs:{"type":"password","maxlength":"6","autocomplete":"off","placeholder":"请输入6ä½èµ„金密ç "},domProps:{"value":(_vm.payPassword)},on:{"input":function($event){if($event.target.composing){ return; }_vm.payPassword=$event.target.value}}})])]),_vm._v(" "),_c('div',{staticClass:"submit",class:{ active: _vm.canClick },on:{"click":_vm.application}},[_vm._v("\n 确认æ交\n ")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({ top: _vm.toastNum + 'px' })},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"deposit-right fl"},[_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='line-height:453px;background:#f2f2f2;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}})],1)])])} var upayRequest_staticRenderFns = [] var upayRequest_esExports = { render: upayRequest_render, staticRenderFns: upayRequest_staticRenderFns } /* harmony default export */ var withdraw_upayRequest = (upayRequest_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/withdraw/upayRequest.vue function upayRequest_injectStyle (ssrContext) { __webpack_require__("JgBC") } var upayRequest_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var upayRequest___vue_template_functional__ = false /* styles */ var upayRequest___vue_styles__ = upayRequest_injectStyle /* scopeId */ var upayRequest___vue_scopeId__ = "data-v-01ef1520" /* moduleIdentifier (server only) */ var upayRequest___vue_module_identifier__ = null var upayRequest_Component = upayRequest_normalizeComponent( upayRequest, withdraw_upayRequest, upayRequest___vue_template_functional__, upayRequest___vue_styles__, upayRequest___vue_scopeId__, upayRequest___vue_module_identifier__ ) /* harmony default export */ var personals_withdraw_upayRequest = (upayRequest_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/agency/agency-income.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var agency_income = ({ data: function data() { var _this = this; return { columns: [{ title: "时间", key: "date", align: "center", render: function render(h, params) { return h("div", [h("span", params.row.date + " 星期" + params.row.week)]); } }, { title: "总投注é¢", key: "allbetAmount", align: "center" // render: (h, params) => { // return h('span', ((params.row.allbetAmount)*1).toFixed(2)) // } }, { title: "直属投注é¢", key: "lowerbetAmount", align: "center" }, { title: "总分润é¢", key: "allnetAmount", align: "center" }, { title: "直属分润é¢", key: "lowernetAmount", align: "center" }, { title: "æ“作", key: "preferential", align: "center", render: function render(h, params) { return h("div", [h("span", { class: 'listShowAA', attrs: { class: "deleteLink" }, style: { color: "#FF9146", cursor: "pointer" }, on: { click: function click() { _this.income = false; document.getElementsByClassName('income')[0].classList.add('income2'); _this.nexttime = params.row.date; _this.getnextlist(); } } }, "详情")]); } }], data: [], data2: [], day: "1", isSelect: 1, toggleIncome: "income-content", timeStart: "", timeEnd: "", money: 0.0, total: 0, pagesize: 9, page: 0, nexttime: 0, totcom: 0, ispage: false, i: 1, totalAmount: 0, income: true, columns1: [{ title: "类型", key: "type", align: "center", render: function render(h, params) { return h("div", [h("span", params.row.type == "lottery" ? "彩票返点" : params.row.type == "slots" ? "电å娱ä¹" : params.row.type == "livecasino" ? "真人视讯" : params.row.type == "sports" ? "体育赛事" : "棋牌游æˆ")]); } }, { title: "会员账å·", key: "betuname", align: "center" }, { title: "会员类型", key: "status", align: "center", render: function render(h, params) { return h("div", [h("span", params.row.status == 1 ? "直属代ç†" : "éžç›´å±žä»£ç†")]); } }, { title: "已返有效投注", key: "betmoney", align: "center" }, { title: "返佣金é¢", key: "givemoney", align: "center" // render: (h, params) => { // return h('span', ((params.row.givemoney)*1).toFixed(2)) // } }] }; }, methods: { hanlderRadio: function hanlderRadio(val) { this.day = val; this.isSelect = 1; this.getincome(); }, slect: function slect(val) { this.isSelect = val; this.getincome(); }, //上一页 prev: function prev() { this.isSelect = this.isSelect - 1; if (this.isSelect <= 1) { this.isSelect = 1; } this.getincome(); }, hanlderPage: function hanlderPage(i) { this.i = i; this.getnextlist(); }, //下一页 next: function next() { this.isSelect = this.isSelect + 1; if (this.isSelect >= this.page) { this.isSelect = this.page; } this.getincome(); }, gospan: function gospan() { this.income = true; document.getElementsByClassName('income')[0].classList.remove('income2'); this.getincome(); }, goincome: function goincome() { this.day = '1'; this.getincome(); }, //获å–下级收益 getincome: function getincome() { var _this2 = this; this.$store.commit("loading", true); this.$postS("agency/myEarnings", { date: this.day }).then(function (res) { if (res.code == 200 && res.data.list.length != 0) { _this2.totalAmount = 0; _this2.total = res.data.list.length; res.data.list.forEach(function (item) { _this2.totalAmount += item.allnetAmount * 1; }); _this2.page = Math.ceil(_this2.total / _this2.pagesize); _this2.ispage = true; _this2.getPageCurData(res.data.list, _this2.pagesize, _this2.isSelect); _this2.$store.commit("loading", false); } else { _this2.$store.commit("loading", false); } }); }, //获å–æ•°æ®å¯¹åº”分页å—çš„æ•°æ® getPageCurData: function getPageCurData(date, PageSize, PageNo) { // å‡å¦‚当å‰é¡µç 是2 æ¯é¡µå±•ç¤º10æ¡ é‚£ä¹ˆå°±æ˜¯data[10] 到 data[19] 当å‰ç¬¬2é¡µå±•ç¤ºçš„æ•°æ® å¦‚ï¼šç¬¬11æ¡å°±æ˜¯ 10 * 2 - 10 + 0 = 10 this.data = []; for (var i = 0; i < PageSize; i++) { var idx = PageSize * PageNo - PageSize + i; if (idx < date.length) this.data.push(date[idx]); } return this.data; }, getnextlist: function getnextlist() { var _this3 = this; this.$store.commit("loading", true); this.$postS('agency/myEarningsSecond', { page: this.i, date: this.nexttime, pagesize: "10" }).then(function (res) { if (res.code == 200) { _this3.totcom = 0; _this3.data2 = res.data.data; _this3.total = res.data.total; _this3.data2.forEach(function (item) { _this3.totcom += item.givemoney * 1; }); _this3.$store.commit("loading", false); } else { _this3.$store.commit("loading", false); } }); }, //获å–今天的收益 gettoday: function gettoday() { var _this4 = this; this.$getS("agency/todayEarnings").then(function (res) { if (res.code == 200) { _this4.money = res.data.money * 1; } }); } }, created: function created() { this.getincome(); this.gettoday(); }, computed: {}, destroyed: function destroyed() {}, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-380a49bb","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/agency/agency-income.vue var agency_income_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"income"},[(_vm.income)?_c('div',{staticClass:"income-content "},[_c('div',{staticClass:"header",on:{"click":_vm.goincome}},[_vm._v("\n 我的收益\n ")]),_vm._v(" "),_c('div',{staticClass:"income-search"},[_c('div',{staticClass:"income-icon"},[_c('img',{attrs:{"src":"/static/public/image/proimt/p-netprofit@2x.png","alt":""}}),_vm._v(" "),_c('div',[_c('p',[_vm._v("今日收益")]),_vm._v(" "),_c('p',[_vm._v(_vm._s(_vm.money.toFixed(2)))])])]),_vm._v(" "),_c('div',{staticClass:"search"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("本周")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("上周")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("本月")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"4"}},[_c('span',{staticClass:"radio-span"},[_vm._v("上月")])])],1)],1)]),_vm._v(" "),_c('div',{staticClass:"table-content"},[_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}})],1),_vm._v(" "),(_vm.ispage)?_c('div',{staticClass:"page"},[_c('ul',{staticClass:"page ivu-page mini",attrs:{"data-v-21c13104":""}},[_c('li',{staticClass:"ivu-page-prev",class:{'ivu-page-disabled':_vm.isSelect==1},attrs:{"title":"上一页"},on:{"click":_vm.prev}},[_vm._m(0)]),_vm._v(" "),(_vm.page>=1)?_c('li',{staticClass:"ivu-page-item",class:{'ivu-page-item-active': _vm.isSelect ==1},attrs:{"title":"1"},on:{"click":function($event){return _vm.slect(1)}}},[_c('a',[_vm._v("1")])]):_vm._e(),_vm._v(" "),(_vm.page>=2)?_c('li',{staticClass:"ivu-page-item",class:{'ivu-page-item-active': _vm.isSelect ==2},attrs:{"title":"2"},on:{"click":function($event){return _vm.slect(2)}}},[_c('a',[_vm._v("2")])]):_vm._e(),_vm._v(" "),(_vm.page>=3)?_c('li',{staticClass:"ivu-page-item",class:{'ivu-page-item-active': _vm.isSelect ==3},attrs:{"title":"3"},on:{"click":function($event){return _vm.slect(3)}}},[_c('a',[_vm._v("3")])]):_vm._e(),_vm._v(" "),(_vm.page>=4)?_c('li',{staticClass:"ivu-page-item",class:{'ivu-page-item-active': _vm.isSelect ==4},attrs:{"title":"4"},on:{"click":function($event){return _vm.slect(4)}}},[_c('a',[_vm._v("4")])]):_vm._e(),_vm._v(" "),_c('li',{staticClass:"ivu-page-next",class:{'ivu-page-disabled':_vm.isSelect==_vm.page},attrs:{"title":"下一页"},on:{"click":_vm.next}},[_vm._m(1)])])]):_vm._e(),_vm._v(" "),(_vm.data.length)?_c('div',{staticClass:"tot-income"},[_c('span',[_vm._v("总分润 :")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.totalAmount.toFixed(2)))])]):_vm._e()]):_c('div',{staticClass:"personal-income"},[_c('div',{staticClass:"header"},[_c('span',{on:{"click":_vm.gospan}},[_vm._v("我的收益 >")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.nexttime))])]),_vm._v(" "),_c('div',{staticClass:"personal-table"},[_c('Table',{attrs:{"columns":_vm.columns1,"data":_vm.data2,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),(_vm.total>0)?_c('Page',{staticClass:"page",attrs:{"current":_vm.i,"total":_vm.total,"size":"small"},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1),_vm._v(" "),(_vm.data2.length)?_c('div',{staticClass:"tot-income"},[_c('span',[_vm._v("æ€»è¿”ä½£é‡‘é¢ :")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.totcom.toFixed(2)))])]):_vm._e()])])} var agency_income_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',[_c('i',{staticClass:"ivu-icon ivu-icon-ios-arrow-left"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',[_c('i',{staticClass:"ivu-icon ivu-icon-ios-arrow-right"})])}] var agency_income_esExports = { render: agency_income_render, staticRenderFns: agency_income_staticRenderFns } /* harmony default export */ var agency_agency_income = (agency_income_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/agency/agency-income.vue function agency_income_injectStyle (ssrContext) { __webpack_require__("veu4") } var agency_income_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var agency_income___vue_template_functional__ = false /* styles */ var agency_income___vue_styles__ = agency_income_injectStyle /* scopeId */ var agency_income___vue_scopeId__ = "data-v-380a49bb" /* moduleIdentifier (server only) */ var agency_income___vue_module_identifier__ = null var agency_income_Component = agency_income_normalizeComponent( agency_income, agency_agency_income, agency_income___vue_template_functional__, agency_income___vue_styles__, agency_income___vue_scopeId__, agency_income___vue_module_identifier__ ) /* harmony default export */ var personals_agency_agency_income = (agency_income_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/agency/report.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var agency_report = ({ data: function data() { return { // searchStr:"", personal_commission_mode: localStorage.personal_mode, showTouzhu: false, agencyData: [ // {name: "团队净盈利", value: "0.00"}, // {name: "团队返点", value: "0.00"}, // {name: "团队余é¢", value: "0.00"}, // {name: "新增用户", value: 0}, // {name: "下级总人数", value: "1"}, // {name: "首å˜äººæ•°", value: 0}, // {name: "投注人数", value: "0"}, // {name: "ä¸å¥–金é¢", value: "0.00"}, // {name: "å˜æ¬¾é‡‘é¢", value: "0.00"}, // {name: "å–款金é¢", value: "0.00"}, // {name: "投注金é¢", value: "0.00"}, // {name: "活动礼金", value: "0.00"}, // {name: "å˜æ¬¾é‡‘é¢", value: "0.00"}, // {name: "å–款金é¢", value: "0.00"}, // {name: "活动礼金", value: "0.00"}, ], moneyList: [{ name: "棋牌", money: 132465, num: 23 }, { name: "电å", money: 46564, num: 23 }, { name: "视讯", money: 2323, num: 23 }, { name: "彩票", money: 33, num: 23 }, { name: "体育", money: 2333, num: 23 }], day: '1', placeholder: "", agencyCode: "", domain: "", contShow: true, // agencyData: [], liSelect: 0, uname: this.$store.state.mainState.userinfo.userName, uid: this.$store.state.mainState.userinfo.uid, iconSrc: ['/static/public/image/proimt/p-netprofit@2x.png', '/static/public/image/proimt/p-balance@2x.png', '/static/public/image/proimt/p-depositors@2x.png', '/static/public/image/proimt/p-team@2x.png'] }; }, methods: { tapTest: function tapTest(item) { if (item.name != '投注金é¢') { return false; } this.showTouzhu = !this.showTouzhu; }, closeWin: function closeWin() { this.showTouzhu = false; }, getTeamInfo: function getTeamInfo() { var _this = this; this.$store.commit('loading', true); this.$postS("agency/agencyReport21", { // uid: this.uid, st: this.st || this.getYMD(new Date()), et: this.et || this.getYMD(new Date()) }).then(function (res) { if (res.code == 200) { if (res.data != '') { var leftNum = 0; if (res.data.length < 4 && res.data.length > 0) { leftNum = 4 - res.data.length; } else if (res.data.length > 4 && res.data.length < 8) { leftNum = 8 - res.data.length; } else if (res.data.length > 8 && res.data.length < 12) { leftNum = 12 - res.data.length; } else if (res.data.length > 12 && res.data.length < 16) { leftNum = 16 - res.data.length; } for (var i = 0; i < leftNum; i++) { res.data.push({ value: "", name: "", noBorder: true }); } _this.agencyData = res.data; _this.contShow = true; } else { _this.contShow = false; _this.$error(res.message); } } else { _this.contShow = false; _this.$error(res.message); } _this.$store.commit('loading', false); }); }, hanlderRadio: function hanlderRadio(val) { if (val == 1) { this.st = this.getYMD(new Date()); this.et = this.getYMD(new Date()); } else if (val == 2) { this.st = this.getYMD(new Date() - 1000 * 60 * 60 * 24); this.et = this.getYMD(new Date() - 1000 * 60 * 60 * 24); } else { this.st = this.getYMD(new Date() - 1000 * 60 * 60 * 24 * 6); this.et = this.getYMD(new Date()); } this.getTeamInfo(); }, hanlderTime: function hanlderTime(date) { this.st = date[0]; this.et = date[1]; this.getTeamInfo(); }, toggle: function toggle(i) { this.liSelect = i; }, hanlderClick: function hanlderClick() { this.day = '1'; this.hanlderRadio(1); // this.getTeamInfo() }, getAgenceInfo: function getAgenceInfo() { var _this2 = this; this.$getS("agencyIndex").then(function (res) { if (res.code == 200) { var domain = res.data.domain.split('?')[0]; _this2.placeholder = domain.slice(0, domain.length - 1); _this2.domain = res.data.domain; _this2.agencyCode = res.data.agencyCode; } }); }, Copy: function Copy(type) { this.$success("å¤åˆ¶æˆåŠŸ"); if (type == 1) this.$copyText(this.domain);else this.$copyText(this.agencyCode); } }, created: function created() { var _this3 = this; this.$nextTick(function () { _this3.getTeamInfo(); if (_this3.personal_commission_mode == 'mode_f') { _this3.getAgenceInfo(); } }); }, mounted: function mounted() {} }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-ea8b9932","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/agency/report.vue var agency_report_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"agency_index cl"},[_c('div',{staticClass:"content cl"},[_c('div',{staticClass:"title",on:{"click":_vm.hanlderClick}},[_vm._v("代ç†ä¸å¿ƒ")]),_vm._v(" "),_c('div',{staticClass:"search cl"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("今日")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("昨天")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("最近七天")])])],1),_vm._v(" "),_c('DatePicker',{staticStyle:{"width":"236px","margin-left":"25px"},attrs:{"placeholder":"选择时间","type":"daterange","placement":"bottom-end"},on:{"on-change":_vm.hanlderTime}}),_vm._v(" "),_vm._m(0)],1),_vm._v(" "),(_vm.contShow)?_c('div',[_c('div',{staticClass:"agency-info cl"},[_c('ul',{staticClass:"contentUl cl"},_vm._l((_vm.agencyData),function(item,index){return _c('li',{key:index},[_c('div',{staticClass:"liItem",class:{noBorder:item.noBorder}},[_c('p',{staticClass:"itemName"},[_c('span',[_vm._v(_vm._s(item.name))])]),_vm._v(" "),_c('p',{staticClass:"itemVal"},[_vm._v(_vm._s(item.value))])])])}),0)]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showTouzhu),expression:"showTouzhu"}],staticClass:"betMoney"},[_c('p',{staticClass:"itemTitle"},[_vm._v("投注金é¢è¯¦æƒ…")]),_vm._v(" "),_c('img',{staticStyle:{"position":"absolute","right":"23px","top":"23px","width":"12px","height":"12px","cursor":"pointer"},attrs:{"src":"/static/public/image/userImg/closebtn.png","alt":""},on:{"click":_vm.closeWin}}),_vm._v(" "),_c('ul',{staticClass:"betUl cl"},[_vm._m(1),_vm._v(" "),_vm._l((_vm.moneyList),function(v,i){return _c('li',{key:i,staticClass:"betItem cl"},[_c('div',{staticClass:"betTitle basicDiv"},[_vm._v(_vm._s(v.name))]),_vm._v(" "),_c('div',{staticClass:"betCash basicDiv"},[_vm._v(_vm._s(v.money))]),_vm._v(" "),_c('div',{staticClass:"betNum basicDiv"},[_vm._v(_vm._s(v.num))])])})],2)]),_vm._v(" "),(this.personal_commission_mode=='mode_f')?_c('div',{staticClass:"explain"},[_c('label',[_vm._v("推广链接:")]),_vm._v(" "),_c('input',{attrs:{"type":"text","disabled":"","placeholder":_vm.placeholder}}),_vm._v(" "),_c('button',{on:{"click":function($event){return _vm.Copy(1)}}},[_vm._v("å¤åˆ¶")])]):_vm._e(),_vm._v(" "),(this.personal_commission_mode=='mode_f')?_c('div',{staticClass:"explain",staticStyle:{"margin-top":"10px"}},[_c('label',[_vm._v("邀请ç :")]),_vm._v(" "),_c('input',{attrs:{"type":"text","disabled":"","placeholder":_vm.agencyCode}}),_vm._v(" "),_c('button',{on:{"click":_vm.Copy}},[_vm._v("å¤åˆ¶")])]):_vm._e()]):_vm._e(),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.contShow),expression:"!contShow"}],staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})])])])} var agency_report_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"mathDiv cl"},[_c('p',[_vm._v("è®¡ç®—å…¬å¼ "),_c('img',{staticClass:"explainPic",staticStyle:{"vertical-align":"middle","width":"14px","height":"14px","margin-bottom":"2px"},attrs:{"src":"/static/public/image/userImg/question.png","alt":""}})]),_vm._v(" "),_c('div',{staticClass:"explainDiv"},[_c('p',{staticStyle:{"color":"rgba(51,51,51,1)","font-weight":"600"}},[_vm._v("计算公å¼")]),_vm._v(" "),_c('p',[_c('span',[_vm._v("团队盈利=")]),_vm._v(" 代ç†æ”¶å…¥+ä¼˜æƒ é‡‘é¢+会员输赢")]),_vm._v(" "),_c('p',[_c('span',[_vm._v("代ç†æ”¶å…¥=")]),_vm._v(" 下级返水+下级返点")]),_vm._v(" "),_c('p',[_c('span',[_vm._v("ä¼˜æƒ é‡‘é¢")]),_vm._v("=自身返水+活动金é¢")]),_vm._v(" "),_c('p',[_c('span',[_vm._v("有效人数:")]),_vm._v("所选时间内å˜æ¬¾çš„人数(首å˜æˆ–éžé¦–å˜ï¼‰")]),_vm._v(" "),_c('p',[_c('span',[_vm._v("首å˜äººæ•°ï¼š")]),_vm._v("所选时间或历å²æ³¨å†Œä¼šå‘˜åœ¨æ‰€é€‰æ—¶é—´å†…首å˜äººæ•°")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"cl"},[_c('div',{staticClass:"basicDiv typeDiv"},[_vm._v("类型")]),_vm._v(" "),_c('div',{staticClass:"basicDiv typeDiv"},[_vm._v("投注金é¢")]),_vm._v(" "),_c('div',{staticClass:"basicDiv typeDiv"},[_vm._v("投注人数")])])}] var agency_report_esExports = { render: agency_report_render, staticRenderFns: agency_report_staticRenderFns } /* harmony default export */ var personals_agency_report = (agency_report_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/agency/report.vue function agency_report_injectStyle (ssrContext) { __webpack_require__("WftI") } var agency_report_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var agency_report___vue_template_functional__ = false /* styles */ var agency_report___vue_styles__ = agency_report_injectStyle /* scopeId */ var agency_report___vue_scopeId__ = "data-v-ea8b9932" /* moduleIdentifier (server only) */ var agency_report___vue_module_identifier__ = null var agency_report_Component = agency_report_normalizeComponent( agency_report, personals_agency_report, agency_report___vue_template_functional__, agency_report___vue_styles__, agency_report___vue_scopeId__, agency_report___vue_module_identifier__ ) /* harmony default export */ var public_personals_agency_report = (agency_report_Component.exports); // EXTERNAL MODULE: ./node_modules/babel-runtime/core-js/object/assign.js var object_assign = __webpack_require__("woOf"); var assign_default = /*#__PURE__*/__webpack_require__.n(object_assign); // CONCATENATED MODULE: ./src/pages/public/personals/agency/agency.js var Agency = { data: function data() { return { refundData: [], // å水选ä¸çš„ refundList: 0, // 选ä¸çš„å水比例 setRefund: [], caipiaoDetailsList: [], rebateDetailsList: [] }; }, methods: { // 获å–åæ°´ä¿¡æ¯ getRefundInfo: function getRefundInfo(SubordinateData) { var _this = this; this.$getS('member/refund-rebate').then(function (res) { if (res.code == 200) { localStorage.setItem('refund', stringify_default()(res.data)); var refundObj = SubordinateData || res.data; for (var key in refundObj) { if (key == "lottery") { var arr = []; var kuaisan = []; var liuhecai = []; var pk10 = []; var dipancai = []; var kuaileshifen = []; var shishicai = []; var shiyixuanwu = []; var pcdandan = []; var lottery = refundObj.lottery; for (var _key in lottery.list) { if (lottery.list[_key].class_name == "å¿«3") { kuaisan.push(lottery.list[_key]); } if (lottery.list[_key].class_name == "å…åˆå½©") { liuhecai.push(lottery.list[_key]); } if (lottery.list[_key].class_name == "PK10") { pk10.push(lottery.list[_key]); } if (lottery.list[_key].class_name == "低频彩") { dipancai.push(lottery.list[_key]); } if (lottery.list[_key].class_name == "å¿«ä¹å分") { kuaileshifen.push(lottery.list[_key]); } if (lottery.list[_key].class_name == "时时彩") { shishicai.push(lottery.list[_key]); } if (lottery.list[_key].class_name == "11选5") { shiyixuanwu.push(lottery.list[_key]); } if (lottery.list[_key].class_name == "PC蛋蛋") { pcdandan.push(lottery.list[_key]); } } var rebatelist = { "快三": kuaisan, "å…åˆå½©": liuhecai, pk10: pk10, "低频彩": dipancai, "å¿«ä¹å分": kuaileshifen, "时时彩": shishicai, "11选5": shiyixuanwu, "PC蛋蛋": pcdandan }; for (var _key2 in rebatelist) { rebatelist[_key2].forEach(function (a, i) { a.value = (a.value * 1).toFixed(1); a.rebate = a.value; a.option = [{ value: "0.0", name: "0.0%" }]; for (var j = 1; j <= a.value * 10; j++) { a.option.push({ value: (j / 10).toFixed(1), name: (j / 10).toFixed(1) + "%" }); } if (_this.personal_commission_mode == "mode_a") { a.option = a.option.sort(_this.compare("value")).splice(0, 4); } else { a.option = a.option.sort(_this.compare("value")); } }); arr.push({ list: rebatelist[_key2], name: _key2, active: "0.0" }); } _this.rebatedata = arr; _this.caipiaoList = arr[0].list; _this.caipiaoName = arr[0].name; _this.MaxRefund2(); } else { _this.refundData = []; var refundObj1 = _this.cloneObj(refundObj); delete refundObj1.lottery; for (var i in refundObj1) { _this.refundData.push(refundObj[i]); } _this.refundData.forEach(function (v) { v.active = "0.0%"; v.list.forEach(function (a, i) { a.value = (a.value * 1).toFixed(1); a.rebate = a.value; a.option = [{ value: "0.0", name: "0.0%" }]; for (var j = 1; j <= a.value * 10; j++) { a.option.push({ value: (j / 10).toFixed(1), name: (j / 10).toFixed(1) + "%" }); } if (_this.personal_commission_mode == "mode_a") { a.option = a.option.sort(_this.compare("value")).splice(0, 4); } else { a.option = a.option.sort(_this.compare("value")); } }); }); if (['qxcp', 'csj', 'fczj', 'tccp', 'tycp', 'flcp'].includes(_this.$websiteName)) { _this.refundData = _this.refundData.filter(function (item) { return item.name == '彩票返水' || item.name == '棋牌返水'; }); } _this.setRefund = _this.refundData[0].list; _this.refundName = _this.refundData[0].name; _this.MaxRefund1(); } } } else { _this.$store.commit("loading", false); } }); }, //å‡å°‘ reduce: function reduce() { var _this2 = this; this.setRefund.forEach(function (v) { if (_this2.personal_commission_mode == "mode_a") { v.rebate = v.rebate * 10 - 1 <= v.value * 10 - 3 ? String((v.value * 10 - 3) / 10) : String((v.rebate * 10 - 1) / 10).indexOf(".") != -1 ? String((v.rebate * 10 - 1) / 10) : String((v.rebate * 10 - 1) / 10) + ".0"; } else { v.rebate = v.rebate * 10 - 1 <= 0 ? "0.0" : String((v.rebate * 10 - 1) / 10).indexOf(".") != -1 ? String((v.rebate * 10 - 1) / 10) : String((v.rebate * 10 - 1) / 10) + ".0"; } }); }, //ç»Ÿä¸€è®¾ç½®åŠ increase: function increase() { var refund = JSON.parse(JSON.parse(localStorage.userinfo).rebate); this.setRefund.forEach(function (v) { v.rebate = v.rebate * 10 + 1 >= v.value * 10 + 1 ? v.value : String((v.rebate * 10 + 1) / 10).indexOf(".") != -1 ? String((v.rebate * 10 + 1) / 10) : String((v.rebate * 10 + 1) / 10) + ".0"; }); }, cloneObj: function (_cloneObj) { function cloneObj(_x) { return _cloneObj.apply(this, arguments); } cloneObj.toString = function () { return _cloneObj.toString(); }; return cloneObj; }(function (obj) { var str, newobj = obj.constructor === Array ? [] : {}; if ((typeof obj === 'undefined' ? 'undefined' : typeof_default()(obj)) !== 'object') { return; } else if (window.JSON) { str = stringify_default()(obj), //系列化对象 newobj = JSON.parse(str); //还原 } else { for (var i in obj) { newobj[i] = typeof_default()(obj[i]) === 'object' ? cloneObj(obj[i]) : obj[i]; } } return newobj; }), //æŽ’åº compare: function compare(property) { return function (obj1, obj2) { var value1 = obj1[property]; var value2 = obj2[property]; return value2 - value1; }; }, // ç»Ÿä¸€è®¾ç½®å‡ reduce2: function reduce2() { var _this3 = this; this.caipiaoList.forEach(function (v) { if (_this3.personal_commission_mode == "mode_a") { v.rebate = v.rebate * 10 - 1 <= v.value * 10 - 3 ? String((v.value * 10 - 3) / 10) : String((v.rebate * 10 - 1) / 10).indexOf(".") != -1 ? String((v.rebate * 10 - 1) / 10) : String((v.rebate * 10 - 1) / 10) + ".0"; } else { v.rebate = v.rebate * 10 - 1 <= 0 ? "0.0" : String((v.rebate * 10 - 1) / 10).indexOf(".") != -1 ? String((v.rebate * 10 - 1) / 10) : String((v.rebate * 10 - 1) / 10) + ".0"; } }); }, //ç»Ÿä¸€è®¾ç½®åŠ increase2: function increase2() { var refund = JSON.parse(JSON.parse(localStorage.userinfo).rebate); this.caipiaoList.forEach(function (v) { v.rebate = v.rebate * 10 + 1 >= v.value * 10 + 1 ? v.value : String((v.rebate * 10 + 1) / 10).indexOf(".") != -1 ? String((v.rebate * 10 + 1) / 10) : String((v.rebate * 10 + 1) / 10) + ".0"; }); }, // 最大åæ°´ MaxRefund1: function MaxRefund1() { var _this4 = this; var tempList = [].concat(toConsumableArray_default()(this.refundData)); this.refundData.forEach(function (v, i) { v.active = +v.active; var max = 0; v.list.forEach(function (item) { if (item.rebate > max) max = item.rebate; }); if (max == 0) { v.active = "0.0"; _this4.refundData = [].concat(toConsumableArray_default()(tempList)); } else { _this4.$set(v, "active", max); _this4.refundData = [].concat(toConsumableArray_default()(tempList)); } }); }, // 转æ¢æˆJSONæ ¼å¼ productJsonParams: function productJsonParams() { var sendParam = {}; var sendParam2 = {}; this.refundData.forEach(function (v) { v.list.forEach(function (a, b) { a.rebate = a.rebate; sendParam[a.key] = (a.rebate * 1).toFixed(1).toString(); }); }); this.rebatedata.forEach(function (v) { v.list.forEach(function (a, b) { a.rebate = a.rebate; sendParam2[a.key] = (a.rebate * 1).toFixed(1).toString(); }); }); return stringify_default()(assign_default()(sendParam, sendParam2)); }, // 切æ¢åæ°´é€‰ä¸ toggleRefund: function toggleRefund(i, list, name) { this.refundList = i; this.setRefund = list; this.refundName = name; } }, filters: { caplitalize: function caplitalize(item) { var arr = []; item.forEach(function (v) { arr.push(parseFloat(v.value)); }); return Math.max.apply(Math, arr).toFixed(1); }, fixed: function fixed(value) { if (!value) return; return (value * 1).toFixed(1); } }, beforeDestroy: function beforeDestroy() { this.$store.commit('loading', false); localStorage.removeItem('refund'); }, store: store["a" /* default */] }; /* harmony default export */ var agency_agency = (Agency); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/agency/agency_repot.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var agency_repot = ({ mixins: [agency_agency], data: function data() { var _this = this; return { // 所有的下级 personal_commission_mode: localStorage.personal_mode, allUsers: [], searchStr: "", moneyList: [{ name: "棋牌", money: 132465, num: 3 }, { name: "电å", num: 3, money: 46564 }, { name: "视讯", money: 2323, num: 3 }, { name: "彩票", money: 33, num: 3 }, { name: "体育", money: 2333, num: 3 }], showTouzhu_member: false, showTouzhu: false, // 列表头部 columns: [{ title: '用户å', key: 'userName', align: 'center', width: 120 }, { title: '类型', key: 'type', align: 'center' }, { title: '投注金é¢', key: 'bet', align: 'center', width: 120, render: function render(h, params) { return h('span', params.row.bet); } }, { title: 'ä¸å¥–金é¢', key: 'win', align: 'center', width: 100, render: function render(h, params) { return h('span', params.row.win); } }, { title: '团队返点', key: 'rebate', align: 'center', width: 80 }, { title: 'ä¼˜æƒ ç¤¼é‡‘', key: 'memberBonus', align: 'center', render: function render(h, params) { return h('span', params.row.memberBonus); } }, { title: '投注人数', key: 'countuser', align: 'center', width: 130, render: function render(h, params) { if (params.row.countuser != 0) { return h('span', { class: 'listShowAA', on: { click: function click() { if (params.row.type == '代ç†' && params.row.countuser != 0) { _this.uid = params.row.uid; _this.uname = params.row.userName; _this.hanlderLink(); _this.i = 1; _this.getReportList(); } } } }, params.row.countuser); }; if (params.row.countuser == 0) { return h('span', { style: { color: '#000000' } }, params.row.countuser); } } }, { title: '盈利', key: 'net', align: 'center', render: function render(h, params) { return h('span', { class: 'listShowAA', on: { click: function click() { _this.toggleTeam = 'member'; _this.title = params.row.type; _this.uname = params.row.userName; _this.hanlderLink1(params); _this.uid = params.row.uid; _this.getTeamInfo(_this.title); } } }, params.row.net); } }], data: [], // è¡¨æ ¼æ•°ç»„æ•°æ® total: 0, i: 1, day: '1', contShow: false, st: this.getYMD(new Date()), et: this.getYMD(new Date()), toggleTeam: 'repot', title: '', dataLink: [{ uname: '下级报表', uid: this.$store.state.mainState.userinfo.agencyInfo.uid }], dataLink1: [{ titleName: '下级报表', canshu: this.$store.state.mainState.userinfo.agencyInfo.uid }], dataUid: [this.$store.state.mainState.userinfo.agencyInfo.uid], dataShow: false, dataShow1: false, agencyData: [], liSelect: 0, uname: this.$store.state.mainState.userinfo.userName, uid: this.$store.state.mainState.userinfo.uid, iconSrc: ['/static/public/image/proimt/p-netprofit@2x.png', '/static/public/image/proimt/p-balance@2xs.png', '/static/public/image/proimt/p-team@2x.png', '/static/public/image/proimt/p-money@2x.png'], iconSrc1: ['/static/public/image/proimt/p-netprofit@2x.png', '/static/public/image/proimt/p-balance@2x.png', '/static/public/image/proimt/p-depositors@2x.png', '/static/public/image/proimt/p-team@2x.png'] }; }, methods: { searchSth: function searchSth() { var _this2 = this; if (!this.allUsers.length) { return false; } if (!this.searchStr) { // 刷新页é¢ï¼Œè¯·æ±‚æ•°æ® this.getReportList(); this.data = this.allUsers; return false; } // 查询下级 var searchUser = []; searchUser = this.allUsers.filter(function (item, index) { if (item.userName.includes(_this2.searchStr)) { // 炸到了 return item; } }); this.data = searchUser; }, // ä»£ç† tapTest: function tapTest(item) { if (item.name != '投注金é¢') { return false; } this.showTouzhu = !this.showTouzhu; }, closeWin: function closeWin() { this.showTouzhu = false; }, // 会员 tapTest1: function tapTest1(item) { if (item.name != '投注金é¢') { return false; } this.showTouzhu_member = !this.showTouzhu_member; }, closeWin1: function closeWin1() { this.showTouzhu_member = false; }, // 下级会员或者代ç†åˆ—表内查询 lowerSearch: function lowerSearch() { if (this.title == '代ç†') { this.getTeamInfo(); } else if (this.title == '会员') { this.getReportList(); } }, //åˆ—è¡¨æ•°æ® getReportList: function getReportList() { var _this3 = this; this.$store.commit('loading', true); this.$postS('agency/lowerReport21', { page: this.i, uid: this.uid || this.$store.state.mainState.userinfo.agencyInfo.uid, st: this.st, et: this.et, pagesize: 8 }).then(function (res) { if (res.code == 200) { // if(res.data.length==7){ // res.data.push({value:"",name:""}) // } var leftNum = 0; if (res.data.length < 4 && res.data.length > 0) { leftNum = 4 - res.data.length; } else if (res.data.length > 4 && res.data.length < 8) { leftNum = 8 - res.data.length; } else if (res.data.length > 8 && res.data.length < 12) { leftNum = 12 - res.data.length; } else if (res.data.length > 12 && res.data.length < 16) { leftNum = 16 - res.data.length; } for (var i = 0; i < leftNum; i++) { res.data.push({ value: "", name: "", noBorder: true }); } _this3.allUsers = res.data.data; _this3.data = _this3.allUsers; _this3.total = res.data.total; } _this3.$store.commit('loading', false); }); }, //今天 昨天 最近七天 hanlderRadio: function hanlderRadio(val) { if (val == 1) { this.st = this.getYMD(new Date()); this.et = this.getYMD(new Date()); } else if (val == 2) { this.st = this.getYMD(new Date() - 1000 * 60 * 60 * 24); this.et = this.getYMD(new Date() - 1000 * 60 * 60 * 24); } else { this.st = this.getYMD(new Date() - 1000 * 60 * 60 * 24 * 6); this.et = this.getYMD(new Date()); } if (this.toggleTeam == 'repot') { this.i = 1; this.getReportList(); } else { this.getTeamInfo(); } }, hanlderTime: function hanlderTime(date) { this.st = date[0]; this.et = date[1]; if (this.toggleTeam == 'repot') { this.getReportList(); } else { this.getTeamInfo(); } }, // 选ä¸é¡µç hanlderPage: function hanlderPage(value) { this.i = value; this.getReportList(); }, //会员报表 getTeamInfo: function getTeamInfo(memberType) { var _this4 = this; this.$store.commit('loading', true); // if(memberType=="会员"){ // // 会员 // this.$postS("/member/memberReport",{ // date:1 // }).then((res)=>{ // if (res.code == 200) { // if (res.data != '') { // this.agencyData = res.data // this.contShow = true // } else { // this.contShow = false // this.$error(res.message) // } // } else { // this.contShow = false // this.$error(res.message) // } // this.$store.commit('loading', false) // }) // }else { // // ä»£ç† // this.$postS("agency/agencyReport21", { // uname: this.uname, // st: this.st, // et: this.et, // }) // .then(res => { // if (res.code == 200) { // if (res.data != '') { // this.agencyData = res.data // this.contShow = true // } else { // this.$error(res.message) // } // } else { // this.contShow = false // this.$error(res.message) // } // this.$store.commit('loading', false) // }) // } this.$postS("agency/agencyReport21", { uid: this.uid, st: this.st, et: this.et }).then(function (res) { if (res.code == 200) { if (res.data != '') { // if(res.data.length==7){ // res.data.push({value:"",name:""}) // } var leftNum = 0; if (res.data.length < 4 && res.data.length > 0) { leftNum = 4 - res.data.length; } else if (res.data.length > 4 && res.data.length < 8) { leftNum = 8 - res.data.length; } else if (res.data.length > 8 && res.data.length < 12) { leftNum = 12 - res.data.length; } else if (res.data.length > 12 && res.data.length < 16) { leftNum = 16 - res.data.length; } for (var i = 0; i < leftNum; i++) { res.data.push({ value: "", name: "", noBorder: true }); } _this4.agencyData = res.data; _this4.contShow = true; } else { _this4.$error(res.message); } } else { _this4.contShow = false; _this4.$error(res.message); } _this4.$store.commit('loading', false); }); }, //é¢åŒ…屑 æ·»åŠ getTeamMember: function getTeamMember() { var _this5 = this; if (!this.searchStr) { this.$error("请输入代ç†è´¦å·"); return false; } this.$store.commit('loading', true); this.$postS('agency/lowerReport21', { page: this.i, uname: this.searchStr, st: this.st, et: this.et, pagesize: 8 }).then(function (res) { if (res.code == 200) { if (res.data == 2) { _this5.$error("请输入代ç†è´¦å·"); _this5.searchStr = ""; } else if (res.data == 1) { _this5.$error("该代ç†æ²¡æœ‰ä¸‹çº§ä¼šå‘˜"); _this5.searchStr = ""; } else { if (res.data.data) { var leftNum = 0; if (res.data.length < 4 && res.data.length > 0) { leftNum = 4 - res.data.length; } else if (res.data.length > 4 && res.data.length < 8) { leftNum = 8 - res.data.length; } else if (res.data.length > 8 && res.data.length < 12) { leftNum = 12 - res.data.length; } else if (res.data.length > 12 && res.data.length < 16) { leftNum = 16 - res.data.length; } for (var i = 0; i < leftNum; i++) { res.data.push({ value: "", name: "", noBorder: true }); } _this5.allUsers = res.data.data; _this5.data = _this5.allUsers; _this5.total = res.data.total; } } } else { _this5.$error(res.message); } _this5.$store.commit('loading', false); }); }, hanlderLink: function hanlderLink() { if (this.uname != this.$store.state.mainState.userinfo.userName) { var newObj = {}; newObj.uname = this.uname; newObj.uid = this.uid; this.dataLink.push(newObj); this.dataShow = true; } }, hanlderLink1: function hanlderLink1(params) { var newObj = {}; newObj.titleName = this.titleName = params.row.type + '报表'; newObj.canshu = this.canshu = params.row.userName; this.dataLink1.push(newObj); this.dataShow1 = true; }, //é¢åŒ…屑 跳转 hanlderClick: function hanlderClick(e) { for (var i = 0; i < this.dataLink.length; i++) { var obj = this.dataLink[i]; this.day = '1'; this.hanlderRadio(1); if (e.toElement.firstChild.data == '下级报表') { this.uid = obj.uid; this.dataLink.splice(1); } else if (e.toElement.firstChild.data == obj.uname) { this.uid = obj.uid; this.dataLink.splice(i + 1); } } // 清空æœç´¢çš„æ•°æ® this.searchStr = ""; this.getReportList(); }, hanlderClick1: function hanlderClick1(e) { for (var i = 0; i < this.dataLink1.length; i++) { var obj = this.dataLink1[i]; this.day = '1'; this.hanlderRadio(1); if (e.toElement.firstChild.data == '下级报表') { this.toggleTeam = 'repot'; this.canshu = obj.canshu; this.dataLink1.splice(1); this.getReportList(); } else if (e.srcElement.lastChild.data == obj.titleName) { this.toggleTeam = 'member'; this.canshu = obj.canshu; this.dataLink1.splice(i + 1); this.getTeamInfo(); } } }, toggle: function toggle(i) { this.liSelect = i; } }, created: function created() { this.getReportList(); if (this.personal_commission_mode == 'mode_f') { this.columns.splice(6, 1); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-d2ec27ac","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/agency/agency_repot.vue var agency_repot_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"agency_repot"},[(_vm.toggleTeam =='repot')?_c('div',{staticClass:"repot"},[_c('div',{staticClass:"title"},_vm._l((_vm.dataLink),function(item,i){return _c('p',{key:i},[(i>0)?_c('label',{directives:[{name:"show",rawName:"v-show",value:(_vm.dataShow),expression:"dataShow"}]},[_vm._v(">")]):_vm._e(),_vm._v(" "),_c('span',{attrs:{"data-getvalue":"item"},on:{"click":_vm.hanlderClick}},[_vm._v(_vm._s(item.uname))])])}),0),_vm._v(" "),_c('div',{staticClass:"search"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("今日")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("昨天")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("最近七天")])])],1),_vm._v(" "),_c('DatePicker',{staticStyle:{"width":"236px","margin-left":"25px"},attrs:{"type":"daterange","placement":"bottom-end","placeholder":"选择时间"},on:{"on-change":_vm.hanlderTime}}),_vm._v(" "),_c('Input',{staticClass:"mySearch",staticStyle:{"width":"200px","margin-left":"28px"},attrs:{"icon":"android-search","placeholder":"下级报表查询(代ç†è´¦å·ï¼‰"},on:{"on-enter":_vm.searchSth,"on-click":_vm.getTeamMember},model:{value:(_vm.searchStr),callback:function ($$v) {_vm.searchStr=$$v},expression:"searchStr"}})],1),_vm._v(" "),_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),_c('div',{staticClass:"page"},[(_vm.total>0)?_c('Page',{attrs:{"show-total":"","current":_vm.i,"page-size":8,"total":_vm.total,"size":"small"},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1)],1):_vm._e(),_vm._v(" "),(_vm.toggleTeam =='member')?_c('div',{staticClass:"member"},[_c('div',{staticClass:"title"},_vm._l((_vm.dataLink1),function(item,i){return _c('p',{key:i},[(i>0)?_c('label',{directives:[{name:"show",rawName:"v-show",value:(_vm.dataShow1),expression:"dataShow1"}]},[_vm._v(">")]):_vm._e(),_vm._v(" "),_c('span',{attrs:{"data-getvalue":"item"},on:{"click":_vm.hanlderClick1}},[_vm._v(_vm._s(item.titleName))])])}),0),_vm._v(" "),_c('div',{staticClass:"search"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("今日")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("昨天")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("最近七天")])])],1),_vm._v(" "),_c('DatePicker',{staticStyle:{"width":"236px","margin-left":"25px"},attrs:{"placeholder":"选择时间","type":"daterange","placement":"bottom-end"},on:{"on-change":_vm.hanlderTime}}),_vm._v(" "),(this.title=='会员')?_c('div',{staticClass:"mathDiv cl"},[_vm._m(0),_vm._v(" "),_vm._m(1)]):_vm._e(),_vm._v(" "),(this.title=='代ç†')?_c('div',{staticClass:"mathDiv cl"},[_vm._m(2),_vm._v(" "),_vm._m(3)]):_vm._e()],1),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.contShow),expression:"contShow"}]},[(this.title=='会员')?_c('div',[_c('div',{staticClass:"agency-info"},[_c('ul',{staticClass:"contentUl_member cl"},_vm._l((_vm.agencyData),function(item,index){return _c('li',{key:index},[_c('div',{staticClass:"liItem",class:{noBorder:item.noBorder}},[_c('p',{staticClass:"itemName"},[_c('span',[_vm._v(_vm._s(item.name))])]),_vm._v(" "),_c('p',{staticClass:"itemVal"},[_vm._v(_vm._s(item.value))])])])}),0)]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showTouzhu_member),expression:"showTouzhu_member"}],staticClass:"betMoney_member"},[_c('div',{staticClass:"anoBox"},[_c('p',{staticClass:"itemTitle"},[_vm._v("投注金é¢è¯¦æƒ…")]),_vm._v(" "),_c('img',{staticStyle:{"position":"absolute","right":"23px","top":"23px","width":"12px","height":"12px","cursor":"pointer"},attrs:{"src":"/static/public/image/userImg/closebtn.png","alt":""},on:{"click":_vm.closeWin1}}),_vm._v(" "),_c('ul',{staticClass:"betUl cl"},[_vm._m(4),_vm._v(" "),_vm._l((_vm.moneyList),function(v,i){return _c('li',{key:i,staticClass:"betItem cl"},[_c('div',{staticClass:"betTitle basicDiv"},[_vm._v(_vm._s(v.name))]),_vm._v(" "),_c('div',{staticClass:"betCash basicDiv"},[_vm._v(_vm._s(v.money))])])})],2)])])]):_vm._e(),_vm._v(" "),(this.title=='代ç†')?_c('div',[_c('div',{staticClass:"agency-info"},[_c('ul',{staticClass:"contentUl cl"},_vm._l((_vm.agencyData),function(item,index){return _c('li',{key:index},[_c('div',{staticClass:"liItem",class:{noBorder:item.noBorder}},[_c('p',{staticClass:"itemName"},[_c('span',[_vm._v(_vm._s(item.name))])]),_vm._v(" "),_c('p',{staticClass:"itemVal"},[_vm._v(_vm._s(item.value))])])])}),0)]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showTouzhu),expression:"showTouzhu"}],staticClass:"betMoney"},[_c('p',{staticClass:"itemTitle"},[_vm._v("投注金é¢è¯¦æƒ…")]),_vm._v(" "),_c('img',{staticStyle:{"position":"absolute","right":"23px","top":"23px","width":"12px","height":"12px","cursor":"pointer"},attrs:{"src":"/static/public/image/userImg/closebtn.png","alt":""},on:{"click":_vm.closeWin}}),_vm._v(" "),_c('ul',{staticClass:"betUl cl"},[_vm._m(5),_vm._v(" "),_vm._l((_vm.moneyList),function(v,i){return _c('li',{key:i,staticClass:"betItem cl"},[_c('div',{staticClass:"betTitle basicDiv"},[_vm._v(_vm._s(v.name))]),_vm._v(" "),_c('div',{staticClass:"betCash basicDiv"},[_vm._v(_vm._s(v.money))]),_vm._v(" "),_c('div',{staticClass:"betNum basicDiv"},[_vm._v(_vm._s(v.num))])])})],2)])]):_vm._e()]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.contShow),expression:"!contShow"}],staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})])]):_vm._e()])} var agency_repot_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_vm._v("è®¡ç®—å…¬å¼ "),_c('img',{staticClass:"explainPic",staticStyle:{"vertical-align":"middle","width":"16px","height":"16px","margin-bottom":"3px"},attrs:{"src":"/static/public/image/userImg/question.png","alt":""}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"explainDiv"},[_c('p',{staticStyle:{"color":"rgba(51,51,51,1)","font-weight":"600"}},[_vm._v("计算公å¼")]),_vm._v(" "),_c('p',{staticStyle:{"border-bottom":"1px solid #eee"}},[_vm._v("会员盈利=ä¼˜æƒ é‡‘é¢+会员输赢")]),_vm._v(" "),_c('p',[_vm._v("ä¼˜æƒ é‡‘é¢=自身返水+活动金é¢")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_vm._v("è®¡ç®—å…¬å¼ "),_c('img',{staticClass:"explainPic",staticStyle:{"vertical-align":"middle","width":"16px","height":"16px","margin-bottom":"3px"},attrs:{"src":"/static/public/image/userImg/question.png","alt":""}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"explainDiv"},[_c('p',{staticStyle:{"color":"rgba(51,51,51,1)","font-weight":"600"}},[_vm._v("计算公å¼")]),_vm._v(" "),_c('p',[_c('span',[_vm._v("团队盈利=")]),_vm._v(" 代ç†æ”¶å…¥+ä¼˜æƒ é‡‘é¢+会员输赢")]),_vm._v(" "),_c('p',[_c('span',[_vm._v("代ç†æ”¶å…¥=")]),_vm._v(" 下级返水+下级返点")]),_vm._v(" "),_c('p',[_c('span',[_vm._v("ä¼˜æƒ é‡‘é¢")]),_vm._v("=自身返水+活动金é¢")]),_vm._v(" "),_c('p',[_c('span',[_vm._v("有效人数:")]),_vm._v("所选时间内å˜æ¬¾çš„人数(首å˜æˆ–éžé¦–å˜ï¼‰")]),_vm._v(" "),_c('p',[_c('span',[_vm._v("首å˜äººæ•°ï¼š")]),_vm._v("所选时间或历å²æ³¨å†Œä¼šå‘˜åœ¨æ‰€é€‰æ—¶é—´å†…首å˜äººæ•°")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"cl"},[_c('div',{staticClass:"basicDiv typeDiv"},[_vm._v("类型")]),_vm._v(" "),_c('div',{staticClass:"basicDiv typeDiv"},[_vm._v("投注金é¢")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"cl"},[_c('div',{staticClass:"basicDiv typeDiv"},[_vm._v("类型")]),_vm._v(" "),_c('div',{staticClass:"basicDiv typeDiv"},[_vm._v("投注金é¢")]),_vm._v(" "),_c('div',{staticClass:"basicDiv typeDiv"},[_vm._v("投注人数")])])}] var agency_repot_esExports = { render: agency_repot_render, staticRenderFns: agency_repot_staticRenderFns } /* harmony default export */ var agency_agency_repot = (agency_repot_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/agency/agency_repot.vue function agency_repot_injectStyle (ssrContext) { __webpack_require__("HbsV") } var agency_repot_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var agency_repot___vue_template_functional__ = false /* styles */ var agency_repot___vue_styles__ = agency_repot_injectStyle /* scopeId */ var agency_repot___vue_scopeId__ = null /* moduleIdentifier (server only) */ var agency_repot___vue_module_identifier__ = null var agency_repot_Component = agency_repot_normalizeComponent( agency_repot, agency_agency_repot, agency_repot___vue_template_functional__, agency_repot___vue_styles__, agency_repot___vue_scopeId__, agency_repot___vue_module_identifier__ ) /* harmony default export */ var personals_agency_agency_repot = (agency_repot_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/agency/agency_people.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var agency_people = ({ data: function data() { return { day: "1", data: [], isSelect: 1, pagesize: 9, ispage: false, page: 0, column: [{ title: "时间", key: "date", align: "center", render: function render(h, params) { return h("div", [h("span", params.row.date + " 星期" + params.row.week)]); } }, { title: "总人数", key: "count", align: "center" }, { title: "新增用户", key: "newuser", align: "center" }, { title: "å˜æ¬¾äººæ•°", key: "deposituser", align: "center" }, { title: "å˜æ¬¾é‡‘é¢", key: "deposit", align: "center", render: function render(h, params) { return h("span", (params.row.deposit * 1).toFixed(2)); } }] }; }, methods: { getpeople: function getpeople() { var _this = this; this.$store.commit("loading", true); this.$postS("agency/lowerPeople", { date: this.day }).then(function (res) { if (res.code == 200 && res.data.length != 0) { _this.total = res.data.length; _this.page = Math.ceil(_this.total / _this.pagesize); _this.ispage = true; _this.getPageCurData(res.data, _this.pagesize, _this.isSelect); _this.$store.commit("loading", false); } else if (res.code == 200 && res.data.length == 0) { _this.$error('您没有下级代ç†'); _this.$store.commit("loading", false); } else { _this.$store.commit("loading", false); } }); }, hanlderRadio: function hanlderRadio(val) { this.day = val; this.getpeople(); }, relpeople: function relpeople() { this.day = '1'; this.getpeople(); }, slect: function slect(val) { this.isSelect = val; this.getpeople(); }, prev: function prev() { this.isSelect = this.isSelect - 1; if (this.isSelect <= 1) { this.isSelect = 1; } this.getpeople(); }, next: function next() { this.isSelect = this.isSelect + 1; if (this.isSelect >= this.page) { this.isSelect = this.page; } this.getpeople(); }, //分页 获å–对应的页ç çš„æ•°æ® getPageCurData: function getPageCurData(date, PageSize, PageNo) { this.data = []; for (var i = 0; i < PageSize; i++) { var idx = PageSize * PageNo - PageSize + i; if (idx < date.length) this.data.push(date[idx]); } return this.data; } }, created: function created() { this.getpeople(); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-5ee38d4d","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/agency/agency_people.vue var agency_people_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"people"},[_c('div',{staticClass:"people-content"},[_c('div',{staticClass:"header",on:{"click":_vm.relpeople}},[_vm._v(" \n 下级人数\n ")]),_vm._v(" "),_c('div',{staticClass:"radio"},[_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("本周")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("上周")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("本月")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"4"}},[_c('span',{staticClass:"radio-span"},[_vm._v("上月")])])],1)],1),_vm._v(" "),_c('Table',{attrs:{"columns":_vm.column,"data":_vm.data,"no-data-text":"<div style='margin:30px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),(_vm.ispage)?_c('div',{staticClass:"page"},[_c('ul',{staticClass:"page ivu-page mini",attrs:{"data-v-21c13104":""}},[_c('li',{staticClass:"ivu-page-prev",class:{'ivu-page-disabled':_vm.isSelect==1},attrs:{"title":"上一页"},on:{"click":_vm.prev}},[_vm._m(0)]),_vm._v(" "),(_vm.page>=1)?_c('li',{staticClass:"ivu-page-item",class:{'ivu-page-item-active': _vm.isSelect ==1},attrs:{"title":"1"},on:{"click":function($event){return _vm.slect(1)}}},[_c('a',[_vm._v("1")])]):_vm._e(),_vm._v(" "),(_vm.page>=2)?_c('li',{staticClass:"ivu-page-item",class:{'ivu-page-item-active': _vm.isSelect ==2},attrs:{"title":"2"},on:{"click":function($event){return _vm.slect(2)}}},[_c('a',[_vm._v("2")])]):_vm._e(),_vm._v(" "),(_vm.page>=3)?_c('li',{staticClass:"ivu-page-item",class:{'ivu-page-item-active': _vm.isSelect ==3},attrs:{"title":"3"},on:{"click":function($event){return _vm.slect(3)}}},[_c('a',[_vm._v("3")])]):_vm._e(),_vm._v(" "),(_vm.page>=4)?_c('li',{staticClass:"ivu-page-item",class:{'ivu-page-item-active': _vm.isSelect ==4},attrs:{"title":"4"},on:{"click":function($event){return _vm.slect(4)}}},[_c('a',[_vm._v("4")])]):_vm._e(),_vm._v(" "),_c('li',{staticClass:"ivu-page-next",class:{'ivu-page-disabled':_vm.isSelect==_vm.page},attrs:{"title":"下一页"},on:{"click":_vm.next}},[_vm._m(1)])])]):_vm._e()],1)])} var agency_people_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',[_c('i',{staticClass:"ivu-icon ivu-icon-ios-arrow-left"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',[_c('i',{staticClass:"ivu-icon ivu-icon-ios-arrow-right"})])}] var agency_people_esExports = { render: agency_people_render, staticRenderFns: agency_people_staticRenderFns } /* harmony default export */ var agency_agency_people = (agency_people_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/agency/agency_people.vue function agency_people_injectStyle (ssrContext) { __webpack_require__("mD2M") } var agency_people_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var agency_people___vue_template_functional__ = false /* styles */ var agency_people___vue_styles__ = agency_people_injectStyle /* scopeId */ var agency_people___vue_scopeId__ = "data-v-5ee38d4d" /* moduleIdentifier (server only) */ var agency_people___vue_module_identifier__ = null var agency_people_Component = agency_people_normalizeComponent( agency_people, agency_agency_people, agency_people___vue_template_functional__, agency_people___vue_styles__, agency_people___vue_scopeId__, agency_people___vue_module_identifier__ ) /* harmony default export */ var personals_agency_agency_people = (agency_people_Component.exports); // CONCATENATED MODULE: ./src/pages/public/personals/agency/components/odds.js var issuesData = [{ "label": "香港å…åˆå½©", "value": 1, "children": [{ "label": "特ç ", "value": "特ç " }, { "label": "æ£ç ", "value": "æ£ç " }, { "label": "æ£ç 特", "value": "æ£ç 特" }, { "label": "æ£ç 1-6", "value": "æ£ç 1-6" }, { "label": "è¿žç ", "value": "è¿žç " }, { "label": "特肖", "value": "特肖" }, { "label": "一肖", "value": "一肖" }, { "label": "尾数", "value": "尾数" }, { "label": "色波", "value": "色波" }, { "label": "è¿žè‚–", "value": "è¿žè‚–" }, { "label": "è¿žå°¾", "value": "è¿žå°¾" }, { "label": "åˆè‚–", "value": "åˆè‚–" }, { "label": "å…¨ä¸ä¸", "value": "å…¨ä¸ä¸" }] }, { "label": "北京赛车", "value": 2, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "å† äºšå’Œ", "value": "å† äºšå’Œ" }, { "label": "1~10å", "value": "1~10å" }, { "label": "å† å†›", "value": "å† å†›" }, { "label": "亚军", "value": "亚军" }, { "label": "第三å", "value": "第三å" }, { "label": "第四å", "value": "第四å" }, { "label": "第五å", "value": "第五å" }, { "label": "第å…å", "value": "第å…å" }, { "label": "第七å", "value": "第七å" }, { "label": "第八å", "value": "第八å" }, { "label": "第ä¹å", "value": "第ä¹å" }, { "label": "第åå", "value": "第åå" }] }, { "label": "欢ä¹ç”Ÿè‚–", "value": 4, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "1~5çƒ", "value": "1~5çƒ" }, { "label": "斗牛", "value": "斗牛" }, { "label": "æ¢å“ˆ", "value": "æ¢å“ˆ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "第四çƒ", "value": "第四çƒ" }, { "label": "第五çƒ", "value": "第五çƒ" }, { "label": "å‰ä¸åŽ", "value": "å‰ä¸åŽ" }] }, { "label": "快速å…åˆå½©", "value": 18, "children": [{ "label": "特ç ", "value": "特ç " }, { "label": "æ£ç ", "value": "æ£ç " }, { "label": "æ£ç 特", "value": "æ£ç 特" }, { "label": "æ£ç 1-6", "value": "æ£ç 1-6" }, { "label": "è¿žç ", "value": "è¿žç " }, { "label": "特肖", "value": "特肖" }, { "label": "一肖", "value": "一肖" }, { "label": "尾数", "value": "尾数" }, { "label": "色波", "value": "色波" }, { "label": "è¿žè‚–", "value": "è¿žè‚–" }, { "label": "è¿žå°¾", "value": "è¿žå°¾" }, { "label": "åˆè‚–", "value": "åˆè‚–" }, { "label": "å…¨ä¸ä¸", "value": "å…¨ä¸ä¸" }] }, { "label": "1分赛车", "value": 12, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "å† äºšå’Œ", "value": "å† äºšå’Œ" }, { "label": "1~10å", "value": "1~10å" }, { "label": "å† å†›", "value": "å† å†›" }, { "label": "亚军", "value": "亚军" }, { "label": "第三å", "value": "第三å" }, { "label": "第四å", "value": "第四å" }, { "label": "第五å", "value": "第五å" }, { "label": "第å…å", "value": "第å…å" }, { "label": "第七å", "value": "第七å" }, { "label": "第八å", "value": "第八å" }, { "label": "第ä¹å", "value": "第ä¹å" }, { "label": "第åå", "value": "第åå" }] }, { "label": "1分时时彩", "value": 16, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "1~5çƒ", "value": "1~5çƒ" }, { "label": "斗牛", "value": "斗牛" }, { "label": "æ¢å“ˆ", "value": "æ¢å“ˆ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "第四çƒ", "value": "第四çƒ" }, { "label": "第五çƒ", "value": "第五çƒ" }, { "label": "å‰ä¸åŽ", "value": "å‰ä¸åŽ" }] }, { "label": "5分å…åˆå½©", "value": 19, "children": [{ "label": "特ç ", "value": "特ç " }, { "label": "æ£ç ", "value": "æ£ç " }, { "label": "æ£ç 特", "value": "æ£ç 特" }, { "label": "æ£ç 1-6", "value": "æ£ç 1-6" }, { "label": "è¿žç ", "value": "è¿žç " }, { "label": "特肖", "value": "特肖" }, { "label": "一肖", "value": "一肖" }, { "label": "尾数", "value": "尾数" }, { "label": "色波", "value": "色波" }, { "label": "è¿žè‚–", "value": "è¿žè‚–" }, { "label": "è¿žå°¾", "value": "è¿žå°¾" }, { "label": "åˆè‚–", "value": "åˆè‚–" }, { "label": "å…¨ä¸ä¸", "value": "å…¨ä¸ä¸" }] }, { "label": "3分赛车", "value": 13, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "å† äºšå’Œ", "value": "å† äºšå’Œ" }, { "label": "1~10å", "value": "1~10å" }, { "label": "å† å†›", "value": "å† å†›" }, { "label": "亚军", "value": "亚军" }, { "label": "第三å", "value": "第三å" }, { "label": "第四å", "value": "第四å" }, { "label": "第五å", "value": "第五å" }, { "label": "第å…å", "value": "第å…å" }, { "label": "第七å", "value": "第七å" }, { "label": "第八å", "value": "第八å" }, { "label": "第ä¹å", "value": "第ä¹å" }, { "label": "第åå", "value": "第åå" }] }, { "label": "3分时时彩", "value": 17, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "1~5çƒ", "value": "1~5çƒ" }, { "label": "斗牛", "value": "斗牛" }, { "label": "æ¢å“ˆ", "value": "æ¢å“ˆ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "第四çƒ", "value": "第四çƒ" }, { "label": "第五çƒ", "value": "第五çƒ" }, { "label": "å‰ä¸åŽ", "value": "å‰ä¸åŽ" }] }, { "label": "广东快ä¹å分", "value": 5, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "总和", "value": "总和" }, { "label": "1~8çƒ", "value": "1~8çƒ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "第四çƒ", "value": "第四çƒ" }, { "label": "第五çƒ", "value": "第五çƒ" }, { "label": "第å…çƒ", "value": "第å…çƒ" }, { "label": "第七çƒ", "value": "第七çƒ" }, { "label": "第八çƒ", "value": "第八çƒ" }] }, { "label": "幸è¿é£žè‰‡", "value": 3, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "å† äºšå’Œ", "value": "å† äºšå’Œ" }, { "label": "1~10å", "value": "1~10å" }, { "label": "å† å†›", "value": "å† å†›" }, { "label": "亚军", "value": "亚军" }, { "label": "第三å", "value": "第三å" }, { "label": "第四å", "value": "第四å" }, { "label": "第五å", "value": "第五å" }, { "label": "第å…å", "value": "第å…å" }, { "label": "第七å", "value": "第七å" }, { "label": "第八å", "value": "第八å" }, { "label": "第ä¹å", "value": "第ä¹å" }, { "label": "第åå", "value": "第åå" }] }, { "label": "江è‹å¿«3", "value": 9, "children": [{ "label": "点数", "value": "点数" }, { "label": "三åŒ", "value": "三åŒ" }, { "label": "三ä¸åŒ", "value": "三ä¸åŒ" }, { "label": "二åŒ", "value": "二åŒ" }, { "label": "二ä¸åŒ", "value": "二ä¸åŒ" }] }, { "label": "1分快3", "value": 27, "children": [{ "label": "点数", "value": "点数" }, { "label": "三åŒ", "value": "三åŒ" }, { "label": "三ä¸åŒ", "value": "三ä¸åŒ" }, { "label": "二åŒ", "value": "二åŒ" }, { "label": "二ä¸åŒ", "value": "二ä¸åŒ" }] }, { "label": "PC蛋蛋", "value": 10, "children": [{ "label": "主势盘", "value": "主势盘" }] }, { "label": "广东11选5", "value": 7, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "1~5çƒ", "value": "1~5çƒ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "第四çƒ", "value": "第四çƒ" }, { "label": "第五çƒ", "value": "第五çƒ" }] }, { "label": "幸è¿å†œåœº", "value": 6, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "总和", "value": "总和" }, { "label": "1~8çƒ", "value": "1~8çƒ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "第四çƒ", "value": "第四çƒ" }, { "label": "第五çƒ", "value": "第五çƒ" }, { "label": "第å…çƒ", "value": "第å…çƒ" }, { "label": "第七çƒ", "value": "第七çƒ" }, { "label": "第八çƒ", "value": "第八çƒ" }] }, { "label": "上海时时ä¹", "value": 29, "children": [{ "label": "æ•´åˆ", "value": "æ•´åˆ" }, { "label": "主盘势", "value": "主盘势" }, { "label": "1~3çƒ", "value": "1~3çƒ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "一å—组åˆ", "value": "一å—组åˆ" }, { "label": "二å—组åˆ", "value": "二å—组åˆ" }, { "label": "三å—组åˆ", "value": "三å—组åˆ" }, { "label": "二å—定ä½", "value": "二å—定ä½" }, { "label": "三å—定ä½", "value": "三å—定ä½" }, { "label": "二å—和数", "value": "二å—和数" }, { "label": "三å—和数", "value": "三å—和数" }] }, { "label": "北京快3", "value": 2900, "children": [{ "label": "点数", "value": "点数" }, { "label": "三åŒ", "value": "三åŒ" }, { "label": "三ä¸åŒ", "value": "三ä¸åŒ" }, { "label": "二åŒ", "value": "二åŒ" }, { "label": "二ä¸åŒ", "value": "二ä¸åŒ" }] }, { "label": "上海快3", "value": 2906, "children": [{ "label": "点数", "value": "点数" }, { "label": "三åŒ", "value": "三åŒ" }, { "label": "三ä¸åŒ", "value": "三ä¸åŒ" }, { "label": "二åŒ", "value": "二åŒ" }, { "label": "二ä¸åŒ", "value": "二ä¸åŒ" }] }, { "label": "甘肃快3", "value": 2901, "children": [{ "label": "点数", "value": "点数" }, { "label": "三åŒ", "value": "三åŒ" }, { "label": "三ä¸åŒ", "value": "三ä¸åŒ" }, { "label": "二åŒ", "value": "二åŒ" }, { "label": "二ä¸åŒ", "value": "二ä¸åŒ" }] }, { "label": "湖北快3", "value": 2905, "children": [{ "label": "点数", "value": "点数" }, { "label": "三åŒ", "value": "三åŒ" }, { "label": "三ä¸åŒ", "value": "三ä¸åŒ" }, { "label": "二åŒ", "value": "二åŒ" }, { "label": "二ä¸åŒ", "value": "二ä¸åŒ" }] }, { "label": "河北快3", "value": 2904, "children": [{ "label": "点数", "value": "点数" }, { "label": "三åŒ", "value": "三åŒ" }, { "label": "三ä¸åŒ", "value": "三ä¸åŒ" }, { "label": "二åŒ", "value": "二åŒ" }, { "label": "二ä¸åŒ", "value": "二ä¸åŒ" }] }, { "label": "广西快3", "value": 2902, "children": [{ "label": "点数", "value": "点数" }, { "label": "三åŒ", "value": "三åŒ" }, { "label": "三ä¸åŒ", "value": "三ä¸åŒ" }, { "label": "二åŒ", "value": "二åŒ" }, { "label": "二ä¸åŒ", "value": "二ä¸åŒ" }] }, { "label": "贵州快3", "value": 2903, "children": [{ "label": "点数", "value": "点数" }, { "label": "三åŒ", "value": "三åŒ" }, { "label": "三ä¸åŒ", "value": "三ä¸åŒ" }, { "label": "二åŒ", "value": "二åŒ" }, { "label": "二ä¸åŒ", "value": "二ä¸åŒ" }] }, { "label": "安徽快3", "value": 25, "children": [{ "label": "点数", "value": "点数" }, { "label": "三åŒ", "value": "三åŒ" }, { "label": "三ä¸åŒ", "value": "三ä¸åŒ" }, { "label": "二åŒ", "value": "二åŒ" }, { "label": "二ä¸åŒ", "value": "二ä¸åŒ" }] }, { "label": "1分11选5", "value": 24, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "1~5çƒ", "value": "1~5çƒ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "第四çƒ", "value": "第四çƒ" }, { "label": "第五çƒ", "value": "第五çƒ" }] }, { "label": "上海11选5", "value": 22, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "1~5çƒ", "value": "1~5çƒ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "第四çƒ", "value": "第四çƒ" }, { "label": "第五çƒ", "value": "第五çƒ" }] }, { "label": "山东11选5", "value": 23, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "1~5çƒ", "value": "1~5çƒ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "第四çƒ", "value": "第四çƒ" }, { "label": "第五çƒ", "value": "第五çƒ" }] }, { "label": "江西11选5", "value": 21, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "1~5çƒ", "value": "1~5çƒ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "第四çƒ", "value": "第四çƒ" }, { "label": "第五çƒ", "value": "第五çƒ" }] }, { "label": "æ¹–å—å¿«ä¹å分", "value": 20, "children": [{ "label": "两é¢ç›˜", "value": "两é¢ç›˜" }, { "label": "å¿«æ·", "value": "å¿«æ·" }, { "label": "总和", "value": "总和" }, { "label": "1~8çƒ", "value": "1~8çƒ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "第四çƒ", "value": "第四çƒ" }, { "label": "第五çƒ", "value": "第五çƒ" }, { "label": "第å…çƒ", "value": "第å…çƒ" }, { "label": "第七çƒ", "value": "第七çƒ" }, { "label": "第八çƒ", "value": "第八çƒ" }] }, { "label": "ç¦å½©3D", "value": 11, "children": [{ "label": "æ•´åˆ", "value": "æ•´åˆ" }, { "label": "主盘势", "value": "主盘势" }, { "label": "1~3çƒ", "value": "1~3çƒ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "一å—组åˆ", "value": "一å—组åˆ" }, { "label": "二å—组åˆ", "value": "二å—组åˆ" }, { "label": "三å—组åˆ", "value": "三å—组åˆ" }, { "label": "二å—定ä½", "value": "二å—定ä½" }, { "label": "三å—定ä½", "value": "三å—定ä½" }, { "label": "二å—和数", "value": "二å—和数" }, { "label": "三å—和数", "value": "三å—和数" }] }, { "label": "排列3", "value": 28, "children": [{ "label": "æ•´åˆ", "value": "æ•´åˆ" }, { "label": "主盘势", "value": "主盘势" }, { "label": "1~3çƒ", "value": "1~3çƒ" }, { "label": "第一çƒ", "value": "第一çƒ" }, { "label": "第二çƒ", "value": "第二çƒ" }, { "label": "第三çƒ", "value": "第三çƒ" }, { "label": "一å—组åˆ", "value": "一å—组åˆ" }, { "label": "二å—组åˆ", "value": "二å—组åˆ" }, { "label": "三å—组åˆ", "value": "三å—组åˆ" }, { "label": "二å—定ä½", "value": "二å—定ä½" }, { "label": "三å—定ä½", "value": "三å—定ä½" }, { "label": "二å—和数", "value": "二å—和数" }, { "label": "三å—和数", "value": "三å—和数" }] }]; /* harmony default export */ var odds = (issuesData); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/agency/agency_open.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var agency_open = ({ mixins: [agency_agency], data: function data() { var _this = this; return { personal_commission_mode: localStorage.personal_mode, site_model: JSON.parse(localStorage.getItem("config")).invite_code, spanActive: 0, // 精准开户用户å userName: "", marginLeft: 31, pointBall: false, pointDetails: false, // 精准开户默认密ç password: Math.random().toString().slice(-8), param: {}, member: [], // 返点的数组 // 赔率计算 options: odds, selectedOptions: [], // 用æ¥åŒºåˆ«æ¯ä¸€ç»„åæ°´ i: 1, total: 0, url: this.$HOST_NAME + "/Agency/createMember", // æ示 toastShow: false, toastNum: 130, toastText: "", rebatedata: [], caipiaoNum: 0, caipiaoList: [], caipiaoName: "", data: [], columns: [{ title: "邀请链接", key: "userName", align: "center", width: 270, render: function render(h, params) { return h("div", [h("input", { attrs: { type: "type", value: params.row.domain, disabled: "disabled" }, style: { border: "1px solid #dbdbdb", height: "36px", width: "210px", borderRadius: "8px", outline: "none", paddingLeft: "10px", fontSize: "14px", color: "#999" } }), h("span", { style: { marginLeft: "10px", fontSize: "14px", color: "#808080", cursor: "pointer" }, on: { click: function click() { _this.Copy(params.row.domain); } } }, "å¤åˆ¶")]); } }, { title: "生æˆæ—¶é—´", key: "Deposit", align: "center", // width: 234, render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.created_at - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "状æ€", key: "created_at", align: "center", // width: 82, render: function render(h, params) { return h("div", [h("span", params.row.status == "yes" ? "å¯ç”¨" : "ç¦ç”¨")]); } }, { title: "注册人数", key: "balance", align: "center", // width: 180, render: function render(h, params) { return h("span", params.row.registeredtotal); } }, { title: "æ“作", key: "preferential", align: "center", // width: 140, render: function render(h, params) { return h("div", [h("span", { class: [{ nodetail: _this.personal_commission_mode == "mode_b" }], style: { marginRight: "4px", cursor: "pointer", color: "rgba(245,145,70,1)" }, domProps: { title: "查看详情" }, on: { click: function click() { _this.pointDetails = true; _this.refund = _this.set_refund2(params.row); } } }, [h("span", "详情")]), h("span", { // class:[this.personal_commission_mode =='mode_b'? "": "nocolore"], style: { display: _this.personal_commission_mode == "mode_b" ? "none" : "inline-block", width: "1px", height: "16px", background: "rgba(219,219,219,1)", verticalAlign: "middle" } }), h("span", { style: { cursor: "pointer", marginLeft: "4px", color: "rgba(245,145,70,1)" }, on: { click: function click() { if (params.row.status == "yes") { _this.domainUp(params.row.id, "no"); } else { _this.domainUp(params.row.id, "yes"); } } } }, [h("span", params.row.status == "yes" ? "ç¦ç”¨" : "å¯ç”¨")])]); } }], columns2: [{ title: "游æˆçŽ©æ³•", key: "created_at", align: "center", width: 343, render: function render(h, params) { return h("div", [h("span", params.row.code)]); } }, { title: "下级点数", key: "userName", align: "center", width: 343, render: function render(h, params) { return h("div", [h("span", _this.dot + "%")]); } }, { title: "下级赔率", key: "userName", align: "center", width: 346, render: function render(h, params) { return h("div", [h("span", params.row.odds)]); } }], open_type: 1, open_type1: 2, gameName: "香港å…åˆå½©", gamePay: "特ç ", dot: "", lid: 1, big: "特ç ", items: [], userType: 2 }; }, methods: { // 代ç†å’Œæ™®é€šç”¨æˆ·åˆ‡æ¢ toggle: function toggle(i) { this.spanActive = i; this.toastShow = false; if (i == 2) { this.query_open(); } else { this.getRefundInfo(); } }, handleChange: function handleChange(value) { this.lid = value[0]; this.big = value[1]; }, changeUserType: function changeUserType(i) { this.open_type1 = i; this.userType = i; this.i = 1; this.query_open(); }, hanlderPage: function hanlderPage(i) { this.i = i; this.query_open(); }, close: function close(count) { if (count == "small") { this.pointDetails = false; } else { this.pointBall = false; } }, set_refund2: function set_refund2(list) { var _this2 = this; var refund = JSON.parse(localStorage.refund); var rerundList = []; for (var key in refund) { var refundObj = {}; refundObj.key = key; rerundList.push(assign_default()(refundObj, refund[key])); } rerundList.forEach(function (element) { element.list.forEach(function (item) { item.value = list[item.key]; }); }); this.caipiaoDetailsList = []; this.rebateDetailsList = []; rerundList.forEach(function (v, e) { if (v.key == "lottery") { var kuaisan = []; var liuhecai = []; var pk10 = []; var dipancai = []; var kuaileshifen = []; var shishicai = []; var shiyixuanwu = []; var pcdandan = []; v.list.forEach(function (k, i) { if (v.list[i].class_name == "å¿«3") { kuaisan.push(v.list[i]); } if (v.list[i].class_name == "å…åˆå½©") { liuhecai.push(v.list[i]); } if (v.list[i].class_name == "PK10") { pk10.push(v.list[i]); } if (v.list[i].class_name == "低频彩") { dipancai.push(v.list[i]); } if (v.list[i].class_name == "å¿«ä¹å分") { kuaileshifen.push(v.list[i]); } if (v.list[i].class_name == "时时彩") { shishicai.push(v.list[i]); } if (v.list[i].class_name == "11选5") { shiyixuanwu.push(v.list[i]); } if (v.list[i].class_name == "PC蛋蛋") { pcdandan.push(v.list[i]); } }); _this2.caipiaoDetailsList.push({ name: "快三", list: kuaisan }, { name: "å…åˆå½©", list: liuhecai }, { name: "pk10", list: pk10 }, { name: "低频彩", list: dipancai }, { name: "å¿«ä¹å分", list: kuaileshifen }, { name: "时时彩", list: shishicai }, { name: "11选5", list: shiyixuanwu }, { name: "PC蛋蛋", list: pcdandan }); var _list = _this2.caipiaoDetailsList; _list.forEach(function (v) { v.active = "0.0%"; v.list.forEach(function (a, i) { a.value = (a.value * 1).toFixed(1); a.rebate = a.value; a.option = [{ value: "0.0", name: "0.0%" }]; for (var j = 1; j <= a.value * 10; j++) { a.option.push({ value: (j / 10).toFixed(1), name: (j / 10).toFixed(1) + "%" }); } if (_this2.personal_commission_mode == "mode_a") { a.option = a.option.sort(_this2.compare("value")).splice(0, 4); } else { a.option = a.option.sort(_this2.compare("value")); } }); }); _this2.caipiaoList = _list[0].list; _this2.caipiaoName = _list[0].name; _this2.MaxRefund2("caipiaoDetailsList"); } else { _this2.rebateDetailsList.push(rerundList[e]); var list2 = _this2.rebateDetailsList; list2.forEach(function (v) { v.active = "0.0%"; v.list.forEach(function (a, i) { a.value = (a.value * 1).toFixed(1); a.rebate = a.value; a.option = [{ value: "0.0", name: "0.0%" }]; for (var j = 1; j <= a.value * 10; j++) { a.option.push({ value: (j / 10).toFixed(1), name: (j / 10).toFixed(1) + "%" }); } if (_this2.personal_commission_mode == "mode_a") { a.option = a.option.sort(_this2.compare("value")).splice(0, 4); } else { a.option = a.option.sort(_this2.compare("value")); } }); }); _this2.setRefund = list2[0].list; _this2.refundName = list2[0].name; _this2.MaxRefund2("rebateDetailsList"); if (["qxcp", "csj", "fczj", "tccp", "tycp", "flcp"].includes(_this2.$websiteName)) { _this2.rebateDetailsList = _this2.rebateDetailsList.filter(function (item) { return item.key == "chess" || item.key == "ct_lottery"; }); } } }); }, //切æ¢ç®¡ç†é‚€è¯·é“¾æŽ¥ openodds: function openodds() { this.pointBall = true; }, domainUp: function domainUp(id, status) { var _this3 = this; this.$postS("agency/domainUp", { id: id, status: status }).then(function (res) { if (res.code == 200) { if (status == "yes") { _this3.$success("å·²å¯ç”¨æˆåŠŸ"); } else { _this3.$success("å·²ç¦ç”¨æˆåŠŸ"); } setTimeout(function () { _this3.i = _this3.i; _this3.query_open(); }, 1000); } }); }, // å¤åˆ¶ Copy: function Copy(link) { this.$success("å¤åˆ¶æˆåŠŸ"); this.$copyText(link); }, // 改å˜ç±»åž‹ tochangetype: function tochangetype(i) { this.open_type = i; this.toastShow = false; }, //计算赔率 getPlayway: function getPlayway() { var _this4 = this; if (!this.dot) return this.$success("请输入抽å–下级点数"); this.$postS("agency/getPlaywaySet", { lid: this.lid, dot: this.dot }).then(function (res) { if (_this4.big == "1~5çƒ" || _this4.big == "1~8çƒ" || _this4.big == "1~3çƒ") { _this4.big = "第一çƒ"; } if (res && res.code == 200) { res.data.forEach(function (element) { if (element.big == _this4.big) { _this4.items = element.items[0].code; } }); } }); }, //管ç†é‚€è¯·é“¾æŽ¥ query_open: function query_open() { var _this5 = this; this.$store.commit("loading", true); if (this.open_type1 == 2) { this.$postS("agency/domainList", { page: this.i, pagesize: "8" }).then(function (res) { if (res.code == 200) { _this5.data = res.data.list.data; _this5.total = res.data.list.total; _this5.site_model = res.data.site_model; _this5.$store.commit("loading", false); } else { _this5.$store.commit("loading", false); _this5.$error(res.message); } }); } else { this.$postS("agency/domainList", { page: this.i, pagesize: "8", is_agency: this.open_type1 }).then(function (res) { if (res.code == 200) { _this5.data = res.data.list.data; _this5.total = res.data.list.total; _this5.$store.commit("loading", false); } else { _this5.$store.commit("loading", false); _this5.$error(res.message); } }); } }, //æ交按钮 submitOpen: function submitOpen() { var _this6 = this; var rebateData = JSON.parse(localStorage.refund); this.rebatedata.forEach(function (v) { v.list.forEach(function (a) { rebateData[a.id] = a.rebate; }); }); this.param.rebate = stringify_default()(rebateData); if (this.spanActive == 0) { this.param.account_name = this.userName.toString(); this.param.account_password = this.password.toString(); this.param.account_type = this.open_type.toString(); var userNameReg = /^[0-9A-Za-z]{6,10}$/; var ifUserName = userNameReg.test(this.param.account_name); if (!this.param.account_name || ifUserName == false) { this.toastText = "请输入6-10ä½è´¦å·"; this.toastNum = 130, this.toastShow = true; return false; } } else { this.url = this.$HOST_NAME + "/Agency/createDomain"; } this.toastShow = false; this.param.json_value = this.productJsonParams().toString(); this.$postS("member/create-account", { account_name: this.param.account_name, account_password: this.param.account_password, json_value: this.param.json_value, account_type: this.param.account_type }).then(function (res) { if (res.code == 200) { _this6.$success(res.data); _this6.param = {}; _this6.userName = ""; } else { _this6.$error(res.message); } }); }, domainAdd: function domainAdd() { var _this7 = this; var params = {}; params.type = this.open_type; params.json_value = this.productJsonParams(); this.$postS("agency/domainAdd", params).then(function (res) { if (res && res.code == 200) { _this7.$success("æ·»åŠ æˆåŠŸ"); _this7.query_open(); } else { _this7.$error(res.message); } }); }, //å½©ç¥¨åˆ‡æ¢ toggleCaipiao: function toggleCaipiao(i, list, name) { this.caipiaoNum = i; this.caipiaoList = list; this.caipiaoName = name; }, MaxRefund2: function MaxRefund2(list) { if (list == "caipiaoDetailsList") { this.caipiaoDetailsList.forEach(function (v, i) { v.active = +v.active; var max = 0; v.list.forEach(function (item) { if (item.rebate > max) max = item.rebate; }); if (max == 0) { v.active = "0.0"; } else { v.active = max; } }); } else if (list == "rebateDetailsList") { this.rebateDetailsList.forEach(function (v, i) { v.active = +v.active; var max = 0; v.list.forEach(function (item) { if (item.rebate > max) max = item.rebate; }); if (max == 0) { v.active = "0.0"; } else { v.active = max; } }); } else { this.rebatedata.forEach(function (v, i) { v.active = +v.active; var max = 0; v.list.forEach(function (item) { if (item.rebate > max) max = item.rebate; }); if (max == 0) { v.active = "0.0"; } else { v.active = max; } }); } } }, created: function created() { var _this8 = this; if (this.personal_commission_mode == "mode_a") { this.marginLeft = 0; this.open_type1 = 1; } this.$nextTick(function () { _this8.getRefundInfo(); _this8.query_open(); var site_model = JSON.parse(localStorage.config).site_model; var item = { title: "邀请ç ", key: "agencyCode", align: "center", // width: 117, render: function render(h, params) { return h("div", [h("input", { attrs: { type: "type", value: params.row.agencyCode, disabled: "disabled" }, style: { border: "1px solid #dbdbdb", height: "36px", width: "67px", borderRadius: "8px", outline: "none", paddingLeft: "10px", fontSize: "14px", color: "#999" } }), h("span", { style: { marginLeft: "10px", fontSize: "14px", color: "#808080", cursor: "pointer" }, on: { click: function click() { _this8.Copy(params.row.agencyCode); } } }, "å¤åˆ¶")]); } }; if (site_model == "invite_code") { _this8.columns.splice(1, 0, item); _this8.columns.splice(0, 1); } }); }, mounted: function mounted() { this.MaxRefund2(); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-eaab9b14","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/agency/agency_open.vue var agency_open_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"apply_open"},[_c('div',{staticClass:"header"},[_c('ul',[_vm._m(0),_vm._v(" "),_c('li',{staticClass:"aisle"},[_c('span',{class:{ spanActive: _vm.spanActive == 0 },on:{"click":function($event){return _vm.toggle(0)}}},[_vm._v("精准开户")])]),_vm._v(" "),(_vm.personal_commission_mode != 'mode_b')?_c('li',{staticClass:"aisle"},[_c('span',{class:{ spanActive: _vm.spanActive == 1 },on:{"click":function($event){return _vm.toggle(1)}}},[_vm._v(_vm._s(_vm.site_model == "invite_code" ? "创建邀请ç " : "创建邀请链接"))])]):_vm._e(),_vm._v(" "),_c('li',{staticClass:"aisle"},[_c('span',{class:{ spanActive: _vm.spanActive == 2 },on:{"click":function($event){return _vm.toggle(2)}}},[_vm._v(_vm._s(_vm.site_model == "invite_code" ? "管ç†é‚€è¯·ç " : "管ç†é‚€è¯·é“¾æŽ¥"))])])])]),_vm._v(" "),(_vm.spanActive == 0)?_c('div',{staticClass:"content"},[(_vm.personal_commission_mode != 'mode_b')?_c('div',{staticClass:"row"},[_c('label',[_vm._v("开户类型")]),_vm._v(" "),_c('div',{class:{ open_type: _vm.open_type == 1 },on:{"click":function($event){return _vm.tochangetype(1)}}},[_vm._v("\n 代ç†\n ")]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.personal_commission_mode != 'mode_a'),expression:"personal_commission_mode != 'mode_a'"}],class:{ open_type: _vm.open_type == 0 },on:{"click":function($event){return _vm.tochangetype(0)}}},[_vm._v("\n 会员\n ")]),_vm._v(" "),_c('div',{staticClass:"view_odds",on:{"click":function($event){return _vm.openodds()}}},[_c('p',[_vm._v("查看彩票返点赔率表")])])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("开户账å·")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.userName),expression:"userName"}],attrs:{"type":"text","placeholder":"6-10ä½æ•°å—或å—æ¯","maxlength":"10"},domProps:{"value":(_vm.userName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.userName=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("默认密ç ")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.password),expression:"password"}],attrs:{"type":"text","disabled":""},domProps:{"value":(_vm.password)},on:{"input":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value}}})]),_vm._v(" "),(_vm.personal_commission_mode != 'mode_b')?_c('div',{staticClass:"caipiaoContent"},[_c('h3',[_vm._v("分润设置")]),_vm._v(" "),_vm._l((_vm.rebatedata),function(item,i){return _c('div',{key:i,staticClass:"bar",class:{ refundList: _vm.caipiaoNum == i },on:{"click":function($event){return _vm.toggleCaipiao(i, item.list, item.name)}}},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm._f("fixed")(item.active))+"%")]),_vm._v(" "),_c('i',{staticClass:"ivu-icon ivu-icon-chevron-right"})])}),_vm._v(" "),_c('div',{staticClass:"setRefund",staticStyle:{"top":"26px"}},[_c('div',{staticClass:"setRefund-main",on:{"click":_vm.MaxRefund2}},[_c('div',{staticClass:"refund-row"},[_c('label',[_vm._v("统一设置:")]),_vm._v(" "),_c('img',{staticClass:"leftImg",attrs:{"src":"/static/public/image/userImg/jianshao.png","alt":""},on:{"click":_vm.reduce2}}),_vm._v(" "),_c('img',{staticClass:"rightImg",attrs:{"src":"/static/public/image/userImg/zengjia.png","alt":""},on:{"click":_vm.increase2}})]),_vm._v(" "),_vm._l((_vm.caipiaoList),function(item,i){return _c('div',{key:i,staticClass:"refund-row"},[_c('label',{staticStyle:{"width":"106px"}},[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('Select',{on:{"on-change":_vm.MaxRefund2},model:{value:(item.rebate),callback:function ($$v) {_vm.$set(item, "rebate", $$v)},expression:"item.rebate"}},_vm._l((item.option),function(v){return _c('Option',{key:v.value,attrs:{"value":v.value}},[_vm._v(_vm._s(v.name))])}),1)],1)})],2)])],2):_vm._e(),_vm._v(" "),(_vm.personal_commission_mode != 'mode_b')?_c('div',{staticClass:"refundContent",staticStyle:{"top":"168px"}},[_vm._l((_vm.refundData),function(item,i){return _c('div',{key:i,staticClass:"bar",class:{ refundList: _vm.refundList == i },on:{"click":function($event){return _vm.toggleRefund(i, item.list, item.name)}}},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm._f("fixed")(item.active))+"%")]),_vm._v(" "),_c('i',{staticClass:"ivu-icon ivu-icon-chevron-right"})])}),_vm._v(" "),_c('div',{staticClass:"setRefund"},[_c('div',{staticClass:"setRefund-main",on:{"click":_vm.MaxRefund1}},[_c('div',{staticClass:"refund-row"},[_c('label',[_vm._v("统一设置:")]),_vm._v(" "),_c('img',{staticClass:"leftImg",attrs:{"src":"/static/public/image/userImg/jianshao.png","alt":""},on:{"click":_vm.reduce}}),_vm._v(" "),_c('img',{staticClass:"rightImg",attrs:{"src":"/static/public/image/userImg/zengjia.png","alt":""},on:{"click":_vm.increase}})]),_vm._v(" "),_vm._l((_vm.setRefund),function(item,i){return _c('div',{key:i,staticClass:"refund-row"},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('Select',{on:{"on-change":_vm.MaxRefund1},model:{value:(item.rebate),callback:function ($$v) {_vm.$set(item, "rebate", $$v)},expression:"item.rebate"}},_vm._l((item.option),function(v){return _c('Option',{key:v.value,attrs:{"value":v.value}},[_vm._v(_vm._s(v.name))])}),1)],1)})],2)])],2):_vm._e(),_vm._v(" "),_c('div',{staticClass:"submitPay",class:{ submitPayPerson: _vm.personal_commission_mode == 'mode_b' },on:{"click":_vm.submitOpen}},[_vm._v("\n 确认æ交\n ")])]):_vm._e(),_vm._v(" "),(_vm.spanActive == 1)?_c('div',{staticClass:"content"},[_c('div',{staticClass:"row"},[_c('label',[_vm._v("开户类型")]),_vm._v(" "),_c('div',{class:{ open_type: _vm.open_type == 1 },on:{"click":function($event){return _vm.tochangetype(1)}}},[_vm._v("\n 代ç†\n ")]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.personal_commission_mode != 'mode_a'),expression:"personal_commission_mode != 'mode_a'"}],class:{ open_type: _vm.open_type == 0 },on:{"click":function($event){return _vm.tochangetype(0)}}},[_vm._v("\n 会员\n ")]),_vm._v(" "),_c('div',{staticClass:"view_odds",on:{"click":function($event){return _vm.openodds()}}},[_c('p',[_vm._v("查看彩票返点赔率表")])])]),_vm._v(" "),_c('div',{staticClass:"caipiaoContent"},[_c('h3',[_vm._v("分润设置")]),_vm._v(" "),_vm._l((_vm.rebatedata),function(item,i){return _c('div',{key:i,staticClass:"bar",class:{ refundList: _vm.caipiaoNum == i },on:{"click":function($event){return _vm.toggleCaipiao(i, item.list, item.name)}}},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm._f("fixed")(item.active))+"%")]),_vm._v(" "),_c('i',{staticClass:"ivu-icon ivu-icon-chevron-right"})])}),_vm._v(" "),_c('div',{staticClass:"setRefund",staticStyle:{"top":"26px"}},[_c('div',{staticClass:"setRefund-main",on:{"click":_vm.MaxRefund2}},[_c('div',{staticClass:"refund-row"},[_c('label',[_vm._v("统一设置:")]),_vm._v(" "),_c('img',{staticClass:"leftImg",attrs:{"src":"/static/public/image/userImg/jianshao.png","alt":""},on:{"click":_vm.reduce2}}),_vm._v(" "),_c('img',{staticClass:"rightImg",attrs:{"src":"/static/public/image/userImg/zengjia.png","alt":""},on:{"click":_vm.increase2}})]),_vm._v(" "),_vm._l((_vm.caipiaoList),function(item,i){return _c('div',{key:i,staticClass:"refund-row"},[_c('label',{staticStyle:{"width":"106px"}},[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('Select',{on:{"on-change":_vm.MaxRefund2},model:{value:(item.rebate),callback:function ($$v) {_vm.$set(item, "rebate", $$v)},expression:"item.rebate"}},_vm._l((item.option),function(v){return _c('Option',{key:v.value,attrs:{"value":v.value}},[_vm._v(_vm._s(v.name))])}),1)],1)})],2)])],2),_vm._v(" "),_c('div',{staticClass:"refundContent",staticStyle:{"top":"67px"}},[_vm._l((_vm.refundData),function(item,i){return _c('div',{key:i,staticClass:"bar",class:{ refundList: _vm.refundList == i },on:{"click":function($event){return _vm.toggleRefund(i, item.list, item.name)}}},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm._f("fixed")(item.active))+"%")]),_vm._v(" "),_c('i',{staticClass:"ivu-icon ivu-icon-chevron-right"})])}),_vm._v(" "),_c('div',{staticClass:"setRefund"},[_c('div',{staticClass:"setRefund-main",on:{"click":_vm.MaxRefund1}},[_c('div',{staticClass:"refund-row"},[_c('label',[_vm._v("统一设置:")]),_vm._v(" "),_c('img',{staticClass:"leftImg",attrs:{"src":"/static/public/image/userImg/jianshao.png","alt":""},on:{"click":_vm.reduce}}),_vm._v(" "),_c('img',{staticClass:"rightImg",attrs:{"src":"/static/public/image/userImg/zengjia.png","alt":""},on:{"click":_vm.increase}})]),_vm._v(" "),_vm._l((_vm.setRefund),function(item,i){return _c('div',{key:i,staticClass:"refund-row"},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('Select',{on:{"on-change":_vm.MaxRefund1},model:{value:(item.rebate),callback:function ($$v) {_vm.$set(item, "rebate", $$v)},expression:"item.rebate"}},_vm._l((item.option),function(v){return _c('Option',{key:v.value,attrs:{"value":v.value}},[_vm._v(_vm._s(v.name))])}),1)],1)})],2)])],2),_vm._v(" "),_c('div',{staticClass:"submitPay",staticStyle:{"bottom":"-100px"},on:{"click":_vm.domainAdd}},[_vm._v("\n 确认æ交\n ")])]):_vm._e(),_vm._v(" "),(_vm.spanActive == 2)?_c('div',{staticClass:"content"},[(_vm.personal_commission_mode != 'mode_b')?_c('div',{staticClass:"row"},[_c('label',[_vm._v("开户类型")]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.personal_commission_mode != 'mode_a'),expression:"personal_commission_mode != 'mode_a'"}],class:{ open_type1: _vm.open_type1 == 2 },on:{"click":function($event){return _vm.changeUserType(2)}}},[_vm._v("\n 全部\n ")]),_vm._v(" "),_c('div',{class:{ open_type1: _vm.open_type1 == 1 },style:({ marginLeft: _vm.marginLeft + 'px' }),on:{"click":function($event){return _vm.changeUserType(1)}}},[_vm._v("\n 代ç†\n ")]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.personal_commission_mode != 'mode_a'),expression:"personal_commission_mode != 'mode_a'"}],class:{ open_type1: _vm.open_type1 == 0 },on:{"click":function($event){return _vm.changeUserType(0)}}},[_vm._v("\n 会员\n ")])]):_vm._e(),_vm._v(" "),(_vm.personal_commission_mode == 'mode_b')?_c('div',{staticClass:"row"},[_c('div',{staticClass:"newcode",on:{"click":_vm.domainAdd}},[_vm._v("\n "+_vm._s(_vm.site_model == "invite_code" ? "创建邀请ç " : "创建邀请链接")+"\n ")])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"Management"},[_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}},[_vm._v(">")]),_vm._v(" "),(_vm.total > 0)?_c('Page',{staticClass:"page",attrs:{"size":"small","current":_vm.i,"total":_vm.total,"page-size":8},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1)]):_vm._e(),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({ top: _vm.toastNum + 'px' })},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.pointBall)?_c('div',{staticClass:"point_ball"},[_c('div',{staticClass:"point_table"},[_vm._m(1),_vm._v(" "),_c('div',{staticClass:"vp-admin-wrap-close",on:{"click":function($event){return _vm.close('big')}}},[_vm._m(2)]),_vm._v(" "),_c('div',{staticClass:"point_table_middle"},[_c('dl',[_c('dd',[_c('Cascader',{attrs:{"data":_vm.options},on:{"on-change":_vm.handleChange},model:{value:(_vm.selectedOptions),callback:function ($$v) {_vm.selectedOptions=$$v},expression:"selectedOptions"}})],1),_vm._v(" "),_vm._m(3),_vm._v(" "),_c('dd',[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.dot),expression:"dot"}],staticStyle:{"cursor":"pointer"},attrs:{"type":"number","step":"0.1","name":"points","min":"0.1","max":"100.0","placeholder":"请输入彩ç§å’Œæ¸¸æˆçŽ©æ³•"},domProps:{"value":(_vm.dot)},on:{"input":function($event){if($event.target.composing){ return; }_vm.dot=$event.target.value}}})]),_vm._v(" "),_c('dd',{staticStyle:{"margin-left":"22px"}},[_c('div',{staticClass:"computedBtn",on:{"click":function($event){return _vm.getPlayway()}}},[_c('span',[_vm._v("计算赔率")])])])])]),_vm._v(" "),_c('div',{staticClass:"point_table_footer"},[_c('div',{staticClass:"point_table_form"},[_c('Table',{attrs:{"columns":_vm.columns2,"data":_vm.items,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}},[_vm._v(">")]),_vm._v(" "),(_vm.total > 0)?_c('Page',{staticClass:"page",attrs:{"current":_vm.i,"size":"small","total":_vm.total,"page-size":10},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1)])])]):_vm._e(),_vm._v(" "),(_vm.pointDetails)?_c('div',{staticClass:"point_details"},[_c('div',{staticClass:"point_table"},[_vm._m(4),_vm._v(" "),_c('div',{staticClass:"vp-admin-wrap-close",on:{"click":function($event){return _vm.close('small')}}},[_vm._m(5)]),_vm._v(" "),_c('div',{staticClass:"point_table_content"},[_c('div',{staticClass:"caipiaodetails"},[_vm._l((_vm.caipiaoDetailsList),function(item,i){return _c('div',{key:i,staticClass:"bar",class:{ refundList: _vm.caipiaoNum == i },on:{"click":function($event){return _vm.toggleCaipiao(i, item.list, item.name)}}},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm._f("fixed")(item.active))+"%")]),_vm._v(" "),_c('i',{staticClass:"ivu-icon ivu-icon-chevron-right"})])}),_vm._v(" "),_c('div',{staticClass:"setRefund",staticStyle:{"top":"0x"}},[_c('div',{staticClass:"setRefund-main",on:{"click":function($event){return _vm.MaxRefund2('caipiaoDetailsList')}}},[_vm._m(6),_vm._v(" "),_vm._l((_vm.caipiaoList),function(item,i){return _c('div',{key:i,staticClass:"refund-row"},[_c('label',{staticStyle:{"width":"106px"}},[_vm._v(_vm._s(item.name))]),_vm._v(" "),_c('span',[_vm._v(_vm._s(item.value)+"%")])])})],2)])],2),_vm._v(" "),_c('div',{staticClass:"refunddetails"},[_vm._l((_vm.rebateDetailsList),function(item,i){return _c('div',{key:i,staticClass:"bar",class:{ refundList: _vm.refundList == i },on:{"click":function($event){return _vm.toggleRefund(i, item.list, item.name)}}},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm._f("fixed")(item.active))+"%")]),_vm._v(" "),_c('i',{staticClass:"ivu-icon ivu-icon-chevron-right"})])}),_vm._v(" "),_c('div',{staticClass:"setRefund"},[_c('div',{staticClass:"setRefund-main",on:{"click":function($event){return _vm.MaxRefund2('rebateDetailsList')}}},[_vm._m(7),_vm._v(" "),_vm._l((_vm.setRefund),function(item,i){return _c('div',{key:i,staticClass:"refund-row"},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(item.value)+"%")])])})],2)])],2)])])]):_vm._e()])} var agency_open_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',[_c('span',[_vm._v("下级开户")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"point_table_header"},[_c('p',[_vm._v("彩票返点赔率表")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"vp-admin-wrap-close-empty"},[_c('a')])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dd',{staticStyle:{"margin-left":"26px","margin-right":"10px"}},[_c('p',{staticStyle:{"font-size":"14px"}},[_vm._v("抽å–点数")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"point_table_header"},[_c('p',[_vm._v("详情")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"vp-admin-wrap-close-empty"},[_c('a')])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"refund-row"},[_c('label',[_vm._v("统一设置:")]),_vm._v(" "),_c('img',{staticClass:"leftImg",attrs:{"src":"/static/public/image/userImg/jianshao.png","alt":""}}),_vm._v(" "),_c('img',{staticClass:"rightImg",attrs:{"src":"/static/public/image/userImg/zengjia.png","alt":""}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"refund-row"},[_c('label',[_vm._v("统一设置:")]),_vm._v(" "),_c('img',{staticClass:"leftImg",attrs:{"src":"/static/public/image/userImg/jianshao.png","alt":""}}),_vm._v(" "),_c('img',{staticClass:"rightImg",attrs:{"src":"/static/public/image/userImg/zengjia.png","alt":""}})])}] var agency_open_esExports = { render: agency_open_render, staticRenderFns: agency_open_staticRenderFns } /* harmony default export */ var agency_agency_open = (agency_open_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/agency/agency_open.vue function agency_open_injectStyle (ssrContext) { __webpack_require__("Cr+T") } var agency_open_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var agency_open___vue_template_functional__ = false /* styles */ var agency_open___vue_styles__ = agency_open_injectStyle /* scopeId */ var agency_open___vue_scopeId__ = null /* moduleIdentifier (server only) */ var agency_open___vue_module_identifier__ = null var agency_open_Component = agency_open_normalizeComponent( agency_open, agency_agency_open, agency_open___vue_template_functional__, agency_open___vue_styles__, agency_open___vue_scopeId__, agency_open___vue_module_identifier__ ) /* harmony default export */ var personals_agency_agency_open = (agency_open_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/agency/agency_list.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var agency_list = ({ mixins: [agency_agency], data: function data() { var _this = this; return { // 切æ¢ç”¨æˆ·å¼€æˆ·,生æˆé‚€è¯·é“¾æŽ¥çš„æ ·å¼ personal_commission_mode: localStorage.personal_mode, spanActive: 0, showToast: false, // 精准开户用户å userName: "", // 精准开户默认密ç password: "123456", param: {}, user: "", uid: "", typeList: [{ name: "全部", value: "全部" }, { name: "会员", value: "会员" }, { name: "代ç†", value: "代ç†" }], usertype: "全部", all: true, url: this.$HOST_NAME + "/Agency/createMember", rebatedata: [], toggleTeam: "list", caipiaoNum: 0, reportData: {}, caipiaoList: [], caipiaoName: "", data: [], columns: [{ title: "è´¦å·", key: "userName", align: "center", // width: 144, render: function render(h, params) { return h("div", [h("span", params.row.userName)]); } }, { title: "姓å", key: "Deposit", align: "center", // width: 114, render: function render(h, params) { return h("div", [h("span", params.row.realName == "" ? "æ— " : params.row.realName)]); } }, { title: "用户类型", key: "created_at", align: "center", // width: 84, render: function render(h, params) { return h("div", [h("span", params.row.is_agency == "0" ? "会员" : "代ç†")]); } }, { title: "下级人数", key: "balance", align: "center", // width: 84, cursor: "pointer", render: function render(h, params) { return h("div", [h("span", { style: { cursor: params.row.countuser * 1 > 0 ? "pointer" : "", marginLeft: "4px", width: "26px", height: "11px", fontSize: "14px", fontFamily: "MicrosoftYaHei", fontWeight: "400", color: params.row.countuser * 1 > 0 ? "rgba(255,145,70,1)" : "rgba(85,85,85,1)" }, class: params.row.countuser * 1 > 0 ? 'listShowAA' : '', on: { click: function click() { if (params.row.countuser * 1 > 0 && params.row.is_agency == "1") { _this.firstlevel = false; _this.userName = params.row.userName; _this.uid = params.row.uid; _this.type = params.row.is_agency; _this.hanlderLink(); _this.i = 1; _this.getinformation(); } else {} } } }, [h("span", params.row.countuser)])]); } }, { title: "ä½™é¢", key: "preferential", align: "center", // width: 114, render: function render(h, params) { return h("span", (params.row.balance * 1).toFixed(2)); } }, { title: "注册时间", key: "created_at", align: "center", width: 144, render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.created_at - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "最åŽç™»å½•", key: "balance", align: "center", width: 144, render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.lastTime - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "状æ€", key: "preferential", align: "center", // width: 99, render: function render(h, params) { return h("div", [h("span", params.row.status == "yes" ? "å¯ç”¨" : "ç¦ç”¨")]); } }, { title: "æ“作", key: "balance", align: "center", // width: 101, render: function render(h, params) { return h("div", [h("span", { style: { cursor: "pointer", marginRight: params.row.is_agency == "0" ? _this.personal_commission_mode == 'mode_b' ? "0px" : "12px" : "0px" }, domProps: { title: "修改赔率" }, on: { click: function click() { _this.toggleTeam = "update"; _this.userName = params.row.userName; _this.$store.commit("listUserId", params.row.uid); _this.changeOpenData(params.row); } } }, [h("img", { attrs: { src: "/static/public/image/userImg/edit-btu@3x.png" }, style: { fontSize: "12px", marginRight: "3px", width: "16px", transform: "translateY(20%)" } })]), h("span", { style: { cursor: "pointer", display: params.row.is_agency == "0" && _this.personal_commission_mode != 'mode_b' ? "inline-block" : "none" }, domProps: { title: params.row.is_agency == "0" ? "å‡çº§ä¸ºä»£ç†" : "" }, on: { click: function click() { if (params.row.is_agency == "0") { _this.toggleTeam = "list"; _this.user = params.row.userName; _this.showToast = true; _this.upgrade(params.row.uid); } } } }, [h("img", { attrs: { src: params.row.is_agency == "0" ? "/static/public/image/userImg/shengji-btu@3x.png" : "/static/public/image/userImg/white.png" }, style: { fontSize: "12px", marginRight: "3px", width: "16px", transform: "translateY(20%)" } })])]); } }], i: 1, open_type: 0, total: 0, firstlevel: true, dataLink: [{ uname: "下级列表", uid: this.$store.state.mainState.userinfo.agencyInfo.uid }] }; }, methods: { cancel: function cancel() { this.showToast = false; }, hanlderLink: function hanlderLink() { if (this.userName != this.$store.state.mainState.userinfo.userName) { var newObj = {}; newObj.uname = this.userName; newObj.uid = this.uid; this.dataLink.push(newObj); this.dataShow = true; } }, changeOpenData: function changeOpenData(data) { if (this.dataLink.length >= 2) { this.set_list(data); } this.rebatedata.forEach(function (v) { v.list.forEach(function (element) { element.rebate = (data[element.key] * 1).toFixed(1); }); }); this.refundData.forEach(function (v) { v.list.forEach(function (element) { element.rebate = (data[element.key] * 1).toFixed(1); }); }); this.MaxRefund2(); this.MaxRefund1(); }, hanlderClick: function hanlderClick(e) { for (var i = 0; i < this.dataLink.length; i++) { var obj = this.dataLink[i]; if (e.toElement.firstChild.data == "下级报表") { this.uid = obj.uid; this.dataLink.splice(1); } else if (e.toElement.firstChild.data == obj.uname) { this.uid = obj.uid; this.dataLink.splice(i + 1); } } this.getinformation(); }, set_list: function set_list(data) { var refund = JSON.parse(localStorage.refund); for (var i in refund) { refund[i].list.forEach(function (element) { element.value = data[element.key]; }); } this.getRefundInfo(refund); }, goback: function goback() { this.toggleTeam = "list"; this.i = this.$store.state.personal.pagesizeNum; this.getinformation(); }, hanlderPage: function hanlderPage(i) { this.i = i; this.$store.commit("psNumber", i); this.getinformation(); }, upgrade: function upgrade(uid) { this.$store.commit("userIdbyDetails", uid); }, determine: function determine() { var _this2 = this; this.showToast = false; var uid = this.$store.state.personal.uid; this.$postS('agency/lowerUpStatus', { page: this.i, type: "2", uid: uid * 1, val: "yes" }).then(function (res) { if (res.code == 200) { _this2.$success("å‡çº§ä»£ç†æˆåŠŸ"); var _uid = JSON.parse(localStorage.userinfo).uid; _this2.i = _this2.i; _this2.getinformation(); _this2.$store.commit("loading", false); } else { _this2.$error(res.message); _this2.$store.commit("loading", false); } }); }, submitOpen: function submitOpen() { var _this3 = this; var uid = this.$store.state.personal.list_userid; var rebateData = JSON.parse(JSON.parse(localStorage.userinfo).rebate); this.rebatedata.forEach(function (v) { v.list.forEach(function (a) { rebateData[a.id] = a.rebate; }); }); var json_value = this.productJsonParams().toString(); this.$postS('agency/lowerUpRefund', { page: this.i, uid: uid, json_value: json_value }).then(function (res) { if (res.code == 200) { _this3.$success(res.data); _this3.param = {}; } else { _this3.$error(res.message); } }); }, toggleCaipiao: function toggleCaipiao(i, list, name) { this.caipiaoNum = i; this.caipiaoList = list; this.caipiaoName = name; }, MaxRefund2: function MaxRefund2() { var _this4 = this; var tempList = [].concat(toConsumableArray_default()(this.rebatedata)); this.rebatedata.forEach(function (v, i) { v.active = +v.active; var max = 0; v.list.forEach(function (item) { if (item.rebate > max) max = item.rebate; }); if (max == 0) { v.active = "0.0"; _this4.rebatedata = [].concat(toConsumableArray_default()(tempList)); } else { _this4.$set(v, "active", max); _this4.rebatedata = [].concat(toConsumableArray_default()(tempList)); } }); }, getinformation: function getinformation() { var _this5 = this; this.$store.commit("loading", true); var uname = this.userName || JSON.parse(localStorage.userinfo).userName; var uid = this.uid || JSON.parse(localStorage.userinfo).uid; this.type = 2; switch (this.usertype) { case "全部": this.type = 2; break; case "会员": this.type = 0; break; case "代ç†": this.type = 1; default: break; } this.$postS('agency/lowerList21', { page: this.i, type: this.type, uid: uid, pagesize: "8" }).then(function (res) { if (res.code == 200) { _this5.data = res.data.data; _this5.total = res.data.total; _this5.$store.commit("loading", false); } else { _this5.$store.commit("loading", false); _this5.data = ""; _this5.total = ""; _this5.$error(res.message); } }); this.userName = ""; }, getinformation2: function getinformation2() { var _this6 = this; this.$store.commit("loading", true); this.i = 1; var uname = this.userName || JSON.parse(localStorage.userinfo).userName; var uid = this.uid || JSON.parse(localStorage.userinfo).uid; switch (this.usertype) { case "全部": this.type = 2; break; case "会员": this.type = 0; break; case "代ç†": this.type = 1; default: break; } if (this.userName == JSON.parse(localStorage.userinfo).userName || this.userName == "") { this.dataLink = [{ uname: "下级列表", uid: "" }]; this.uid = JSON.parse(localStorage.userinfo).uid; this.getinformation(); return false; } if (this.userName == JSON.parse(localStorage.userinfo).userName) { this.$success("ä¸å¯ä»¥æœç´¢è‡ªå·±å“¦"); this.$store.commit("loading", false); } else { this.$postS('agency/lowerList21', { page: this.i, type: this.type, uname: uname, pagesize: "8" }).then(function (res) { if (res.code == 200) { _this6.data = res.data.data; _this6.total = res.data.total; _this6.$store.commit("loading", false); } else { _this6.$store.commit("loading", false); _this6.data = ""; _this6.total = ""; _this6.$success("查询的用户ä¸åœ¨å½“å‰ä»£ç†å下"); } }); } } }, filters: { caplitalize: function caplitalize(item) { var arr = []; item.forEach(function (v) { arr.push(parseFloat(v.value)); }); return Math.max.apply(Math, arr); } }, created: function created() { var _this7 = this; if (this.personal_commission_mode == 'mode_b' || this.personal_commission_mode == 'mode_f') { this.columns.pop(); } if (this.personal_commission_mode == 'mode_f') { this.columns.splice(3, 1); } this.$nextTick(function () { _this7.getinformation(); _this7.getRefundInfo(); }); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-cbec36dc","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/agency/agency_list.vue var agency_list_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"apply_list"},[(_vm.firstlevel)?_c('div',{staticClass:"apply_frist"},[(_vm.toggleTeam=='list')?_c('div',{staticClass:"apply_list_content"},[_c('div',{staticClass:"applyList_header"},[_vm._v("下级列表")]),_vm._v(" "),_c('div',{staticClass:"applyList_content"},[_c('div',{staticClass:"content_header"},[_c('div',{staticClass:"agency_userName"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.userName),expression:"userName"}],attrs:{"type":"text","placeholder":"请输入会员账å·"},domProps:{"value":(_vm.userName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.userName=$event.target.value}}})]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.personal_commission_mode!='mode_f'),expression:"personal_commission_mode!='mode_f'"}],staticClass:"agency_typename"},[_c('span',[_vm._v("用户类型")])]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.personal_commission_mode!='mode_f'),expression:"personal_commission_mode!='mode_f'"}],staticClass:"agency_type"},[_c('Select',{model:{value:(_vm.usertype),callback:function ($$v) {_vm.usertype=$$v},expression:"usertype"}},_vm._l((_vm.typeList),function(item,i){return _c('Option',{key:i,attrs:{"value":item.value}},[_vm._v(_vm._s(item.name))])}),1)],1),_vm._v(" "),_c('div',{staticClass:"agency_search"},[_c('div',{staticClass:"searchBtn",on:{"click":_vm.getinformation2}},[_c('span',[_vm._v("æœç´¢")])])])]),_vm._v(" "),_c('div',{staticClass:"content_main"},[_c('div',{staticClass:"listTable"},[_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}},[_vm._v(">")]),_vm._v(" "),(_vm.total>0)?_c('Page',{staticClass:"page",attrs:{"size":"small","current":_vm.i,"total":_vm.total,"page-size":8},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1)])]),_vm._v(" "),(_vm.showToast)?_c('div',{staticClass:"toast"},[_c('div',{staticClass:"top"},[_c('img',{attrs:{"alt":""}}),_vm._v(" "),_c('p',[_vm._v("确认将"+_vm._s(_vm.user)+"å‡çº§ä¸ºä»£ç†")])]),_vm._v(" "),_c('div',{staticClass:"bottom"},[_c('p',{on:{"click":function($event){return _vm.determine()}}},[_vm._v("确定")]),_vm._v(" "),_c('p',{on:{"click":function($event){return _vm.cancel()}}},[_vm._v("å–消")])])]):_vm._e()]):_c('div',{staticClass:"apply_update"},[_c('div',{staticClass:"applyList_header"},[_c('p',[_vm._v(_vm._s(_vm.userName)+"详情")])]),_vm._v(" "),_c('div',{staticClass:"applyList_content"},[_c('div',{staticClass:"caipiaoContent"},[_vm._l((_vm.rebatedata),function(item,i){return _c('div',{key:i,staticClass:"bar",class:{refundList:_vm.caipiaoNum ==i},on:{"click":function($event){return _vm.toggleCaipiao(i,item.list,item.name)}}},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm._f("fixed")(item.active))+"%")]),_vm._v(" "),_c('i',{staticClass:"ivu-icon ivu-icon-chevron-right"})])}),_vm._v(" "),_c('div',{staticClass:"setRefund"},[_c('div',{staticClass:"setRefund-main",on:{"click":_vm.MaxRefund2}},[_c('div',{staticClass:"refund-row"},[_c('label',[_vm._v("统一设置:")]),_vm._v(" "),_c('img',{staticClass:"leftImg",attrs:{"src":"/static/public/image/userImg/jianshao.png","alt":""},on:{"click":function($event){return _vm.reduce2()}}}),_vm._v(" "),_c('img',{staticClass:"rightImg",attrs:{"src":"/static/public/image/userImg/zengjia.png","alt":""},on:{"click":function($event){return _vm.increase2()}}})]),_vm._v(" "),_vm._l((_vm.caipiaoList),function(item,i){return _c('div',{key:i,staticClass:"refund-row"},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('Select',{on:{"on-change":_vm.MaxRefund2},model:{value:(item.rebate),callback:function ($$v) {_vm.$set(item, "rebate", $$v)},expression:"item.rebate"}},_vm._l((item.option),function(v){return _c('Option',{key:v.value,attrs:{"value":v.value}},[_vm._v(_vm._s(v.name))])}),1)],1)})],2)])],2),_vm._v(" "),_c('div',{staticClass:"refundContent"},[_vm._l((_vm.refundData),function(item,i){return _c('div',{key:i,staticClass:"bar",class:{refundList:_vm.refundList ==i},on:{"click":function($event){return _vm.toggleRefund(i,item.list,item.name)}}},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm._f("fixed")(item.active))+"%")]),_vm._v(" "),_c('i',{staticClass:"ivu-icon ivu-icon-chevron-right"})])}),_vm._v(" "),_c('div',{staticClass:"setRefund"},[_c('div',{staticClass:"setRefund-main",on:{"click":_vm.MaxRefund1}},[_c('div',{staticClass:"refund-row"},[_c('label',[_vm._v("统一设置:")]),_vm._v(" "),_c('img',{staticClass:"leftImg",attrs:{"src":"/static/public/image/userImg/jianshao.png","alt":""},on:{"click":function($event){return _vm.reduce()}}}),_vm._v(" "),_c('img',{staticClass:"rightImg",attrs:{"src":"/static/public/image/userImg/zengjia.png","alt":""},on:{"click":function($event){return _vm.increase()}}})]),_vm._v(" "),_vm._l((_vm.setRefund),function(item,i){return _c('div',{key:i,staticClass:"refund-row"},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('Select',{on:{"on-change":_vm.MaxRefund1},model:{value:(item.rebate),callback:function ($$v) {_vm.$set(item, "rebate", $$v)},expression:"item.rebate"}},_vm._l((item.option),function(v){return _c('Option',{key:+v.value,attrs:{"value":v.value}},[_vm._v(_vm._s(v.name))])}),1)],1)})],2)])],2)]),_vm._v(" "),_c('div',{staticClass:"submitPay"},[_c('p',{on:{"click":function($event){return _vm.submitOpen()}}},[_vm._v("确认修改")]),_vm._v(" "),_c('p',{on:{"click":function($event){return _vm.goback()}}},[_vm._v("返回")])])])]):_c('div',{staticClass:"appliy_Subordinate"},[(_vm.toggleTeam=='list')?_c('div',{staticClass:"apply_list_content"},[_c('div',{staticClass:"applyList_header"},_vm._l((_vm.dataLink),function(item,i){return _c('p',{key:i},[(i>0)?_c('label',{directives:[{name:"show",rawName:"v-show",value:(_vm.dataShow),expression:"dataShow"}]},[_vm._v(">")]):_vm._e(),_vm._v(" "),_c('span',{attrs:{"data-getvalue":"item"},on:{"click":_vm.hanlderClick}},[_vm._v(_vm._s(item.uname))])])}),0),_vm._v(" "),_c('div',{staticClass:"applyList_content"},[_c('div',{staticClass:"content_header"},[_c('div',{staticClass:"agency_userName"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.userName),expression:"userName"}],attrs:{"type":"text","placeholder":"请输入会员账å·"},domProps:{"value":(_vm.userName)},on:{"input":function($event){if($event.target.composing){ return; }_vm.userName=$event.target.value}}})]),_vm._v(" "),_vm._m(0),_vm._v(" "),_c('div',{staticClass:"agency_type"},[_c('Select',{model:{value:(_vm.usertype),callback:function ($$v) {_vm.usertype=$$v},expression:"usertype"}},_vm._l((_vm.typeList),function(item,i){return _c('Option',{key:i,attrs:{"value":item.value}},[_vm._v(_vm._s(item.name))])}),1)],1),_vm._v(" "),_c('div',{staticClass:"agency_search"},[_c('div',{staticClass:"searchBtn",on:{"click":_vm.getinformation2}},[_c('span',[_vm._v("æœç´¢")])])])]),_vm._v(" "),_c('div',{staticClass:"content_main"},[_c('div',{staticClass:"listTable"},[_c('Table',{attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}},[_vm._v(">")]),_vm._v(" "),(_vm.total>0)?_c('Page',{staticClass:"page",attrs:{"size":"small","current":_vm.i,"total":_vm.total,"page-size":8},on:{"on-change":_vm.hanlderPage}}):_vm._e()],1),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.data),expression:"!data"}],staticStyle:{"margin":"100px 0"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-data.png","alt":""}})])])]),_vm._v(" "),(_vm.showToast)?_c('div',{staticClass:"toast"},[_c('div',{staticClass:"top"},[_c('img',{attrs:{"alt":""}}),_vm._v(" "),_c('p',[_vm._v("确认将"+_vm._s(_vm.user)+"å‡çº§ä¸ºä»£ç†")])]),_vm._v(" "),_c('div',{staticClass:"bottom"},[_c('p',{on:{"click":function($event){return _vm.determine()}}},[_vm._v("确定")]),_vm._v(" "),_c('p',{on:{"click":function($event){return _vm.cancel()}}},[_vm._v("å–消")])])]):_vm._e()]):_c('div',{staticClass:"apply_update"},[_c('div',{staticClass:"applyList_header"},[_c('p',[_vm._v(_vm._s(_vm.userName)+"详情")])]),_vm._v(" "),_c('div',{staticClass:"applyList_content"},[_c('div',{staticClass:"caipiaodetails"},[_vm._l((_vm.rebatedata),function(item,i){return _c('div',{key:i,staticClass:"bar",class:{refundList:_vm.caipiaoNum ==i},on:{"click":function($event){return _vm.toggleCaipiao(i,item.list,item.name)}}},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm._f("fixed")(item.active))+"%")]),_vm._v(" "),_c('i',{staticClass:"ivu-icon ivu-icon-chevron-right"})])}),_vm._v(" "),_c('div',{staticClass:"setRefund",staticStyle:{"top":"0x"}},[_c('div',{staticClass:"setRefund-main",on:{"click":_vm.MaxRefund2}},[_c('div',{staticClass:"refund-row"},[_c('label',[_vm._v("统一设置:")]),_vm._v(" "),_c('img',{staticClass:"leftImg",attrs:{"src":"/static/public/image/userImg/jianshao.png","alt":""},on:{"click":function($event){return _vm.reduce2()}}}),_vm._v(" "),_c('img',{staticClass:"rightImg",attrs:{"src":"/static/public/image/userImg/zengjia.png","alt":""},on:{"click":function($event){return _vm.increase2()}}})]),_vm._v(" "),_vm._l((_vm.caipiaoList),function(item,i){return _c('div',{key:i,staticClass:"refund-row"},[_c('label',[_vm._v(_vm._s(item.name))]),_vm._v(" "),_c('Select',{on:{"on-change":_vm.MaxRefund2},model:{value:(item.rebate),callback:function ($$v) {_vm.$set(item, "rebate", $$v)},expression:"item.rebate"}},_vm._l((item.option),function(v){return _c('Option',{key:v.value,attrs:{"value":v.value}},[_vm._v(_vm._s(v.name))])}),1)],1)})],2)])],2),_vm._v(" "),_c('div',{staticClass:"refundContent"},[_vm._l((_vm.refundData),function(item,i){return _c('div',{key:i,staticClass:"bar",class:{refundList:_vm.refundList ==i},on:{"click":function($event){return _vm.toggleRefund(i,item.list,item.name)}}},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(item.active)+"%")]),_vm._v(" "),_c('i',{staticClass:"ivu-icon iactivevu-icon-chevron-right"})])}),_vm._v(" "),_c('div',{staticClass:"setRefund"},[_c('div',{staticClass:"setRefund-main",on:{"click":_vm.MaxRefund1}},[_c('div',{staticClass:"refund-row"},[_c('label',[_vm._v("统一设置:")]),_vm._v(" "),_c('img',{staticClass:"leftImg",attrs:{"src":"/static/public/image/userImg/jianshao.png","alt":""},on:{"click":function($event){return _vm.reduce()}}}),_vm._v(" "),_c('img',{staticClass:"rightImg",attrs:{"src":"/static/public/image/userImg/zengjia.png","alt":""},on:{"click":function($event){return _vm.increase()}}})]),_vm._v(" "),_vm._l((_vm.setRefund),function(item,i){return _c('div',{key:i,staticClass:"refund-row"},[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('Select',{on:{"on-change":_vm.MaxRefund1},model:{value:(item.rebate),callback:function ($$v) {_vm.$set(item, "rebate", $$v)},expression:"item.rebate"}},_vm._l((item.option),function(v){return _c('Option',{key:+v.value,attrs:{"value":v.value}},[_vm._v(_vm._s(v.name))])}),1)],1)})],2)])],2)]),_vm._v(" "),_c('div',{staticClass:"submitPay"},[_c('p',{on:{"click":function($event){return _vm.submitOpen()}}},[_vm._v("确认修改")]),_vm._v(" "),_c('p',{on:{"click":function($event){return _vm.goback()}}},[_vm._v("返回")])])])])])} var agency_list_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"agency_typename"},[_c('span',[_vm._v("用户类型")])])}] var agency_list_esExports = { render: agency_list_render, staticRenderFns: agency_list_staticRenderFns } /* harmony default export */ var agency_agency_list = (agency_list_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/agency/agency_list.vue function agency_list_injectStyle (ssrContext) { __webpack_require__("3qyc") } var agency_list_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var agency_list___vue_template_functional__ = false /* styles */ var agency_list___vue_styles__ = agency_list_injectStyle /* scopeId */ var agency_list___vue_scopeId__ = null /* moduleIdentifier (server only) */ var agency_list___vue_module_identifier__ = null var agency_list_Component = agency_list_normalizeComponent( agency_list, agency_agency_list, agency_list___vue_template_functional__, agency_list___vue_styles__, agency_list___vue_scopeId__, agency_list___vue_module_identifier__ ) /* harmony default export */ var personals_agency_agency_list = (agency_list_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/agency/agency_nextfinance.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var agency_nextfinance = ({ data: function data() { var _this = this; return { day: "1", timeStart: "", timeEnd: "", data: [], spanActive: 1, username: "", titleType: 1, total: 0, i: 1, financeShow: false, totposit: 0, titleTypeList: [{ name: "å˜æ¬¾", type: 1, status: [{ selectName: "全部", selectStatus: 0 }, { selectName: "æˆåŠŸ", selectStatus: 1 }, { selectName: "失败", selectStatus: 2 }, { selectName: "å®¡æ ¸ä¸", selectStatus: 3 }, { selectName: "待支付", selectStatus: 4 }], columns: [{ title: "è´¦å·", key: "username", align: "center" }, { title: "å˜æ¬¾æ–¹å¼", key: "subType", align: "center" }, { title: "å˜æ¬¾æ—¶é—´", key: "time", align: "center", render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.time - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "å˜æ¬¾é‡‘é¢", key: "amount", align: "center", render: function render(h, params) { return h("span", (params.row.amount * 1).toFixed(2)); } }, { title: "状æ€", key: "status", align: "center", render: function render(h, params) { return h("div", [h("span", params.row.status == "success" ? "æˆåŠŸ" : params.row.status == "fail" ? "失败" : params.row.status == "wait" ? "å®¡æ ¸ä¸" : "待支付")]); } }] }, { name: "å–款", type: 2, status: [{ selectName: "全部", selectStatus: 0 }, { selectName: "æˆåŠŸ", selectStatus: 1 }, { selectName: "失败", selectStatus: 2 }, { selectName: "å®¡æ ¸ä¸", selectStatus: 3 }, { selectName: "处ç†ä¸", selectStatus: 4 }], columns: [{ title: "è´¦å·", key: "username", align: "center" }, { title: "å–款银行", key: "bankName", align: "center" }, { title: "银行å¡å·", key: "bankId", align: "center" }, { title: "姓å", key: "bankAccountName", align: "center" }, { title: "å–款时间", key: "time", align: "center", render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.time - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "å–款金é¢", key: "amount", align: "center", render: function render(h, params) { return h("span", (params.row.amount * 1).toFixed(2)); } }, { title: "状æ€", key: "status", align: "center", render: function render(h, params) { return h("div", [h("span", params.row.status == "success" ? "æˆåŠŸ" : params.row.status == "fail" ? "失败" : params.row.status == "wait" ? "å®¡æ ¸ä¸" : "系统处ç†ä¸")]); } }] }, { name: "返水", type: 3, status: [{ selectName: "全部", selectStatus: 0 }, { selectName: "æˆåŠŸ", selectStatus: 1 }, { selectName: "失败", selectStatus: 2 }, { selectName: "å®¡æ ¸ä¸", selectStatus: 3 }, { selectName: "待返水", selectStatus: 4 }], columns: [{ title: "è´¦å·", key: "userName", align: "center" }, { title: "返点金é¢", key: "amount", align: "center", render: function render(h, params) { return h("span", (params.row.amount * 1).toFixed(2)); } }, { title: "状æ€", key: "status", align: "center", render: function render(h, params) { return h("div", [h("span", params.row.status == "success" ? "æˆåŠŸ" : params.row.status == "fail" ? "失败" : params.row.status == "wait" ? "å®¡æ ¸ä¸" : "æˆåŠŸ")]); } }] }, { name: "ä¼˜æƒ ", type: 4, status: [{ selectName: "全部", selectStatus: 0 }, { selectName: "æˆåŠŸ", selectStatus: 1 }, { selectName: "失败", selectStatus: 2 }, { selectName: "å®¡æ ¸ä¸", selectStatus: 3 }], columns: [{ title: "è´¦å·", key: "userName", align: "center" }, { title: "ä¼˜æƒ ç±»åž‹", key: "title", align: "center" }, { title: "领å–时间", key: "created_at", align: "center", render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.created_at - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "金é¢", key: "bouns", align: "center", render: function render(h, params) { return h("span", (params.row.bouns * 1).toFixed(2)); } }, { title: "状æ€", key: "status", align: "center", render: function render(h, params) { return h("div", [h("span", params.row.status == "success" ? "æˆåŠŸ" : params.row.status == "fail" ? "失败" : "å®¡æ ¸ä¸")]); } }] }], searchStstus: 0, spanlist: ["总å˜æ¬¾", "总å–款", "总返点", "æ€»ä¼˜æƒ "], spanitem: "总å˜æ¬¾", searchStstusList: [{ selectName: "全部", selectStatus: 0 }, { selectName: "æˆåŠŸ", selectStatus: 1 }, { selectName: "失败", selectStatus: 2 }, { selectName: "å®¡æ ¸ä¸", selectStatus: 3 }, { selectName: "待支付", selectStatus: 4 }], column: [{ title: "è´¦å·", key: "username", align: "center" }, { title: "å˜æ¬¾æ–¹å¼", key: "subType", align: "center" }, { title: "å˜æ¬¾æ—¶é—´", key: "time", align: "center", render: function render(h, params) { return h("div", [h("span", _this.$moment.unix(params.row.time - 0).format("YYYY-MM-DD HH:mm:ss"))]); } }, { title: "å˜æ¬¾é‡‘é¢", key: "amount", align: "center", render: function render(h, params) { return h("span", (params.row.amount * 1).toFixed(2)); } }, { title: "状æ€", key: "status", align: "center", render: function render(h, params) { return h("div", [h("span", params.row.status == "success" ? "æˆåŠŸ" : params.row.status == "fail" ? "失败" : params.row.status == "wait" ? "å®¡æ ¸ä¸" : "待支付")]); } }] }; }, methods: { getfinance: function getfinance() { var _this2 = this; this.$store.commit("loading", true); this.$postS('agency/lowerFinance21', { page: this.i, st: this.timeStart || this.getYMD(new Date()), et: this.timeEnd || this.getYMD(new Date()), pagesize: "9", type: this.titleType, uname: this.username, status: this.searchStstus }).then(function (res) { if (res.code == 200 && res.data.data) { _this2.data = res.data.data; _this2.total = res.data.total; if (_this2.titleType == 1) { _this2.totposit = 0; _this2.data.forEach(function (item) { if (item.status == "success") { _this2.totposit += item.amount * 1; } }); } else if (_this2.titleType == 2) { _this2.totposit = 0; _this2.data.forEach(function (item) { if (item.status == "success") { _this2.totposit += item.amount * 1; } }); } else if (_this2.titleType == 3) { _this2.totposit = 0; _this2.data.forEach(function (item) { _this2.totposit += item.amount * 1; }); } else { _this2.totposit = 0; _this2.data.forEach(function (item) { if (item.status == "success") { _this2.totposit += item.bouns * 1; } }); } _this2.$store.commit("loading", false); } else if (res.code == 200 && res.data.length == 0) { _this2.$error('您没有下级代ç†'); _this2.$store.commit("loading", false); } else { _this2.$error(res.message); _this2.$store.commit("loading", false); } }); }, hanlderTime: function hanlderTime(date) { this.timeStart = date[0]; this.timeEnd = date[1]; this.getfinance(); }, hanlderRadio: function hanlderRadio(val) { if (val == 1) { this.timeStart = this.getYMD(new Date()); this.timeEnd = this.getYMD(new Date()); } else if (val == 2) { this.timeStart = this.getYMD(new Date() - 1000 * 60 * 60 * 24); this.timeEnd = this.getYMD(new Date() - 1000 * 60 * 60 * 24); } else { this.timeStart = this.getYMD(new Date() - 1000 * 60 * 60 * 24 * 6); this.timeEnd = this.getYMD(new Date()); } this.i = 1; this.getfinance(); }, hanlderPage: function hanlderPage(i) { this.i = i; this.getfinance(); }, searchBtn: function searchBtn() { if (this.username == this.$store.state.mainState.userinfo.userName) { this.$error("ä¸å¯æŸ¥è¯¢è‡ªå·±å“¦"); return false; } this.getfinance(); }, gettype: function gettype(itemtype) { this.titleType = itemtype; this.getfinance(); }, gonext: function gonext() { this.titleType = 1; this.searchStstus = 0; this.username = ''; this.hanlderRadio(1); this.day = '1'; this.getfinance(); } }, created: function created() { var _this3 = this; this.getfinance(); setInterval(function () { _this3.financeShow = true; }, 500); }, watch: { titleType: function titleType(newValue, oldValue) { var _this4 = this; this.searchStstusList = null; this.column = null; this.titleTypeList.forEach(function (v, i) { if (_this4.titleType == parseInt(i + 1)) { _this4.searchStstusList = _this4.titleTypeList[i].status; _this4.column = _this4.titleTypeList[i].columns; _this4.spanitem = _this4.spanlist[i]; } }); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-60f92c00","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/agency/agency_nextfinance.vue var agency_nextfinance_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"next"},[_c('div',{staticClass:"next-content"},[_c('div',{staticClass:"header"},[_c('ul',[_c('li',[_c('span',{staticStyle:{"cursor":"pointer"},on:{"click":_vm.gonext}},[_vm._v("下级财务")])]),_vm._v(" "),_vm._l((_vm.titleTypeList),function(item,index){return _c('li',{key:index,staticClass:"aisle"},[_c('span',{class:{spanActive:_vm.titleType ==item.type},on:{"click":function($event){return _vm.gettype(item.type)}}},[_vm._v(_vm._s(item.name))])])})],2)]),_vm._v(" "),_c('div',{staticClass:"search"},[_c('div',{staticClass:"search-input"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.username),expression:"username"}],attrs:{"type":"text","placeholder":"请输入账å·"},domProps:{"value":(_vm.username)},on:{"input":function($event){if($event.target.composing){ return; }_vm.username=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"status"},[_c('label',[_vm._v("状æ€")]),_vm._v(" "),_c('Select',{staticClass:"status-select",model:{value:(_vm.searchStstus),callback:function ($$v) {_vm.searchStstus=$$v},expression:"searchStstus"}},_vm._l((_vm.searchStstusList),function(item_a,i){return _c('Option',{key:i,attrs:{"value":item_a.selectStatus}},[_vm._v(_vm._s(item_a.selectName))])}),1)],1),_vm._v(" "),_c('div',{staticClass:"searchBtn",on:{"click":_vm.searchBtn}},[_vm._v("æœç´¢")]),_vm._v(" "),_c('RadioGroup',{on:{"on-change":_vm.hanlderRadio},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:"day"}},[_c('Radio',{attrs:{"label":"1"}},[_c('span',{staticClass:"radio-span"},[_vm._v("今日")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"2"}},[_c('span',{staticClass:"radio-span"},[_vm._v("昨天")])]),_vm._v(" "),_c('Radio',{attrs:{"label":"3"}},[_c('span',{staticClass:"radio-span"},[_vm._v("最近七天")])])],1),_vm._v(" "),_c('DatePicker',{staticStyle:{"width":"236px","margin-left":"25px"},attrs:{"placeholder":"选择时间","type":"daterange","placement":"bottom-end"},on:{"on-change":_vm.hanlderTime}})],1),_vm._v(" "),_c('Table',{attrs:{"columns":_vm.column,"data":_vm.data,"no-data-text":"<div style='margin:30px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),(_vm.total>0)?_c('Page',{staticClass:"page",attrs:{"size":"small","total":_vm.total,"page-size":9},on:{"on-change":_vm.hanlderPage}}):_vm._e(),_vm._v(" "),(_vm.data.length)?_c('div',{staticClass:"tot-income"},[_c('span',[_vm._v(_vm._s(_vm.spanitem)+":")]),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.totposit.toFixed(2)))])]):_vm._e()],1)])} var agency_nextfinance_staticRenderFns = [] var agency_nextfinance_esExports = { render: agency_nextfinance_render, staticRenderFns: agency_nextfinance_staticRenderFns } /* harmony default export */ var agency_agency_nextfinance = (agency_nextfinance_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/agency/agency_nextfinance.vue function agency_nextfinance_injectStyle (ssrContext) { __webpack_require__("PgCK") } var agency_nextfinance_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var agency_nextfinance___vue_template_functional__ = false /* styles */ var agency_nextfinance___vue_styles__ = agency_nextfinance_injectStyle /* scopeId */ var agency_nextfinance___vue_scopeId__ = "data-v-60f92c00" /* moduleIdentifier (server only) */ var agency_nextfinance___vue_module_identifier__ = null var agency_nextfinance_Component = agency_nextfinance_normalizeComponent( agency_nextfinance, agency_agency_nextfinance, agency_nextfinance___vue_template_functional__, agency_nextfinance___vue_styles__, agency_nextfinance___vue_scopeId__, agency_nextfinance___vue_module_identifier__ ) /* harmony default export */ var personals_agency_agency_nextfinance = (agency_nextfinance_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/message/preferential.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // function getMyDay(date) { var week; if (date == 1) week = "周一"; if (date == 2) week = "周二"; if (date == 3) week = "周三"; if (date == 4) week = "周四"; if (date == 5) week = "周五"; if (date == 6) week = "周å…"; if (date == 0) week = "周日"; return week; } /* harmony default export */ var preferential = ({ data: function data() { return { messageData: [], contentActive: 0, messageDetail: {}, total: "", i: 1 }; }, methods: { getmessage: function getmessage() { var _this = this; this.$store.commit("loading", true); this.$http.post(this.$HOST_NAME + "/member/message", { page: this.i, limit: 5 }).then(function (res) { if (res.code == 200) { _this.$store.commit("loading", false); if (res.data.data.length > 0) { res.data.data && res.data.data.forEach(function (v) { v.updated_at = v.send_time; v.day = getMyDay(_this.$moment.unix(v.send_time - 0).format("d")); v.send_time = _this.$moment.unix(v.send_time - 0).format("MM-DD"); }); _this.messageData = res.data.data; _this.total = res.data.total; _this.messageDetail = res.data.data[0]; if (_this.messageDetail.status == "no") { _this.updateSyMsg(_this.messageDetail.id); } _this.messageData[0].status = "yes"; } } }); }, getUserMsg: function getUserMsg() { var _this2 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var res; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.next = 2; return Object(public_service["b" /* getS */])("/member/messageNoticeCount"); case 2: res = _context.sent; if (res && res.data && res.code == 200) { _this2.$store.commit("mainState/getMessage", res.data); } case 4: case "end": return _context.stop(); } } }, _callee, _this2); }))(); }, //用æ¥æ”¹å˜æœªè¯»æ¶ˆæ¯çš„çŠ¶æ€ updateSyMsg: function updateSyMsg(id) { var _this3 = this; this.$postS("member/messageDetail", { id: id }).then(function (res) { if (res && res.code == 200) { _this3.getUserMsg(); } }); }, toggle: function toggle(i, item) { var _this4 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee2() { return regenerator_default.a.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: _this4.contentActive = i; _this4.messageDetail = item; if (item.status == "no") { _this4.messageData[i].status = "yes"; _this4.updateSyMsg(item.id); } case 3: case "end": return _context2.stop(); } } }, _callee2, _this4); }))(); }, hanlderPage: function hanlderPage(i) { this.i = i; this.getmessage(); } }, created: function created() { var _this5 = this; this.$nextTick(function () { _this5.getmessage(); }); }, destroyed: function destroyed() { this.$store.commit("loading", false); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-11b122e4","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/message/preferential.vue var preferential_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"preferential"},[_c('div',{staticClass:"header"},[_vm._v("\n 系统信æ¯\n ")]),_vm._v(" "),(_vm.messageData.length)?_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"left fl"},[_c('div',{staticClass:"left-time"}),_vm._v(" "),_vm._l((_vm.messageData),function(item,i){return _c('div',{key:i,staticClass:"row clearfloat",on:{"click":function($event){return _vm.toggle(i,item)}}},[_c('div',{staticClass:"time fl"},[_c('p',[_vm._v(_vm._s(item.send_time))]),_vm._v(" "),_c('p',[_vm._v(_vm._s(item.day))])]),_vm._v(" "),_c('span',{staticClass:"round"}),_vm._v(" "),_c('span',{staticClass:"system"},[_vm._v("\n 系统\n "),(item.status=='no')?_c('span',{staticClass:"systemmessage"},[_vm._v("1")]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"content fr",class:{contentActive:_vm.contentActive ==i}},[_c('div',{staticClass:"title"},[_vm._v(_vm._s(item.title))]),_vm._v(" "),_c('div',{staticClass:"main",domProps:{"innerHTML":_vm._s(item.content)}})])])}),_vm._v(" "),_c('div',{staticClass:"page"},[_c('Page',{attrs:{"current":_vm.i,"total":_vm.total,"size":"small","page-size":5,"styles":{fontSize:'14px'}},on:{"on-change":_vm.hanlderPage}})],1)],2),_vm._v(" "),_c('div',{staticClass:"right fl"},[_c('div',{staticClass:"title"},[_vm._v("\n "+_vm._s(_vm.messageDetail.title)+"\n ")]),_vm._v(" "),_c('div',{staticClass:"times"},[_vm._v("\n "+_vm._s(this.$moment.unix(_vm.messageDetail.updated_at-0).format('YYYY-MM-DD HH:mm:ss'))+"\n ")]),_vm._v(" "),_c('div',{staticClass:"content",domProps:{"innerHTML":_vm._s(_vm.messageDetail.content)}})])]):_c('div',{staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-message.png","alt":""}})])])} var preferential_staticRenderFns = [] var preferential_esExports = { render: preferential_render, staticRenderFns: preferential_staticRenderFns } /* harmony default export */ var message_preferential = (preferential_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/message/preferential.vue function preferential_injectStyle (ssrContext) { __webpack_require__("7CSh") } var preferential_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var preferential___vue_template_functional__ = false /* styles */ var preferential___vue_styles__ = preferential_injectStyle /* scopeId */ var preferential___vue_scopeId__ = "data-v-11b122e4" /* moduleIdentifier (server only) */ var preferential___vue_module_identifier__ = null var preferential_Component = preferential_normalizeComponent( preferential, message_preferential, preferential___vue_template_functional__, preferential___vue_styles__, preferential___vue_scopeId__, preferential___vue_module_identifier__ ) /* harmony default export */ var personals_message_preferential = (preferential_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/message/write.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // import store from "@/vuex/store"; /* harmony default export */ var write = ({ data: function data() { return { title: '', content: '', toastShow: false, toastNum: 86, toastText: '' }; }, methods: { messageSubmit: function messageSubmit() { var _this = this; if (!this.title) { this.toastText = 'è¯·è¾“å…¥æ ‡é¢˜'; this.toastNum = 86; this.toastShow = true; return false; } if (!this.content) { this.toastText = '请输入内容'; this.toastNum = 145; this.toastShow = true; return false; } this.toastShow = false; this.$http.post(this.$HOST_NAME + '/member/messageSubmit', { title: this.title, content: this.content }).then(function (res) { if (res.code == 200) { _this.$success(res.data); _this.title = ''; _this.content = ''; } else { _this.$error(res.message); } }); } }, mounted: function mounted() {} // store }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-c1993abc","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/message/write.vue var write_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"write"},[_c('div',{staticClass:"header"},[_vm._v("\n 投诉建议\n ")]),_vm._v(" "),_c('div',{staticClass:"content"},[_c('div',{staticClass:"row"},[_c('label',[_vm._v("æ ‡é¢˜ï¼š")]),_vm._v(" "),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.title),expression:"title"}],attrs:{"type":"text"},domProps:{"value":(_vm.title)},on:{"input":function($event){if($event.target.composing){ return; }_vm.title=$event.target.value}}})]),_vm._v(" "),_c('div',{staticClass:"bar"},[_c('label',[_vm._v("内容:")]),_vm._v(" "),_c('textarea',{directives:[{name:"model",rawName:"v-model",value:(_vm.content),expression:"content"}],domProps:{"value":(_vm.content)},on:{"input":function($event){if($event.target.composing){ return; }_vm.content=$event.target.value}}})])]),_vm._v(" "),_c('div',{staticClass:"submit",on:{"click":_vm.messageSubmit}},[_vm._v("确认æ交")]),_vm._v(" "),(_vm.toastShow)?_c('div',{staticClass:"toast",style:({top:_vm.toastNum+'px'})},[_vm._v("\n "+_vm._s(_vm.toastText)+"\n ")]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"remark"},[_vm._v("备注:站内信是为方便会员的æœåŠ¡åŠŸèƒ½ï¼Œç±»ä¼¼äºŽé‚®ç®±ï¼Œä¸»è¦ç”±æ”¶ä»¶ç®±ã€å‘件箱组æˆï¼Œä½†è¯¥åŠŸèƒ½ä»…对网站的注册会员开放。 会员å¯å¯¹ç®¡ç†å‘˜å‘é€ç«™å†…ä¿¡æ¯å¾—到帮助\n ")])])} var write_staticRenderFns = [] var write_esExports = { render: write_render, staticRenderFns: write_staticRenderFns } /* harmony default export */ var message_write = (write_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/message/write.vue function write_injectStyle (ssrContext) { __webpack_require__("3z/6") } var write_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var write___vue_template_functional__ = false /* styles */ var write___vue_styles__ = write_injectStyle /* scopeId */ var write___vue_scopeId__ = "data-v-c1993abc" /* moduleIdentifier (server only) */ var write___vue_module_identifier__ = null var write_Component = write_normalizeComponent( write, message_write, write___vue_template_functional__, write___vue_styles__, write___vue_scopeId__, write___vue_module_identifier__ ) /* harmony default export */ var personals_message_write = (write_Component.exports); // CONCATENATED MODULE: ./node_modules/tslib/tslib.es6.js /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ /* global Reflect, Promise */ var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; function __extends(d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); } var __assign = function() { __assign = Object.assign || function __assign(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; } return __assign.apply(this, arguments); } function __rest(s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; } return t; } function __decorate(decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; } function __param(paramIndex, decorator) { return function (target, key) { decorator(target, key, paramIndex); } } function __metadata(metadataKey, metadataValue) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); } function __awaiter(thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); } function __generator(thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); while (_) try { if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; if (y = 0, t) op = [op[0] & 2, t.value]; switch (op[0]) { case 0: case 1: t = op; break; case 4: _.label++; return { value: op[1], done: false }; case 5: _.label++; y = op[1]; op = [0]; continue; case 7: op = _.ops.pop(); _.trys.pop(); continue; default: if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } if (t[2]) _.ops.pop(); _.trys.pop(); continue; } op = body.call(thisArg, _); } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } } function __createBinding(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; } function __exportStar(m, exports) { for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; } function __values(o) { var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; if (m) return m.call(o); if (o && typeof o.length === "number") return { next: function () { if (o && i >= o.length) o = void 0; return { value: o && o[i++], done: !o }; } }; throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); } function __read(o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; var i = m.call(o), r, ar = [], e; try { while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); } catch (error) { e = { error: error }; } finally { try { if (r && !r.done && (m = i["return"])) m.call(i); } finally { if (e) throw e.error; } } return ar; } function __spread() { for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); return ar; } function __spreadArrays() { for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j]; return r; }; function __await(v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } function __asyncGenerator(thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } function fulfill(value) { resume("next", value); } function reject(value) { resume("throw", value); } function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } } function __asyncDelegator(o) { var i, p; return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } } function __asyncValues(o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } } function __makeTemplateObject(cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; }; function __importStar(mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result.default = mod; return result; } function __importDefault(mod) { return (mod && mod.__esModule) ? mod : { default: mod }; } function __classPrivateFieldGet(receiver, privateMap) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return privateMap.get(receiver); } function __classPrivateFieldSet(receiver, privateMap, value) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to set private field on non-instance"); } privateMap.set(receiver, value); return value; } // EXTERNAL MODULE: ./node_modules/smooth-scrollbar/node_modules/core-js/es/map/index.js var map = __webpack_require__("JqWa"); var map_default = /*#__PURE__*/__webpack_require__.n(map); // EXTERNAL MODULE: ./node_modules/smooth-scrollbar/node_modules/core-js/es/set/index.js var set = __webpack_require__("72vt"); var set_default = /*#__PURE__*/__webpack_require__.n(set); // EXTERNAL MODULE: ./node_modules/smooth-scrollbar/node_modules/core-js/es/weak-map/index.js var weak_map = __webpack_require__("qW/n"); var weak_map_default = /*#__PURE__*/__webpack_require__.n(weak_map); // EXTERNAL MODULE: ./node_modules/smooth-scrollbar/node_modules/core-js/es/array/from.js var from = __webpack_require__("KPCb"); var from_default = /*#__PURE__*/__webpack_require__.n(from); // EXTERNAL MODULE: ./node_modules/smooth-scrollbar/node_modules/core-js/es/object/assign.js var es_object_assign = __webpack_require__("/1Aw"); var object_assign_default = /*#__PURE__*/__webpack_require__.n(es_object_assign); // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/polyfills.js //# sourceMappingURL=polyfills.js.map // CONCATENATED MODULE: ./node_modules/lodash-es/_baseClamp.js /** * The base implementation of `_.clamp` which doesn't coerce arguments. * * @private * @param {number} number The number to clamp. * @param {number} [lower] The lower bound. * @param {number} upper The upper bound. * @returns {number} Returns the clamped number. */ function baseClamp(number, lower, upper) { if (number === number) { if (upper !== undefined) { number = number <= upper ? number : upper; } if (lower !== undefined) { number = number >= lower ? number : lower; } } return number; } /* harmony default export */ var _baseClamp = (baseClamp); // CONCATENATED MODULE: ./node_modules/lodash-es/_trimmedEndIndex.js /** Used to match a single whitespace character. */ var reWhitespace = /\s/; /** * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace * character of `string`. * * @private * @param {string} string The string to inspect. * @returns {number} Returns the index of the last non-whitespace character. */ function trimmedEndIndex(string) { var index = string.length; while (index-- && reWhitespace.test(string.charAt(index))) {} return index; } /* harmony default export */ var _trimmedEndIndex = (trimmedEndIndex); // CONCATENATED MODULE: ./node_modules/lodash-es/_baseTrim.js /** Used to match leading whitespace. */ var reTrimStart = /^\s+/; /** * The base implementation of `_.trim`. * * @private * @param {string} string The string to trim. * @returns {string} Returns the trimmed string. */ function baseTrim(string) { return string ? string.slice(0, _trimmedEndIndex(string) + 1).replace(reTrimStart, '') : string; } /* harmony default export */ var _baseTrim = (baseTrim); // CONCATENATED MODULE: ./node_modules/lodash-es/isObject.js /** * Checks if `value` is the * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) * * @static * @memberOf _ * @since 0.1.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is an object, else `false`. * @example * * _.isObject({}); * // => true * * _.isObject([1, 2, 3]); * // => true * * _.isObject(_.noop); * // => true * * _.isObject(null); * // => false */ function isObject(value) { var type = typeof value; return value != null && (type == 'object' || type == 'function'); } /* harmony default export */ var lodash_es_isObject = (isObject); // EXTERNAL MODULE: ./node_modules/lodash-es/_freeGlobal.js var _freeGlobal = __webpack_require__("nSxQ"); // CONCATENATED MODULE: ./node_modules/lodash-es/_root.js /** Detect free variable `self`. */ var freeSelf = typeof self == 'object' && self && self.Object === Object && self; /** Used as a reference to the global object. */ var root = _freeGlobal["a" /* default */] || freeSelf || Function('return this')(); /* harmony default export */ var _root = (root); // CONCATENATED MODULE: ./node_modules/lodash-es/_Symbol.js /** Built-in value references. */ var _Symbol_Symbol = _root.Symbol; /* harmony default export */ var _Symbol = (_Symbol_Symbol); // CONCATENATED MODULE: ./node_modules/lodash-es/_getRawTag.js /** Used for built-in method references. */ var objectProto = Object.prototype; /** Used to check objects for own properties. */ var _getRawTag_hasOwnProperty = objectProto.hasOwnProperty; /** * Used to resolve the * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) * of values. */ var nativeObjectToString = objectProto.toString; /** Built-in value references. */ var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined; /** * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. * * @private * @param {*} value The value to query. * @returns {string} Returns the raw `toStringTag`. */ function getRawTag(value) { var isOwn = _getRawTag_hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag]; try { value[symToStringTag] = undefined; var unmasked = true; } catch (e) {} var result = nativeObjectToString.call(value); if (unmasked) { if (isOwn) { value[symToStringTag] = tag; } else { delete value[symToStringTag]; } } return result; } /* harmony default export */ var _getRawTag = (getRawTag); // CONCATENATED MODULE: ./node_modules/lodash-es/_objectToString.js /** Used for built-in method references. */ var _objectToString_objectProto = Object.prototype; /** * Used to resolve the * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) * of values. */ var _objectToString_nativeObjectToString = _objectToString_objectProto.toString; /** * Converts `value` to a string using `Object.prototype.toString`. * * @private * @param {*} value The value to convert. * @returns {string} Returns the converted string. */ function objectToString(value) { return _objectToString_nativeObjectToString.call(value); } /* harmony default export */ var _objectToString = (objectToString); // CONCATENATED MODULE: ./node_modules/lodash-es/_baseGetTag.js /** `Object#toString` result references. */ var nullTag = '[object Null]', undefinedTag = '[object Undefined]'; /** Built-in value references. */ var _baseGetTag_symToStringTag = _Symbol ? _Symbol.toStringTag : undefined; /** * The base implementation of `getTag` without fallbacks for buggy environments. * * @private * @param {*} value The value to query. * @returns {string} Returns the `toStringTag`. */ function baseGetTag(value) { if (value == null) { return value === undefined ? undefinedTag : nullTag; } return (_baseGetTag_symToStringTag && _baseGetTag_symToStringTag in Object(value)) ? _getRawTag(value) : _objectToString(value); } /* harmony default export */ var _baseGetTag = (baseGetTag); // CONCATENATED MODULE: ./node_modules/lodash-es/isObjectLike.js /** * Checks if `value` is object-like. A value is object-like if it's not `null` * and has a `typeof` result of "object". * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is object-like, else `false`. * @example * * _.isObjectLike({}); * // => true * * _.isObjectLike([1, 2, 3]); * // => true * * _.isObjectLike(_.noop); * // => false * * _.isObjectLike(null); * // => false */ function isObjectLike(value) { return value != null && typeof value == 'object'; } /* harmony default export */ var lodash_es_isObjectLike = (isObjectLike); // CONCATENATED MODULE: ./node_modules/lodash-es/isSymbol.js /** `Object#toString` result references. */ var symbolTag = '[object Symbol]'; /** * Checks if `value` is classified as a `Symbol` primitive or object. * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. * @example * * _.isSymbol(Symbol.iterator); * // => true * * _.isSymbol('abc'); * // => false */ function isSymbol(value) { return typeof value == 'symbol' || (lodash_es_isObjectLike(value) && _baseGetTag(value) == symbolTag); } /* harmony default export */ var lodash_es_isSymbol = (isSymbol); // CONCATENATED MODULE: ./node_modules/lodash-es/toNumber.js /** Used as references for various `Number` constants. */ var NAN = 0 / 0; /** Used to detect bad signed hexadecimal string values. */ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; /** Used to detect binary string values. */ var reIsBinary = /^0b[01]+$/i; /** Used to detect octal string values. */ var reIsOctal = /^0o[0-7]+$/i; /** Built-in method references without a dependency on `root`. */ var freeParseInt = parseInt; /** * Converts `value` to a number. * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to process. * @returns {number} Returns the number. * @example * * _.toNumber(3.2); * // => 3.2 * * _.toNumber(Number.MIN_VALUE); * // => 5e-324 * * _.toNumber(Infinity); * // => Infinity * * _.toNumber('3.2'); * // => 3.2 */ function toNumber(value) { if (typeof value == 'number') { return value; } if (lodash_es_isSymbol(value)) { return NAN; } if (lodash_es_isObject(value)) { var other = typeof value.valueOf == 'function' ? value.valueOf() : value; value = lodash_es_isObject(other) ? (other + '') : other; } if (typeof value != 'string') { return value === 0 ? value : +value; } value = _baseTrim(value); var isBinary = reIsBinary.test(value); return (isBinary || reIsOctal.test(value)) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : (reIsBadHex.test(value) ? NAN : +value); } /* harmony default export */ var lodash_es_toNumber = (toNumber); // CONCATENATED MODULE: ./node_modules/lodash-es/clamp.js /** * Clamps `number` within the inclusive `lower` and `upper` bounds. * * @static * @memberOf _ * @since 4.0.0 * @category Number * @param {number} number The number to clamp. * @param {number} [lower] The lower bound. * @param {number} upper The upper bound. * @returns {number} Returns the clamped number. * @example * * _.clamp(-10, -5, 5); * // => -5 * * _.clamp(10, -5, 5); * // => 5 */ function clamp(number, lower, upper) { if (upper === undefined) { upper = lower; lower = undefined; } if (upper !== undefined) { upper = lodash_es_toNumber(upper); upper = upper === upper ? upper : 0; } if (lower !== undefined) { lower = lodash_es_toNumber(lower); lower = lower === lower ? lower : 0; } return _baseClamp(lodash_es_toNumber(number), lower, upper); } /* harmony default export */ var lodash_es_clamp = (clamp); // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/decorators/range.js function range(min, max) { if (min === void 0) { min = -Infinity; } if (max === void 0) { max = Infinity; } return function (proto, key) { var alias = "_" + key; Object.defineProperty(proto, key, { get: function () { return this[alias]; }, set: function (val) { Object.defineProperty(this, alias, { value: lodash_es_clamp(val, min, max), enumerable: false, writable: true, configurable: true, }); }, enumerable: true, configurable: true, }); }; } //# sourceMappingURL=range.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/decorators/boolean.js function boolean_boolean(proto, key) { var alias = "_" + key; Object.defineProperty(proto, key, { get: function () { return this[alias]; }, set: function (val) { Object.defineProperty(this, alias, { value: !!val, enumerable: false, writable: true, configurable: true, }); }, enumerable: true, configurable: true, }); } //# sourceMappingURL=boolean.js.map // CONCATENATED MODULE: ./node_modules/lodash-es/now.js /** * Gets the timestamp of the number of milliseconds that have elapsed since * the Unix epoch (1 January 1970 00:00:00 UTC). * * @static * @memberOf _ * @since 2.4.0 * @category Date * @returns {number} Returns the timestamp. * @example * * _.defer(function(stamp) { * console.log(_.now() - stamp); * }, _.now()); * // => Logs the number of milliseconds it took for the deferred invocation. */ var now_now = function() { return _root.Date.now(); }; /* harmony default export */ var lodash_es_now = (now_now); // CONCATENATED MODULE: ./node_modules/lodash-es/debounce.js /** Error message constants. */ var FUNC_ERROR_TEXT = 'Expected a function'; /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeMax = Math.max, nativeMin = Math.min; /** * Creates a debounced function that delays invoking `func` until after `wait` * milliseconds have elapsed since the last time the debounced function was * invoked. The debounced function comes with a `cancel` method to cancel * delayed `func` invocations and a `flush` method to immediately invoke them. * Provide `options` to indicate whether `func` should be invoked on the * leading and/or trailing edge of the `wait` timeout. The `func` is invoked * with the last arguments provided to the debounced function. Subsequent * calls to the debounced function return the result of the last `func` * invocation. * * **Note:** If `leading` and `trailing` options are `true`, `func` is * invoked on the trailing edge of the timeout only if the debounced function * is invoked more than once during the `wait` timeout. * * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred * until to the next tick, similar to `setTimeout` with a timeout of `0`. * * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) * for details over the differences between `_.debounce` and `_.throttle`. * * @static * @memberOf _ * @since 0.1.0 * @category Function * @param {Function} func The function to debounce. * @param {number} [wait=0] The number of milliseconds to delay. * @param {Object} [options={}] The options object. * @param {boolean} [options.leading=false] * Specify invoking on the leading edge of the timeout. * @param {number} [options.maxWait] * The maximum time `func` is allowed to be delayed before it's invoked. * @param {boolean} [options.trailing=true] * Specify invoking on the trailing edge of the timeout. * @returns {Function} Returns the new debounced function. * @example * * // Avoid costly calculations while the window size is in flux. * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); * * // Invoke `sendMail` when clicked, debouncing subsequent calls. * jQuery(element).on('click', _.debounce(sendMail, 300, { * 'leading': true, * 'trailing': false * })); * * // Ensure `batchLog` is invoked once after 1 second of debounced calls. * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); * var source = new EventSource('/stream'); * jQuery(source).on('message', debounced); * * // Cancel the trailing debounced invocation. * jQuery(window).on('popstate', debounced.cancel); */ function debounce(func, wait, options) { var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true; if (typeof func != 'function') { throw new TypeError(FUNC_ERROR_TEXT); } wait = lodash_es_toNumber(wait) || 0; if (lodash_es_isObject(options)) { leading = !!options.leading; maxing = 'maxWait' in options; maxWait = maxing ? nativeMax(lodash_es_toNumber(options.maxWait) || 0, wait) : maxWait; trailing = 'trailing' in options ? !!options.trailing : trailing; } function invokeFunc(time) { var args = lastArgs, thisArg = lastThis; lastArgs = lastThis = undefined; lastInvokeTime = time; result = func.apply(thisArg, args); return result; } function leadingEdge(time) { // Reset any `maxWait` timer. lastInvokeTime = time; // Start the timer for the trailing edge. timerId = setTimeout(timerExpired, wait); // Invoke the leading edge. return leading ? invokeFunc(time) : result; } function remainingWait(time) { var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall; return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting; } function shouldInvoke(time) { var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime; // Either this is the first call, activity has stopped and we're at the // trailing edge, the system time has gone backwards and we're treating // it as the trailing edge, or we've hit the `maxWait` limit. return (lastCallTime === undefined || (timeSinceLastCall >= wait) || (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); } function timerExpired() { var time = lodash_es_now(); if (shouldInvoke(time)) { return trailingEdge(time); } // Restart the timer. timerId = setTimeout(timerExpired, remainingWait(time)); } function trailingEdge(time) { timerId = undefined; // Only invoke if we have `lastArgs` which means `func` has been // debounced at least once. if (trailing && lastArgs) { return invokeFunc(time); } lastArgs = lastThis = undefined; return result; } function cancel() { if (timerId !== undefined) { clearTimeout(timerId); } lastInvokeTime = 0; lastArgs = lastCallTime = lastThis = timerId = undefined; } function flush() { return timerId === undefined ? result : trailingEdge(lodash_es_now()); } function debounced() { var time = lodash_es_now(), isInvoking = shouldInvoke(time); lastArgs = arguments; lastThis = this; lastCallTime = time; if (isInvoking) { if (timerId === undefined) { return leadingEdge(lastCallTime); } if (maxing) { // Handle invocations in a tight loop. clearTimeout(timerId); timerId = setTimeout(timerExpired, wait); return invokeFunc(lastCallTime); } } if (timerId === undefined) { timerId = setTimeout(timerExpired, wait); } return result; } debounced.cancel = cancel; debounced.flush = flush; return debounced; } /* harmony default export */ var lodash_es_debounce = (debounce); // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/decorators/debounce.js function debounce_debounce() { var options = []; for (var _i = 0; _i < arguments.length; _i++) { options[_i] = arguments[_i]; } return function (_proto, key, descriptor) { var fn = descriptor.value; return { get: function () { if (!this.hasOwnProperty(key)) { Object.defineProperty(this, key, { value: lodash_es_debounce.apply(void 0, __spreadArrays([fn], options)), }); } return this[key]; }, }; }; } //# sourceMappingURL=debounce.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/decorators/index.js //# sourceMappingURL=index.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/options.js var options_Options = /** @class */ (function () { function Options(config) { var _this = this; if (config === void 0) { config = {}; } /** * Momentum reduction damping factor, a float value between `(0, 1)`. * The lower the value is, the more smooth the scrolling will be * (also the more paint frames). */ this.damping = 0.1; /** * Minimal size for scrollbar thumbs. */ this.thumbMinSize = 20; /** * Render every frame in integer pixel values * set to `true` to improve scrolling performance. */ this.renderByPixels = true; /** * Keep scrollbar tracks visible */ this.alwaysShowTracks = false; /** * Set to `true` to allow outer scrollbars continue scrolling * when current scrollbar reaches edge. */ this.continuousScrolling = true; /** * Delegate wheel events and touch events to the given element. * By default, the container element is used. * This option will be useful for dealing with fixed elements. */ this.delegateTo = null; /** * Options for plugins. Syntax: * plugins[pluginName] = pluginOptions: any */ this.plugins = {}; Object.keys(config).forEach(function (prop) { _this[prop] = config[prop]; }); } Object.defineProperty(Options.prototype, "wheelEventTarget", { get: function () { return this.delegateTo; }, set: function (el) { console.warn('[smooth-scrollbar]: `options.wheelEventTarget` is deprecated and will be removed in the future, use `options.delegateTo` instead.'); this.delegateTo = el; }, enumerable: true, configurable: true }); __decorate([ range(0, 1) ], Options.prototype, "damping", void 0); __decorate([ range(0, Infinity) ], Options.prototype, "thumbMinSize", void 0); __decorate([ boolean_boolean ], Options.prototype, "renderByPixels", void 0); __decorate([ boolean_boolean ], Options.prototype, "alwaysShowTracks", void 0); __decorate([ boolean_boolean ], Options.prototype, "continuousScrolling", void 0); return Options; }()); //# sourceMappingURL=options.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/utils/event-hub.js var eventListenerOptions; var eventMap = new WeakMap(); function getOptions() { if (eventListenerOptions !== undefined) { return eventListenerOptions; } var supportPassiveEvent = false; try { var noop = function () { }; var options = Object.defineProperty({}, 'passive', { get: function () { supportPassiveEvent = true; }, }); window.addEventListener('testPassive', noop, options); window.removeEventListener('testPassive', noop, options); } catch (e) { } eventListenerOptions = supportPassiveEvent ? { passive: false } : false; return eventListenerOptions; } function eventScope(scrollbar) { var configs = eventMap.get(scrollbar) || []; eventMap.set(scrollbar, configs); return function addEvent(elem, events, fn) { function handler(event) { // ignore default prevented events if (event.defaultPrevented) { return; } fn(event); } events.split(/\s+/g).forEach(function (eventName) { configs.push({ elem: elem, eventName: eventName, handler: handler }); elem.addEventListener(eventName, handler, getOptions()); }); }; } function clearEventsOn(scrollbar) { var configs = eventMap.get(scrollbar); if (!configs) { return; } configs.forEach(function (_a) { var elem = _a.elem, eventName = _a.eventName, handler = _a.handler; elem.removeEventListener(eventName, handler, getOptions()); }); eventMap.delete(scrollbar); } //# sourceMappingURL=event-hub.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/utils/get-pointer-data.js /** * Get pointer/touch data */ function getPointerData(evt) { // if is touch event, return last item in touchList // else return original event return evt.touches ? evt.touches[evt.touches.length - 1] : evt; } //# sourceMappingURL=get-pointer-data.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/utils/get-position.js /** * Get pointer/finger position */ function getPosition(evt) { var data = getPointerData(evt); return { x: data.clientX, y: data.clientY, }; } //# sourceMappingURL=get-position.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/utils/is-one-of.js /** * Check if `a` is one of `[...b]` */ function isOneOf(a, b) { if (b === void 0) { b = []; } return b.some(function (v) { return a === v; }); } //# sourceMappingURL=is-one-of.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/utils/set-style.js var VENDOR_PREFIX = [ 'webkit', 'moz', 'ms', 'o', ]; var RE = new RegExp("^-(?!(?:" + VENDOR_PREFIX.join('|') + ")-)"); function autoPrefix(styles) { var res = {}; Object.keys(styles).forEach(function (prop) { if (!RE.test(prop)) { res[prop] = styles[prop]; return; } var val = styles[prop]; prop = prop.replace(/^-/, ''); res[prop] = val; VENDOR_PREFIX.forEach(function (prefix) { res["-" + prefix + "-" + prop] = val; }); }); return res; } function setStyle(elem, styles) { styles = autoPrefix(styles); Object.keys(styles).forEach(function (prop) { var cssProp = prop.replace(/^-/, '').replace(/-([a-z])/g, function (_, $1) { return $1.toUpperCase(); }); elem.style[cssProp] = styles[prop]; }); } //# sourceMappingURL=set-style.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/utils/touch-record.js var touch_record_Tracker = /** @class */ (function () { function Tracker(touch) { this.velocityMultiplier = /Android/.test(navigator.userAgent) ? window.devicePixelRatio : 1; this.updateTime = Date.now(); this.delta = { x: 0, y: 0 }; this.velocity = { x: 0, y: 0 }; this.lastPosition = { x: 0, y: 0 }; this.lastPosition = getPosition(touch); } Tracker.prototype.update = function (touch) { var _a = this, velocity = _a.velocity, updateTime = _a.updateTime, lastPosition = _a.lastPosition; var now = Date.now(); var position = getPosition(touch); var delta = { x: -(position.x - lastPosition.x), y: -(position.y - lastPosition.y), }; var duration = (now - updateTime) || 16.7; var vx = delta.x / duration * 16.7; var vy = delta.y / duration * 16.7; velocity.x = vx * this.velocityMultiplier; velocity.y = vy * this.velocityMultiplier; this.delta = delta; this.updateTime = now; this.lastPosition = position; }; return Tracker; }()); var touch_record_TouchRecord = /** @class */ (function () { function TouchRecord() { this._touchList = {}; } Object.defineProperty(TouchRecord.prototype, "_primitiveValue", { get: function () { return { x: 0, y: 0 }; }, enumerable: true, configurable: true }); TouchRecord.prototype.isActive = function () { return this._activeTouchID !== undefined; }; TouchRecord.prototype.getDelta = function () { var tracker = this._getActiveTracker(); if (!tracker) { return this._primitiveValue; } return __assign({}, tracker.delta); }; TouchRecord.prototype.getVelocity = function () { var tracker = this._getActiveTracker(); if (!tracker) { return this._primitiveValue; } return __assign({}, tracker.velocity); }; TouchRecord.prototype.getEasingDistance = function (damping) { var deAcceleration = 1 - damping; var distance = { x: 0, y: 0, }; var vel = this.getVelocity(); Object.keys(vel).forEach(function (dir) { // ignore small velocity var v = Math.abs(vel[dir]) <= 10 ? 0 : vel[dir]; while (v !== 0) { distance[dir] += v; v = (v * deAcceleration) | 0; } }); return distance; }; TouchRecord.prototype.track = function (evt) { var _this = this; var targetTouches = evt.targetTouches; Array.from(targetTouches).forEach(function (touch) { _this._add(touch); }); return this._touchList; }; TouchRecord.prototype.update = function (evt) { var _this = this; var touches = evt.touches, changedTouches = evt.changedTouches; Array.from(touches).forEach(function (touch) { _this._renew(touch); }); this._setActiveID(changedTouches); return this._touchList; }; TouchRecord.prototype.release = function (evt) { var _this = this; delete this._activeTouchID; Array.from(evt.changedTouches).forEach(function (touch) { _this._delete(touch); }); }; TouchRecord.prototype._add = function (touch) { if (this._has(touch)) { // reset tracker this._delete(touch); } var tracker = new touch_record_Tracker(touch); this._touchList[touch.identifier] = tracker; }; TouchRecord.prototype._renew = function (touch) { if (!this._has(touch)) { return; } var tracker = this._touchList[touch.identifier]; tracker.update(touch); }; TouchRecord.prototype._delete = function (touch) { delete this._touchList[touch.identifier]; }; TouchRecord.prototype._has = function (touch) { return this._touchList.hasOwnProperty(touch.identifier); }; TouchRecord.prototype._setActiveID = function (touches) { this._activeTouchID = touches[touches.length - 1].identifier; }; TouchRecord.prototype._getActiveTracker = function () { var _a = this, _touchList = _a._touchList, _activeTouchID = _a._activeTouchID; return _touchList[_activeTouchID]; }; return TouchRecord; }()); //# sourceMappingURL=touch-record.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/utils/index.js //# sourceMappingURL=index.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/track/direction.js var TrackDirection; (function (TrackDirection) { TrackDirection["X"] = "x"; TrackDirection["Y"] = "y"; })(TrackDirection || (TrackDirection = {})); //# sourceMappingURL=direction.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/track/thumb.js var thumb_ScrollbarThumb = /** @class */ (function () { function ScrollbarThumb(_direction, _minSize) { if (_minSize === void 0) { _minSize = 0; } this._direction = _direction; this._minSize = _minSize; /** * Thumb element */ this.element = document.createElement('div'); /** * Display size of the thumb * will always be greater than `scrollbar.options.thumbMinSize` */ this.displaySize = 0; /** * Actual size of the thumb */ this.realSize = 0; /** * Thumb offset to the top */ this.offset = 0; this.element.className = "scrollbar-thumb scrollbar-thumb-" + _direction; } /** * Attach to track element * * @param trackEl Track element */ ScrollbarThumb.prototype.attachTo = function (trackEl) { trackEl.appendChild(this.element); }; ScrollbarThumb.prototype.update = function (scrollOffset, containerSize, pageSize) { // calculate thumb size // pageSize > containerSize -> scrollable this.realSize = Math.min(containerSize / pageSize, 1) * containerSize; this.displaySize = Math.max(this.realSize, this._minSize); // calculate thumb offset this.offset = scrollOffset / pageSize * (containerSize + (this.realSize - this.displaySize)); setStyle(this.element, this._getStyle()); }; ScrollbarThumb.prototype._getStyle = function () { switch (this._direction) { case TrackDirection.X: return { width: this.displaySize + "px", '-transform': "translate3d(" + this.offset + "px, 0, 0)", }; case TrackDirection.Y: return { height: this.displaySize + "px", '-transform': "translate3d(0, " + this.offset + "px, 0)", }; default: return null; } }; return ScrollbarThumb; }()); //# sourceMappingURL=thumb.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/track/track.js var track_ScrollbarTrack = /** @class */ (function () { function ScrollbarTrack(direction, thumbMinSize) { if (thumbMinSize === void 0) { thumbMinSize = 0; } /** * Track element */ this.element = document.createElement('div'); this._isShown = false; this.element.className = "scrollbar-track scrollbar-track-" + direction; this.thumb = new thumb_ScrollbarThumb(direction, thumbMinSize); this.thumb.attachTo(this.element); } /** * Attach to scrollbar container element * * @param scrollbarContainer Scrollbar container element */ ScrollbarTrack.prototype.attachTo = function (scrollbarContainer) { scrollbarContainer.appendChild(this.element); }; /** * Show track immediately */ ScrollbarTrack.prototype.show = function () { if (this._isShown) { return; } this._isShown = true; this.element.classList.add('show'); }; /** * Hide track immediately */ ScrollbarTrack.prototype.hide = function () { if (!this._isShown) { return; } this._isShown = false; this.element.classList.remove('show'); }; ScrollbarTrack.prototype.update = function (scrollOffset, containerSize, pageSize) { setStyle(this.element, { display: pageSize <= containerSize ? 'none' : 'block', }); this.thumb.update(scrollOffset, containerSize, pageSize); }; return ScrollbarTrack; }()); //# sourceMappingURL=track.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/track/index.js var track_TrackController = /** @class */ (function () { function TrackController(_scrollbar) { this._scrollbar = _scrollbar; var thumbMinSize = _scrollbar.options.thumbMinSize; this.xAxis = new track_ScrollbarTrack(TrackDirection.X, thumbMinSize); this.yAxis = new track_ScrollbarTrack(TrackDirection.Y, thumbMinSize); this.xAxis.attachTo(_scrollbar.containerEl); this.yAxis.attachTo(_scrollbar.containerEl); if (_scrollbar.options.alwaysShowTracks) { this.xAxis.show(); this.yAxis.show(); } } /** * Updates track appearance */ TrackController.prototype.update = function () { var _a = this._scrollbar, size = _a.size, offset = _a.offset; this.xAxis.update(offset.x, size.container.width, size.content.width); this.yAxis.update(offset.y, size.container.height, size.content.height); }; /** * Automatically hide tracks when scrollbar is in idle state */ TrackController.prototype.autoHideOnIdle = function () { if (this._scrollbar.options.alwaysShowTracks) { return; } this.xAxis.hide(); this.yAxis.hide(); }; __decorate([ debounce_debounce(300) ], TrackController.prototype, "autoHideOnIdle", null); return TrackController; }()); //# sourceMappingURL=index.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/geometry/get-size.js function getSize(scrollbar) { var containerEl = scrollbar.containerEl, contentEl = scrollbar.contentEl; var containerStyles = getComputedStyle(containerEl); var paddings = [ 'paddingTop', 'paddingBottom', 'paddingLeft', 'paddingRight', ].map(function (prop) { return containerStyles[prop] ? parseFloat(containerStyles[prop]) : 0; }); var verticalPadding = paddings[0] + paddings[1]; var horizontalPadding = paddings[2] + paddings[3]; return { container: { // requires `overflow: hidden` width: containerEl.clientWidth, height: containerEl.clientHeight, }, content: { // border width and paddings should be included width: contentEl.offsetWidth - contentEl.clientWidth + contentEl.scrollWidth + horizontalPadding, height: contentEl.offsetHeight - contentEl.clientHeight + contentEl.scrollHeight + verticalPadding, }, }; } //# sourceMappingURL=get-size.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/geometry/is-visible.js function isVisible(scrollbar, elem) { var bounding = scrollbar.bounding; var targetBounding = elem.getBoundingClientRect(); // check overlapping var top = Math.max(bounding.top, targetBounding.top); var left = Math.max(bounding.left, targetBounding.left); var right = Math.min(bounding.right, targetBounding.right); var bottom = Math.min(bounding.bottom, targetBounding.bottom); return top < bottom && left < right; } //# sourceMappingURL=is-visible.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/geometry/update.js function update(scrollbar) { var newSize = scrollbar.getSize(); var limit = { x: Math.max(newSize.content.width - newSize.container.width, 0), y: Math.max(newSize.content.height - newSize.container.height, 0), }; // metrics var containerBounding = scrollbar.containerEl.getBoundingClientRect(); var bounding = { top: Math.max(containerBounding.top, 0), right: Math.min(containerBounding.right, window.innerWidth), bottom: Math.min(containerBounding.bottom, window.innerHeight), left: Math.max(containerBounding.left, 0), }; // assign props scrollbar.size = newSize; scrollbar.limit = limit; scrollbar.bounding = bounding; // update tracks scrollbar.track.update(); // re-positioning scrollbar.setPosition(); } //# sourceMappingURL=update.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/geometry/index.js //# sourceMappingURL=index.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/scrolling/set-position.js function setPosition(scrollbar, x, y) { var options = scrollbar.options, offset = scrollbar.offset, limit = scrollbar.limit, track = scrollbar.track, contentEl = scrollbar.contentEl; if (options.renderByPixels) { x = Math.round(x); y = Math.round(y); } x = lodash_es_clamp(x, 0, limit.x); y = lodash_es_clamp(y, 0, limit.y); // position changed -> show track for 300ms if (x !== offset.x) track.xAxis.show(); if (y !== offset.y) track.yAxis.show(); if (!options.alwaysShowTracks) { track.autoHideOnIdle(); } if (x === offset.x && y === offset.y) { return null; } offset.x = x; offset.y = y; setStyle(contentEl, { '-transform': "translate3d(" + -x + "px, " + -y + "px, 0)", }); track.update(); return { offset: __assign({}, offset), limit: __assign({}, limit), }; } //# sourceMappingURL=set-position.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/scrolling/scroll-to.js var animationIDStorage = new WeakMap(); function scrollTo(scrollbar, x, y, duration, _a) { if (duration === void 0) { duration = 0; } var _b = _a === void 0 ? {} : _a, _c = _b.easing, easing = _c === void 0 ? defaultEasing : _c, callback = _b.callback; var options = scrollbar.options, offset = scrollbar.offset, limit = scrollbar.limit; if (options.renderByPixels) { // ensure resolved with integer x = Math.round(x); y = Math.round(y); } var startX = offset.x; var startY = offset.y; var disX = lodash_es_clamp(x, 0, limit.x) - startX; var disY = lodash_es_clamp(y, 0, limit.y) - startY; var start = Date.now(); function scroll() { var elapse = Date.now() - start; var progress = duration ? easing(Math.min(elapse / duration, 1)) : 1; scrollbar.setPosition(startX + disX * progress, startY + disY * progress); if (elapse >= duration) { if (typeof callback === 'function') { callback.call(scrollbar); } } else { var animationID = requestAnimationFrame(scroll); animationIDStorage.set(scrollbar, animationID); } } cancelAnimationFrame(animationIDStorage.get(scrollbar)); scroll(); } /** * easeOutCubic */ function defaultEasing(t) { return Math.pow((t - 1), 3) + 1; } //# sourceMappingURL=scroll-to.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/scrolling/scroll-into-view.js function scrollIntoView(scrollbar, elem, _a) { var _b = _a === void 0 ? {} : _a, _c = _b.alignToTop, alignToTop = _c === void 0 ? true : _c, _d = _b.onlyScrollIfNeeded, onlyScrollIfNeeded = _d === void 0 ? false : _d, _e = _b.offsetTop, offsetTop = _e === void 0 ? 0 : _e, _f = _b.offsetLeft, offsetLeft = _f === void 0 ? 0 : _f, _g = _b.offsetBottom, offsetBottom = _g === void 0 ? 0 : _g; var containerEl = scrollbar.containerEl, bounding = scrollbar.bounding, offset = scrollbar.offset, limit = scrollbar.limit; if (!elem || !containerEl.contains(elem)) return; var targetBounding = elem.getBoundingClientRect(); if (onlyScrollIfNeeded && scrollbar.isVisible(elem)) return; var delta = alignToTop ? targetBounding.top - bounding.top - offsetTop : targetBounding.bottom - bounding.bottom + offsetBottom; scrollbar.setMomentum(targetBounding.left - bounding.left - offsetLeft, lodash_es_clamp(delta, -offset.y, limit.y - offset.y)); } //# sourceMappingURL=scroll-into-view.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/scrolling/index.js //# sourceMappingURL=index.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/plugin.js var plugin_ScrollbarPlugin = /** @class */ (function () { function ScrollbarPlugin(scrollbar, options) { var _newTarget = this.constructor; this.scrollbar = scrollbar; this.name = _newTarget.pluginName; this.options = __assign(__assign({}, _newTarget.defaultOptions), options); } ScrollbarPlugin.prototype.onInit = function () { }; ScrollbarPlugin.prototype.onDestroy = function () { }; ScrollbarPlugin.prototype.onUpdate = function () { }; ScrollbarPlugin.prototype.onRender = function (_remainMomentum) { }; ScrollbarPlugin.prototype.transformDelta = function (delta, _evt) { return __assign({}, delta); }; ScrollbarPlugin.pluginName = ''; ScrollbarPlugin.defaultOptions = {}; return ScrollbarPlugin; }()); var globalPlugins = { order: new Set(), constructors: {}, }; function addPlugins() { var Plugins = []; for (var _i = 0; _i < arguments.length; _i++) { Plugins[_i] = arguments[_i]; } Plugins.forEach(function (P) { var pluginName = P.pluginName; if (!pluginName) { throw new TypeError("plugin name is required"); } globalPlugins.order.add(pluginName); globalPlugins.constructors[pluginName] = P; }); } function initPlugins(scrollbar, options) { return Array.from(globalPlugins.order) .filter(function (pluginName) { return options[pluginName] !== false; }) .map(function (pluginName) { var Plugin = globalPlugins.constructors[pluginName]; var instance = new Plugin(scrollbar, options[pluginName]); // bind plugin options to `scrollbar.options` options[pluginName] = instance.options; return instance; }); } //# sourceMappingURL=plugin.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/events/keyboard.js var KEY_CODE; (function (KEY_CODE) { KEY_CODE[KEY_CODE["TAB"] = 9] = "TAB"; KEY_CODE[KEY_CODE["SPACE"] = 32] = "SPACE"; KEY_CODE[KEY_CODE["PAGE_UP"] = 33] = "PAGE_UP"; KEY_CODE[KEY_CODE["PAGE_DOWN"] = 34] = "PAGE_DOWN"; KEY_CODE[KEY_CODE["END"] = 35] = "END"; KEY_CODE[KEY_CODE["HOME"] = 36] = "HOME"; KEY_CODE[KEY_CODE["LEFT"] = 37] = "LEFT"; KEY_CODE[KEY_CODE["UP"] = 38] = "UP"; KEY_CODE[KEY_CODE["RIGHT"] = 39] = "RIGHT"; KEY_CODE[KEY_CODE["DOWN"] = 40] = "DOWN"; })(KEY_CODE || (KEY_CODE = {})); function keyboardHandler(scrollbar) { var addEvent = eventScope(scrollbar); var container = scrollbar.containerEl; addEvent(container, 'keydown', function (evt) { var activeElement = document.activeElement; if (activeElement !== container && !container.contains(activeElement)) { return; } if (isEditable(activeElement)) { return; } var delta = getKeyDelta(scrollbar, evt.keyCode || evt.which); if (!delta) { return; } var x = delta[0], y = delta[1]; scrollbar.addTransformableMomentum(x, y, evt, function (willScroll) { if (willScroll) { evt.preventDefault(); } else { scrollbar.containerEl.blur(); if (scrollbar.parent) { scrollbar.parent.containerEl.focus(); } } }); }); } function getKeyDelta(scrollbar, keyCode) { var size = scrollbar.size, limit = scrollbar.limit, offset = scrollbar.offset; switch (keyCode) { case KEY_CODE.TAB: return handleTabKey(scrollbar); case KEY_CODE.SPACE: return [0, 200]; case KEY_CODE.PAGE_UP: return [0, -size.container.height + 40]; case KEY_CODE.PAGE_DOWN: return [0, size.container.height - 40]; case KEY_CODE.END: return [0, limit.y - offset.y]; case KEY_CODE.HOME: return [0, -offset.y]; case KEY_CODE.LEFT: return [-40, 0]; case KEY_CODE.UP: return [0, -40]; case KEY_CODE.RIGHT: return [40, 0]; case KEY_CODE.DOWN: return [0, 40]; default: return null; } } function handleTabKey(scrollbar) { // handle in next frame requestAnimationFrame(function () { scrollbar.scrollIntoView(document.activeElement, { offsetTop: scrollbar.size.container.height / 2, onlyScrollIfNeeded: true, }); }); } function isEditable(elem) { if (elem.tagName === 'INPUT' || elem.tagName === 'SELECT' || elem.tagName === 'TEXTAREA' || elem.isContentEditable) { return !elem.disabled; } return false; } //# sourceMappingURL=keyboard.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/events/mouse.js var Direction; (function (Direction) { Direction[Direction["X"] = 0] = "X"; Direction[Direction["Y"] = 1] = "Y"; })(Direction || (Direction = {})); function mouseHandler(scrollbar) { var addEvent = eventScope(scrollbar); var container = scrollbar.containerEl; var _a = scrollbar.track, xAxis = _a.xAxis, yAxis = _a.yAxis; function calcMomentum(direction, clickPosition) { var size = scrollbar.size, limit = scrollbar.limit, offset = scrollbar.offset; if (direction === Direction.X) { var totalWidth = size.container.width + (xAxis.thumb.realSize - xAxis.thumb.displaySize); return lodash_es_clamp(clickPosition / totalWidth * size.content.width, 0, limit.x) - offset.x; } if (direction === Direction.Y) { var totalHeight = size.container.height + (yAxis.thumb.realSize - yAxis.thumb.displaySize); return lodash_es_clamp(clickPosition / totalHeight * size.content.height, 0, limit.y) - offset.y; } return 0; } function getTrackDirection(elem) { if (isOneOf(elem, [xAxis.element, xAxis.thumb.element])) { return Direction.X; } if (isOneOf(elem, [yAxis.element, yAxis.thumb.element])) { return Direction.Y; } return void 0; } var isMouseDown; var isMouseMoving; var startOffsetToThumb; var trackDirection; var containerRect; addEvent(container, 'click', function (evt) { if (isMouseMoving || !isOneOf(evt.target, [xAxis.element, yAxis.element])) { return; } var track = evt.target; var direction = getTrackDirection(track); var rect = track.getBoundingClientRect(); var clickPos = getPosition(evt); if (direction === Direction.X) { var offsetOnTrack = clickPos.x - rect.left - xAxis.thumb.displaySize / 2; scrollbar.setMomentum(calcMomentum(direction, offsetOnTrack), 0); } if (direction === Direction.Y) { var offsetOnTrack = clickPos.y - rect.top - yAxis.thumb.displaySize / 2; scrollbar.setMomentum(0, calcMomentum(direction, offsetOnTrack)); } }); addEvent(container, 'mousedown', function (evt) { if (!isOneOf(evt.target, [xAxis.thumb.element, yAxis.thumb.element])) { return; } isMouseDown = true; var thumb = evt.target; var cursorPos = getPosition(evt); var thumbRect = thumb.getBoundingClientRect(); trackDirection = getTrackDirection(thumb); // pointer offset to thumb startOffsetToThumb = { x: cursorPos.x - thumbRect.left, y: cursorPos.y - thumbRect.top, }; // container bounding rectangle containerRect = container.getBoundingClientRect(); // prevent selection, see: // https://github.com/idiotWu/smooth-scrollbar/issues/48 setStyle(scrollbar.containerEl, { '-user-select': 'none', }); }); addEvent(window, 'mousemove', function (evt) { if (!isMouseDown) return; isMouseMoving = true; var cursorPos = getPosition(evt); if (trackDirection === Direction.X) { // get percentage of pointer position in track // then tranform to px // don't need easing var offsetOnTrack = cursorPos.x - startOffsetToThumb.x - containerRect.left; scrollbar.setMomentum(calcMomentum(trackDirection, offsetOnTrack), 0); } if (trackDirection === Direction.Y) { var offsetOnTrack = cursorPos.y - startOffsetToThumb.y - containerRect.top; scrollbar.setMomentum(0, calcMomentum(trackDirection, offsetOnTrack)); } }); addEvent(window, 'mouseup blur', function () { isMouseDown = isMouseMoving = false; setStyle(scrollbar.containerEl, { '-user-select': '', }); }); } //# sourceMappingURL=mouse.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/events/resize.js function resizeHandler(scrollbar) { var addEvent = eventScope(scrollbar); addEvent(window, 'resize', lodash_es_debounce(scrollbar.update.bind(scrollbar), 300)); } //# sourceMappingURL=resize.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/events/select.js function selectHandler(scrollbar) { var addEvent = eventScope(scrollbar); var containerEl = scrollbar.containerEl, contentEl = scrollbar.contentEl; var isSelected = false; var animationID; function scroll(_a) { var x = _a.x, y = _a.y; if (!x && !y) return; var offset = scrollbar.offset, limit = scrollbar.limit; // DISALLOW delta transformation scrollbar.setMomentum(lodash_es_clamp(offset.x + x, 0, limit.x) - offset.x, lodash_es_clamp(offset.y + y, 0, limit.y) - offset.y); animationID = requestAnimationFrame(function () { scroll({ x: x, y: y }); }); } addEvent(window, 'mousemove', function (evt) { if (!isSelected) return; cancelAnimationFrame(animationID); var dir = select_calcMomentum(scrollbar, evt); scroll(dir); }); addEvent(contentEl, 'selectstart', function (evt) { evt.stopPropagation(); cancelAnimationFrame(animationID); isSelected = true; }); addEvent(window, 'mouseup blur', function () { cancelAnimationFrame(animationID); isSelected = false; }); // patch for touch devices addEvent(containerEl, 'scroll', function (evt) { evt.preventDefault(); containerEl.scrollTop = containerEl.scrollLeft = 0; }); } function select_calcMomentum(scrollbar, evt) { var _a = scrollbar.bounding, top = _a.top, right = _a.right, bottom = _a.bottom, left = _a.left; var _b = getPosition(evt), x = _b.x, y = _b.y; var res = { x: 0, y: 0, }; var padding = 20; if (x === 0 && y === 0) return res; if (x > right - padding) { res.x = (x - right + padding); } else if (x < left + padding) { res.x = (x - left - padding); } if (y > bottom - padding) { res.y = (y - bottom + padding); } else if (y < top + padding) { res.y = (y - top - padding); } res.x *= 2; res.y *= 2; return res; } //# sourceMappingURL=select.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/events/touch.js var activeScrollbar; function touchHandler(scrollbar) { var target = scrollbar.options.delegateTo || scrollbar.containerEl; var touchRecord = new touch_record_TouchRecord(); var addEvent = eventScope(scrollbar); var damping; var pointerCount = 0; addEvent(target, 'touchstart', function (evt) { // start records touchRecord.track(evt); // stop scrolling scrollbar.setMomentum(0, 0); // save damping if (pointerCount === 0) { damping = scrollbar.options.damping; scrollbar.options.damping = Math.max(damping, 0.5); // less frames on touchmove } pointerCount++; }); addEvent(target, 'touchmove', function (evt) { if (activeScrollbar && activeScrollbar !== scrollbar) return; touchRecord.update(evt); var _a = touchRecord.getDelta(), x = _a.x, y = _a.y; scrollbar.addTransformableMomentum(x, y, evt, function (willScroll) { if (willScroll && evt.cancelable) { evt.preventDefault(); activeScrollbar = scrollbar; } }); }); addEvent(target, 'touchcancel touchend', function (evt) { var delta = touchRecord.getEasingDistance(damping); scrollbar.addTransformableMomentum(delta.x, delta.y, evt); pointerCount--; // restore damping if (pointerCount === 0) { scrollbar.options.damping = damping; } touchRecord.release(evt); activeScrollbar = null; }); } //# sourceMappingURL=touch.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/events/wheel.js function wheelHandler(scrollbar) { var addEvent = eventScope(scrollbar); var target = scrollbar.options.delegateTo || scrollbar.containerEl; var eventName = ('onwheel' in window || document.implementation.hasFeature('Events.wheel', '3.0')) ? 'wheel' : 'mousewheel'; addEvent(target, eventName, function (evt) { var _a = normalizeDelta(evt), x = _a.x, y = _a.y; scrollbar.addTransformableMomentum(x, y, evt, function (willScroll) { if (willScroll) { evt.preventDefault(); } }); }); } // Normalizing wheel delta var DELTA_SCALE = { STANDARD: 1, OTHERS: -3, }; var DELTA_MODE = [1.0, 28.0, 500.0]; var getDeltaMode = function (mode) { return DELTA_MODE[mode] || DELTA_MODE[0]; }; function normalizeDelta(evt) { if ('deltaX' in evt) { var mode = getDeltaMode(evt.deltaMode); return { x: evt.deltaX / DELTA_SCALE.STANDARD * mode, y: evt.deltaY / DELTA_SCALE.STANDARD * mode, }; } if ('wheelDeltaX' in evt) { return { x: evt.wheelDeltaX / DELTA_SCALE.OTHERS, y: evt.wheelDeltaY / DELTA_SCALE.OTHERS, }; } // ie with touchpad return { x: 0, y: evt.wheelDelta / DELTA_SCALE.OTHERS, }; } //# sourceMappingURL=wheel.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/events/index.js //# sourceMappingURL=index.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/scrollbar.js // DO NOT use WeakMap here // .getAll() methods requires `scrollbarMap.values()` var scrollbarMap = new Map(); var scrollbar_Scrollbar = /** @class */ (function () { function Scrollbar(containerEl, options) { var _this = this; /** * Current scrolling offsets */ this.offset = { x: 0, y: 0, }; /** * Max-allowed scrolling offsets */ this.limit = { x: Infinity, y: Infinity, }; /** * Container bounding rect */ this.bounding = { top: 0, right: 0, bottom: 0, left: 0, }; // private _observer: ResizeObserver; this._plugins = []; this._momentum = { x: 0, y: 0 }; this._listeners = new Set(); this.containerEl = containerEl; var contentEl = this.contentEl = document.createElement('div'); this.options = new options_Options(options); // mark as a scroll element containerEl.setAttribute('data-scrollbar', 'true'); // make container focusable containerEl.setAttribute('tabindex', '-1'); setStyle(containerEl, { overflow: 'hidden', outline: 'none', }); // enable touch event capturing in IE, see: // https://github.com/idiotWu/smooth-scrollbar/issues/39 if (window.navigator.msPointerEnabled) { containerEl.style.msTouchAction = 'none'; } // mount content contentEl.className = 'scroll-content'; Array.from(containerEl.childNodes).forEach(function (node) { contentEl.appendChild(node); }); containerEl.appendChild(contentEl); // attach track this.track = new track_TrackController(this); // initial measuring this.size = this.getSize(); // init plugins this._plugins = initPlugins(this, this.options.plugins); // preserve scroll offset var scrollLeft = containerEl.scrollLeft, scrollTop = containerEl.scrollTop; containerEl.scrollLeft = containerEl.scrollTop = 0; this.setPosition(scrollLeft, scrollTop, { withoutCallbacks: true, }); // FIXME: update typescript var ResizeObserver = window.ResizeObserver; // observe if (typeof ResizeObserver === 'function') { this._observer = new ResizeObserver(function () { _this.update(); }); this._observer.observe(contentEl); } scrollbarMap.set(containerEl, this); // wait for DOM ready requestAnimationFrame(function () { _this._init(); }); } Object.defineProperty(Scrollbar.prototype, "parent", { /** * Parent scrollbar */ get: function () { var elem = this.containerEl.parentElement; while (elem) { var parentScrollbar = scrollbarMap.get(elem); if (parentScrollbar) { return parentScrollbar; } elem = elem.parentElement; } return null; }, enumerable: true, configurable: true }); Object.defineProperty(Scrollbar.prototype, "scrollTop", { /** * Gets or sets `scrollbar.offset.y` */ get: function () { return this.offset.y; }, set: function (y) { this.setPosition(this.scrollLeft, y); }, enumerable: true, configurable: true }); Object.defineProperty(Scrollbar.prototype, "scrollLeft", { /** * Gets or sets `scrollbar.offset.x` */ get: function () { return this.offset.x; }, set: function (x) { this.setPosition(x, this.scrollTop); }, enumerable: true, configurable: true }); /** * Returns the size of the scrollbar container element * and the content wrapper element */ Scrollbar.prototype.getSize = function () { return getSize(this); }; /** * Forces scrollbar to update geometry infomation. * * By default, scrollbars are automatically updated with `100ms` debounce (or `MutationObserver` fires). * You can call this method to force an update when you modified contents */ Scrollbar.prototype.update = function () { update(this); this._plugins.forEach(function (plugin) { plugin.onUpdate(); }); }; /** * Checks if an element is visible in the current view area */ Scrollbar.prototype.isVisible = function (elem) { return isVisible(this, elem); }; /** * Sets the scrollbar to the given offset without easing */ Scrollbar.prototype.setPosition = function (x, y, options) { var _this = this; if (x === void 0) { x = this.offset.x; } if (y === void 0) { y = this.offset.y; } if (options === void 0) { options = {}; } var status = setPosition(this, x, y); if (!status || options.withoutCallbacks) { return; } this._listeners.forEach(function (fn) { fn.call(_this, status); }); }; /** * Scrolls to given position with easing function */ Scrollbar.prototype.scrollTo = function (x, y, duration, options) { if (x === void 0) { x = this.offset.x; } if (y === void 0) { y = this.offset.y; } if (duration === void 0) { duration = 0; } if (options === void 0) { options = {}; } scrollTo(this, x, y, duration, options); }; /** * Scrolls the target element into visible area of scrollbar, * likes the DOM method `element.scrollIntoView(). */ Scrollbar.prototype.scrollIntoView = function (elem, options) { if (options === void 0) { options = {}; } scrollIntoView(this, elem, options); }; /** * Adds scrolling listener */ Scrollbar.prototype.addListener = function (fn) { if (typeof fn !== 'function') { throw new TypeError('[smooth-scrollbar] scrolling listener should be a function'); } this._listeners.add(fn); }; /** * Removes listener previously registered with `scrollbar.addListener()` */ Scrollbar.prototype.removeListener = function (fn) { this._listeners.delete(fn); }; /** * Adds momentum and applys delta transformers. */ Scrollbar.prototype.addTransformableMomentum = function (x, y, fromEvent, callback) { this._updateDebounced(); var finalDelta = this._plugins.reduce(function (delta, plugin) { return plugin.transformDelta(delta, fromEvent) || delta; }, { x: x, y: y }); var willScroll = !this._shouldPropagateMomentum(finalDelta.x, finalDelta.y); if (willScroll) { this.addMomentum(finalDelta.x, finalDelta.y); } if (callback) { callback.call(this, willScroll); } }; /** * Increases scrollbar's momentum */ Scrollbar.prototype.addMomentum = function (x, y) { this.setMomentum(this._momentum.x + x, this._momentum.y + y); }; /** * Sets scrollbar's momentum to given value */ Scrollbar.prototype.setMomentum = function (x, y) { if (this.limit.x === 0) { x = 0; } if (this.limit.y === 0) { y = 0; } if (this.options.renderByPixels) { x = Math.round(x); y = Math.round(y); } this._momentum.x = x; this._momentum.y = y; }; /** * Update options for specific plugin * * @param pluginName Name of the plugin * @param [options] An object includes the properties that you want to update */ Scrollbar.prototype.updatePluginOptions = function (pluginName, options) { this._plugins.forEach(function (plugin) { if (plugin.name === pluginName) { Object.assign(plugin.options, options); } }); }; Scrollbar.prototype.destroy = function () { var _a = this, containerEl = _a.containerEl, contentEl = _a.contentEl; clearEventsOn(this); this._listeners.clear(); this.setMomentum(0, 0); cancelAnimationFrame(this._renderID); if (this._observer) { this._observer.disconnect(); } scrollbarMap.delete(this.containerEl); // restore contents var childNodes = Array.from(contentEl.childNodes); while (containerEl.firstChild) { containerEl.removeChild(containerEl.firstChild); } childNodes.forEach(function (el) { containerEl.appendChild(el); }); // reset scroll position setStyle(containerEl, { overflow: '', }); containerEl.scrollTop = this.scrollTop; containerEl.scrollLeft = this.scrollLeft; // invoke plugin.onDestroy this._plugins.forEach(function (plugin) { plugin.onDestroy(); }); this._plugins.length = 0; }; Scrollbar.prototype._init = function () { var _this = this; this.update(); // init evet handlers Object.keys(events_namespaceObject).forEach(function (prop) { events_namespaceObject[prop](_this); }); // invoke `plugin.onInit` this._plugins.forEach(function (plugin) { plugin.onInit(); }); this._render(); }; Scrollbar.prototype._updateDebounced = function () { this.update(); }; // check whether to propagate monmentum to parent scrollbar // the following situations are considered as `true`: // 1. continuous scrolling is enabled (automatically disabled when overscroll is enabled) // 2. scrollbar reaches one side and is not about to scroll on the other direction Scrollbar.prototype._shouldPropagateMomentum = function (deltaX, deltaY) { if (deltaX === void 0) { deltaX = 0; } if (deltaY === void 0) { deltaY = 0; } var _a = this, options = _a.options, offset = _a.offset, limit = _a.limit; if (!options.continuousScrolling) return false; // force an update when scrollbar is "unscrollable", see #106 if (limit.x === 0 && limit.y === 0) { this._updateDebounced(); } var destX = lodash_es_clamp(deltaX + offset.x, 0, limit.x); var destY = lodash_es_clamp(deltaY + offset.y, 0, limit.y); var res = true; // offsets are not about to change // `&=` operator is not allowed for boolean types res = res && (destX === offset.x); res = res && (destY === offset.y); // current offsets are on the edge res = res && (offset.x === limit.x || offset.x === 0 || offset.y === limit.y || offset.y === 0); return res; }; Scrollbar.prototype._render = function () { var _momentum = this._momentum; if (_momentum.x || _momentum.y) { var nextX = this._nextTick('x'); var nextY = this._nextTick('y'); _momentum.x = nextX.momentum; _momentum.y = nextY.momentum; this.setPosition(nextX.position, nextY.position); } var remain = __assign({}, this._momentum); this._plugins.forEach(function (plugin) { plugin.onRender(remain); }); this._renderID = requestAnimationFrame(this._render.bind(this)); }; Scrollbar.prototype._nextTick = function (direction) { var _a = this, options = _a.options, offset = _a.offset, _momentum = _a._momentum; var current = offset[direction]; var remain = _momentum[direction]; if (Math.abs(remain) <= 0.1) { return { momentum: 0, position: current + remain, }; } var nextMomentum = remain * (1 - options.damping); if (options.renderByPixels) { nextMomentum |= 0; } return { momentum: nextMomentum, position: current + remain - nextMomentum, }; }; __decorate([ debounce_debounce(100, { leading: true }) ], Scrollbar.prototype, "_updateDebounced", null); return Scrollbar; }()); //# sourceMappingURL=scrollbar.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/style.js var TRACK_BG = 'rgba(222, 222, 222, .75)'; var THUMB_BG = 'rgba(0, 0, 0, .5)'; // sets content's display type to `flow-root` to suppress margin collapsing var SCROLLBAR_STYLE = "\n[data-scrollbar] {\n display: block;\n position: relative;\n}\n\n.scroll-content {\n display: flow-root;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n}\n\n.scrollbar-track {\n position: absolute;\n opacity: 0;\n z-index: 1;\n background: " + TRACK_BG + ";\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-transition: opacity 0.5s 0.5s ease-out;\n transition: opacity 0.5s 0.5s ease-out;\n}\n.scrollbar-track.show,\n.scrollbar-track:hover {\n opacity: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n}\n\n.scrollbar-track-x {\n bottom: 0;\n left: 0;\n width: 100%;\n height: 8px;\n}\n.scrollbar-track-y {\n top: 0;\n right: 0;\n width: 8px;\n height: 100%;\n}\n.scrollbar-thumb {\n position: absolute;\n top: 0;\n left: 0;\n width: 8px;\n height: 8px;\n background: " + THUMB_BG + ";\n border-radius: 4px;\n}\n"; var STYLE_ID = 'smooth-scrollbar-style'; var isStyleAttached = false; function attachStyle() { if (isStyleAttached || typeof window === 'undefined') { return; } var styleEl = document.createElement('style'); styleEl.id = STYLE_ID; styleEl.textContent = SCROLLBAR_STYLE; if (document.head) { document.head.appendChild(styleEl); } isStyleAttached = true; } function detachStyle() { if (!isStyleAttached || typeof window === 'undefined') { return; } var styleEl = document.getElementById(STYLE_ID); if (!styleEl || !styleEl.parentNode) { return; } styleEl.parentNode.removeChild(styleEl); isStyleAttached = false; } //# sourceMappingURL=style.js.map // CONCATENATED MODULE: ./node_modules/smooth-scrollbar/index.js /** * cast `I.Scrollbar` to `Scrollbar` to avoid error * * `I.Scrollbar` is not assignable to `Scrollbar`: * "privateProp" is missing in `I.Scrollbar` * * @see https://github.com/Microsoft/TypeScript/issues/2672 */ var smooth_scrollbar_SmoothScrollbar = /** @class */ (function (_super) { __extends(SmoothScrollbar, _super); function SmoothScrollbar() { return _super !== null && _super.apply(this, arguments) || this; } /** * Initializes a scrollbar on the given element. * * @param elem The DOM element that you want to initialize scrollbar to * @param [options] Initial options */ SmoothScrollbar.init = function (elem, options) { if (!elem || elem.nodeType !== 1) { throw new TypeError("expect element to be DOM Element, but got " + elem); } // attach stylesheet attachStyle(); if (scrollbarMap.has(elem)) { return scrollbarMap.get(elem); } return new scrollbar_Scrollbar(elem, options); }; /** * Automatically init scrollbar on all elements base on the selector `[data-scrollbar]` * * @param options Initial options */ SmoothScrollbar.initAll = function (options) { return Array.from(document.querySelectorAll('[data-scrollbar]'), function (elem) { return SmoothScrollbar.init(elem, options); }); }; /** * Check if there is a scrollbar on given element * * @param elem The DOM element that you want to check */ SmoothScrollbar.has = function (elem) { return scrollbarMap.has(elem); }; /** * Gets scrollbar on the given element. * If no scrollbar instance exsits, returns `undefined` * * @param elem The DOM element that you want to check. */ SmoothScrollbar.get = function (elem) { return scrollbarMap.get(elem); }; /** * Returns an array that contains all scrollbar instances */ SmoothScrollbar.getAll = function () { return Array.from(scrollbarMap.values()); }; /** * Removes scrollbar on the given element */ SmoothScrollbar.destroy = function (elem) { var scrollbar = scrollbarMap.get(elem); if (scrollbar) { scrollbar.destroy(); } }; /** * Removes all scrollbar instances from current document */ SmoothScrollbar.destroyAll = function () { scrollbarMap.forEach(function (scrollbar) { scrollbar.destroy(); }); }; /** * Attaches plugins to scrollbars * * @param ...Plugins Scrollbar plugin classes */ SmoothScrollbar.use = function () { var Plugins = []; for (var _i = 0; _i < arguments.length; _i++) { Plugins[_i] = arguments[_i]; } return addPlugins.apply(void 0, Plugins); }; /** * Attaches default style sheets to current document. * You don't need to call this method manually unless * you removed the default styles via `Scrollbar.detachStyle()` */ SmoothScrollbar.attachStyle = function () { return attachStyle(); }; /** * Removes default styles from current document. * Use this method when you want to use your own css for scrollbars. */ SmoothScrollbar.detachStyle = function () { return detachStyle(); }; SmoothScrollbar.version = "8.7.4"; SmoothScrollbar.ScrollbarPlugin = plugin_ScrollbarPlugin; return SmoothScrollbar; }(scrollbar_Scrollbar)); /* harmony default export */ var smooth_scrollbar = (smooth_scrollbar_SmoothScrollbar); //# sourceMappingURL=index.js.map // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/message/sent_right.vue // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var sent_right = ({ props: ['messageDetail', 'receivedText', 'flag'], mounted: function mounted() { // Scrollbar.init(document.querySelector('#my-scrollbar'), { // alwaysShowTracks: true // }) } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-12d6ea73","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/message/sent_right.vue var sent_right_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sent-right",attrs:{"id":"my-scrollbar"}},[_c('div',{staticClass:"title"},[_vm._v("\n "+_vm._s(_vm.messageDetail.title)+"\n ")]),_vm._v(" "),_c('div',{staticClass:"times"},[_vm._v("\n "+_vm._s(this.$moment.unix(_vm.messageDetail.updated_at-0).format('YYYY-MM-DD HH:mm:ss'))+"\n ")]),_vm._v(" "),_c('div',{staticClass:"content",domProps:{"innerHTML":_vm._s(_vm.messageDetail.content)}}),_vm._v(" "),_vm._l((_vm.receivedText),function(item,index){return _c('div',{key:index},[(_vm.flag)?_c('div',{staticClass:"huifu-title"},[_vm._v("\n 网站回å¤ï¼š\n ")]):_vm._e(),_vm._v(" "),(_vm.flag)?_c('div',{staticClass:"huifu-content"},[_vm._v("\n "+_vm._s(item.content)+"\n ")]):_vm._e()])})],2)} var sent_right_staticRenderFns = [] var sent_right_esExports = { render: sent_right_render, staticRenderFns: sent_right_staticRenderFns } /* harmony default export */ var message_sent_right = (sent_right_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/message/sent_right.vue function sent_right_injectStyle (ssrContext) { __webpack_require__("2ozg") } var sent_right_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var sent_right___vue_template_functional__ = false /* styles */ var sent_right___vue_styles__ = sent_right_injectStyle /* scopeId */ var sent_right___vue_scopeId__ = null /* moduleIdentifier (server only) */ var sent_right___vue_module_identifier__ = null var sent_right_Component = sent_right_normalizeComponent( sent_right, message_sent_right, sent_right___vue_template_functional__, sent_right___vue_styles__, sent_right___vue_scopeId__, sent_right___vue_module_identifier__ ) /* harmony default export */ var personals_message_sent_right = (sent_right_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/message/sent.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // function sent_getMyDay(date) { var week; if (date == 1) week = "周一"; if (date == 2) week = "周二"; if (date == 3) week = "周三"; if (date == 4) week = "周四"; if (date == 5) week = "周五"; if (date == 6) week = "周å…"; if (date == 0) week = "周日"; return week; } /* harmony default export */ var sent = ({ data: function data() { return { messageData: [], contentActive: 0, messageDetail: {}, total: "", i: 1, flag: false, receivedText: [] }; }, methods: { getmessage: function getmessage() { var _this = this; this.$store.commit("loading", true); this.$http.post(this.$HOST_NAME + "/member/messageReceived", { page: this.i, prePage: 5 }).then(function (res) { if (res.code == 200) { if (res.data.data.length > 0) { res.data.data.forEach(function (v) { v.updated_at = v.send_time; v.day = sent_getMyDay(_this.$moment.unix(v.send_time - 0).format("d")); v.send_time = _this.$moment.unix(v.send_time - 0).format("MM-DD"); }); _this.messageData = res.data.data; _this.id = res.data.data[0].id; _this.total = res.data.total; _this.messageDetail = res.data.data[0]; } _this.$store.commit("loading", false); } }); }, toggle: function toggle(i, item) { this.contentActive = i; if (item.received.length !== 0) { this.receivedText = item.received; this.flag = true; this.updateMsg(item.id); if (item.received[0].status == "no") { this.messageData[i].received[0].status = "yes"; } } else { this.flag = false; } this.messageDetail = item; }, updateMsg: function updateMsg(id) { var _this2 = this; this.$postS("member/messageRead", { id: id }).then(function (res) { if (res && res.code == 200) { _this2.getUserMsg(); } }); }, getUserMsg: function getUserMsg() { var _this3 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var res; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.next = 2; return Object(public_service["b" /* getS */])("/member/messageNoticeCount"); case 2: res = _context.sent; if (res && res.data && res.code == 200) { _this3.$store.commit("mainState/getMessage", res.data); } case 4: case "end": return _context.stop(); } } }, _callee, _this3); }))(); }, hanlderPage: function hanlderPage(i) { this.i = i; this.getmessage(); } }, created: function created() { var _this4 = this; this.$nextTick(function () { _this4.getmessage(); }); }, destroyed: function destroyed() { this.$store.commit("loading", false); }, components: { sentRight: personals_message_sent_right } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-3b2a00d6","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/message/sent.vue var sent_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"preferential"},[_c('div',{staticClass:"header"},[_vm._v("\n å·²å‘ä¿¡æ¯\n ")]),_vm._v(" "),(_vm.messageData.length)?_c('div',{staticClass:"content clearfloat"},[_c('div',{staticClass:"left fl"},[_c('div',{staticClass:"left-time"}),_vm._v(" "),_vm._l((_vm.messageData),function(item,i){return _c('div',{key:i,staticClass:"row clearfloat",on:{"click":function($event){return _vm.toggle(i,item)}}},[_c('div',{staticClass:"time fl"},[_c('p',[_vm._v(_vm._s(item.send_time))]),_vm._v(" "),_c('p',[_vm._v(_vm._s(item.day))])]),_vm._v(" "),_c('span',{staticClass:"round"}),_vm._v(" "),_c('span',{staticClass:"system"},[_vm._v("\n 系统\n "),(item.received.length>0 && item.received[0].status=='no')?_c('span',{staticClass:"systemmessage"},[_vm._v(_vm._s(item.received.length))]):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"content fr",class:{contentActive:_vm.contentActive ==i}},[_c('div',{staticClass:"title"},[_vm._v(_vm._s(item.title))]),_vm._v(" "),_c('div',{staticClass:"main",domProps:{"innerHTML":_vm._s(item.content)}})])])}),_vm._v(" "),_c('div',{staticClass:"page"},[_c('Page',{attrs:{"current":_vm.i,"total":_vm.total,"size":"small","page-size":5,"styles":{fontSize:'14px'}},on:{"on-change":_vm.hanlderPage}})],1)],2),_vm._v(" "),_c('sent-right',{staticClass:"fr right",attrs:{"messageDetail":_vm.messageDetail,"receivedText":_vm.receivedText,"flag":_vm.flag}})],1):_c('div',{staticStyle:{"margin":"100px 0","text-align":"center"}},[_c('img',{attrs:{"src":"/static/public/image/userImg/no-message.png","alt":""}})])])} var sent_staticRenderFns = [] var sent_esExports = { render: sent_render, staticRenderFns: sent_staticRenderFns } /* harmony default export */ var message_sent = (sent_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/message/sent.vue function sent_injectStyle (ssrContext) { __webpack_require__("Nt1u") } var sent_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var sent___vue_template_functional__ = false /* styles */ var sent___vue_styles__ = sent_injectStyle /* scopeId */ var sent___vue_scopeId__ = "data-v-3b2a00d6" /* moduleIdentifier (server only) */ var sent___vue_module_identifier__ = null var sent_Component = sent_normalizeComponent( sent, message_sent, sent___vue_template_functional__, sent___vue_styles__, sent___vue_scopeId__, sent___vue_module_identifier__ ) /* harmony default export */ var personals_message_sent = (sent_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/discounts/self_help.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var self_help = ({ data: function data() { return { refundData: {}, // refundDetail:[], columns: [{ title: '游æˆå¹³å°', align: 'center', key: 'platformName' }, { title: '有效投注', align: 'center', key: 'validBetAmount', render: function render(h, params) { return h('div', [params.row.validBetAmount]); } }, // { // title: '返水比例', // align: 'center', // key: 'point', // render: (h, params) => { // return h('div', [params.row.point + '%']) // } // }, { title: '当日返水', align: 'center', key: 'amount', render: function render(h, params) { return h('div', [params.row.amount]); } }], data: [], columns1: [{ title: '游æˆå¹³å°', align: 'center', key: 'platformName' }, { title: '有效投注', align: 'center', key: 'validBetAmount' }, // { // title: '返水比例', // align: 'center', // key: 'point', // render: (h, params) => { // return h('div', [params.row.point + '%']) // } // }, { title: '当日返水', align: 'center', key: 'amount' }], data1: [], detail: true, datalength: 0 }; }, methods: { refund: function refund() { var _this = this; this.$getS('member/bonus/refund', { execType: 'select' }).then(function (res) { if (res.code == 200 && res.data.list.length != 0) { // let total = res.data['åˆè®¡'] // delete res.data['åˆè®¡'] // for (let key of Object.keys(res.data)) { // let vm = 0 // let am = 0 // let point = 0 // res.data[key].forEach(v => { // vm += parseFloat(v.validBetAmount) // am += parseFloat(v.amount) // point = point < v.point ? v.point : point // }) // this.data.push({ // name: key, // validBetAmount: vm, // point: point + '%', // amount: am // }) // } // this.data.push({ // name: total[0].platformName, // validBetAmount: total[0].validBetAmount, // point: '-', // amount: total[0].amount // }) _this.data = res.data.list; _this.datalength = res.data.list.length; _this.refundData = res.data; var passedRefund = _this.data.some(function (item) { return Number(item.bonusAmount) > 0; }); if (passedRefund) { _this.columns.splice(2, 0, { title: 'èµ é€è¿”æ°´', align: 'center', key: 'bonusAmount' }); } } else { _this.$store.commit('loading', false); } _this.$store.commit('loading', false); }); }, yijian: function yijian() { var _this2 = this; this.$getS('member/bonus/refund', { execType: 'execute' }).then(function (res) { if (res.code == 200) { if (res.data) { _this2.$success('总返水金é¢' + res.data.total_amount.amount); _this2.data = []; _this2.refund(); } else { _this2.$error('æš‚æ— è¿”æ°´'); } } else { _this2.$error(res.message); } }); } }, created: function created() { var _this3 = this; this.$nextTick(function () { _this3.$store.commit('loading', true); _this3.refund(); }); }, destroyed: function destroyed() { this.$store.commit('loading', false); }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-59fcbf66","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/discounts/self_help.vue var self_help_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"self-help"},[_c('div',{staticClass:"header"},[_vm._v("\n 时时返水\n ")]),_vm._v(" "),(_vm.detail)?_c('div',{staticClass:"content"},[_c('Table',{class:_vm.datalength>=9 ? 'rank':'',attrs:{"columns":_vm.columns,"data":_vm.data,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),_c('div',{staticClass:"selfHelpBtn",on:{"click":_vm.yijian}},[_vm._v("\n 时时返水\n ")]),_vm._v(" "),_c('p',{staticClass:"shuoming"},[_vm._v("\n 返水说明: 所有平å°è¿”水都是按美东时间计算,会员å¯éšæ—¶è¿”水。如会员未自行返水, 系统æ¯å¤©å°†è‡ªåŠ¨ä¸ºæ‚¨è¿”水。由于数æ®åŒæ¥æœ‰å»¶è¿Ÿï¼Œè¯·ä¸‹æ³¨åŽ30分钟左å³å†æ¥è¿”æ°´ï¼\n ")])],1):_c('div',{staticClass:"content"},[_c('Table',{attrs:{"columns":_vm.columns1,"data":_vm.data1,"no-data-text":"<div style='margin:100px 0;'><img src='/static/public/image/userImg/no-data.png' alt=''></div>"}}),_vm._v(" "),_c('div',{staticClass:"selfHelpBtn",on:{"click":function($event){_vm.detail = true}}},[_vm._v("\n 返回上级\n ")])],1)])} var self_help_staticRenderFns = [] var self_help_esExports = { render: self_help_render, staticRenderFns: self_help_staticRenderFns } /* harmony default export */ var discounts_self_help = (self_help_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/discounts/self_help.vue function self_help_injectStyle (ssrContext) { __webpack_require__("lJVi") } var self_help_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var self_help___vue_template_functional__ = false /* styles */ var self_help___vue_styles__ = self_help_injectStyle /* scopeId */ var self_help___vue_scopeId__ = null /* moduleIdentifier (server only) */ var self_help___vue_module_identifier__ = null var self_help_Component = self_help_normalizeComponent( self_help, discounts_self_help, self_help___vue_template_functional__, self_help___vue_styles__, self_help___vue_scopeId__, self_help___vue_module_identifier__ ) /* harmony default export */ var personals_discounts_self_help = (self_help_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/payActivityModal.vue // // // // // // // // // // // // // // // // // // // /* harmony default export */ var payActivityModal = ({ data: function data() { return {}; }, methods: { hide: function hide() { this.$store.commit('setShowRechargeChannel', false); }, changeHandle: function changeHandle() { var _this = this; var bankInfo = this.$store.state.personal.itemDatas; if (this.$store.state.personal.showRechargeChannel) { this.$store.dispatch('game/payActivityGet', { id: bankInfo.id, device: 'pc' }).then(function (res) { if (res.code === 200) { if (res.data.code === 200) { _this.$errorAlert('领å–æˆåŠŸ', "warn"); } else { _this.$errorAlert(res.data.msg, 'warn'); } setTimeout(function () { _this.checkHandle(bankInfo); }, 1500); } else { _this.$errorAlert(res.message, 'warn'); setTimeout(function () { _this.checkHandle(bankInfo); }, 1500); } }); } else { this.checkHandle(bankInfo); } }, checkHandle: function checkHandle(bankInfo) { var bankList = this.$store.state.personal.paymentAll; var bankIdList = []; var channelIdList = [bankInfo.jump1, bankInfo.jump2, bankInfo.jump3]; bankList.forEach(function (item) { bankIdList.push(item.id); }); var channelList = channelIdList.filter(function (x) { return bankIdList.includes(x); }); if (channelList.length) { this.$emit('refreshList', channelList); this.hide(); } else { this.hide(); this.$errorAlert('当å‰æš‚æ— å¯è·³è½¬é€šé“', "warn"); } } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-2846ffc1","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/payActivityModal.vue var payActivityModal_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.$store.state.personal.showRechargeChannel)?_c('div',{staticClass:"filter"},[_c('div',{class:['content',_vm.$store.state.personal.rechargeChannelTrue ? 'true' : 'false']},[_c('img',{staticClass:"close-btn",attrs:{"src":"/static/public/image/paycheck/close.png"},on:{"click":_vm.hide}}),_vm._v(" "),(_vm.$store.state.personal.rechargeChannelTrue)?_c('div',{staticClass:"massage"},[_c('div',{staticClass:"tit"},[_vm._v("——更æ¢é€šé“å¯é¢†å–——")]),_vm._v(" "),_c('div',{staticClass:"money-box"},[_c('span',{staticClass:"money"},[_vm._v(_vm._s(_vm.$store.state.personal.rechargeChannelMoney))]),_vm._v("å…ƒ")]),_vm._v(" "),_c('p',[_vm._v("很抱æ‰ï¼å½“å‰æ”¯ä»˜é€šé“ä¸ç¨³å®š")]),_vm._v(" "),_c('p',{staticStyle:{"margin-top":"20px"}},[_vm._v("请更æ¢è‡³å…¶ä»–稳定通é“")])]):_c('div',{staticClass:"massage"},[_c('p',[_vm._v("很抱æ‰ï¼")]),_vm._v(" "),_c('p',[_vm._v("当å‰æ”¯ä»˜é€šé“ä¸ç¨³å®š")]),_vm._v(" "),_c('p',[_vm._v("请更æ¢è‡³å…¶ä»–稳定通é“")])]),_vm._v(" "),_c('img',{staticClass:"btn",attrs:{"src":"/static/public/image/paycheck/flbtn.png"},on:{"click":_vm.changeHandle}})])]):_vm._e()} var payActivityModal_staticRenderFns = [] var payActivityModal_esExports = { render: payActivityModal_render, staticRenderFns: payActivityModal_staticRenderFns } /* harmony default export */ var home_payActivityModal = (payActivityModal_esExports); // CONCATENATED MODULE: ./src/pages/public/home/payActivityModal.vue function payActivityModal_injectStyle (ssrContext) { __webpack_require__("NyNR") } var payActivityModal_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var payActivityModal___vue_template_functional__ = false /* styles */ var payActivityModal___vue_styles__ = payActivityModal_injectStyle /* scopeId */ var payActivityModal___vue_scopeId__ = "data-v-2846ffc1" /* moduleIdentifier (server only) */ var payActivityModal___vue_module_identifier__ = null var payActivityModal_Component = payActivityModal_normalizeComponent( payActivityModal, home_payActivityModal, payActivityModal___vue_template_functional__, payActivityModal___vue_styles__, payActivityModal___vue_scopeId__, payActivityModal___vue_module_identifier__ ) /* harmony default export */ var public_home_payActivityModal = (payActivityModal_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/personal-modal/payModal.vue // // // // // // // // // // // // // // /* harmony default export */ var payModal = ({ data: function data() { return {}; }, methods: { changePayment: function changePayment() { this.$store.commit('paymentModal', false); }, changeInternet: function changeInternet() { this.$store.commit('paymentModal', false); this.$emit('refreshModal'); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-3c75dcdc","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/personal-modal/payModal.vue var payModal_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.$store.state.personal.paymentModal)?_c('div',{staticClass:"filter"},[_c('div',{staticClass:"content"},[_c('div',{staticClass:"massage"},[_c('p',[_vm._v("支付已超é¢æœ€å¤§é¢åº¦"),_c('span',[_vm._v(_vm._s(_vm.$store.state.personal.paymentModalData.dailyAmount)+"å…ƒ")])]),_vm._v(" "),_c('p',[_vm._v("大é¢æŽ¨èé“¶è¡Œè½¬è´¦åŠ é€"),_c('span',[_vm._v(_vm._s(_vm.$store.state.personal.paymentModalData.bankRate)+"%")])])]),_vm._v(" "),_c('div',{staticClass:"btn"},[_c('div',{on:{"click":_vm.changePayment}},[_c('img',{attrs:{"src":_vm.$store.state.personal.paymentModalData.bal_amount<=0 ?'/static/public/image/paycheck/cance.png':'/static/public/image/paycheck/paybtn1.png',"alt":""}})]),_vm._v(" "),_c('div',{on:{"click":_vm.changeInternet}},[_c('img',{attrs:{"src":"/static/public/image/paycheck/paybtn2.png","alt":""}})])])])]):_vm._e()} var payModal_staticRenderFns = [] var payModal_esExports = { render: payModal_render, staticRenderFns: payModal_staticRenderFns } /* harmony default export */ var personal_modal_payModal = (payModal_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/personal-modal/payModal.vue function payModal_injectStyle (ssrContext) { __webpack_require__("dvLT") } var payModal_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var payModal___vue_template_functional__ = false /* styles */ var payModal___vue_styles__ = payModal_injectStyle /* scopeId */ var payModal___vue_scopeId__ = "data-v-3c75dcdc" /* moduleIdentifier (server only) */ var payModal___vue_module_identifier__ = null var payModal_Component = payModal_normalizeComponent( payModal, personal_modal_payModal, payModal___vue_template_functional__, payModal___vue_styles__, payModal___vue_scopeId__, payModal___vue_module_identifier__ ) /* harmony default export */ var personals_personal_modal_payModal = (payModal_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/personals/index.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // 充值 // 極速å˜æ¬¾ // 投注记录 // å˜æ¬¾è®°å½• // å–款记录 // ä¼˜æƒ è®°å½• // 代ç†è®°å½• // 其它记录 // import personage5 from "./personage/transaction"; // 轉帳ä¸å¿ƒ // 借呗 // å–款 // import withdraw9 from "./withdraw/Mipay/mipayRequest"; // ä»£ç† // import agency1 from './agency/agency_Report_agency' // æ¶ˆæ¯ // ä¼˜æƒ //import discounts0 from './discounts/recommend' vue_esm["default"].component("InputNumber", components_input_number); /* harmony default export */ var personals = ({ data: function data() { return { comPName: "recharge0", isAlreadyDeposit: false }; }, methods: { handleDepositType: function handleDepositType(_ref) { var _this = this; var type = _ref.type, res = _ref.res, data = _ref.data; if (type === "bank") { this.$nextTick(function () { _this.$refs.internetBank.application({ res: res, data: data }); }); } if (type === "quick") { this.$refs.quickDeposit.getDepositList(res); } }, onRefresList: function onRefresList(list) { var _this2 = this; var id = list[0]; var index = 0; var bankList = this.$store.state.personal.paymentAll; bankList.some(function (item, index) { if (item.id == id) { _this2.$refs.peronsalAside.$refs.navAll.toggle2(index, item); return true; } }); }, onRefresModal: function onRefresModal() { var _this3 = this; var bankList = this.$store.state.personal.paymentAll; bankList.some(function (item, index) { if (item.classType == "bank") { _this3.$refs.peronsalAside.$refs.navAll.toggle2(index, item); return true; } }); }, //å‘射一个函数到vuex改å˜ä¸ªäººä¸å¿ƒæ˜¾ç¤ºéšè— close: function close() { if (this.$store.state.trade.inBuyerOnOrderPayStep) { // å–消彈窗跳出 if (this.currentDepositType === 0) { this.$store.commit("trade/setIsCancelBankDeposit", true); } else { this.$store.commit("trade/setIsCancelQuickDeposit", true); } // 記ä½ä¸‹ä¸€å€‹æ¥é©Ÿç•¶ä»–按下確定å–消訂單且 訂單æˆåŠŸå–消時 è¦åŽ»çš„地方 this.$store.commit("trade/setRememberCancelQuickDepositSuccessNextStep", { actionType: "close", target: "" }); return; } this.$store.commit("showPersonal", { bool: false }); this.$store.commit("paymentDataFc", []); this.$store.commit("setItemDatas", ""); this.$store.commit("setCategoryId", ""); }, getBalance: function getBalance() { var _this4 = this; if (localStorage.token) { this.$getS("member/balance").then(function (res) { if (res.code == 200) { var userinfo = JSON.parse(localStorage.userinfo); userinfo.balance = res.data.member; userinfo.agent = res.data.agency; _this4.$store.commit("mainState/reloadUserinfo", userinfo); } }); } }, /** * * @param category 充值ã€æ款ã€å€Ÿå‘—ã€ä¸ªäººã€ä¼˜æƒ ã€ä»£ç†ã€ä¿¡æ¯ã€å®¢æœ * @param item 第二层的资料 * 个人ä¸å¿ƒæ–°å¤„ç†æ–¹æ³•ï¼Œæ‰€æœ‰çŠ¶å†µè¯·æ”¾è¿™è¾¹å¤„ç†ã€‚ */ displayV2: function displayV2(category, item) { if ((typeof item === "undefined" ? "undefined" : typeof_default()(item)) === "object") { // 新方法, item 是个物件。 if (category == "withdraw") { this.$store.commit("setIsBookingWithdrawal", false); this.$store.commit("setWithdrawalType", item.type); switch (item.type) { case "history": this.comPName = "withdraw0"; break; case "normal": case "ebaoWithdrawalsFast": this.comPName = "withdraw1"; if (item.name) { this.$store.commit("setWithdrawalTitle", item.name); } break; case "mipay": this.comPName = "withdraw8"; // Mipay if (item.name) { this.$store.commit("setWithdrawalTitle", item.name); } break; case "thirdWallet": this.comPName = "withdraw10"; // 錢包å–款 if (item.name) { this.$store.commit("setWithdrawalTitle", item.name); } break; case "usdt": this.comPName = "withdraw2"; if (item.name) { this.$store.commit("setWithdrawalTitle", item.name); } break; case "alipay": this.comPName = "withdraw11"; // Alipay if (item.name) { this.$store.commit("setWithdrawalTitle", item.name); } break; case "upayhutong": this.comPName = "withdraw13"; if (item.name) { this.$store.commit("setWithdrawalTitle", item.name); } break; case "booking": this.$store.commit("setIsBookingWithdrawal", true); if (item.list && item.list.length > 0) { if (item.list[0].type == "bank" || item.subType && item.subType == "bank") { this.comPName = "withdraw1"; } else if (item.list[0].type == "usdt" || item.subType && item.subType == "usdt") { this.comPName = "withdraw2"; } this.$store.commit("setWithdrawalTitle", item.name); } else if (item.subType) { // 从å–款页é¢æ¥çš„,åªæœ‰ type & subType if (item.subType == "bank") { this.comPName = "withdraw1"; } else if (item.subType == "usdt") { this.comPName = "withdraw2"; } } break; case "addBank": this.comPName = "withdraw4"; break; case "addUsdt": this.comPName = "withdraw6"; break; case "addMipay": this.comPName = "withdraw7"; // ç¶å®šMipay break; case "addThirdWallet": this.comPName = "withdraw9"; // ç¶å®šéŒ¢åŒ… break; case "addAlipay": this.comPName = "withdraw12"; // ç¶å®šAlipay break; } } } else { // è€æ–¹æ³•ï¼Œ item 就是个数å—。 this.comPName = category + item; } } }, created: function created() { this.displayV2(this.$store.state.personal.contentView, this.$store.state.personal.navView); this.getBalance(); }, mounted: function mounted() {}, computed: { ifPersonal: function ifPersonal() { return this.$store.state.personal.isPersonal; }, contentView: function contentView() { return this.$store.state.personal.contentView; }, navView: function navView() { return this.$store.state.personal.navView; }, loadingShow: function loadingShow() { return this.$store.state.personal.loadingShow; }, ifperincome: function ifperincome() { return this.$store.state.personal.ispericome; }, itemDatas: function itemDatas() { // 修改1 return this.$store.state.personal.itemDatas; }, currentDepositType: function currentDepositType() { return this.$store.state.trade.currentDepositType; } }, watch: { navView: { handler: function handler(val, oldVal) { if (this.contentView == "recharge") { // let navView = this.$store.state.personal.navView; // let className = this.$store.state.personal.itemDatas.className; // 修改2 if (this.itemDatas.classType == "bank") this.comPName = this.contentView + 0;else if (this.itemDatas.classType == "paymentServiceLink") this.comPName = this.contentView + 2;else if (this.itemDatas.classType == "virtual") this.comPName = this.contentView + 3;else if (this.itemDatas.classType === "e_quick_deposit") { this.comPName = this.contentView + 4; } else this.comPName = this.contentView + 1; } else if (this.contentView == "withdraw" && (typeof val === "undefined" ? "undefined" : typeof_default()(val)) === "object") { this.displayV2(this.contentView, val); } else { this.comPName = this.$store.state.personal.contentView + this.$store.state.personal.navView; } }, deep: true }, contentView: { handler: function handler(val, oldVal) { if (this.contentView == "recharge") { // 修改3 if (this.itemDatas.classType == "bank") this.comPName = this.contentView + 0;else if (this.itemDatas.classType == "paymentServiceLink") this.comPName = this.contentView + 2;else if (this.itemDatas.classType == "virtual") this.comPName = this.contentView + 3;else if (this.itemDatas.classType === "e_quick_deposit") { this.comPName = this.contentView + 4; } else this.comPName = this.contentView + 1; } else if (typeof_default()(this.$store.state.personal.navView) === "object") { this.displayV2(this.$store.state.personal.contentView, this.$store.state.personal.navView); } else { this.comPName = this.$store.state.personal.contentView + this.$store.state.personal.navView; } }, deep: true }, itemDatas: { handler: function handler(val, oldVal) { // 修改4 if (this.contentView == "recharge") { if (this.itemDatas.classType == "bank") this.comPName = this.contentView + 0;else if (this.itemDatas.classType == "paymentServiceLink") this.comPName = this.contentView + 2;else if (this.itemDatas.classType == "virtual") this.comPName = this.contentView + 3;else if (this.itemDatas.classType === "e_quick_deposit") { this.comPName = this.contentView + 4; } else this.comPName = this.contentView + 1; } } } }, components: { peronsalAside: public_personals_personal_aside, recharge0: personals_recharge_Internetbank, recharge1: personals_recharge_onLine, recharge2: personals_recharge_manual, recharge3: personals_recharge_usdtTransfer, recharge4: public_personals_recharge_quickDeposit, personage0: personals_personage_report, personage1: personals_personage_my_info, personage2: personals_personage_betrecord, personage3: personals_personage_deposit, personage4: personals_personage_withdrawal, personage5: personals_personage_discounts, personage6: personals_personage_agency, personage7: public_personals_personage_other, personage8: personals_personage_safety, transfer0: personals_personage_transferCenter, withdraw0: public_personals_withdraw_record, withdraw1: personals_withdraw_request, withdraw2: personals_withdraw_usdtRequest, withdraw3: personals_withdraw_ebaoRequest, withdraw4: personals_withdraw_binding, withdraw5: personals_withdraw_bindEbao, withdraw6: personals_withdraw_bindUsdt, withdraw7: withdraw_Mipay_bindMi, withdraw8: withdraw_Mipay_mipayRequest, withdraw9: withdraw_Mipay_bindThirdWallet, withdraw10: withdraw_Mipay_thirdWalletRequest, withdraw11: withdraw_alipay_alipayRequest, withdraw12: withdraw_alipay_bindAlipay, withdraw13: personals_withdraw_upayRequest, agency0: personals_agency_agency_income, agency1: public_personals_agency_report, agency2: personals_agency_agency_repot, agency3: personals_agency_agency_open, agency4: personals_agency_agency_list, agency5: personals_agency_agency_nextfinance, agency6: personals_agency_agency_people, message0: personals_message_preferential, message1: personals_message_write, message2: personals_message_sent, discounts0: personals_discounts_self_help, payModal: public_home_payActivityModal, // discounts1 borrowMoney0: personals_JieBei_freeMoney, borrowMoney1: personals_JieBei_borrowMoney, borrowMoney2: personals_JieBei_repayMoney, borrowMoney3: personals_JieBei_borrowQuota, borrowMoney4: personals_JieBei_borrowRecord, // 充值æ示弹框 rechargeLog: personals_recharge_rechargeLog, paymentModal: personals_personal_modal_payModal }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-f9b8fb7c","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/personals/index.vue var personals_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.ifPersonal)?_c('div',[_c('div',{staticClass:"peronsals"},[_c('div',{staticClass:"peronsals-content"},[_c('peronsal-aside',{ref:"peronsalAside",staticClass:"peronsal-aside"}),_vm._v(" "),_c('div',{staticClass:"vp-admin-wrap-close",on:{"click":_vm.close}},[_vm._m(0)]),_vm._v(" "),(!['recharge4', 'recharge0'].includes(_vm.comPName))?_c(_vm.comPName,{tag:"component"}):_vm._e(),_vm._v(" "),(['recharge4'].includes(_vm.comPName))?_c('recharge4',{ref:"quickDeposit",on:{"handleDepositType":_vm.handleDepositType}}):_vm._e(),_vm._v(" "),(['recharge0'].includes(_vm.comPName))?_c('recharge0',{ref:"internetBank"}):_vm._e(),_vm._v(" "),(_vm.loadingShow)?_c('div',{ref:"loading",staticClass:"loading"},[_c('p',[_vm._v("æ•°æ®åŠ è½½ä¸...")]),_vm._v(" "),_c('svg',{staticClass:"waves",attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"1366","height":"312","viewBox":"0 24 150 28","preserveAspectRatio":"none"}},[_c('defs',[_c('path',{attrs:{"id":"wave-taHGs","d":"m -160,44.4 c 30,0 58,-18 87.7,-18 30.3,0 58.3,18 87.3,18 30,0 58,-18 88,-18 30,0 58,18 88,18 l 0,34.5 -351,0 z"}}),_vm._v(" "),_c('linearGradient',{attrs:{"id":"a1-taHGs"}},[_c('stop',{attrs:{"offset":"0%","stop-color":"#ffe400","stop-opacity":"0.1"}}),_vm._v(" "),_c('stop',{attrs:{"offset":"15%","stop-color":"#ffe1bc","stop-opacity":"0.25"}}),_vm._v(" "),_c('stop',{attrs:{"offset":"60%","stop-color":"#ff9898","stop-opacity":"0.02"}}),_vm._v(" "),_c('stop',{attrs:{"offset":"100%","stop-color":"#fece31","stop-opacity":"0.02"}})],1),_vm._v(" "),_c('linearGradient',{attrs:{"id":"b1-taHGs","x1":"0","y1":"0","x2":"0","y2":"1","href":"#a1-taHGs"}}),_vm._v(" "),_c('linearGradient',{attrs:{"id":"b2-taHGs","x1":"0","y1":"0","x2":"0","y2":"1","href":"#a1-taHGs"}}),_vm._v(" "),_c('linearGradient',{attrs:{"id":"b3-taHGs","x1":"0","y1":"0","x2":"0","y2":"1","href":"#a1-taHGs"}})],1),_vm._v(" "),_c('g',[_c('use',{staticClass:"speed-1",attrs:{"href":"#wave-taHGs","x":"80","y":"-2","fill":"url(#b1-taHGs)","transform":"scale(1.5,1)"}}),_vm._v(" "),_c('use',{staticClass:"speed-2",attrs:{"href":"#wave-taHGs","x":"-10","y":"4","fill":"url(#b2-taHGs)","transform":"scale(1.5,1)"}}),_vm._v(" "),_c('use',{staticClass:"speed-3",attrs:{"href":"#wave-taHGs","x":"70","y":"8","fill":"url(#b3-taHGs)","transform":"scale(1.5,0.5)"}}),_vm._v(" "),_c('use',{staticClass:"speed-4",attrs:{"href":"#wave-taHGs","x":"80","y":"-2","fill":"url(#b3-taHGs)","transform":"scale(1.5,0.5)"}})])])]):_vm._e()],1)]),_vm._v(" "),_c('div',{staticClass:"zhie"}),_vm._v(" "),_c('payModal',{on:{"refreshList":_vm.onRefresList}}),_vm._v(" "),_c('rechargeLog'),_vm._v(" "),_c('paymentModal',{on:{"refreshModal":_vm.onRefresModal}})],1):_vm._e()} var personals_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"vp-admin-wrap-close-empty"},[_c('a')])}] var personals_esExports = { render: personals_render, staticRenderFns: personals_staticRenderFns } /* harmony default export */ var public_personals = (personals_esExports); // CONCATENATED MODULE: ./src/pages/public/personals/index.vue function personals_injectStyle (ssrContext) { __webpack_require__("oaQl") } var personals_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var personals___vue_template_functional__ = false /* styles */ var personals___vue_styles__ = personals_injectStyle /* scopeId */ var personals___vue_scopeId__ = null /* moduleIdentifier (server only) */ var personals___vue_module_identifier__ = null var personals_Component = personals_normalizeComponent( personals, public_personals, personals___vue_template_functional__, personals___vue_styles__, personals___vue_scopeId__, personals___vue_module_identifier__ ) /* harmony default export */ var pages_public_personals = (personals_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/newcommon.vue // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var newcommon = ({ props: { poptype: { type: String } }, data: function data() { return { isTest: false, popoutObj: { client_type: "PC" }, popups: "", imgsrc: "", showPopout: false, description: "text", showimg: false, loadedImg: false }; }, methods: { mcClose: function mcClose() { this.showimg = false; }, getPosition: function getPosition() { var appears_location = ""; var bounce_location = ""; var fullPath = this.$router.currentRoute.path; // 是å¦é¦–页 if (fullPath == "/home") { this.popoutObj.appears_location = 1; } else if (fullPath.includes("/home/live") || fullPath.includes("/home/games") || fullPath.includes("/home/buyu") || fullPath.includes("/home/tiyu") || fullPath.includes("/home/chess") || fullPath.includes("/home/sport") || fullPath.includes("/home/qipai") || fullPath.includes("/home/caipiao")) { this.popoutObj.appears_location = 2; } else { // éžæ¸¸æˆé¡µé¢å’Œé¦–页 this.popoutObj.appears_location = 3; } // 是å¦ç™»å½• if (localStorage.token) { // å˜åœ¨è¡¨ç¤ºç™»å½•åŽ this.popoutObj.bounce_location = 2; } else { // ç™»å½•å‰ this.popoutObj.bounce_location = 1; } }, getPopout1: function getPopout1() { var _this = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var res, hasContent, is_appears_location; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _this.getPosition(); if (!(_this.popoutObj.appears_location == 3)) { _context.next = 3; break; } return _context.abrupt("return", false); case 3: _context.next = 5; return _this.$http.post(_this.$HOST_NAME + "/site/newNotice", { type: 'popups', client_type: _this.popoutObj.client_type, appears_location: _this.popoutObj.appears_location, bounce_location: _this.popoutObj.bounce_location }); case 5: res = _context.sent; // æ¢ä¸€ç§å†™æ³• hasContent = false; if (!(res && res.code == 200)) { _context.next = 11; break; } if (res.data.data.length) { _this.description = res.data.data[0].desc_format_type; hasContent = true; if (localStorage.token && _this.popoutObj.appears_location == 1) { _this.$store.state.mainState.showDialog.home.login = false; } else if (!localStorage.token && _this.popoutObj.appears_location == 1) { _this.$store.state.mainState.showDialog.home.noLogin = false; } else if (localStorage.token && _this.popoutObj.appears_location == 2) { _this.$store.state.mainState.showDialog.game.login = false; } else if (!localStorage.token && _this.popoutObj.appears_location == 2) { _this.$store.state.mainState.showDialog.game.noLogin = false; } } _context.next = 12; break; case 11: return _context.abrupt("return", false); case 12: is_appears_location = false; // 判æ–登录状æ€æŒ‰é’® if (!hasContent) { _context.next = 19; break; } if (res.data.data[0] && res.data.data[0].description) { _this.popups = res.data.data[0].description; } else { _this.imgsrc = res.data.data[0].pc_pic; } _this.$store.commit('mainState/resetPour', true); if (res.data.data[0].appears_location == _this.popoutObj.appears_location) { is_appears_location = true; } _context.next = 20; break; case 19: return _context.abrupt("return", false); case 20: if (is_appears_location) { // 登录状æ€ä¸€ç›´ if (res.data.data[0].bounce_location != 3) { // 返回数æ®æ˜¾ç¤ºï¼Œå¹¶éžæ˜¯ä¸é™åˆ¶ç™»å½•ï¼Œéƒ½è¦å¼¹å‡ºï¼ˆç™»å½•å‰å’Œç™»å½•åŽï¼Œéƒ½è¦ï¼‰ if (res.data.data[0].bounce_location == res.data.data[0].bounce_location) { // 表示符åˆåŽå°è¿”回的情况,弹出 if (_this.description == "text") { _this.showPopout = true; } else { _this.showimg = true; } } else { // ä¸ç¬¦åˆï¼Œä¸å¼¹å‡º if (_this.description == "text") { _this.showPopout = false; } else { _this.showimg = false; } } } else { // ä¸é™åˆ¶ï¼Œéƒ½è¦å¼¹å‡º if (_this.description == "text") { _this.showPopout = true; } else { _this.showimg = true; } } } else { // 当å‰é¡µå’ŒåŽå°è¿”回的页é¢ä¸ä¸€è‡´ï¼ˆä¸»è¦åˆ¤æ–是å¦æ˜¯æ¸¸æˆé¡µé¢å’Œé¦–页), if (res.data.data[0].appears_location == "1,2") { // 所有页é¢éƒ½è¦å¼¹å‡º if (_this.description == "text") { _this.showPopout = true; } else { _this.showimg = true; } } else { // ä¸å¼¹ if (_this.description == "text") { _this.showPopout = true; } else { _this.showimg = true; } } } case 21: case "end": return _context.stop(); } } }, _callee, _this); }))(); } }, created: function created() { var _dalaDog = this.dalaDog, game = _dalaDog.game, home = _dalaDog.home; if (game.login && game.noLogin && home.login && home.noLogin) { if (!localStorage.register) { this.getPopout1(); } } }, mounted: function mounted() {}, computed: { dalaDog: function dalaDog() { return this.$store.state.mainState.showDialog; } }, watch: { $route: function $route(nVal, oVal) { var _dalaDog2 = this.dalaDog, game = _dalaDog2.game, home = _dalaDog2.home; if (nVal.path == "/home" && !oVal.path.includes("/plays/hall") && !oVal.path.includes("/rules")) { if (home.login && home.noLogin) { this.getPopout1(); } } if (nVal.path == "/home/qipai" || nVal.path == "/home/tiyu" || nVal.path == "/home/live" || nVal.path == "/home/buyu" || nVal.path.includes("/home/games")) { if (game.login && game.noLogin) { this.getPopout1(); } } }, showimg: function showimg(nVal, oVal) { if (nVal == true) { var img = this.$refs.loadImg; var that = this; img.onload = function () { that.$store.commit('home/changeIoadedImg', true); }; } } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-2828bc7c","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/newcommon.vue var newcommon_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showPopout),expression:"showPopout"}],staticClass:"newBox"},[_c('div',{staticClass:"pop-img",class:['pop_'+_vm.poptype]},[_c('img',{attrs:{"src":'/static/public/image/modal/'+_vm.poptype+'.png',"alt":""}}),_vm._v(" "),_c('div',{class:['desprite','desprite_'+_vm.poptype]},[_c('span',{domProps:{"innerHTML":_vm._s(_vm.popups)}})]),_vm._v(" "),_c('div',{class:['close','close_'+_vm.poptype],on:{"click":function($event){_vm.showPopout=false}}})])]),_vm._v(" "),_c('div',{staticStyle:{"text-align":"center"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showimg && _vm.$store.state.home.loadedImg),expression:"showimg && $store.state.home.loadedImg"}],staticClass:"mcBox"},[_c('span',{staticClass:"cellSpan"}),_vm._v(" "),_c('div',{staticClass:"cellContent"},[_c('span',{staticStyle:{"position":"absolute","right":"0px","top":"0","width":"70px","height":"70px","cursor":"pointer"},on:{"click":_vm.mcClose}}),_vm._v(" "),_c('a',{attrs:{"href":"javascript:void(0)"}},[_c('img',{ref:"loadImg",attrs:{"src":_vm.imgsrc,"alt":""}})])])])])])} var newcommon_staticRenderFns = [] var newcommon_esExports = { render: newcommon_render, staticRenderFns: newcommon_staticRenderFns } /* harmony default export */ var home_newcommon = (newcommon_esExports); // CONCATENATED MODULE: ./src/pages/public/home/newcommon.vue function newcommon_injectStyle (ssrContext) { __webpack_require__("Zb+n") } var newcommon_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var newcommon___vue_template_functional__ = false /* styles */ var newcommon___vue_styles__ = newcommon_injectStyle /* scopeId */ var newcommon___vue_scopeId__ = "data-v-2828bc7c" /* moduleIdentifier (server only) */ var newcommon___vue_module_identifier__ = null var newcommon_Component = newcommon_normalizeComponent( newcommon, home_newcommon, newcommon___vue_template_functional__, newcommon___vue_styles__, newcommon___vue_scopeId__, newcommon___vue_module_identifier__ ) /* harmony default export */ var public_home_newcommon = (newcommon_Component.exports); // EXTERNAL MODULE: ./node_modules/url/url.js var url_url = __webpack_require__("UZ5h"); var url_default = /*#__PURE__*/__webpack_require__.n(url_url); // CONCATENATED MODULE: ./src/pages/public/homeMeans/index.js var homeMeans_timer = void 0; var mixin = { data: function data() { return {}; }, mounted: function mounted() {}, methods: { recalc: function recalc() { this.init(); }, init: function init() { // æ‰‹æœºé€‚é… if (this.dPcOrMobile() == 'iphone') { document.querySelector('body').style.minHeight = 2420 + 'px'; } else { document.querySelector('body').style.minHeight = 'auto'; } }, getBalance: function getBalance() { var _this = this; if (localStorage.token && window.vis) { this.$getS("member/balance").then(function (res) { if (res.code == 200) { var userinfo = JSON.parse(localStorage.userinfo); userinfo.balance = res.data.member; userinfo.agent = res.data.agency; _this.$store.commit('mainState/reloadUserinfo', userinfo); } }); } }, getUserMsg: function getUserMsg() { var _this2 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var res; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.next = 2; return Object(public_service["b" /* getS */])("/member/messageNoticeCount"); case 2: res = _context.sent; if (res && res.data && res.code == 200) { _this2.$store.commit('mainState/getMessage', res.data); } case 4: case "end": return _context.stop(); } } }, _callee, _this2); }))(); }, getDigitroll: function getDigitroll() { var _this3 = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee2() { return regenerator_default.a.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: Object(public_service["b" /* getS */])("prizePool").then(function (res) { if (res && res.code == 200) { _this3.$store.commit('mainState/prizeArray', res.data); } }); case 1: case "end": return _context2.stop(); } } }, _callee2, _this3); }))(); }, getRedLope: function getRedLope() { // 新春紅包ä¸é™ç«™é»žï¼Œç›®å‰åªæœƒåŒæ™‚有(棋牌/金管家)其ä¸ä¸€å€‹ç´…包,jgjHasMoreRedLope 都是 false if (['xpj80', 'xpj102', 'vnso', 'tyc82'].includes(this.$websiteName)) { if (this.$store.state.home.jgjHasMoreRedLope) { // 如果紅包陣列長度超éŽä¸€é …目,shiftæŽ‰ä¸€é …ç›®å†è·‘一次紅包 var params = this.$store.state.home.jgjRedLopeStorage; var fistElement = params.shift(); this.$store.commit('home/getJgjRedLopeStorage', params); this.$store.commit('home/getisRedLop', true); } else { // 棋牌+金管家紅包 this.getShouyeHongbao(); } } else { this.getShouyeHongbao(); } }, getShouyeHongbao: function getShouyeHongbao() { var _this4 = this; this.$store.dispatch('home/getShouyeHongbao').then(function (res) { if (res.code === 200) { var params = []; var gift_money = 0; var send_type = null; // qipai && jinguanjia åªæœƒæœ‰å…¶ä¸€ if (keys_default()(res.data.qipai).length > 0) { send_type = res.data.qipai.send_type; gift_money = res.data.qipai.gift_money; params.push({ id: send_type === 3 ? '900002' : res.data.qipai.id, gift_money: res.data.qipai.gift_money, send_type: res.data.qipai.send_type }); } if (keys_default()(res.data.jinguanjia).length > 0 && res.data.jinguanjia.has_envelop) { send_type = res.data.jinguanjia.send_type; gift_money = res.data.jinguanjia.gift_money; params.push({ id: send_type === 3 ? '900002' : res.data.jinguanjia.id, gift_money: res.data.jinguanjia.gift_money, has_envelop: res.data.jinguanjia.has_envelop, send_type: res.data.jinguanjia.send_type }); } _this4.$store.commit('home/getJgjRedLopeStorage', params); _this4.$store.commit('home/getRedLopeMoney', gift_money); _this4.$store.commit('home/getisRedLop', true); _this4.$store.commit('home/getRedLopeType', send_type); if (send_type === 3) { _this4.$store.commit('home/setIsSpringFestivalActivity', true); } } }); }, JiebeiInfo: function JiebeiInfo() { var _this5 = this; if (stringify_default()(this.$store.state.game.jieBeiData) === '{}') { this.$store.dispatch('game/activityJiebeiJieHuanInfo').then(function (res) { if (res.code === 200) _this5.$store.commit("game/setJieBeiData", res.data); }).catch(function () {}); } } }, created: function created() { var _this6 = this; this.$store.commit('home/isImgortg', JSON.parse(localStorage.config).VerificationCode.pc[0]); this.$store.commit('home/usdtWithdrawalsRate', JSON.parse(localStorage.config).limit.usdtWithdrawalsRate); this.$store.commit('home/ebaoConfig', JSON.parse(localStorage.config).ebao); this.getDigitroll(); if (!window.balanceTask) window.balanceTask = this.getBalance.bind(this); this.$http.get(this.$HOST_NAME + "/games/list").then(function (res) { if (res.code == 200) { localStorage.setItem('gameList', stringify_default()(res.data)); } }); if (localStorage.token) { this.getUserMsg(); this.JiebeiInfo(); setTimeout(function () { _this6.getRedLope(); }, 3000); } clearInterval(homeMeans_timer); homeMeans_timer = setInterval(this.getBalance, 15000); document.addEventListener('visibilitychange', function () { if (document.visibilityState == 'hidden') { _this6.$store.commit('mainState/changvisibStatus', false); clearInterval(homeMeans_timer); } else if (document.visibilityState == 'visible') { _this6.$store.commit('mainState/changvisibStatus', true); homeMeans_timer = setInterval(_this6.getBalance, 15000); if (_this6.userinfo !== null && !localStorage.token) { window.location.href = "/"; } } }); }, computed: { userinfo: function userinfo() { return this.$store.state.mainState.userinfo; }, ifPersonal: function ifPersonal() { return this.$store.state.personal.isPersonal; } }, watch: { ifPersonal: function ifPersonal(newVal, oldVal) { var _this7 = this; if (localStorage.token) { this.getUserMsg(); if (newVal) { setTimeout(function () { _this7.getRedLope(); }, 2000); } } }, $route: function $route(val, oldVal) { var _this8 = this; if (val.path.includes("/home") || val.path == '/plays/hall') { if (localStorage.token) { setTimeout(function () { _this8.getRedLope(); }, 3000); } } } }, store: store["a" /* default */] }; /* harmony default export */ var homeMeans = (mixin); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/showcommon.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var showcommon = ({ props: { showtype: { type: Object } }, data: function data() { return { popoutObj: { client_type: "PC" }, dataList: [], thisPage: 1, totalPage: 1, lanternData: {}, colorPrev: '', //上一页改å˜çš„颜色 colorNext: '', //下一页改å˜çš„颜色 classType: '', //ç‰¹æ®Šæ ·å¼ ulHeight: null }; }, methods: { //获å–åˆé¡µæ•°æ® getAllDatas: function getAllDatas() { var _this = this; return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { var res; return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.next = 2; return _this.$http.post(_this.$HOST_NAME + '/site/newNotice', { type: "lantern", client_type: "PC", limit: 1000, page: 1 }); case 2: res = _context.sent; if (res && res.code === 200) { _this.lanternData = res.data; if (_this.lanternData.data.length) { _this.dataList = _this.lanternData.data; } } case 4: case 'end': return _context.stop(); } } }, _callee, _this); }))(); }, //上一页 goPrev: function goPrev() { var box = this.$refs.searchBar; var boxHeight = this.$refs.searchBar.clientHeight; //视å£çš„高度 if (this.thisPage > 1 && this.totalPage > 1) { this.thisPage--; if (this.thisPage == 1) { this.$refs.searchBar.scrollTo(0, 0); } else { this.$refs.searchBar.scrollTo(0, (this.thisPage - 1) * boxHeight); } } else { return false; } }, //下一页 goNext: function goNext() { var box = this.$refs.searchBar; var boxHeight = this.$refs.searchBar.clientHeight; //视å£çš„高度 if (this.thisPage < this.totalPage && this.totalPage > 1) { this.thisPage++; if (this.thisPage == 1) { this.$refs.searchBar.scrollTo(0, 0); } else { this.$refs.searchBar.scrollTo(0, (this.thisPage - 1) * boxHeight); } } else { return false; } }, //监å¬æ»šåŠ¨ handleScroll: function handleScroll() { var height = this.$refs.textBoxBar.offsetHeight; // 文档的总高度 var boxTop = this.$refs.searchBar.scrollTop; //滚动æ¡çš„滚动è·ç¦» var boxHeight = this.$refs.searchBar.clientHeight; //视å£çš„高度 if (height / boxHeight < 1) { this.totalPage = 1; } else { this.totalPage = Math.ceil(height / boxHeight); } if (boxTop == 0) { this.thisPage = 1; } else { this.thisPage = Math.ceil(boxTop / boxHeight) + 1; } }, mOver: function mOver(i) { if (i == 1) { this.colorPrev = this.showtype.textColor; } else { this.colorNext = this.showtype.textColor; } }, mOut: function mOut(i) { if (i == 1) { this.colorPrev = ''; } else { this.colorNext = ''; } }, focusData: function focusData() { if (this.onFocusData) { return false; } else { this.onFocusData = false; var height = this.$refs.textBoxBar.offsetHeight; var boxHeight = this.$refs.searchBar.clientHeight; if (height / boxHeight <= 1) { this.totalPage = 1; } else { this.totalPage = Math.ceil(height / boxHeight); } this.ulHeight = this.totalPage * boxHeight + 'px'; } } }, created: function created() { this.getAllDatas(); }, mounted: function mounted() { if (this.showtype.classType) { this.classType = this.showtype.classType; } this.$nextTick(function () { this.$refs.searchBar.addEventListener('scroll', this.handleScroll); }); }, //是å¦å±•ç¤ºå…¬å‘Šåˆ—表 computed: { tipDatas: function tipDatas() { return this.$store.state.alert.showtextip; } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-33a19400","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/showcommon.vue var showcommon_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.tipDatas.bool),expression:"tipDatas.bool"}],staticClass:"newBox",on:{"mouseover":function($event){return _vm.focusData()}}},[_c('div',{class:[_vm.classType,'pop-img']},[_c('div',{staticClass:"top_img"},[_c('img',{attrs:{"src":'/static/public/image/modal_top/'+_vm.showtype.topImg+'.png',"alt":""}})]),_vm._v(" "),_c('div',{ref:"searchBar",attrs:{"id":"show_box"}},[_c('ul',{ref:"textBoxBar",style:({height: _vm.ulHeight}),attrs:{"id":"show_textBox"}},_vm._l((_vm.dataList),function(item,index){return _c('li',{key:index},[_c('p',[_vm._v(_vm._s((index+1)+" . "+item.description))]),_vm._v(" "),_c('div',{staticClass:"border_line"})])}),0)]),_vm._v(" "),_c('div',{class:['close'],on:{"click":function($event){_vm.tipDatas.bool=false}}},[_c('img',{attrs:{"src":'/static/public/image/modal_top/'+_vm.showtype.closeImg +'.png',"alt":""}})]),_vm._v(" "),_c('div',{staticClass:"btnBox"},[_c('div',{staticClass:"border_line"}),_vm._v(" "),_c('div',{staticClass:"pop_btnBox"},[_c('span',{staticClass:"show_num"},[_vm._v(_vm._s(_vm.thisPage+"/"+_vm.totalPage)+" 页")]),_vm._v(" "),_c('button',{staticClass:"btn_sty shang",style:({'color':_vm.colorPrev}),on:{"click":function($event){return _vm.goPrev()},"mouseover":function($event){return _vm.mOver(1)},"mouseout":function($event){return _vm.mOut(1)}}},[_vm._v("上一页")]),_vm._v(" "),_c('button',{staticClass:"btn_sty xia",style:({'color':_vm.colorNext}),on:{"click":function($event){return _vm.goNext()},"mouseover":function($event){return _vm.mOver(2)},"mouseout":function($event){return _vm.mOut(2)}}},[_vm._v("下一页")])])])])])])} var showcommon_staticRenderFns = [] var showcommon_esExports = { render: showcommon_render, staticRenderFns: showcommon_staticRenderFns } /* harmony default export */ var home_showcommon = (showcommon_esExports); // CONCATENATED MODULE: ./src/pages/public/home/showcommon.vue function showcommon_injectStyle (ssrContext) { __webpack_require__("KllE") } var showcommon_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var showcommon___vue_template_functional__ = false /* styles */ var showcommon___vue_styles__ = showcommon_injectStyle /* scopeId */ var showcommon___vue_scopeId__ = "data-v-33a19400" /* moduleIdentifier (server only) */ var showcommon___vue_module_identifier__ = null var showcommon_Component = showcommon_normalizeComponent( showcommon, home_showcommon, showcommon___vue_template_functional__, showcommon___vue_styles__, showcommon___vue_scopeId__, showcommon___vue_module_identifier__ ) /* harmony default export */ var public_home_showcommon = (showcommon_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/activity/sideBottom.vue // // // // // // // // // // // // // /* harmony default export */ var sideBottom = ({ name: "Aside", data: function data() { return { showNew2019: true }; }, props: { leftHref: { type: String, default: function _default() { return 'mobile'; } }, rightHref: { type: String, default: function _default() { return 'mobile'; } }, showleft: { type: Boolean, default: function _default() { return false; } }, showright: { type: Boolean, default: function _default() { return true; } }, leftad: { type: String, default: function _default() { return "Mobile"; } }, leftadClose: { type: String, default: function _default() { return "Mobile-close"; } }, rightad: { type: String, default: function _default() { return "Mobile"; } }, rightadClose: { type: String, default: function _default() { return "Mobile-close"; } } }, methods: { gopath: function gopath(type, path) { var jumpPath = '/static/' + this.$websiteName + '/html/active/' + path + '/'; switch (type) { case "open": if (jumpPath == "#") { return false; } window.open(jumpPath); break; default: window.location.href = jumpPath; break; } } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-45a8b813","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/activity/sideBottom.vue var sideBottom_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showleft)?_c('div',{staticClass:"new2019 animated fadeInUp",class:[_vm.leftad],on:{"click":function($event){return _vm.gopath('open',_vm.leftHref)}}},[_c('div',{staticClass:"clBtn",class:[_vm.leftadClose],on:{"click":function($event){$event.stopPropagation();_vm.showleft=false}}})]):_vm._e(),_vm._v(" "),(_vm.showright)?_c('div',{staticClass:"new2019 animated fadeInUp",class:[_vm.rightad],on:{"click":function($event){return _vm.gopath('open',_vm.rightHref)}}},[_c('div',{staticClass:"clBtn",class:[_vm.rightadClose],on:{"click":function($event){$event.stopPropagation();_vm.showright=false}}})]):_vm._e()])} var sideBottom_staticRenderFns = [] var sideBottom_esExports = { render: sideBottom_render, staticRenderFns: sideBottom_staticRenderFns } /* harmony default export */ var activity_sideBottom = (sideBottom_esExports); // CONCATENATED MODULE: ./src/pages/public/activity/sideBottom.vue function sideBottom_injectStyle (ssrContext) { __webpack_require__("fq/L") } var sideBottom_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var sideBottom___vue_template_functional__ = false /* styles */ var sideBottom___vue_styles__ = sideBottom_injectStyle /* scopeId */ var sideBottom___vue_scopeId__ = "data-v-45a8b813" /* moduleIdentifier (server only) */ var sideBottom___vue_module_identifier__ = null var sideBottom_Component = sideBottom_normalizeComponent( sideBottom, activity_sideBottom, sideBottom___vue_template_functional__, sideBottom___vue_styles__, sideBottom___vue_scopeId__, sideBottom___vue_module_identifier__ ) /* harmony default export */ var public_activity_sideBottom = (sideBottom_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/xpj83/home/alertRegiste.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var alertRegiste = ({ mixins: [register_copy["a" /* default */]], data: function data() { var _swiperOption; return { codeImg: '/static/xpj83/img/new_games/re.png', pwdInp: 'password', smsInputBox: { marginTop: '20px' }, smsCodeWrapper: { paddingBottom: '25px', position: 'relative', fontSize: '16px', color: '#333', textAlign: 'center' }, curLabel: { width: '99px', height: '40px', lineHeight: '40px', color: '#000', fontSize: '16px', textAlign: 'left', display: 'inline-block', transform: 'translateX(-129px)' }, star: { display: 'none' }, inputBox: { width: '223px', height: '40px', border: '1px solid #ebecef', borderRadius: '5px', background: '#fff', color: '#999', fontSize: '14px', // textIndent: '6px', outline: 'none', transform: 'translateX(-158px)', paddingLeft: '15px' }, msgVerifyBox: { position: 'absolute', top: '-3px', right: '125px', marginLeft: '2px', display: 'flex', justifyContent: 'flex-start', width: '179px' }, btnStyle: { display: 'inline-block', height: '40px', lineHeight: '40px', fontSize: '13px', borderRadius: '3px', padding: '0 6px', transform: 'translateY(3px)' }, beforeSend: { color: '#fff', background: '#f43535' }, reSend: { color: '#fff', background: '#788494' }, msgTip: { margin: '5px 0 16px 97px', color: '#333', fontSize: '12px' }, list: [{ img: "/static/xpj83/img/sl1.png" }, { img: "/static/xpj83/img/sl2.png" }, { img: "/static/xpj83/img/sl3.png" }, { img: "/static/xpj83/img/sl4.png" }], swiperOption: (_swiperOption = { watchSlidesProgress: true, slidesPerView: 'auto', centeredSlides: true, loopedSlides: 4, loop: true, autoplay: { delay: 3000, disableOnInteraction: false } }, defineProperty_default()(_swiperOption, 'centeredSlides', true), defineProperty_default()(_swiperOption, 'init', false), defineProperty_default()(_swiperOption, 'longSwipesRatio', 0.1), defineProperty_default()(_swiperOption, 'touchReleaseOnEdges', true), defineProperty_default()(_swiperOption, 'observer', true), defineProperty_default()(_swiperOption, 'observeParents', true), defineProperty_default()(_swiperOption, 'on', { progress: function progress(_progress) { for (var i = 0; i < this.slides.length; i++) { var slide = this.slides.eq(i); var slideProgress = this.slides[i].progress; var modify = 0; // å移æƒé‡ if (parseInt(Math.abs(slideProgress)) > 0) { modify = Math.abs(slideProgress) * 0.2; // ä¸ä¸€å®šè¦0.2,å¯è‡ªè¡Œè°ƒæ•´ } var translate = slideProgress * modify * 260 + 'px'; // 500是swiper-slide的宽度 var scale = 1 - Math.abs(slideProgress) / 5; // 缩放æƒé‡å€¼ï¼Œéšç€progressç”±ä¸å‘两边ä¾æ¬¡é€’å‡ï¼Œå¯è‡ªè¡Œè°ƒæ•´ var zIndex = 99 - Math.abs(Math.round(10 * slideProgress)); slide.transform('translateX(' + translate + ') scale(' + scale + ')'); slide.css('zIndex', zIndex); slide.css('opacity', 1); // 是å¦å¯è§ if (Math.abs(slideProgress) > 3) { slide.css('opacity', 0); } if (parseInt(Math.abs(slideProgress)) > 1) { // 设置了åªæœ‰é€‰ä¸çš„å…ƒç´ ä»¥åŠä»–两é的显示,其他éšè— slide.css('opacity', 0); } } }, setTransition: function setTransition(transition) { for (var i = 0; i < this.slides.length; i++) { var slide = this.slides.eq(i); slide.transition(transition); } } }), _swiperOption) }; }, created: function created() {}, mounted: function mounted() { this.initSwiper(); }, methods: { initSwiper: function initSwiper() { var _this = this; this.$nextTick(asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() { return regenerator_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.next = 2; return _this.swiper.init(); case 2: _context.next = 4; return _this.swiper.slideTo(_this.activeItemIndex); case 4: case 'end': return _context.stop(); } } }, _callee, _this); }))); }, close: function close() { this.replaceMent(); this.$store.commit('alert/showMgmRegister', false); }, //修改密ç 框type类型 changType: function changType() { if (this.pwdInp == 'password') { this.pwdInp = 'text'; } else { this.pwdInp = 'password'; } } }, computed: { isResiter: function isResiter() { return this.$store.state.alert.mgmRegister; }, swiper: function swiper() { return this.$refs.mySwiper.swiper; }, activeItemIndex: function activeItemIndex() { return this.$store.state.alert.activeIndexs; } }, watch: { isResiter: function isResiter(val) { if (val) { this.inInCreate(); this.inInMounted(); } } }, components: { smsInput: smsInput["a" /* default */] }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-fd13e2c2","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/xpj83/home/alertRegiste.vue var alertRegiste_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isResiter),expression:"isResiter"}],staticClass:"register"},[_c('div',{staticClass:"popup"},[_c('div',{staticClass:"headline"}),_vm._v(" "),_c('div',{staticClass:"swiper-content"},[_c('swiper',{ref:"mySwiper",staticClass:"show-swiper",attrs:{"options":_vm.swiperOption}},[_vm._l((_vm.list),function(item,index){return [_c('swiper-slide',{key:index},[_c('div',{staticClass:"swiper-item"},[_c('img',{attrs:{"src":item.img,"alt":""}})])])]})],2)],1),_vm._v(" "),_c('div',{staticClass:"content"},[_c('div',{staticClass:"title_tab"},[_c('div',{staticClass:"close1",on:{"click":_vm.close}},[_vm._m(0)])]),_vm._v(" "),_c('div',{staticClass:"regTitle"},[_vm._v("注册账å·")]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("会员账å·ï¼š")]),_vm._v(" "),_c('div',{staticClass:"group"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.userName),expression:"userName"}],attrs:{"autocomplete":"off","type":"text","placeholder":"请输入6到10ä½çš„æ•°å—或å—æ¯ç»„åˆ","maxlength":"10"},domProps:{"value":(_vm.userName)},on:{"blur":_vm.getCode,"input":function($event){if($event.target.composing){ return; }_vm.userName=$event.target.value}}})])]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("登入密ç :")]),_vm._v(" "),_c('div',{staticClass:"group"},[((_vm.pwdInp)==='checkbox')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.password),expression:"password"}],ref:"pwdInp",attrs:{"autocomplete":"off","placeholder":"请输入8到20ä½çš„æ•°å—或å—æ¯ç»„åˆ","maxlength":"20","type":"checkbox"},domProps:{"checked":Array.isArray(_vm.password)?_vm._i(_vm.password,null)>-1:(_vm.password)},on:{"change":function($event){var $$a=_vm.password,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.password=$$a.concat([$$v]))}else{$$i>-1&&(_vm.password=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.password=$$c}}}}):((_vm.pwdInp)==='radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.password),expression:"password"}],ref:"pwdInp",attrs:{"autocomplete":"off","placeholder":"请输入8到20ä½çš„æ•°å—或å—æ¯ç»„åˆ","maxlength":"20","type":"radio"},domProps:{"checked":_vm._q(_vm.password,null)},on:{"change":function($event){_vm.password=null}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.password),expression:"password"}],ref:"pwdInp",attrs:{"autocomplete":"off","placeholder":"请输入8到20ä½çš„æ•°å—或å—æ¯ç»„åˆ","maxlength":"20","type":_vm.pwdInp},domProps:{"value":(_vm.password)},on:{"input":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value}}})])]),_vm._v(" "),_c('div',{staticClass:"row"},[_c('label',[_vm._v("确认密ç :")]),_vm._v(" "),_c('div',{staticClass:"group"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.password_confirmation),expression:"password_confirmation"}],attrs:{"autocomplete":"off","type":"password","placeholder":"请输入8到20ä½çš„æ•°å—或å—æ¯ç»„åˆ","maxlength":"20"},domProps:{"value":(_vm.password_confirmation)},on:{"input":function($event){if($event.target.composing){ return; }_vm.password_confirmation=$event.target.value}}})])]),_vm._v(" "),_vm._l((_vm.register),function(item,index){return _c('div',{key:index,staticClass:"row"},[(JSON.stringify(item) !== '{}' )?_c('div',[_c('label',[_vm._v(_vm._s(item.name)+":")]),_vm._v(" "),_c('div',{staticClass:"group"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(item.value),expression:"item.value"}],attrs:{"type":"text","placeholder":item.placeholder,"maxlength":item.maxlength},domProps:{"value":(item.value)},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(item, "value", $event.target.value)}}})])]):_vm._e()])}),_vm._v(" "),(!_vm.isShowSms&&_vm.verifyType=='imgCode')?_c('div',{staticClass:"row"},[_c('label',{staticStyle:{"text-align":"right"}},[_vm._v("验è¯ç :")]),_vm._v(" "),_c('div',{staticClass:"group",staticStyle:{"width":"410px"}},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.code),expression:"code"}],staticClass:"regCode",attrs:{"autocomplete":"off","type":"text","placeholder":"请输入验è¯ç ","maxlength":"4"},domProps:{"value":(_vm.code)},on:{"input":function($event){if($event.target.composing){ return; }_vm.code=$event.target.value}}}),_vm._v(" "),_c('span',{staticClass:"yzm_reg"},[_c('img',{staticClass:"checkLoginCodeImage",attrs:{"src":_vm.codeImg},on:{"click":_vm.getCode}})])])]):_vm._e(),_vm._v(" "),(_vm.isShowSms)?_c('sms-input',{attrs:{"smsInputBox":_vm.smsInputBox,"smsCodeWrapper":_vm.smsCodeWrapper,"curLabel":_vm.curLabel,"inputBox":_vm.inputBox,"star":_vm.star,"msgVerifyBox":_vm.msgVerifyBox,"btnStyle":_vm.btnStyle,"beforeSend":_vm.beforeSend,"reSend":_vm.reSend,"msgTip":_vm.msgTip,"isShowSms":_vm.isShowSms,"hasSendMsg":_vm.hasSendMsg,"countDownTime":_vm.countDownTime,"bColor":"#ffa200"},on:{"my-event":_vm.getMsgCode},model:{value:(_vm.smsCode),callback:function ($$v) {_vm.smsCode=$$v},expression:"smsCode"}}):_vm._e(),_vm._v(" "),(_vm.iscode)?_c('div',{staticClass:"row"},[_c('label',[_vm._v("邀请ç :")]),_vm._v(" "),_c('div',{staticClass:"group"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.intacode),expression:"intacode"}],attrs:{"autocomplete":"off","placeholder":"邀请ç ","type":"text","readonly":_vm.incodeReadonly},domProps:{"value":(_vm.intacode)},on:{"keydown":function($event){_vm.pulicError=''},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.registerTest.apply(null, arguments)},"input":function($event){if($event.target.composing){ return; }_vm.intacode=$event.target.value}}})])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"operate"},[_c('a',{staticClass:"btn",on:{"click":_vm.registerTest}},[_vm._v("ç«‹å³æ³¨å†Œ")])]),_vm._v(" "),_vm._m(1)],2),_vm._v(" "),_vm._m(2)])])} var alertRegiste_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{attrs:{"href":"javascript:void(0)"}},[_c('span',{staticClass:"closeBox"}),_vm._v(" "),_c('img',{attrs:{"src":"/static/xpj83/img/xx.png","alt":""}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"row tip_info"},[_c('p',[_vm._v("完æˆå³è§†ä¸ºåŒæ„已年满18å²ï¼Œä¸”在æ¤ç½‘站所有活动并没抵触本人所在国家所管辖的法律")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"logAside"},[_c('ul',[_c('li',[_c('span',[_vm._v("会员1å…ƒ+有效投注")]),_vm._v(" "),_c('span',[_vm._v("å³å¯èŽ·å¾—æ¯æœˆæ´¾é€åƒä¸‡çŽ°é‡‘回馈")])]),_vm._v(" "),_c('li',[_c('span',[_vm._v("会员账户")]),_vm._v(" "),_c('span',[_vm._v("永久å—益领工资")])]),_vm._v(" "),_c('li',[_c('span',[_vm._v("å…æ¯å€Ÿé’±")]),_vm._v(" "),_c('span',[_vm._v("ä½™é¢å®å˜é’±æœ‰åˆ©æ¯")])]),_vm._v(" "),_c('li',[_c('span',[_vm._v("天天8:00准时")]),_vm._v(" "),_c('span',[_vm._v("红包高达8888å…ƒ")])])])])}] var alertRegiste_esExports = { render: alertRegiste_render, staticRenderFns: alertRegiste_staticRenderFns } /* harmony default export */ var home_alertRegiste = (alertRegiste_esExports); // CONCATENATED MODULE: ./src/pages/xpj83/home/alertRegiste.vue function alertRegiste_injectStyle (ssrContext) { __webpack_require__("RVZV") } var alertRegiste_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var alertRegiste___vue_template_functional__ = false /* styles */ var alertRegiste___vue_styles__ = alertRegiste_injectStyle /* scopeId */ var alertRegiste___vue_scopeId__ = "data-v-fd13e2c2" /* moduleIdentifier (server only) */ var alertRegiste___vue_module_identifier__ = null var alertRegiste_Component = alertRegiste_normalizeComponent( alertRegiste, home_alertRegiste, alertRegiste___vue_template_functional__, alertRegiste___vue_styles__, alertRegiste___vue_scopeId__, alertRegiste___vue_module_identifier__ ) /* harmony default export */ var xpj83_home_alertRegiste = (alertRegiste_Component.exports); // CONCATENATED MODULE: ./src/pages/public/red-lope/envelope.js var redEnvelopeIconList = [{ img: __webpack_require__("eutb") }, { img: __webpack_require__("eutb") }, { img: __webpack_require__("eutb") }, { img: __webpack_require__("eutb") }, { img: __webpack_require__("eutb") }, { img: __webpack_require__("yW5u") }, { img: __webpack_require__("yW5u") }, { img: __webpack_require__("yW5u") }, { img: __webpack_require__("yW5u") }, { img: __webpack_require__("yW5u") }, { img: __webpack_require__("670Z") }, { img: __webpack_require__("670Z") }, { img: __webpack_require__("670Z") }, { img: __webpack_require__("670Z") }, { img: __webpack_require__("670Z") }]; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/red-lope/index.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var red_lope = ({ name: 'RedLope', props: { isRedShow: { type: Boolean, default: false } }, data: function data() { return { isOpen: false, isMoney: false, redMoney: 1000, redEnvelopeIconList: redEnvelopeIconList, isOpenSpringFestivalRedEnvelope: false, toastShow: false, toastText: 'æš‚æ— å¯é¢†å–的红包', // 紅包æç¤ºè¨Šæ¯ æš‚ä¸ç¬¦åˆé¢†å–æ¡ä»¶ || æš‚æ— å¯é¢†å–的红包 toastNum: 380 }; }, computed: { isSpringFestivalActivity: function isSpringFestivalActivity() { return this.$store.state.home.isSpringFestivalActivity; }, redEnvelopeTipsIsOpen: function redEnvelopeTipsIsOpen() { return this.$store.state.home.redEnvelopeTipsIsOpen; }, redEnvelopeMessage: function redEnvelopeMessage() { return this.$store.state.home.redEnvelopeMessage; }, currentPathIsHome: function currentPathIsHome() { if (this.$route.path === '/home') { return true; } else { return false; } } }, mounted: function mounted() { // 未登陸時打的 if (!localStorage.token) { this.getShouyeHongbao(); } }, methods: { closeEnvelope: function closeEnvelope() { // 關閉紅包æ示彈窗 this.$store.commit('home/setRedEnvelopeTipsIsOpen', false); this.close(); this.closeRedEnvelope(); }, close: function close() { this.$store.commit('home/getisRedLop', false); localStorage.removeItem('relope'); this.isOpen = false; this.isMoney = false; }, openHongbao: function openHongbao() { var _this = this; this.$nextTick(function () { _this.isOpen = true; setTimeout(function () { _this.isMoney = true; }, 1000); setTimeout(function () { _this.$refs['openJb'].style.visibility = 'hidden'; }, 2500); setTimeout(function () { _this.$refs['openZb'].style.visibility = 'hidden'; }, 3500); }); }, openEgg: function openEgg() { var _this2 = this; this.$nextTick(function () { _this2.isOpen = true; setTimeout(function () { _this2.isMoney = true; }, 2800); }); }, getMoney: function getMoney() { var _this3 = this; var hasMoreRedLope = this.$store.state.home.jgjRedLopeStorage.length > 1; this.$store.commit('home/getJgjHasMoreRedLope', hasMoreRedLope); if (!localStorage.token) { this.$errorAlert("请先登录", "warn"); this.close(); this.closeRedEnvelope(); return; } this.$store.dispatch('home/getShouyeHongbaoLingqu', this.$store.state.home.jgjRedLopeStorage[0]).then(function (res) { if (res.code === 200) { if (_this3.$store.state.home.jgjRedLopeStorage[0].send_type !== 3) { _this3.close(); } else { // send_type == 3 æ‰“é–‹ç´…åŒ…è¢‹é¡¯ç¤ºé‡‘é¡ èˆ‡æ±ºå®šé‡‘é¡ ä¸¦é¡¯ç¤º _this3.isOpenSpringFestivalRedEnvelope = true; var money = res.data.qipai_gift_money || res.data.jinguanjia_gift_money || 0; _this3.$store.commit('home/getRedLopeMoney', money); } _this3.$store.dispatch('mainState/reloadBalance'); setTimeout(function () { // 新春紅包ä¸é™ç«™é»žï¼Œç›®å‰åªæœƒåŒæ™‚有(棋牌/金管家)其ä¸ä¸€å€‹ç´…包,jgjHasMoreRedLope 都是 false if (['xpj80', 'xpj102', 'vnso', 'tyc82'].includes(_this3.$websiteName)) { if (_this3.$store.state.home.jgjHasMoreRedLope) { // 如果紅包陣列長度超éŽä¸€é …目,shiftæŽ‰ä¸€é …ç›®å†è·‘一次紅包 var params = _this3.$store.state.home.jgjRedLopeStorage; var fistElement = params.shift(); _this3.$store.commit('home/getJgjRedLopeStorage', params); _this3.$store.commit('home/getisRedLop', true); } else { // 棋牌+金管家紅包 _this3.getShouyeHongbao(); } } else { _this3.getShouyeHongbao(); } }, 1000); } else { if (res && res.message) { _this3.$store.commit('home/setRedEnvelopeTipsIsOpen', true); _this3.$store.commit('home/setRedEnvelopeMessage', res.message); } // this.close() // this.closeRedEnvelope() } }).catch(function (err) { if (err && err.message) { _this3.$store.commit('home/setRedEnvelopeTipsIsOpen', true); _this3.$store.commit('home/setRedEnvelopeMessage', res.message); // this.$errorAlert(err.message, "warn"); } _this3.close(); _this3.closeRedEnvelope(); }); }, getShouyeHongbao: function getShouyeHongbao() { var _this4 = this; this.$store.dispatch('home/getShouyeHongbao').then(function (res) { if (res.code === 200) { var params = []; var send_type = null; var gift_money = 0; // qipai && jinguanjia åªæœƒæœ‰å…¶ä¸€ if (keys_default()(res.data.qipai).length > 0) { send_type = res.data.qipai.send_type; gift_money = res.data.qipai.gift_money; params.push({ id: send_type === 3 ? '900002' : res.data.qipai.id, gift_money: res.data.qipai.gift_money, send_type: res.data.qipai.send_type }); } if (keys_default()(res.data.jinguanjia).length > 0 && res.data.jinguanjia.has_envelop) { send_type = res.data.jinguanjia.send_type; gift_money = res.data.jinguanjia.gift_money; params.push({ id: send_type === 3 ? '900002' : res.data.jinguanjia.id, gift_money: res.data.jinguanjia.gift_money, has_envelop: res.data.jinguanjia.has_envelop, send_type: res.data.jinguanjia.send_type }); _this4.$store.commit('home/getJgjRedLopeStorage', params); _this4.$store.commit('home/getRedLopeMoney', gift_money); _this4.$store.commit('home/getisRedLop', true); _this4.$store.commit('home/getRedLopeType', send_type); if (send_type === 3) { _this4.$store.commit('home/setIsSpringFestivalActivity', true); } } if (!localStorage.token) { _this4.$store.commit('home/getJgjRedLopeStorage', params); _this4.$store.commit('home/getRedLopeMoney', gift_money || ''); _this4.$store.commit('home/getisRedLop', true); _this4.$store.commit('home/getRedLopeType', send_type); if (send_type === 3) { _this4.$store.commit('home/setIsSpringFestivalActivity', true); } } } }); }, closeRedEnvelope: function closeRedEnvelope() { this.$store.commit('home/setIsSpringFestivalActivity', false); this.$store.commit('home/setIsSpringFestivalRedEnvelope', false); this.isOpenSpringFestivalRedEnvelope = false; } }, beforeDestroy: function beforeDestroy() { this.close(); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-658789c4","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/red-lope/index.vue var red_lope_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isRedShow)?_c('div',{staticClass:"filter"},[_c('transition',{attrs:{"name":"bounce"}},[(_vm.$store.state.home.redLopeType == 2)?_c('div',{staticClass:"red-box egg"},[_c('div',{staticClass:"box-wrap"},[_c('div',{staticClass:"preloadImg"}),_vm._v(" "),(!_vm.isMoney)?_c('div',{staticClass:"red-close",class:_vm.isOpen ? 'open_red':'',on:{"click":_vm.openEgg}}):_vm._e(),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isMoney),expression:"isMoney"}]},[_c('div',{staticClass:"red-open"},[(['xpj80', 'xpj102'].includes(_vm.$websiteName))?_c('p',{staticClass:"get-money",style:([_vm.$store.state.home.jgjRedLopeStorage[0].gift_money.toString().length>5 ? {fontSize:'40px'}:''])},[_vm._v("\n "+_vm._s(_vm.$store.state.home.jgjRedLopeStorage[0].gift_money)+"å…ƒ\n ")]):_c('p',{staticClass:"get-money",style:([_vm.$store.state.home.redLopeMoney.toString().length>5 ? {fontSize:'40px'}:''])},[_vm._v("\n "+_vm._s(_vm.$store.state.home.redLopeMoney)+"å…ƒ\n ")]),_vm._v(" "),_c('div',{staticClass:"getMoney",on:{"click":_vm.getMoney}})])])])]):(_vm.$store.state.home.redLopeType == 3 && _vm.isSpringFestivalActivity && _vm.currentPathIsHome)?_c('div',[(!_vm.redEnvelopeTipsIsOpen)?_c('div',{staticClass:"spring-container",on:{"click":_vm.getMoney}},[_c('div',{staticClass:"red-envelope-fall-wrapper"},_vm._l((_vm.redEnvelopeIconList),function(item,index){return _c('div',{key:index,staticClass:"red-envelope"},[_c('img',{attrs:{"src":item.img}})])}),0),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isOpenSpringFestivalRedEnvelope),expression:"isOpenSpringFestivalRedEnvelope"}],staticClass:"red-open"},[_c('div',{staticClass:"get-money"},[_c('p',[_vm._v("é‡‘é¢ "),_c('span',[_vm._v(_vm._s(_vm.$store.state.home.redLopeMoney))]),_vm._v(" å…ƒ")])]),_vm._v(" "),_c('div',{staticClass:"red-close-btn",on:{"click":function($event){return _vm.closeRedEnvelope()}}})])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"spring-toast-container"},[_c('div',{staticClass:"redlop-tips",class:_vm.redEnvelopeTipsIsOpen ? 'show' : '',on:{"click":_vm.closeEnvelope}},[_c('img',{attrs:{"src":__webpack_require__("QBpA")}}),_vm._v(" "),_c('div',{staticClass:"redlop-word"},[_vm._v(_vm._s(_vm.redEnvelopeMessage))])])])]):_c('div',{staticClass:"red-box hongbao"},[(!_vm.isMoney)?_c('div',{staticClass:"red-close",class:_vm.isOpen ? 'open_red':''},[_c('div',{on:{"click":_vm.openHongbao}}),_vm._v(" "),_c('div',{staticClass:"red-close-btn",on:{"click":_vm.close}})]):_vm._e(),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isMoney),expression:"isMoney"}],staticClass:"red-open"},[_c('div',{ref:"openJb",staticClass:"red-open-jb"},[_c('span',{staticClass:"jb1"}),_vm._v(" "),_c('span',{staticClass:"jb2"}),_vm._v(" "),_c('span',{staticClass:"jb3"})]),_vm._v(" "),_c('div',{ref:"openZb",staticClass:"red-open-zb"},[_c('span',{staticClass:"zb1"}),_vm._v(" "),_c('span',{staticClass:"zb2"}),_vm._v(" "),_c('span',{staticClass:"zb3"}),_vm._v(" "),_c('span',{staticClass:"zb4"}),_vm._v(" "),_c('span',{staticClass:"zb5"})]),_vm._v(" "),(['xpj80', 'xpj102'].includes(_vm.$websiteName))?_c('p',{staticClass:"get-money"},[_vm._v(_vm._s(_vm.$store.state.home.jgjRedLopeStorage[0].gift_money))]):_c('p',{staticClass:"get-money"},[_vm._v(_vm._s(_vm.$store.state.home.redLopeMoney))]),_vm._v(" "),_c('div',{staticClass:"red-close-btn",on:{"click":_vm.close}}),_vm._v(" "),_c('div',{staticClass:"getMoney",on:{"click":_vm.getMoney}})])])])],1):_vm._e()} var red_lope_staticRenderFns = [] var red_lope_esExports = { render: red_lope_render, staticRenderFns: red_lope_staticRenderFns } /* harmony default export */ var public_red_lope = (red_lope_esExports); // CONCATENATED MODULE: ./src/pages/public/red-lope/index.vue function red_lope_injectStyle (ssrContext) { __webpack_require__("QlOO") __webpack_require__("ZMEz") } var red_lope_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var red_lope___vue_template_functional__ = false /* styles */ var red_lope___vue_styles__ = red_lope_injectStyle /* scopeId */ var red_lope___vue_scopeId__ = "data-v-658789c4" /* moduleIdentifier (server only) */ var red_lope___vue_module_identifier__ = null var red_lope_Component = red_lope_normalizeComponent( red_lope, public_red_lope, red_lope___vue_template_functional__, red_lope___vue_styles__, red_lope___vue_scopeId__, red_lope___vue_module_identifier__ ) /* harmony default export */ var pages_public_red_lope = (red_lope_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/jump-newuser/index.vue // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var jump_newuser = ({ name: "JumpNewuser", props: { theme: { type: String, required: true }, isNewUser: { type: Boolean, default: false } }, data: function data() { return { isOpen: true, imgList: {}, lightThemeImg: { imgMain: "/static/public/image/jump/lightTheme/newuser-main.png", imgBtbNo: "/static/public/image/jump/lightTheme/newuser-btn-no.png", imgBtbYes: "/static/public/image/jump/lightTheme/newuser-btn-yes.png" }, darkThemeImg: { imgMain: "/static/public/image/jump/darkTheme/newuser-main.png", imgBtbNo: "/static/public/image/jump/darkTheme/newuser-btn-no.png", imgBtbYes: "/static/public/image/jump/darkTheme/newuser-btn-yes.png" }, purpleThemeImg: { imgMain: "/static/public/image/jump/purpleTheme/newuser-main.png", imgBtbNo: "/static/public/image/jump/purpleTheme/newuser-btn-no.png", imgBtbYes: "/static/public/image/jump/purpleTheme/newuser-btn-yes.png" } }; }, methods: { close: function close() { this.isOpen = false; }, changeThemeImg: function changeThemeImg() { switch (this.theme) { case "light": this.imgList = this.lightThemeImg; break; case "dark": this.imgList = this.darkThemeImg; break; case "purple": this.imgList = this.purpleThemeImg; break; default: this.imgList = this.darkThemeImg; } } }, created: function created() { this.changeThemeImg(); }, beforeDestroy: function beforeDestroy() { this.close(); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-6bec435c","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/jump-newuser/index.vue var jump_newuser_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isNewUser && _vm.isOpen)?_c('div',{staticClass:"filter",class:_vm.theme},[_c('transition',{attrs:{"name":"bounce"}},[_c('div',{staticClass:"box-newuser",class:_vm.theme},[_c('img',{staticClass:"main",attrs:{"src":_vm.imgList.imgMain,"alt":""}}),_vm._v(" "),_c('div',{staticClass:"numbers"},[_c('span',{staticClass:"freebonus"},[_vm._v("30")]),_vm._v(" "),_c('span',{staticClass:"save"},[_vm._v("500")]),_vm._v(" "),_c('span',{staticClass:"bonus"},[_vm._v("500")]),_vm._v(" "),_c('span',{staticClass:"least"},[_vm._v("9750")])]),_vm._v(" "),_c('div',{staticClass:"buttons"},[_c('img',{staticClass:"no",attrs:{"src":_vm.imgList.imgBtbNo,"alt":""},on:{"click":_vm.close}}),_vm._v(" "),_c('img',{staticClass:"yes",attrs:{"src":_vm.imgList.imgBtbYes,"alt":""}})])])])],1):_vm._e()} var jump_newuser_staticRenderFns = [] var jump_newuser_esExports = { render: jump_newuser_render, staticRenderFns: jump_newuser_staticRenderFns } /* harmony default export */ var public_jump_newuser = (jump_newuser_esExports); // CONCATENATED MODULE: ./src/pages/public/jump-newuser/index.vue function jump_newuser_injectStyle (ssrContext) { __webpack_require__("Jjk+") __webpack_require__("LqYS") } var jump_newuser_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var jump_newuser___vue_template_functional__ = false /* styles */ var jump_newuser___vue_styles__ = jump_newuser_injectStyle /* scopeId */ var jump_newuser___vue_scopeId__ = "data-v-6bec435c" /* moduleIdentifier (server only) */ var jump_newuser___vue_module_identifier__ = null var jump_newuser_Component = jump_newuser_normalizeComponent( jump_newuser, public_jump_newuser, jump_newuser___vue_template_functional__, jump_newuser___vue_styles__, jump_newuser___vue_scopeId__, jump_newuser___vue_module_identifier__ ) /* harmony default export */ var pages_public_jump_newuser = (jump_newuser_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/kai-jiang/index.vue // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var kai_jiang = ({ data: function data() { return { lotteryDatasSave: [6, 1, 3, 7, 9, 8, 2], kaijiangInter: null, kaijiangObj: { lotteryName: '', amount: '' }, kaijiang: '', showRedpackets: false, NUMBER_OF_LEAVES: 30, width: (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) / 2 }; }, mounted: function mounted() {}, created: function created() {}, destroyed: function destroyed() { clearInterval(this.kaijiangInter); }, computed: { websocketdata: function websocketdata() { return this.$store.state.mainState.prizePool; }, visibStatus: function visibStatus() { return this.$store.state.mainState.visibStatus; } }, watch: { websocketdata: function websocketdata() { this.websoc(); }, 'showRedpackets': function showRedpackets() { var _this = this; if (this.showRedpackets && this.visibStatus) { this.init(); this.$store.commit('mainState/changeNotice', false); this.kaijiangInter = setInterval(function () { var length = _this.lotteryDatasSave.length; while (length) { var j = Math.floor(Math.random() * length--); var _ref = [_this.lotteryDatasSave[length], _this.lotteryDatasSave[j]]; _this.lotteryDatasSave[j] = _ref[0]; _this.lotteryDatasSave[length] = _ref[1]; } var lotteryDatasShow = []; for (var index = 0; index < 7; index++) { lotteryDatasShow.push(_this.lotteryDatasSave[index]); } var data = ''; lotteryDatasShow.forEach(function (item) { data += item; }); _this.kaijiang = data; }, 100); setTimeout(function () { clearInterval(_this.kaijiangInter); _this.kaijiang = _this.kaijiangObj.amount; }, 3000); } } }, methods: { websoc: function websoc() { if (this.websocketdata.type == 'user.prizePool') { if (this.websocketdata.data.amount != '') { for (var key in this.kaijiangObj) { this.kaijiangObj[key] = this.websocketdata.data[key]; } this.showRedpackets = true; if (this.visibStatus) this.showRedpackets = true;else this.showRedpackets = false; } } }, getBalance: function getBalance() { var _this2 = this; if (localStorage.token) { this.$getS('member/balance').then(function (res) { if (res.code == 200) { var userinfo = JSON.parse(localStorage.userinfo); userinfo.balance = res.data.member; userinfo.agent = res.data.agency; _this2.$store.commit('mainState/reloadUserinfo', userinfo); } }); } }, close: function close() { this.showRedpackets = false; this.$store.commit('mainState/changeNotice', true); this.getBalance(); clearInterval(this.kaijiangInter); }, init: function init() { var _this3 = this; this.$nextTick(function () { var container = _this3.$refs['leaf']; for (var i = 0; i < _this3.NUMBER_OF_LEAVES; i++) { container.appendChild(_this3.createALeaf()); } var jinbi = _this3.$refs['jinbi']; for (var index = 0; index < 10; index++) { jinbi.appendChild(_this3.createdJinBi()); jinbi.appendChild(_this3.createdHongBao()); } }); }, randomInteger: function randomInteger(low, high) { return low + Math.floor(Math.random() * (high - low)); }, randomFloat: function randomFloat(low, high) { return low + Math.random() * (high - low); }, pixelValue: function pixelValue(value) { return value + 'px'; }, durationValue: function durationValue(value) { return value + 's'; }, createALeaf: function createALeaf() { var leafDiv = document.createElement('div'); var image = document.createElement('img'); var num = this.randomInteger(3, 7); image.src = '/static/public/image/open/money' + num + '.png'; leafDiv.style.top = '-100px'; leafDiv.style.position = 'absolute'; leafDiv.className = 'leaf' + num; leafDiv.style.left = this.pixelValue(this.randomInteger(25, 355)); image.className = 'leafimg' + num; var fadeAndDropDuration = this.durationValue(this.randomFloat(5, 10)); var spinDuration = this.durationValue(this.randomFloat(3, 9)); leafDiv.style.animation = 'fade ' + fadeAndDropDuration + ' linear 1s infinite normal'; leafDiv.style.animation = 'drop ' + fadeAndDropDuration + ' ease-in 1s infinite normal'; if (Math.random() < 0.5) image.style.animation = 'clockwiseSpin spinDuration ease-in-out infinite alternate';else image.style.animation = 'counterclockwiseSpinAndFlip spinDuration ease-in-out infinite alternate'; image.style.transformOrigin = '50% -100%'; leafDiv.appendChild(image); return leafDiv; }, createdJinBi: function createdJinBi() { var iTag = document.createElement('i'); iTag.style.width = '45px'; iTag.style.height = '39px'; iTag.style.position = 'absolute'; iTag.style.display = 'inline-block'; iTag.style.left = this.pixelValue(this.randomInteger(15, 345)); iTag.style.top = '-100px'; iTag.style.backgroundImage = "url('/static/public/image/open/jinbi.png')"; iTag.style.backgroundSize = '100%'; iTag.style.backgroundRepeat = 'no-repeat'; iTag.style.backgroundPosition = 'center'; var fadeAndDropDuration = this.durationValue(this.randomFloat(5, 10)); iTag.style.animation = 'fade ' + fadeAndDropDuration + ' linear 2s infinite normal'; iTag.style.animation = 'drop ' + fadeAndDropDuration + ' ease-in 2s infinite normal'; return iTag; }, createdHongBao: function createdHongBao() { var imgTag = document.createElement('img'); imgTag.src = '/static/public/image/open/hongbao.png'; imgTag.style.position = 'absolute'; imgTag.style.left = this.pixelValue(this.randomInteger(15, 345)); imgTag.style.top = '-100px'; imgTag.style.width = '34px'; imgTag.style.height = '37px'; imgTag.style.backgroundSize = '100%'; imgTag.style.backgroundRepeat = 'no-repeat'; imgTag.style.backgroundPosition = 'center'; var fadeAndDropDuration = this.durationValue(this.randomFloat(5, 10)); imgTag.style.animation = 'fade ' + fadeAndDropDuration + ' linear 2s infinite normal'; imgTag.style.animation = 'drop ' + fadeAndDropDuration + ' ease-in 2s infinite normal'; return imgTag; } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-462d9565","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/kai-jiang/index.vue var kai_jiang_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showRedpackets)?_c('div',{staticClass:"filter"},[_c('div',{staticClass:"red-box"},[_c('div',{staticClass:"red-top"}),_vm._v(" "),_c('div',{staticClass:"red-cont"},[_c('div',{ref:"jinbi",staticClass:"jinbi-cont"}),_vm._v(" "),_c('p',{staticClass:"text"},[_vm._v("æ喜您在ã€"+_vm._s(_vm.kaijiangObj.lotteryName)+"】击ä¸å¥–æ± ")]),_vm._v(" "),_c('p',{staticClass:"money"},[_vm._v(_vm._s(_vm.kaijiang)),_c('span',[_vm._v("å…ƒ")])]),_vm._v(" "),_c('p',{staticClass:"balance"},[_vm._v("已放入您的账户余é¢")]),_vm._v(" "),_c('div',{staticClass:"ikonw",on:{"click":_vm.close}}),_vm._v(" "),_c('div',{ref:"leaf",attrs:{"id":"leafContainer"}})])])]):_vm._e()} var kai_jiang_staticRenderFns = [] var kai_jiang_esExports = { render: kai_jiang_render, staticRenderFns: kai_jiang_staticRenderFns } /* harmony default export */ var public_kai_jiang = (kai_jiang_esExports); // CONCATENATED MODULE: ./src/pages/public/kai-jiang/index.vue function kai_jiang_injectStyle (ssrContext) { __webpack_require__("d2Pd") __webpack_require__("SKXU") } var kai_jiang_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var kai_jiang___vue_template_functional__ = false /* styles */ var kai_jiang___vue_styles__ = kai_jiang_injectStyle /* scopeId */ var kai_jiang___vue_scopeId__ = "data-v-462d9565" /* moduleIdentifier (server only) */ var kai_jiang___vue_module_identifier__ = null var kai_jiang_Component = kai_jiang_normalizeComponent( kai_jiang, public_kai_jiang, kai_jiang___vue_template_functional__, kai_jiang___vue_styles__, kai_jiang___vue_scopeId__, kai_jiang___vue_module_identifier__ ) /* harmony default export */ var pages_public_kai_jiang = (kai_jiang_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/qiandao/index.vue // // // // // // // // // // // // // // // // // /* harmony default export */ var qiandao = ({ name: 'Qiandao', props: {}, data: function data() { return { showAnimation: false, signMoney: '' }; }, methods: { close: function close() { this.$store.commit("mainState/showDialog", false); }, getMoney: function getMoney() { this.$store.commit("mainState/showDialog", false); this.$store.commit("mainState/isGet", true); }, onOpenSign: function onOpenSign() { var _this = this; this.$store.dispatch('home/onsignIn', { type: 'open' }).then(function (res) { if (res.code === 200) { _this.showAnimation = true; setTimeout(function () { _this.$store.commit("mainState/isOpen", true); }, 1000); } else { _this.$store.commit('alert/showTipModel', { bool: true, title: res.message, model: 'warn' }); } }).catch(function () {}); }, onsignIn: function onsignIn() { var _this2 = this; this.$store.dispatch('home/onsignIn', { type: 'lingqu', id: this.$store.state.mainState.signData.dailySignIn.id }).then(function (res) { if (res.code === 200) { _this2.$store.commit("mainState/showDialog", false); _this2.$store.commit("mainState/isGet", true); } else { _this2.$store.commit('alert/showTipModel', { bool: true, title: res.message, model: 'warn' }); } }).catch(function () {}); } }, beforeDestroy: function beforeDestroy() { this.close(); } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-d18e9b62","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/qiandao/index.vue var qiandao_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.$store.state.mainState.isDialog)?_c('div',{staticClass:"filter"},[_c('transition',{attrs:{"name":"bounce"}},[_c('div',{staticClass:"red-box"},[(!_vm.$store.state.mainState.isOpen)?_c('div',{staticClass:"red-close",class:_vm.showAnimation ? 'open_red':''},[_c('div',{on:{"click":_vm.onOpenSign}}),_vm._v(" "),_c('div',{staticClass:"red-close-btn",on:{"click":_vm.close}})]):_vm._e(),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.$store.state.mainState.isOpen),expression:"$store.state.mainState.isOpen"}],staticClass:"red-open"},[_c('p',{staticClass:"get-money"},[_vm._v(_vm._s(_vm.$store.state.mainState.signMoney))]),_vm._v(" "),_c('div',{staticClass:"red-close-btn",on:{"click":_vm.close}}),_vm._v(" "),_c('div',{staticClass:"getMoney",on:{"click":_vm.onsignIn}})])])])],1):_vm._e()} var qiandao_staticRenderFns = [] var qiandao_esExports = { render: qiandao_render, staticRenderFns: qiandao_staticRenderFns } /* harmony default export */ var public_qiandao = (qiandao_esExports); // CONCATENATED MODULE: ./src/pages/public/qiandao/index.vue function qiandao_injectStyle (ssrContext) { __webpack_require__("tQVA") __webpack_require__("7uCC") } var qiandao_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var qiandao___vue_template_functional__ = false /* styles */ var qiandao___vue_styles__ = qiandao_injectStyle /* scopeId */ var qiandao___vue_scopeId__ = "data-v-d18e9b62" /* moduleIdentifier (server only) */ var qiandao___vue_module_identifier__ = null var qiandao_Component = qiandao_normalizeComponent( qiandao, public_qiandao, qiandao___vue_template_functional__, qiandao___vue_styles__, qiandao___vue_scopeId__, qiandao___vue_module_identifier__ ) /* harmony default export */ var pages_public_qiandao = (qiandao_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/activity/usdt.vue // // // // // // // // /* harmony default export */ var usdt = ({ name: "usdt", data: function data() { return { usdt: true }; }, props: {}, methods: { gopath: function gopath() { window.open('/static/public/active/usdt/index.html'); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-323edb8a","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/activity/usdt.vue var usdt_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.usdt)?_c('div',[_c('div',{staticClass:"new2020 animated fadeInUp",on:{"click":_vm.gopath}},[_c('div',{staticClass:"clBtn",on:{"click":function($event){$event.stopPropagation();_vm.usdt=false}}})])]):_vm._e()} var usdt_staticRenderFns = [] var usdt_esExports = { render: usdt_render, staticRenderFns: usdt_staticRenderFns } /* harmony default export */ var activity_usdt = (usdt_esExports); // CONCATENATED MODULE: ./src/pages/public/activity/usdt.vue function usdt_injectStyle (ssrContext) { __webpack_require__("AAw7") } var usdt_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var usdt___vue_template_functional__ = false /* styles */ var usdt___vue_styles__ = usdt_injectStyle /* scopeId */ var usdt___vue_scopeId__ = "data-v-323edb8a" /* moduleIdentifier (server only) */ var usdt___vue_module_identifier__ = null var usdt_Component = usdt_normalizeComponent( usdt, activity_usdt, usdt___vue_template_functional__, usdt___vue_styles__, usdt___vue_scopeId__, usdt___vue_module_identifier__ ) /* harmony default export */ var public_activity_usdt = (usdt_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/bindPhone.vue // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var bindPhone = ({ props: {}, data: function data() { return { phone: "", code: "", isGoTime: true, stepTime: 60, interval: null }; }, methods: { hideAttention: function hideAttention() { this.$store.commit('alert/changbindPhone', false); this.$store.commit('showPersonal', { bool: false }); }, getCode: function getCode() { var _this = this; if (!this.phone) { this.$errorAlert("请输入手机å·", "warn"); return; } if (!this.testPhone(this.phone)) { this.$errorAlert("请输入æ£ç¡®çš„手机å·ç ", "warn"); return; } this.$store.dispatch("home/getSmsCode", { phone: this.phone }).then(function (res) { if (res.code == 200) { _this.isGoTime = false; _this.interval = setInterval(function () { _this.stepTime--; if (_this.stepTime < 0) { _this.isGoTime = true; _this.stepTime = 60; clearInterval(_this.interval); } }, 1000); } else { _this.isGoTime = true; _this.$errorAlert(res.message, "warn"); } }); }, validateSmsPhone: function validateSmsPhone() { var _this2 = this; if (!this.phone) { this.$errorAlert("请输入手机å·", "warn"); return; } if (!this.code) { this.$errorAlert("请输入çŸä¿¡éªŒè¯ç ", "warn"); return; } this.$store.dispatch("home/validateSmsPhone", { phone: this.phone, code: this.code }).then(function (res) { if (res.code == 200) { UserService["a" /* default */].vpGetBasicInfo(); var _config = _this2.$getObjByLocalStorage('config'); if (_config.depositBankValidate == 'on' && _this2.$store.state.mainState.userinfo.cardNum == 'unset') { _this2.$store.commit('alert/changbindbank', true); } else if (_this2.$store.state.alert.bindPhone) { _this2.$store.commit('alert/changbindPhone', false); } else { _this2.$goUserCen('recharge', 0); } } else { _this2.$errorAlert(res.message, "warn"); } }); } }, beforeDestroy: function beforeDestroy() { clearInterval(this.interval); }, mounted: function mounted() {}, //是å¦å±•ç¤ºå…¬å‘Šåˆ—表 computed: {}, watch: {} }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-13ec9588","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/bindPhone.vue var bindPhone_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.$store.state.alert.bindPhone)?_c('div',{staticClass:"bindPhone"},[_c('div',{staticClass:"pop-img"},[_c('p',{staticClass:"desc"},[_vm._v("手机验è¯")]),_vm._v(" "),_c('div',[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.phone),expression:"phone"}],attrs:{"type":"text","placeholder":"请输入手机å·ç ","maxlength":"11"},domProps:{"value":(_vm.phone)},on:{"input":function($event){if($event.target.composing){ return; }_vm.phone=$event.target.value}}})]),_vm._v(" "),_c('div',[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.code),expression:"code"}],attrs:{"type":"text","placeholder":"清输入验è¯ç ","minlength":"6","maxlength":"6"},domProps:{"value":(_vm.code)},on:{"input":function($event){if($event.target.composing){ return; }_vm.code=$event.target.value}}}),_vm._v(" "),_c('button',{staticClass:"button",on:{"click":_vm.getCode}},[_vm._v(" "+_vm._s(_vm.isGoTime ? "获å–验è¯ç " : "é‡æ–°èŽ·å–(" + _vm.stepTime + ")"))])]),_vm._v(" "),_c('p',{staticClass:"bind",staticStyle:{"margin-top":"30px"}},[_vm._v("为了ä¿è¯èµ„金安全,请先绑定手机")]),_vm._v(" "),_c('p',{staticClass:"bind"},[_vm._v("\n ä¿¡æ¯åœ¨ç¡®è®¤åŽå°†æ— 法修改,如需帮助,请\n "),_c('span',{on:{"click":function($event){return _vm.$openKefu()}}},[_vm._v("è”系客æœ")])]),_vm._v(" "),_c('button',{staticClass:"enter",on:{"click":_vm.validateSmsPhone}},[_vm._v("确定")]),_vm._v(" "),_c('div',{staticClass:"close",on:{"click":_vm.hideAttention}},[_c('img',{attrs:{"src":"/static/public/image/modal_top/close_3.png","alt":""}})])])]):_vm._e()])} var bindPhone_staticRenderFns = [] var bindPhone_esExports = { render: bindPhone_render, staticRenderFns: bindPhone_staticRenderFns } /* harmony default export */ var home_bindPhone = (bindPhone_esExports); // CONCATENATED MODULE: ./src/pages/public/home/bindPhone.vue function bindPhone_injectStyle (ssrContext) { __webpack_require__("m8Fj") } var bindPhone_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var bindPhone___vue_template_functional__ = false /* styles */ var bindPhone___vue_styles__ = bindPhone_injectStyle /* scopeId */ var bindPhone___vue_scopeId__ = "data-v-13ec9588" /* moduleIdentifier (server only) */ var bindPhone___vue_module_identifier__ = null var bindPhone_Component = bindPhone_normalizeComponent( bindPhone, home_bindPhone, bindPhone___vue_template_functional__, bindPhone___vue_styles__, bindPhone___vue_scopeId__, bindPhone___vue_module_identifier__ ) /* harmony default export */ var public_home_bindPhone = (bindPhone_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/public/home/bindbankcar.vue // // // // // // // // // // // // // // // // // // // /* harmony default export */ var bindbankcar = ({ props: {}, data: function data() { return { phone: "", code: "" }; }, methods: { hideAttention: function hideAttention() { this.$store.commit('alert/changbindbank', false); }, gobind: function gobind() { this.$store.commit('alert/changbindbank', false); this.$goUserCen('withdraw', 2); } }, mounted: function mounted() {}, //是å¦å±•ç¤ºå…¬å‘Šåˆ—表 computed: {}, watch: {} }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-6a44388c","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/public/home/bindbankcar.vue var bindbankcar_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.$store.state.alert.bindbank)?_c('div',{staticClass:"bindbank"},[_c('div',{staticClass:"pop"},[_c('div',{staticClass:"pop-img"},[_c('p',{staticClass:"title"},[_vm._v("请填写æ款银行å¡ï¼")]),_vm._v(" "),_c('div',{staticClass:"btn"},[_c('button',{on:{"click":_vm.hideAttention}},[_vm._v("æš‚ä¸ç»‘定")]),_vm._v(" "),_c('button',{on:{"click":_vm.gobind}},[_vm._v("å‰å¾€ç»‘定")])])]),_vm._v(" "),_c('div',{staticClass:"close",on:{"click":_vm.hideAttention}},[_c('img',{attrs:{"src":"/static/public/image/bind.png","alt":""}})])])]):_vm._e()])} var bindbankcar_staticRenderFns = [] var bindbankcar_esExports = { render: bindbankcar_render, staticRenderFns: bindbankcar_staticRenderFns } /* harmony default export */ var home_bindbankcar = (bindbankcar_esExports); // CONCATENATED MODULE: ./src/pages/public/home/bindbankcar.vue function bindbankcar_injectStyle (ssrContext) { __webpack_require__("dKdS") } var bindbankcar_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var bindbankcar___vue_template_functional__ = false /* styles */ var bindbankcar___vue_styles__ = bindbankcar_injectStyle /* scopeId */ var bindbankcar___vue_scopeId__ = "data-v-6a44388c" /* moduleIdentifier (server only) */ var bindbankcar___vue_module_identifier__ = null var bindbankcar_Component = bindbankcar_normalizeComponent( bindbankcar, home_bindbankcar, bindbankcar___vue_template_functional__, bindbankcar___vue_styles__, bindbankcar___vue_scopeId__, bindbankcar___vue_module_identifier__ ) /* harmony default export */ var public_home_bindbankcar = (bindbankcar_Component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/xpj83/index.vue // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // import hongbaoyu from "../public/hongbaoyu/index"; /* harmony default export */ var xpj83 = ({ mixins: [homeMeans], data: function data() { return { lotHeadDatas: { logoUrl: '/static/xpj83/img/logo_xpj83.png', downLoadurl: '/static/xpj83/html/download/index.html' }, dialogPar: { borderTop: '3px solid #3D3F44', headBg: '#0F0F0F', bandBorder: '1px solid #3E4148', active: '#63666D', titleColor: '#484A51', ulBg: '#FCFCFC', ulBg2: '#fff', headColor: '#fff', borderLeft: '3px solid #484A51', activeName: 'darkActive', hoverName: 'hoverName3' }, poptype: 'xpj83', showtype: { topImg: 'jsyl', //弹窗头部图片 closeImg: 'close_1', //弹窗关é—图片 textColor: '#9B7E44' //弹窗按钮颜色 }, attPar: { btnColor: '#1F1F1F', closeImg: 'close_1', //弹窗关é—图片 coverImgUrl: '../../../../static/xpj83/img/tc.png' } }; }, methods: {}, created: function created() {}, components: { vpHomeHeader: pages_xpj83_home_header, vpLotHeader: components_header_header, vpAside: xpj83_home_Aside, vpHomeFooter: xpj83_home_footer, personals: pages_public_personals, comModal: public_home_newcommon, showModal: public_home_showcommon, sideBottom: public_activity_sideBottom, alertResiter: xpj83_home_alertRegiste, redlope: pages_public_red_lope, jumpnewuser: pages_public_jump_newuser, kaiJiang: pages_public_kai_jiang, qiandao: pages_public_qiandao, attentionModel: public_home_attentionModel, safeModal: safeCheck["a" /* default */], dialogModal: public_home_test1Dialog, usdtActive: public_activity_usdt, bindPhone: public_home_bindPhone, bindbank: public_home_bindbankcar // hongbaoyu, }, store: store["a" /* default */] }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-2d49cb3e","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/xpj83/index.vue var xpj83_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"vp-xpj83-style",class:{'tcgBlur':_vm.$store.state.personal.isPersonal}},[( _vm.$route.path.includes('/plays')|| _vm.$route.path.includes('/rules')|| _vm.$route.path.includes('/trend') )?_c('div',{staticClass:"vp-lottery-style"},[_c('vp-lot-header',{attrs:{"lotHeadDatas":_vm.lotHeadDatas}}),_vm._v(" "),_c('router-view',{staticClass:"content-container"})],1):_c('div',{staticClass:"xpj83-cont-wrap"},[_c('vp-home-header'),_vm._v(" "),_c('vp-aside'),_vm._v(" "),_c('router-view'),_vm._v(" "),_c('vp-home-footer'),_vm._v(" "),_c('usdtActive')],1)]),_vm._v(" "),_c('div',{staticClass:"personals-wrap-style"},[_c('personals')],1),_vm._v(" "),_c('attentionModel',{attrs:{"parmas":_vm.attPar}}),_vm._v(" "),_c('safeModal',{attrs:{"stationName":_vm.poptype}}),_vm._v(" "),_c('dialogModal',{attrs:{"dialogPar":_vm.dialogPar}}),_vm._v(" "),_c('showModal',{attrs:{"showtype":_vm.showtype}}),_vm._v(" "),_c('alertResiter'),_vm._v(" "),_c('redlope',{attrs:{"isRedShow":_vm.$store.state.home.isRedLop}}),_vm._v(" "),_c('kaiJiang'),_vm._v(" "),_c('qiandao'),_vm._v(" "),_c('bindPhone'),_vm._v(" "),_c('bindbank')],1)} var xpj83_staticRenderFns = [] var xpj83_esExports = { render: xpj83_render, staticRenderFns: xpj83_staticRenderFns } /* harmony default export */ var pages_xpj83 = (xpj83_esExports); // CONCATENATED MODULE: ./src/pages/xpj83/index.vue function xpj83_injectStyle (ssrContext) { __webpack_require__("BsH6") } var xpj83_normalizeComponent = __webpack_require__("VU/8") /* script */ /* template */ /* template functional */ var xpj83___vue_template_functional__ = false /* styles */ var xpj83___vue_styles__ = xpj83_injectStyle /* scopeId */ var xpj83___vue_scopeId__ = null /* moduleIdentifier (server only) */ var xpj83___vue_module_identifier__ = null var xpj83_Component = xpj83_normalizeComponent( xpj83, pages_xpj83, xpj83___vue_template_functional__, xpj83___vue_styles__, xpj83___vue_scopeId__, xpj83___vue_module_identifier__ ) /* harmony default export */ var src_pages_xpj83 = __webpack_exports__["default"] = (xpj83_Component.exports); /***/ }), /***/ "rzvd": /***/ (function(module, exports, __webpack_require__) { var toIndexedObject = __webpack_require__("OPii"); var toAbsoluteIndex = __webpack_require__("or9A"); var lengthOfArrayLike = __webpack_require__("DrWn"); // `Array.prototype.{ indexOf, includes }` methods implementation var createMethod = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIndexedObject($this); var length = lengthOfArrayLike(O); var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare -- NaN check if (IS_INCLUDES && el != el) while (length > index) { value = O[index++]; // eslint-disable-next-line no-self-compare -- NaN check if (value != value) return true; // Array#indexOf ignores holes, Array#includes - not } else for (;length > index; index++) { if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; }; module.exports = { // `Array.prototype.includes` method // https://tc39.es/ecma262/#sec-array.prototype.includes includes: createMethod(true), // `Array.prototype.indexOf` method // https://tc39.es/ecma262/#sec-array.prototype.indexof indexOf: createMethod(false) }; /***/ }), /***/ "s1Q/": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".bounce-enter-active{animation:bounce-in 0s}.bounce-leave-to{animation:bounce-in 1s reverse!important}.bounce-leave-active{animation:bounce-in 1s reverse}.bounce-leave-active.filter{background-color:transparent!important}", ""]); // exports /***/ }), /***/ "sHAr": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("9mY4"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("d93157e2", content, true, {}); /***/ }), /***/ "sYKs": /***/ (function(module, exports, __webpack_require__) { const Mode = __webpack_require__("uF9H") function NumericData (data) { this.mode = Mode.NUMERIC this.data = data.toString() } NumericData.getBitsLength = function getBitsLength (length) { return 10 * Math.floor(length / 3) + ((length % 3) ? ((length % 3) * 3 + 1) : 0) } NumericData.prototype.getLength = function getLength () { return this.data.length } NumericData.prototype.getBitsLength = function getBitsLength () { return NumericData.getBitsLength(this.data.length) } NumericData.prototype.write = function write (bitBuffer) { let i, group, value // The input data string is divided into groups of three digits, // and each group is converted to its 10-bit binary equivalent. for (i = 0; i + 3 <= this.data.length; i += 3) { group = this.data.substr(i, 3) value = parseInt(group, 10) bitBuffer.put(value, 10) } // If the number of input digits is not an exact multiple of three, // the final one or two digits are converted to 4 or 7 bits respectively. const remainingNum = this.data.length - i if (remainingNum > 0) { group = this.data.substr(i) value = parseInt(group, 10) bitBuffer.put(value, remainingNum * 3 + 1) } } module.exports = NumericData /***/ }), /***/ "tQVA": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("r+Lw"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("782eac0e", content, true, {}); /***/ }), /***/ "tS49": /***/ (function(module, exports, __webpack_require__) { var fails = __webpack_require__("fwHU"); module.exports = !fails(function () { // eslint-disable-next-line es-x/no-function-prototype-bind -- safe var test = (function () { /* empty */ }).bind(); // eslint-disable-next-line no-prototype-builtins -- safe return typeof test != 'function' || test.hasOwnProperty('prototype'); }); /***/ }), /***/ "tqYs": /***/ (function(module, exports, __webpack_require__) { "use strict"; var collection = __webpack_require__("jaFP"); var collectionStrong = __webpack_require__("Y9Os"); // `Set` constructor // https://tc39.es/ecma262/#sec-set-objects collection('Set', function (init) { return function Set() { return init(this, arguments.length ? arguments[0] : undefined); }; }, collectionStrong); /***/ }), /***/ "u7Za": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/src/assets/img/springFestival/red-envelope-open.bcc41d8.png"; /***/ }), /***/ "uCvA": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "", ""]); // exports /***/ }), /***/ "uF9H": /***/ (function(module, exports, __webpack_require__) { const VersionCheck = __webpack_require__("yYhy") const Regex = __webpack_require__("NY/E") /** * Numeric mode encodes data from the decimal digit set (0 - 9) * (byte values 30HEX to 39HEX). * Normally, 3 data characters are represented by 10 bits. * * @type {Object} */ exports.NUMERIC = { id: 'Numeric', bit: 1 << 0, ccBits: [10, 12, 14] } /** * Alphanumeric mode encodes data from a set of 45 characters, * i.e. 10 numeric digits (0 - 9), * 26 alphabetic characters (A - Z), * and 9 symbols (SP, $, %, *, +, -, ., /, :). * Normally, two input characters are represented by 11 bits. * * @type {Object} */ exports.ALPHANUMERIC = { id: 'Alphanumeric', bit: 1 << 1, ccBits: [9, 11, 13] } /** * In byte mode, data is encoded at 8 bits per character. * * @type {Object} */ exports.BYTE = { id: 'Byte', bit: 1 << 2, ccBits: [8, 16, 16] } /** * The Kanji mode efficiently encodes Kanji characters in accordance with * the Shift JIS system based on JIS X 0208. * The Shift JIS values are shifted from the JIS X 0208 values. * JIS X 0208 gives details of the shift coded representation. * Each two-byte character value is compacted to a 13-bit binary codeword. * * @type {Object} */ exports.KANJI = { id: 'Kanji', bit: 1 << 3, ccBits: [8, 10, 12] } /** * Mixed mode will contain a sequences of data in a combination of any of * the modes described above * * @type {Object} */ exports.MIXED = { bit: -1 } /** * Returns the number of bits needed to store the data length * according to QR Code specifications. * * @param {Mode} mode Data mode * @param {Number} version QR Code version * @return {Number} Number of bits */ exports.getCharCountIndicator = function getCharCountIndicator (mode, version) { if (!mode.ccBits) throw new Error('Invalid mode: ' + mode) if (!VersionCheck.isValid(version)) { throw new Error('Invalid version: ' + version) } if (version >= 1 && version < 10) return mode.ccBits[0] else if (version < 27) return mode.ccBits[1] return mode.ccBits[2] } /** * Returns the most efficient mode to store the specified data * * @param {String} dataStr Input data string * @return {Mode} Best mode */ exports.getBestModeForData = function getBestModeForData (dataStr) { if (Regex.testNumeric(dataStr)) return exports.NUMERIC else if (Regex.testAlphanumeric(dataStr)) return exports.ALPHANUMERIC else if (Regex.testKanji(dataStr)) return exports.KANJI else return exports.BYTE } /** * Return mode name as string * * @param {Mode} mode Mode object * @returns {String} Mode name */ exports.toString = function toString (mode) { if (mode && mode.id) return mode.id throw new Error('Invalid mode') } /** * Check if input param is a valid mode object * * @param {Mode} mode Mode object * @returns {Boolean} True if valid mode, false otherwise */ exports.isValid = function isValid (mode) { return mode && mode.bit && mode.ccBits } /** * Get mode object from its name * * @param {String} string Mode name * @returns {Mode} Mode object */ function fromString (string) { if (typeof string !== 'string') { throw new Error('Param is not a string') } const lcStr = string.toLowerCase() switch (lcStr) { case 'numeric': return exports.NUMERIC case 'alphanumeric': return exports.ALPHANUMERIC case 'kanji': return exports.KANJI case 'byte': return exports.BYTE default: throw new Error('Unknown mode: ' + string) } } /** * Returns mode from a value. * If value is not a valid mode, returns defaultValue * * @param {Mode|String} value Encoding mode * @param {Mode} defaultValue Fallback value * @return {Mode} Encoding mode */ exports.from = function from (value, defaultValue) { if (exports.isValid(value)) { return value } try { return fromString(value) } catch (e) { return defaultValue } } /***/ }), /***/ "uH59": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("jI+G"); var isCallable = __webpack_require__("ELn+"); var inspectSource = __webpack_require__("oukt"); var WeakMap = global.WeakMap; module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap)); /***/ }), /***/ "uUk8": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".peronsals .binding .content .deposit-left .ivu-select{width:242px}.peronsals .binding .content .deposit-left .ivu-select .ivu-select-dropdown-list{height:265px}.peronsals .binding .content .deposit-left .adressSelect .ivu-select-dropdown-list{height:340px}.peronsals .binding .content .deposit-left .csSelect .ivu-select-dropdown-list{max-height:340px;height:auto}.peronsals .binding .content .deposit-left .mbSelect .ivu-select-dropdown-list{max-height:230px;height:auto}.bindingusdt .header{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:66px;font-weight:400;margin:0 14px;font-family:Microsoft YaHei}.bindingusdt .content .deposit-left{padding-top:6px;width:52%;position:relative}.bindingusdt .content .deposit-left .tips{position:relative;padding:20px;width:339px;border:1px solid #e0e0e0;margin-left:65px}.bindingusdt .content .deposit-left .tips p{color:#969696;font-size:14px;line-height:25px}.bindingusdt .content .deposit-left .tips p:first-child{font-weight:700}.bindingusdt .content .deposit-left .row{margin-top:20px}.bindingusdt .content .deposit-left .row .text{display:inline-block;width:144px;text-align:right;font-size:16px;font-family:Microsoft YaHei;vertical-align:middle;color:#696969}.bindingusdt .content .deposit-left .row input{width:275px;height:37px;background:#f9f9f9;border:1px solid #f5f5f5;font-size:16px;border-radius:10px;text-align:left;text-indent:.4em;padding-left:7px;color:#666}.bindingusdt .content .deposit-left .row input:not(.other){width:275px;height:38px;background:#f9f9f9}.bindingusdt .content .deposit-left .row input:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.bindingusdt .content .deposit-left .bar{height:50px;line-height:50px}.bindingusdt .content .deposit-left .bar label{display:inline-block;width:144px;text-align:right;font-size:15px;font-family:Microsoft YaHei}.bindingusdt .content .deposit-left .bar span{font-size:15px;font-family:Microsoft YaHei}.bindingusdt .content .deposit-left .bar span span{color:#f90;text-decoration:underline;font-family:Microsoft YaHei;cursor:pointer;font-size:15px;padding-left:5px;padding-left:-2px}.bindingusdt .content .deposit-left .submit{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin-top:28px;margin-left:150px;display:inline-block;cursor:pointer}.bindingusdt .content .deposit-left .submit.active{background:linear-gradient(180deg,#ccc,#eee)}.bindingusdt .content .deposit-left .submit.active:hover{cursor:not-allowed}.bindingusdt .content .deposit-left .max-bank{padding-left:20px;font-size:1.3em;display:block;font-size:15px;border-bottom:1px solid #f3f3f3;padding-bottom:20px;margin:1px 50px}.bindingusdt .content .deposit-left .toast{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:-93px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.bindingusdt .content .deposit-left .toast:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.bindingusdt .content .deposit-left .ivu-select{width:275px}.bindingusdt .content .deposit-usdt{width:48%;height:584px;background:#f2f2f2;border-radius:0 0 15px 0}.bindingusdt .content .deposit-usdt .bank{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.bindingusdt .content .deposit-usdt .bank .mask{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.bindingusdt .content .deposit-usdt .bank .mask img{margin-top:20px;margin-left:210px;width:140px;height:60px}.bindingusdt .content .deposit-usdt .bank .title{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bindingusdt .content .deposit-usdt .bank .title span{font-size:16px;color:#fff}.bindingusdt .content .deposit-usdt .bank .bank-kh{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.bindingusdt .content .deposit-usdt .bank .bank-kh span{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.bindingusdt .content .deposit-usdt .bank .bank-info{height:36px;line-height:36px}.bindingusdt .content .deposit-usdt .bank .bank-info span{display:inline-block;font-size:14px;color:#fff}.bindingusdt .content .deposit-usdt .ivu-carousel-dots-inside{bottom:-20px}", ""]); // exports /***/ }), /***/ "ug8i": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".ivu-table .ivu-table-body .ivu-table-overflowX,.peronsals .point_table_footer .ivu-table-body{height:400px!important}.peronsals .setRefund .ivu-select-dropdown-list{max-height:160px}.apply_open .header{border-bottom:1px solid #f3f3f3;height:66px;line-height:66px;margin-left:28px}.apply_open .header ul{line-height:66px;overflow:hidden;padding:15px 0}.apply_open .header ul li{padding:0 20px;font-size:1.8em;height:40px;float:left;line-height:40px;text-align:center}.apply_open .header ul li:first-child{padding:0;height:40px;line-height:40px}.apply_open .header ul li:first-child span{line-height:28px;font-size:18px;font-family:MicrosoftYaHei;display:inline-block;padding-right:14px;height:28px;border-right:1px solid #dbdbdb;font-weight:400;color:#696969}.apply_open .header ul .aisle{border:none;font-size:1.6em;font-weight:200;padding-left:14px}.apply_open .header ul .aisle span{padding:6px 20px;cursor:pointer}.apply_open .header ul .aisle .spanActive{background:linear-gradient(180deg,#fe8983,#f0b761);border-radius:10px;color:#fff}.apply_open .content{position:relative}.apply_open .content .row label{width:67px;height:16px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333;line-height:52px;margin-right:15px;margin-left:28px}.apply_open .content .row div{width:64px;height:32px;line-height:30px;border:1px solid #999;border-radius:5px;text-align:center;display:inline-block;cursor:pointer;font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#666}.apply_open .content .row div:nth-child(3),.apply_open .content .row div:nth-child(4){margin-left:31px}.apply_open .content .row .open_type,.apply_open .content .row .open_type1{width:64px}.apply_open .content .row .newcode,.apply_open .content .row .open_type,.apply_open .content .row .open_type1{height:32px;line-height:30px;border:1px solid #ff9146;background:linear-gradient(0deg,#ff8686,#eebc5d);border-radius:5px;text-align:center;font-size:16px;font-weight:400;font-family:MicrosoftYaHei;color:#fff;display:inline-block}.apply_open .content .row .newcode{width:100px;margin:10px 26px}.apply_open .content .row .oneSet{background:#ff7b00;color:#fff;border-radius:8px;padding:6px 90px;cursor:pointer}.apply_open .content .row input{height:36px;font-size:16px;background:#710e1f;border:0 solid #f5f5f5;border-radius:10px;text-align:left;text-indent:1em;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666;line-height:36px}.apply_open .content .row input:not(.other){width:240px;height:38px;line-height:38px;background:#fdfdfd}.apply_open .content .row input .ivu-radio{font-size:16px;color:#666}.apply_open .content .row input::-webkit-input-placeholder{width:240px;height:42px;font-size:14px;font-family:PingFang-SC-Regular;font-weight:400;color:#aaa;line-height:42px;text-indent:15px}.apply_open .content .row input:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.apply_open .content .row .ivu-select{width:240px}.apply_open .content .row .ivu-select .ivu-select-dropdown-list{max-height:160px}.apply_open .content .row span{font-size:14.25px;vertical-align:middle}.apply_open .content .row .ivu-radio-group{margin-left:30px}.apply_open .content .row .radio-span{font-size:1.2em;font-weight:200;color:#999}.apply_open .content .row:first-child{cursor:pointer;position:relative}.apply_open .content .row:first-child .view_odds{position:absolute;top:0;right:28px;width:151px;height:52px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400;border:0;color:#ff9146;line-height:52px}.apply_open .content .page{position:absolute;right:20px;bottom:100px}.apply_open .content .caipiaoContent{position:relative;height:348px}.apply_open .content .caipiaoContent .bar{margin-top:7px!important}.apply_open .content .caipiaoContent h3{width:67px;height:15px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333;line-height:15px;margin-left:28px;margin-bottom:6px;margin-top:10px}.apply_open .content .caipiaoContent .bar{margin-top:20px;padding-left:30px;cursor:pointer;width:30%}.apply_open .content .caipiaoContent .bar label{cursor:pointer;padding-left:5px;font-family:Microsoft YaHei;width:100px;border-radius:10px 0 0 10px}.apply_open .content .caipiaoContent .bar label,.apply_open .content .caipiaoContent .bar span{font-size:15px;vertical-align:middle;display:inline-block;height:30px;line-height:30px;text-align:center}.apply_open .content .caipiaoContent .bar span{width:90px;margin-left:-3px;margin-right:10px;color:#666}.apply_open .content .caipiaoContent .bar i{color:#bebebe;vertical-align:middle;font-size:15px}.apply_open .content .caipiaoContent .refundList label{background:linear-gradient(180deg,#fe8983,#f0b761);color:#fff}.apply_open .content .caipiaoContent .refundList span{background:#f4f4f4}.apply_open .content .caipiaoContent .setRefund{position:absolute;width:230px;top:0;left:270px;border:1px solid #f5f5f5;overflow:hidden;max-height:275px}.apply_open .content .caipiaoContent .setRefund .setRefund-main{padding:5px 10px;height:275px;max-height:275px;overflow:auto;width:140%;padding-right:30px;position:relative}.apply_open .content .caipiaoContent .setRefund .setRefund-main .refund-row{margin-bottom:10px;position:relative}.apply_open .content .caipiaoContent .setRefund .setRefund-main .refund-row span{font-size:15px;display:inline-block;height:30px;width:90px;line-height:30px;text-align:center;vertical-align:middle;margin-left:-3px;margin-right:10px;color:#666}.apply_open .content .caipiaoContent .setRefund .setRefund-main .refund-row .leftImg{position:absolute;top:-2px;left:105px;cursor:pointer}.apply_open .content .caipiaoContent .setRefund .setRefund-main .refund-row .rightImg{position:absolute;top:-2px;left:160px;cursor:pointer}.apply_open .content .caipiaoContent .setRefund .setRefund-main .refund-row label{vertical-align:middle;font-size:14px;display:inline-block;width:100px;text-align:right}.apply_open .content .caipiaoContent .setRefund .setRefund-main .refund-row .ivu-select{width:98px}.apply_open .content .caipiaoContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection{height:24px;border-radius:5px}.apply_open .content .caipiaoContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-placeholder,.apply_open .content .caipiaoContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-selected-value{height:24px;line-height:24px}.apply_open .content .refundContent{position:absolute;right:-500px;top:88px;width:100%}.apply_open .content .refundContent .bar{margin-top:20px;padding-left:28px;cursor:pointer;width:30%}.apply_open .content .refundContent .bar label{cursor:pointer;padding-left:5px;font-family:Microsoft YaHei;width:100px;border-radius:10px 0 0 10px}.apply_open .content .refundContent .bar label,.apply_open .content .refundContent .bar span{font-size:15px;vertical-align:middle;display:inline-block;height:30px;line-height:30px;text-align:center}.apply_open .content .refundContent .bar span{width:90px;margin-left:-3px;margin-right:10px;color:#666}.apply_open .content .refundContent .bar i{color:#bebebe;vertical-align:middle;font-size:15px}.apply_open .content .refundContent .refundList label{background:linear-gradient(180deg,#fe8983,#f0b761);color:#fff}.apply_open .content .refundContent .refundList span{background:#f4f4f4}.apply_open .content .refundContent .setRefund{position:absolute;width:214px;top:20px;left:288px;border:1px solid #f5f5f5;overflow:hidden;max-height:275px}.apply_open .content .refundContent .setRefund .setRefund-main{padding:5px 10px;height:275px;max-height:275px;overflow:auto;width:140%;padding-right:30px;position:relative}.apply_open .content .refundContent .setRefund .setRefund-main .refund-row{margin-bottom:10px;position:relative}.apply_open .content .refundContent .setRefund .setRefund-main .refund-row .leftImg{position:absolute;top:-2px;left:105px;cursor:pointer}.apply_open .content .refundContent .setRefund .setRefund-main .refund-row .rightImg{position:absolute;top:-2px;left:160px;cursor:pointer}.apply_open .content .refundContent .setRefund .setRefund-main .refund-row label{vertical-align:middle;font-size:14px;display:inline-block;width:90px;text-align:right}.apply_open .content .refundContent .setRefund .setRefund-main .refund-row .ivu-select{width:98px}.apply_open .content .refundContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection{height:24px;border-radius:5px}.apply_open .content .refundContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-placeholder,.apply_open .content .refundContent .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-selected-value{height:24px;line-height:24px}.apply_open .content .submitPay{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3494,#ff1c4b);border-radius:5px;margin:12px auto;cursor:pointer}.apply_open .content .submitPayPerson{margin-left:110px}.apply_open .toast{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:400px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.apply_open .toast:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.apply_open .point_ball{width:1270px;height:650px;background:rgba(0,0,0,.7);border-radius:15px;left:0;top:0;z-index:999999;position:absolute}.apply_open .point_ball .point_table{overflow:hidden;width:1021px;height:576px;background:#fff;border-radius:15px;z-index:9999999;opacity:1;position:absolute;left:0;right:0;top:0;bottom:0;margin:auto}.apply_open .point_ball .point_table .point_table_header{width:1021px;height:68px;padding:0 25px;border-bottom:1px solid;border-color:#dbdbdb}.apply_open .point_ball .point_table .point_table_header p{width:132px;height:19px;font-size:18px;font-family:MicrosoftYaHei;font-weight:400;color:#000;line-height:68px}.apply_open .point_ball .point_table .vp-admin-wrap-close{position:absolute;z-index:999999;top:12px;right:0;cursor:pointer;width:60px;height:40px;background:#f2f2f2;border-bottom-left-radius:24px;border-top-left-radius:24px}.apply_open .point_ball .point_table .vp-admin-wrap-close:hover{background:linear-gradient(180deg,#ff3492,#ff1e4f)}.apply_open .point_ball .point_table .vp-admin-wrap-close .vp-admin-wrap-close-empty{position:relative;background:#fff;border-radius:50%;width:36px;height:36px;font-size:56px;left:2px;top:2px;transition:all .5s ease-in}.apply_open .point_ball .point_table .vp-admin-wrap-close .vp-admin-wrap-close-empty a{position:absolute;top:9px;left:9px;width:20px;height:20px;display:inline-block;background:url(\"/static/public/image/common/vp-common-close.png\") #fff;background-size:98% 98%}.apply_open .point_ball .point_table .vp-admin-wrap-close .vp-admin-wrap-close-empty:hover{transform:translateX(40%)}.apply_open .point_ball .point_table .point_table_middle{margin:23px 0;padding:0 23px;height:42px;line-height:42px}.apply_open .point_ball .point_table .point_table_middle dl{overflow:hidden}.apply_open .point_ball .point_table .point_table_middle dl dd{float:left;height:42px}.apply_open .point_ball .point_table .point_table_middle dl dd .computedBtn{text-align:center;width:106px;height:36px;cursor:pointer;background:linear-gradient(0deg,#ff8686,#fd4040);border-radius:5px;vertical-align:middle;margin-top:3px}.apply_open .point_ball .point_table .point_table_middle dl dd .computedBtn span{width:64px;height:16px;font-size:16px;font-family:PingFang-SC-Regular;font-weight:400;color:#fff;line-height:25px}.apply_open .point_ball .point_table .point_table_middle dl dd input{width:135px;height:42px;font-size:16px;background:#710e1f;border:0 solid #f5f5f5;border-radius:10px;text-align:left;text-indent:1em;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666}.apply_open .point_ball .point_table .point_table_middle dl dd input:not(.other){width:240px;height:38px;background:#fdfdfd}.apply_open .point_ball .point_table .point_table_middle dl dd input .ivu-radio{font-size:16px;color:#666}.apply_open .point_ball .point_table .point_table_middle dl dd input:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.apply_open .point_ball .point_table .point_table_middle dl dd input::-webkit-input-placeholder{width:240px;height:42px;font-size:14px;font-family:PingFang-SC-Regular;font-weight:400;color:#aaa;line-height:42px;text-indent:15px}.apply_open .point_ball .point_table .point_table_middle dl dd dd:first-child{width:240px}.apply_open .point_ball .point_table .point_table_middle dl dd dd:first-child input{height:42px}.apply_open .point_ball .point_table .point_table_middle dl dd dd:nth-child(2){width:56px;height:36px;margin-left:26px}.apply_open .point_ball .point_table .point_table_middle dl dd dd:nth-child(2) p{width:56px;height:42px;font-size:14px;font-family:PingFang-SC-Regular;font-weight:400;line-height:42px;color:#333}.apply_open .point_ball .point_table .point_table_middle dl dd dd:nth-child(3){margin-left:10px;margin-right:22px;overflow:hidden}.apply_open .point_ball .point_table .point_table_middle dl dd dd:nth-child(3) input{height:42px}.apply_open .point_ball .point_table .point_table_middle dl dd dd:nth-child(4){vertical-align:middle}.apply_open .point_ball .point_table .point_table_middle .point_table_footer .peronsals .ivu-table-body{height:400px!important}.apply_open .point_details{width:1270px;height:650px;background:rgba(0,0,0,.7);border-radius:15px;left:0;top:0;z-index:999999;position:absolute}.apply_open .point_details .point_table{overflow:hidden;width:1021px;height:576px;background:#fff;border-radius:15px;z-index:9999999;opacity:1;position:absolute;left:0;right:0;top:0;bottom:0;margin:auto}.apply_open .point_details .point_table .point_table_header{width:1021px;height:68px;padding:0 25px;border-bottom:1px solid;border-color:#dbdbdb}.apply_open .point_details .point_table .point_table_header p{width:132px;height:19px;font-size:18px;font-family:MicrosoftYaHei;font-weight:400;color:#000;line-height:68px}.apply_open .point_details .point_table .vp-admin-wrap-close{position:absolute;z-index:999999;top:12px;right:0;cursor:pointer;width:60px;height:40px;background:#f2f2f2;border-bottom-left-radius:24px;border-top-left-radius:24px}.apply_open .point_details .point_table .vp-admin-wrap-close:hover{background:linear-gradient(180deg,#ff3492,#ff1e4f)}.apply_open .point_details .point_table .vp-admin-wrap-close .vp-admin-wrap-close-empty{position:relative;background:#fff;border-radius:50%;width:36px;height:36px;font-size:56px;left:2px;top:2px;transition:all .5s ease-in}.apply_open .point_details .point_table .vp-admin-wrap-close .vp-admin-wrap-close-empty a{position:absolute;top:9px;left:9px;width:20px;height:20px;display:inline-block;background:url(\"/static/public/image/common/vp-common-close.png\") #fff;background-size:98% 98%}.apply_open .point_details .point_table .vp-admin-wrap-close .vp-admin-wrap-close-empty:hover{transform:translateX(40%)}.apply_open .point_details .point_table_content .caipiaodetails{position:relative;top:20px;height:348px}.apply_open .point_details .point_table_content .caipiaodetails h3{width:67px;height:15px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400;color:#333;line-height:15px;margin-left:28px;margin-bottom:6px;margin-top:10px}.apply_open .point_details .point_table_content .caipiaodetails .bar{margin-top:20px;padding-left:30px;cursor:pointer;width:30%}.apply_open .point_details .point_table_content .caipiaodetails .bar label{cursor:pointer;padding-left:5px;font-size:15px;font-family:Microsoft YaHei;vertical-align:middle;display:inline-block;height:30px;width:100px;line-height:30px;text-align:center;border-radius:10px 0 0 10px}.apply_open .point_details .point_table_content .caipiaodetails .bar span{font-size:15px;display:inline-block;height:30px;width:90px;line-height:30px;text-align:center;vertical-align:middle;margin-left:-3px;margin-right:10px;color:#666}.apply_open .point_details .point_table_content .caipiaodetails .bar i{color:#bebebe;vertical-align:middle;font-size:15px}.apply_open .point_details .point_table_content .caipiaodetails .refundList label{background:linear-gradient(180deg,#fe8983,#f0b761);color:#fff}.apply_open .point_details .point_table_content .caipiaodetails .refundList span{background:#f4f4f4}.apply_open .point_details .point_table_content .caipiaodetails .setRefund{position:absolute;width:230px;top:0;left:270px;border:1px solid #f5f5f5;overflow:hidden;max-height:275px}.apply_open .point_details .point_table_content .caipiaodetails .setRefund .setRefund-main{padding:5px 10px;height:275px;max-height:275px;overflow:auto;width:140%;padding-right:30px;position:relative}.apply_open .point_details .point_table_content .caipiaodetails .setRefund .setRefund-main .refund-row{margin-bottom:10px;position:relative}.apply_open .point_details .point_table_content .caipiaodetails .setRefund .setRefund-main .refund-row span{font-size:15px;display:inline-block;height:30px;width:90px;line-height:30px;text-align:center;vertical-align:middle;margin-left:-3px;margin-right:10px;color:#666}.apply_open .point_details .point_table_content .caipiaodetails .setRefund .setRefund-main .refund-row .leftImg{position:absolute;top:-2px;left:105px;cursor:pointer}.apply_open .point_details .point_table_content .caipiaodetails .setRefund .setRefund-main .refund-row .rightImg{position:absolute;top:-2px;left:160px;cursor:pointer}.apply_open .point_details .point_table_content .caipiaodetails .setRefund .setRefund-main .refund-row label{vertical-align:middle;font-size:14px;display:inline-block;width:100px;text-align:right}.apply_open .point_details .point_table_content .caipiaodetails .setRefund .setRefund-main .refund-row .ivu-select{width:98px}.apply_open .point_details .point_table_content .caipiaodetails .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection{height:24px;border-radius:5px}.apply_open .point_details .point_table_content .caipiaodetails .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-placeholder,.apply_open .point_details .point_table_content .caipiaodetails .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-selected-value{height:24px;line-height:24px}.apply_open .point_details .point_table_content .refunddetails{position:absolute;right:-500px;width:100%;top:88px}.apply_open .point_details .point_table_content .refunddetails .bar{margin-top:20px;padding-left:28px;cursor:pointer;width:30%}.apply_open .point_details .point_table_content .refunddetails .bar label{cursor:pointer;padding-left:5px;font-size:15px;font-family:Microsoft YaHei;vertical-align:middle;display:inline-block;height:30px;width:100px;line-height:30px;text-align:center;border-radius:10px 0 0 10px}.apply_open .point_details .point_table_content .refunddetails .bar span{font-size:15px;display:inline-block;height:30px;width:90px;line-height:30px;text-align:center;vertical-align:middle;margin-left:-3px;margin-right:10px;color:#666}.apply_open .point_details .point_table_content .refunddetails .bar i{color:#bebebe;vertical-align:middle;font-size:15px}.apply_open .point_details .point_table_content .refunddetails .refundList label{background:linear-gradient(180deg,#fe8983,#f0b761);color:#fff}.apply_open .point_details .point_table_content .refunddetails .refundList span{background:#f4f4f4}.apply_open .point_details .point_table_content .refunddetails .setRefund{position:absolute;width:214px;top:20px;left:288px;border:1px solid #f5f5f5;overflow:hidden;max-height:275px}.apply_open .point_details .point_table_content .refunddetails .setRefund .setRefund-main{padding:5px 10px;height:275px;max-height:275px;overflow:auto;width:140%;padding-right:30px;position:relative}.apply_open .point_details .point_table_content .refunddetails .setRefund .setRefund-main .refund-row{margin-bottom:10px;position:relative}.apply_open .point_details .point_table_content .refunddetails .setRefund .setRefund-main .refund-row .leftImg{position:absolute;top:-2px;left:105px;cursor:pointer}.apply_open .point_details .point_table_content .refunddetails .setRefund .setRefund-main .refund-row .rightImg{position:absolute;top:-2px;left:160px;cursor:pointer}.apply_open .point_details .point_table_content .refunddetails .setRefund .setRefund-main .refund-row label{vertical-align:middle;font-size:14px;display:inline-block;width:90px;text-align:right}.apply_open .point_details .point_table_content .refunddetails .setRefund .setRefund-main .refund-row .ivu-select{width:98px}.apply_open .point_details .point_table_content .refunddetails .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection{height:24px;border-radius:5px}.apply_open .point_details .point_table_content .refunddetails .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-placeholder,.apply_open .point_details .point_table_content .refunddetails .setRefund .setRefund-main .refund-row .ivu-select-single .ivu-select-selection .ivu-select-selected-value{height:24px;line-height:24px}.apply_open .point_details .point_table_content .refunddetails span{font-size:15px;display:inline-block;height:30px;width:90px;line-height:30px;text-align:center;vertical-align:middle;margin-left:-3px;margin-right:10px;color:#666}.nodetail{display:none}.nocolore{display:inline-block;width:1px;height:16px;background:#dbdbdb;vertical-align:middle}", ""]); // exports /***/ }), /***/ "usz3": /***/ (function(module, exports, __webpack_require__) { var fails = __webpack_require__("fwHU"); module.exports = !fails(function () { function F() { /* empty */ } F.prototype.constructor = null; // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing return Object.getPrototypeOf(new F()) !== F.prototype; }); /***/ }), /***/ "utyv": /***/ (function(module, exports) { exports.L = { bit: 1 } exports.M = { bit: 0 } exports.Q = { bit: 3 } exports.H = { bit: 2 } function fromString (string) { if (typeof string !== 'string') { throw new Error('Param is not a string') } const lcStr = string.toLowerCase() switch (lcStr) { case 'l': case 'low': return exports.L case 'm': case 'medium': return exports.M case 'q': case 'quartile': return exports.Q case 'h': case 'high': return exports.H default: throw new Error('Unknown EC Level: ' + string) } } exports.isValid = function isValid (level) { return level && typeof level.bit !== 'undefined' && level.bit >= 0 && level.bit < 4 } exports.from = function from (value, defaultValue) { if (exports.isValid(value)) { return value } try { return fromString(value) } catch (e) { return defaultValue } } /***/ }), /***/ "vASH": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".next .next-content[data-v-60f92c00]{position:relative;height:650px;overflow:hidden}.next .next-content .header[data-v-60f92c00]{height:60px;line-height:85px;border-bottom:1px solid #f3f3f3;margin:10px 14px 0;display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end}.next .next-content .header ul li[data-v-60f92c00]{padding:0 10px;font-size:1.8em;height:30px;float:left;line-height:30px;margin-bottom:10px;text-align:center;border-right:1px solid #dbdbdb}.next .next-content .header ul .aisle[data-v-60f92c00]{border:none;font-size:1.6em;font-weight:200}.next .next-content .header ul .aisle span[data-v-60f92c00]{padding:6px 20px;cursor:pointer}.next .next-content .header ul .aisle .spanActive[data-v-60f92c00]{background:linear-gradient(180deg,#fe8983,#f0b761);border-radius:10px;color:#fff}.next .next-content .search[data-v-60f92c00]{height:64px;line-height:64px;padding:0 10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.next .next-content .search .search-input[data-v-60f92c00]{width:196px;margin-left:15px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.next .next-content .search .search-input input[data-v-60f92c00]{height:36px;line-height:36px;font-size:16px;background:#f5f5f5;border:0 solid #f5f5f5;border-radius:10px;padding-left:6px;text-align:left;text-indent:5px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666;border-color:none}.next .next-content .search .search-input input[data-v-60f92c00]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.next .next-content .search .status[data-v-60f92c00]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-left:21px}.next .next-content .search .status label[data-v-60f92c00]{font-size:16px}.next .next-content .search .status .status-select[data-v-60f92c00]{width:79px;height:36px;vertical-align:middle;margin-left:10px}.next .next-content .search .searchBtn[data-v-60f92c00]{vertical-align:middle;width:80px;height:36px;border-radius:5px;background:linear-gradient(180deg,#ff3492,#ff1e4f);color:#fff;line-height:36px;text-align:center;display:inline-block;margin-left:20px;font-size:18px;cursor:pointer;margin-right:20px}.next .next-content .tot-income[data-v-60f92c00]{position:absolute;left:26px;bottom:25px}.next .next-content .tot-income span[data-v-60f92c00]:first-child{color:#000;font-size:18px}.next .next-content .tot-income span[data-v-60f92c00]:nth-child(2){color:#ff9146;font-size:18px}.next .next-content .page[data-v-60f92c00]{position:absolute;right:25px;bottom:25px}", ""]); // exports /***/ }), /***/ "vPzN": /***/ (function(module, exports, __webpack_require__) { const encodeUtf8 = __webpack_require__("Yb9d") const Mode = __webpack_require__("uF9H") function ByteData (data) { this.mode = Mode.BYTE this.data = new Uint8Array(encodeUtf8(data)) } ByteData.getBitsLength = function getBitsLength (length) { return length * 8 } ByteData.prototype.getLength = function getLength () { return this.data.length } ByteData.prototype.getBitsLength = function getBitsLength () { return ByteData.getBitsLength(this.data.length) } ByteData.prototype.write = function (bitBuffer) { for (let i = 0, l = this.data.length; i < l; i++) { bitBuffer.put(this.data[i], 8) } } module.exports = ByteData /***/ }), /***/ "veu4": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("XrOq"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("7ca6fe6c", content, true, {}); /***/ }), /***/ "wBZN": /***/ (function(module, exports, __webpack_require__) { const Polynomial = __webpack_require__("X0RI") function ReedSolomonEncoder (degree) { this.genPoly = undefined this.degree = degree if (this.degree) this.initialize(this.degree) } /** * Initialize the encoder. * The input param should correspond to the number of error correction codewords. * * @param {Number} degree */ ReedSolomonEncoder.prototype.initialize = function initialize (degree) { // create an irreducible generator polynomial this.degree = degree this.genPoly = Polynomial.generateECPolynomial(this.degree) } /** * Encodes a chunk of data * * @param {Uint8Array} data Buffer containing input data * @return {Uint8Array} Buffer containing encoded data */ ReedSolomonEncoder.prototype.encode = function encode (data) { if (!this.genPoly) { throw new Error('Encoder not initialized') } // Calculate EC for this data block // extends data size to data+genPoly size const paddedData = new Uint8Array(data.length + this.degree) paddedData.set(data) // The error correction codewords are the remainder after dividing the data codewords // by a generator polynomial const remainder = Polynomial.mod(paddedData, this.genPoly) // return EC data blocks (last n byte, where n is the degree of genPoly) // If coefficients number in remainder are less than genPoly degree, // pad with 0s to the left to reach the needed number of coefficients const start = this.degree - remainder.length if (start > 0) { const buff = new Uint8Array(this.degree) buff.set(remainder, start) return buff } return remainder } module.exports = ReedSolomonEncoder /***/ }), /***/ "wp+8": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, "input::-webkit-input-placeholder{color:#676a70;font-size:.78vw}.jltx:-ms-input-placeholder,.pjdc:-ms-input-placeholder,.qygj:-ms-input-placeholder{color:#b3b3b3!important;font-size:.78vw!important}.a478qp{border-image:linear-gradient(180deg,transparent 50%,#e7e7e7 0) 0 0 100% 0}.a478qp::-webkit-input-placeholder{color:#b3b3b3!important;font-size:17px!important}.test-1{border-image:linear-gradient(180deg,transparent 50%,#e7e7e7 0) 0 0 100% 0}.jltx-new{border-image:linear-gradient(180deg,transparent 50%,#c9c9c9 0) 0 0 100% 0}.jltx-new::-webkit-input-placeholder{font-size:16px!important;color:#a3a3a3!important}.vnso,.ylhg{border-image:linear-gradient(180deg,transparent 50%,#e7e7e7 0) 0 0 100% 0}.amhg,.boye,.mgm90,.vnso,.ylhg{border-bottom:1px solid transparent}.amhg,.boye,.mgm90{border-image:linear-gradient(180deg,transparent 50%,#f0f0f4 0) 0 0 100% 0}.amhg::-webkit-input-placeholder,.boye::-webkit-input-placeholder,.mgm90::-webkit-input-placeholder{color:#cac7c7!important}.ylhg::-webkit-input-placeholder{font-size:18px!important;color:#b6b6b6!important}.vnso::-webkit-input-placeholder{font-size:18px!important;color:#a6a6a6!important}.jsyl::-webkit-input-placeholder{font-size:15px;color:#e4e4e4}.jltx{border:1px solid #b5b4b7;border-radius:5px}.jltx::-webkit-input-placeholder{font-size:15px;color:#e4e4e4}.mgm{border-bottom:1px solid transparent;border-image:linear-gradient(180deg,transparent 50%,#e7e7e7 0) 0 0 100% 0}.mgm::-webkit-input-placeholder{font-size:19px;color:#bbb!important}.mgm:-ms-input-placeholder{font-size:18px!important;color:#bbb!important}.pjdc::-webkit-input-placeholder{font-size:.87vw;color:#bbb}.bet365::-webkit-input-placeholder{font-size:.87vw;color:#666}.bet365_1::-webkit-input-placeholder{font-size:15px;color:#666}", ""]); // exports /***/ }), /***/ "xBc5": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__("d/MT"); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__("rjj0")("39a0d6f6", content, true, {}); /***/ }), /***/ "xCWu": /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */ ;(function(root) { /** Detect free variables */ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; var freeModule = typeof module == 'object' && module && !module.nodeType && module; var freeGlobal = typeof global == 'object' && global; if ( freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal || freeGlobal.self === freeGlobal ) { root = freeGlobal; } /** * The `punycode` object. * @name punycode * @type Object */ var punycode, /** Highest positive signed 32-bit float value */ maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1 /** Bootstring parameters */ base = 36, tMin = 1, tMax = 26, skew = 38, damp = 700, initialBias = 72, initialN = 128, // 0x80 delimiter = '-', // '\x2D' /** Regular expressions */ regexPunycode = /^xn--/, regexNonASCII = /[^\x20-\x7E]/, // unprintable ASCII chars + non-ASCII chars regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, // RFC 3490 separators /** Error messages */ errors = { 'overflow': 'Overflow: input needs wider integers to process', 'not-basic': 'Illegal input >= 0x80 (not a basic code point)', 'invalid-input': 'Invalid input' }, /** Convenience shortcuts */ baseMinusTMin = base - tMin, floor = Math.floor, stringFromCharCode = String.fromCharCode, /** Temporary variable */ key; /*--------------------------------------------------------------------------*/ /** * A generic error utility function. * @private * @param {String} type The error type. * @returns {Error} Throws a `RangeError` with the applicable error message. */ function error(type) { throw new RangeError(errors[type]); } /** * A generic `Array#map` utility function. * @private * @param {Array} array The array to iterate over. * @param {Function} callback The function that gets called for every array * item. * @returns {Array} A new array of values returned by the callback function. */ function map(array, fn) { var length = array.length; var result = []; while (length--) { result[length] = fn(array[length]); } return result; } /** * A simple `Array#map`-like wrapper to work with domain name strings or email * addresses. * @private * @param {String} domain The domain name or email address. * @param {Function} callback The function that gets called for every * character. * @returns {Array} A new string of characters returned by the callback * function. */ function mapDomain(string, fn) { var parts = string.split('@'); var result = ''; if (parts.length > 1) { // In email addresses, only the domain name should be punycoded. Leave // the local part (i.e. everything up to `@`) intact. result = parts[0] + '@'; string = parts[1]; } // Avoid `split(regex)` for IE8 compatibility. See #17. string = string.replace(regexSeparators, '\x2E'); var labels = string.split('.'); var encoded = map(labels, fn).join('.'); return result + encoded; } /** * Creates an array containing the numeric code points of each Unicode * character in the string. While JavaScript uses UCS-2 internally, * this function will convert a pair of surrogate halves (each of which * UCS-2 exposes as separate characters) into a single code point, * matching UTF-16. * @see `punycode.ucs2.encode` * @see <https://mathiasbynens.be/notes/javascript-encoding> * @memberOf punycode.ucs2 * @name decode * @param {String} string The Unicode input string (UCS-2). * @returns {Array} The new array of code points. */ function ucs2decode(string) { var output = [], counter = 0, length = string.length, value, extra; while (counter < length) { value = string.charCodeAt(counter++); if (value >= 0xD800 && value <= 0xDBFF && counter < length) { // high surrogate, and there is a next character extra = string.charCodeAt(counter++); if ((extra & 0xFC00) == 0xDC00) { // low surrogate output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); } else { // unmatched surrogate; only append this code unit, in case the next // code unit is the high surrogate of a surrogate pair output.push(value); counter--; } } else { output.push(value); } } return output; } /** * Creates a string based on an array of numeric code points. * @see `punycode.ucs2.decode` * @memberOf punycode.ucs2 * @name encode * @param {Array} codePoints The array of numeric code points. * @returns {String} The new Unicode string (UCS-2). */ function ucs2encode(array) { return map(array, function(value) { var output = ''; if (value > 0xFFFF) { value -= 0x10000; output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800); value = 0xDC00 | value & 0x3FF; } output += stringFromCharCode(value); return output; }).join(''); } /** * Converts a basic code point into a digit/integer. * @see `digitToBasic()` * @private * @param {Number} codePoint The basic numeric code point value. * @returns {Number} The numeric value of a basic code point (for use in * representing integers) in the range `0` to `base - 1`, or `base` if * the code point does not represent a value. */ function basicToDigit(codePoint) { if (codePoint - 48 < 10) { return codePoint - 22; } if (codePoint - 65 < 26) { return codePoint - 65; } if (codePoint - 97 < 26) { return codePoint - 97; } return base; } /** * Converts a digit/integer into a basic code point. * @see `basicToDigit()` * @private * @param {Number} digit The numeric value of a basic code point. * @returns {Number} The basic code point whose value (when used for * representing integers) is `digit`, which needs to be in the range * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is * used; else, the lowercase form is used. The behavior is undefined * if `flag` is non-zero and `digit` has no uppercase form. */ function digitToBasic(digit, flag) { // 0..25 map to ASCII a..z or A..Z // 26..35 map to ASCII 0..9 return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5); } /** * Bias adaptation function as per section 3.4 of RFC 3492. * https://tools.ietf.org/html/rfc3492#section-3.4 * @private */ function adapt(delta, numPoints, firstTime) { var k = 0; delta = firstTime ? floor(delta / damp) : delta >> 1; delta += floor(delta / numPoints); for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { delta = floor(delta / baseMinusTMin); } return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); } /** * Converts a Punycode string of ASCII-only symbols to a string of Unicode * symbols. * @memberOf punycode * @param {String} input The Punycode string of ASCII-only symbols. * @returns {String} The resulting string of Unicode symbols. */ function decode(input) { // Don't use UCS-2 var output = [], inputLength = input.length, out, i = 0, n = initialN, bias = initialBias, basic, j, index, oldi, w, k, digit, t, /** Cached calculation results */ baseMinusT; // Handle the basic code points: let `basic` be the number of input code // points before the last delimiter, or `0` if there is none, then copy // the first basic code points to the output. basic = input.lastIndexOf(delimiter); if (basic < 0) { basic = 0; } for (j = 0; j < basic; ++j) { // if it's not a basic code point if (input.charCodeAt(j) >= 0x80) { error('not-basic'); } output.push(input.charCodeAt(j)); } // Main decoding loop: start just after the last delimiter if any basic code // points were copied; start at the beginning otherwise. for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) { // `index` is the index of the next character to be consumed. // Decode a generalized variable-length integer into `delta`, // which gets added to `i`. The overflow checking is easier // if we increase `i` as we go, then subtract off its starting // value at the end to obtain `delta`. for (oldi = i, w = 1, k = base; /* no condition */; k += base) { if (index >= inputLength) { error('invalid-input'); } digit = basicToDigit(input.charCodeAt(index++)); if (digit >= base || digit > floor((maxInt - i) / w)) { error('overflow'); } i += digit * w; t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); if (digit < t) { break; } baseMinusT = base - t; if (w > floor(maxInt / baseMinusT)) { error('overflow'); } w *= baseMinusT; } out = output.length + 1; bias = adapt(i - oldi, out, oldi == 0); // `i` was supposed to wrap around from `out` to `0`, // incrementing `n` each time, so we'll fix that now: if (floor(i / out) > maxInt - n) { error('overflow'); } n += floor(i / out); i %= out; // Insert `n` at position `i` of the output output.splice(i++, 0, n); } return ucs2encode(output); } /** * Converts a string of Unicode symbols (e.g. a domain name label) to a * Punycode string of ASCII-only symbols. * @memberOf punycode * @param {String} input The string of Unicode symbols. * @returns {String} The resulting Punycode string of ASCII-only symbols. */ function encode(input) { var n, delta, handledCPCount, basicLength, bias, j, m, q, k, t, currentValue, output = [], /** `inputLength` will hold the number of code points in `input`. */ inputLength, /** Cached calculation results */ handledCPCountPlusOne, baseMinusT, qMinusT; // Convert the input in UCS-2 to Unicode input = ucs2decode(input); // Cache the length inputLength = input.length; // Initialize the state n = initialN; delta = 0; bias = initialBias; // Handle the basic code points for (j = 0; j < inputLength; ++j) { currentValue = input[j]; if (currentValue < 0x80) { output.push(stringFromCharCode(currentValue)); } } handledCPCount = basicLength = output.length; // `handledCPCount` is the number of code points that have been handled; // `basicLength` is the number of basic code points. // Finish the basic string - if it is not empty - with a delimiter if (basicLength) { output.push(delimiter); } // Main encoding loop: while (handledCPCount < inputLength) { // All non-basic code points < n have been handled already. Find the next // larger one: for (m = maxInt, j = 0; j < inputLength; ++j) { currentValue = input[j]; if (currentValue >= n && currentValue < m) { m = currentValue; } } // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, // but guard against overflow handledCPCountPlusOne = handledCPCount + 1; if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { error('overflow'); } delta += (m - n) * handledCPCountPlusOne; n = m; for (j = 0; j < inputLength; ++j) { currentValue = input[j]; if (currentValue < n && ++delta > maxInt) { error('overflow'); } if (currentValue == n) { // Represent delta as a generalized variable-length integer for (q = delta, k = base; /* no condition */; k += base) { t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); if (q < t) { break; } qMinusT = q - t; baseMinusT = base - t; output.push( stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)) ); q = floor(qMinusT / baseMinusT); } output.push(stringFromCharCode(digitToBasic(q, 0))); bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); delta = 0; ++handledCPCount; } } ++delta; ++n; } return output.join(''); } /** * Converts a Punycode string representing a domain name or an email address * to Unicode. Only the Punycoded parts of the input will be converted, i.e. * it doesn't matter if you call it on a string that has already been * converted to Unicode. * @memberOf punycode * @param {String} input The Punycoded domain name or email address to * convert to Unicode. * @returns {String} The Unicode representation of the given Punycode * string. */ function toUnicode(input) { return mapDomain(input, function(string) { return regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string; }); } /** * Converts a Unicode string representing a domain name or an email address to * Punycode. Only the non-ASCII parts of the domain name will be converted, * i.e. it doesn't matter if you call it with a domain that's already in * ASCII. * @memberOf punycode * @param {String} input The domain name or email address to convert, as a * Unicode string. * @returns {String} The Punycode representation of the given domain name or * email address. */ function toASCII(input) { return mapDomain(input, function(string) { return regexNonASCII.test(string) ? 'xn--' + encode(string) : string; }); } /*--------------------------------------------------------------------------*/ /** Define the public API */ punycode = { /** * A string representing the current Punycode.js version number. * @memberOf punycode * @type String */ 'version': '1.4.1', /** * An object of methods to convert from JavaScript's internal character * representation (UCS-2) to Unicode code points, and back. * @see <https://mathiasbynens.be/notes/javascript-encoding> * @memberOf punycode * @type Object */ 'ucs2': { 'decode': ucs2decode, 'encode': ucs2encode }, 'decode': decode, 'encode': encode, 'toASCII': toASCII, 'toUnicode': toUnicode }; /** Expose `punycode` */ // Some AMD build optimizers, like r.js, check for specific condition patterns // like the following: if ( true ) { !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return punycode; }).call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else if (freeExports && freeModule) { if (module.exports == freeExports) { // in Node.js, io.js, or RingoJS v0.8.0+ freeModule.exports = punycode; } else { // in Narwhal or RingoJS v0.7.0- for (key in punycode) { punycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]); } } } else { // in Rhino or a web browser root.punycode = punycode; } }(this)); /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("3IRH")(module), __webpack_require__("DuR2"))) /***/ }), /***/ "xQa9": /***/ (function(module, exports, __webpack_require__) { var uncurryThis = __webpack_require__("CwQ2"); var fails = __webpack_require__("fwHU"); var isCallable = __webpack_require__("ELn+"); var classof = __webpack_require__("J+MD"); var getBuiltIn = __webpack_require__("VL6R"); var inspectSource = __webpack_require__("oukt"); var noop = function () { /* empty */ }; var empty = []; var construct = getBuiltIn('Reflect', 'construct'); var constructorRegExp = /^\s*(?:class|function)\b/; var exec = uncurryThis(constructorRegExp.exec); var INCORRECT_TO_STRING = !constructorRegExp.exec(noop); var isConstructorModern = function isConstructor(argument) { if (!isCallable(argument)) return false; try { construct(noop, empty, argument); return true; } catch (error) { return false; } }; var isConstructorLegacy = function isConstructor(argument) { if (!isCallable(argument)) return false; switch (classof(argument)) { case 'AsyncFunction': case 'GeneratorFunction': case 'AsyncGeneratorFunction': return false; } try { // we can't check .prototype since constructors produced by .bind haven't it // `Function#toString` throws on some built-it function in some legacy engines // (for example, `DOMQuad` and similar in FF41-) return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); } catch (error) { return true; } }; isConstructorLegacy.sham = true; // `IsConstructor` abstract operation // https://tc39.es/ecma262/#sec-isconstructor module.exports = !construct || fails(function () { var called; return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function () { called = true; }) || called; }) ? isConstructorLegacy : isConstructorModern; /***/ }), /***/ "xR/K": /***/ (function(module, exports, __webpack_require__) { const Utils = __webpack_require__("oLzS") const G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0) const G15_MASK = (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1) const G15_BCH = Utils.getBCHDigit(G15) /** * Returns format information with relative error correction bits * * The format information is a 15-bit sequence containing 5 data bits, * with 10 error correction bits calculated using the (15, 5) BCH code. * * @param {Number} errorCorrectionLevel Error correction level * @param {Number} mask Mask pattern * @return {Number} Encoded format information bits */ exports.getEncodedBits = function getEncodedBits (errorCorrectionLevel, mask) { const data = ((errorCorrectionLevel.bit << 3) | mask) let d = data << 10 while (Utils.getBCHDigit(d) - G15_BCH >= 0) { d ^= (G15 << (Utils.getBCHDigit(d) - G15_BCH)) } // xor final data with mask pattern in order to ensure that // no combination of Error Correction Level and data mask pattern // will result in an all-zero data string return ((data << 10) | d) ^ G15_MASK } /***/ }), /***/ "xaZU": /***/ (function(module, exports, __webpack_require__) { "use strict"; // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. var stringifyPrimitive = function(v) { switch (typeof v) { case 'string': return v; case 'boolean': return v ? 'true' : 'false'; case 'number': return isFinite(v) ? v : ''; default: return ''; } }; module.exports = function(obj, sep, eq, name) { sep = sep || '&'; eq = eq || '='; if (obj === null) { obj = undefined; } if (typeof obj === 'object') { return map(objectKeys(obj), function(k) { var ks = encodeURIComponent(stringifyPrimitive(k)) + eq; if (isArray(obj[k])) { return map(obj[k], function(v) { return ks + encodeURIComponent(stringifyPrimitive(v)); }).join(sep); } else { return ks + encodeURIComponent(stringifyPrimitive(obj[k])); } }).join(sep); } if (!name) return ''; return encodeURIComponent(stringifyPrimitive(name)) + eq + encodeURIComponent(stringifyPrimitive(obj)); }; var isArray = Array.isArray || function (xs) { return Object.prototype.toString.call(xs) === '[object Array]'; }; function map (xs, f) { if (xs.map) return xs.map(f); var res = []; for (var i = 0; i < xs.length; i++) { res.push(f(xs[i], i)); } return res; } var objectKeys = Object.keys || function (obj) { var res = []; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key); } return res; }; /***/ }), /***/ "xmDC": /***/ (function(module, exports, __webpack_require__) { // TODO: Remove this module from `core-js@4` since it's replaced to module below __webpack_require__("tqYs"); /***/ }), /***/ "y+8m": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".preferential .header[data-v-11b122e4]{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:85px;font-weight:400;margin:0 14px}.preferential .content .left[data-v-11b122e4]{width:52%;padding-top:20px;position:relative;height:585px}.preferential .content .left .left-time[data-v-11b122e4]{position:absolute;top:20px;left:0;height:530px;width:106px;border-right:1px solid #dbdbdb}.preferential .content .left .row[data-v-11b122e4]{padding-right:24px;padding-left:36px;position:relative}.preferential .content .left .row .time[data-v-11b122e4]{line-height:26px;margin-top:15px;font-size:16px}.preferential .content .left .row .time p[data-v-11b122e4]:nth-child(2){font-size:14px}.preferential .content .left .row .round[data-v-11b122e4]{display:inline-block;width:10px;height:10px;background:#f90;border-radius:50%;position:absolute;left:100px;top:36px}.preferential .content .left .row .system[data-v-11b122e4]{display:inline-block;width:42px;height:24px;background:#f90;line-height:24px;text-align:center;color:#fff;border-radius:5px;font-size:14px;position:absolute;top:29px;left:122px}.preferential .content .left .row .system .systemmessage[data-v-11b122e4]{width:20px;height:20px;border-radius:50%;background-color:red;position:absolute;left:32px;top:-10px;line-height:20px;text-align:center;display:block}.preferential .content .left .row .system[data-v-11b122e4]:after{content:\"\";width:0;height:0;border-width:4px 7px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:8px;left:-7px}.preferential .content .left .row .content[data-v-11b122e4]{width:336px;border-radius:10px;height:86px;padding:10px 30px 10px 20px;cursor:pointer}.preferential .content .left .row .content .title[data-v-11b122e4]{color:#333;font-size:16px;font-weight:600;margin-bottom:14px}.preferential .content .left .row .content .main[data-v-11b122e4]{line-height:18px;height:36px;overflow:hidden}.preferential .content .left .row .contentActive[data-v-11b122e4]{background:#f9f9f9}.preferential .content .left .page[data-v-11b122e4]{position:absolute;right:25px;bottom:15px}.preferential .content .right[data-v-11b122e4]{width:48%;background:#f2f2f2;padding:28px;border-radius:0 0 15px 0;height:584px}.preferential .content .right .title[data-v-11b122e4]{font-size:16px;color:#333;margin-bottom:10px;text-align:center}.preferential .content .right .times[data-v-11b122e4]{margin-bottom:24px;text-align:center}.preferential .content .right .content[data-v-11b122e4]{line-height:26px}", ""]); // exports /***/ }), /***/ "y2Y1": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".deposit .header[data-v-50c69e99]{height:60px;color:#696969;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;font-weight:400;margin:0 14px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.deposit .header .tab-group[data-v-50c69e99]{margin-left:4rem;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:center;align-items:center}.deposit .header .tab-group .tab-item[data-v-50c69e99]{width:9rem;background-color:#fff;position:relative;color:#a3a6ab;border:1px solid #f6f6f6;border-radius:.4rem;cursor:pointer;margin-right:1.8rem}.deposit .header .tab-group .tab-item.active[data-v-50c69e99]{background:linear-gradient(#ff6953,#ff920b);color:#fff}.deposit .header .tab-group .tab-item .text[data-v-50c69e99]{height:2rem;position:relative;z-index:1;padding:.1rem 0;font-size:.965rem;border-radius:2rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.deposit .header .tab-group .tab-item .hot[data-v-50c69e99]{position:absolute;top:-.7rem;right:-4rem}.deposit .header .tab-group .tab-item .hot.hot-booking[data-v-50c69e99]{width:7.75rem;height:1.56rem;background:url(\"/static/public/image/bankImg/hot-bg.png\") no-repeat 50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:1}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-tag[data-v-50c69e99]{width:1rem;margin-right:.2rem}.deposit .header .tab-group .tab-item .hot.hot-booking .hot-text[data-v-50c69e99]{color:#fff;font-size:.83rem}.deposit .content .deposit-alipaybing[data-v-50c69e99]{width:52%}.deposit .content .deposit-alipaybing .bank[data-v-50c69e99]{width:380px;height:210px;margin:0 auto;margin-top:25px;border-radius:23px;padding:18px 20px;background-color:#11927b;position:relative}.deposit .content .deposit-alipaybing .bank .mask[data-v-50c69e99]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-alipaybing .bank .mask img[data-v-50c69e99]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-alipaybing .bank .title[data-v-50c69e99]{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit .content .deposit-alipaybing .bank .title span[data-v-50c69e99]{font-size:16px;color:#fff}.deposit .content .deposit-alipaybing .bank .bank-kh[data-v-50c69e99]{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.deposit .content .deposit-alipaybing .bank .bank-kh span[data-v-50c69e99]{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.deposit .content .deposit-alipaybing .bank .bank-info[data-v-50c69e99]{height:36px;line-height:36px}.deposit .content .deposit-alipaybing .bank .bank-info span[data-v-50c69e99]{display:inline-block;font-size:14px;color:#fff}.deposit .content .deposit-alipaybing .list_user[data-v-50c69e99]{margin-top:15px;position:relative;width:534px;height:236px}.deposit .content .deposit-alipaybing .list_user>span[data-v-50c69e99]{position:absolute;top:36%;display:-ms-flexbox;display:flex;width:30px;height:30px;border-radius:50%;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background:#dedada;opacity:.7;cursor:pointer;outline:none;z-index:99}.deposit .content .deposit-alipaybing .list_user>span i[data-v-50c69e99]{display:block;color:#fff;font-size:16px}.deposit .content .deposit-alipaybing .list_user .slidePrev[data-v-50c69e99]{left:22px}.deposit .content .deposit-alipaybing .list_user .slideNext[data-v-50c69e99]{right:22px}.deposit .content .deposit-alipaybing .list_user .slideNext[data-v-50c69e99]:hover,.deposit .content .deposit-alipaybing .list_user .slidePrev[data-v-50c69e99]:hover{background:#a09e9e}.deposit .content .deposit-alipaybing .list_user[data-v-50c69e99] .swiper-pagination-bullet-active{background:#ff9146!important}.deposit .content .deposit-alipaybing .list_user .slide_box[data-v-50c69e99]{width:534px;height:236px;padding:0 77px}.deposit .content .deposit-alipaybing .list_user .slide_box .slide_list[data-v-50c69e99]{width:380px;height:210px;border-radius:23px;padding:18px 20px;padding-top:20px;position:relative}.deposit .content .deposit-alipaybing .list_user .slide_box .slide_list .mask[data-v-50c69e99]{width:380px;height:210px;position:absolute;border-radius:23px;left:0;top:0;background-color:rgba(0,0,0,.4);z-index:1000}.deposit .content .deposit-alipaybing .list_user .slide_box .slide_list .mask img[data-v-50c69e99]{margin-top:20px;margin-left:210px;width:140px;height:60px}.deposit .content .deposit-alipaybing .list_user .slide_box .slide_list .title[data-v-50c69e99]{width:290px;margin-left:62px;height:28px;margin-top:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit .content .deposit-alipaybing .list_user .slide_box .slide_list .title span[data-v-50c69e99]{font-size:16px;color:#fff}.deposit .content .deposit-alipaybing .list_user .slide_box .slide_list .bank-kh[data-v-50c69e99]{height:110px;word-break:break-all;white-space:normal;padding-top:28px}.deposit .content .deposit-alipaybing .list_user .slide_box .slide_list .bank-kh span[data-v-50c69e99]{font-size:2.6em;color:#fff;word-break:break-all;white-space:normal}.deposit .content .deposit-alipaybing .list_user .slide_box .slide_list .bank-info[data-v-50c69e99]{height:36px;line-height:36px}.deposit .content .deposit-alipaybing .list_user .slide_box .slide_list .bank-info span[data-v-50c69e99]{display:inline-block;font-size:14px;color:#fff}.deposit .content .deposit-alipaybing .att[data-v-50c69e99]{height:18px;margin:20px auto 30px;font-size:15px;font-family:MicrosoftYaHei;color:#696969;text-align:center;line-height:18px}.deposit .content .deposit-alipaybing .pay-bankinfo .row[data-v-50c69e99]{margin-left:78px;margin-top:10px}.deposit .content .deposit-alipaybing .pay-bankinfo .row.middle[data-v-50c69e99]{width:70%;font-size:14px;text-align:center}.deposit .content .deposit-alipaybing .pay-bankinfo .row.middle a[data-v-50c69e99]{float:right}.deposit .content .deposit-alipaybing .pay-bankinfo .row label[data-v-50c69e99]{font-size:15px;font-family:Microsoft YaHei}.deposit .content .deposit-alipaybing .pay-bankinfo .row input[data-v-50c69e99]{height:38px;font-size:16px;background:#f5f5f5;border:1px solid #f5f5f5;border-radius:10px;text-indent:3px;padding-left:10px;box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06);color:#666;margin-right:10px}.deposit .content .deposit-alipaybing .pay-bankinfo .row input[data-v-50c69e99]:not(.other){width:242px;height:38px;background:#f9f9f9}.deposit .content .deposit-alipaybing .pay-bankinfo .row input[data-v-50c69e99]:focus{outline:none!important;border:1px solid rgba(254,134,93,.6);box-shadow:inset 0 1px 10px 0 rgba(0,0,0,.06),0 1px 10px 5px rgba(254,134,93,.14)}.deposit .content .deposit-alipaybing .pay-bankinfo .bar[data-v-50c69e99]{margin-top:16px;display:-ms-flexbox;display:flex}.deposit .content .deposit-alipaybing .pay-bankinfo .bar span[data-v-50c69e99]{font-size:14px;-ms-flex:1;flex:1}.deposit .content .deposit-alipaybing .pay-bankinfo .radio-content[data-v-50c69e99]{vertical-align:top;max-width:280px;display:inline-block;position:relative}.deposit .content .deposit-alipaybing .pay-bankinfo .radio-content.hasCustom[data-v-50c69e99]{margin:12px 0 0 75px}.deposit .content .deposit-alipaybing .pay-bankinfo .radio-content .radio-group>[data-v-50c69e99]{width:70px;height:22.5px}.deposit .content .deposit-alipaybing .pay-bankinfo .radio-content .ivu-radio-wrapper[data-v-50c69e99]{margin:0}.deposit .content .deposit-alipaybing .submit[data-v-50c69e99]{width:140px;height:42px;line-height:42px;text-align:center;color:#fff;font-size:1.8em;background:linear-gradient(180deg,#ff3492,#ff1e4f);border-radius:10px;margin:10px auto 0;cursor:pointer}.deposit .content .deposit-alipaybing .submit.active[data-v-50c69e99]{background:linear-gradient(180deg,#ccc,#eee)}.deposit .content .deposit-alipaybing .submit.active[data-v-50c69e99]:hover{cursor:not-allowed}.deposit .content .deposit-alipaybing .max-bank[data-v-50c69e99]{margin-left:24px;font-size:1.3em}.deposit .content .deposit-alipaybing .toast[data-v-50c69e99]{width:200px;height:30px;line-height:30px;background:#f90;color:#fff;font-size:14px;font-weight:200;position:absolute;right:410px;top:30px;border-radius:5px;z-index:99;text-indent:1em}.deposit .content .deposit-alipaybing .toast[data-v-50c69e99]:after{content:\"\";width:0;height:0;border-width:4px 8px 4px 0;border-style:solid;border-color:transparent #f90 transparent transparent;display:block;position:absolute;top:10px;left:-8px}.deposit .content .deposit-alipaybing .ivu-carousel-dots-inside[data-v-50c69e99]{bottom:-20px}.deposit .content .deposit-right[data-v-50c69e99]{width:48%;height:580px;background:#f2f2f2;border-radius:0 0 15px 0}.ivu-table[data-v-50c69e99]{background:#f2f2f2}", ""]); // exports /***/ }), /***/ "y4JV": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("FZ+f")(false); // imports // module exports.push([module.i, ".free-money .header[data-v-06fdd67c]{height:66px;border-bottom:1px solid #f3f3f3;font-size:1.8em;padding-left:10px;color:#696969;line-height:70px;font-weight:400;cursor:pointer;margin-left:14px}.free-money .borrow-content[data-v-06fdd67c]{background:#fff;padding-top:20px}.free-money .borrow-content .borrow-input[data-v-06fdd67c]{width:960px;height:120px;background:#eee;border-radius:10px;margin:auto}.free-money .borrow-content .borrow-input p[data-v-06fdd67c]{color:#000;font-size:17px;padding-left:25px;height:60px;line-height:60px;border-bottom:1px solid #fff}.free-money .borrow-content .borrow-input>span[data-v-06fdd67c]{font-size:24px;display:inline-block;width:65px;text-align:center;height:60px;line-height:60px;color:#000}.free-money .borrow-content .borrow-input>span[data-v-06fdd67c]:last-child{font-size:17px;color:#ff496d}.free-money .borrow-content .borrow-input input[data-v-06fdd67c]{height:35px;width:830px;border:none;background:#eee;font-size:16px;outline:none;text-indent:8px;position:relative;top:-3px;left:-10px}.free-money .borrow-content .day[data-v-06fdd67c]{text-align:center;color:#bcbcbc;font-size:16px;margin:15px 34px 15px 0}.free-money .borrow-content .confirm[data-v-06fdd67c]{width:398px;margin:0 auto;padding-top:40px}.free-money .borrow-content .confirm button[data-v-06fdd67c]{width:398px;height:60px;background:#ff4b6c;border-radius:10px;color:#f5f5f5;line-height:60px;text-align:center;outline:none;border:none;font-size:22px}", ""]); // exports /***/ }), /***/ "ySO2": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator__ = __webpack_require__("Xxa5"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_asyncToGenerator__ = __webpack_require__("exGp"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_asyncToGenerator___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_asyncToGenerator__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_json_stringify__ = __webpack_require__("mvHQ"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_json_stringify___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_json_stringify__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__service_public_UserService_js__ = __webpack_require__("xzxg"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__service_public_service_js__ = __webpack_require__("LjVS"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__vuex_store__ = __webpack_require__("YtJ0"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_vue__ = __webpack_require__("7+uW"); var mixin = { data: function data() { return { // 请求的方å¼vm/v1 params: {}, vType: 'v1', // 用户åä¿¡æ¯ userName: '', password: '', password_confirmation: '', phoneNumber: '', pulicError: '', // 手机å·ç‰ä¿¡æ¯ register: [], // 验è¯ç iscode: false, codeImg: '/static/public/image/common/code2.jpg', captcha_key: '', code: '', // 邀请ç 相关 agent: null, // æ— ç”¨ // islink:true, // 邀请ç ,åªè¯» incodeReadonly: false, // 邀请ç intacode: '', // å•ç‹¬çš„一些é…ç½® isCheckbox: true, checkSrc: '/static/public/image/common/xuanzhong.png', //åŒæ„注册æ¡æ¬¾ agree: true, //çŸä¿¡éªŒè¯ç smsCode: '', isShowSms: false, hasSendMsg: false, //å‘é€éªŒè¯ç 之å‰æ˜¾ç¤ºè¯¥æŒ‰é’®,点击之åŽæ˜¾ç¤ºè®¡æ—¶,该按钮å˜ä¸ºç°è‰²ä¸å¯ç”¨ countDownTime: 60, //倒计时 //isShowTnCode : JSON.parse(localStorage.config).VerificationCode.pc[0]=='tCode' ? true : false, isShowTnCode: false, Watchman: null, anti_code: "", countInitWy: 0 }; }, mounted: function mounted() { this.inInMounted(); }, methods: { //获å–验è¯ç inInMounted: function inInMounted() { this.agent = this.GetQueryString('agent') || this.GetQueryString('k'); this.intacode = this.agent; this.incodeReadonly = !!this.agent; //if(this.$store.state.home.isImgortg=='imgCode'){ // this.isShowTnCode = false //}else{ // this.isShowTnCode = true //} }, getRedLope: function getRedLope() { var _this = this; this.$store.dispatch('home/getQipaiShouyeHongbao').then(function (res) { if (res.code === 200) { try { _this.$store.commit('home/getRedLopeMoney', res.data.gift_money); _this.$store.commit('home/getRedLopeId', res.data.id); _this.$store.commit('home/getRedLopeType', res.data.send_type); } catch (error) { _this.$store.commit('home/getRedLopeMoney', 0); } _this.$store.commit('home/getisRedLop', true); } }); }, inInCreate: function inInCreate() { var _this2 = this; this.agent = this.GetQueryString('agent') || this.GetQueryString('k'); this.intacode = this.agent; var registerPc = JSON.parse(localStorage.getItem('config')).register.pc; var registermodel = JSON.parse(localStorage.getItem('config')).site_model; if (registermodel == 'invite_code') { this.iscode = true; } else { this.iscode = false; } registerPc.forEach(function (v, i) { _this2.register[i] = {}; switch (v) { case 'phone': _this2.register[i].placeholder = '请输入手机å·'; _this2.register[i].value = ''; _this2.register[i].key = v; _this2.register[i].name = '手机å·ç '; _this2.register[i].divclass = "shoujihao"; _this2.register[i].maxlength = 11; break; case 'email': _this2.register[i].placeholder = '请输入邮箱地å€'; _this2.register[i].value = ''; _this2.register[i].key = v; _this2.register[i].name = '邮箱'; _this2.register[i].divclass = "youxiang"; _this2.register[i].maxlength = 20; break; case 'wechat': _this2.register[i].placeholder = '请输入微信å·'; _this2.register[i].value = ''; _this2.register[i].key = v; _this2.register[i].name = '微信'; _this2.register[i].divclass = "weixin"; _this2.register[i].maxlength = 20; break; case 'realName': _this2.register[i].placeholder = '请输入真实姓å'; _this2.register[i].value = ''; _this2.register[i].key = v; _this2.register[i].name = '真实姓å'; _this2.register[i].divclass = "yonghu"; _this2.register[i].maxlength = 10; break; case 'payPassword': _this2.register[i].placeholder = '请输入支付密ç '; _this2.register[i].value = ''; _this2.register[i].key = v; _this2.register[i].name = '支付密ç '; _this2.register[i].divclass = "zhifumima"; _this2.register[i].maxlength = 6; break; } }); if (registerPc.includes('phone') && registerPc.includes('sms')) { this.isShowSms = true; } else { this.isShowSms = false; } this.register = this.register.filter(function (item, index) { return __WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_json_stringify___default()(item) !== "{}"; }); }, registerCode: function registerCode() { var _this3 = this; if (!this.userName) { return false; } if (this.userName.length < 5) { this.errorAlert("请输入6ä½è´¦å·", 'warn'); this.userName = ''; return false; } Object(__WEBPACK_IMPORTED_MODULE_4__service_public_service_js__["b" /* getS */])('captcha', { userName: this.userName }).then(function (res) { if (res.code == 200) { _this3.codeImg = res.data.captcha_image_text; _this3.captcha_key = res.data.captcha_key; } }); }, getCode: function getCode() { var _this4 = this; this.initWyToken2(); if (this.verifyType != 'imgCode') { return; } if (!this.userName) { return false; } if (this.userName.length < 5) { this.errorAlert("请输入6ä½è´¦å·", 'warn'); this.userName = ''; return false; } Object(__WEBPACK_IMPORTED_MODULE_4__service_public_service_js__["b" /* getS */])('captcha', { userName: this.userName }).then(function (res) { if (res.code == 200) { _this4.codeImg = res.data.captcha_image_text; _this4.captcha_key = res.data.captcha_key; } }); }, //获å–çŸä¿¡éªŒè¯ç getMsgCode: function getMsgCode() { var _this5 = this; return __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_asyncToGenerator___default()( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator___default.a.mark(function _callee() { var res, countTimer; return __WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator___default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: //0.获å–用户输入的电è¯å·ç _this5.register.forEach(function (item) { if (item.key == 'phone') { _this5.phoneNumber = item.value; } }); //1.调用接å£, å‘起请求 //1.1先判æ–电è¯å·ç 是å¦ä¸ºç©º/æ£ç¡® if (_this5.phoneNumber) { _context.next = 5; break; } _this5.errorAlert('请输入手机å·', 'warn'); _context.next = 19; break; case 5: if (_this5.testPhone(_this5.phoneNumber)) { _context.next = 9; break; } _this5.errorAlert('请输入æ£ç¡®çš„手机å·ç ', 'warn'); _context.next = 19; break; case 9: _context.next = 11; return Object(__WEBPACK_IMPORTED_MODULE_4__service_public_service_js__["b" /* getS */])('getSmsCode', { phone: _this5.phoneNumber, device: 'pc' }); case 11: res = _context.sent; if (!(res && res.code == 200)) { _context.next = 17; break; } //2.获å–验è¯ç 按钮å˜ä¸ºæ— 效, _this5.hasSendMsg = true; //3.出现倒计时 59S countTimer = setInterval(function () { _this5.countDownTime--; if (_this5.countDownTime <= 0) { _this5.hasSendMsg = false; clearInterval(countTimer); _this5.countDownTime = 60; } }, 1000); //4.表å•æ示: '验è¯ç å·²å‘é€,2分钟内输入有效' //5.倒计时结æŸå¹¶æ¶ˆå¤± 获å–验è¯ç 按钮å˜ä¸ºæœ‰æ•ˆ, 表å•æ示消失 _context.next = 19; break; case 17: _this5.errorAlert(res.message, 'warn'); return _context.abrupt('return', false); case 19: case 'end': return _context.stop(); } } }, _callee, _this5); }))(); }, // 密ç 框ç¦æ¢è¾“å…¥ç©ºæ ¼ clearNull: function clearNull() { // this.password_confirmation = this.password_confirmation.replace(/\s+/g,""); // this.password = this.password.replace(/\s+/g,""); }, changeTab: function changeTab(num) { this.tabIndex = num; this.showForm = num; if (num == 1) { this.passKey.userName = ''; this.passKey.password = ''; this.passKey.code = ''; } else { this.userName = ""; this.password = ""; this.password_confirmation = ""; this.code = ""; this.smsCode = ""; // this.intacode = ''; this.register.forEach(function (v) { v.value = ""; }); } }, //é‡ç½® replaceMent: function replaceMent() { this.userName = ""; this.password = ""; this.password_confirmation = ""; this.code = ""; this.smsCode = ""; this.register.forEach(function (v) { v.value = ""; }); }, initWyToken2: function initWyToken2() { // åˆå§‹åŒ–SDK,åªéœ€åˆå§‹åŒ–一次 // auto使用默认值,å³è‡ªåŠ¨åŒ–æ¨¡å¼ var that = this; initWatchman({ productNumber: 'YD00815584448686', onload: function onload(instance) { instance && instance.getToken('b0ee4d4447ca4bdb8a39b92a27378b8e', function (token) { that.anti_code = token; }, function (error) { if (that.countInitWy <= 3) that.initWyToken2();else that.anti_code = '9ca17ae2e6ffcda170e2e6ee86c77eacbfc097d27a82b08fa2d85f968a9faeae64acad9bd5e76eb5b89696e82af0feaec3b92af1ada4abea4df28d8290d55e978e9bb2d54f8eaea48cbc5bb1bcaa8de860e9efee9e'; }); } }); }, // 预注册 registerTest: function registerTest() { var _this6 = this; return __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_asyncToGenerator___default()( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator___default.a.mark(function _callee2() { var staueAcc, stauePassword, reg, flag, regRealName, i, res; return __WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator___default.a.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: if (!(_this6.$websiteName == "betsb")) { _context2.next = 3; break; } _this6.$errorAlert('预览版 暂未开放', 'warn'); return _context2.abrupt('return', false); case 3: if (_this6.verifyType == 'wyCode') { _this6.$store.commit('home/safeLogin', ''); } staueAcc = _this6.validateAccountUserNamenew(_this6.userName); stauePassword = _this6.validateLoginPwd(_this6.password); // 确认年龄ã€ç”¨æˆ·å议框 if (_this6.isCheckbox) { _context2.next = 9; break; } if (_this6.$websiteName == "hg99") { _this6.errorAlert("请确认åŒæ„用户åè®®"); } else { _this6.errorAlert("请确认您是å¦å¹´æ»¡18周å²"); } return _context2.abrupt('return', false); case 9: if (staueAcc) { _context2.next = 12; break; } _this6.errorAlert('è´¦å·6-10ä½æ•°å—或å—æ¯', 'warn'); return _context2.abrupt('return', false); case 12: if (stauePassword) { _context2.next = 15; break; } _this6.errorAlert('密ç 8-20ä½æ•°å—或å—æ¯', 'warn'); return _context2.abrupt('return', false); case 15: if (!(_this6.password == _this6.userName)) { _context2.next = 18; break; } _this6.errorAlert('登录密ç ä¸èƒ½ä¸Žè´¦å·ç›¸åŒ', 'warn'); return _context2.abrupt('return', false); case 18: if (!(_this6.password !== _this6.password_confirmation)) { _context2.next = 21; break; } _this6.errorAlert('两次密ç ä¸ä¸€è‡´', 'warn'); return _context2.abrupt('return', false); case 21: if (!_this6.isShowSms) { _context2.next = 36; break; } reg = /^\d{6}$/; if (!(_this6.smsCode.length == 0)) { _context2.next = 28; break; } _this6.errorAlert('请输入çŸä¿¡éªŒè¯ç ', 'warn'); return _context2.abrupt('return', false); case 28: if (!(_this6.smsCode.length !== 6)) { _context2.next = 33; break; } _this6.errorAlert('请输入6ä½éªŒè¯ç ', 'warn'); return _context2.abrupt('return', false); case 33: if (reg.test(_this6.smsCode)) { _context2.next = 36; break; } _this6.errorAlert('çŸä¿¡éªŒè¯ç åªèƒ½æ˜¯æ•°å—!', 'warn'); return _context2.abrupt('return', false); case 36: if (!(!_this6.isShowSms && _this6.verifyType == 'imgCode')) { _context2.next = 45; break; } if (!(_this6.code.length == 0)) { _context2.next = 42; break; } _this6.errorAlert('请输入验è¯ç ', 'warn'); return _context2.abrupt('return', false); case 42: if (!(_this6.code.length < 4 || _this6.code.length > 4)) { _context2.next = 45; break; } _this6.errorAlert('请输入4ä½éªŒè¯ç ', 'warn'); return _context2.abrupt('return', false); case 45: if (!_this6.isShowSms) { _context2.next = 49; break; } if (_this6.hasSendMsg) { _context2.next = 49; break; } _this6.errorAlert('请先å‘é€æ£ç¡®çš„验è¯ç ', 'warn'); return _context2.abrupt('return', false); case 49: if (!(_this6.iscode == true)) { _context2.next = 56; break; } if (_this6.intacode) { _context2.next = 53; break; } _this6.errorAlert('请输入æ£ç¡®é‚€è¯·ç ', 'warn'); return _context2.abrupt('return', false); case 53: if (!(_this6.intacode.length != 6 && _this6.intacode.length != 10)) { _context2.next = 56; break; } _this6.errorAlert('请输入æ£ç¡®é‚€è¯·ç ', 'warn'); return _context2.abrupt('return', false); case 56: if (_this6.agree) { _context2.next = 59; break; } _this6.errorAlert('请确认åŒæ„å„项开户æ¡çº¦,', 'warn'); return _context2.abrupt('return', false); case 59: _this6.params = {}; _this6.params.userName = _this6.userName; _this6.params.password = _this6.password; if (!_this6.isShowSms) { if (_this6.verifyType == 'wyCode') { _this6.params.code = '6569'; } else { _this6.params.code = _this6.code; } } _this6.params.sms = _this6.smsCode; _this6.params.device = 'pc'; _this6.params.captcha_key = _this6.captcha_key; _this6.params.anti_code = _this6.anti_code; flag = true; // 邀请ç if (_this6.intacode) { _this6.params.invite_code = _this6.intacode; } regRealName = /^[\u4E00-\u9FA5·•]+$/; i = 0; case 71: if (!(i < _this6.register.length)) { _context2.next = 84; break; } if (!(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_json_stringify___default()(_this6.register[i]) !== '{}' && !_this6.register[i].value)) { _context2.next = 76; break; } _this6.errorAlert(_this6.register[i].placeholder, 'warn'); flag = false; return _context2.abrupt('break', 84); case 76: if (!(_this6.register[i].key == 'realName' && !regRealName.test(_this6.register[i].value))) { _context2.next = 80; break; } _this6.errorAlert('请输入æ£ç¡®çš„真实姓å', 'warn'); flag = false; return _context2.abrupt('break', 84); case 80: _this6.params[_this6.register[i].key] = _this6.register[i].value; case 81: i++; _context2.next = 71; break; case 84: if (flag) { _context2.next = 86; break; } return _context2.abrupt('return', false); case 86: // 邀请ç if (_this6.agent) { _this6.params.agent = _this6.agent; _this6.params.invite_code = _this6.agent; } _context2.next = 89; return Object(__WEBPACK_IMPORTED_MODULE_4__service_public_service_js__["a" /* _SetPost */])(_this6.$HOST_NAME + '/checkUsername/' + _this6.userName, {}); case 89: res = _context2.sent; if (!(res && res.code == 200)) { _context2.next = 93; break; } _context2.next = 95; break; case 93: _this6.errorAlert('è´¦å·å·²å˜åœ¨', 'warn'); return _context2.abrupt('return', false); case 95: if (_this6.verifyType == 'wyCode') { _this6.$store.commit('home/safeStatus', true); _this6.$store.commit('home/safeCheck', 1); _this6.$store.commit('home/safeName', _this6.params.userName); _this6.$store.commit('home/isLoginorRegister', 'register'); setTimeout(function () { _this6.$store.commit('home/safeCheck', 2); }, _this6.getRandom(1600, 3200)); } else { _this6.registerSubmit(); } case 96: case 'end': return _context2.stop(); } } }, _callee2, _this6); }))(); }, // 注册æ交 registerSubmit: function registerSubmit() { var _this7 = this; return __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_asyncToGenerator___default()( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator___default.a.mark(function _callee3() { var vType, key, res; return __WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator___default.a.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: vType = _this7.vType; for (key in _this7.params) { if (!_this7.params[key]) delete _this7.params[key]; } _this7.params.currentCaptchaType = _this7.$store.state.home.tempCurrentCaptchaType; _context3.next = 5; return Object(__WEBPACK_IMPORTED_MODULE_4__service_public_service_js__["c" /* postS */])('userRegister', _this7.params, vType); case 5: res = _context3.sent; if (!(res.code === 200)) { _context3.next = 20; break; } if (!(!res.data.token && res.data.userInfo.userType === 'vm')) { _context3.next = 14; break; } _this7.vType = 'vm'; __WEBPACK_IMPORTED_MODULE_6_vue__["default"].prototype.$HOST_NAME = '/frontend/vm'; _this7.registerSubmit(); return _context3.abrupt('return', false); case 14: __WEBPACK_IMPORTED_MODULE_3__service_public_UserService_js__["a" /* default */].setCachereg(res, vType); setTimeout(function () { // UserService.vpGetBasWebsocIo(); }); _this7.getRedLope(); if (res.data.activity_url) { window.location.href = location.origin + res.data.activity_url; } else { window.location.href = "/"; } case 18: _context3.next = 21; break; case 20: if (res.code === 400 && res.status === 'error') { _this7.errorAlert(res.message, 'error'); } else if (res.code === 5016) { _this7.errorAlert(res.message, 'error'); _this7.$store.commit('home/setCallIsShowCaptchAPI', true); } else { _this7.errorAlert(res.message, 'error'); _this7.getCode(); } case 21: case 'end': return _context3.stop(); } } }, _callee3, _this7); }))(); }, // 注册的错误æ示 errorAlert: function errorAlert(errMsg, type) { if (errMsg == "code å—段必须填写") { errMsg = "验è¯ç ä¸èƒ½ä¸ºç©º!"; } if (errMsg == "code 必须全部由å—æ¯å’Œæ•°å—æž„æˆ") { errMsg = "验è¯ç 错误!"; } errMsg = errMsg || "错误"; type = type || 'warn'; var $registerStyle = this.$registerStyle; if (this.$router.history.current.path.includes('/plays/hall')) { $registerStyle = 2; } switch ($registerStyle) { case 1: this.pulicError = errMsg; break; case 2: // 常用弹框 this.$store.commit('alert/showTipModel', { bool: true, title: errMsg, model: type }); break; case 3: // ç¬¬ä¸‰ç§ this.dNotify(errMsg, type); break; case 4: // qygj,特殊弹框 this.$store.commit('alert/newshowtip', { bool: true, title: errMsg, model: '', leftspan: true }); break; default: // 常用弹框 this.$store.commit('alert/showTipModel', { bool: true, title: errMsg, model: type }); break; } }, changeSrc: function changeSrc() { this.isCheckbox = !this.isCheckbox; if (this.isCheckbox) { this.checkSrc = '/static/public/image/common/xuanzhong.png'; } else { this.checkSrc = '/static/public/image/common/weixuanzhong.png'; } } }, computed: { safeLogin: function safeLogin() { return this.$store.state.home.safeLogin; }, verifyType: function verifyType() { return this.$store.state.home.verifyType; } }, watch: { safeLogin: function safeLogin(val) { if (val === 'register') { if (this.verifyType === 'wyCode') { this.registerSubmit(); } } }, reloadeKefu: function reloadeKefu(val) { if (val) { this.inInCreate(); this.inInMounted(); } } }, created: function created() { var _this8 = this; if (JSON.parse(localStorage.getItem('config')).register.pc) { this.inInCreate(); } else { setTimeout(function () { _this8.inInCreate(); }, 3500); } }, store: __WEBPACK_IMPORTED_MODULE_5__vuex_store__["a" /* default */] }; /* harmony default export */ __webpack_exports__["a"] = (mixin); /***/ }), /***/ "yW5u": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static-xpj83/img/src/assets/img/springFestival/red-envelope-second.da5296e.png"; /***/ }), /***/ "yYhy": /***/ (function(module, exports) { /** * Check if QR Code version is valid * * @param {Number} version QR Code version * @return {Boolean} true if valid version, false otherwise */ exports.isValid = function isValid (version) { return !isNaN(version) && version >= 1 && version <= 40 } /***/ }), /***/ "ynKZ": /***/ (function(module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; /***/ }), /***/ "zYqW": /***/ (function(module, exports, __webpack_require__) { const Mode = __webpack_require__("uF9H") const Utils = __webpack_require__("oLzS") function KanjiData (data) { this.mode = Mode.KANJI this.data = data } KanjiData.getBitsLength = function getBitsLength (length) { return length * 13 } KanjiData.prototype.getLength = function getLength () { return this.data.length } KanjiData.prototype.getBitsLength = function getBitsLength () { return KanjiData.getBitsLength(this.data.length) } KanjiData.prototype.write = function (bitBuffer) { let i // In the Shift JIS system, Kanji characters are represented by a two byte combination. // These byte values are shifted from the JIS X 0208 values. // JIS X 0208 gives details of the shift coded representation. for (i = 0; i < this.data.length; i++) { let value = Utils.toSJIS(this.data[i]) // For characters with Shift JIS values from 0x8140 to 0x9FFC: if (value >= 0x8140 && value <= 0x9FFC) { // Subtract 0x8140 from Shift JIS value value -= 0x8140 // For characters with Shift JIS values from 0xE040 to 0xEBBF } else if (value >= 0xE040 && value <= 0xEBBF) { // Subtract 0xC140 from Shift JIS value value -= 0xC140 } else { throw new Error( 'Invalid SJIS character: ' + this.data[i] + '\n' + 'Make sure your charset is UTF-8') } // Multiply most significant byte of result by 0xC0 // and add least significant byte to product value = (((value >>> 8) & 0xff) * 0xC0) + (value & 0xff) // Convert result to a 13-bit binary string bitBuffer.put(value, 13) } } module.exports = KanjiData /***/ }) });