icve-sso-vue3 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/demo.html +1 -1
- package/dist/icve-sso-vue3.common.js +650 -1994
- package/dist/icve-sso-vue3.common.js.map +1 -1
- package/dist/icve-sso-vue3.css +1 -0
- package/dist/icve-sso-vue3.umd.js +655 -1999
- package/dist/icve-sso-vue3.umd.js.map +1 -1
- package/dist/icve-sso-vue3.umd.min.js +3 -3
- package/dist/icve-sso-vue3.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1134,30 +1134,6 @@ module.exports = function (it) {
|
|
|
1134
1134
|
};
|
|
1135
1135
|
|
|
1136
1136
|
|
|
1137
|
-
/***/ },
|
|
1138
|
-
|
|
1139
|
-
/***/ 858
|
|
1140
|
-
(module, __webpack_exports__, __webpack_require__) {
|
|
1141
|
-
|
|
1142
|
-
"use strict";
|
|
1143
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1144
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1145
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1146
|
-
/* harmony export */ });
|
|
1147
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
1148
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1149
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
1150
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
1151
|
-
// Imports
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
1155
|
-
// Module
|
|
1156
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.qr-login-container[data-v-6badd114]{margin-top:40px;display:flex;flex-direction:column;align-items:center;padding:20px;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,.1);background-color:#fff}.qr-login-container .qr-code-wrapper[data-v-6badd114]{position:relative;display:inline-block;margin-bottom:16px}.qr-login-container .qr-code[data-v-6badd114]{margin-bottom:16px;padding:10px;background-color:#fff;border:1px solid #e5e5e5;border-radius:4px}.qr-login-container .qr-login-overlay[data-v-6badd114]{position:absolute;top:0;left:-4px;width:105%;height:100%;background-color:hsla(0,0%,100%,.9);border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:10}.qr-login-container .qr-login-overlay .overlay-content[data-v-6badd114]{text-align:center}.qr-login-container .qr-login-overlay .overlay-text[data-v-6badd114]{font-size:16px;font-weight:600;color:#333;margin:0 0 8px 0}.qr-login-container .qr-login-overlay .overlay-tip[data-v-6badd114]{font-size:12px;color:#999;margin:0 0 16px 0}.qr-login-container .qr-login-overlay .rescan-btn[data-v-6badd114]{padding:10px 24px;background-color:#004b90;color:#fff;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .3s}.qr-login-container .qr-tip[data-v-6badd114]{font-size:14px;color:#606266;text-align:center;margin:0;padding-top:8px;line-height:1.5}.qr-login-container .bind-tip[data-v-6badd114]{margin-top:10px;padding:10px;background-color:#fdf6ec;color:#e6a23c;font-size:12px;border-radius:4px;line-height:1.4;text-align:justify;width:220px}.qr-login-container1[data-v-6badd114]{margin-top:0;box-shadow:none}`, ""]);
|
|
1157
|
-
// Exports
|
|
1158
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
1137
|
/***/ },
|
|
1162
1138
|
|
|
1163
1139
|
/***/ 875
|
|
@@ -1833,18 +1809,6 @@ $({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {
|
|
|
1833
1809
|
});
|
|
1834
1810
|
|
|
1835
1811
|
|
|
1836
|
-
/***/ },
|
|
1837
|
-
|
|
1838
|
-
/***/ 1601
|
|
1839
|
-
(module) {
|
|
1840
|
-
|
|
1841
|
-
"use strict";
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
module.exports = function (i) {
|
|
1845
|
-
return i[1];
|
|
1846
|
-
};
|
|
1847
|
-
|
|
1848
1812
|
/***/ },
|
|
1849
1813
|
|
|
1850
1814
|
/***/ 1625
|
|
@@ -1977,68 +1941,6 @@ $({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
|
|
1977
1941
|
});
|
|
1978
1942
|
|
|
1979
1943
|
|
|
1980
|
-
/***/ },
|
|
1981
|
-
|
|
1982
|
-
/***/ 1761
|
|
1983
|
-
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
1984
|
-
|
|
1985
|
-
"use strict";
|
|
1986
|
-
|
|
1987
|
-
var call = __webpack_require__(9565);
|
|
1988
|
-
var uncurryThis = __webpack_require__(9504);
|
|
1989
|
-
var fixRegExpWellKnownSymbolLogic = __webpack_require__(9228);
|
|
1990
|
-
var anObject = __webpack_require__(8551);
|
|
1991
|
-
var isObject = __webpack_require__(34);
|
|
1992
|
-
var toLength = __webpack_require__(8014);
|
|
1993
|
-
var toString = __webpack_require__(655);
|
|
1994
|
-
var requireObjectCoercible = __webpack_require__(7750);
|
|
1995
|
-
var getMethod = __webpack_require__(5966);
|
|
1996
|
-
var advanceStringIndex = __webpack_require__(7829);
|
|
1997
|
-
var getRegExpFlags = __webpack_require__(1034);
|
|
1998
|
-
var regExpExec = __webpack_require__(6682);
|
|
1999
|
-
|
|
2000
|
-
var stringIndexOf = uncurryThis(''.indexOf);
|
|
2001
|
-
|
|
2002
|
-
// @@match logic
|
|
2003
|
-
fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {
|
|
2004
|
-
return [
|
|
2005
|
-
// `String.prototype.match` method
|
|
2006
|
-
// https://tc39.es/ecma262/#sec-string.prototype.match
|
|
2007
|
-
function match(regexp) {
|
|
2008
|
-
var O = requireObjectCoercible(this);
|
|
2009
|
-
var matcher = isObject(regexp) ? getMethod(regexp, MATCH) : undefined;
|
|
2010
|
-
return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));
|
|
2011
|
-
},
|
|
2012
|
-
// `RegExp.prototype[@@match]` method
|
|
2013
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype-@@match
|
|
2014
|
-
function (string) {
|
|
2015
|
-
var rx = anObject(this);
|
|
2016
|
-
var S = toString(string);
|
|
2017
|
-
var res = maybeCallNative(nativeMatch, rx, S);
|
|
2018
|
-
|
|
2019
|
-
if (res.done) return res.value;
|
|
2020
|
-
|
|
2021
|
-
var flags = toString(getRegExpFlags(rx));
|
|
2022
|
-
|
|
2023
|
-
if (stringIndexOf(flags, 'g') === -1) return regExpExec(rx, S);
|
|
2024
|
-
|
|
2025
|
-
var fullUnicode = stringIndexOf(flags, 'u') !== -1;
|
|
2026
|
-
rx.lastIndex = 0;
|
|
2027
|
-
var A = [];
|
|
2028
|
-
var n = 0;
|
|
2029
|
-
var result;
|
|
2030
|
-
while ((result = regExpExec(rx, S)) !== null) {
|
|
2031
|
-
var matchStr = toString(result[0]);
|
|
2032
|
-
A[n] = matchStr;
|
|
2033
|
-
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
2034
|
-
n++;
|
|
2035
|
-
}
|
|
2036
|
-
return n === 0 ? null : A;
|
|
2037
|
-
}
|
|
2038
|
-
];
|
|
2039
|
-
});
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
1944
|
/***/ },
|
|
2043
1945
|
|
|
2044
1946
|
/***/ 1767
|
|
@@ -2404,30 +2306,6 @@ module.exports = function (target, name, descriptor) {
|
|
|
2404
2306
|
};
|
|
2405
2307
|
|
|
2406
2308
|
|
|
2407
|
-
/***/ },
|
|
2408
|
-
|
|
2409
|
-
/***/ 2120
|
|
2410
|
-
(module, __webpack_exports__, __webpack_require__) {
|
|
2411
|
-
|
|
2412
|
-
"use strict";
|
|
2413
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2414
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2415
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2416
|
-
/* harmony export */ });
|
|
2417
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
2418
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
2419
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
2420
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
2421
|
-
// Imports
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
2425
|
-
// Module
|
|
2426
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.custom-dialog-overlay[data-v-946293f4]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn-946293f4 .3s ease-out}.custom-dialog[data-v-946293f4]{background:#fff;border-radius:30px;box-shadow:0 4px 20px rgba(0,0,0,.15);width:900px;max-width:90vw;max-height:90vh;overflow:hidden;animation:slideIn-946293f4 .3s ease-out;display:flex;flex-direction:column}.custom-dialog-header[data-v-946293f4]{padding:20px;border-bottom:none;border-bottom:1px solid #ebebeb}.custom-dialog-header .custom-dialog-title[data-v-946293f4]{margin:0;font-size:24px;font-weight:700;color:#333}.custom-dialog-footer[data-v-946293f4]{padding:20px 24px 24px;border-top:none}.custom-dialog-body[data-v-946293f4]{flex:1;overflow-y:auto;max-height:calc(90vh - 120px)}@keyframes fadeIn-946293f4{0%{opacity:0}to{opacity:1}}@keyframes slideIn-946293f4{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}.main-content[data-v-946293f4]{display:flex}.main-content .left-panel[data-v-946293f4]{width:270px;background:#f2f2f2;flex-shrink:0}.main-content .right-panel[data-v-946293f4]{flex:1;min-width:0;padding:40px 75px;display:flex;flex-direction:column;justify-content:center}.line-item[data-v-946293f4]{display:flex}.line-item .input-displayName[data-v-946293f4]{flex:1}.line-item .input-employeeNumber[data-v-946293f4]{margin-left:20px;width:250px}.user-type-container .user-type-list[data-v-946293f4]{display:flex;flex-direction:column;gap:0;background:#f5f5f5;padding:20px 0 20px 20px;overflow:hidden}.user-type-container .user-type-list .user-type-item[data-v-946293f4]{position:relative;display:flex;align-items:center;justify-content:space-between;padding:15px 24px;cursor:pointer;transition:all .2s ease}.user-type-container .user-type-list .user-type-item[data-v-946293f4]:last-child{border-bottom:none}.user-type-container .user-type-list .user-type-item .user-type-text[data-v-946293f4]{font-size:20px;color:#0a132e;font-weight:400}.user-type-container .user-type-list .user-type-item .check-icon[data-v-946293f4]{opacity:0}.user-type-container .user-type-list .user-type-item .check-icon img[data-v-946293f4]{width:36px;height:36px}.user-type-container .user-type-list .user-type-item[data-v-946293f4]:hover:not(.disabled):not(.active){background:#fff}.user-type-container .user-type-list .user-type-item:hover:not(.disabled):not(.active) .user-type-text[data-v-946293f4]{font-weight:500;font-size:20px;color:#3e7bfa}.user-type-container .user-type-list .user-type-item:hover:not(.disabled):not(.active) .check-icon[data-v-946293f4]{opacity:1}.user-type-container .user-type-list .user-type-item.active[data-v-946293f4]{background:#fff}.user-type-container .user-type-list .user-type-item.active .user-type-text[data-v-946293f4]{font-weight:500;font-size:20px}.user-type-container .user-type-list .user-type-item.active .check-icon[data-v-946293f4]{opacity:1}.user-type-container .user-type-list .user-type-item.disabled[data-v-946293f4]{cursor:not-allowed}.user-type-container .user-type-list .user-type-item.disabled .user-type-text[data-v-946293f4]{color:#ccc}.user-type-container .user-type-list .user-type-item.active .user-type-text[data-v-946293f4]{color:#3e7bfa}.icve-sso-button[data-v-946293f4]{margin:0 auto;cursor:pointer;width:540px;height:48px;background:#3e7bfa;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff}[data-v-946293f4] .el-dialog__title{font-weight:700;font-size:24px}.el-input--medium .el-input__inner[data-v-946293f4]{height:48px;line-height:48px;font-size:14px}.input-field[data-v-946293f4]{position:relative;margin-bottom:55px}.input-field label[data-v-946293f4]{position:absolute;top:50%;left:15px;transform:translateY(-50%);font-size:14px;color:#999;pointer-events:none;transition:all .3s ease;padding:0 5px;z-index:1}.input-field label.active[data-v-946293f4]{top:-20px;left:0;font-size:18px;color:#0a132e;font-weight:700}.input-field .required-star[data-v-946293f4]{color:#ff4757;font-weight:400;margin-right:4px}.input-field[data-v-946293f4] .el-input__inner{min-height:34px}.input-field[data-v-946293f4] .el-select__wrapper{min-height:36px}.el-form-item[data-v-946293f4],.right-panel .input-field[data-v-946293f4]:last-child{margin-bottom:0}.el-input__inner[data-v-946293f4],.el-select[data-v-946293f4]{font-size:14px}.el-form-item__content[data-v-946293f4]{position:relative}.el-form-item.is-error .el-input__inner[data-v-946293f4]{border-color:#f56c6c}.el-input__inner[data-v-946293f4],.el-select .el-input__inner[data-v-946293f4]{padding-left:15px}.el-select-dropdown__item.selected[data-v-946293f4]{color:#004b90!important}.input-field .el-select .el-input.is-focus .el-input__inner[data-v-946293f4]{border-color:#004b90}.input-field .el-form-item.is-error label[data-v-946293f4]{color:#f56c6c}`, ""]);
|
|
2427
|
-
// Exports
|
|
2428
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
2309
|
/***/ },
|
|
2432
2310
|
|
|
2433
2311
|
/***/ 2140
|
|
@@ -2875,22 +2753,6 @@ module.exports = __webpack_require__(8015);
|
|
|
2875
2753
|
|
|
2876
2754
|
/***/ },
|
|
2877
2755
|
|
|
2878
|
-
/***/ 2507
|
|
2879
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
2880
|
-
|
|
2881
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2882
|
-
|
|
2883
|
-
// load the styles
|
|
2884
|
-
var content = __webpack_require__(3367);
|
|
2885
|
-
if(content.__esModule) content = content.default;
|
|
2886
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
2887
|
-
if(content.locals) module.exports = content.locals;
|
|
2888
|
-
// add the styles to the DOM
|
|
2889
|
-
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
2890
|
-
var update = add("2c7d42ed", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2891
|
-
|
|
2892
|
-
/***/ },
|
|
2893
|
-
|
|
2894
2756
|
/***/ 2529
|
|
2895
2757
|
(module) {
|
|
2896
2758
|
|
|
@@ -3351,1153 +3213,6 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
3351
3213
|
}() : undefined);
|
|
3352
3214
|
|
|
3353
3215
|
|
|
3354
|
-
/***/ },
|
|
3355
|
-
|
|
3356
|
-
/***/ 3060
|
|
3357
|
-
(module, exports, __webpack_require__) {
|
|
3358
|
-
|
|
3359
|
-
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = (__webpack_require__(8251)["default"]);
|
|
3360
|
-
__webpack_require__(6280);
|
|
3361
|
-
__webpack_require__(6918);
|
|
3362
|
-
__webpack_require__(8706);
|
|
3363
|
-
__webpack_require__(8598);
|
|
3364
|
-
__webpack_require__(4114);
|
|
3365
|
-
__webpack_require__(3609);
|
|
3366
|
-
__webpack_require__(3288);
|
|
3367
|
-
__webpack_require__(6099);
|
|
3368
|
-
__webpack_require__(8459);
|
|
3369
|
-
__webpack_require__(7495);
|
|
3370
|
-
__webpack_require__(906);
|
|
3371
|
-
__webpack_require__(8781);
|
|
3372
|
-
__webpack_require__(1761);
|
|
3373
|
-
__webpack_require__(5440);
|
|
3374
|
-
/**
|
|
3375
|
-
* @fileoverview
|
|
3376
|
-
* - Using the 'QRCode for Javascript library'
|
|
3377
|
-
* - Fixed dataset of 'QRCode for Javascript library' for support full-spec.
|
|
3378
|
-
* - this library has no dependencies.
|
|
3379
|
-
*
|
|
3380
|
-
* @author davidshimjs
|
|
3381
|
-
* @see <a href="http://www.d-project.com/" target="_blank">http://www.d-project.com/</a>
|
|
3382
|
-
* @see <a href="http://jeromeetienne.github.com/jquery-qrcode/" target="_blank">http://jeromeetienne.github.com/jquery-qrcode/</a>
|
|
3383
|
-
*/
|
|
3384
|
-
var QRCode;
|
|
3385
|
-
(function (root, factory) {
|
|
3386
|
-
/* CommonJS */
|
|
3387
|
-
if (( false ? 0 : _typeof(exports)) == 'object') module.exports = factory();
|
|
3388
|
-
|
|
3389
|
-
/* AMD module */else if (true) !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
3390
|
-
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
3391
|
-
(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
|
|
3392
|
-
__WEBPACK_AMD_DEFINE_FACTORY__),
|
|
3393
|
-
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
3394
|
-
|
|
3395
|
-
/* Global */else // removed by dead control flow
|
|
3396
|
-
{}
|
|
3397
|
-
})(this, function () {
|
|
3398
|
-
//---------------------------------------------------------------------
|
|
3399
|
-
// QRCode for JavaScript
|
|
3400
|
-
//
|
|
3401
|
-
// Copyright (c) 2009 Kazuhiko Arase
|
|
3402
|
-
//
|
|
3403
|
-
// URL: http://www.d-project.com/
|
|
3404
|
-
//
|
|
3405
|
-
// Licensed under the MIT license:
|
|
3406
|
-
// http://www.opensource.org/licenses/mit-license.php
|
|
3407
|
-
//
|
|
3408
|
-
// The word "QR Code" is registered trademark of
|
|
3409
|
-
// DENSO WAVE INCORPORATED
|
|
3410
|
-
// http://www.denso-wave.com/qrcode/faqpatent-e.html
|
|
3411
|
-
//
|
|
3412
|
-
//---------------------------------------------------------------------
|
|
3413
|
-
function QR8bitByte(data) {
|
|
3414
|
-
this.mode = QRMode.MODE_8BIT_BYTE;
|
|
3415
|
-
this.data = data;
|
|
3416
|
-
this.parsedData = [];
|
|
3417
|
-
|
|
3418
|
-
// Added to support UTF-8 Characters
|
|
3419
|
-
for (var i = 0, l = this.data.length; i < l; i++) {
|
|
3420
|
-
var byteArray = [];
|
|
3421
|
-
var code = this.data.charCodeAt(i);
|
|
3422
|
-
if (code > 0x10000) {
|
|
3423
|
-
byteArray[0] = 0xF0 | (code & 0x1C0000) >>> 18;
|
|
3424
|
-
byteArray[1] = 0x80 | (code & 0x3F000) >>> 12;
|
|
3425
|
-
byteArray[2] = 0x80 | (code & 0xFC0) >>> 6;
|
|
3426
|
-
byteArray[3] = 0x80 | code & 0x3F;
|
|
3427
|
-
} else if (code > 0x800) {
|
|
3428
|
-
byteArray[0] = 0xE0 | (code & 0xF000) >>> 12;
|
|
3429
|
-
byteArray[1] = 0x80 | (code & 0xFC0) >>> 6;
|
|
3430
|
-
byteArray[2] = 0x80 | code & 0x3F;
|
|
3431
|
-
} else if (code > 0x80) {
|
|
3432
|
-
byteArray[0] = 0xC0 | (code & 0x7C0) >>> 6;
|
|
3433
|
-
byteArray[1] = 0x80 | code & 0x3F;
|
|
3434
|
-
} else {
|
|
3435
|
-
byteArray[0] = code;
|
|
3436
|
-
}
|
|
3437
|
-
this.parsedData.push(byteArray);
|
|
3438
|
-
}
|
|
3439
|
-
this.parsedData = Array.prototype.concat.apply([], this.parsedData);
|
|
3440
|
-
if (this.parsedData.length != this.data.length) {
|
|
3441
|
-
this.parsedData.unshift(191);
|
|
3442
|
-
this.parsedData.unshift(187);
|
|
3443
|
-
this.parsedData.unshift(239);
|
|
3444
|
-
}
|
|
3445
|
-
}
|
|
3446
|
-
QR8bitByte.prototype = {
|
|
3447
|
-
getLength: function getLength(buffer) {
|
|
3448
|
-
return this.parsedData.length;
|
|
3449
|
-
},
|
|
3450
|
-
write: function write(buffer) {
|
|
3451
|
-
for (var i = 0, l = this.parsedData.length; i < l; i++) {
|
|
3452
|
-
buffer.put(this.parsedData[i], 8);
|
|
3453
|
-
}
|
|
3454
|
-
}
|
|
3455
|
-
};
|
|
3456
|
-
function QRCodeModel(typeNumber, errorCorrectLevel) {
|
|
3457
|
-
this.typeNumber = typeNumber;
|
|
3458
|
-
this.errorCorrectLevel = errorCorrectLevel;
|
|
3459
|
-
this.modules = null;
|
|
3460
|
-
this.moduleCount = 0;
|
|
3461
|
-
this.dataCache = null;
|
|
3462
|
-
this.dataList = [];
|
|
3463
|
-
}
|
|
3464
|
-
QRCodeModel.prototype = {
|
|
3465
|
-
addData: function addData(data) {
|
|
3466
|
-
var newData = new QR8bitByte(data);
|
|
3467
|
-
this.dataList.push(newData);
|
|
3468
|
-
this.dataCache = null;
|
|
3469
|
-
},
|
|
3470
|
-
isDark: function isDark(row, col) {
|
|
3471
|
-
if (row < 0 || this.moduleCount <= row || col < 0 || this.moduleCount <= col) {
|
|
3472
|
-
throw new Error(row + "," + col);
|
|
3473
|
-
}
|
|
3474
|
-
return this.modules[row][col];
|
|
3475
|
-
},
|
|
3476
|
-
getModuleCount: function getModuleCount() {
|
|
3477
|
-
return this.moduleCount;
|
|
3478
|
-
},
|
|
3479
|
-
make: function make() {
|
|
3480
|
-
this.makeImpl(false, this.getBestMaskPattern());
|
|
3481
|
-
},
|
|
3482
|
-
makeImpl: function makeImpl(test, maskPattern) {
|
|
3483
|
-
this.moduleCount = this.typeNumber * 4 + 17;
|
|
3484
|
-
this.modules = new Array(this.moduleCount);
|
|
3485
|
-
for (var row = 0; row < this.moduleCount; row++) {
|
|
3486
|
-
this.modules[row] = new Array(this.moduleCount);
|
|
3487
|
-
for (var col = 0; col < this.moduleCount; col++) {
|
|
3488
|
-
this.modules[row][col] = null;
|
|
3489
|
-
}
|
|
3490
|
-
}
|
|
3491
|
-
this.setupPositionProbePattern(0, 0);
|
|
3492
|
-
this.setupPositionProbePattern(this.moduleCount - 7, 0);
|
|
3493
|
-
this.setupPositionProbePattern(0, this.moduleCount - 7);
|
|
3494
|
-
this.setupPositionAdjustPattern();
|
|
3495
|
-
this.setupTimingPattern();
|
|
3496
|
-
this.setupTypeInfo(test, maskPattern);
|
|
3497
|
-
if (this.typeNumber >= 7) {
|
|
3498
|
-
this.setupTypeNumber(test);
|
|
3499
|
-
}
|
|
3500
|
-
if (this.dataCache == null) {
|
|
3501
|
-
this.dataCache = QRCodeModel.createData(this.typeNumber, this.errorCorrectLevel, this.dataList);
|
|
3502
|
-
}
|
|
3503
|
-
this.mapData(this.dataCache, maskPattern);
|
|
3504
|
-
},
|
|
3505
|
-
setupPositionProbePattern: function setupPositionProbePattern(row, col) {
|
|
3506
|
-
for (var r = -1; r <= 7; r++) {
|
|
3507
|
-
if (row + r <= -1 || this.moduleCount <= row + r) continue;
|
|
3508
|
-
for (var c = -1; c <= 7; c++) {
|
|
3509
|
-
if (col + c <= -1 || this.moduleCount <= col + c) continue;
|
|
3510
|
-
if (0 <= r && r <= 6 && (c == 0 || c == 6) || 0 <= c && c <= 6 && (r == 0 || r == 6) || 2 <= r && r <= 4 && 2 <= c && c <= 4) {
|
|
3511
|
-
this.modules[row + r][col + c] = true;
|
|
3512
|
-
} else {
|
|
3513
|
-
this.modules[row + r][col + c] = false;
|
|
3514
|
-
}
|
|
3515
|
-
}
|
|
3516
|
-
}
|
|
3517
|
-
},
|
|
3518
|
-
getBestMaskPattern: function getBestMaskPattern() {
|
|
3519
|
-
var minLostPoint = 0;
|
|
3520
|
-
var pattern = 0;
|
|
3521
|
-
for (var i = 0; i < 8; i++) {
|
|
3522
|
-
this.makeImpl(true, i);
|
|
3523
|
-
var lostPoint = QRUtil.getLostPoint(this);
|
|
3524
|
-
if (i == 0 || minLostPoint > lostPoint) {
|
|
3525
|
-
minLostPoint = lostPoint;
|
|
3526
|
-
pattern = i;
|
|
3527
|
-
}
|
|
3528
|
-
}
|
|
3529
|
-
return pattern;
|
|
3530
|
-
},
|
|
3531
|
-
createMovieClip: function createMovieClip(target_mc, instance_name, depth) {
|
|
3532
|
-
var qr_mc = target_mc.createEmptyMovieClip(instance_name, depth);
|
|
3533
|
-
var cs = 1;
|
|
3534
|
-
this.make();
|
|
3535
|
-
for (var row = 0; row < this.modules.length; row++) {
|
|
3536
|
-
var y = row * cs;
|
|
3537
|
-
for (var col = 0; col < this.modules[row].length; col++) {
|
|
3538
|
-
var x = col * cs;
|
|
3539
|
-
var dark = this.modules[row][col];
|
|
3540
|
-
if (dark) {
|
|
3541
|
-
qr_mc.beginFill(0, 100);
|
|
3542
|
-
qr_mc.moveTo(x, y);
|
|
3543
|
-
qr_mc.lineTo(x + cs, y);
|
|
3544
|
-
qr_mc.lineTo(x + cs, y + cs);
|
|
3545
|
-
qr_mc.lineTo(x, y + cs);
|
|
3546
|
-
qr_mc.endFill();
|
|
3547
|
-
}
|
|
3548
|
-
}
|
|
3549
|
-
}
|
|
3550
|
-
return qr_mc;
|
|
3551
|
-
},
|
|
3552
|
-
setupTimingPattern: function setupTimingPattern() {
|
|
3553
|
-
for (var r = 8; r < this.moduleCount - 8; r++) {
|
|
3554
|
-
if (this.modules[r][6] != null) {
|
|
3555
|
-
continue;
|
|
3556
|
-
}
|
|
3557
|
-
this.modules[r][6] = r % 2 == 0;
|
|
3558
|
-
}
|
|
3559
|
-
for (var c = 8; c < this.moduleCount - 8; c++) {
|
|
3560
|
-
if (this.modules[6][c] != null) {
|
|
3561
|
-
continue;
|
|
3562
|
-
}
|
|
3563
|
-
this.modules[6][c] = c % 2 == 0;
|
|
3564
|
-
}
|
|
3565
|
-
},
|
|
3566
|
-
setupPositionAdjustPattern: function setupPositionAdjustPattern() {
|
|
3567
|
-
var pos = QRUtil.getPatternPosition(this.typeNumber);
|
|
3568
|
-
for (var i = 0; i < pos.length; i++) {
|
|
3569
|
-
for (var j = 0; j < pos.length; j++) {
|
|
3570
|
-
var row = pos[i];
|
|
3571
|
-
var col = pos[j];
|
|
3572
|
-
if (this.modules[row][col] != null) {
|
|
3573
|
-
continue;
|
|
3574
|
-
}
|
|
3575
|
-
for (var r = -2; r <= 2; r++) {
|
|
3576
|
-
for (var c = -2; c <= 2; c++) {
|
|
3577
|
-
if (r == -2 || r == 2 || c == -2 || c == 2 || r == 0 && c == 0) {
|
|
3578
|
-
this.modules[row + r][col + c] = true;
|
|
3579
|
-
} else {
|
|
3580
|
-
this.modules[row + r][col + c] = false;
|
|
3581
|
-
}
|
|
3582
|
-
}
|
|
3583
|
-
}
|
|
3584
|
-
}
|
|
3585
|
-
}
|
|
3586
|
-
},
|
|
3587
|
-
setupTypeNumber: function setupTypeNumber(test) {
|
|
3588
|
-
var bits = QRUtil.getBCHTypeNumber(this.typeNumber);
|
|
3589
|
-
for (var i = 0; i < 18; i++) {
|
|
3590
|
-
var mod = !test && (bits >> i & 1) == 1;
|
|
3591
|
-
this.modules[Math.floor(i / 3)][i % 3 + this.moduleCount - 8 - 3] = mod;
|
|
3592
|
-
}
|
|
3593
|
-
for (var i = 0; i < 18; i++) {
|
|
3594
|
-
var mod = !test && (bits >> i & 1) == 1;
|
|
3595
|
-
this.modules[i % 3 + this.moduleCount - 8 - 3][Math.floor(i / 3)] = mod;
|
|
3596
|
-
}
|
|
3597
|
-
},
|
|
3598
|
-
setupTypeInfo: function setupTypeInfo(test, maskPattern) {
|
|
3599
|
-
var data = this.errorCorrectLevel << 3 | maskPattern;
|
|
3600
|
-
var bits = QRUtil.getBCHTypeInfo(data);
|
|
3601
|
-
for (var i = 0; i < 15; i++) {
|
|
3602
|
-
var mod = !test && (bits >> i & 1) == 1;
|
|
3603
|
-
if (i < 6) {
|
|
3604
|
-
this.modules[i][8] = mod;
|
|
3605
|
-
} else if (i < 8) {
|
|
3606
|
-
this.modules[i + 1][8] = mod;
|
|
3607
|
-
} else {
|
|
3608
|
-
this.modules[this.moduleCount - 15 + i][8] = mod;
|
|
3609
|
-
}
|
|
3610
|
-
}
|
|
3611
|
-
for (var i = 0; i < 15; i++) {
|
|
3612
|
-
var mod = !test && (bits >> i & 1) == 1;
|
|
3613
|
-
if (i < 8) {
|
|
3614
|
-
this.modules[8][this.moduleCount - i - 1] = mod;
|
|
3615
|
-
} else if (i < 9) {
|
|
3616
|
-
this.modules[8][15 - i - 1 + 1] = mod;
|
|
3617
|
-
} else {
|
|
3618
|
-
this.modules[8][15 - i - 1] = mod;
|
|
3619
|
-
}
|
|
3620
|
-
}
|
|
3621
|
-
this.modules[this.moduleCount - 8][8] = !test;
|
|
3622
|
-
},
|
|
3623
|
-
mapData: function mapData(data, maskPattern) {
|
|
3624
|
-
var inc = -1;
|
|
3625
|
-
var row = this.moduleCount - 1;
|
|
3626
|
-
var bitIndex = 7;
|
|
3627
|
-
var byteIndex = 0;
|
|
3628
|
-
for (var col = this.moduleCount - 1; col > 0; col -= 2) {
|
|
3629
|
-
if (col == 6) col--;
|
|
3630
|
-
while (true) {
|
|
3631
|
-
for (var c = 0; c < 2; c++) {
|
|
3632
|
-
if (this.modules[row][col - c] == null) {
|
|
3633
|
-
var dark = false;
|
|
3634
|
-
if (byteIndex < data.length) {
|
|
3635
|
-
dark = (data[byteIndex] >>> bitIndex & 1) == 1;
|
|
3636
|
-
}
|
|
3637
|
-
var mask = QRUtil.getMask(maskPattern, row, col - c);
|
|
3638
|
-
if (mask) {
|
|
3639
|
-
dark = !dark;
|
|
3640
|
-
}
|
|
3641
|
-
this.modules[row][col - c] = dark;
|
|
3642
|
-
bitIndex--;
|
|
3643
|
-
if (bitIndex == -1) {
|
|
3644
|
-
byteIndex++;
|
|
3645
|
-
bitIndex = 7;
|
|
3646
|
-
}
|
|
3647
|
-
}
|
|
3648
|
-
}
|
|
3649
|
-
row += inc;
|
|
3650
|
-
if (row < 0 || this.moduleCount <= row) {
|
|
3651
|
-
row -= inc;
|
|
3652
|
-
inc = -inc;
|
|
3653
|
-
break;
|
|
3654
|
-
}
|
|
3655
|
-
}
|
|
3656
|
-
}
|
|
3657
|
-
}
|
|
3658
|
-
};
|
|
3659
|
-
QRCodeModel.PAD0 = 0xEC;
|
|
3660
|
-
QRCodeModel.PAD1 = 0x11;
|
|
3661
|
-
QRCodeModel.createData = function (typeNumber, errorCorrectLevel, dataList) {
|
|
3662
|
-
var rsBlocks = QRRSBlock.getRSBlocks(typeNumber, errorCorrectLevel);
|
|
3663
|
-
var buffer = new QRBitBuffer();
|
|
3664
|
-
for (var i = 0; i < dataList.length; i++) {
|
|
3665
|
-
var data = dataList[i];
|
|
3666
|
-
buffer.put(data.mode, 4);
|
|
3667
|
-
buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, typeNumber));
|
|
3668
|
-
data.write(buffer);
|
|
3669
|
-
}
|
|
3670
|
-
var totalDataCount = 0;
|
|
3671
|
-
for (var i = 0; i < rsBlocks.length; i++) {
|
|
3672
|
-
totalDataCount += rsBlocks[i].dataCount;
|
|
3673
|
-
}
|
|
3674
|
-
if (buffer.getLengthInBits() > totalDataCount * 8) {
|
|
3675
|
-
throw new Error("code length overflow. (" + buffer.getLengthInBits() + ">" + totalDataCount * 8 + ")");
|
|
3676
|
-
}
|
|
3677
|
-
if (buffer.getLengthInBits() + 4 <= totalDataCount * 8) {
|
|
3678
|
-
buffer.put(0, 4);
|
|
3679
|
-
}
|
|
3680
|
-
while (buffer.getLengthInBits() % 8 != 0) {
|
|
3681
|
-
buffer.putBit(false);
|
|
3682
|
-
}
|
|
3683
|
-
while (true) {
|
|
3684
|
-
if (buffer.getLengthInBits() >= totalDataCount * 8) {
|
|
3685
|
-
break;
|
|
3686
|
-
}
|
|
3687
|
-
buffer.put(QRCodeModel.PAD0, 8);
|
|
3688
|
-
if (buffer.getLengthInBits() >= totalDataCount * 8) {
|
|
3689
|
-
break;
|
|
3690
|
-
}
|
|
3691
|
-
buffer.put(QRCodeModel.PAD1, 8);
|
|
3692
|
-
}
|
|
3693
|
-
return QRCodeModel.createBytes(buffer, rsBlocks);
|
|
3694
|
-
};
|
|
3695
|
-
QRCodeModel.createBytes = function (buffer, rsBlocks) {
|
|
3696
|
-
var offset = 0;
|
|
3697
|
-
var maxDcCount = 0;
|
|
3698
|
-
var maxEcCount = 0;
|
|
3699
|
-
var dcdata = new Array(rsBlocks.length);
|
|
3700
|
-
var ecdata = new Array(rsBlocks.length);
|
|
3701
|
-
for (var r = 0; r < rsBlocks.length; r++) {
|
|
3702
|
-
var dcCount = rsBlocks[r].dataCount;
|
|
3703
|
-
var ecCount = rsBlocks[r].totalCount - dcCount;
|
|
3704
|
-
maxDcCount = Math.max(maxDcCount, dcCount);
|
|
3705
|
-
maxEcCount = Math.max(maxEcCount, ecCount);
|
|
3706
|
-
dcdata[r] = new Array(dcCount);
|
|
3707
|
-
for (var i = 0; i < dcdata[r].length; i++) {
|
|
3708
|
-
dcdata[r][i] = 0xff & buffer.buffer[i + offset];
|
|
3709
|
-
}
|
|
3710
|
-
offset += dcCount;
|
|
3711
|
-
var rsPoly = QRUtil.getErrorCorrectPolynomial(ecCount);
|
|
3712
|
-
var rawPoly = new QRPolynomial(dcdata[r], rsPoly.getLength() - 1);
|
|
3713
|
-
var modPoly = rawPoly.mod(rsPoly);
|
|
3714
|
-
ecdata[r] = new Array(rsPoly.getLength() - 1);
|
|
3715
|
-
for (var i = 0; i < ecdata[r].length; i++) {
|
|
3716
|
-
var modIndex = i + modPoly.getLength() - ecdata[r].length;
|
|
3717
|
-
ecdata[r][i] = modIndex >= 0 ? modPoly.get(modIndex) : 0;
|
|
3718
|
-
}
|
|
3719
|
-
}
|
|
3720
|
-
var totalCodeCount = 0;
|
|
3721
|
-
for (var i = 0; i < rsBlocks.length; i++) {
|
|
3722
|
-
totalCodeCount += rsBlocks[i].totalCount;
|
|
3723
|
-
}
|
|
3724
|
-
var data = new Array(totalCodeCount);
|
|
3725
|
-
var index = 0;
|
|
3726
|
-
for (var i = 0; i < maxDcCount; i++) {
|
|
3727
|
-
for (var r = 0; r < rsBlocks.length; r++) {
|
|
3728
|
-
if (i < dcdata[r].length) {
|
|
3729
|
-
data[index++] = dcdata[r][i];
|
|
3730
|
-
}
|
|
3731
|
-
}
|
|
3732
|
-
}
|
|
3733
|
-
for (var i = 0; i < maxEcCount; i++) {
|
|
3734
|
-
for (var r = 0; r < rsBlocks.length; r++) {
|
|
3735
|
-
if (i < ecdata[r].length) {
|
|
3736
|
-
data[index++] = ecdata[r][i];
|
|
3737
|
-
}
|
|
3738
|
-
}
|
|
3739
|
-
}
|
|
3740
|
-
return data;
|
|
3741
|
-
};
|
|
3742
|
-
var QRMode = {
|
|
3743
|
-
MODE_NUMBER: 1 << 0,
|
|
3744
|
-
MODE_ALPHA_NUM: 1 << 1,
|
|
3745
|
-
MODE_8BIT_BYTE: 1 << 2,
|
|
3746
|
-
MODE_KANJI: 1 << 3
|
|
3747
|
-
};
|
|
3748
|
-
var QRErrorCorrectLevel = {
|
|
3749
|
-
L: 1,
|
|
3750
|
-
M: 0,
|
|
3751
|
-
Q: 3,
|
|
3752
|
-
H: 2
|
|
3753
|
-
};
|
|
3754
|
-
var QRMaskPattern = {
|
|
3755
|
-
PATTERN000: 0,
|
|
3756
|
-
PATTERN001: 1,
|
|
3757
|
-
PATTERN010: 2,
|
|
3758
|
-
PATTERN011: 3,
|
|
3759
|
-
PATTERN100: 4,
|
|
3760
|
-
PATTERN101: 5,
|
|
3761
|
-
PATTERN110: 6,
|
|
3762
|
-
PATTERN111: 7
|
|
3763
|
-
};
|
|
3764
|
-
var QRUtil = {
|
|
3765
|
-
PATTERN_POSITION_TABLE: [[], [6, 18], [6, 22], [6, 26], [6, 30], [6, 34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170]],
|
|
3766
|
-
G15: 1 << 10 | 1 << 8 | 1 << 5 | 1 << 4 | 1 << 2 | 1 << 1 | 1 << 0,
|
|
3767
|
-
G18: 1 << 12 | 1 << 11 | 1 << 10 | 1 << 9 | 1 << 8 | 1 << 5 | 1 << 2 | 1 << 0,
|
|
3768
|
-
G15_MASK: 1 << 14 | 1 << 12 | 1 << 10 | 1 << 4 | 1 << 1,
|
|
3769
|
-
getBCHTypeInfo: function getBCHTypeInfo(data) {
|
|
3770
|
-
var d = data << 10;
|
|
3771
|
-
while (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G15) >= 0) {
|
|
3772
|
-
d ^= QRUtil.G15 << QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G15);
|
|
3773
|
-
}
|
|
3774
|
-
return (data << 10 | d) ^ QRUtil.G15_MASK;
|
|
3775
|
-
},
|
|
3776
|
-
getBCHTypeNumber: function getBCHTypeNumber(data) {
|
|
3777
|
-
var d = data << 12;
|
|
3778
|
-
while (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G18) >= 0) {
|
|
3779
|
-
d ^= QRUtil.G18 << QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G18);
|
|
3780
|
-
}
|
|
3781
|
-
return data << 12 | d;
|
|
3782
|
-
},
|
|
3783
|
-
getBCHDigit: function getBCHDigit(data) {
|
|
3784
|
-
var digit = 0;
|
|
3785
|
-
while (data != 0) {
|
|
3786
|
-
digit++;
|
|
3787
|
-
data >>>= 1;
|
|
3788
|
-
}
|
|
3789
|
-
return digit;
|
|
3790
|
-
},
|
|
3791
|
-
getPatternPosition: function getPatternPosition(typeNumber) {
|
|
3792
|
-
return QRUtil.PATTERN_POSITION_TABLE[typeNumber - 1];
|
|
3793
|
-
},
|
|
3794
|
-
getMask: function getMask(maskPattern, i, j) {
|
|
3795
|
-
switch (maskPattern) {
|
|
3796
|
-
case QRMaskPattern.PATTERN000:
|
|
3797
|
-
return (i + j) % 2 == 0;
|
|
3798
|
-
case QRMaskPattern.PATTERN001:
|
|
3799
|
-
return i % 2 == 0;
|
|
3800
|
-
case QRMaskPattern.PATTERN010:
|
|
3801
|
-
return j % 3 == 0;
|
|
3802
|
-
case QRMaskPattern.PATTERN011:
|
|
3803
|
-
return (i + j) % 3 == 0;
|
|
3804
|
-
case QRMaskPattern.PATTERN100:
|
|
3805
|
-
return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 == 0;
|
|
3806
|
-
case QRMaskPattern.PATTERN101:
|
|
3807
|
-
return i * j % 2 + i * j % 3 == 0;
|
|
3808
|
-
case QRMaskPattern.PATTERN110:
|
|
3809
|
-
return (i * j % 2 + i * j % 3) % 2 == 0;
|
|
3810
|
-
case QRMaskPattern.PATTERN111:
|
|
3811
|
-
return (i * j % 3 + (i + j) % 2) % 2 == 0;
|
|
3812
|
-
default:
|
|
3813
|
-
throw new Error("bad maskPattern:" + maskPattern);
|
|
3814
|
-
}
|
|
3815
|
-
},
|
|
3816
|
-
getErrorCorrectPolynomial: function getErrorCorrectPolynomial(errorCorrectLength) {
|
|
3817
|
-
var a = new QRPolynomial([1], 0);
|
|
3818
|
-
for (var i = 0; i < errorCorrectLength; i++) {
|
|
3819
|
-
a = a.multiply(new QRPolynomial([1, QRMath.gexp(i)], 0));
|
|
3820
|
-
}
|
|
3821
|
-
return a;
|
|
3822
|
-
},
|
|
3823
|
-
getLengthInBits: function getLengthInBits(mode, type) {
|
|
3824
|
-
if (1 <= type && type < 10) {
|
|
3825
|
-
switch (mode) {
|
|
3826
|
-
case QRMode.MODE_NUMBER:
|
|
3827
|
-
return 10;
|
|
3828
|
-
case QRMode.MODE_ALPHA_NUM:
|
|
3829
|
-
return 9;
|
|
3830
|
-
case QRMode.MODE_8BIT_BYTE:
|
|
3831
|
-
return 8;
|
|
3832
|
-
case QRMode.MODE_KANJI:
|
|
3833
|
-
return 8;
|
|
3834
|
-
default:
|
|
3835
|
-
throw new Error("mode:" + mode);
|
|
3836
|
-
}
|
|
3837
|
-
} else if (type < 27) {
|
|
3838
|
-
switch (mode) {
|
|
3839
|
-
case QRMode.MODE_NUMBER:
|
|
3840
|
-
return 12;
|
|
3841
|
-
case QRMode.MODE_ALPHA_NUM:
|
|
3842
|
-
return 11;
|
|
3843
|
-
case QRMode.MODE_8BIT_BYTE:
|
|
3844
|
-
return 16;
|
|
3845
|
-
case QRMode.MODE_KANJI:
|
|
3846
|
-
return 10;
|
|
3847
|
-
default:
|
|
3848
|
-
throw new Error("mode:" + mode);
|
|
3849
|
-
}
|
|
3850
|
-
} else if (type < 41) {
|
|
3851
|
-
switch (mode) {
|
|
3852
|
-
case QRMode.MODE_NUMBER:
|
|
3853
|
-
return 14;
|
|
3854
|
-
case QRMode.MODE_ALPHA_NUM:
|
|
3855
|
-
return 13;
|
|
3856
|
-
case QRMode.MODE_8BIT_BYTE:
|
|
3857
|
-
return 16;
|
|
3858
|
-
case QRMode.MODE_KANJI:
|
|
3859
|
-
return 12;
|
|
3860
|
-
default:
|
|
3861
|
-
throw new Error("mode:" + mode);
|
|
3862
|
-
}
|
|
3863
|
-
} else {
|
|
3864
|
-
throw new Error("type:" + type);
|
|
3865
|
-
}
|
|
3866
|
-
},
|
|
3867
|
-
getLostPoint: function getLostPoint(qrCode) {
|
|
3868
|
-
var moduleCount = qrCode.getModuleCount();
|
|
3869
|
-
var lostPoint = 0;
|
|
3870
|
-
for (var row = 0; row < moduleCount; row++) {
|
|
3871
|
-
for (var col = 0; col < moduleCount; col++) {
|
|
3872
|
-
var sameCount = 0;
|
|
3873
|
-
var dark = qrCode.isDark(row, col);
|
|
3874
|
-
for (var r = -1; r <= 1; r++) {
|
|
3875
|
-
if (row + r < 0 || moduleCount <= row + r) {
|
|
3876
|
-
continue;
|
|
3877
|
-
}
|
|
3878
|
-
for (var c = -1; c <= 1; c++) {
|
|
3879
|
-
if (col + c < 0 || moduleCount <= col + c) {
|
|
3880
|
-
continue;
|
|
3881
|
-
}
|
|
3882
|
-
if (r == 0 && c == 0) {
|
|
3883
|
-
continue;
|
|
3884
|
-
}
|
|
3885
|
-
if (dark == qrCode.isDark(row + r, col + c)) {
|
|
3886
|
-
sameCount++;
|
|
3887
|
-
}
|
|
3888
|
-
}
|
|
3889
|
-
}
|
|
3890
|
-
if (sameCount > 5) {
|
|
3891
|
-
lostPoint += 3 + sameCount - 5;
|
|
3892
|
-
}
|
|
3893
|
-
}
|
|
3894
|
-
}
|
|
3895
|
-
for (var row = 0; row < moduleCount - 1; row++) {
|
|
3896
|
-
for (var col = 0; col < moduleCount - 1; col++) {
|
|
3897
|
-
var count = 0;
|
|
3898
|
-
if (qrCode.isDark(row, col)) count++;
|
|
3899
|
-
if (qrCode.isDark(row + 1, col)) count++;
|
|
3900
|
-
if (qrCode.isDark(row, col + 1)) count++;
|
|
3901
|
-
if (qrCode.isDark(row + 1, col + 1)) count++;
|
|
3902
|
-
if (count == 0 || count == 4) {
|
|
3903
|
-
lostPoint += 3;
|
|
3904
|
-
}
|
|
3905
|
-
}
|
|
3906
|
-
}
|
|
3907
|
-
for (var row = 0; row < moduleCount; row++) {
|
|
3908
|
-
for (var col = 0; col < moduleCount - 6; col++) {
|
|
3909
|
-
if (qrCode.isDark(row, col) && !qrCode.isDark(row, col + 1) && qrCode.isDark(row, col + 2) && qrCode.isDark(row, col + 3) && qrCode.isDark(row, col + 4) && !qrCode.isDark(row, col + 5) && qrCode.isDark(row, col + 6)) {
|
|
3910
|
-
lostPoint += 40;
|
|
3911
|
-
}
|
|
3912
|
-
}
|
|
3913
|
-
}
|
|
3914
|
-
for (var col = 0; col < moduleCount; col++) {
|
|
3915
|
-
for (var row = 0; row < moduleCount - 6; row++) {
|
|
3916
|
-
if (qrCode.isDark(row, col) && !qrCode.isDark(row + 1, col) && qrCode.isDark(row + 2, col) && qrCode.isDark(row + 3, col) && qrCode.isDark(row + 4, col) && !qrCode.isDark(row + 5, col) && qrCode.isDark(row + 6, col)) {
|
|
3917
|
-
lostPoint += 40;
|
|
3918
|
-
}
|
|
3919
|
-
}
|
|
3920
|
-
}
|
|
3921
|
-
var darkCount = 0;
|
|
3922
|
-
for (var col = 0; col < moduleCount; col++) {
|
|
3923
|
-
for (var row = 0; row < moduleCount; row++) {
|
|
3924
|
-
if (qrCode.isDark(row, col)) {
|
|
3925
|
-
darkCount++;
|
|
3926
|
-
}
|
|
3927
|
-
}
|
|
3928
|
-
}
|
|
3929
|
-
var ratio = Math.abs(100 * darkCount / moduleCount / moduleCount - 50) / 5;
|
|
3930
|
-
lostPoint += ratio * 10;
|
|
3931
|
-
return lostPoint;
|
|
3932
|
-
}
|
|
3933
|
-
};
|
|
3934
|
-
var QRMath = {
|
|
3935
|
-
glog: function glog(n) {
|
|
3936
|
-
if (n < 1) {
|
|
3937
|
-
throw new Error("glog(" + n + ")");
|
|
3938
|
-
}
|
|
3939
|
-
return QRMath.LOG_TABLE[n];
|
|
3940
|
-
},
|
|
3941
|
-
gexp: function gexp(n) {
|
|
3942
|
-
while (n < 0) {
|
|
3943
|
-
n += 255;
|
|
3944
|
-
}
|
|
3945
|
-
while (n >= 256) {
|
|
3946
|
-
n -= 255;
|
|
3947
|
-
}
|
|
3948
|
-
return QRMath.EXP_TABLE[n];
|
|
3949
|
-
},
|
|
3950
|
-
EXP_TABLE: new Array(256),
|
|
3951
|
-
LOG_TABLE: new Array(256)
|
|
3952
|
-
};
|
|
3953
|
-
for (var i = 0; i < 8; i++) {
|
|
3954
|
-
QRMath.EXP_TABLE[i] = 1 << i;
|
|
3955
|
-
}
|
|
3956
|
-
for (var i = 8; i < 256; i++) {
|
|
3957
|
-
QRMath.EXP_TABLE[i] = QRMath.EXP_TABLE[i - 4] ^ QRMath.EXP_TABLE[i - 5] ^ QRMath.EXP_TABLE[i - 6] ^ QRMath.EXP_TABLE[i - 8];
|
|
3958
|
-
}
|
|
3959
|
-
for (var i = 0; i < 255; i++) {
|
|
3960
|
-
QRMath.LOG_TABLE[QRMath.EXP_TABLE[i]] = i;
|
|
3961
|
-
}
|
|
3962
|
-
function QRPolynomial(num, shift) {
|
|
3963
|
-
if (num.length == undefined) {
|
|
3964
|
-
throw new Error(num.length + "/" + shift);
|
|
3965
|
-
}
|
|
3966
|
-
var offset = 0;
|
|
3967
|
-
while (offset < num.length && num[offset] == 0) {
|
|
3968
|
-
offset++;
|
|
3969
|
-
}
|
|
3970
|
-
this.num = new Array(num.length - offset + shift);
|
|
3971
|
-
for (var i = 0; i < num.length - offset; i++) {
|
|
3972
|
-
this.num[i] = num[i + offset];
|
|
3973
|
-
}
|
|
3974
|
-
}
|
|
3975
|
-
QRPolynomial.prototype = {
|
|
3976
|
-
get: function get(index) {
|
|
3977
|
-
return this.num[index];
|
|
3978
|
-
},
|
|
3979
|
-
getLength: function getLength() {
|
|
3980
|
-
return this.num.length;
|
|
3981
|
-
},
|
|
3982
|
-
multiply: function multiply(e) {
|
|
3983
|
-
var num = new Array(this.getLength() + e.getLength() - 1);
|
|
3984
|
-
for (var i = 0; i < this.getLength(); i++) {
|
|
3985
|
-
for (var j = 0; j < e.getLength(); j++) {
|
|
3986
|
-
num[i + j] ^= QRMath.gexp(QRMath.glog(this.get(i)) + QRMath.glog(e.get(j)));
|
|
3987
|
-
}
|
|
3988
|
-
}
|
|
3989
|
-
return new QRPolynomial(num, 0);
|
|
3990
|
-
},
|
|
3991
|
-
mod: function mod(e) {
|
|
3992
|
-
if (this.getLength() - e.getLength() < 0) {
|
|
3993
|
-
return this;
|
|
3994
|
-
}
|
|
3995
|
-
var ratio = QRMath.glog(this.get(0)) - QRMath.glog(e.get(0));
|
|
3996
|
-
var num = new Array(this.getLength());
|
|
3997
|
-
for (var i = 0; i < this.getLength(); i++) {
|
|
3998
|
-
num[i] = this.get(i);
|
|
3999
|
-
}
|
|
4000
|
-
for (var i = 0; i < e.getLength(); i++) {
|
|
4001
|
-
num[i] ^= QRMath.gexp(QRMath.glog(e.get(i)) + ratio);
|
|
4002
|
-
}
|
|
4003
|
-
return new QRPolynomial(num, 0).mod(e);
|
|
4004
|
-
}
|
|
4005
|
-
};
|
|
4006
|
-
function QRRSBlock(totalCount, dataCount) {
|
|
4007
|
-
this.totalCount = totalCount;
|
|
4008
|
-
this.dataCount = dataCount;
|
|
4009
|
-
}
|
|
4010
|
-
QRRSBlock.RS_BLOCK_TABLE = [[1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9], [1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16], [1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13], [1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9], [1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12], [2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15], [2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14], [2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15], [2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13], [2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16], [4, 101, 81], [1, 80, 50, 4, 81, 51], [4, 50, 22, 4, 51, 23], [3, 36, 12, 8, 37, 13], [2, 116, 92, 2, 117, 93], [6, 58, 36, 2, 59, 37], [4, 46, 20, 6, 47, 21], [7, 42, 14, 4, 43, 15], [4, 133, 107], [8, 59, 37, 1, 60, 38], [8, 44, 20, 4, 45, 21], [12, 33, 11, 4, 34, 12], [3, 145, 115, 1, 146, 116], [4, 64, 40, 5, 65, 41], [11, 36, 16, 5, 37, 17], [11, 36, 12, 5, 37, 13], [5, 109, 87, 1, 110, 88], [5, 65, 41, 5, 66, 42], [5, 54, 24, 7, 55, 25], [11, 36, 12], [5, 122, 98, 1, 123, 99], [7, 73, 45, 3, 74, 46], [15, 43, 19, 2, 44, 20], [3, 45, 15, 13, 46, 16], [1, 135, 107, 5, 136, 108], [10, 74, 46, 1, 75, 47], [1, 50, 22, 15, 51, 23], [2, 42, 14, 17, 43, 15], [5, 150, 120, 1, 151, 121], [9, 69, 43, 4, 70, 44], [17, 50, 22, 1, 51, 23], [2, 42, 14, 19, 43, 15], [3, 141, 113, 4, 142, 114], [3, 70, 44, 11, 71, 45], [17, 47, 21, 4, 48, 22], [9, 39, 13, 16, 40, 14], [3, 135, 107, 5, 136, 108], [3, 67, 41, 13, 68, 42], [15, 54, 24, 5, 55, 25], [15, 43, 15, 10, 44, 16], [4, 144, 116, 4, 145, 117], [17, 68, 42], [17, 50, 22, 6, 51, 23], [19, 46, 16, 6, 47, 17], [2, 139, 111, 7, 140, 112], [17, 74, 46], [7, 54, 24, 16, 55, 25], [34, 37, 13], [4, 151, 121, 5, 152, 122], [4, 75, 47, 14, 76, 48], [11, 54, 24, 14, 55, 25], [16, 45, 15, 14, 46, 16], [6, 147, 117, 4, 148, 118], [6, 73, 45, 14, 74, 46], [11, 54, 24, 16, 55, 25], [30, 46, 16, 2, 47, 17], [8, 132, 106, 4, 133, 107], [8, 75, 47, 13, 76, 48], [7, 54, 24, 22, 55, 25], [22, 45, 15, 13, 46, 16], [10, 142, 114, 2, 143, 115], [19, 74, 46, 4, 75, 47], [28, 50, 22, 6, 51, 23], [33, 46, 16, 4, 47, 17], [8, 152, 122, 4, 153, 123], [22, 73, 45, 3, 74, 46], [8, 53, 23, 26, 54, 24], [12, 45, 15, 28, 46, 16], [3, 147, 117, 10, 148, 118], [3, 73, 45, 23, 74, 46], [4, 54, 24, 31, 55, 25], [11, 45, 15, 31, 46, 16], [7, 146, 116, 7, 147, 117], [21, 73, 45, 7, 74, 46], [1, 53, 23, 37, 54, 24], [19, 45, 15, 26, 46, 16], [5, 145, 115, 10, 146, 116], [19, 75, 47, 10, 76, 48], [15, 54, 24, 25, 55, 25], [23, 45, 15, 25, 46, 16], [13, 145, 115, 3, 146, 116], [2, 74, 46, 29, 75, 47], [42, 54, 24, 1, 55, 25], [23, 45, 15, 28, 46, 16], [17, 145, 115], [10, 74, 46, 23, 75, 47], [10, 54, 24, 35, 55, 25], [19, 45, 15, 35, 46, 16], [17, 145, 115, 1, 146, 116], [14, 74, 46, 21, 75, 47], [29, 54, 24, 19, 55, 25], [11, 45, 15, 46, 46, 16], [13, 145, 115, 6, 146, 116], [14, 74, 46, 23, 75, 47], [44, 54, 24, 7, 55, 25], [59, 46, 16, 1, 47, 17], [12, 151, 121, 7, 152, 122], [12, 75, 47, 26, 76, 48], [39, 54, 24, 14, 55, 25], [22, 45, 15, 41, 46, 16], [6, 151, 121, 14, 152, 122], [6, 75, 47, 34, 76, 48], [46, 54, 24, 10, 55, 25], [2, 45, 15, 64, 46, 16], [17, 152, 122, 4, 153, 123], [29, 74, 46, 14, 75, 47], [49, 54, 24, 10, 55, 25], [24, 45, 15, 46, 46, 16], [4, 152, 122, 18, 153, 123], [13, 74, 46, 32, 75, 47], [48, 54, 24, 14, 55, 25], [42, 45, 15, 32, 46, 16], [20, 147, 117, 4, 148, 118], [40, 75, 47, 7, 76, 48], [43, 54, 24, 22, 55, 25], [10, 45, 15, 67, 46, 16], [19, 148, 118, 6, 149, 119], [18, 75, 47, 31, 76, 48], [34, 54, 24, 34, 55, 25], [20, 45, 15, 61, 46, 16]];
|
|
4011
|
-
QRRSBlock.getRSBlocks = function (typeNumber, errorCorrectLevel) {
|
|
4012
|
-
var rsBlock = QRRSBlock.getRsBlockTable(typeNumber, errorCorrectLevel);
|
|
4013
|
-
if (rsBlock == undefined) {
|
|
4014
|
-
throw new Error("bad rs block @ typeNumber:" + typeNumber + "/errorCorrectLevel:" + errorCorrectLevel);
|
|
4015
|
-
}
|
|
4016
|
-
var length = rsBlock.length / 3;
|
|
4017
|
-
var list = [];
|
|
4018
|
-
for (var i = 0; i < length; i++) {
|
|
4019
|
-
var count = rsBlock[i * 3 + 0];
|
|
4020
|
-
var totalCount = rsBlock[i * 3 + 1];
|
|
4021
|
-
var dataCount = rsBlock[i * 3 + 2];
|
|
4022
|
-
for (var j = 0; j < count; j++) {
|
|
4023
|
-
list.push(new QRRSBlock(totalCount, dataCount));
|
|
4024
|
-
}
|
|
4025
|
-
}
|
|
4026
|
-
return list;
|
|
4027
|
-
};
|
|
4028
|
-
QRRSBlock.getRsBlockTable = function (typeNumber, errorCorrectLevel) {
|
|
4029
|
-
switch (errorCorrectLevel) {
|
|
4030
|
-
case QRErrorCorrectLevel.L:
|
|
4031
|
-
return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 0];
|
|
4032
|
-
case QRErrorCorrectLevel.M:
|
|
4033
|
-
return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 1];
|
|
4034
|
-
case QRErrorCorrectLevel.Q:
|
|
4035
|
-
return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 2];
|
|
4036
|
-
case QRErrorCorrectLevel.H:
|
|
4037
|
-
return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 3];
|
|
4038
|
-
default:
|
|
4039
|
-
return undefined;
|
|
4040
|
-
}
|
|
4041
|
-
};
|
|
4042
|
-
function QRBitBuffer() {
|
|
4043
|
-
this.buffer = [];
|
|
4044
|
-
this.length = 0;
|
|
4045
|
-
}
|
|
4046
|
-
QRBitBuffer.prototype = {
|
|
4047
|
-
get: function get(index) {
|
|
4048
|
-
var bufIndex = Math.floor(index / 8);
|
|
4049
|
-
return (this.buffer[bufIndex] >>> 7 - index % 8 & 1) == 1;
|
|
4050
|
-
},
|
|
4051
|
-
put: function put(num, length) {
|
|
4052
|
-
for (var i = 0; i < length; i++) {
|
|
4053
|
-
this.putBit((num >>> length - i - 1 & 1) == 1);
|
|
4054
|
-
}
|
|
4055
|
-
},
|
|
4056
|
-
getLengthInBits: function getLengthInBits() {
|
|
4057
|
-
return this.length;
|
|
4058
|
-
},
|
|
4059
|
-
putBit: function putBit(bit) {
|
|
4060
|
-
var bufIndex = Math.floor(this.length / 8);
|
|
4061
|
-
if (this.buffer.length <= bufIndex) {
|
|
4062
|
-
this.buffer.push(0);
|
|
4063
|
-
}
|
|
4064
|
-
if (bit) {
|
|
4065
|
-
this.buffer[bufIndex] |= 0x80 >>> this.length % 8;
|
|
4066
|
-
}
|
|
4067
|
-
this.length++;
|
|
4068
|
-
}
|
|
4069
|
-
};
|
|
4070
|
-
var QRCodeLimitLength = [[17, 14, 11, 7], [32, 26, 20, 14], [53, 42, 32, 24], [78, 62, 46, 34], [106, 84, 60, 44], [134, 106, 74, 58], [154, 122, 86, 64], [192, 152, 108, 84], [230, 180, 130, 98], [271, 213, 151, 119], [321, 251, 177, 137], [367, 287, 203, 155], [425, 331, 241, 177], [458, 362, 258, 194], [520, 412, 292, 220], [586, 450, 322, 250], [644, 504, 364, 280], [718, 560, 394, 310], [792, 624, 442, 338], [858, 666, 482, 382], [929, 711, 509, 403], [1003, 779, 565, 439], [1091, 857, 611, 461], [1171, 911, 661, 511], [1273, 997, 715, 535], [1367, 1059, 751, 593], [1465, 1125, 805, 625], [1528, 1190, 868, 658], [1628, 1264, 908, 698], [1732, 1370, 982, 742], [1840, 1452, 1030, 790], [1952, 1538, 1112, 842], [2068, 1628, 1168, 898], [2188, 1722, 1228, 958], [2303, 1809, 1283, 983], [2431, 1911, 1351, 1051], [2563, 1989, 1423, 1093], [2699, 2099, 1499, 1139], [2809, 2213, 1579, 1219], [2953, 2331, 1663, 1273]];
|
|
4071
|
-
function _isSupportCanvas() {
|
|
4072
|
-
return typeof CanvasRenderingContext2D != "undefined";
|
|
4073
|
-
}
|
|
4074
|
-
|
|
4075
|
-
// android 2.x doesn't support Data-URI spec
|
|
4076
|
-
function _getAndroid() {
|
|
4077
|
-
var android = false;
|
|
4078
|
-
var sAgent = navigator.userAgent;
|
|
4079
|
-
if (/android/i.test(sAgent)) {
|
|
4080
|
-
// android
|
|
4081
|
-
android = true;
|
|
4082
|
-
var aMat = sAgent.toString().match(/android ([0-9]\.[0-9])/i);
|
|
4083
|
-
if (aMat && aMat[1]) {
|
|
4084
|
-
android = parseFloat(aMat[1]);
|
|
4085
|
-
}
|
|
4086
|
-
}
|
|
4087
|
-
return android;
|
|
4088
|
-
}
|
|
4089
|
-
var svgDrawer = function () {
|
|
4090
|
-
var Drawing = function Drawing(el, htOption) {
|
|
4091
|
-
this._el = el;
|
|
4092
|
-
this._htOption = htOption;
|
|
4093
|
-
};
|
|
4094
|
-
Drawing.prototype.draw = function (oQRCode) {
|
|
4095
|
-
var _htOption = this._htOption;
|
|
4096
|
-
var _el = this._el;
|
|
4097
|
-
var nCount = oQRCode.getModuleCount();
|
|
4098
|
-
var nWidth = Math.floor(_htOption.width / nCount);
|
|
4099
|
-
var nHeight = Math.floor(_htOption.height / nCount);
|
|
4100
|
-
this.clear();
|
|
4101
|
-
function makeSVG(tag, attrs) {
|
|
4102
|
-
var el = document.createElementNS('http://www.w3.org/2000/svg', tag);
|
|
4103
|
-
for (var k in attrs) if (attrs.hasOwnProperty(k)) el.setAttribute(k, attrs[k]);
|
|
4104
|
-
return el;
|
|
4105
|
-
}
|
|
4106
|
-
var svg = makeSVG("svg", {
|
|
4107
|
-
'viewBox': '0 0 ' + String(nCount) + " " + String(nCount),
|
|
4108
|
-
'width': '100%',
|
|
4109
|
-
'height': '100%',
|
|
4110
|
-
'fill': _htOption.colorLight
|
|
4111
|
-
});
|
|
4112
|
-
svg.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
4113
|
-
_el.appendChild(svg);
|
|
4114
|
-
svg.appendChild(makeSVG("rect", {
|
|
4115
|
-
"fill": _htOption.colorLight,
|
|
4116
|
-
"width": "100%",
|
|
4117
|
-
"height": "100%"
|
|
4118
|
-
}));
|
|
4119
|
-
svg.appendChild(makeSVG("rect", {
|
|
4120
|
-
"fill": _htOption.colorDark,
|
|
4121
|
-
"width": "1",
|
|
4122
|
-
"height": "1",
|
|
4123
|
-
"id": "template"
|
|
4124
|
-
}));
|
|
4125
|
-
for (var row = 0; row < nCount; row++) {
|
|
4126
|
-
for (var col = 0; col < nCount; col++) {
|
|
4127
|
-
if (oQRCode.isDark(row, col)) {
|
|
4128
|
-
var child = makeSVG("use", {
|
|
4129
|
-
"x": String(col),
|
|
4130
|
-
"y": String(row)
|
|
4131
|
-
});
|
|
4132
|
-
child.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#template");
|
|
4133
|
-
svg.appendChild(child);
|
|
4134
|
-
}
|
|
4135
|
-
}
|
|
4136
|
-
}
|
|
4137
|
-
};
|
|
4138
|
-
Drawing.prototype.clear = function () {
|
|
4139
|
-
while (this._el.hasChildNodes()) this._el.removeChild(this._el.lastChild);
|
|
4140
|
-
};
|
|
4141
|
-
return Drawing;
|
|
4142
|
-
}();
|
|
4143
|
-
var useSVG = document.documentElement.tagName.toLowerCase() === "svg";
|
|
4144
|
-
|
|
4145
|
-
// Drawing in DOM by using Table tag
|
|
4146
|
-
var Drawing = useSVG ? svgDrawer : !_isSupportCanvas() ? function () {
|
|
4147
|
-
var Drawing = function Drawing(el, htOption) {
|
|
4148
|
-
this._el = el;
|
|
4149
|
-
this._htOption = htOption;
|
|
4150
|
-
};
|
|
4151
|
-
|
|
4152
|
-
/**
|
|
4153
|
-
* Draw the QRCode
|
|
4154
|
-
*
|
|
4155
|
-
* @param {QRCode} oQRCode
|
|
4156
|
-
*/
|
|
4157
|
-
Drawing.prototype.draw = function (oQRCode) {
|
|
4158
|
-
var _htOption = this._htOption;
|
|
4159
|
-
var _el = this._el;
|
|
4160
|
-
var nCount = oQRCode.getModuleCount();
|
|
4161
|
-
var nWidth = Math.floor(_htOption.width / nCount);
|
|
4162
|
-
var nHeight = Math.floor(_htOption.height / nCount);
|
|
4163
|
-
var aHTML = ['<table style="border:0;border-collapse:collapse;">'];
|
|
4164
|
-
for (var row = 0; row < nCount; row++) {
|
|
4165
|
-
aHTML.push('<tr>');
|
|
4166
|
-
for (var col = 0; col < nCount; col++) {
|
|
4167
|
-
aHTML.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:' + nWidth + 'px;height:' + nHeight + 'px;background-color:' + (oQRCode.isDark(row, col) ? _htOption.colorDark : _htOption.colorLight) + ';"></td>');
|
|
4168
|
-
}
|
|
4169
|
-
aHTML.push('</tr>');
|
|
4170
|
-
}
|
|
4171
|
-
aHTML.push('</table>');
|
|
4172
|
-
_el.innerHTML = aHTML.join('');
|
|
4173
|
-
|
|
4174
|
-
// Fix the margin values as real size.
|
|
4175
|
-
var elTable = _el.childNodes[0];
|
|
4176
|
-
var nLeftMarginTable = (_htOption.width - elTable.offsetWidth) / 2;
|
|
4177
|
-
var nTopMarginTable = (_htOption.height - elTable.offsetHeight) / 2;
|
|
4178
|
-
if (nLeftMarginTable > 0 && nTopMarginTable > 0) {
|
|
4179
|
-
elTable.style.margin = nTopMarginTable + "px " + nLeftMarginTable + "px";
|
|
4180
|
-
}
|
|
4181
|
-
};
|
|
4182
|
-
|
|
4183
|
-
/**
|
|
4184
|
-
* Clear the QRCode
|
|
4185
|
-
*/
|
|
4186
|
-
Drawing.prototype.clear = function () {
|
|
4187
|
-
this._el.innerHTML = '';
|
|
4188
|
-
};
|
|
4189
|
-
return Drawing;
|
|
4190
|
-
}() : function () {
|
|
4191
|
-
// Drawing in Canvas
|
|
4192
|
-
function _onMakeImage() {
|
|
4193
|
-
this._elImage.src = this._elCanvas.toDataURL("image/png");
|
|
4194
|
-
this._elImage.style.display = "block";
|
|
4195
|
-
this._elCanvas.style.display = "none";
|
|
4196
|
-
}
|
|
4197
|
-
|
|
4198
|
-
// Android 2.1 bug workaround
|
|
4199
|
-
// http://code.google.com/p/android/issues/detail?id=5141
|
|
4200
|
-
if (this._android && this._android <= 2.1) {
|
|
4201
|
-
var factor = 1 / window.devicePixelRatio;
|
|
4202
|
-
var drawImage = CanvasRenderingContext2D.prototype.drawImage;
|
|
4203
|
-
CanvasRenderingContext2D.prototype.drawImage = function (image, sx, sy, sw, sh, dx, dy, dw, dh) {
|
|
4204
|
-
if ("nodeName" in image && /img/i.test(image.nodeName)) {
|
|
4205
|
-
for (var i = arguments.length - 1; i >= 1; i--) {
|
|
4206
|
-
arguments[i] = arguments[i] * factor;
|
|
4207
|
-
}
|
|
4208
|
-
} else if (typeof dw == "undefined") {
|
|
4209
|
-
arguments[1] *= factor;
|
|
4210
|
-
arguments[2] *= factor;
|
|
4211
|
-
arguments[3] *= factor;
|
|
4212
|
-
arguments[4] *= factor;
|
|
4213
|
-
}
|
|
4214
|
-
drawImage.apply(this, arguments);
|
|
4215
|
-
};
|
|
4216
|
-
}
|
|
4217
|
-
|
|
4218
|
-
/**
|
|
4219
|
-
* Check whether the user's browser supports Data URI or not
|
|
4220
|
-
*
|
|
4221
|
-
* @private
|
|
4222
|
-
* @param {Function} fSuccess Occurs if it supports Data URI
|
|
4223
|
-
* @param {Function} fFail Occurs if it doesn't support Data URI
|
|
4224
|
-
*/
|
|
4225
|
-
function _safeSetDataURI(fSuccess, fFail) {
|
|
4226
|
-
var self = this;
|
|
4227
|
-
self._fFail = fFail;
|
|
4228
|
-
self._fSuccess = fSuccess;
|
|
4229
|
-
|
|
4230
|
-
// Check it just once
|
|
4231
|
-
if (self._bSupportDataURI === null) {
|
|
4232
|
-
var el = document.createElement("img");
|
|
4233
|
-
var fOnError = function fOnError() {
|
|
4234
|
-
self._bSupportDataURI = false;
|
|
4235
|
-
if (self._fFail) {
|
|
4236
|
-
self._fFail.call(self);
|
|
4237
|
-
}
|
|
4238
|
-
};
|
|
4239
|
-
var fOnSuccess = function fOnSuccess() {
|
|
4240
|
-
self._bSupportDataURI = true;
|
|
4241
|
-
if (self._fSuccess) {
|
|
4242
|
-
self._fSuccess.call(self);
|
|
4243
|
-
}
|
|
4244
|
-
};
|
|
4245
|
-
el.onabort = fOnError;
|
|
4246
|
-
el.onerror = fOnError;
|
|
4247
|
-
el.onload = fOnSuccess;
|
|
4248
|
-
el.src = "data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="; // the Image contains 1px data.
|
|
4249
|
-
return;
|
|
4250
|
-
} else if (self._bSupportDataURI === true && self._fSuccess) {
|
|
4251
|
-
self._fSuccess.call(self);
|
|
4252
|
-
} else if (self._bSupportDataURI === false && self._fFail) {
|
|
4253
|
-
self._fFail.call(self);
|
|
4254
|
-
}
|
|
4255
|
-
}
|
|
4256
|
-
;
|
|
4257
|
-
|
|
4258
|
-
/**
|
|
4259
|
-
* Drawing QRCode by using canvas
|
|
4260
|
-
*
|
|
4261
|
-
* @constructor
|
|
4262
|
-
* @param {HTMLElement} el
|
|
4263
|
-
* @param {Object} htOption QRCode Options
|
|
4264
|
-
*/
|
|
4265
|
-
var Drawing = function Drawing(el, htOption) {
|
|
4266
|
-
this._bIsPainted = false;
|
|
4267
|
-
this._android = _getAndroid();
|
|
4268
|
-
this._htOption = htOption;
|
|
4269
|
-
this._elCanvas = document.createElement("canvas");
|
|
4270
|
-
this._elCanvas.width = htOption.width;
|
|
4271
|
-
this._elCanvas.height = htOption.height;
|
|
4272
|
-
el.appendChild(this._elCanvas);
|
|
4273
|
-
this._el = el;
|
|
4274
|
-
this._oContext = this._elCanvas.getContext("2d");
|
|
4275
|
-
this._bIsPainted = false;
|
|
4276
|
-
this._elImage = document.createElement("img");
|
|
4277
|
-
this._elImage.alt = "Scan me!";
|
|
4278
|
-
this._elImage.style.display = "none";
|
|
4279
|
-
this._el.appendChild(this._elImage);
|
|
4280
|
-
this._bSupportDataURI = null;
|
|
4281
|
-
};
|
|
4282
|
-
|
|
4283
|
-
/**
|
|
4284
|
-
* Draw the QRCode
|
|
4285
|
-
*
|
|
4286
|
-
* @param {QRCode} oQRCode
|
|
4287
|
-
*/
|
|
4288
|
-
Drawing.prototype.draw = function (oQRCode) {
|
|
4289
|
-
var _elImage = this._elImage;
|
|
4290
|
-
var _oContext = this._oContext;
|
|
4291
|
-
var _htOption = this._htOption;
|
|
4292
|
-
var nCount = oQRCode.getModuleCount();
|
|
4293
|
-
var nWidth = _htOption.width / nCount;
|
|
4294
|
-
var nHeight = _htOption.height / nCount;
|
|
4295
|
-
var nRoundedWidth = Math.round(nWidth);
|
|
4296
|
-
var nRoundedHeight = Math.round(nHeight);
|
|
4297
|
-
_elImage.style.display = "none";
|
|
4298
|
-
this.clear();
|
|
4299
|
-
for (var row = 0; row < nCount; row++) {
|
|
4300
|
-
for (var col = 0; col < nCount; col++) {
|
|
4301
|
-
var bIsDark = oQRCode.isDark(row, col);
|
|
4302
|
-
var nLeft = col * nWidth;
|
|
4303
|
-
var nTop = row * nHeight;
|
|
4304
|
-
_oContext.strokeStyle = bIsDark ? _htOption.colorDark : _htOption.colorLight;
|
|
4305
|
-
_oContext.lineWidth = 1;
|
|
4306
|
-
_oContext.fillStyle = bIsDark ? _htOption.colorDark : _htOption.colorLight;
|
|
4307
|
-
_oContext.fillRect(nLeft, nTop, nWidth, nHeight);
|
|
4308
|
-
|
|
4309
|
-
// 안티 앨리어싱 방지 처리
|
|
4310
|
-
_oContext.strokeRect(Math.floor(nLeft) + 0.5, Math.floor(nTop) + 0.5, nRoundedWidth, nRoundedHeight);
|
|
4311
|
-
_oContext.strokeRect(Math.ceil(nLeft) - 0.5, Math.ceil(nTop) - 0.5, nRoundedWidth, nRoundedHeight);
|
|
4312
|
-
}
|
|
4313
|
-
}
|
|
4314
|
-
this._bIsPainted = true;
|
|
4315
|
-
};
|
|
4316
|
-
|
|
4317
|
-
/**
|
|
4318
|
-
* Make the image from Canvas if the browser supports Data URI.
|
|
4319
|
-
*/
|
|
4320
|
-
Drawing.prototype.makeImage = function () {
|
|
4321
|
-
if (this._bIsPainted) {
|
|
4322
|
-
_safeSetDataURI.call(this, _onMakeImage);
|
|
4323
|
-
}
|
|
4324
|
-
};
|
|
4325
|
-
|
|
4326
|
-
/**
|
|
4327
|
-
* Return whether the QRCode is painted or not
|
|
4328
|
-
*
|
|
4329
|
-
* @return {Boolean}
|
|
4330
|
-
*/
|
|
4331
|
-
Drawing.prototype.isPainted = function () {
|
|
4332
|
-
return this._bIsPainted;
|
|
4333
|
-
};
|
|
4334
|
-
|
|
4335
|
-
/**
|
|
4336
|
-
* Clear the QRCode
|
|
4337
|
-
*/
|
|
4338
|
-
Drawing.prototype.clear = function () {
|
|
4339
|
-
this._oContext.clearRect(0, 0, this._elCanvas.width, this._elCanvas.height);
|
|
4340
|
-
this._bIsPainted = false;
|
|
4341
|
-
};
|
|
4342
|
-
|
|
4343
|
-
/**
|
|
4344
|
-
* @private
|
|
4345
|
-
* @param {Number} nNumber
|
|
4346
|
-
*/
|
|
4347
|
-
Drawing.prototype.round = function (nNumber) {
|
|
4348
|
-
if (!nNumber) {
|
|
4349
|
-
return nNumber;
|
|
4350
|
-
}
|
|
4351
|
-
return Math.floor(nNumber * 1000) / 1000;
|
|
4352
|
-
};
|
|
4353
|
-
return Drawing;
|
|
4354
|
-
}();
|
|
4355
|
-
|
|
4356
|
-
/**
|
|
4357
|
-
* Get the type by string length
|
|
4358
|
-
*
|
|
4359
|
-
* @private
|
|
4360
|
-
* @param {String} sText
|
|
4361
|
-
* @param {Number} nCorrectLevel
|
|
4362
|
-
* @return {Number} type
|
|
4363
|
-
*/
|
|
4364
|
-
function _getTypeNumber(sText, nCorrectLevel) {
|
|
4365
|
-
var nType = 1;
|
|
4366
|
-
var length = _getUTF8Length(sText);
|
|
4367
|
-
for (var i = 0, len = QRCodeLimitLength.length; i <= len; i++) {
|
|
4368
|
-
var nLimit = 0;
|
|
4369
|
-
switch (nCorrectLevel) {
|
|
4370
|
-
case QRErrorCorrectLevel.L:
|
|
4371
|
-
nLimit = QRCodeLimitLength[i][0];
|
|
4372
|
-
break;
|
|
4373
|
-
case QRErrorCorrectLevel.M:
|
|
4374
|
-
nLimit = QRCodeLimitLength[i][1];
|
|
4375
|
-
break;
|
|
4376
|
-
case QRErrorCorrectLevel.Q:
|
|
4377
|
-
nLimit = QRCodeLimitLength[i][2];
|
|
4378
|
-
break;
|
|
4379
|
-
case QRErrorCorrectLevel.H:
|
|
4380
|
-
nLimit = QRCodeLimitLength[i][3];
|
|
4381
|
-
break;
|
|
4382
|
-
}
|
|
4383
|
-
if (length <= nLimit) {
|
|
4384
|
-
break;
|
|
4385
|
-
} else {
|
|
4386
|
-
nType++;
|
|
4387
|
-
}
|
|
4388
|
-
}
|
|
4389
|
-
if (nType > QRCodeLimitLength.length) {
|
|
4390
|
-
throw new Error("Too long data");
|
|
4391
|
-
}
|
|
4392
|
-
return nType;
|
|
4393
|
-
}
|
|
4394
|
-
function _getUTF8Length(sText) {
|
|
4395
|
-
var replacedText = encodeURI(sText).toString().replace(/\%[0-9a-fA-F]{2}/g, 'a');
|
|
4396
|
-
return replacedText.length + (replacedText.length != sText ? 3 : 0);
|
|
4397
|
-
}
|
|
4398
|
-
|
|
4399
|
-
/**
|
|
4400
|
-
* @class QRCode
|
|
4401
|
-
* @constructor
|
|
4402
|
-
* @example
|
|
4403
|
-
* new QRCode(document.getElementById("test"), "http://jindo.dev.naver.com/collie");
|
|
4404
|
-
*
|
|
4405
|
-
* @example
|
|
4406
|
-
* var oQRCode = new QRCode("test", {
|
|
4407
|
-
* text : "http://naver.com",
|
|
4408
|
-
* width : 128,
|
|
4409
|
-
* height : 128
|
|
4410
|
-
* });
|
|
4411
|
-
*
|
|
4412
|
-
* oQRCode.clear(); // Clear the QRCode.
|
|
4413
|
-
* oQRCode.makeCode("http://map.naver.com"); // Re-create the QRCode.
|
|
4414
|
-
*
|
|
4415
|
-
* @param {HTMLElement|String} el target element or 'id' attribute of element.
|
|
4416
|
-
* @param {Object|String} vOption
|
|
4417
|
-
* @param {String} vOption.text QRCode link data
|
|
4418
|
-
* @param {Number} [vOption.width=256]
|
|
4419
|
-
* @param {Number} [vOption.height=256]
|
|
4420
|
-
* @param {String} [vOption.colorDark="#000000"]
|
|
4421
|
-
* @param {String} [vOption.colorLight="#ffffff"]
|
|
4422
|
-
* @param {QRCode.CorrectLevel} [vOption.correctLevel=QRCode.CorrectLevel.H] [L|M|Q|H]
|
|
4423
|
-
*/
|
|
4424
|
-
QRCode = function QRCode(el, vOption) {
|
|
4425
|
-
this._htOption = {
|
|
4426
|
-
width: 256,
|
|
4427
|
-
height: 256,
|
|
4428
|
-
typeNumber: 4,
|
|
4429
|
-
colorDark: "#000000",
|
|
4430
|
-
colorLight: "#ffffff",
|
|
4431
|
-
correctLevel: QRErrorCorrectLevel.H
|
|
4432
|
-
};
|
|
4433
|
-
if (typeof vOption === 'string') {
|
|
4434
|
-
vOption = {
|
|
4435
|
-
text: vOption
|
|
4436
|
-
};
|
|
4437
|
-
}
|
|
4438
|
-
|
|
4439
|
-
// Overwrites options
|
|
4440
|
-
if (vOption) {
|
|
4441
|
-
for (var i in vOption) {
|
|
4442
|
-
this._htOption[i] = vOption[i];
|
|
4443
|
-
}
|
|
4444
|
-
}
|
|
4445
|
-
if (typeof el == "string") {
|
|
4446
|
-
el = document.getElementById(el);
|
|
4447
|
-
}
|
|
4448
|
-
if (this._htOption.useSVG) {
|
|
4449
|
-
Drawing = svgDrawer;
|
|
4450
|
-
}
|
|
4451
|
-
this._android = _getAndroid();
|
|
4452
|
-
this._el = el;
|
|
4453
|
-
this._oQRCode = null;
|
|
4454
|
-
this._oDrawing = new Drawing(this._el, this._htOption);
|
|
4455
|
-
if (this._htOption.text) {
|
|
4456
|
-
this.makeCode(this._htOption.text);
|
|
4457
|
-
}
|
|
4458
|
-
};
|
|
4459
|
-
|
|
4460
|
-
/**
|
|
4461
|
-
* Make the QRCode
|
|
4462
|
-
*
|
|
4463
|
-
* @param {String} sText link data
|
|
4464
|
-
*/
|
|
4465
|
-
QRCode.prototype.makeCode = function (sText) {
|
|
4466
|
-
this._oQRCode = new QRCodeModel(_getTypeNumber(sText, this._htOption.correctLevel), this._htOption.correctLevel);
|
|
4467
|
-
this._oQRCode.addData(sText);
|
|
4468
|
-
this._oQRCode.make();
|
|
4469
|
-
this._el.title = sText;
|
|
4470
|
-
this._oDrawing.draw(this._oQRCode);
|
|
4471
|
-
this.makeImage();
|
|
4472
|
-
};
|
|
4473
|
-
|
|
4474
|
-
/**
|
|
4475
|
-
* Make the Image from Canvas element
|
|
4476
|
-
* - It occurs automatically
|
|
4477
|
-
* - Android below 3 doesn't support Data-URI spec.
|
|
4478
|
-
*
|
|
4479
|
-
* @private
|
|
4480
|
-
*/
|
|
4481
|
-
QRCode.prototype.makeImage = function () {
|
|
4482
|
-
if (typeof this._oDrawing.makeImage == "function" && (!this._android || this._android >= 3)) {
|
|
4483
|
-
this._oDrawing.makeImage();
|
|
4484
|
-
}
|
|
4485
|
-
};
|
|
4486
|
-
|
|
4487
|
-
/**
|
|
4488
|
-
* Clear the QRCode
|
|
4489
|
-
*/
|
|
4490
|
-
QRCode.prototype.clear = function () {
|
|
4491
|
-
this._oDrawing.clear();
|
|
4492
|
-
};
|
|
4493
|
-
|
|
4494
|
-
/**
|
|
4495
|
-
* @name QRCode.CorrectLevel
|
|
4496
|
-
*/
|
|
4497
|
-
QRCode.CorrectLevel = QRErrorCorrectLevel;
|
|
4498
|
-
return QRCode;
|
|
4499
|
-
});
|
|
4500
|
-
|
|
4501
3216
|
/***/ },
|
|
4502
3217
|
|
|
4503
3218
|
/***/ 3110
|
|
@@ -4868,30 +3583,6 @@ __webpack_require__(1481);
|
|
|
4868
3583
|
__webpack_require__(280);
|
|
4869
3584
|
|
|
4870
3585
|
|
|
4871
|
-
/***/ },
|
|
4872
|
-
|
|
4873
|
-
/***/ 3367
|
|
4874
|
-
(module, __webpack_exports__, __webpack_require__) {
|
|
4875
|
-
|
|
4876
|
-
"use strict";
|
|
4877
|
-
__webpack_require__.r(__webpack_exports__);
|
|
4878
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4879
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
4880
|
-
/* harmony export */ });
|
|
4881
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
4882
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
4883
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
4884
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
4885
|
-
// Imports
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
4889
|
-
// Module
|
|
4890
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.icve-sso-login-bg{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .3s ease-out}.icve-sso-login-bg .el-input-group__prepend{background-color:#fff!important}.icve-sso-login-bg .primary{background-color:#004b90!important;border-color:#004b90!important}.icve-sso-login-bg .icve-sso-mobileShow-top ul{display:flex;margin-bottom:20px}.icve-sso-login-bg .icve-sso-mobileShow-top ul li{cursor:pointer;font-size:20px;font-family:PingFangSC,PingFang SC;font-weight:400;color:#0a132e;padding-bottom:10px;margin-right:30px}.icve-sso-login-bg .icve-sso-mobileShow-top ul .icve-sso-active{color:#004b90;border-bottom:4px solid #004b90}.icve-sso-login-bg .icve-sso-moreUserName-top .icve-sso-test{color:#95a1bc}.icve-sso-login-bg .icve-sso-moreUserName-top ul{margin-top:10px}.icve-sso-login-bg .icve-sso-moreUserName-top ul li{padding:10px 20px;display:flex;align-items:center;justify-content:space-between;width:460px;height:80px;background:#fff;border-radius:4px;border:1px solid #d6d9e4;margin-bottom:20px}.icve-sso-login-bg .icve-sso-moreUserName-top ul li .icve-sso-lee .icve-sso-tp{cursor:pointer;font-size:20px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#333;margin-bottom:10px}.icve-sso-login-bg .icve-sso-moreUserName-top ul li .icve-sso-lee .icve-sso-b{font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#95a1bc}.icve-sso-login-bg .icve-sso-moreUserName{height:400px;overflow-y:auto}.icve-sso-login-bg .icve-sso-moreUserName .icve-sso-test{color:#95a1bc}.icve-sso-login-bg .icve-sso-moreUserName ul{margin-top:10px}.icve-sso-login-bg .icve-sso-moreUserName ul li{padding:10px 20px;display:flex;align-items:center;justify-content:space-between;width:430px;height:80px;background:#fff;border-radius:4px;border:1px solid #d6d9e4;margin-bottom:20px}.icve-sso-login-bg .icve-sso-moreUserName ul li .icve-sso-lee .icve-sso-tp{cursor:pointer;font-size:20px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#333;margin-bottom:10px}.icve-sso-login-bg .icve-sso-moreUserName ul li .icve-sso-lee .icve-sso-b{font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#95a1bc}.icve-sso-login-bg .icve-sso-hr11{color:#a2a9b6;border:0;font-size:14px;padding:1em 0;position:relative}.icve-sso-login-bg .icve-sso-hr11:before{content:attr(data-content);position:absolute;padding:0 10px;line-height:1px;border:solid #d0d0d5;border-width:0 99vw;width:-moz-fit-content;width:fit-content;white-space:nowrap;left:50%;transform:translateX(-50%)}.icve-sso-login-bg #Prefix{width:460px}.icve-sso-login-bg #Prefix .fff{display:flex}.icve-sso-login-bg .zhjsy{display:flex;justify-content:center;margin-right:80px;cursor:pointer}.icve-sso-login-bg #ghduhfue{position:absolute;cursor:pointer;z-index:999;left:46px;top:7px;font-size:18px;color:#333}.icve-sso-login-bg .sjbdVerify{position:fixed;left:2%;top:103%;z-index:9999}.icve-sso-login-bg #code{position:absolute;left:10px;top:10px;z-index:2}.icve-sso-login-bg #djs{position:absolute;cursor:pointer;z-index:2;top:6px;right:10px;font-size:20px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#004b90}.icve-sso-login-bg .icve-sso-tabs{text-align:left;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#0a132e;position:relative}.icve-sso-login-bg .icve-sso-tabs .icve-sso-qiehuan{cursor:pointer;position:absolute;right:0;bottom:0}.icve-sso-login-bg .icve-sso-tabs .icve-sso-qiehuan img{width:36px}.icve-sso-login-bg .icve-sso-tabs span{cursor:pointer;display:inline-block;padding-bottom:10px;margin-right:20px}.icve-sso-login-bg .icve-sso-tabs .icve-sso-xian1{width:100%;height:1px;background:#d6d9e4}.icve-sso-login-bg .icve-sso-spanActive{color:#004b90;border-bottom:4px solid #004b90;transition:width 1s linear 0s}.icve-sso-login-bg .custom-dialog-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .3s ease-out}.icve-sso-login-bg .custom-dialog{background:#fff;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,.15);width:600px;max-width:90vw;max-height:90vh;overflow:hidden;animation:slideIn .3s ease-out;display:flex;flex-direction:column}.icve-sso-login-bg .icve-sso-test1{width:400px}.icve-sso-login-bg .custom-dialog-header{padding:20px 20px 10px;border-bottom:1px solid #ebeef5}.icve-sso-login-bg .custom-dialog-header .custom-dialog-title{margin:0;font-size:20px;font-weight:700;color:#333;line-height:1.4}.icve-sso-login-bg .custom-dialog-body{flex:1;padding:20px;overflow-y:auto;font-size:14px;color:#606266;line-height:1.6}.icve-sso-login-bg .custom-dialog-footer{padding:10px 20px 20px;text-align:center;border-top:1px solid #ebeef5}.icve-sso-login-bg .custom-dialog-footer .custom-primary-button{background-color:#004b90;border-color:#004b90;color:#fff;padding:10px 25px;font-size:14px;border-radius:4px;border:1px solid transparent;cursor:pointer;margin-left:10px;transition:all .3s}.icve-sso-login-bg .custom-dialog-footer .custom-plain-button{background-color:#fff;border-color:#dcdfe6;color:#606266;padding:10px 25px;font-size:14px;border-radius:4px;border:1px solid #dcdfe6;cursor:pointer;margin-left:10px;transition:all .3s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes modalSlideIn{0%{opacity:0;transform:translate(-50%,-50%) scale(.9) translateY(20px)}to{opacity:1;transform:translate(-50%,-50%) scale(1) translateY(0)}}@keyframes titleFadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes tabSlideIn{0%{width:0;opacity:0}to{width:100%;opacity:1}}.icve-sso-login-bg .img{display:flex;justify-content:center}.icve-sso-login-bg .el-input__inner{height:48px;line-height:48px;padding-left:45px!important}.icve-sso-login-bg .el-input__prefix{display:flex;align-items:center}.icve-sso-login-bg .el-input__prefix .el-icon{font-size:30px;color:#909399}.icve-sso-login-bg .el-input__suffix{margin-right:10px}.icve-sso-login-bg .el-input__suffix i{font-size:26px}.icve-sso-login-bg .el-scrollbar__wrap{overflow-x:hidden}.icve-sso-login-bg .icve-sso-escrool{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;background:hsla(0,0%,100%,.95);height:662px;border-radius:32px;backdrop-filter:blur(20px) saturate(180%);border:1px solid hsla(0,0%,100%,.2);transition:all .3s cubic-bezier(.4,0,.2,1);animation:modalSlideIn .4s cubic-bezier(.4,0,.2,1)}.icve-sso-login-bg .icve-sso-escrool .icve-sso-footer1{margin-top:20px;padding-bottom:20px}.icve-sso-login-bg .icve-sso-escrool .icve-sso-footer1 .icve-sso-h5,.icve-sso-login-bg .icve-sso-escrool .icve-sso-footer1 .icve-sso-h6{margin-top:10px;text-align:center;font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#95a1bc}.icve-sso-login-bg .icve-sso-escrool .icve-sso-title-wrapper{position:relative;margin-top:20px;margin-bottom:50px;display:flex;align-items:center;justify-content:center}.icve-sso-login-bg .icve-sso-escrool .icve-sso-title{text-align:center;font-size:36px;font-family:PingFangSC,PingFang SC;font-weight:600;color:#0a132e}.icve-sso-login-bg .icve-sso-escrool .icve-sso-close-btn{position:absolute;top:-2px;right:20px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#666}.icve-sso-login-bg .icve-sso-escrool .icve-sso-close-btn:active{transform:scale(.95)}.icve-sso-login-bg .icve-sso-escrool .icve-sso-close-btn svg{transition:transform .2s ease}.icve-sso-login-bg .icve-sso-escrool .icve-sso-close-btn:hover svg{transform:rotate(90deg)}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space{display:flex;justify-content:space-between}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .zhi{cursor:pointer;position:absolute;bottom:120px;left:248px}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-l{width:530px;display:flex;justify-content:center}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-xian{width:1px;height:442px;background:#d6d9e4}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri{position:relative;width:540px;padding:0 40px}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .footer{position:absolute;left:-192px}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .footer .h5,.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .footer .h6{margin-top:20px;text-align:center;font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#95a1bc}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .is-top{font-size:22px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#0a132e}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .is-active{color:#004b90}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .el-tabs__active-bar{min-width:132px!important;height:4px;background:#004b90!important}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm{padding-top:20px}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm .icve-sso-Verify,.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm .icve-sso-Verify1{position:relative}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm .icve-sso-Verify1 .icve-sso-verifybox{top:-230px}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm .icve-sso-Verify2{position:relative}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm .icve-sso-Verify2 .icve-sso-verifybox{top:-314px}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm .icve-sso-clickVerify,.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm .icve-sso-clickVerify1{cursor:pointer;width:100%;height:48px;background:#f5f5f5;border-radius:4px;text-align:center;line-height:48px;font-size:20px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#95a1bc}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm .icve-sso-clickVerify1{position:relative;margin-top:50px}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm .icve-sso-login{cursor:pointer;margin-top:26px;display:flex;align-items:center;justify-content:center;height:48px;background:#004b90;border-radius:4px;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm .enroll{cursor:pointer;margin-top:25px;display:flex;align-items:center;justify-content:center;height:48px;background:#fff;border-radius:4px;border:1px solid #004b90;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#004b90}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-demo-ruleForm .icve-sso-customer{margin-top:40px;display:flex;justify-content:space-between;font-size:18px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#95a1bc;color:#004b90}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-Prefix .icve-sso-mobile_login .el-input__prefix{left:80px}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-Prefix .el-form-item__content{display:flex;position:relative}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-Prefix .el-form-item__content .icve-sso-prefix{position:absolute;cursor:pointer;z-index:999;left:40px;top:9px;font-size:18px;color:#333}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-Code{position:relative}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-Code .icve-sso-code{position:absolute;left:15px;top:8px;z-index:2}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-Code .icve-sso-djs{position:absolute;cursor:pointer;z-index:2;top:8px;right:10px;font-size:20px;font-family:PingFangSC-Regular,PingFang SC;color:#004b90}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-Code1{position:relative;margin-top:130px}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-Code1 .icve-sso-code{position:absolute;left:10px;top:10px;z-index:2}.icve-sso-login-bg .icve-sso-escrool .icve-sso-source_space .icve-sso-ri .icve-sso-Code1 .icve-sso-djs{position:absolute;cursor:pointer;z-index:2;top:5px;right:10px;font-size:20px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#004b90}.icve-sso-login-bg .icve-sso-oneYearBeforeLogin ul{list-style:none;padding:0;margin:0}.icve-sso-login-bg .icve-sso-oneYearBeforeLogin ul li{margin-bottom:16px;transition:all .3s ease}.icve-sso-login-bg .icve-sso-oneYearBeforeLogin ul li:last-child{margin-bottom:0}.icve-sso-login-bg .icve-sso-oneYearBeforeLogin ul li .icve-sso-user-card{display:flex;align-items:center;padding:16px 20px;background:#f8f9fc;border-radius:8px;border:1px solid #e8ebf0;transition:all .3s ease}.icve-sso-login-bg .icve-sso-oneYearBeforeLogin ul li .icve-sso-user-card:hover{background:#f0f4ff;border-color:#004b90;box-shadow:0 2px 8px rgba(0,75,144,.1);transform:translateY(-2px)}.icve-sso-login-bg .icve-sso-oneYearBeforeLogin ul li .icve-sso-user-card .icve-sso-user-avatar{flex-shrink:0;margin-right:16px;display:flex;align-items:center;justify-content:center}.icve-sso-login-bg .icve-sso-oneYearBeforeLogin ul li .icve-sso-user-card .icve-sso-user-info{flex:1;min-width:0}.icve-sso-login-bg .icve-sso-oneYearBeforeLogin ul li .icve-sso-user-card .icve-sso-user-info .icve-sso-user-name{font-size:18px;font-weight:500;color:#0a132e;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icve-sso-login-bg .icve-sso-oneYearBeforeLogin ul li .icve-sso-user-card .icve-sso-user-info .icve-sso-user-time{display:flex;align-items:center;font-size:14px;color:#95a1bc}.icve-sso-login-bg .icve-sso-oneYearBeforeLogin ul li .icve-sso-user-card .icve-sso-user-info .icve-sso-user-time svg{flex-shrink:0;margin-right:6px}.icve-sso-login-bg .icve-sso-oneYearBeforeLogin ul li .icve-sso-user-card .icve-sso-user-info .icve-sso-user-time span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}`, ""]);
|
|
4891
|
-
// Exports
|
|
4892
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
3586
|
/***/ },
|
|
4896
3587
|
|
|
4897
3588
|
/***/ 3389
|
|
@@ -5358,59 +4049,6 @@ $({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEar
|
|
|
5358
4049
|
});
|
|
5359
4050
|
|
|
5360
4051
|
|
|
5361
|
-
/***/ },
|
|
5362
|
-
|
|
5363
|
-
/***/ 3609
|
|
5364
|
-
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
5365
|
-
|
|
5366
|
-
"use strict";
|
|
5367
|
-
|
|
5368
|
-
var $ = __webpack_require__(6518);
|
|
5369
|
-
var toObject = __webpack_require__(8981);
|
|
5370
|
-
var lengthOfArrayLike = __webpack_require__(6198);
|
|
5371
|
-
var setArrayLength = __webpack_require__(4527);
|
|
5372
|
-
var deletePropertyOrThrow = __webpack_require__(4606);
|
|
5373
|
-
var doesNotExceedSafeInteger = __webpack_require__(6837);
|
|
5374
|
-
|
|
5375
|
-
// IE8-
|
|
5376
|
-
var INCORRECT_RESULT = [].unshift(0) !== 1;
|
|
5377
|
-
|
|
5378
|
-
// V8 ~ Chrome < 71 and Safari <= 15.4, FF < 23 throws InternalError
|
|
5379
|
-
var properErrorOnNonWritableLength = function () {
|
|
5380
|
-
try {
|
|
5381
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
5382
|
-
Object.defineProperty([], 'length', { writable: false }).unshift();
|
|
5383
|
-
} catch (error) {
|
|
5384
|
-
return error instanceof TypeError;
|
|
5385
|
-
}
|
|
5386
|
-
};
|
|
5387
|
-
|
|
5388
|
-
var FORCED = INCORRECT_RESULT || !properErrorOnNonWritableLength();
|
|
5389
|
-
|
|
5390
|
-
// `Array.prototype.unshift` method
|
|
5391
|
-
// https://tc39.es/ecma262/#sec-array.prototype.unshift
|
|
5392
|
-
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
5393
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
5394
|
-
unshift: function unshift(item) {
|
|
5395
|
-
var O = toObject(this);
|
|
5396
|
-
var len = lengthOfArrayLike(O);
|
|
5397
|
-
var argCount = arguments.length;
|
|
5398
|
-
if (argCount) {
|
|
5399
|
-
doesNotExceedSafeInteger(len + argCount);
|
|
5400
|
-
var k = len;
|
|
5401
|
-
while (k--) {
|
|
5402
|
-
var to = k + argCount;
|
|
5403
|
-
if (k in O) O[to] = O[k];
|
|
5404
|
-
else deletePropertyOrThrow(O, to);
|
|
5405
|
-
}
|
|
5406
|
-
for (var j = 0; j < argCount; j++) {
|
|
5407
|
-
O[j] = arguments[j];
|
|
5408
|
-
}
|
|
5409
|
-
} return setArrayLength(O, len + argCount);
|
|
5410
|
-
}
|
|
5411
|
-
});
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
4052
|
/***/ },
|
|
5415
4053
|
|
|
5416
4054
|
/***/ 3635
|
|
@@ -5773,53 +4411,6 @@ module.exports = function isCancel(value) {
|
|
|
5773
4411
|
};
|
|
5774
4412
|
|
|
5775
4413
|
|
|
5776
|
-
/***/ },
|
|
5777
|
-
|
|
5778
|
-
/***/ 3903
|
|
5779
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
5780
|
-
|
|
5781
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
5782
|
-
|
|
5783
|
-
// load the styles
|
|
5784
|
-
var content = __webpack_require__(9643);
|
|
5785
|
-
if(content.__esModule) content = content.default;
|
|
5786
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
5787
|
-
if(content.locals) module.exports = content.locals;
|
|
5788
|
-
// add the styles to the DOM
|
|
5789
|
-
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
5790
|
-
var update = add("6679f25b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
5791
|
-
|
|
5792
|
-
/***/ },
|
|
5793
|
-
|
|
5794
|
-
/***/ 3904
|
|
5795
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
5796
|
-
|
|
5797
|
-
"use strict";
|
|
5798
|
-
|
|
5799
|
-
var globalThis = __webpack_require__(4576);
|
|
5800
|
-
var fails = __webpack_require__(9039);
|
|
5801
|
-
var uncurryThis = __webpack_require__(9504);
|
|
5802
|
-
var toString = __webpack_require__(655);
|
|
5803
|
-
var trim = (__webpack_require__(3802).trim);
|
|
5804
|
-
var whitespaces = __webpack_require__(7452);
|
|
5805
|
-
|
|
5806
|
-
var charAt = uncurryThis(''.charAt);
|
|
5807
|
-
var $parseFloat = globalThis.parseFloat;
|
|
5808
|
-
var Symbol = globalThis.Symbol;
|
|
5809
|
-
var ITERATOR = Symbol && Symbol.iterator;
|
|
5810
|
-
var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity
|
|
5811
|
-
// MS Edge 18- broken with boxed symbols
|
|
5812
|
-
|| (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); }));
|
|
5813
|
-
|
|
5814
|
-
// `parseFloat` method
|
|
5815
|
-
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
5816
|
-
module.exports = FORCED ? function parseFloat(string) {
|
|
5817
|
-
var trimmedString = trim(toString(string));
|
|
5818
|
-
var result = $parseFloat(trimmedString);
|
|
5819
|
-
return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;
|
|
5820
|
-
} : $parseFloat;
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
4414
|
/***/ },
|
|
5824
4415
|
|
|
5825
4416
|
/***/ 3925
|
|
@@ -8699,30 +7290,6 @@ module.exports = function (key) {
|
|
|
8699
7290
|
};
|
|
8700
7291
|
|
|
8701
7292
|
|
|
8702
|
-
/***/ },
|
|
8703
|
-
|
|
8704
|
-
/***/ 6179
|
|
8705
|
-
(module, __webpack_exports__, __webpack_require__) {
|
|
8706
|
-
|
|
8707
|
-
"use strict";
|
|
8708
|
-
__webpack_require__.r(__webpack_exports__);
|
|
8709
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8710
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
8711
|
-
/* harmony export */ });
|
|
8712
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
8713
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
8714
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
8715
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
8716
|
-
// Imports
|
|
8717
|
-
|
|
8718
|
-
|
|
8719
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
8720
|
-
// Module
|
|
8721
|
-
___CSS_LOADER_EXPORT___.push([module.id, `[data-v-088b4acc] .el-select__wrapper{min-height:48px;line-height:48px}.mproveInformation[data-v-088b4acc]{margin-top:20px}[data-v-088b4acc] .el-select-dropdown__item.selected{color:#004b90!important}[data-v-088b4acc] .el-select-dropdown__item:hover{background-color:#f5f7fa;color:#004b90}[data-v-088b4acc] .el-select-dropdown__item.hover{background-color:#f5f7fa;color:#004b90}.line-item[data-v-088b4acc]{display:flex}.line-item .input-displayName[data-v-088b4acc]{flex:1}.line-item .input-employeeNumber[data-v-088b4acc]{margin-left:20px;width:250px}.el-input--medium .el-input__inner[data-v-088b4acc]{height:48px;line-height:48px;font-size:14px}.input-radio[data-v-088b4acc]{display:flex;margin-bottom:40px}.input-radio .input-type[data-v-088b4acc]{font-size:18px;color:#0a132e;margin-bottom:20px;width:120px}.input-radio .input-type[data-v-088b4acc]:before{content:"* ";color:red}.input-radio .input-en[data-v-088b4acc]{width:240px}.input-radio .el-form-item[data-v-088b4acc]{margin-bottom:0}.input-radio .el-radio-group[data-v-088b4acc]{display:flex;flex-wrap:wrap;gap:10px 10px}.input-radio .el-radio-group[data-v-088b4acc] .el-radio{margin-right:0;margin-bottom:0;white-space:nowrap}.input-radio .el-radio-group[data-v-088b4acc] .el-radio .el-radio__label{font-size:16px;color:#333;padding-left:10px}.input-radio .el-radio-group[data-v-088b4acc] .el-radio .el-radio__input .el-radio__inner{width:18px;height:18px;border:2px solid #dcdfe6}.input-radio .el-radio-group[data-v-088b4acc] .el-radio .el-radio__input .el-radio__inner:hover{border-color:#004b90}.input-radio .el-radio-group[data-v-088b4acc] .el-radio .el-radio__input .el-radio__inner:after{width:8px;height:8px;background-color:#004b90}.input-radio .el-radio-group[data-v-088b4acc] .el-radio .el-radio__input.is-checked .el-radio__inner{border-color:#004b90;background-color:#004b90}.input-radio .el-radio-group[data-v-088b4acc] .el-radio .el-radio__input.is-checked .el-radio__inner:after{background-color:#fff}.input-radio .el-radio-group[data-v-088b4acc] .el-radio .el-radio__input.is-checked+.el-radio__label{color:#004b90;font-weight:500}.input-radio .el-radio-group[data-v-088b4acc] .el-radio:hover .el-radio__input .el-radio__inner{border-color:#004b90}.input-radio .el-radio-group[data-v-088b4acc] .el-radio:hover .el-radio__label{color:#004b90}.input-field[data-v-088b4acc]{position:relative;margin-bottom:50px}.input-field label[data-v-088b4acc]{position:absolute;top:50%;left:15px;transform:translateY(-50%);font-size:14px;color:#999;pointer-events:none;transition:all .3s ease;padding:0 5px;z-index:1}.input-field label.active[data-v-088b4acc]{top:-18px;left:0;font-size:18px;color:#0a132e}.input-field label.active[data-v-088b4acc]:before{content:"* ";color:red}.input-field[data-v-088b4acc] .el-form-item{margin-bottom:0}.input-field[data-v-088b4acc] .el-input__inner,.input-field[data-v-088b4acc] .el-select{font-size:14px}.input-field[data-v-088b4acc] .el-form-item__content{position:relative}.input-field[data-v-088b4acc] .el-form-item.is-error .el-input__inner{border-color:#f56c6c}.input-field[data-v-088b4acc] .el-input__inner{padding-left:15px}.input-field[data-v-088b4acc] .el-select .el-input__inner{padding-left:15px}[data-v-088b4acc] .input-field .el-select .el-input.is-focus .el-input__inner{border-color:#004b90}[data-v-088b4acc] .input-field .el-select:hover .el-input__inner{border-color:#004b90}[data-v-088b4acc] .input-field .el-select .el-input__suffix .el-select__caret{color:#004b90}[data-v-088b4acc] .input-field .el-select .el-input.is-focus .el-select__caret{color:#004b90}.button[data-v-088b4acc]{background-color:#004b90;color:#fff;padding:12px 24px;border-radius:4px;font-size:16px;cursor:pointer;text-align:center;transition:background-color .3s ease}.button[data-v-088b4acc]:hover{background-color:#003a73}.input-field .el-form-item.is-error label[data-v-088b4acc]{color:#f56c6c}`, ""]);
|
|
8722
|
-
// Exports
|
|
8723
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
7293
|
/***/ },
|
|
8727
7294
|
|
|
8728
7295
|
/***/ 6193
|
|
@@ -8767,46 +7334,6 @@ module.exports = function (obj) {
|
|
|
8767
7334
|
};
|
|
8768
7335
|
|
|
8769
7336
|
|
|
8770
|
-
/***/ },
|
|
8771
|
-
|
|
8772
|
-
/***/ 6242
|
|
8773
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
8774
|
-
|
|
8775
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
8776
|
-
|
|
8777
|
-
// load the styles
|
|
8778
|
-
var content = __webpack_require__(7230);
|
|
8779
|
-
if(content.__esModule) content = content.default;
|
|
8780
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
8781
|
-
if(content.locals) module.exports = content.locals;
|
|
8782
|
-
// add the styles to the DOM
|
|
8783
|
-
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
8784
|
-
var update = add("7d9ca8e6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
8785
|
-
|
|
8786
|
-
/***/ },
|
|
8787
|
-
|
|
8788
|
-
/***/ 6246
|
|
8789
|
-
(module, __webpack_exports__, __webpack_require__) {
|
|
8790
|
-
|
|
8791
|
-
"use strict";
|
|
8792
|
-
__webpack_require__.r(__webpack_exports__);
|
|
8793
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8794
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
8795
|
-
/* harmony export */ });
|
|
8796
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
8797
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
8798
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
8799
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
8800
|
-
// Imports
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
8804
|
-
// Module
|
|
8805
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.mobile[data-v-3371c604]{width:100%;height:100%;background-size:cover;background-position:0 100%}.mobile .top[data-v-3371c604]{padding-top:40px;margin-left:60px}.mobile .test .ti[data-v-3371c604]{font-size:20px}.mobile .test ul[data-v-3371c604]{margin-top:20px;display:flex;flex-wrap:wrap}.mobile .test ul li[data-v-3371c604]{cursor:pointer;display:flex;justify-content:space-between;padding:12px;width:100%;background:#fff;border-radius:4px;border:1px solid #d6d9e4;margin:0 15px 10px 0}.mobile .test ul li .le[data-v-3371c604]{display:flex;flex-direction:column;font-weight:500;font-size:18px;color:#333}.mobile .test ul li .le .name[data-v-3371c604]{margin-bottom:10px}.mobile .test ul li .ri[data-v-3371c604]{display:flex;align-items:end;font-weight:400;font-size:16px;color:#999}.mobile .main[data-v-3371c604]{position:relative;padding:60px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:600px;height:876px;background:#fff;border-radius:10px;backdrop-filter:blur(5px)}.mobile .main .header_title[data-v-3371c604]{text-align:center;font-weight:600;font-size:36px;color:#0a132e}.mobile .main .phone_form[data-v-3371c604]{margin-top:60px}.mobile .main .phone_form .phone[data-v-3371c604]{position:relative;margin-bottom:30px}.mobile .main .phone_form .phone #ghduhfue[data-v-3371c604]{position:absolute;left:32px;top:50%;transform:translateY(-50%);z-index:1;font-size:20px;color:#333;cursor:pointer}.mobile .main .phone_form .Code[data-v-3371c604]{width:100%;position:relative}.mobile .main .phone_form .Code #code[data-v-3371c604]{position:absolute;top:50%;left:15px;transform:translateY(-50%);z-index:999}.mobile .main .phone_form .Code #djs[data-v-3371c604]{cursor:pointer;position:absolute;top:50%;transform:translateY(-50%);right:20px;font-size:20px;color:#004b90}.mobile .main .phone_form[data-v-3371c604] .el-input__inner{height:48px;line-height:48px}.mobile .main .phone_form[data-v-3371c604] .el-input__suffix{margin-right:10px}.mobile .main .phone_form[data-v-3371c604] .el-input__prefix i{font-size:28px;line-height:47px}.mobile .main .footer[data-v-3371c604]{position:absolute;bottom:60px;left:60px;text-align:center}.mobile .main .footer .custom-primary-button[data-v-3371c604]{background-color:#004b90;border-color:#004b90;color:#fff;padding:10px 25px;font-size:14px;border-radius:4px;border:1px solid transparent;cursor:pointer;margin:0 5px;transition:all .3s}.mobile .main .footer .custom-plain-button[data-v-3371c604]{background-color:#fff;border-color:#dcdfe6;color:#606266;padding:10px 25px;font-size:14px;border-radius:4px;border:1px solid #dcdfe6;cursor:pointer;margin:0 5px;transition:all .3s}.mobile .sjbdVerify[data-v-3371c604] .mask{display:block!important}.mobile .sjbdVerify[data-v-3371c604] .verifybox{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.mobile.dialog-mode[data-v-3371c604],.mobile.dialog-mode .main[data-v-3371c604]{width:100%;height:auto;background:none}.mobile.dialog-mode .main[data-v-3371c604]{position:static;transform:none;left:auto;top:auto;border-radius:0;backdrop-filter:none;padding:10px;max-width:500px;margin:0 auto}.mobile.dialog-mode .main .header_title[data-v-3371c604]{display:none}.mobile.dialog-mode .main .phone_form[data-v-3371c604]{margin-top:20px}.mobile.dialog-mode .main .phone_form .test .ti[data-v-3371c604]{font-size:16px}.mobile.dialog-mode .main .phone_form .test ul li[data-v-3371c604]{width:100%;margin:0 0 10px 0}.mobile.dialog-mode .main .footer[data-v-3371c604]{position:static;bottom:auto;left:auto;margin-top:30px;text-align:center}.mobile.dialog-mode .main .footer .custom-plain-button[data-v-3371c604],.mobile.dialog-mode .main .footer .custom-primary-button[data-v-3371c604]{width:auto;margin:0 5px}`, ""]);
|
|
8806
|
-
// Exports
|
|
8807
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
8808
|
-
|
|
8809
|
-
|
|
8810
7337
|
/***/ },
|
|
8811
7338
|
|
|
8812
7339
|
/***/ 6249
|
|
@@ -8919,98 +7446,6 @@ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
|
8919
7446
|
});
|
|
8920
7447
|
|
|
8921
7448
|
|
|
8922
|
-
/***/ },
|
|
8923
|
-
|
|
8924
|
-
/***/ 6314
|
|
8925
|
-
(module) {
|
|
8926
|
-
|
|
8927
|
-
"use strict";
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
/*
|
|
8931
|
-
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
8932
|
-
Author Tobias Koppers @sokra
|
|
8933
|
-
*/
|
|
8934
|
-
module.exports = function (cssWithMappingToString) {
|
|
8935
|
-
var list = [];
|
|
8936
|
-
|
|
8937
|
-
// return the list of modules as css string
|
|
8938
|
-
list.toString = function toString() {
|
|
8939
|
-
return this.map(function (item) {
|
|
8940
|
-
var content = "";
|
|
8941
|
-
var needLayer = typeof item[5] !== "undefined";
|
|
8942
|
-
if (item[4]) {
|
|
8943
|
-
content += "@supports (".concat(item[4], ") {");
|
|
8944
|
-
}
|
|
8945
|
-
if (item[2]) {
|
|
8946
|
-
content += "@media ".concat(item[2], " {");
|
|
8947
|
-
}
|
|
8948
|
-
if (needLayer) {
|
|
8949
|
-
content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
|
|
8950
|
-
}
|
|
8951
|
-
content += cssWithMappingToString(item);
|
|
8952
|
-
if (needLayer) {
|
|
8953
|
-
content += "}";
|
|
8954
|
-
}
|
|
8955
|
-
if (item[2]) {
|
|
8956
|
-
content += "}";
|
|
8957
|
-
}
|
|
8958
|
-
if (item[4]) {
|
|
8959
|
-
content += "}";
|
|
8960
|
-
}
|
|
8961
|
-
return content;
|
|
8962
|
-
}).join("");
|
|
8963
|
-
};
|
|
8964
|
-
|
|
8965
|
-
// import a list of modules into the list
|
|
8966
|
-
list.i = function i(modules, media, dedupe, supports, layer) {
|
|
8967
|
-
if (typeof modules === "string") {
|
|
8968
|
-
modules = [[null, modules, undefined]];
|
|
8969
|
-
}
|
|
8970
|
-
var alreadyImportedModules = {};
|
|
8971
|
-
if (dedupe) {
|
|
8972
|
-
for (var k = 0; k < this.length; k++) {
|
|
8973
|
-
var id = this[k][0];
|
|
8974
|
-
if (id != null) {
|
|
8975
|
-
alreadyImportedModules[id] = true;
|
|
8976
|
-
}
|
|
8977
|
-
}
|
|
8978
|
-
}
|
|
8979
|
-
for (var _k = 0; _k < modules.length; _k++) {
|
|
8980
|
-
var item = [].concat(modules[_k]);
|
|
8981
|
-
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
8982
|
-
continue;
|
|
8983
|
-
}
|
|
8984
|
-
if (typeof layer !== "undefined") {
|
|
8985
|
-
if (typeof item[5] === "undefined") {
|
|
8986
|
-
item[5] = layer;
|
|
8987
|
-
} else {
|
|
8988
|
-
item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
|
|
8989
|
-
item[5] = layer;
|
|
8990
|
-
}
|
|
8991
|
-
}
|
|
8992
|
-
if (media) {
|
|
8993
|
-
if (!item[2]) {
|
|
8994
|
-
item[2] = media;
|
|
8995
|
-
} else {
|
|
8996
|
-
item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
|
|
8997
|
-
item[2] = media;
|
|
8998
|
-
}
|
|
8999
|
-
}
|
|
9000
|
-
if (supports) {
|
|
9001
|
-
if (!item[4]) {
|
|
9002
|
-
item[4] = "".concat(supports);
|
|
9003
|
-
} else {
|
|
9004
|
-
item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
|
|
9005
|
-
item[4] = supports;
|
|
9006
|
-
}
|
|
9007
|
-
}
|
|
9008
|
-
list.push(item);
|
|
9009
|
-
}
|
|
9010
|
-
};
|
|
9011
|
-
return list;
|
|
9012
|
-
};
|
|
9013
|
-
|
|
9014
7449
|
/***/ },
|
|
9015
7450
|
|
|
9016
7451
|
/***/ 6319
|
|
@@ -10264,30 +8699,6 @@ module.exports = function (it) {
|
|
|
10264
8699
|
};
|
|
10265
8700
|
|
|
10266
8701
|
|
|
10267
|
-
/***/ },
|
|
10268
|
-
|
|
10269
|
-
/***/ 7230
|
|
10270
|
-
(module, __webpack_exports__, __webpack_require__) {
|
|
10271
|
-
|
|
10272
|
-
"use strict";
|
|
10273
|
-
__webpack_require__.r(__webpack_exports__);
|
|
10274
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10275
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
10276
|
-
/* harmony export */ });
|
|
10277
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
10278
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
10279
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
10280
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
10281
|
-
// Imports
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
10285
|
-
// Module
|
|
10286
|
-
___CSS_LOADER_EXPORT___.push([module.id, `[data-v-13fe3570] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#004b90!important;border-color:#004b90!important}[data-v-13fe3570] .el-checkbox__inner:hover{border-color:#004b90!important}.agreement1[data-v-13fe3570]{margin-top:10px;display:flex;flex-wrap:wrap;font-size:18px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#95a1bc}.agreement1 .source_l[data-v-13fe3570]{font-size:17px}.agreement1 .el-checkbox[data-v-13fe3570]{padding-top:-4px}.agreement1 .content[data-v-13fe3570]{width:406px;padding-left:10px}.agreement1 .content .l[data-v-13fe3570]{width:100%;display:flex}.agreement1 .content .r[data-v-13fe3570]{margin-top:10px;width:100%;display:flex;justify-content:end;cursor:pointer;color:#1989fa;font-weight:700;align-items:center}.agreement1 .content .r img[data-v-13fe3570]{width:40px;animation-name:move-13fe3570;animation-duration:1s;animation-iteration-count:infinite;margin-right:10px}.agreement1 .ren[data-v-13fe3570]{margin-top:10px;width:100%;display:flex;justify-content:end;cursor:pointer;color:#1989fa;font-weight:700;align-items:center}.agreement1 .ren img[data-v-13fe3570]{width:40px;animation-name:move-13fe3570;animation-duration:1s;animation-iteration-count:infinite;margin-right:10px}.agreement1 span[data-v-13fe3570]{color:#004b90;cursor:pointer}.icve-sso-agreement[data-v-13fe3570]{margin-top:10px;display:flex;flex-wrap:wrap;font-size:18px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#95a1bc}.icve-sso-agreement .el[data-v-13fe3570]{margin-top:-4px;margin-right:20px}.icve-sso-agreement .content[data-v-13fe3570]{flex:1;display:flex;flex-wrap:wrap;justify-content:space-between}.icve-sso-agreement .content .r[data-v-13fe3570]{margin-top:10px;width:100%;display:flex;justify-content:end;cursor:pointer;color:#1989fa;font-weight:700;align-items:center}.icve-sso-agreement .content .r img[data-v-13fe3570]{width:40px;animation-name:move-13fe3570;animation-duration:1s;animation-iteration-count:infinite;margin-right:10px}.icve-sso-agreement .content1[data-v-13fe3570]{width:406px;padding-left:18px;display:flex;flex-wrap:wrap;justify-content:space-between}.icve-sso-agreement .content1 .r[data-v-13fe3570]{margin-top:10px;width:100%;display:flex;justify-content:end;cursor:pointer;color:#1989fa;font-weight:700;align-items:center}.icve-sso-agreement .content1 .r img[data-v-13fe3570]{width:40px;animation-name:move-13fe3570;animation-duration:1s;animation-iteration-count:infinite;margin-right:10px}.icve-sso-agreement .ren[data-v-13fe3570]{margin-top:10px;width:100%;display:flex;justify-content:end;cursor:pointer;color:#1989fa;font-weight:700;align-items:center}.icve-sso-agreement .ren img[data-v-13fe3570]{width:40px;animation-name:move-13fe3570;animation-duration:1s;animation-iteration-count:infinite;margin-right:10px}@keyframes move-13fe3570{to{transform:translateX(10px)}}.icve-sso-agreement span[data-v-13fe3570]{color:#004b90;cursor:pointer}`, ""]);
|
|
10287
|
-
// Exports
|
|
10288
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
8702
|
/***/ },
|
|
10292
8703
|
|
|
10293
8704
|
/***/ 7254
|
|
@@ -10681,22 +9092,6 @@ module.exports = INCORRECT_TO_STRING ? function toString() {
|
|
|
10681
9092
|
} : nativeErrorToString;
|
|
10682
9093
|
|
|
10683
9094
|
|
|
10684
|
-
/***/ },
|
|
10685
|
-
|
|
10686
|
-
/***/ 7564
|
|
10687
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
10688
|
-
|
|
10689
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
10690
|
-
|
|
10691
|
-
// load the styles
|
|
10692
|
-
var content = __webpack_require__(2120);
|
|
10693
|
-
if(content.__esModule) content = content.default;
|
|
10694
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
10695
|
-
if(content.locals) module.exports = content.locals;
|
|
10696
|
-
// add the styles to the DOM
|
|
10697
|
-
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
10698
|
-
var update = add("152faa5c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
10699
|
-
|
|
10700
9095
|
/***/ },
|
|
10701
9096
|
|
|
10702
9097
|
/***/ 7584
|
|
@@ -10805,22 +9200,6 @@ module.exports = function (CONSTRUCTOR_NAME) {
|
|
|
10805
9200
|
};
|
|
10806
9201
|
|
|
10807
9202
|
|
|
10808
|
-
/***/ },
|
|
10809
|
-
|
|
10810
|
-
/***/ 7639
|
|
10811
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
10812
|
-
|
|
10813
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
10814
|
-
|
|
10815
|
-
// load the styles
|
|
10816
|
-
var content = __webpack_require__(6179);
|
|
10817
|
-
if(content.__esModule) content = content.default;
|
|
10818
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
10819
|
-
if(content.locals) module.exports = content.locals;
|
|
10820
|
-
// add the styles to the DOM
|
|
10821
|
-
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
10822
|
-
var update = add("b0308230", content, true, {"sourceMap":false,"shadowMode":false});
|
|
10823
|
-
|
|
10824
9203
|
/***/ },
|
|
10825
9204
|
|
|
10826
9205
|
/***/ 7642
|
|
@@ -10935,22 +9314,6 @@ var uncurryThis = __webpack_require__(9504);
|
|
|
10935
9314
|
module.exports = uncurryThis([].slice);
|
|
10936
9315
|
|
|
10937
9316
|
|
|
10938
|
-
/***/ },
|
|
10939
|
-
|
|
10940
|
-
/***/ 7690
|
|
10941
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
10942
|
-
|
|
10943
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
10944
|
-
|
|
10945
|
-
// load the styles
|
|
10946
|
-
var content = __webpack_require__(6246);
|
|
10947
|
-
if(content.__esModule) content = content.default;
|
|
10948
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
10949
|
-
if(content.locals) module.exports = content.locals;
|
|
10950
|
-
// add the styles to the DOM
|
|
10951
|
-
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
10952
|
-
var update = add("e4bcf4ec", content, true, {"sourceMap":false,"shadowMode":false});
|
|
10953
|
-
|
|
10954
9317
|
/***/ },
|
|
10955
9318
|
|
|
10956
9319
|
/***/ 7740
|
|
@@ -11826,29 +10189,6 @@ module.exports = function () {
|
|
|
11826
10189
|
};
|
|
11827
10190
|
|
|
11828
10191
|
|
|
11829
|
-
/***/ },
|
|
11830
|
-
|
|
11831
|
-
/***/ 8251
|
|
11832
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
11833
|
-
|
|
11834
|
-
__webpack_require__(2675);
|
|
11835
|
-
__webpack_require__(9463);
|
|
11836
|
-
__webpack_require__(2259);
|
|
11837
|
-
__webpack_require__(3792);
|
|
11838
|
-
__webpack_require__(6099);
|
|
11839
|
-
__webpack_require__(7764);
|
|
11840
|
-
__webpack_require__(2953);
|
|
11841
|
-
function _typeof(o) {
|
|
11842
|
-
"@babel/helpers - typeof";
|
|
11843
|
-
|
|
11844
|
-
return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
11845
|
-
return typeof o;
|
|
11846
|
-
} : function (o) {
|
|
11847
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
11848
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
11849
|
-
}
|
|
11850
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
11851
|
-
|
|
11852
10192
|
/***/ },
|
|
11853
10193
|
|
|
11854
10194
|
/***/ 8265
|
|
@@ -11954,23 +10294,6 @@ $({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {
|
|
|
11954
10294
|
});
|
|
11955
10295
|
|
|
11956
10296
|
|
|
11957
|
-
/***/ },
|
|
11958
|
-
|
|
11959
|
-
/***/ 8459
|
|
11960
|
-
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
11961
|
-
|
|
11962
|
-
"use strict";
|
|
11963
|
-
|
|
11964
|
-
var $ = __webpack_require__(6518);
|
|
11965
|
-
var $parseFloat = __webpack_require__(3904);
|
|
11966
|
-
|
|
11967
|
-
// `parseFloat` method
|
|
11968
|
-
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
11969
|
-
$({ global: true, forced: parseFloat !== $parseFloat }, {
|
|
11970
|
-
parseFloat: $parseFloat
|
|
11971
|
-
});
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
10297
|
/***/ },
|
|
11975
10298
|
|
|
11976
10299
|
/***/ 8469
|
|
@@ -12013,22 +10336,6 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
12013
10336
|
};
|
|
12014
10337
|
|
|
12015
10338
|
|
|
12016
|
-
/***/ },
|
|
12017
|
-
|
|
12018
|
-
/***/ 8494
|
|
12019
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
12020
|
-
|
|
12021
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
12022
|
-
|
|
12023
|
-
// load the styles
|
|
12024
|
-
var content = __webpack_require__(858);
|
|
12025
|
-
if(content.__esModule) content = content.default;
|
|
12026
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
12027
|
-
if(content.locals) module.exports = content.locals;
|
|
12028
|
-
// add the styles to the DOM
|
|
12029
|
-
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
12030
|
-
var update = add("76e00028", content, true, {"sourceMap":false,"shadowMode":false});
|
|
12031
|
-
|
|
12032
10339
|
/***/ },
|
|
12033
10340
|
|
|
12034
10341
|
/***/ 8523
|
|
@@ -12837,6 +11144,638 @@ $({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, {
|
|
|
12837
11144
|
});
|
|
12838
11145
|
|
|
12839
11146
|
|
|
11147
|
+
/***/ },
|
|
11148
|
+
|
|
11149
|
+
/***/ 9118
|
|
11150
|
+
(module) {
|
|
11151
|
+
|
|
11152
|
+
/**
|
|
11153
|
+
* @fileoverview
|
|
11154
|
+
* - Using the 'QRCode for Javascript library'
|
|
11155
|
+
* - Fixed dataset of 'QRCode for Javascript library' for support full-spec.
|
|
11156
|
+
* - this library has no dependencies.
|
|
11157
|
+
*
|
|
11158
|
+
* @author davidshimjs
|
|
11159
|
+
* @see <a href="http://www.d-project.com/" target="_blank">http://www.d-project.com/</a>
|
|
11160
|
+
* @see <a href="http://jeromeetienne.github.com/jquery-qrcode/" target="_blank">http://jeromeetienne.github.com/jquery-qrcode/</a>
|
|
11161
|
+
*/
|
|
11162
|
+
var QRCode;
|
|
11163
|
+
|
|
11164
|
+
(function (root, factory) {
|
|
11165
|
+
|
|
11166
|
+
/* CommonJS */
|
|
11167
|
+
if (true) module.exports = factory()
|
|
11168
|
+
|
|
11169
|
+
/* AMD module */
|
|
11170
|
+
else // removed by dead control flow
|
|
11171
|
+
{}
|
|
11172
|
+
|
|
11173
|
+
}(this, function () { //---------------------------------------------------------------------
|
|
11174
|
+
// QRCode for JavaScript
|
|
11175
|
+
//
|
|
11176
|
+
// Copyright (c) 2009 Kazuhiko Arase
|
|
11177
|
+
//
|
|
11178
|
+
// URL: http://www.d-project.com/
|
|
11179
|
+
//
|
|
11180
|
+
// Licensed under the MIT license:
|
|
11181
|
+
// http://www.opensource.org/licenses/mit-license.php
|
|
11182
|
+
//
|
|
11183
|
+
// The word "QR Code" is registered trademark of
|
|
11184
|
+
// DENSO WAVE INCORPORATED
|
|
11185
|
+
// http://www.denso-wave.com/qrcode/faqpatent-e.html
|
|
11186
|
+
//
|
|
11187
|
+
//---------------------------------------------------------------------
|
|
11188
|
+
function QR8bitByte(data) {
|
|
11189
|
+
this.mode = QRMode.MODE_8BIT_BYTE;
|
|
11190
|
+
this.data = data;
|
|
11191
|
+
this.parsedData = [];
|
|
11192
|
+
|
|
11193
|
+
// Added to support UTF-8 Characters
|
|
11194
|
+
for (var i = 0, l = this.data.length; i < l; i++) {
|
|
11195
|
+
var byteArray = [];
|
|
11196
|
+
var code = this.data.charCodeAt(i);
|
|
11197
|
+
|
|
11198
|
+
if (code > 0x10000) {
|
|
11199
|
+
byteArray[0] = 0xF0 | ((code & 0x1C0000) >>> 18);
|
|
11200
|
+
byteArray[1] = 0x80 | ((code & 0x3F000) >>> 12);
|
|
11201
|
+
byteArray[2] = 0x80 | ((code & 0xFC0) >>> 6);
|
|
11202
|
+
byteArray[3] = 0x80 | (code & 0x3F);
|
|
11203
|
+
} else if (code > 0x800) {
|
|
11204
|
+
byteArray[0] = 0xE0 | ((code & 0xF000) >>> 12);
|
|
11205
|
+
byteArray[1] = 0x80 | ((code & 0xFC0) >>> 6);
|
|
11206
|
+
byteArray[2] = 0x80 | (code & 0x3F);
|
|
11207
|
+
} else if (code > 0x80) {
|
|
11208
|
+
byteArray[0] = 0xC0 | ((code & 0x7C0) >>> 6);
|
|
11209
|
+
byteArray[1] = 0x80 | (code & 0x3F);
|
|
11210
|
+
} else {
|
|
11211
|
+
byteArray[0] = code;
|
|
11212
|
+
}
|
|
11213
|
+
|
|
11214
|
+
this.parsedData.push(byteArray);
|
|
11215
|
+
}
|
|
11216
|
+
|
|
11217
|
+
this.parsedData = Array.prototype.concat.apply([], this.parsedData);
|
|
11218
|
+
|
|
11219
|
+
if (this.parsedData.length != this.data.length) {
|
|
11220
|
+
this.parsedData.unshift(191);
|
|
11221
|
+
this.parsedData.unshift(187);
|
|
11222
|
+
this.parsedData.unshift(239);
|
|
11223
|
+
}
|
|
11224
|
+
}
|
|
11225
|
+
|
|
11226
|
+
QR8bitByte.prototype = {
|
|
11227
|
+
getLength: function (buffer) {
|
|
11228
|
+
return this.parsedData.length;
|
|
11229
|
+
},
|
|
11230
|
+
write: function (buffer) {
|
|
11231
|
+
for (var i = 0, l = this.parsedData.length; i < l; i++) {
|
|
11232
|
+
buffer.put(this.parsedData[i], 8);
|
|
11233
|
+
}
|
|
11234
|
+
}
|
|
11235
|
+
};
|
|
11236
|
+
|
|
11237
|
+
function QRCodeModel(typeNumber, errorCorrectLevel) {
|
|
11238
|
+
this.typeNumber = typeNumber;
|
|
11239
|
+
this.errorCorrectLevel = errorCorrectLevel;
|
|
11240
|
+
this.modules = null;
|
|
11241
|
+
this.moduleCount = 0;
|
|
11242
|
+
this.dataCache = null;
|
|
11243
|
+
this.dataList = [];
|
|
11244
|
+
}
|
|
11245
|
+
|
|
11246
|
+
QRCodeModel.prototype={addData:function(data){var newData=new QR8bitByte(data);this.dataList.push(newData);this.dataCache=null;},isDark:function(row,col){if(row<0||this.moduleCount<=row||col<0||this.moduleCount<=col){throw new Error(row+","+col);}
|
|
11247
|
+
return this.modules[row][col];},getModuleCount:function(){return this.moduleCount;},make:function(){this.makeImpl(false,this.getBestMaskPattern());},makeImpl:function(test,maskPattern){this.moduleCount=this.typeNumber*4+17;this.modules=new Array(this.moduleCount);for(var row=0;row<this.moduleCount;row++){this.modules[row]=new Array(this.moduleCount);for(var col=0;col<this.moduleCount;col++){this.modules[row][col]=null;}}
|
|
11248
|
+
this.setupPositionProbePattern(0,0);this.setupPositionProbePattern(this.moduleCount-7,0);this.setupPositionProbePattern(0,this.moduleCount-7);this.setupPositionAdjustPattern();this.setupTimingPattern();this.setupTypeInfo(test,maskPattern);if(this.typeNumber>=7){this.setupTypeNumber(test);}
|
|
11249
|
+
if(this.dataCache==null){this.dataCache=QRCodeModel.createData(this.typeNumber,this.errorCorrectLevel,this.dataList);}
|
|
11250
|
+
this.mapData(this.dataCache,maskPattern);},setupPositionProbePattern:function(row,col){for(var r=-1;r<=7;r++){if(row+r<=-1||this.moduleCount<=row+r)continue;for(var c=-1;c<=7;c++){if(col+c<=-1||this.moduleCount<=col+c)continue;if((0<=r&&r<=6&&(c==0||c==6))||(0<=c&&c<=6&&(r==0||r==6))||(2<=r&&r<=4&&2<=c&&c<=4)){this.modules[row+r][col+c]=true;}else{this.modules[row+r][col+c]=false;}}}},getBestMaskPattern:function(){var minLostPoint=0;var pattern=0;for(var i=0;i<8;i++){this.makeImpl(true,i);var lostPoint=QRUtil.getLostPoint(this);if(i==0||minLostPoint>lostPoint){minLostPoint=lostPoint;pattern=i;}}
|
|
11251
|
+
return pattern;},createMovieClip:function(target_mc,instance_name,depth){var qr_mc=target_mc.createEmptyMovieClip(instance_name,depth);var cs=1;this.make();for(var row=0;row<this.modules.length;row++){var y=row*cs;for(var col=0;col<this.modules[row].length;col++){var x=col*cs;var dark=this.modules[row][col];if(dark){qr_mc.beginFill(0,100);qr_mc.moveTo(x,y);qr_mc.lineTo(x+cs,y);qr_mc.lineTo(x+cs,y+cs);qr_mc.lineTo(x,y+cs);qr_mc.endFill();}}}
|
|
11252
|
+
return qr_mc;},setupTimingPattern:function(){for(var r=8;r<this.moduleCount-8;r++){if(this.modules[r][6]!=null){continue;}
|
|
11253
|
+
this.modules[r][6]=(r%2==0);}
|
|
11254
|
+
for(var c=8;c<this.moduleCount-8;c++){if(this.modules[6][c]!=null){continue;}
|
|
11255
|
+
this.modules[6][c]=(c%2==0);}},setupPositionAdjustPattern:function(){var pos=QRUtil.getPatternPosition(this.typeNumber);for(var i=0;i<pos.length;i++){for(var j=0;j<pos.length;j++){var row=pos[i];var col=pos[j];if(this.modules[row][col]!=null){continue;}
|
|
11256
|
+
for(var r=-2;r<=2;r++){for(var c=-2;c<=2;c++){if(r==-2||r==2||c==-2||c==2||(r==0&&c==0)){this.modules[row+r][col+c]=true;}else{this.modules[row+r][col+c]=false;}}}}}},setupTypeNumber:function(test){var bits=QRUtil.getBCHTypeNumber(this.typeNumber);for(var i=0;i<18;i++){var mod=(!test&&((bits>>i)&1)==1);this.modules[Math.floor(i/3)][i%3+this.moduleCount-8-3]=mod;}
|
|
11257
|
+
for(var i=0;i<18;i++){var mod=(!test&&((bits>>i)&1)==1);this.modules[i%3+this.moduleCount-8-3][Math.floor(i/3)]=mod;}},setupTypeInfo:function(test,maskPattern){var data=(this.errorCorrectLevel<<3)|maskPattern;var bits=QRUtil.getBCHTypeInfo(data);for(var i=0;i<15;i++){var mod=(!test&&((bits>>i)&1)==1);if(i<6){this.modules[i][8]=mod;}else if(i<8){this.modules[i+1][8]=mod;}else{this.modules[this.moduleCount-15+i][8]=mod;}}
|
|
11258
|
+
for(var i=0;i<15;i++){var mod=(!test&&((bits>>i)&1)==1);if(i<8){this.modules[8][this.moduleCount-i-1]=mod;}else if(i<9){this.modules[8][15-i-1+1]=mod;}else{this.modules[8][15-i-1]=mod;}}
|
|
11259
|
+
this.modules[this.moduleCount-8][8]=(!test);},mapData:function(data,maskPattern){var inc=-1;var row=this.moduleCount-1;var bitIndex=7;var byteIndex=0;for(var col=this.moduleCount-1;col>0;col-=2){if(col==6)col--;while(true){for(var c=0;c<2;c++){if(this.modules[row][col-c]==null){var dark=false;if(byteIndex<data.length){dark=(((data[byteIndex]>>>bitIndex)&1)==1);}
|
|
11260
|
+
var mask=QRUtil.getMask(maskPattern,row,col-c);if(mask){dark=!dark;}
|
|
11261
|
+
this.modules[row][col-c]=dark;bitIndex--;if(bitIndex==-1){byteIndex++;bitIndex=7;}}}
|
|
11262
|
+
row+=inc;if(row<0||this.moduleCount<=row){row-=inc;inc=-inc;break;}}}}};QRCodeModel.PAD0=0xEC;QRCodeModel.PAD1=0x11;QRCodeModel.createData=function(typeNumber,errorCorrectLevel,dataList){var rsBlocks=QRRSBlock.getRSBlocks(typeNumber,errorCorrectLevel);var buffer=new QRBitBuffer();for(var i=0;i<dataList.length;i++){var data=dataList[i];buffer.put(data.mode,4);buffer.put(data.getLength(),QRUtil.getLengthInBits(data.mode,typeNumber));data.write(buffer);}
|
|
11263
|
+
var totalDataCount=0;for(var i=0;i<rsBlocks.length;i++){totalDataCount+=rsBlocks[i].dataCount;}
|
|
11264
|
+
if(buffer.getLengthInBits()>totalDataCount*8){throw new Error("code length overflow. ("
|
|
11265
|
+
+buffer.getLengthInBits()
|
|
11266
|
+
+">"
|
|
11267
|
+
+totalDataCount*8
|
|
11268
|
+
+")");}
|
|
11269
|
+
if(buffer.getLengthInBits()+4<=totalDataCount*8){buffer.put(0,4);}
|
|
11270
|
+
while(buffer.getLengthInBits()%8!=0){buffer.putBit(false);}
|
|
11271
|
+
while(true){if(buffer.getLengthInBits()>=totalDataCount*8){break;}
|
|
11272
|
+
buffer.put(QRCodeModel.PAD0,8);if(buffer.getLengthInBits()>=totalDataCount*8){break;}
|
|
11273
|
+
buffer.put(QRCodeModel.PAD1,8);}
|
|
11274
|
+
return QRCodeModel.createBytes(buffer,rsBlocks);};QRCodeModel.createBytes=function(buffer,rsBlocks){var offset=0;var maxDcCount=0;var maxEcCount=0;var dcdata=new Array(rsBlocks.length);var ecdata=new Array(rsBlocks.length);for(var r=0;r<rsBlocks.length;r++){var dcCount=rsBlocks[r].dataCount;var ecCount=rsBlocks[r].totalCount-dcCount;maxDcCount=Math.max(maxDcCount,dcCount);maxEcCount=Math.max(maxEcCount,ecCount);dcdata[r]=new Array(dcCount);for(var i=0;i<dcdata[r].length;i++){dcdata[r][i]=0xff&buffer.buffer[i+offset];}
|
|
11275
|
+
offset+=dcCount;var rsPoly=QRUtil.getErrorCorrectPolynomial(ecCount);var rawPoly=new QRPolynomial(dcdata[r],rsPoly.getLength()-1);var modPoly=rawPoly.mod(rsPoly);ecdata[r]=new Array(rsPoly.getLength()-1);for(var i=0;i<ecdata[r].length;i++){var modIndex=i+modPoly.getLength()-ecdata[r].length;ecdata[r][i]=(modIndex>=0)?modPoly.get(modIndex):0;}}
|
|
11276
|
+
var totalCodeCount=0;for(var i=0;i<rsBlocks.length;i++){totalCodeCount+=rsBlocks[i].totalCount;}
|
|
11277
|
+
var data=new Array(totalCodeCount);var index=0;for(var i=0;i<maxDcCount;i++){for(var r=0;r<rsBlocks.length;r++){if(i<dcdata[r].length){data[index++]=dcdata[r][i];}}}
|
|
11278
|
+
for(var i=0;i<maxEcCount;i++){for(var r=0;r<rsBlocks.length;r++){if(i<ecdata[r].length){data[index++]=ecdata[r][i];}}}
|
|
11279
|
+
return data;};var QRMode={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3};var QRErrorCorrectLevel={L:1,M:0,Q:3,H:2};var QRMaskPattern={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var QRUtil={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:(1<<10)|(1<<8)|(1<<5)|(1<<4)|(1<<2)|(1<<1)|(1<<0),G18:(1<<12)|(1<<11)|(1<<10)|(1<<9)|(1<<8)|(1<<5)|(1<<2)|(1<<0),G15_MASK:(1<<14)|(1<<12)|(1<<10)|(1<<4)|(1<<1),getBCHTypeInfo:function(data){var d=data<<10;while(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G15)>=0){d^=(QRUtil.G15<<(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G15)));}
|
|
11280
|
+
return((data<<10)|d)^QRUtil.G15_MASK;},getBCHTypeNumber:function(data){var d=data<<12;while(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G18)>=0){d^=(QRUtil.G18<<(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G18)));}
|
|
11281
|
+
return(data<<12)|d;},getBCHDigit:function(data){var digit=0;while(data!=0){digit++;data>>>=1;}
|
|
11282
|
+
return digit;},getPatternPosition:function(typeNumber){return QRUtil.PATTERN_POSITION_TABLE[typeNumber-1];},getMask:function(maskPattern,i,j){switch(maskPattern){case QRMaskPattern.PATTERN000:return(i+j)%2==0;case QRMaskPattern.PATTERN001:return i%2==0;case QRMaskPattern.PATTERN010:return j%3==0;case QRMaskPattern.PATTERN011:return(i+j)%3==0;case QRMaskPattern.PATTERN100:return(Math.floor(i/2)+Math.floor(j/3))%2==0;case QRMaskPattern.PATTERN101:return(i*j)%2+(i*j)%3==0;case QRMaskPattern.PATTERN110:return((i*j)%2+(i*j)%3)%2==0;case QRMaskPattern.PATTERN111:return((i*j)%3+(i+j)%2)%2==0;default:throw new Error("bad maskPattern:"+maskPattern);}},getErrorCorrectPolynomial:function(errorCorrectLength){var a=new QRPolynomial([1],0);for(var i=0;i<errorCorrectLength;i++){a=a.multiply(new QRPolynomial([1,QRMath.gexp(i)],0));}
|
|
11283
|
+
return a;},getLengthInBits:function(mode,type){if(1<=type&&type<10){switch(mode){case QRMode.MODE_NUMBER:return 10;case QRMode.MODE_ALPHA_NUM:return 9;case QRMode.MODE_8BIT_BYTE:return 8;case QRMode.MODE_KANJI:return 8;default:throw new Error("mode:"+mode);}}else if(type<27){switch(mode){case QRMode.MODE_NUMBER:return 12;case QRMode.MODE_ALPHA_NUM:return 11;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 10;default:throw new Error("mode:"+mode);}}else if(type<41){switch(mode){case QRMode.MODE_NUMBER:return 14;case QRMode.MODE_ALPHA_NUM:return 13;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 12;default:throw new Error("mode:"+mode);}}else{throw new Error("type:"+type);}},getLostPoint:function(qrCode){var moduleCount=qrCode.getModuleCount();var lostPoint=0;for(var row=0;row<moduleCount;row++){for(var col=0;col<moduleCount;col++){var sameCount=0;var dark=qrCode.isDark(row,col);for(var r=-1;r<=1;r++){if(row+r<0||moduleCount<=row+r){continue;}
|
|
11284
|
+
for(var c=-1;c<=1;c++){if(col+c<0||moduleCount<=col+c){continue;}
|
|
11285
|
+
if(r==0&&c==0){continue;}
|
|
11286
|
+
if(dark==qrCode.isDark(row+r,col+c)){sameCount++;}}}
|
|
11287
|
+
if(sameCount>5){lostPoint+=(3+sameCount-5);}}}
|
|
11288
|
+
for(var row=0;row<moduleCount-1;row++){for(var col=0;col<moduleCount-1;col++){var count=0;if(qrCode.isDark(row,col))count++;if(qrCode.isDark(row+1,col))count++;if(qrCode.isDark(row,col+1))count++;if(qrCode.isDark(row+1,col+1))count++;if(count==0||count==4){lostPoint+=3;}}}
|
|
11289
|
+
for(var row=0;row<moduleCount;row++){for(var col=0;col<moduleCount-6;col++){if(qrCode.isDark(row,col)&&!qrCode.isDark(row,col+1)&&qrCode.isDark(row,col+2)&&qrCode.isDark(row,col+3)&&qrCode.isDark(row,col+4)&&!qrCode.isDark(row,col+5)&&qrCode.isDark(row,col+6)){lostPoint+=40;}}}
|
|
11290
|
+
for(var col=0;col<moduleCount;col++){for(var row=0;row<moduleCount-6;row++){if(qrCode.isDark(row,col)&&!qrCode.isDark(row+1,col)&&qrCode.isDark(row+2,col)&&qrCode.isDark(row+3,col)&&qrCode.isDark(row+4,col)&&!qrCode.isDark(row+5,col)&&qrCode.isDark(row+6,col)){lostPoint+=40;}}}
|
|
11291
|
+
var darkCount=0;for(var col=0;col<moduleCount;col++){for(var row=0;row<moduleCount;row++){if(qrCode.isDark(row,col)){darkCount++;}}}
|
|
11292
|
+
var ratio=Math.abs(100*darkCount/moduleCount/moduleCount-50)/5;lostPoint+=ratio*10;return lostPoint;}};var QRMath={glog:function(n){if(n<1){throw new Error("glog("+n+")");}
|
|
11293
|
+
return QRMath.LOG_TABLE[n];},gexp:function(n){while(n<0){n+=255;}
|
|
11294
|
+
while(n>=256){n-=255;}
|
|
11295
|
+
return QRMath.EXP_TABLE[n];},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(var i=0;i<8;i++){QRMath.EXP_TABLE[i]=1<<i;}
|
|
11296
|
+
for(var i=8;i<256;i++){QRMath.EXP_TABLE[i]=QRMath.EXP_TABLE[i-4]^QRMath.EXP_TABLE[i-5]^QRMath.EXP_TABLE[i-6]^QRMath.EXP_TABLE[i-8];}
|
|
11297
|
+
for(var i=0;i<255;i++){QRMath.LOG_TABLE[QRMath.EXP_TABLE[i]]=i;}
|
|
11298
|
+
function QRPolynomial(num,shift){if(num.length==undefined){throw new Error(num.length+"/"+shift);}
|
|
11299
|
+
var offset=0;while(offset<num.length&&num[offset]==0){offset++;}
|
|
11300
|
+
this.num=new Array(num.length-offset+shift);for(var i=0;i<num.length-offset;i++){this.num[i]=num[i+offset];}}
|
|
11301
|
+
QRPolynomial.prototype={get:function(index){return this.num[index];},getLength:function(){return this.num.length;},multiply:function(e){var num=new Array(this.getLength()+e.getLength()-1);for(var i=0;i<this.getLength();i++){for(var j=0;j<e.getLength();j++){num[i+j]^=QRMath.gexp(QRMath.glog(this.get(i))+QRMath.glog(e.get(j)));}}
|
|
11302
|
+
return new QRPolynomial(num,0);},mod:function(e){if(this.getLength()-e.getLength()<0){return this;}
|
|
11303
|
+
var ratio=QRMath.glog(this.get(0))-QRMath.glog(e.get(0));var num=new Array(this.getLength());for(var i=0;i<this.getLength();i++){num[i]=this.get(i);}
|
|
11304
|
+
for(var i=0;i<e.getLength();i++){num[i]^=QRMath.gexp(QRMath.glog(e.get(i))+ratio);}
|
|
11305
|
+
return new QRPolynomial(num,0).mod(e);}};function QRRSBlock(totalCount,dataCount){this.totalCount=totalCount;this.dataCount=dataCount;}
|
|
11306
|
+
QRRSBlock.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];QRRSBlock.getRSBlocks=function(typeNumber,errorCorrectLevel){var rsBlock=QRRSBlock.getRsBlockTable(typeNumber,errorCorrectLevel);if(rsBlock==undefined){throw new Error("bad rs block @ typeNumber:"+typeNumber+"/errorCorrectLevel:"+errorCorrectLevel);}
|
|
11307
|
+
var length=rsBlock.length/3;var list=[];for(var i=0;i<length;i++){var count=rsBlock[i*3+0];var totalCount=rsBlock[i*3+1];var dataCount=rsBlock[i*3+2];for(var j=0;j<count;j++){list.push(new QRRSBlock(totalCount,dataCount));}}
|
|
11308
|
+
return list;};QRRSBlock.getRsBlockTable=function(typeNumber,errorCorrectLevel){switch(errorCorrectLevel){case QRErrorCorrectLevel.L:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+0];case QRErrorCorrectLevel.M:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+1];case QRErrorCorrectLevel.Q:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+2];case QRErrorCorrectLevel.H:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+3];default:return undefined;}};function QRBitBuffer(){this.buffer=[];this.length=0;}
|
|
11309
|
+
QRBitBuffer.prototype={get:function(index){var bufIndex=Math.floor(index/8);return((this.buffer[bufIndex]>>>(7-index%8))&1)==1;},put:function(num,length){for(var i=0;i<length;i++){this.putBit(((num>>>(length-i-1))&1)==1);}},getLengthInBits:function(){return this.length;},putBit:function(bit){var bufIndex=Math.floor(this.length/8);if(this.buffer.length<=bufIndex){this.buffer.push(0);}
|
|
11310
|
+
if(bit){this.buffer[bufIndex]|=(0x80>>>(this.length%8));}
|
|
11311
|
+
this.length++;}};var QRCodeLimitLength=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];
|
|
11312
|
+
|
|
11313
|
+
function _isSupportCanvas() {
|
|
11314
|
+
return typeof CanvasRenderingContext2D != "undefined";
|
|
11315
|
+
}
|
|
11316
|
+
|
|
11317
|
+
// android 2.x doesn't support Data-URI spec
|
|
11318
|
+
function _getAndroid() {
|
|
11319
|
+
var android = false;
|
|
11320
|
+
var sAgent = navigator.userAgent;
|
|
11321
|
+
|
|
11322
|
+
if (/android/i.test(sAgent)) { // android
|
|
11323
|
+
android = true;
|
|
11324
|
+
var aMat = sAgent.toString().match(/android ([0-9]\.[0-9])/i);
|
|
11325
|
+
|
|
11326
|
+
if (aMat && aMat[1]) {
|
|
11327
|
+
android = parseFloat(aMat[1]);
|
|
11328
|
+
}
|
|
11329
|
+
}
|
|
11330
|
+
|
|
11331
|
+
return android;
|
|
11332
|
+
}
|
|
11333
|
+
|
|
11334
|
+
var svgDrawer = (function() {
|
|
11335
|
+
|
|
11336
|
+
var Drawing = function (el, htOption) {
|
|
11337
|
+
this._el = el;
|
|
11338
|
+
this._htOption = htOption;
|
|
11339
|
+
};
|
|
11340
|
+
|
|
11341
|
+
Drawing.prototype.draw = function (oQRCode) {
|
|
11342
|
+
var _htOption = this._htOption;
|
|
11343
|
+
var _el = this._el;
|
|
11344
|
+
var nCount = oQRCode.getModuleCount();
|
|
11345
|
+
var nWidth = Math.floor(_htOption.width / nCount);
|
|
11346
|
+
var nHeight = Math.floor(_htOption.height / nCount);
|
|
11347
|
+
|
|
11348
|
+
this.clear();
|
|
11349
|
+
|
|
11350
|
+
function makeSVG(tag, attrs) {
|
|
11351
|
+
var el = document.createElementNS('http://www.w3.org/2000/svg', tag);
|
|
11352
|
+
for (var k in attrs)
|
|
11353
|
+
if (attrs.hasOwnProperty(k)) el.setAttribute(k, attrs[k]);
|
|
11354
|
+
return el;
|
|
11355
|
+
}
|
|
11356
|
+
|
|
11357
|
+
var svg = makeSVG("svg" , {'viewBox': '0 0 ' + String(nCount) + " " + String(nCount), 'width': '100%', 'height': '100%', 'fill': _htOption.colorLight});
|
|
11358
|
+
svg.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
11359
|
+
_el.appendChild(svg);
|
|
11360
|
+
|
|
11361
|
+
svg.appendChild(makeSVG("rect", {"fill": _htOption.colorLight, "width": "100%", "height": "100%"}));
|
|
11362
|
+
svg.appendChild(makeSVG("rect", {"fill": _htOption.colorDark, "width": "1", "height": "1", "id": "template"}));
|
|
11363
|
+
|
|
11364
|
+
for (var row = 0; row < nCount; row++) {
|
|
11365
|
+
for (var col = 0; col < nCount; col++) {
|
|
11366
|
+
if (oQRCode.isDark(row, col)) {
|
|
11367
|
+
var child = makeSVG("use", {"x": String(col), "y": String(row)});
|
|
11368
|
+
child.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#template")
|
|
11369
|
+
svg.appendChild(child);
|
|
11370
|
+
}
|
|
11371
|
+
}
|
|
11372
|
+
}
|
|
11373
|
+
};
|
|
11374
|
+
Drawing.prototype.clear = function () {
|
|
11375
|
+
while (this._el.hasChildNodes())
|
|
11376
|
+
this._el.removeChild(this._el.lastChild);
|
|
11377
|
+
};
|
|
11378
|
+
return Drawing;
|
|
11379
|
+
})();
|
|
11380
|
+
|
|
11381
|
+
var useSVG = document.documentElement.tagName.toLowerCase() === "svg";
|
|
11382
|
+
|
|
11383
|
+
// Drawing in DOM by using Table tag
|
|
11384
|
+
var Drawing = useSVG ? svgDrawer : !_isSupportCanvas() ? (function () {
|
|
11385
|
+
var Drawing = function (el, htOption) {
|
|
11386
|
+
this._el = el;
|
|
11387
|
+
this._htOption = htOption;
|
|
11388
|
+
};
|
|
11389
|
+
|
|
11390
|
+
/**
|
|
11391
|
+
* Draw the QRCode
|
|
11392
|
+
*
|
|
11393
|
+
* @param {QRCode} oQRCode
|
|
11394
|
+
*/
|
|
11395
|
+
Drawing.prototype.draw = function (oQRCode) {
|
|
11396
|
+
var _htOption = this._htOption;
|
|
11397
|
+
var _el = this._el;
|
|
11398
|
+
var nCount = oQRCode.getModuleCount();
|
|
11399
|
+
var nWidth = Math.floor(_htOption.width / nCount);
|
|
11400
|
+
var nHeight = Math.floor(_htOption.height / nCount);
|
|
11401
|
+
var aHTML = ['<table style="border:0;border-collapse:collapse;">'];
|
|
11402
|
+
|
|
11403
|
+
for (var row = 0; row < nCount; row++) {
|
|
11404
|
+
aHTML.push('<tr>');
|
|
11405
|
+
|
|
11406
|
+
for (var col = 0; col < nCount; col++) {
|
|
11407
|
+
aHTML.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:' + nWidth + 'px;height:' + nHeight + 'px;background-color:' + (oQRCode.isDark(row, col) ? _htOption.colorDark : _htOption.colorLight) + ';"></td>');
|
|
11408
|
+
}
|
|
11409
|
+
|
|
11410
|
+
aHTML.push('</tr>');
|
|
11411
|
+
}
|
|
11412
|
+
|
|
11413
|
+
aHTML.push('</table>');
|
|
11414
|
+
_el.innerHTML = aHTML.join('');
|
|
11415
|
+
|
|
11416
|
+
// Fix the margin values as real size.
|
|
11417
|
+
var elTable = _el.childNodes[0];
|
|
11418
|
+
var nLeftMarginTable = (_htOption.width - elTable.offsetWidth) / 2;
|
|
11419
|
+
var nTopMarginTable = (_htOption.height - elTable.offsetHeight) / 2;
|
|
11420
|
+
|
|
11421
|
+
if (nLeftMarginTable > 0 && nTopMarginTable > 0) {
|
|
11422
|
+
elTable.style.margin = nTopMarginTable + "px " + nLeftMarginTable + "px";
|
|
11423
|
+
}
|
|
11424
|
+
};
|
|
11425
|
+
|
|
11426
|
+
/**
|
|
11427
|
+
* Clear the QRCode
|
|
11428
|
+
*/
|
|
11429
|
+
Drawing.prototype.clear = function () {
|
|
11430
|
+
this._el.innerHTML = '';
|
|
11431
|
+
};
|
|
11432
|
+
|
|
11433
|
+
return Drawing;
|
|
11434
|
+
})() : (function () { // Drawing in Canvas
|
|
11435
|
+
function _onMakeImage() {
|
|
11436
|
+
this._elImage.src = this._elCanvas.toDataURL("image/png");
|
|
11437
|
+
this._elImage.style.display = "block";
|
|
11438
|
+
this._elCanvas.style.display = "none";
|
|
11439
|
+
}
|
|
11440
|
+
|
|
11441
|
+
// Android 2.1 bug workaround
|
|
11442
|
+
// http://code.google.com/p/android/issues/detail?id=5141
|
|
11443
|
+
if (this._android && this._android <= 2.1) {
|
|
11444
|
+
var factor = 1 / window.devicePixelRatio;
|
|
11445
|
+
var drawImage = CanvasRenderingContext2D.prototype.drawImage;
|
|
11446
|
+
CanvasRenderingContext2D.prototype.drawImage = function (image, sx, sy, sw, sh, dx, dy, dw, dh) {
|
|
11447
|
+
if (("nodeName" in image) && /img/i.test(image.nodeName)) {
|
|
11448
|
+
for (var i = arguments.length - 1; i >= 1; i--) {
|
|
11449
|
+
arguments[i] = arguments[i] * factor;
|
|
11450
|
+
}
|
|
11451
|
+
} else if (typeof dw == "undefined") {
|
|
11452
|
+
arguments[1] *= factor;
|
|
11453
|
+
arguments[2] *= factor;
|
|
11454
|
+
arguments[3] *= factor;
|
|
11455
|
+
arguments[4] *= factor;
|
|
11456
|
+
}
|
|
11457
|
+
|
|
11458
|
+
drawImage.apply(this, arguments);
|
|
11459
|
+
};
|
|
11460
|
+
}
|
|
11461
|
+
|
|
11462
|
+
/**
|
|
11463
|
+
* Check whether the user's browser supports Data URI or not
|
|
11464
|
+
*
|
|
11465
|
+
* @private
|
|
11466
|
+
* @param {Function} fSuccess Occurs if it supports Data URI
|
|
11467
|
+
* @param {Function} fFail Occurs if it doesn't support Data URI
|
|
11468
|
+
*/
|
|
11469
|
+
function _safeSetDataURI(fSuccess, fFail) {
|
|
11470
|
+
var self = this;
|
|
11471
|
+
self._fFail = fFail;
|
|
11472
|
+
self._fSuccess = fSuccess;
|
|
11473
|
+
|
|
11474
|
+
// Check it just once
|
|
11475
|
+
if (self._bSupportDataURI === null) {
|
|
11476
|
+
var el = document.createElement("img");
|
|
11477
|
+
var fOnError = function() {
|
|
11478
|
+
self._bSupportDataURI = false;
|
|
11479
|
+
|
|
11480
|
+
if (self._fFail) {
|
|
11481
|
+
self._fFail.call(self);
|
|
11482
|
+
}
|
|
11483
|
+
};
|
|
11484
|
+
var fOnSuccess = function() {
|
|
11485
|
+
self._bSupportDataURI = true;
|
|
11486
|
+
|
|
11487
|
+
if (self._fSuccess) {
|
|
11488
|
+
self._fSuccess.call(self);
|
|
11489
|
+
}
|
|
11490
|
+
};
|
|
11491
|
+
|
|
11492
|
+
el.onabort = fOnError;
|
|
11493
|
+
el.onerror = fOnError;
|
|
11494
|
+
el.onload = fOnSuccess;
|
|
11495
|
+
el.src = "data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="; // the Image contains 1px data.
|
|
11496
|
+
return;
|
|
11497
|
+
} else if (self._bSupportDataURI === true && self._fSuccess) {
|
|
11498
|
+
self._fSuccess.call(self);
|
|
11499
|
+
} else if (self._bSupportDataURI === false && self._fFail) {
|
|
11500
|
+
self._fFail.call(self);
|
|
11501
|
+
}
|
|
11502
|
+
};
|
|
11503
|
+
|
|
11504
|
+
/**
|
|
11505
|
+
* Drawing QRCode by using canvas
|
|
11506
|
+
*
|
|
11507
|
+
* @constructor
|
|
11508
|
+
* @param {HTMLElement} el
|
|
11509
|
+
* @param {Object} htOption QRCode Options
|
|
11510
|
+
*/
|
|
11511
|
+
var Drawing = function (el, htOption) {
|
|
11512
|
+
this._bIsPainted = false;
|
|
11513
|
+
this._android = _getAndroid();
|
|
11514
|
+
|
|
11515
|
+
this._htOption = htOption;
|
|
11516
|
+
this._elCanvas = document.createElement("canvas");
|
|
11517
|
+
this._elCanvas.width = htOption.width;
|
|
11518
|
+
this._elCanvas.height = htOption.height;
|
|
11519
|
+
el.appendChild(this._elCanvas);
|
|
11520
|
+
this._el = el;
|
|
11521
|
+
this._oContext = this._elCanvas.getContext("2d");
|
|
11522
|
+
this._bIsPainted = false;
|
|
11523
|
+
this._elImage = document.createElement("img");
|
|
11524
|
+
this._elImage.alt = "Scan me!";
|
|
11525
|
+
this._elImage.style.display = "none";
|
|
11526
|
+
this._el.appendChild(this._elImage);
|
|
11527
|
+
this._bSupportDataURI = null;
|
|
11528
|
+
};
|
|
11529
|
+
|
|
11530
|
+
/**
|
|
11531
|
+
* Draw the QRCode
|
|
11532
|
+
*
|
|
11533
|
+
* @param {QRCode} oQRCode
|
|
11534
|
+
*/
|
|
11535
|
+
Drawing.prototype.draw = function (oQRCode) {
|
|
11536
|
+
var _elImage = this._elImage;
|
|
11537
|
+
var _oContext = this._oContext;
|
|
11538
|
+
var _htOption = this._htOption;
|
|
11539
|
+
|
|
11540
|
+
var nCount = oQRCode.getModuleCount();
|
|
11541
|
+
var nWidth = _htOption.width / nCount;
|
|
11542
|
+
var nHeight = _htOption.height / nCount;
|
|
11543
|
+
var nRoundedWidth = Math.round(nWidth);
|
|
11544
|
+
var nRoundedHeight = Math.round(nHeight);
|
|
11545
|
+
|
|
11546
|
+
_elImage.style.display = "none";
|
|
11547
|
+
this.clear();
|
|
11548
|
+
|
|
11549
|
+
for (var row = 0; row < nCount; row++) {
|
|
11550
|
+
for (var col = 0; col < nCount; col++) {
|
|
11551
|
+
var bIsDark = oQRCode.isDark(row, col);
|
|
11552
|
+
var nLeft = col * nWidth;
|
|
11553
|
+
var nTop = row * nHeight;
|
|
11554
|
+
_oContext.strokeStyle = bIsDark ? _htOption.colorDark : _htOption.colorLight;
|
|
11555
|
+
_oContext.lineWidth = 1;
|
|
11556
|
+
_oContext.fillStyle = bIsDark ? _htOption.colorDark : _htOption.colorLight;
|
|
11557
|
+
_oContext.fillRect(nLeft, nTop, nWidth, nHeight);
|
|
11558
|
+
|
|
11559
|
+
// 안티 앨리어싱 방지 처리
|
|
11560
|
+
_oContext.strokeRect(
|
|
11561
|
+
Math.floor(nLeft) + 0.5,
|
|
11562
|
+
Math.floor(nTop) + 0.5,
|
|
11563
|
+
nRoundedWidth,
|
|
11564
|
+
nRoundedHeight
|
|
11565
|
+
);
|
|
11566
|
+
|
|
11567
|
+
_oContext.strokeRect(
|
|
11568
|
+
Math.ceil(nLeft) - 0.5,
|
|
11569
|
+
Math.ceil(nTop) - 0.5,
|
|
11570
|
+
nRoundedWidth,
|
|
11571
|
+
nRoundedHeight
|
|
11572
|
+
);
|
|
11573
|
+
}
|
|
11574
|
+
}
|
|
11575
|
+
|
|
11576
|
+
this._bIsPainted = true;
|
|
11577
|
+
};
|
|
11578
|
+
|
|
11579
|
+
/**
|
|
11580
|
+
* Make the image from Canvas if the browser supports Data URI.
|
|
11581
|
+
*/
|
|
11582
|
+
Drawing.prototype.makeImage = function () {
|
|
11583
|
+
if (this._bIsPainted) {
|
|
11584
|
+
_safeSetDataURI.call(this, _onMakeImage);
|
|
11585
|
+
}
|
|
11586
|
+
};
|
|
11587
|
+
|
|
11588
|
+
/**
|
|
11589
|
+
* Return whether the QRCode is painted or not
|
|
11590
|
+
*
|
|
11591
|
+
* @return {Boolean}
|
|
11592
|
+
*/
|
|
11593
|
+
Drawing.prototype.isPainted = function () {
|
|
11594
|
+
return this._bIsPainted;
|
|
11595
|
+
};
|
|
11596
|
+
|
|
11597
|
+
/**
|
|
11598
|
+
* Clear the QRCode
|
|
11599
|
+
*/
|
|
11600
|
+
Drawing.prototype.clear = function () {
|
|
11601
|
+
this._oContext.clearRect(0, 0, this._elCanvas.width, this._elCanvas.height);
|
|
11602
|
+
this._bIsPainted = false;
|
|
11603
|
+
};
|
|
11604
|
+
|
|
11605
|
+
/**
|
|
11606
|
+
* @private
|
|
11607
|
+
* @param {Number} nNumber
|
|
11608
|
+
*/
|
|
11609
|
+
Drawing.prototype.round = function (nNumber) {
|
|
11610
|
+
if (!nNumber) {
|
|
11611
|
+
return nNumber;
|
|
11612
|
+
}
|
|
11613
|
+
|
|
11614
|
+
return Math.floor(nNumber * 1000) / 1000;
|
|
11615
|
+
};
|
|
11616
|
+
|
|
11617
|
+
return Drawing;
|
|
11618
|
+
})();
|
|
11619
|
+
|
|
11620
|
+
/**
|
|
11621
|
+
* Get the type by string length
|
|
11622
|
+
*
|
|
11623
|
+
* @private
|
|
11624
|
+
* @param {String} sText
|
|
11625
|
+
* @param {Number} nCorrectLevel
|
|
11626
|
+
* @return {Number} type
|
|
11627
|
+
*/
|
|
11628
|
+
function _getTypeNumber(sText, nCorrectLevel) {
|
|
11629
|
+
var nType = 1;
|
|
11630
|
+
var length = _getUTF8Length(sText);
|
|
11631
|
+
|
|
11632
|
+
for (var i = 0, len = QRCodeLimitLength.length; i <= len; i++) {
|
|
11633
|
+
var nLimit = 0;
|
|
11634
|
+
|
|
11635
|
+
switch (nCorrectLevel) {
|
|
11636
|
+
case QRErrorCorrectLevel.L :
|
|
11637
|
+
nLimit = QRCodeLimitLength[i][0];
|
|
11638
|
+
break;
|
|
11639
|
+
case QRErrorCorrectLevel.M :
|
|
11640
|
+
nLimit = QRCodeLimitLength[i][1];
|
|
11641
|
+
break;
|
|
11642
|
+
case QRErrorCorrectLevel.Q :
|
|
11643
|
+
nLimit = QRCodeLimitLength[i][2];
|
|
11644
|
+
break;
|
|
11645
|
+
case QRErrorCorrectLevel.H :
|
|
11646
|
+
nLimit = QRCodeLimitLength[i][3];
|
|
11647
|
+
break;
|
|
11648
|
+
}
|
|
11649
|
+
|
|
11650
|
+
if (length <= nLimit) {
|
|
11651
|
+
break;
|
|
11652
|
+
} else {
|
|
11653
|
+
nType++;
|
|
11654
|
+
}
|
|
11655
|
+
}
|
|
11656
|
+
|
|
11657
|
+
if (nType > QRCodeLimitLength.length) {
|
|
11658
|
+
throw new Error("Too long data");
|
|
11659
|
+
}
|
|
11660
|
+
|
|
11661
|
+
return nType;
|
|
11662
|
+
}
|
|
11663
|
+
|
|
11664
|
+
function _getUTF8Length(sText) {
|
|
11665
|
+
var replacedText = encodeURI(sText).toString().replace(/\%[0-9a-fA-F]{2}/g, 'a');
|
|
11666
|
+
return replacedText.length + (replacedText.length != sText ? 3 : 0);
|
|
11667
|
+
}
|
|
11668
|
+
|
|
11669
|
+
/**
|
|
11670
|
+
* @class QRCode
|
|
11671
|
+
* @constructor
|
|
11672
|
+
* @example
|
|
11673
|
+
* new QRCode(document.getElementById("test"), "http://jindo.dev.naver.com/collie");
|
|
11674
|
+
*
|
|
11675
|
+
* @example
|
|
11676
|
+
* var oQRCode = new QRCode("test", {
|
|
11677
|
+
* text : "http://naver.com",
|
|
11678
|
+
* width : 128,
|
|
11679
|
+
* height : 128
|
|
11680
|
+
* });
|
|
11681
|
+
*
|
|
11682
|
+
* oQRCode.clear(); // Clear the QRCode.
|
|
11683
|
+
* oQRCode.makeCode("http://map.naver.com"); // Re-create the QRCode.
|
|
11684
|
+
*
|
|
11685
|
+
* @param {HTMLElement|String} el target element or 'id' attribute of element.
|
|
11686
|
+
* @param {Object|String} vOption
|
|
11687
|
+
* @param {String} vOption.text QRCode link data
|
|
11688
|
+
* @param {Number} [vOption.width=256]
|
|
11689
|
+
* @param {Number} [vOption.height=256]
|
|
11690
|
+
* @param {String} [vOption.colorDark="#000000"]
|
|
11691
|
+
* @param {String} [vOption.colorLight="#ffffff"]
|
|
11692
|
+
* @param {QRCode.CorrectLevel} [vOption.correctLevel=QRCode.CorrectLevel.H] [L|M|Q|H]
|
|
11693
|
+
*/
|
|
11694
|
+
QRCode = function (el, vOption) {
|
|
11695
|
+
this._htOption = {
|
|
11696
|
+
width : 256,
|
|
11697
|
+
height : 256,
|
|
11698
|
+
typeNumber : 4,
|
|
11699
|
+
colorDark : "#000000",
|
|
11700
|
+
colorLight : "#ffffff",
|
|
11701
|
+
correctLevel : QRErrorCorrectLevel.H
|
|
11702
|
+
};
|
|
11703
|
+
|
|
11704
|
+
if (typeof vOption === 'string') {
|
|
11705
|
+
vOption = {
|
|
11706
|
+
text : vOption
|
|
11707
|
+
};
|
|
11708
|
+
}
|
|
11709
|
+
|
|
11710
|
+
// Overwrites options
|
|
11711
|
+
if (vOption) {
|
|
11712
|
+
for (var i in vOption) {
|
|
11713
|
+
this._htOption[i] = vOption[i];
|
|
11714
|
+
}
|
|
11715
|
+
}
|
|
11716
|
+
|
|
11717
|
+
if (typeof el == "string") {
|
|
11718
|
+
el = document.getElementById(el);
|
|
11719
|
+
}
|
|
11720
|
+
|
|
11721
|
+
if (this._htOption.useSVG) {
|
|
11722
|
+
Drawing = svgDrawer;
|
|
11723
|
+
}
|
|
11724
|
+
|
|
11725
|
+
this._android = _getAndroid();
|
|
11726
|
+
this._el = el;
|
|
11727
|
+
this._oQRCode = null;
|
|
11728
|
+
this._oDrawing = new Drawing(this._el, this._htOption);
|
|
11729
|
+
|
|
11730
|
+
if (this._htOption.text) {
|
|
11731
|
+
this.makeCode(this._htOption.text);
|
|
11732
|
+
}
|
|
11733
|
+
};
|
|
11734
|
+
|
|
11735
|
+
/**
|
|
11736
|
+
* Make the QRCode
|
|
11737
|
+
*
|
|
11738
|
+
* @param {String} sText link data
|
|
11739
|
+
*/
|
|
11740
|
+
QRCode.prototype.makeCode = function (sText) {
|
|
11741
|
+
this._oQRCode = new QRCodeModel(_getTypeNumber(sText, this._htOption.correctLevel), this._htOption.correctLevel);
|
|
11742
|
+
this._oQRCode.addData(sText);
|
|
11743
|
+
this._oQRCode.make();
|
|
11744
|
+
this._el.title = sText;
|
|
11745
|
+
this._oDrawing.draw(this._oQRCode);
|
|
11746
|
+
this.makeImage();
|
|
11747
|
+
};
|
|
11748
|
+
|
|
11749
|
+
/**
|
|
11750
|
+
* Make the Image from Canvas element
|
|
11751
|
+
* - It occurs automatically
|
|
11752
|
+
* - Android below 3 doesn't support Data-URI spec.
|
|
11753
|
+
*
|
|
11754
|
+
* @private
|
|
11755
|
+
*/
|
|
11756
|
+
QRCode.prototype.makeImage = function () {
|
|
11757
|
+
if (typeof this._oDrawing.makeImage == "function" && (!this._android || this._android >= 3)) {
|
|
11758
|
+
this._oDrawing.makeImage();
|
|
11759
|
+
}
|
|
11760
|
+
};
|
|
11761
|
+
|
|
11762
|
+
/**
|
|
11763
|
+
* Clear the QRCode
|
|
11764
|
+
*/
|
|
11765
|
+
QRCode.prototype.clear = function () {
|
|
11766
|
+
this._oDrawing.clear();
|
|
11767
|
+
};
|
|
11768
|
+
|
|
11769
|
+
/**
|
|
11770
|
+
* @name QRCode.CorrectLevel
|
|
11771
|
+
*/
|
|
11772
|
+
QRCode.CorrectLevel = QRErrorCorrectLevel;
|
|
11773
|
+
|
|
11774
|
+
return QRCode;
|
|
11775
|
+
|
|
11776
|
+
}));
|
|
11777
|
+
|
|
11778
|
+
|
|
12840
11779
|
/***/ },
|
|
12841
11780
|
|
|
12842
11781
|
/***/ 9137
|
|
@@ -14002,272 +12941,6 @@ var userAgent = __webpack_require__(2839);
|
|
|
14002
12941
|
module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
|
|
14003
12942
|
|
|
14004
12943
|
|
|
14005
|
-
/***/ },
|
|
14006
|
-
|
|
14007
|
-
/***/ 9548
|
|
14008
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14009
|
-
|
|
14010
|
-
"use strict";
|
|
14011
|
-
|
|
14012
|
-
// EXPORTS
|
|
14013
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
14014
|
-
A: () => (/* binding */ addStylesClient)
|
|
14015
|
-
});
|
|
14016
|
-
|
|
14017
|
-
;// ./node_modules/vue-style-loader/lib/listToStyles.js
|
|
14018
|
-
/**
|
|
14019
|
-
* Translates the list format produced by css-loader into something
|
|
14020
|
-
* easier to manipulate.
|
|
14021
|
-
*/
|
|
14022
|
-
function listToStyles (parentId, list) {
|
|
14023
|
-
var styles = []
|
|
14024
|
-
var newStyles = {}
|
|
14025
|
-
for (var i = 0; i < list.length; i++) {
|
|
14026
|
-
var item = list[i]
|
|
14027
|
-
var id = item[0]
|
|
14028
|
-
var css = item[1]
|
|
14029
|
-
var media = item[2]
|
|
14030
|
-
var sourceMap = item[3]
|
|
14031
|
-
var part = {
|
|
14032
|
-
id: parentId + ':' + i,
|
|
14033
|
-
css: css,
|
|
14034
|
-
media: media,
|
|
14035
|
-
sourceMap: sourceMap
|
|
14036
|
-
}
|
|
14037
|
-
if (!newStyles[id]) {
|
|
14038
|
-
styles.push(newStyles[id] = { id: id, parts: [part] })
|
|
14039
|
-
} else {
|
|
14040
|
-
newStyles[id].parts.push(part)
|
|
14041
|
-
}
|
|
14042
|
-
}
|
|
14043
|
-
return styles
|
|
14044
|
-
}
|
|
14045
|
-
|
|
14046
|
-
;// ./node_modules/vue-style-loader/lib/addStylesClient.js
|
|
14047
|
-
/*
|
|
14048
|
-
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
14049
|
-
Author Tobias Koppers @sokra
|
|
14050
|
-
Modified by Evan You @yyx990803
|
|
14051
|
-
*/
|
|
14052
|
-
|
|
14053
|
-
|
|
14054
|
-
|
|
14055
|
-
var hasDocument = typeof document !== 'undefined'
|
|
14056
|
-
|
|
14057
|
-
if (typeof DEBUG !== 'undefined' && DEBUG) {
|
|
14058
|
-
if (!hasDocument) {
|
|
14059
|
-
throw new Error(
|
|
14060
|
-
'vue-style-loader cannot be used in a non-browser environment. ' +
|
|
14061
|
-
"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
|
|
14062
|
-
) }
|
|
14063
|
-
}
|
|
14064
|
-
|
|
14065
|
-
/*
|
|
14066
|
-
type StyleObject = {
|
|
14067
|
-
id: number;
|
|
14068
|
-
parts: Array<StyleObjectPart>
|
|
14069
|
-
}
|
|
14070
|
-
|
|
14071
|
-
type StyleObjectPart = {
|
|
14072
|
-
css: string;
|
|
14073
|
-
media: string;
|
|
14074
|
-
sourceMap: ?string
|
|
14075
|
-
}
|
|
14076
|
-
*/
|
|
14077
|
-
|
|
14078
|
-
var stylesInDom = {/*
|
|
14079
|
-
[id: number]: {
|
|
14080
|
-
id: number,
|
|
14081
|
-
refs: number,
|
|
14082
|
-
parts: Array<(obj?: StyleObjectPart) => void>
|
|
14083
|
-
}
|
|
14084
|
-
*/}
|
|
14085
|
-
|
|
14086
|
-
var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
|
|
14087
|
-
var singletonElement = null
|
|
14088
|
-
var singletonCounter = 0
|
|
14089
|
-
var isProduction = false
|
|
14090
|
-
var noop = function () {}
|
|
14091
|
-
var options = null
|
|
14092
|
-
var ssrIdKey = 'data-vue-ssr-id'
|
|
14093
|
-
|
|
14094
|
-
// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
14095
|
-
// tags it will allow on a page
|
|
14096
|
-
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
|
|
14097
|
-
|
|
14098
|
-
function addStylesClient (parentId, list, _isProduction, _options) {
|
|
14099
|
-
isProduction = _isProduction
|
|
14100
|
-
|
|
14101
|
-
options = _options || {}
|
|
14102
|
-
|
|
14103
|
-
var styles = listToStyles(parentId, list)
|
|
14104
|
-
addStylesToDom(styles)
|
|
14105
|
-
|
|
14106
|
-
return function update (newList) {
|
|
14107
|
-
var mayRemove = []
|
|
14108
|
-
for (var i = 0; i < styles.length; i++) {
|
|
14109
|
-
var item = styles[i]
|
|
14110
|
-
var domStyle = stylesInDom[item.id]
|
|
14111
|
-
domStyle.refs--
|
|
14112
|
-
mayRemove.push(domStyle)
|
|
14113
|
-
}
|
|
14114
|
-
if (newList) {
|
|
14115
|
-
styles = listToStyles(parentId, newList)
|
|
14116
|
-
addStylesToDom(styles)
|
|
14117
|
-
} else {
|
|
14118
|
-
styles = []
|
|
14119
|
-
}
|
|
14120
|
-
for (var i = 0; i < mayRemove.length; i++) {
|
|
14121
|
-
var domStyle = mayRemove[i]
|
|
14122
|
-
if (domStyle.refs === 0) {
|
|
14123
|
-
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
14124
|
-
domStyle.parts[j]()
|
|
14125
|
-
}
|
|
14126
|
-
delete stylesInDom[domStyle.id]
|
|
14127
|
-
}
|
|
14128
|
-
}
|
|
14129
|
-
}
|
|
14130
|
-
}
|
|
14131
|
-
|
|
14132
|
-
function addStylesToDom (styles /* Array<StyleObject> */) {
|
|
14133
|
-
for (var i = 0; i < styles.length; i++) {
|
|
14134
|
-
var item = styles[i]
|
|
14135
|
-
var domStyle = stylesInDom[item.id]
|
|
14136
|
-
if (domStyle) {
|
|
14137
|
-
domStyle.refs++
|
|
14138
|
-
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
14139
|
-
domStyle.parts[j](item.parts[j])
|
|
14140
|
-
}
|
|
14141
|
-
for (; j < item.parts.length; j++) {
|
|
14142
|
-
domStyle.parts.push(addStyle(item.parts[j]))
|
|
14143
|
-
}
|
|
14144
|
-
if (domStyle.parts.length > item.parts.length) {
|
|
14145
|
-
domStyle.parts.length = item.parts.length
|
|
14146
|
-
}
|
|
14147
|
-
} else {
|
|
14148
|
-
var parts = []
|
|
14149
|
-
for (var j = 0; j < item.parts.length; j++) {
|
|
14150
|
-
parts.push(addStyle(item.parts[j]))
|
|
14151
|
-
}
|
|
14152
|
-
stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
|
|
14153
|
-
}
|
|
14154
|
-
}
|
|
14155
|
-
}
|
|
14156
|
-
|
|
14157
|
-
function createStyleElement () {
|
|
14158
|
-
var styleElement = document.createElement('style')
|
|
14159
|
-
styleElement.type = 'text/css'
|
|
14160
|
-
head.appendChild(styleElement)
|
|
14161
|
-
return styleElement
|
|
14162
|
-
}
|
|
14163
|
-
|
|
14164
|
-
function addStyle (obj /* StyleObjectPart */) {
|
|
14165
|
-
var update, remove
|
|
14166
|
-
var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
|
|
14167
|
-
|
|
14168
|
-
if (styleElement) {
|
|
14169
|
-
if (isProduction) {
|
|
14170
|
-
// has SSR styles and in production mode.
|
|
14171
|
-
// simply do nothing.
|
|
14172
|
-
return noop
|
|
14173
|
-
} else {
|
|
14174
|
-
// has SSR styles but in dev mode.
|
|
14175
|
-
// for some reason Chrome can't handle source map in server-rendered
|
|
14176
|
-
// style tags - source maps in <style> only works if the style tag is
|
|
14177
|
-
// created and inserted dynamically. So we remove the server rendered
|
|
14178
|
-
// styles and inject new ones.
|
|
14179
|
-
styleElement.parentNode.removeChild(styleElement)
|
|
14180
|
-
}
|
|
14181
|
-
}
|
|
14182
|
-
|
|
14183
|
-
if (isOldIE) {
|
|
14184
|
-
// use singleton mode for IE9.
|
|
14185
|
-
var styleIndex = singletonCounter++
|
|
14186
|
-
styleElement = singletonElement || (singletonElement = createStyleElement())
|
|
14187
|
-
update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
|
|
14188
|
-
remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
|
|
14189
|
-
} else {
|
|
14190
|
-
// use multi-style-tag mode in all other cases
|
|
14191
|
-
styleElement = createStyleElement()
|
|
14192
|
-
update = applyToTag.bind(null, styleElement)
|
|
14193
|
-
remove = function () {
|
|
14194
|
-
styleElement.parentNode.removeChild(styleElement)
|
|
14195
|
-
}
|
|
14196
|
-
}
|
|
14197
|
-
|
|
14198
|
-
update(obj)
|
|
14199
|
-
|
|
14200
|
-
return function updateStyle (newObj /* StyleObjectPart */) {
|
|
14201
|
-
if (newObj) {
|
|
14202
|
-
if (newObj.css === obj.css &&
|
|
14203
|
-
newObj.media === obj.media &&
|
|
14204
|
-
newObj.sourceMap === obj.sourceMap) {
|
|
14205
|
-
return
|
|
14206
|
-
}
|
|
14207
|
-
update(obj = newObj)
|
|
14208
|
-
} else {
|
|
14209
|
-
remove()
|
|
14210
|
-
}
|
|
14211
|
-
}
|
|
14212
|
-
}
|
|
14213
|
-
|
|
14214
|
-
var replaceText = (function () {
|
|
14215
|
-
var textStore = []
|
|
14216
|
-
|
|
14217
|
-
return function (index, replacement) {
|
|
14218
|
-
textStore[index] = replacement
|
|
14219
|
-
return textStore.filter(Boolean).join('\n')
|
|
14220
|
-
}
|
|
14221
|
-
})()
|
|
14222
|
-
|
|
14223
|
-
function applyToSingletonTag (styleElement, index, remove, obj) {
|
|
14224
|
-
var css = remove ? '' : obj.css
|
|
14225
|
-
|
|
14226
|
-
if (styleElement.styleSheet) {
|
|
14227
|
-
styleElement.styleSheet.cssText = replaceText(index, css)
|
|
14228
|
-
} else {
|
|
14229
|
-
var cssNode = document.createTextNode(css)
|
|
14230
|
-
var childNodes = styleElement.childNodes
|
|
14231
|
-
if (childNodes[index]) styleElement.removeChild(childNodes[index])
|
|
14232
|
-
if (childNodes.length) {
|
|
14233
|
-
styleElement.insertBefore(cssNode, childNodes[index])
|
|
14234
|
-
} else {
|
|
14235
|
-
styleElement.appendChild(cssNode)
|
|
14236
|
-
}
|
|
14237
|
-
}
|
|
14238
|
-
}
|
|
14239
|
-
|
|
14240
|
-
function applyToTag (styleElement, obj) {
|
|
14241
|
-
var css = obj.css
|
|
14242
|
-
var media = obj.media
|
|
14243
|
-
var sourceMap = obj.sourceMap
|
|
14244
|
-
|
|
14245
|
-
if (media) {
|
|
14246
|
-
styleElement.setAttribute('media', media)
|
|
14247
|
-
}
|
|
14248
|
-
if (options.ssrId) {
|
|
14249
|
-
styleElement.setAttribute(ssrIdKey, obj.id)
|
|
14250
|
-
}
|
|
14251
|
-
|
|
14252
|
-
if (sourceMap) {
|
|
14253
|
-
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
14254
|
-
// this makes source maps inside style tags work properly in Chrome
|
|
14255
|
-
css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
|
|
14256
|
-
// http://stackoverflow.com/a/26603875
|
|
14257
|
-
css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
|
|
14258
|
-
}
|
|
14259
|
-
|
|
14260
|
-
if (styleElement.styleSheet) {
|
|
14261
|
-
styleElement.styleSheet.cssText = css
|
|
14262
|
-
} else {
|
|
14263
|
-
while (styleElement.firstChild) {
|
|
14264
|
-
styleElement.removeChild(styleElement.firstChild)
|
|
14265
|
-
}
|
|
14266
|
-
styleElement.appendChild(document.createTextNode(css))
|
|
14267
|
-
}
|
|
14268
|
-
}
|
|
14269
|
-
|
|
14270
|
-
|
|
14271
12944
|
/***/ },
|
|
14272
12945
|
|
|
14273
12946
|
/***/ 9565
|
|
@@ -14385,30 +13058,6 @@ module.exports = {
|
|
|
14385
13058
|
"version": "0.24.0"
|
|
14386
13059
|
};
|
|
14387
13060
|
|
|
14388
|
-
/***/ },
|
|
14389
|
-
|
|
14390
|
-
/***/ 9643
|
|
14391
|
-
(module, __webpack_exports__, __webpack_require__) {
|
|
14392
|
-
|
|
14393
|
-
"use strict";
|
|
14394
|
-
__webpack_require__.r(__webpack_exports__);
|
|
14395
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14396
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
14397
|
-
/* harmony export */ });
|
|
14398
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
14399
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
14400
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
14401
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
14402
|
-
// Imports
|
|
14403
|
-
|
|
14404
|
-
|
|
14405
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
14406
|
-
// Module
|
|
14407
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.custom-dialog-overlay[data-v-4c1d34f3]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn-4c1d34f3 .3s ease-out}.custom-dialog[data-v-4c1d34f3]{background:#fff;border-radius:30px;box-shadow:0 4px 20px rgba(0,0,0,.15);width:600px;max-width:90vw;max-height:80vh;overflow:hidden;animation:slideIn-4c1d34f3 .3s ease-out;display:flex;flex-direction:column}.custom-dialog.nationality-selector[data-v-4c1d34f3]{height:600px}.custom-dialog-header[data-v-4c1d34f3]{padding:20px 24px;border-bottom:1px solid #ebebeb;display:flex;align-items:center;justify-content:space-between}.custom-dialog-header .custom-dialog-title[data-v-4c1d34f3]{margin:0;font-size:24px;font-weight:700;color:#333}.custom-dialog-header .custom-dialog-close[data-v-4c1d34f3]{cursor:pointer;color:#999;transition:color .2s ease}.custom-dialog-header .custom-dialog-close[data-v-4c1d34f3]:hover{color:#333}.search-container[data-v-4c1d34f3]{padding:20px 24px 0}.search-container .el-input .el-input__inner[data-v-4c1d34f3]{height:40px;line-height:40px;border-radius:20px;border:1px solid #dcdfe6;font-size:14px}.search-container .el-input .el-input__inner[data-v-4c1d34f3]:focus{border-color:#004b90}.search-container .el-input .el-input__prefix[data-v-4c1d34f3]{left:15px}.custom-dialog-body[data-v-4c1d34f3]{flex:1;overflow:hidden;padding:20px 0 0}@keyframes fadeIn-4c1d34f3{0%{opacity:0}to{opacity:1}}@keyframes slideIn-4c1d34f3{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}.nationality-index-bar[data-v-4c1d34f3]{display:flex;height:100%}.index-nav[data-v-4c1d34f3]{width:40px;background:#f8f9fa;display:flex;flex-direction:column;align-items:center;padding:10px 0;border-right:1px solid #ebebeb;flex-shrink:0}.index-nav .index-item[data-v-4c1d34f3]{width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;color:#666;cursor:pointer;border-radius:12px;margin:1px 0;transition:all .2s ease}.index-nav .index-item[data-v-4c1d34f3]:hover{background:#e3f2fd;color:#004b90}.index-nav .index-item.active[data-v-4c1d34f3]{background:#004b90;color:#fff}.nationality-list-container[data-v-4c1d34f3]{flex:1;height:100%;overflow:hidden}.nationality-list[data-v-4c1d34f3]{padding:0 24px}.search-results-container[data-v-4c1d34f3]{height:100%;overflow:hidden}.letter-section[data-v-4c1d34f3]{margin-bottom:10px}.letter-section .letter-anchor[data-v-4c1d34f3]{font-size:16px;font-weight:700;color:#004b90;padding:10px 0 5px;border-bottom:1px solid #f0f0f0;margin-bottom:5px;position:sticky;top:0;background:#fff;z-index:1}.country-item[data-v-4c1d34f3]{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;cursor:pointer;border-radius:8px;transition:all .2s ease;margin-bottom:2px}.country-item[data-v-4c1d34f3]:hover{background:#f8f9fa}.country-item:hover .country-check[data-v-4c1d34f3]{opacity:1;color:#004b90}.country-item .country-name[data-v-4c1d34f3]{font-size:14px;color:#333;flex:1}.country-item .country-check[data-v-4c1d34f3]{opacity:0;font-size:16px;color:#004b90;transition:all .2s ease}.search-results[data-v-4c1d34f3]{padding:0 24px}.search-results .no-results[data-v-4c1d34f3]{text-align:center;color:#999;font-size:14px;padding:40px 0}.el-scrollbar .el-scrollbar__wrap[data-v-4c1d34f3]{overflow-x:hidden}.el-scrollbar .el-scrollbar__bar.is-vertical[data-v-4c1d34f3]{right:2px;width:6px}.el-scrollbar .el-scrollbar__bar.is-vertical .el-scrollbar__thumb[data-v-4c1d34f3]{background:hsla(220,4%,58%,.3);border-radius:3px}.el-scrollbar .el-scrollbar__bar.is-vertical .el-scrollbar__thumb[data-v-4c1d34f3]:hover{background:hsla(220,4%,58%,.5)}@media(max-width:768px){.custom-dialog[data-v-4c1d34f3]{width:95vw;height:85vh;border-radius:20px}.custom-dialog.nationality-selector[data-v-4c1d34f3]{height:85vh}.custom-dialog-header[data-v-4c1d34f3]{padding:16px 20px}.custom-dialog-header .custom-dialog-title[data-v-4c1d34f3]{font-size:20px}.search-container[data-v-4c1d34f3]{padding:16px 20px 0}.nationality-list[data-v-4c1d34f3],.search-results[data-v-4c1d34f3]{padding:0 20px}}`, ""]);
|
|
14408
|
-
// Exports
|
|
14409
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
14410
|
-
|
|
14411
|
-
|
|
14412
13061
|
/***/ },
|
|
14413
13062
|
|
|
14414
13063
|
/***/ 9773
|
|
@@ -14509,7 +13158,7 @@ $({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
|
|
|
14509
13158
|
/******/ }
|
|
14510
13159
|
/******/ // Create a new module (and put it into the cache)
|
|
14511
13160
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
14512
|
-
/******/ id
|
|
13161
|
+
/******/ // no module.id needed
|
|
14513
13162
|
/******/ // no module.loaded needed
|
|
14514
13163
|
/******/ exports: {}
|
|
14515
13164
|
/******/ };
|
|
@@ -34887,8 +33536,9 @@ var api = init(defaultConverter, { path: '/' });
|
|
|
34887
33536
|
});
|
|
34888
33537
|
;// ./src/components/userCenterCompleteInformation.vue?vue&type=script&lang=js
|
|
34889
33538
|
|
|
34890
|
-
|
|
34891
|
-
|
|
33539
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/userCenterCompleteInformation.vue?vue&type=style&index=0&id=946293f4&lang=scss&scoped=true
|
|
33540
|
+
// extracted by mini-css-extract-plugin
|
|
33541
|
+
|
|
34892
33542
|
;// ./src/components/userCenterCompleteInformation.vue?vue&type=style&index=0&id=946293f4&lang=scss&scoped=true
|
|
34893
33543
|
|
|
34894
33544
|
// EXTERNAL MODULE: ./node_modules/@vue/cli-service/node_modules/vue-loader/dist/exportHelper.js
|
|
@@ -35940,8 +34590,9 @@ var i18n = new SimpleI18n();
|
|
|
35940
34590
|
});
|
|
35941
34591
|
;// ./src/components/agreement.vue?vue&type=script&lang=js
|
|
35942
34592
|
|
|
35943
|
-
|
|
35944
|
-
|
|
34593
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/agreement.vue?vue&type=style&index=0&id=13fe3570&lang=scss&scoped=true
|
|
34594
|
+
// extracted by mini-css-extract-plugin
|
|
34595
|
+
|
|
35945
34596
|
;// ./src/components/agreement.vue?vue&type=style&index=0&id=13fe3570&lang=scss&scoped=true
|
|
35946
34597
|
|
|
35947
34598
|
;// ./src/components/agreement.vue
|
|
@@ -36913,7 +35564,7 @@ function QRCodeLoginvue_type_template_id_6badd114_scoped_true_render(_ctx, _cach
|
|
|
36913
35564
|
;// ./src/components/QRCodeLogin.vue?vue&type=template&id=6badd114&scoped=true
|
|
36914
35565
|
|
|
36915
35566
|
// EXTERNAL MODULE: ./node_modules/qrcodejs2/qrcode.js
|
|
36916
|
-
var qrcode = __webpack_require__(
|
|
35567
|
+
var qrcode = __webpack_require__(9118);
|
|
36917
35568
|
var qrcode_default = /*#__PURE__*/__webpack_require__.n(qrcode);
|
|
36918
35569
|
;// ./src/utils/auth.js
|
|
36919
35570
|
|
|
@@ -37060,8 +35711,9 @@ function removeToken() {
|
|
|
37060
35711
|
});
|
|
37061
35712
|
;// ./src/components/QRCodeLogin.vue?vue&type=script&lang=js
|
|
37062
35713
|
|
|
37063
|
-
|
|
37064
|
-
|
|
35714
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/QRCodeLogin.vue?vue&type=style&index=0&id=6badd114&lang=scss&scoped=true
|
|
35715
|
+
// extracted by mini-css-extract-plugin
|
|
35716
|
+
|
|
37065
35717
|
;// ./src/components/QRCodeLogin.vue?vue&type=style&index=0&id=6badd114&lang=scss&scoped=true
|
|
37066
35718
|
|
|
37067
35719
|
;// ./src/components/QRCodeLogin.vue
|
|
@@ -37531,8 +36183,9 @@ function NationalitySelectorvue_type_template_id_4c1d34f3_scoped_true_render(_ct
|
|
|
37531
36183
|
});
|
|
37532
36184
|
;// ./src/components/NationalitySelector.vue?vue&type=script&lang=js
|
|
37533
36185
|
|
|
37534
|
-
|
|
37535
|
-
|
|
36186
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/NationalitySelector.vue?vue&type=style&index=0&id=4c1d34f3&scoped=true&lang=scss
|
|
36187
|
+
// extracted by mini-css-extract-plugin
|
|
36188
|
+
|
|
37536
36189
|
;// ./src/components/NationalitySelector.vue?vue&type=style&index=0&id=4c1d34f3&scoped=true&lang=scss
|
|
37537
36190
|
|
|
37538
36191
|
;// ./src/components/NationalitySelector.vue
|
|
@@ -37703,8 +36356,9 @@ const NationalitySelector_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A
|
|
|
37703
36356
|
});
|
|
37704
36357
|
;// ./src/components/mobileBinding.vue?vue&type=script&lang=js
|
|
37705
36358
|
|
|
37706
|
-
|
|
37707
|
-
|
|
36359
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/mobileBinding.vue?vue&type=style&index=0&id=3371c604&lang=scss&scoped=true
|
|
36360
|
+
// extracted by mini-css-extract-plugin
|
|
36361
|
+
|
|
37708
36362
|
;// ./src/components/mobileBinding.vue?vue&type=style&index=0&id=3371c604&lang=scss&scoped=true
|
|
37709
36363
|
|
|
37710
36364
|
;// ./src/components/mobileBinding.vue
|
|
@@ -38249,8 +36903,9 @@ function improveInformationvue_type_template_id_088b4acc_scoped_true_render(_ctx
|
|
|
38249
36903
|
});
|
|
38250
36904
|
;// ./src/components/improveInformation.vue?vue&type=script&lang=js
|
|
38251
36905
|
|
|
38252
|
-
|
|
38253
|
-
|
|
36906
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/improveInformation.vue?vue&type=style&index=0&id=088b4acc&lang=scss&scoped=true
|
|
36907
|
+
// extracted by mini-css-extract-plugin
|
|
36908
|
+
|
|
38254
36909
|
;// ./src/components/improveInformation.vue?vue&type=style&index=0&id=088b4acc&lang=scss&scoped=true
|
|
38255
36910
|
|
|
38256
36911
|
;// ./src/components/improveInformation.vue
|
|
@@ -39009,8 +37664,9 @@ const improveInformation_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)
|
|
|
39009
37664
|
}));
|
|
39010
37665
|
;// ./src/components/userCenterLogin.vue?vue&type=script&lang=js
|
|
39011
37666
|
|
|
39012
|
-
|
|
39013
|
-
|
|
37667
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/@vue/cli-service/node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/userCenterLogin.vue?vue&type=style&index=0&id=da49a790&lang=scss
|
|
37668
|
+
// extracted by mini-css-extract-plugin
|
|
37669
|
+
|
|
39014
37670
|
;// ./src/components/userCenterLogin.vue?vue&type=style&index=0&id=da49a790&lang=scss
|
|
39015
37671
|
|
|
39016
37672
|
;// ./src/components/userCenterLogin.vue
|