diff --git a/package.json b/package.json index 86fe64c68..2fbff70a2 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,6 @@ "gulp-uglify": "^3.0.2" }, "dependencies": { - "vditor": "^3.8.4" + "vditor": "^3.8.13" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 000000000..a98fc8fed --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,3530 @@ +lockfileVersion: 5.3 + +specifiers: + del: ^5.0.0 + gulp: ^4.0.2 + gulp-clean-css: ^4.2.0 + gulp-concat: ^2.6.1 + gulp-rename: ^1.4.0 + gulp-sass: ^5.1.0 + gulp-uglify: ^3.0.2 + node-sass: ^6.0.1 + vditor: ^3.8.13 + +dependencies: + vditor: 3.8.13 + +devDependencies: + del: 5.1.0 + gulp: 4.0.2 + gulp-clean-css: 4.3.0 + gulp-concat: 2.6.1 + gulp-rename: 1.4.0 + gulp-sass: 5.1.0 + gulp-uglify: 3.0.2 + node-sass: 6.0.1 + +packages: + + /@babel/code-frame/7.16.7: + resolution: {integrity: sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/highlight': 7.16.10 + dev: true + + /@babel/helper-validator-identifier/7.16.7: + resolution: {integrity: sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/highlight/7.16.10: + resolution: {integrity: sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-validator-identifier': 7.16.7 + chalk: 2.4.2 + js-tokens: 4.0.0 + dev: true + + /@nodelib/fs.scandir/2.1.5: + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + dev: true + + /@nodelib/fs.stat/2.0.5: + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + dev: true + + /@nodelib/fs.walk/1.2.8: + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.13.0 + dev: true + + /@types/glob/7.2.0: + resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} + dependencies: + '@types/minimatch': 3.0.5 + '@types/node': 17.0.23 + dev: true + + /@types/minimatch/3.0.5: + resolution: {integrity: sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==} + dev: true + + /@types/minimist/1.2.2: + resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} + dev: true + + /@types/node/17.0.23: + resolution: {integrity: sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw==} + dev: true + + /@types/normalize-package-data/2.4.1: + resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} + dev: true + + /abbrev/1.1.1: + resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} + dev: true + + /aggregate-error/3.1.0: + resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} + engines: {node: '>=8'} + dependencies: + clean-stack: 2.2.0 + indent-string: 4.0.0 + dev: true + + /ajv/6.12.6: + resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + dependencies: + fast-deep-equal: 3.1.3 + fast-json-stable-stringify: 2.1.0 + json-schema-traverse: 0.4.1 + uri-js: 4.4.1 + dev: true + + /amdefine/1.0.1: + resolution: {integrity: sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=} + engines: {node: '>=0.4.2'} + dev: true + + /ansi-colors/1.1.0: + resolution: {integrity: sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==} + engines: {node: '>=0.10.0'} + dependencies: + ansi-wrap: 0.1.0 + dev: true + + /ansi-gray/0.1.1: + resolution: {integrity: sha1-KWLPVOyXksSFEKPetSRDaGHvclE=} + engines: {node: '>=0.10.0'} + dependencies: + ansi-wrap: 0.1.0 + dev: true + + /ansi-regex/2.1.1: + resolution: {integrity: sha1-w7M6te42DYbg5ijwRorn7yfWVN8=} + engines: {node: '>=0.10.0'} + dev: true + + /ansi-regex/4.1.1: + resolution: {integrity: sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==} + engines: {node: '>=6'} + dev: true + + /ansi-regex/5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + dev: true + + /ansi-styles/2.2.1: + resolution: {integrity: sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=} + engines: {node: '>=0.10.0'} + dev: true + + /ansi-styles/3.2.1: + resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} + engines: {node: '>=4'} + dependencies: + color-convert: 1.9.3 + dev: true + + /ansi-wrap/0.1.0: + resolution: {integrity: sha1-qCJQ3bABXponyoLoLqYDu/pF768=} + engines: {node: '>=0.10.0'} + dev: true + + /anymatch/2.0.0: + resolution: {integrity: sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==} + dependencies: + micromatch: 3.1.10 + normalize-path: 2.1.1 + dev: true + + /append-buffer/1.0.2: + resolution: {integrity: sha1-2CIM9GYIFSXv6lBhTz3mUU36WPE=} + engines: {node: '>=0.10.0'} + dependencies: + buffer-equal: 1.0.0 + dev: true + + /aproba/1.2.0: + resolution: {integrity: sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==} + dev: true + + /archy/1.0.0: + resolution: {integrity: sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=} + dev: true + + /are-we-there-yet/1.1.7: + resolution: {integrity: sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==} + dependencies: + delegates: 1.0.0 + readable-stream: 2.3.7 + dev: true + + /arr-diff/4.0.0: + resolution: {integrity: sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=} + engines: {node: '>=0.10.0'} + dev: true + + /arr-filter/1.1.2: + resolution: {integrity: sha1-Q/3d0JHo7xGqTEXZzcGOLf8XEe4=} + engines: {node: '>=0.10.0'} + dependencies: + make-iterator: 1.0.1 + dev: true + + /arr-flatten/1.1.0: + resolution: {integrity: sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==} + engines: {node: '>=0.10.0'} + dev: true + + /arr-map/2.0.2: + resolution: {integrity: sha1-Onc0X/wc814qkYJWAfnljy4kysQ=} + engines: {node: '>=0.10.0'} + dependencies: + make-iterator: 1.0.1 + dev: true + + /arr-union/3.1.0: + resolution: {integrity: sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=} + engines: {node: '>=0.10.0'} + dev: true + + /array-each/1.0.1: + resolution: {integrity: sha1-p5SvDAWrF1KEbudTofIRoFugxE8=} + engines: {node: '>=0.10.0'} + dev: true + + /array-initial/1.1.0: + resolution: {integrity: sha1-L6dLJnOTccOUe9enrcc74zSz15U=} + engines: {node: '>=0.10.0'} + dependencies: + array-slice: 1.1.0 + is-number: 4.0.0 + dev: true + + /array-last/1.3.0: + resolution: {integrity: sha512-eOCut5rXlI6aCOS7Z7kCplKRKyiFQ6dHFBem4PwlwKeNFk2/XxTrhRh5T9PyaEWGy/NHTZWbY+nsZlNFJu9rYg==} + engines: {node: '>=0.10.0'} + dependencies: + is-number: 4.0.0 + dev: true + + /array-slice/1.1.0: + resolution: {integrity: sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==} + engines: {node: '>=0.10.0'} + dev: true + + /array-sort/1.0.0: + resolution: {integrity: sha512-ihLeJkonmdiAsD7vpgN3CRcx2J2S0TiYW+IS/5zHBI7mKUq3ySvBdzzBfD236ubDBQFiiyG3SWCPc+msQ9KoYg==} + engines: {node: '>=0.10.0'} + dependencies: + default-compare: 1.0.0 + get-value: 2.0.6 + kind-of: 5.1.0 + dev: true + + /array-union/2.1.0: + resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} + engines: {node: '>=8'} + dev: true + + /array-unique/0.3.2: + resolution: {integrity: sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=} + engines: {node: '>=0.10.0'} + dev: true + + /arrify/1.0.1: + resolution: {integrity: sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=} + engines: {node: '>=0.10.0'} + dev: true + + /asn1/0.2.6: + resolution: {integrity: sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==} + dependencies: + safer-buffer: 2.1.2 + dev: true + + /assert-plus/1.0.0: + resolution: {integrity: sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=} + engines: {node: '>=0.8'} + dev: true + + /assign-symbols/1.0.0: + resolution: {integrity: sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=} + engines: {node: '>=0.10.0'} + dev: true + + /async-done/1.3.2: + resolution: {integrity: sha512-uYkTP8dw2og1tu1nmza1n1CMW0qb8gWWlwqMmLb7MhBVs4BXrFziT6HXUd+/RlRA/i4H9AkofYloUbs1fwMqlw==} + engines: {node: '>= 0.10'} + dependencies: + end-of-stream: 1.4.4 + once: 1.4.0 + process-nextick-args: 2.0.1 + stream-exhaust: 1.0.2 + dev: true + + /async-each/1.0.3: + resolution: {integrity: sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==} + dev: true + + /async-foreach/0.1.3: + resolution: {integrity: sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=} + dev: true + + /async-settle/1.0.0: + resolution: {integrity: sha1-HQqRS7Aldb7IqPOnTlCA9yssDGs=} + engines: {node: '>= 0.10'} + dependencies: + async-done: 1.3.2 + dev: true + + /asynckit/0.4.0: + resolution: {integrity: sha1-x57Zf380y48robyXkLzDZkdLS3k=} + dev: true + + /atob/2.1.2: + resolution: {integrity: sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==} + engines: {node: '>= 4.5.0'} + hasBin: true + dev: true + + /aws-sign2/0.7.0: + resolution: {integrity: sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=} + dev: true + + /aws4/1.11.0: + resolution: {integrity: sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==} + dev: true + + /bach/1.2.0: + resolution: {integrity: sha1-Szzpa/JxNPeaG0FKUcFONMO9mIA=} + engines: {node: '>= 0.10'} + dependencies: + arr-filter: 1.1.2 + arr-flatten: 1.1.0 + arr-map: 2.0.2 + array-each: 1.0.1 + array-initial: 1.1.0 + array-last: 1.3.0 + async-done: 1.3.2 + async-settle: 1.0.0 + now-and-later: 2.0.1 + dev: true + + /balanced-match/1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + dev: true + + /base/0.11.2: + resolution: {integrity: sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==} + engines: {node: '>=0.10.0'} + dependencies: + cache-base: 1.0.1 + class-utils: 0.3.6 + component-emitter: 1.3.0 + define-property: 1.0.0 + isobject: 3.0.1 + mixin-deep: 1.3.2 + pascalcase: 0.1.1 + dev: true + + /bcrypt-pbkdf/1.0.2: + resolution: {integrity: sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=} + dependencies: + tweetnacl: 0.14.5 + dev: true + + /binary-extensions/1.13.1: + resolution: {integrity: sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==} + engines: {node: '>=0.10.0'} + dev: true + + /bindings/1.5.0: + resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} + dependencies: + file-uri-to-path: 1.0.0 + dev: true + optional: true + + /brace-expansion/1.1.11: + resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + dev: true + + /braces/2.3.2: + resolution: {integrity: sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==} + engines: {node: '>=0.10.0'} + dependencies: + arr-flatten: 1.1.0 + array-unique: 0.3.2 + extend-shallow: 2.0.1 + fill-range: 4.0.0 + isobject: 3.0.1 + repeat-element: 1.1.4 + snapdragon: 0.8.2 + snapdragon-node: 2.1.1 + split-string: 3.1.0 + to-regex: 3.0.2 + dev: true + + /braces/3.0.2: + resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} + engines: {node: '>=8'} + dependencies: + fill-range: 7.0.1 + dev: true + + /buffer-equal/1.0.0: + resolution: {integrity: sha1-WWFrSYME1Var1GaWayLu2j7KX74=} + engines: {node: '>=0.4.0'} + dev: true + + /buffer-from/1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + dev: true + + /cache-base/1.0.1: + resolution: {integrity: sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==} + engines: {node: '>=0.10.0'} + dependencies: + collection-visit: 1.0.0 + component-emitter: 1.3.0 + get-value: 2.0.6 + has-value: 1.0.0 + isobject: 3.0.1 + set-value: 2.0.1 + to-object-path: 0.3.0 + union-value: 1.0.1 + unset-value: 1.0.0 + dev: true + + /call-bind/1.0.2: + resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} + dependencies: + function-bind: 1.1.1 + get-intrinsic: 1.1.1 + dev: true + + /camelcase-keys/6.2.2: + resolution: {integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==} + engines: {node: '>=8'} + dependencies: + camelcase: 5.3.1 + map-obj: 4.3.0 + quick-lru: 4.0.1 + dev: true + + /camelcase/3.0.0: + resolution: {integrity: sha1-MvxLn82vhF/N9+c7uXysImHwqwo=} + engines: {node: '>=0.10.0'} + dev: true + + /camelcase/5.3.1: + resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} + engines: {node: '>=6'} + dev: true + + /caseless/0.12.0: + resolution: {integrity: sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=} + dev: true + + /chalk/1.1.3: + resolution: {integrity: sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=} + engines: {node: '>=0.10.0'} + dependencies: + ansi-styles: 2.2.1 + escape-string-regexp: 1.0.5 + has-ansi: 2.0.0 + strip-ansi: 3.0.1 + supports-color: 2.0.0 + dev: true + + /chalk/2.4.2: + resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} + engines: {node: '>=4'} + dependencies: + ansi-styles: 3.2.1 + escape-string-regexp: 1.0.5 + supports-color: 5.5.0 + dev: true + + /chokidar/2.1.8: + resolution: {integrity: sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==} + deprecated: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies + dependencies: + anymatch: 2.0.0 + async-each: 1.0.3 + braces: 2.3.2 + glob-parent: 3.1.0 + inherits: 2.0.4 + is-binary-path: 1.0.1 + is-glob: 4.0.3 + normalize-path: 3.0.0 + path-is-absolute: 1.0.1 + readdirp: 2.2.1 + upath: 1.2.0 + optionalDependencies: + fsevents: 1.2.13 + dev: true + + /chownr/2.0.0: + resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} + engines: {node: '>=10'} + dev: true + + /class-utils/0.3.6: + resolution: {integrity: sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==} + engines: {node: '>=0.10.0'} + dependencies: + arr-union: 3.1.0 + define-property: 0.2.5 + isobject: 3.0.1 + static-extend: 0.1.2 + dev: true + + /clean-css/4.2.3: + resolution: {integrity: sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA==} + engines: {node: '>= 4.0'} + dependencies: + source-map: 0.6.1 + dev: true + + /clean-stack/2.2.0: + resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} + engines: {node: '>=6'} + dev: true + + /cliui/3.2.0: + resolution: {integrity: sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=} + dependencies: + string-width: 1.0.2 + strip-ansi: 3.0.1 + wrap-ansi: 2.1.0 + dev: true + + /cliui/5.0.0: + resolution: {integrity: sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==} + dependencies: + string-width: 3.1.0 + strip-ansi: 5.2.0 + wrap-ansi: 5.1.0 + dev: true + + /clone-buffer/1.0.0: + resolution: {integrity: sha1-4+JbIHrE5wGvch4staFnksrD3Fg=} + engines: {node: '>= 0.10'} + dev: true + + /clone-stats/1.0.0: + resolution: {integrity: sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=} + dev: true + + /clone/2.1.2: + resolution: {integrity: sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=} + engines: {node: '>=0.8'} + dev: true + + /cloneable-readable/1.1.3: + resolution: {integrity: sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ==} + dependencies: + inherits: 2.0.4 + process-nextick-args: 2.0.1 + readable-stream: 2.3.7 + dev: true + + /code-point-at/1.1.0: + resolution: {integrity: sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=} + engines: {node: '>=0.10.0'} + dev: true + + /collection-map/1.0.0: + resolution: {integrity: sha1-rqDwb40mx4DCt1SUOFVEsiVa8Yw=} + engines: {node: '>=0.10.0'} + dependencies: + arr-map: 2.0.2 + for-own: 1.0.0 + make-iterator: 1.0.1 + dev: true + + /collection-visit/1.0.0: + resolution: {integrity: sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=} + engines: {node: '>=0.10.0'} + dependencies: + map-visit: 1.0.0 + object-visit: 1.0.1 + dev: true + + /color-convert/1.9.3: + resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + dependencies: + color-name: 1.1.3 + dev: true + + /color-name/1.1.3: + resolution: {integrity: sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=} + dev: true + + /color-support/1.1.3: + resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} + hasBin: true + dev: true + + /combined-stream/1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + dependencies: + delayed-stream: 1.0.0 + dev: true + + /component-emitter/1.3.0: + resolution: {integrity: sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==} + dev: true + + /concat-map/0.0.1: + resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + dev: true + + /concat-stream/1.6.2: + resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==} + engines: {'0': node >= 0.8} + dependencies: + buffer-from: 1.1.2 + inherits: 2.0.4 + readable-stream: 2.3.7 + typedarray: 0.0.6 + dev: true + + /concat-with-sourcemaps/1.1.0: + resolution: {integrity: sha512-4gEjHJFT9e+2W/77h/DS5SGUgwDaOwprX8L/gl5+3ixnzkVJJsZWDSelmN3Oilw3LNDZjZV0yqH1hLG3k6nghg==} + dependencies: + source-map: 0.6.1 + dev: true + + /console-control-strings/1.1.0: + resolution: {integrity: sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=} + dev: true + + /convert-source-map/1.8.0: + resolution: {integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==} + dependencies: + safe-buffer: 5.1.2 + dev: true + + /copy-descriptor/0.1.1: + resolution: {integrity: sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=} + engines: {node: '>=0.10.0'} + dev: true + + /copy-props/2.0.5: + resolution: {integrity: sha512-XBlx8HSqrT0ObQwmSzM7WE5k8FxTV75h1DX1Z3n6NhQ/UYYAvInWYmG06vFt7hQZArE2fuO62aihiWIVQwh1sw==} + dependencies: + each-props: 1.3.2 + is-plain-object: 5.0.0 + dev: true + + /core-util-is/1.0.2: + resolution: {integrity: sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=} + dev: true + + /core-util-is/1.0.3: + resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} + dev: true + + /cross-spawn/7.0.3: + resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} + engines: {node: '>= 8'} + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + dev: true + + /d/1.0.1: + resolution: {integrity: sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==} + dependencies: + es5-ext: 0.10.59 + type: 1.2.0 + dev: true + + /dashdash/1.14.1: + resolution: {integrity: sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=} + engines: {node: '>=0.10'} + dependencies: + assert-plus: 1.0.0 + dev: true + + /debug/2.6.9: + resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + dependencies: + ms: 2.0.0 + dev: true + + /decamelize-keys/1.1.0: + resolution: {integrity: sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=} + engines: {node: '>=0.10.0'} + dependencies: + decamelize: 1.2.0 + map-obj: 1.0.1 + dev: true + + /decamelize/1.2.0: + resolution: {integrity: sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=} + engines: {node: '>=0.10.0'} + dev: true + + /decode-uri-component/0.2.0: + resolution: {integrity: sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=} + engines: {node: '>=0.10'} + dev: true + + /default-compare/1.0.0: + resolution: {integrity: sha512-QWfXlM0EkAbqOCbD/6HjdwT19j7WCkMyiRhWilc4H9/5h/RzTF9gv5LYh1+CmDV5d1rki6KAWLtQale0xt20eQ==} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 5.1.0 + dev: true + + /default-resolution/2.0.0: + resolution: {integrity: sha1-vLgrqnKtebQmp2cy8aga1t8m1oQ=} + engines: {node: '>= 0.10'} + dev: true + + /define-properties/1.1.3: + resolution: {integrity: sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==} + engines: {node: '>= 0.4'} + dependencies: + object-keys: 1.1.1 + dev: true + + /define-property/0.2.5: + resolution: {integrity: sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=} + engines: {node: '>=0.10.0'} + dependencies: + is-descriptor: 0.1.6 + dev: true + + /define-property/1.0.0: + resolution: {integrity: sha1-dp66rz9KY6rTr56NMEybvnm/sOY=} + engines: {node: '>=0.10.0'} + dependencies: + is-descriptor: 1.0.2 + dev: true + + /define-property/2.0.2: + resolution: {integrity: sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==} + engines: {node: '>=0.10.0'} + dependencies: + is-descriptor: 1.0.2 + isobject: 3.0.1 + dev: true + + /del/5.1.0: + resolution: {integrity: sha512-wH9xOVHnczo9jN2IW68BabcecVPxacIA3g/7z6vhSU/4stOKQzeCRK0yD0A24WiAAUJmmVpWqrERcTxnLo3AnA==} + engines: {node: '>=8'} + dependencies: + globby: 10.0.2 + graceful-fs: 4.2.9 + is-glob: 4.0.3 + is-path-cwd: 2.2.0 + is-path-inside: 3.0.3 + p-map: 3.0.0 + rimraf: 3.0.2 + slash: 3.0.0 + dev: true + + /delayed-stream/1.0.0: + resolution: {integrity: sha1-3zrhmayt+31ECqrgsp4icrJOxhk=} + engines: {node: '>=0.4.0'} + dev: true + + /delegates/1.0.0: + resolution: {integrity: sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=} + dev: true + + /detect-file/1.0.0: + resolution: {integrity: sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=} + engines: {node: '>=0.10.0'} + dev: true + + /diff-match-patch/1.0.5: + resolution: {integrity: sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==} + dev: false + + /dir-glob/3.0.1: + resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} + engines: {node: '>=8'} + dependencies: + path-type: 4.0.0 + dev: true + + /duplexify/3.7.1: + resolution: {integrity: sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==} + dependencies: + end-of-stream: 1.4.4 + inherits: 2.0.4 + readable-stream: 2.3.7 + stream-shift: 1.0.1 + dev: true + + /each-props/1.3.2: + resolution: {integrity: sha512-vV0Hem3zAGkJAyU7JSjixeU66rwdynTAa1vofCrSA5fEln+m67Az9CcnkVD776/fsN/UjIWmBDoNRS6t6G9RfA==} + dependencies: + is-plain-object: 2.0.4 + object.defaults: 1.1.0 + dev: true + + /ecc-jsbn/0.1.2: + resolution: {integrity: sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=} + dependencies: + jsbn: 0.1.1 + safer-buffer: 2.1.2 + dev: true + + /emoji-regex/7.0.3: + resolution: {integrity: sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==} + dev: true + + /end-of-stream/1.4.4: + resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} + dependencies: + once: 1.4.0 + dev: true + + /env-paths/2.2.1: + resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} + engines: {node: '>=6'} + dev: true + + /error-ex/1.3.2: + resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} + dependencies: + is-arrayish: 0.2.1 + dev: true + + /es5-ext/0.10.59: + resolution: {integrity: sha512-cOgyhW0tIJyQY1Kfw6Kr0viu9ZlUctVchRMZ7R0HiH3dxTSp5zJDLecwxUqPUrGKMsgBI1wd1FL+d9Jxfi4cLw==} + engines: {node: '>=0.10'} + requiresBuild: true + dependencies: + es6-iterator: 2.0.3 + es6-symbol: 3.1.3 + next-tick: 1.1.0 + dev: true + + /es6-iterator/2.0.3: + resolution: {integrity: sha1-p96IkUGgWpSwhUQDstCg+/qY87c=} + dependencies: + d: 1.0.1 + es5-ext: 0.10.59 + es6-symbol: 3.1.3 + dev: true + + /es6-symbol/3.1.3: + resolution: {integrity: sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==} + dependencies: + d: 1.0.1 + ext: 1.6.0 + dev: true + + /es6-weak-map/2.0.3: + resolution: {integrity: sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==} + dependencies: + d: 1.0.1 + es5-ext: 0.10.59 + es6-iterator: 2.0.3 + es6-symbol: 3.1.3 + dev: true + + /escape-string-regexp/1.0.5: + resolution: {integrity: sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=} + engines: {node: '>=0.8.0'} + dev: true + + /expand-brackets/2.1.4: + resolution: {integrity: sha1-t3c14xXOMPa27/D4OwQVGiJEliI=} + engines: {node: '>=0.10.0'} + dependencies: + debug: 2.6.9 + define-property: 0.2.5 + extend-shallow: 2.0.1 + posix-character-classes: 0.1.1 + regex-not: 1.0.2 + snapdragon: 0.8.2 + to-regex: 3.0.2 + dev: true + + /expand-tilde/2.0.2: + resolution: {integrity: sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=} + engines: {node: '>=0.10.0'} + dependencies: + homedir-polyfill: 1.0.3 + dev: true + + /ext/1.6.0: + resolution: {integrity: sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==} + dependencies: + type: 2.6.0 + dev: true + + /extend-shallow/2.0.1: + resolution: {integrity: sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=} + engines: {node: '>=0.10.0'} + dependencies: + is-extendable: 0.1.1 + dev: true + + /extend-shallow/3.0.2: + resolution: {integrity: sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=} + engines: {node: '>=0.10.0'} + dependencies: + assign-symbols: 1.0.0 + is-extendable: 1.0.1 + dev: true + + /extend/3.0.2: + resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} + dev: true + + /extglob/2.0.4: + resolution: {integrity: sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==} + engines: {node: '>=0.10.0'} + dependencies: + array-unique: 0.3.2 + define-property: 1.0.0 + expand-brackets: 2.1.4 + extend-shallow: 2.0.1 + fragment-cache: 0.2.1 + regex-not: 1.0.2 + snapdragon: 0.8.2 + to-regex: 3.0.2 + dev: true + + /extsprintf/1.3.0: + resolution: {integrity: sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=} + engines: {'0': node >=0.6.0} + dev: true + + /fancy-log/1.3.3: + resolution: {integrity: sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==} + engines: {node: '>= 0.10'} + dependencies: + ansi-gray: 0.1.1 + color-support: 1.1.3 + parse-node-version: 1.0.1 + time-stamp: 1.1.0 + dev: true + + /fast-deep-equal/3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + dev: true + + /fast-glob/3.2.11: + resolution: {integrity: sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.5 + dev: true + + /fast-json-stable-stringify/2.1.0: + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + dev: true + + /fast-levenshtein/1.1.4: + resolution: {integrity: sha1-5qdUzI8V5YmHqpy9J69m/W9OWvk=} + dev: true + + /fastq/1.13.0: + resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} + dependencies: + reusify: 1.0.4 + dev: true + + /file-uri-to-path/1.0.0: + resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} + dev: true + optional: true + + /fill-range/4.0.0: + resolution: {integrity: sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=} + engines: {node: '>=0.10.0'} + dependencies: + extend-shallow: 2.0.1 + is-number: 3.0.0 + repeat-string: 1.6.1 + to-regex-range: 2.1.1 + dev: true + + /fill-range/7.0.1: + resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} + engines: {node: '>=8'} + dependencies: + to-regex-range: 5.0.1 + dev: true + + /find-up/1.1.2: + resolution: {integrity: sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=} + engines: {node: '>=0.10.0'} + dependencies: + path-exists: 2.1.0 + pinkie-promise: 2.0.1 + dev: true + + /find-up/3.0.0: + resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==} + engines: {node: '>=6'} + dependencies: + locate-path: 3.0.0 + dev: true + + /find-up/4.1.0: + resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} + engines: {node: '>=8'} + dependencies: + locate-path: 5.0.0 + path-exists: 4.0.0 + dev: true + + /findup-sync/2.0.0: + resolution: {integrity: sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=} + engines: {node: '>= 0.10'} + dependencies: + detect-file: 1.0.0 + is-glob: 3.1.0 + micromatch: 3.1.10 + resolve-dir: 1.0.1 + dev: true + + /findup-sync/3.0.0: + resolution: {integrity: sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==} + engines: {node: '>= 0.10'} + dependencies: + detect-file: 1.0.0 + is-glob: 4.0.3 + micromatch: 3.1.10 + resolve-dir: 1.0.1 + dev: true + + /fined/1.2.0: + resolution: {integrity: sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng==} + engines: {node: '>= 0.10'} + dependencies: + expand-tilde: 2.0.2 + is-plain-object: 2.0.4 + object.defaults: 1.1.0 + object.pick: 1.3.0 + parse-filepath: 1.0.2 + dev: true + + /flagged-respawn/1.0.1: + resolution: {integrity: sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==} + engines: {node: '>= 0.10'} + dev: true + + /flush-write-stream/1.1.1: + resolution: {integrity: sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==} + dependencies: + inherits: 2.0.4 + readable-stream: 2.3.7 + dev: true + + /for-in/1.0.2: + resolution: {integrity: sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=} + engines: {node: '>=0.10.0'} + dev: true + + /for-own/1.0.0: + resolution: {integrity: sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=} + engines: {node: '>=0.10.0'} + dependencies: + for-in: 1.0.2 + dev: true + + /forever-agent/0.6.1: + resolution: {integrity: sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=} + dev: true + + /form-data/2.3.3: + resolution: {integrity: sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==} + engines: {node: '>= 0.12'} + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 + dev: true + + /fragment-cache/0.2.1: + resolution: {integrity: sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=} + engines: {node: '>=0.10.0'} + dependencies: + map-cache: 0.2.2 + dev: true + + /fs-minipass/2.1.0: + resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} + engines: {node: '>= 8'} + dependencies: + minipass: 3.1.6 + dev: true + + /fs-mkdirp-stream/1.0.0: + resolution: {integrity: sha1-C3gV/DIBxqaeFNuYzgmMFpNSWes=} + engines: {node: '>= 0.10'} + dependencies: + graceful-fs: 4.2.9 + through2: 2.0.5 + dev: true + + /fs.realpath/1.0.0: + resolution: {integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=} + dev: true + + /fsevents/1.2.13: + resolution: {integrity: sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==} + engines: {node: '>= 4.0'} + os: [darwin] + deprecated: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. + requiresBuild: true + dependencies: + bindings: 1.5.0 + nan: 2.15.0 + dev: true + optional: true + + /function-bind/1.1.1: + resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} + dev: true + + /gauge/2.7.4: + resolution: {integrity: sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=} + dependencies: + aproba: 1.2.0 + console-control-strings: 1.1.0 + has-unicode: 2.0.1 + object-assign: 4.1.1 + signal-exit: 3.0.7 + string-width: 1.0.2 + strip-ansi: 3.0.1 + wide-align: 1.1.5 + dev: true + + /gaze/1.1.3: + resolution: {integrity: sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==} + engines: {node: '>= 4.0.0'} + dependencies: + globule: 1.3.3 + dev: true + + /get-caller-file/1.0.3: + resolution: {integrity: sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==} + dev: true + + /get-caller-file/2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + dev: true + + /get-intrinsic/1.1.1: + resolution: {integrity: sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==} + dependencies: + function-bind: 1.1.1 + has: 1.0.3 + has-symbols: 1.0.3 + dev: true + + /get-stdin/4.0.1: + resolution: {integrity: sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=} + engines: {node: '>=0.10.0'} + dev: true + + /get-value/2.0.6: + resolution: {integrity: sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=} + engines: {node: '>=0.10.0'} + dev: true + + /getpass/0.1.7: + resolution: {integrity: sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=} + dependencies: + assert-plus: 1.0.0 + dev: true + + /glob-parent/3.1.0: + resolution: {integrity: sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=} + dependencies: + is-glob: 3.1.0 + path-dirname: 1.0.2 + dev: true + + /glob-parent/5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + dependencies: + is-glob: 4.0.3 + dev: true + + /glob-stream/6.1.0: + resolution: {integrity: sha1-cEXJlBOz65SIjYOrRtC0BMx73eQ=} + engines: {node: '>= 0.10'} + dependencies: + extend: 3.0.2 + glob: 7.2.0 + glob-parent: 3.1.0 + is-negated-glob: 1.0.0 + ordered-read-streams: 1.0.1 + pumpify: 1.5.1 + readable-stream: 2.3.7 + remove-trailing-separator: 1.1.0 + to-absolute-glob: 2.0.2 + unique-stream: 2.3.1 + dev: true + + /glob-watcher/5.0.5: + resolution: {integrity: sha512-zOZgGGEHPklZNjZQaZ9f41i7F2YwE+tS5ZHrDhbBCk3stwahn5vQxnFmBJZHoYdusR6R1bLSXeGUy/BhctwKzw==} + engines: {node: '>= 0.10'} + dependencies: + anymatch: 2.0.0 + async-done: 1.3.2 + chokidar: 2.1.8 + is-negated-glob: 1.0.0 + just-debounce: 1.1.0 + normalize-path: 3.0.0 + object.defaults: 1.1.0 + dev: true + + /glob/7.1.7: + resolution: {integrity: sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.0.8 + once: 1.4.0 + path-is-absolute: 1.0.1 + dev: true + + /glob/7.2.0: + resolution: {integrity: sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + dev: true + + /global-modules/1.0.0: + resolution: {integrity: sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==} + engines: {node: '>=0.10.0'} + dependencies: + global-prefix: 1.0.2 + is-windows: 1.0.2 + resolve-dir: 1.0.1 + dev: true + + /global-prefix/1.0.2: + resolution: {integrity: sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=} + engines: {node: '>=0.10.0'} + dependencies: + expand-tilde: 2.0.2 + homedir-polyfill: 1.0.3 + ini: 1.3.8 + is-windows: 1.0.2 + which: 1.3.1 + dev: true + + /globby/10.0.2: + resolution: {integrity: sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==} + engines: {node: '>=8'} + dependencies: + '@types/glob': 7.2.0 + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.2.11 + glob: 7.2.0 + ignore: 5.2.0 + merge2: 1.4.1 + slash: 3.0.0 + dev: true + + /globule/1.3.3: + resolution: {integrity: sha512-mb1aYtDbIjTu4ShMB85m3UzjX9BVKe9WCzsnfMSZk+K5GpIbBOexgg4PPCt5eHDEG5/ZQAUX2Kct02zfiPLsKg==} + engines: {node: '>= 0.10'} + dependencies: + glob: 7.1.7 + lodash: 4.17.21 + minimatch: 3.0.8 + dev: true + + /glogg/1.0.2: + resolution: {integrity: sha512-5mwUoSuBk44Y4EshyiqcH95ZntbDdTQqA3QYSrxmzj28Ai0vXBGMH1ApSANH14j2sIRtqCEyg6PfsuP7ElOEDA==} + engines: {node: '>= 0.10'} + dependencies: + sparkles: 1.0.1 + dev: true + + /graceful-fs/4.2.9: + resolution: {integrity: sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==} + dev: true + + /gulp-clean-css/4.3.0: + resolution: {integrity: sha512-mGyeT3qqFXTy61j0zOIciS4MkYziF2U594t2Vs9rUnpkEHqfu6aDITMp8xOvZcvdX61Uz3y1mVERRYmjzQF5fg==} + dependencies: + clean-css: 4.2.3 + plugin-error: 1.0.1 + through2: 3.0.1 + vinyl-sourcemaps-apply: 0.2.1 + dev: true + + /gulp-cli/2.3.0: + resolution: {integrity: sha512-zzGBl5fHo0EKSXsHzjspp3y5CONegCm8ErO5Qh0UzFzk2y4tMvzLWhoDokADbarfZRL2pGpRp7yt6gfJX4ph7A==} + engines: {node: '>= 0.10'} + hasBin: true + dependencies: + ansi-colors: 1.1.0 + archy: 1.0.0 + array-sort: 1.0.0 + color-support: 1.1.3 + concat-stream: 1.6.2 + copy-props: 2.0.5 + fancy-log: 1.3.3 + gulplog: 1.0.0 + interpret: 1.4.0 + isobject: 3.0.1 + liftoff: 3.1.0 + matchdep: 2.0.0 + mute-stdout: 1.0.1 + pretty-hrtime: 1.0.3 + replace-homedir: 1.0.0 + semver-greatest-satisfied-range: 1.1.0 + v8flags: 3.2.0 + yargs: 7.1.2 + dev: true + + /gulp-concat/2.6.1: + resolution: {integrity: sha1-Yz0WyV2IUEYorQJmVmPO5aR5M1M=} + engines: {node: '>= 0.10'} + dependencies: + concat-with-sourcemaps: 1.1.0 + through2: 2.0.5 + vinyl: 2.2.1 + dev: true + + /gulp-rename/1.4.0: + resolution: {integrity: sha512-swzbIGb/arEoFK89tPY58vg3Ok1bw+d35PfUNwWqdo7KM4jkmuGA78JiDNqR+JeZFaeeHnRg9N7aihX3YPmsyg==} + engines: {node: '>=4'} + dev: true + + /gulp-sass/5.1.0: + resolution: {integrity: sha512-7VT0uaF+VZCmkNBglfe1b34bxn/AfcssquLKVDYnCDJ3xNBaW7cUuI3p3BQmoKcoKFrs9jdzUxyb+u+NGfL4OQ==} + engines: {node: '>=12'} + dependencies: + lodash.clonedeep: 4.5.0 + picocolors: 1.0.0 + plugin-error: 1.0.1 + replace-ext: 2.0.0 + strip-ansi: 6.0.1 + vinyl-sourcemaps-apply: 0.2.1 + dev: true + + /gulp-uglify/3.0.2: + resolution: {integrity: sha512-gk1dhB74AkV2kzqPMQBLA3jPoIAPd/nlNzP2XMDSG8XZrqnlCiDGAqC+rZOumzFvB5zOphlFh6yr3lgcAb/OOg==} + dependencies: + array-each: 1.0.1 + extend-shallow: 3.0.2 + gulplog: 1.0.0 + has-gulplog: 0.1.0 + isobject: 3.0.1 + make-error-cause: 1.2.2 + safe-buffer: 5.2.1 + through2: 2.0.5 + uglify-js: 3.15.3 + vinyl-sourcemaps-apply: 0.2.1 + dev: true + + /gulp/4.0.2: + resolution: {integrity: sha512-dvEs27SCZt2ibF29xYgmnwwCYZxdxhQ/+LFWlbAW8y7jt68L/65402Lz3+CKy0Ov4rOs+NERmDq7YlZaDqUIfA==} + engines: {node: '>= 0.10'} + hasBin: true + dependencies: + glob-watcher: 5.0.5 + gulp-cli: 2.3.0 + undertaker: 1.3.0 + vinyl-fs: 3.0.3 + dev: true + + /gulplog/1.0.0: + resolution: {integrity: sha1-4oxNRdBey77YGDY86PnFkmIp/+U=} + engines: {node: '>= 0.10'} + dependencies: + glogg: 1.0.2 + dev: true + + /har-schema/2.0.0: + resolution: {integrity: sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=} + engines: {node: '>=4'} + dev: true + + /har-validator/5.1.5: + resolution: {integrity: sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==} + engines: {node: '>=6'} + deprecated: this library is no longer supported + dependencies: + ajv: 6.12.6 + har-schema: 2.0.0 + dev: true + + /hard-rejection/2.1.0: + resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} + engines: {node: '>=6'} + dev: true + + /has-ansi/2.0.0: + resolution: {integrity: sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=} + engines: {node: '>=0.10.0'} + dependencies: + ansi-regex: 2.1.1 + dev: true + + /has-flag/3.0.0: + resolution: {integrity: sha1-tdRU3CGZriJWmfNGfloH87lVuv0=} + engines: {node: '>=4'} + dev: true + + /has-gulplog/0.1.0: + resolution: {integrity: sha1-ZBTIKRNpfaUVkDl9r7EvIpZ4Ec4=} + engines: {node: '>= 0.10'} + dependencies: + sparkles: 1.0.1 + dev: true + + /has-symbols/1.0.3: + resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + engines: {node: '>= 0.4'} + dev: true + + /has-unicode/2.0.1: + resolution: {integrity: sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=} + dev: true + + /has-value/0.3.1: + resolution: {integrity: sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=} + engines: {node: '>=0.10.0'} + dependencies: + get-value: 2.0.6 + has-values: 0.1.4 + isobject: 2.1.0 + dev: true + + /has-value/1.0.0: + resolution: {integrity: sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=} + engines: {node: '>=0.10.0'} + dependencies: + get-value: 2.0.6 + has-values: 1.0.0 + isobject: 3.0.1 + dev: true + + /has-values/0.1.4: + resolution: {integrity: sha1-bWHeldkd/Km5oCCJrThL/49it3E=} + engines: {node: '>=0.10.0'} + dev: true + + /has-values/1.0.0: + resolution: {integrity: sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=} + engines: {node: '>=0.10.0'} + dependencies: + is-number: 3.0.0 + kind-of: 4.0.0 + dev: true + + /has/1.0.3: + resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} + engines: {node: '>= 0.4.0'} + dependencies: + function-bind: 1.1.1 + dev: true + + /homedir-polyfill/1.0.3: + resolution: {integrity: sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==} + engines: {node: '>=0.10.0'} + dependencies: + parse-passwd: 1.0.0 + dev: true + + /hosted-git-info/2.8.9: + resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + dev: true + + /hosted-git-info/4.1.0: + resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} + engines: {node: '>=10'} + dependencies: + lru-cache: 6.0.0 + dev: true + + /http-signature/1.2.0: + resolution: {integrity: sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=} + engines: {node: '>=0.8', npm: '>=1.3.7'} + dependencies: + assert-plus: 1.0.0 + jsprim: 1.4.2 + sshpk: 1.17.0 + dev: true + + /ignore/5.2.0: + resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==} + engines: {node: '>= 4'} + dev: true + + /indent-string/4.0.0: + resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} + engines: {node: '>=8'} + dev: true + + /inflight/1.0.6: + resolution: {integrity: sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=} + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + dev: true + + /inherits/2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + dev: true + + /ini/1.3.8: + resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + dev: true + + /interpret/1.4.0: + resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} + engines: {node: '>= 0.10'} + dev: true + + /invert-kv/1.0.0: + resolution: {integrity: sha1-EEqOSqym09jNFXqO+L+rLXo//bY=} + engines: {node: '>=0.10.0'} + dev: true + + /is-absolute/1.0.0: + resolution: {integrity: sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==} + engines: {node: '>=0.10.0'} + dependencies: + is-relative: 1.0.0 + is-windows: 1.0.2 + dev: true + + /is-accessor-descriptor/0.1.6: + resolution: {integrity: sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 3.2.2 + dev: true + + /is-accessor-descriptor/1.0.0: + resolution: {integrity: sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 6.0.3 + dev: true + + /is-arrayish/0.2.1: + resolution: {integrity: sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=} + dev: true + + /is-binary-path/1.0.1: + resolution: {integrity: sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=} + engines: {node: '>=0.10.0'} + dependencies: + binary-extensions: 1.13.1 + dev: true + + /is-buffer/1.1.6: + resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} + dev: true + + /is-core-module/2.8.1: + resolution: {integrity: sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==} + dependencies: + has: 1.0.3 + dev: true + + /is-data-descriptor/0.1.4: + resolution: {integrity: sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 3.2.2 + dev: true + + /is-data-descriptor/1.0.0: + resolution: {integrity: sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 6.0.3 + dev: true + + /is-descriptor/0.1.6: + resolution: {integrity: sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==} + engines: {node: '>=0.10.0'} + dependencies: + is-accessor-descriptor: 0.1.6 + is-data-descriptor: 0.1.4 + kind-of: 5.1.0 + dev: true + + /is-descriptor/1.0.2: + resolution: {integrity: sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==} + engines: {node: '>=0.10.0'} + dependencies: + is-accessor-descriptor: 1.0.0 + is-data-descriptor: 1.0.0 + kind-of: 6.0.3 + dev: true + + /is-extendable/0.1.1: + resolution: {integrity: sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=} + engines: {node: '>=0.10.0'} + dev: true + + /is-extendable/1.0.1: + resolution: {integrity: sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==} + engines: {node: '>=0.10.0'} + dependencies: + is-plain-object: 2.0.4 + dev: true + + /is-extglob/2.1.1: + resolution: {integrity: sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=} + engines: {node: '>=0.10.0'} + dev: true + + /is-fullwidth-code-point/1.0.0: + resolution: {integrity: sha1-754xOG8DGn8NZDr4L95QxFfvAMs=} + engines: {node: '>=0.10.0'} + dependencies: + number-is-nan: 1.0.1 + dev: true + + /is-fullwidth-code-point/2.0.0: + resolution: {integrity: sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=} + engines: {node: '>=4'} + dev: true + + /is-glob/3.1.0: + resolution: {integrity: sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=} + engines: {node: '>=0.10.0'} + dependencies: + is-extglob: 2.1.1 + dev: true + + /is-glob/4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + dependencies: + is-extglob: 2.1.1 + dev: true + + /is-negated-glob/1.0.0: + resolution: {integrity: sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI=} + engines: {node: '>=0.10.0'} + dev: true + + /is-number/3.0.0: + resolution: {integrity: sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 3.2.2 + dev: true + + /is-number/4.0.0: + resolution: {integrity: sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==} + engines: {node: '>=0.10.0'} + dev: true + + /is-number/7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + dev: true + + /is-path-cwd/2.2.0: + resolution: {integrity: sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==} + engines: {node: '>=6'} + dev: true + + /is-path-inside/3.0.3: + resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} + engines: {node: '>=8'} + dev: true + + /is-plain-obj/1.1.0: + resolution: {integrity: sha1-caUMhCnfync8kqOQpKA7OfzVHT4=} + engines: {node: '>=0.10.0'} + dev: true + + /is-plain-object/2.0.4: + resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==} + engines: {node: '>=0.10.0'} + dependencies: + isobject: 3.0.1 + dev: true + + /is-plain-object/5.0.0: + resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==} + engines: {node: '>=0.10.0'} + dev: true + + /is-relative/1.0.0: + resolution: {integrity: sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==} + engines: {node: '>=0.10.0'} + dependencies: + is-unc-path: 1.0.0 + dev: true + + /is-typedarray/1.0.0: + resolution: {integrity: sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=} + dev: true + + /is-unc-path/1.0.0: + resolution: {integrity: sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==} + engines: {node: '>=0.10.0'} + dependencies: + unc-path-regex: 0.1.2 + dev: true + + /is-utf8/0.2.1: + resolution: {integrity: sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=} + dev: true + + /is-valid-glob/1.0.0: + resolution: {integrity: sha1-Kb8+/3Ab4tTTFdusw5vDn+j2Aao=} + engines: {node: '>=0.10.0'} + dev: true + + /is-windows/1.0.2: + resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} + engines: {node: '>=0.10.0'} + dev: true + + /isarray/1.0.0: + resolution: {integrity: sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=} + dev: true + + /isexe/2.0.0: + resolution: {integrity: sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=} + dev: true + + /isobject/2.1.0: + resolution: {integrity: sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=} + engines: {node: '>=0.10.0'} + dependencies: + isarray: 1.0.0 + dev: true + + /isobject/3.0.1: + resolution: {integrity: sha1-TkMekrEalzFjaqH5yNHMvP2reN8=} + engines: {node: '>=0.10.0'} + dev: true + + /isstream/0.1.2: + resolution: {integrity: sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=} + dev: true + + /js-base64/2.6.4: + resolution: {integrity: sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==} + dev: true + + /js-tokens/4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + dev: true + + /jsbn/0.1.1: + resolution: {integrity: sha1-peZUwuWi3rXyAdls77yoDA7y9RM=} + dev: true + + /json-parse-even-better-errors/2.3.1: + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + dev: true + + /json-schema-traverse/0.4.1: + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + dev: true + + /json-schema/0.4.0: + resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} + dev: true + + /json-stable-stringify-without-jsonify/1.0.1: + resolution: {integrity: sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=} + dev: true + + /json-stringify-safe/5.0.1: + resolution: {integrity: sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=} + dev: true + + /jsprim/1.4.2: + resolution: {integrity: sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==} + engines: {node: '>=0.6.0'} + dependencies: + assert-plus: 1.0.0 + extsprintf: 1.3.0 + json-schema: 0.4.0 + verror: 1.10.0 + dev: true + + /just-debounce/1.1.0: + resolution: {integrity: sha512-qpcRocdkUmf+UTNBYx5w6dexX5J31AKK1OmPwH630a83DdVVUIngk55RSAiIGpQyoH0dlr872VHfPjnQnK1qDQ==} + dev: true + + /kind-of/3.2.2: + resolution: {integrity: sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=} + engines: {node: '>=0.10.0'} + dependencies: + is-buffer: 1.1.6 + dev: true + + /kind-of/4.0.0: + resolution: {integrity: sha1-IIE989cSkosgc3hpGkUGb65y3Vc=} + engines: {node: '>=0.10.0'} + dependencies: + is-buffer: 1.1.6 + dev: true + + /kind-of/5.1.0: + resolution: {integrity: sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==} + engines: {node: '>=0.10.0'} + dev: true + + /kind-of/6.0.3: + resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} + engines: {node: '>=0.10.0'} + dev: true + + /last-run/1.1.1: + resolution: {integrity: sha1-RblpQsF7HHnHchmCWbqUO+v4yls=} + engines: {node: '>= 0.10'} + dependencies: + default-resolution: 2.0.0 + es6-weak-map: 2.0.3 + dev: true + + /lazystream/1.0.1: + resolution: {integrity: sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==} + engines: {node: '>= 0.6.3'} + dependencies: + readable-stream: 2.3.7 + dev: true + + /lcid/1.0.0: + resolution: {integrity: sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=} + engines: {node: '>=0.10.0'} + dependencies: + invert-kv: 1.0.0 + dev: true + + /lead/1.0.0: + resolution: {integrity: sha1-bxT5mje+Op3XhPVJVpDlkDRm7kI=} + engines: {node: '>= 0.10'} + dependencies: + flush-write-stream: 1.1.1 + dev: true + + /liftoff/3.1.0: + resolution: {integrity: sha512-DlIPlJUkCV0Ips2zf2pJP0unEoT1kwYhiiPUGF3s/jtxTCjziNLoiVVh+jqWOWeFi6mmwQ5fNxvAUyPad4Dfog==} + engines: {node: '>= 0.8'} + dependencies: + extend: 3.0.2 + findup-sync: 3.0.0 + fined: 1.2.0 + flagged-respawn: 1.0.1 + is-plain-object: 2.0.4 + object.map: 1.0.1 + rechoir: 0.6.2 + resolve: 1.22.0 + dev: true + + /lines-and-columns/1.2.4: + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + dev: true + + /load-json-file/1.1.0: + resolution: {integrity: sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=} + engines: {node: '>=0.10.0'} + dependencies: + graceful-fs: 4.2.9 + parse-json: 2.2.0 + pify: 2.3.0 + pinkie-promise: 2.0.1 + strip-bom: 2.0.0 + dev: true + + /locate-path/3.0.0: + resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==} + engines: {node: '>=6'} + dependencies: + p-locate: 3.0.0 + path-exists: 3.0.0 + dev: true + + /locate-path/5.0.0: + resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} + engines: {node: '>=8'} + dependencies: + p-locate: 4.1.0 + dev: true + + /lodash.clonedeep/4.5.0: + resolution: {integrity: sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=} + dev: true + + /lodash/4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + dev: true + + /lru-cache/6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} + dependencies: + yallist: 4.0.0 + dev: true + + /make-error-cause/1.2.2: + resolution: {integrity: sha1-3wOI/NCzeBbf8KX7gQiTl3fcvJ0=} + dependencies: + make-error: 1.3.6 + dev: true + + /make-error/1.3.6: + resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + dev: true + + /make-iterator/1.0.1: + resolution: {integrity: sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 6.0.3 + dev: true + + /map-cache/0.2.2: + resolution: {integrity: sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=} + engines: {node: '>=0.10.0'} + dev: true + + /map-obj/1.0.1: + resolution: {integrity: sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=} + engines: {node: '>=0.10.0'} + dev: true + + /map-obj/4.3.0: + resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} + engines: {node: '>=8'} + dev: true + + /map-visit/1.0.0: + resolution: {integrity: sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=} + engines: {node: '>=0.10.0'} + dependencies: + object-visit: 1.0.1 + dev: true + + /matchdep/2.0.0: + resolution: {integrity: sha1-xvNINKDY28OzfCfui7yyfHd1WC4=} + engines: {node: '>= 0.10.0'} + dependencies: + findup-sync: 2.0.0 + micromatch: 3.1.10 + resolve: 1.22.0 + stack-trace: 0.0.10 + dev: true + + /meow/9.0.0: + resolution: {integrity: sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==} + engines: {node: '>=10'} + dependencies: + '@types/minimist': 1.2.2 + camelcase-keys: 6.2.2 + decamelize: 1.2.0 + decamelize-keys: 1.1.0 + hard-rejection: 2.1.0 + minimist-options: 4.1.0 + normalize-package-data: 3.0.3 + read-pkg-up: 7.0.1 + redent: 3.0.0 + trim-newlines: 3.0.1 + type-fest: 0.18.1 + yargs-parser: 20.2.9 + dev: true + + /merge2/1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + dev: true + + /micromatch/3.1.10: + resolution: {integrity: sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==} + engines: {node: '>=0.10.0'} + dependencies: + arr-diff: 4.0.0 + array-unique: 0.3.2 + braces: 2.3.2 + define-property: 2.0.2 + extend-shallow: 3.0.2 + extglob: 2.0.4 + fragment-cache: 0.2.1 + kind-of: 6.0.3 + nanomatch: 1.2.13 + object.pick: 1.3.0 + regex-not: 1.0.2 + snapdragon: 0.8.2 + to-regex: 3.0.2 + dev: true + + /micromatch/4.0.5: + resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + engines: {node: '>=8.6'} + dependencies: + braces: 3.0.2 + picomatch: 2.3.1 + dev: true + + /mime-db/1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + dev: true + + /mime-types/2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + dependencies: + mime-db: 1.52.0 + dev: true + + /min-indent/1.0.1: + resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} + engines: {node: '>=4'} + dev: true + + /minimatch/3.0.8: + resolution: {integrity: sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==} + dependencies: + brace-expansion: 1.1.11 + dev: true + + /minimatch/3.1.2: + resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + dependencies: + brace-expansion: 1.1.11 + dev: true + + /minimist-options/4.1.0: + resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} + engines: {node: '>= 6'} + dependencies: + arrify: 1.0.1 + is-plain-obj: 1.1.0 + kind-of: 6.0.3 + dev: true + + /minipass/3.1.6: + resolution: {integrity: sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==} + engines: {node: '>=8'} + dependencies: + yallist: 4.0.0 + dev: true + + /minizlib/2.1.2: + resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} + engines: {node: '>= 8'} + dependencies: + minipass: 3.1.6 + yallist: 4.0.0 + dev: true + + /mixin-deep/1.3.2: + resolution: {integrity: sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==} + engines: {node: '>=0.10.0'} + dependencies: + for-in: 1.0.2 + is-extendable: 1.0.1 + dev: true + + /mkdirp/1.0.4: + resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} + engines: {node: '>=10'} + hasBin: true + dev: true + + /ms/2.0.0: + resolution: {integrity: sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=} + dev: true + + /mute-stdout/1.0.1: + resolution: {integrity: sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg==} + engines: {node: '>= 0.10'} + dev: true + + /nan/2.15.0: + resolution: {integrity: sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==} + dev: true + + /nanomatch/1.2.13: + resolution: {integrity: sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==} + engines: {node: '>=0.10.0'} + dependencies: + arr-diff: 4.0.0 + array-unique: 0.3.2 + define-property: 2.0.2 + extend-shallow: 3.0.2 + fragment-cache: 0.2.1 + is-windows: 1.0.2 + kind-of: 6.0.3 + object.pick: 1.3.0 + regex-not: 1.0.2 + snapdragon: 0.8.2 + to-regex: 3.0.2 + dev: true + + /next-tick/1.1.0: + resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} + dev: true + + /node-gyp/7.1.2: + resolution: {integrity: sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==} + engines: {node: '>= 10.12.0'} + hasBin: true + dependencies: + env-paths: 2.2.1 + glob: 7.2.0 + graceful-fs: 4.2.9 + nopt: 5.0.0 + npmlog: 4.1.2 + request: 2.88.2 + rimraf: 3.0.2 + semver: 7.3.5 + tar: 6.1.11 + which: 2.0.2 + dev: true + + /node-sass/6.0.1: + resolution: {integrity: sha512-f+Rbqt92Ful9gX0cGtdYwjTrWAaGURgaK5rZCWOgCNyGWusFYHhbqCCBoFBeat+HKETOU02AyTxNhJV0YZf2jQ==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + dependencies: + async-foreach: 0.1.3 + chalk: 1.1.3 + cross-spawn: 7.0.3 + gaze: 1.1.3 + get-stdin: 4.0.1 + glob: 7.2.0 + lodash: 4.17.21 + meow: 9.0.0 + nan: 2.15.0 + node-gyp: 7.1.2 + npmlog: 4.1.2 + request: 2.88.2 + sass-graph: 2.2.5 + stdout-stream: 1.4.1 + true-case-path: 1.0.3 + dev: true + + /nopt/5.0.0: + resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==} + engines: {node: '>=6'} + hasBin: true + dependencies: + abbrev: 1.1.1 + dev: true + + /normalize-package-data/2.5.0: + resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} + dependencies: + hosted-git-info: 2.8.9 + resolve: 1.22.0 + semver: 5.7.1 + validate-npm-package-license: 3.0.4 + dev: true + + /normalize-package-data/3.0.3: + resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} + engines: {node: '>=10'} + dependencies: + hosted-git-info: 4.1.0 + is-core-module: 2.8.1 + semver: 7.3.5 + validate-npm-package-license: 3.0.4 + dev: true + + /normalize-path/2.1.1: + resolution: {integrity: sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=} + engines: {node: '>=0.10.0'} + dependencies: + remove-trailing-separator: 1.1.0 + dev: true + + /normalize-path/3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + dev: true + + /now-and-later/2.0.1: + resolution: {integrity: sha512-KGvQ0cB70AQfg107Xvs/Fbu+dGmZoTRJp2TaPwcwQm3/7PteUyN2BCgk8KBMPGBUXZdVwyWS8fDCGFygBm19UQ==} + engines: {node: '>= 0.10'} + dependencies: + once: 1.4.0 + dev: true + + /npmlog/4.1.2: + resolution: {integrity: sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==} + dependencies: + are-we-there-yet: 1.1.7 + console-control-strings: 1.1.0 + gauge: 2.7.4 + set-blocking: 2.0.0 + dev: true + + /number-is-nan/1.0.1: + resolution: {integrity: sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=} + engines: {node: '>=0.10.0'} + dev: true + + /oauth-sign/0.9.0: + resolution: {integrity: sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==} + dev: true + + /object-assign/4.1.1: + resolution: {integrity: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=} + engines: {node: '>=0.10.0'} + dev: true + + /object-copy/0.1.0: + resolution: {integrity: sha1-fn2Fi3gb18mRpBupde04EnVOmYw=} + engines: {node: '>=0.10.0'} + dependencies: + copy-descriptor: 0.1.1 + define-property: 0.2.5 + kind-of: 3.2.2 + dev: true + + /object-keys/1.1.1: + resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} + engines: {node: '>= 0.4'} + dev: true + + /object-visit/1.0.1: + resolution: {integrity: sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=} + engines: {node: '>=0.10.0'} + dependencies: + isobject: 3.0.1 + dev: true + + /object.assign/4.1.2: + resolution: {integrity: sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.3 + has-symbols: 1.0.3 + object-keys: 1.1.1 + dev: true + + /object.defaults/1.1.0: + resolution: {integrity: sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=} + engines: {node: '>=0.10.0'} + dependencies: + array-each: 1.0.1 + array-slice: 1.1.0 + for-own: 1.0.0 + isobject: 3.0.1 + dev: true + + /object.map/1.0.1: + resolution: {integrity: sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=} + engines: {node: '>=0.10.0'} + dependencies: + for-own: 1.0.0 + make-iterator: 1.0.1 + dev: true + + /object.pick/1.3.0: + resolution: {integrity: sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=} + engines: {node: '>=0.10.0'} + dependencies: + isobject: 3.0.1 + dev: true + + /object.reduce/1.0.1: + resolution: {integrity: sha1-b+NI8qx/oPlcpiEiZZkJaCW7A60=} + engines: {node: '>=0.10.0'} + dependencies: + for-own: 1.0.0 + make-iterator: 1.0.1 + dev: true + + /once/1.4.0: + resolution: {integrity: sha1-WDsap3WWHUsROsF9nFC6753Xa9E=} + dependencies: + wrappy: 1.0.2 + dev: true + + /ordered-read-streams/1.0.1: + resolution: {integrity: sha1-d8DLN8QVJdZBZtmQ/61+xqDhNj4=} + dependencies: + readable-stream: 2.3.7 + dev: true + + /os-locale/1.4.0: + resolution: {integrity: sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=} + engines: {node: '>=0.10.0'} + dependencies: + lcid: 1.0.0 + dev: true + + /p-limit/2.3.0: + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} + dependencies: + p-try: 2.2.0 + dev: true + + /p-locate/3.0.0: + resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==} + engines: {node: '>=6'} + dependencies: + p-limit: 2.3.0 + dev: true + + /p-locate/4.1.0: + resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} + engines: {node: '>=8'} + dependencies: + p-limit: 2.3.0 + dev: true + + /p-map/3.0.0: + resolution: {integrity: sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==} + engines: {node: '>=8'} + dependencies: + aggregate-error: 3.1.0 + dev: true + + /p-try/2.2.0: + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} + dev: true + + /parse-filepath/1.0.2: + resolution: {integrity: sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=} + engines: {node: '>=0.8'} + dependencies: + is-absolute: 1.0.0 + map-cache: 0.2.2 + path-root: 0.1.1 + dev: true + + /parse-json/2.2.0: + resolution: {integrity: sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=} + engines: {node: '>=0.10.0'} + dependencies: + error-ex: 1.3.2 + dev: true + + /parse-json/5.2.0: + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} + dependencies: + '@babel/code-frame': 7.16.7 + error-ex: 1.3.2 + json-parse-even-better-errors: 2.3.1 + lines-and-columns: 1.2.4 + dev: true + + /parse-node-version/1.0.1: + resolution: {integrity: sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==} + engines: {node: '>= 0.10'} + dev: true + + /parse-passwd/1.0.0: + resolution: {integrity: sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=} + engines: {node: '>=0.10.0'} + dev: true + + /pascalcase/0.1.1: + resolution: {integrity: sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=} + engines: {node: '>=0.10.0'} + dev: true + + /path-dirname/1.0.2: + resolution: {integrity: sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=} + dev: true + + /path-exists/2.1.0: + resolution: {integrity: sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=} + engines: {node: '>=0.10.0'} + dependencies: + pinkie-promise: 2.0.1 + dev: true + + /path-exists/3.0.0: + resolution: {integrity: sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=} + engines: {node: '>=4'} + dev: true + + /path-exists/4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + dev: true + + /path-is-absolute/1.0.1: + resolution: {integrity: sha1-F0uSaHNVNP+8es5r9TpanhtcX18=} + engines: {node: '>=0.10.0'} + dev: true + + /path-key/3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + dev: true + + /path-parse/1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + dev: true + + /path-root-regex/0.1.2: + resolution: {integrity: sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=} + engines: {node: '>=0.10.0'} + dev: true + + /path-root/0.1.1: + resolution: {integrity: sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=} + engines: {node: '>=0.10.0'} + dependencies: + path-root-regex: 0.1.2 + dev: true + + /path-type/1.1.0: + resolution: {integrity: sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=} + engines: {node: '>=0.10.0'} + dependencies: + graceful-fs: 4.2.9 + pify: 2.3.0 + pinkie-promise: 2.0.1 + dev: true + + /path-type/4.0.0: + resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} + engines: {node: '>=8'} + dev: true + + /performance-now/2.1.0: + resolution: {integrity: sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=} + dev: true + + /picocolors/1.0.0: + resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + dev: true + + /picomatch/2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + dev: true + + /pify/2.3.0: + resolution: {integrity: sha1-7RQaasBDqEnqWISY59yosVMw6Qw=} + engines: {node: '>=0.10.0'} + dev: true + + /pinkie-promise/2.0.1: + resolution: {integrity: sha1-ITXW36ejWMBprJsXh3YogihFD/o=} + engines: {node: '>=0.10.0'} + dependencies: + pinkie: 2.0.4 + dev: true + + /pinkie/2.0.4: + resolution: {integrity: sha1-clVrgM+g1IqXToDnckjoDtT3+HA=} + engines: {node: '>=0.10.0'} + dev: true + + /plugin-error/1.0.1: + resolution: {integrity: sha512-L1zP0dk7vGweZME2i+EeakvUNqSrdiI3F91TwEoYiGrAfUXmVv6fJIq4g82PAXxNsWOp0J7ZqQy/3Szz0ajTxA==} + engines: {node: '>= 0.10'} + dependencies: + ansi-colors: 1.1.0 + arr-diff: 4.0.0 + arr-union: 3.1.0 + extend-shallow: 3.0.2 + dev: true + + /posix-character-classes/0.1.1: + resolution: {integrity: sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=} + engines: {node: '>=0.10.0'} + dev: true + + /pretty-hrtime/1.0.3: + resolution: {integrity: sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=} + engines: {node: '>= 0.8'} + dev: true + + /process-nextick-args/2.0.1: + resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} + dev: true + + /psl/1.8.0: + resolution: {integrity: sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==} + dev: true + + /pump/2.0.1: + resolution: {integrity: sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==} + dependencies: + end-of-stream: 1.4.4 + once: 1.4.0 + dev: true + + /pumpify/1.5.1: + resolution: {integrity: sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==} + dependencies: + duplexify: 3.7.1 + inherits: 2.0.4 + pump: 2.0.1 + dev: true + + /punycode/2.1.1: + resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==} + engines: {node: '>=6'} + dev: true + + /qs/6.5.3: + resolution: {integrity: sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==} + engines: {node: '>=0.6'} + dev: true + + /queue-microtask/1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + dev: true + + /quick-lru/4.0.1: + resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} + engines: {node: '>=8'} + dev: true + + /read-pkg-up/1.0.1: + resolution: {integrity: sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=} + engines: {node: '>=0.10.0'} + dependencies: + find-up: 1.1.2 + read-pkg: 1.1.0 + dev: true + + /read-pkg-up/7.0.1: + resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} + engines: {node: '>=8'} + dependencies: + find-up: 4.1.0 + read-pkg: 5.2.0 + type-fest: 0.8.1 + dev: true + + /read-pkg/1.1.0: + resolution: {integrity: sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=} + engines: {node: '>=0.10.0'} + dependencies: + load-json-file: 1.1.0 + normalize-package-data: 2.5.0 + path-type: 1.1.0 + dev: true + + /read-pkg/5.2.0: + resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} + engines: {node: '>=8'} + dependencies: + '@types/normalize-package-data': 2.4.1 + normalize-package-data: 2.5.0 + parse-json: 5.2.0 + type-fest: 0.6.0 + dev: true + + /readable-stream/2.3.7: + resolution: {integrity: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==} + dependencies: + core-util-is: 1.0.3 + inherits: 2.0.4 + isarray: 1.0.0 + process-nextick-args: 2.0.1 + safe-buffer: 5.1.2 + string_decoder: 1.1.1 + util-deprecate: 1.0.2 + dev: true + + /readable-stream/3.6.0: + resolution: {integrity: sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==} + engines: {node: '>= 6'} + dependencies: + inherits: 2.0.4 + string_decoder: 1.3.0 + util-deprecate: 1.0.2 + dev: true + + /readdirp/2.2.1: + resolution: {integrity: sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==} + engines: {node: '>=0.10'} + dependencies: + graceful-fs: 4.2.9 + micromatch: 3.1.10 + readable-stream: 2.3.7 + dev: true + + /rechoir/0.6.2: + resolution: {integrity: sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=} + engines: {node: '>= 0.10'} + dependencies: + resolve: 1.22.0 + dev: true + + /redent/3.0.0: + resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==} + engines: {node: '>=8'} + dependencies: + indent-string: 4.0.0 + strip-indent: 3.0.0 + dev: true + + /regex-not/1.0.2: + resolution: {integrity: sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==} + engines: {node: '>=0.10.0'} + dependencies: + extend-shallow: 3.0.2 + safe-regex: 1.1.0 + dev: true + + /remove-bom-buffer/3.0.0: + resolution: {integrity: sha512-8v2rWhaakv18qcvNeli2mZ/TMTL2nEyAKRvzo1WtnZBl15SHyEhrCu2/xKlJyUFKHiHgfXIyuY6g2dObJJycXQ==} + engines: {node: '>=0.10.0'} + dependencies: + is-buffer: 1.1.6 + is-utf8: 0.2.1 + dev: true + + /remove-bom-stream/1.2.0: + resolution: {integrity: sha1-BfGlk/FuQuH7kOv1nejlaVJflSM=} + engines: {node: '>= 0.10'} + dependencies: + remove-bom-buffer: 3.0.0 + safe-buffer: 5.2.1 + through2: 2.0.5 + dev: true + + /remove-trailing-separator/1.1.0: + resolution: {integrity: sha1-wkvOKig62tW8P1jg1IJJuSN52O8=} + dev: true + + /repeat-element/1.1.4: + resolution: {integrity: sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==} + engines: {node: '>=0.10.0'} + dev: true + + /repeat-string/1.6.1: + resolution: {integrity: sha1-jcrkcOHIirwtYA//Sndihtp15jc=} + engines: {node: '>=0.10'} + dev: true + + /replace-ext/1.0.1: + resolution: {integrity: sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw==} + engines: {node: '>= 0.10'} + dev: true + + /replace-ext/2.0.0: + resolution: {integrity: sha512-UszKE5KVK6JvyD92nzMn9cDapSk6w/CaFZ96CnmDMUqH9oowfxF/ZjRITD25H4DnOQClLA4/j7jLGXXLVKxAug==} + engines: {node: '>= 10'} + dev: true + + /replace-homedir/1.0.0: + resolution: {integrity: sha1-6H9tUTuSjd6AgmDBK+f+xv9ueYw=} + engines: {node: '>= 0.10'} + dependencies: + homedir-polyfill: 1.0.3 + is-absolute: 1.0.0 + remove-trailing-separator: 1.1.0 + dev: true + + /request/2.88.2: + resolution: {integrity: sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==} + engines: {node: '>= 6'} + deprecated: request has been deprecated, see https://github.com/request/request/issues/3142 + dependencies: + aws-sign2: 0.7.0 + aws4: 1.11.0 + caseless: 0.12.0 + combined-stream: 1.0.8 + extend: 3.0.2 + forever-agent: 0.6.1 + form-data: 2.3.3 + har-validator: 5.1.5 + http-signature: 1.2.0 + is-typedarray: 1.0.0 + isstream: 0.1.2 + json-stringify-safe: 5.0.1 + mime-types: 2.1.35 + oauth-sign: 0.9.0 + performance-now: 2.1.0 + qs: 6.5.3 + safe-buffer: 5.2.1 + tough-cookie: 2.5.0 + tunnel-agent: 0.6.0 + uuid: 3.4.0 + dev: true + + /require-directory/2.1.1: + resolution: {integrity: sha1-jGStX9MNqxyXbiNE/+f3kqam30I=} + engines: {node: '>=0.10.0'} + dev: true + + /require-main-filename/1.0.1: + resolution: {integrity: sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=} + dev: true + + /require-main-filename/2.0.0: + resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} + dev: true + + /resolve-dir/1.0.1: + resolution: {integrity: sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=} + engines: {node: '>=0.10.0'} + dependencies: + expand-tilde: 2.0.2 + global-modules: 1.0.0 + dev: true + + /resolve-options/1.1.0: + resolution: {integrity: sha1-MrueOcBtZzONyTeMDW1gdFZq0TE=} + engines: {node: '>= 0.10'} + dependencies: + value-or-function: 3.0.0 + dev: true + + /resolve-url/0.2.1: + resolution: {integrity: sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=} + deprecated: https://github.com/lydell/resolve-url#deprecated + dev: true + + /resolve/1.22.0: + resolution: {integrity: sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==} + hasBin: true + dependencies: + is-core-module: 2.8.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + dev: true + + /ret/0.1.15: + resolution: {integrity: sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==} + engines: {node: '>=0.12'} + dev: true + + /reusify/1.0.4: + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + dev: true + + /rimraf/3.0.2: + resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + hasBin: true + dependencies: + glob: 7.2.0 + dev: true + + /run-parallel/1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + dependencies: + queue-microtask: 1.2.3 + dev: true + + /safe-buffer/5.1.2: + resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} + dev: true + + /safe-buffer/5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + dev: true + + /safe-regex/1.1.0: + resolution: {integrity: sha1-QKNmnzsHfR6UPURinhV91IAjvy4=} + dependencies: + ret: 0.1.15 + dev: true + + /safer-buffer/2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + dev: true + + /sass-graph/2.2.5: + resolution: {integrity: sha512-VFWDAHOe6mRuT4mZRd4eKE+d8Uedrk6Xnh7Sh9b4NGufQLQjOrvf/MQoOdx+0s92L89FeyUUNfU597j/3uNpag==} + hasBin: true + dependencies: + glob: 7.2.0 + lodash: 4.17.21 + scss-tokenizer: 0.2.3 + yargs: 13.3.2 + dev: true + + /scss-tokenizer/0.2.3: + resolution: {integrity: sha1-jrBtualyMzOCTT9VMGQRSYR85dE=} + dependencies: + js-base64: 2.6.4 + source-map: 0.4.4 + dev: true + + /semver-greatest-satisfied-range/1.1.0: + resolution: {integrity: sha1-E+jCZYq5aRywzXEJMkAoDTb3els=} + engines: {node: '>= 0.10'} + dependencies: + sver-compat: 1.5.0 + dev: true + + /semver/5.7.1: + resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} + hasBin: true + dev: true + + /semver/7.3.5: + resolution: {integrity: sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: 6.0.0 + dev: true + + /set-blocking/2.0.0: + resolution: {integrity: sha1-BF+XgtARrppoA93TgrJDkrPYkPc=} + dev: true + + /set-value/2.0.1: + resolution: {integrity: sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==} + engines: {node: '>=0.10.0'} + dependencies: + extend-shallow: 2.0.1 + is-extendable: 0.1.1 + is-plain-object: 2.0.4 + split-string: 3.1.0 + dev: true + + /shebang-command/2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + dependencies: + shebang-regex: 3.0.0 + dev: true + + /shebang-regex/3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + dev: true + + /signal-exit/3.0.7: + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + dev: true + + /slash/3.0.0: + resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} + engines: {node: '>=8'} + dev: true + + /snapdragon-node/2.1.1: + resolution: {integrity: sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==} + engines: {node: '>=0.10.0'} + dependencies: + define-property: 1.0.0 + isobject: 3.0.1 + snapdragon-util: 3.0.1 + dev: true + + /snapdragon-util/3.0.1: + resolution: {integrity: sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 3.2.2 + dev: true + + /snapdragon/0.8.2: + resolution: {integrity: sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==} + engines: {node: '>=0.10.0'} + dependencies: + base: 0.11.2 + debug: 2.6.9 + define-property: 0.2.5 + extend-shallow: 2.0.1 + map-cache: 0.2.2 + source-map: 0.5.7 + source-map-resolve: 0.5.3 + use: 3.1.1 + dev: true + + /source-map-resolve/0.5.3: + resolution: {integrity: sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==} + deprecated: See https://github.com/lydell/source-map-resolve#deprecated + dependencies: + atob: 2.1.2 + decode-uri-component: 0.2.0 + resolve-url: 0.2.1 + source-map-url: 0.4.1 + urix: 0.1.0 + dev: true + + /source-map-url/0.4.1: + resolution: {integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==} + deprecated: See https://github.com/lydell/source-map-url#deprecated + dev: true + + /source-map/0.4.4: + resolution: {integrity: sha1-66T12pwNyZneaAMti092FzZSA2s=} + engines: {node: '>=0.8.0'} + dependencies: + amdefine: 1.0.1 + dev: true + + /source-map/0.5.7: + resolution: {integrity: sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=} + engines: {node: '>=0.10.0'} + dev: true + + /source-map/0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + dev: true + + /sparkles/1.0.1: + resolution: {integrity: sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw==} + engines: {node: '>= 0.10'} + dev: true + + /spdx-correct/3.1.1: + resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==} + dependencies: + spdx-expression-parse: 3.0.1 + spdx-license-ids: 3.0.11 + dev: true + + /spdx-exceptions/2.3.0: + resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} + dev: true + + /spdx-expression-parse/3.0.1: + resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} + dependencies: + spdx-exceptions: 2.3.0 + spdx-license-ids: 3.0.11 + dev: true + + /spdx-license-ids/3.0.11: + resolution: {integrity: sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==} + dev: true + + /split-string/3.1.0: + resolution: {integrity: sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==} + engines: {node: '>=0.10.0'} + dependencies: + extend-shallow: 3.0.2 + dev: true + + /sshpk/1.17.0: + resolution: {integrity: sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==} + engines: {node: '>=0.10.0'} + hasBin: true + dependencies: + asn1: 0.2.6 + assert-plus: 1.0.0 + bcrypt-pbkdf: 1.0.2 + dashdash: 1.14.1 + ecc-jsbn: 0.1.2 + getpass: 0.1.7 + jsbn: 0.1.1 + safer-buffer: 2.1.2 + tweetnacl: 0.14.5 + dev: true + + /stack-trace/0.0.10: + resolution: {integrity: sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=} + dev: true + + /static-extend/0.1.2: + resolution: {integrity: sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=} + engines: {node: '>=0.10.0'} + dependencies: + define-property: 0.2.5 + object-copy: 0.1.0 + dev: true + + /stdout-stream/1.4.1: + resolution: {integrity: sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==} + dependencies: + readable-stream: 2.3.7 + dev: true + + /stream-exhaust/1.0.2: + resolution: {integrity: sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw==} + dev: true + + /stream-shift/1.0.1: + resolution: {integrity: sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==} + dev: true + + /string-width/1.0.2: + resolution: {integrity: sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=} + engines: {node: '>=0.10.0'} + dependencies: + code-point-at: 1.1.0 + is-fullwidth-code-point: 1.0.0 + strip-ansi: 3.0.1 + dev: true + + /string-width/3.1.0: + resolution: {integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==} + engines: {node: '>=6'} + dependencies: + emoji-regex: 7.0.3 + is-fullwidth-code-point: 2.0.0 + strip-ansi: 5.2.0 + dev: true + + /string_decoder/1.1.1: + resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} + dependencies: + safe-buffer: 5.1.2 + dev: true + + /string_decoder/1.3.0: + resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + dependencies: + safe-buffer: 5.2.1 + dev: true + + /strip-ansi/3.0.1: + resolution: {integrity: sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=} + engines: {node: '>=0.10.0'} + dependencies: + ansi-regex: 2.1.1 + dev: true + + /strip-ansi/5.2.0: + resolution: {integrity: sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==} + engines: {node: '>=6'} + dependencies: + ansi-regex: 4.1.1 + dev: true + + /strip-ansi/6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + dependencies: + ansi-regex: 5.0.1 + dev: true + + /strip-bom/2.0.0: + resolution: {integrity: sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=} + engines: {node: '>=0.10.0'} + dependencies: + is-utf8: 0.2.1 + dev: true + + /strip-indent/3.0.0: + resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} + engines: {node: '>=8'} + dependencies: + min-indent: 1.0.1 + dev: true + + /supports-color/2.0.0: + resolution: {integrity: sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=} + engines: {node: '>=0.8.0'} + dev: true + + /supports-color/5.5.0: + resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} + engines: {node: '>=4'} + dependencies: + has-flag: 3.0.0 + dev: true + + /supports-preserve-symlinks-flag/1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + dev: true + + /sver-compat/1.5.0: + resolution: {integrity: sha1-PPh9/rTQe0o/FIJ7wYaz/QxkXNg=} + dependencies: + es6-iterator: 2.0.3 + es6-symbol: 3.1.3 + dev: true + + /tar/6.1.11: + resolution: {integrity: sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==} + engines: {node: '>= 10'} + dependencies: + chownr: 2.0.0 + fs-minipass: 2.1.0 + minipass: 3.1.6 + minizlib: 2.1.2 + mkdirp: 1.0.4 + yallist: 4.0.0 + dev: true + + /through2-filter/3.0.0: + resolution: {integrity: sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==} + dependencies: + through2: 2.0.5 + xtend: 4.0.2 + dev: true + + /through2/2.0.5: + resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} + dependencies: + readable-stream: 2.3.7 + xtend: 4.0.2 + dev: true + + /through2/3.0.1: + resolution: {integrity: sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==} + dependencies: + readable-stream: 3.6.0 + dev: true + + /time-stamp/1.1.0: + resolution: {integrity: sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=} + engines: {node: '>=0.10.0'} + dev: true + + /to-absolute-glob/2.0.2: + resolution: {integrity: sha1-GGX0PZ50sIItufFFt4z/fQ98hJs=} + engines: {node: '>=0.10.0'} + dependencies: + is-absolute: 1.0.0 + is-negated-glob: 1.0.0 + dev: true + + /to-object-path/0.3.0: + resolution: {integrity: sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 3.2.2 + dev: true + + /to-regex-range/2.1.1: + resolution: {integrity: sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=} + engines: {node: '>=0.10.0'} + dependencies: + is-number: 3.0.0 + repeat-string: 1.6.1 + dev: true + + /to-regex-range/5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + dependencies: + is-number: 7.0.0 + dev: true + + /to-regex/3.0.2: + resolution: {integrity: sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==} + engines: {node: '>=0.10.0'} + dependencies: + define-property: 2.0.2 + extend-shallow: 3.0.2 + regex-not: 1.0.2 + safe-regex: 1.1.0 + dev: true + + /to-through/2.0.0: + resolution: {integrity: sha1-/JKtq6ByZHvAtn1rA2ZKoZUJOvY=} + engines: {node: '>= 0.10'} + dependencies: + through2: 2.0.5 + dev: true + + /tough-cookie/2.5.0: + resolution: {integrity: sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==} + engines: {node: '>=0.8'} + dependencies: + psl: 1.8.0 + punycode: 2.1.1 + dev: true + + /trim-newlines/3.0.1: + resolution: {integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==} + engines: {node: '>=8'} + dev: true + + /true-case-path/1.0.3: + resolution: {integrity: sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==} + dependencies: + glob: 7.2.0 + dev: true + + /tunnel-agent/0.6.0: + resolution: {integrity: sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=} + dependencies: + safe-buffer: 5.2.1 + dev: true + + /tweetnacl/0.14.5: + resolution: {integrity: sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=} + dev: true + + /type-fest/0.18.1: + resolution: {integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==} + engines: {node: '>=10'} + dev: true + + /type-fest/0.6.0: + resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} + engines: {node: '>=8'} + dev: true + + /type-fest/0.8.1: + resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} + engines: {node: '>=8'} + dev: true + + /type/1.2.0: + resolution: {integrity: sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==} + dev: true + + /type/2.6.0: + resolution: {integrity: sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==} + dev: true + + /typedarray/0.0.6: + resolution: {integrity: sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=} + dev: true + + /uglify-js/3.15.3: + resolution: {integrity: sha512-6iCVm2omGJbsu3JWac+p6kUiOpg3wFO2f8lIXjfEb8RrmLjzog1wTPMmwKB7swfzzqxj9YM+sGUM++u1qN4qJg==} + engines: {node: '>=0.8.0'} + hasBin: true + dev: true + + /unc-path-regex/0.1.2: + resolution: {integrity: sha1-5z3T17DXxe2G+6xrCufYxqadUPo=} + engines: {node: '>=0.10.0'} + dev: true + + /undertaker-registry/1.0.1: + resolution: {integrity: sha1-XkvaMI5KiirlhPm5pDWaSZglzFA=} + engines: {node: '>= 0.10'} + dev: true + + /undertaker/1.3.0: + resolution: {integrity: sha512-/RXwi5m/Mu3H6IHQGww3GNt1PNXlbeCuclF2QYR14L/2CHPz3DFZkvB5hZ0N/QUkiXWCACML2jXViIQEQc2MLg==} + engines: {node: '>= 0.10'} + dependencies: + arr-flatten: 1.1.0 + arr-map: 2.0.2 + bach: 1.2.0 + collection-map: 1.0.0 + es6-weak-map: 2.0.3 + fast-levenshtein: 1.1.4 + last-run: 1.1.1 + object.defaults: 1.1.0 + object.reduce: 1.0.1 + undertaker-registry: 1.0.1 + dev: true + + /union-value/1.0.1: + resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==} + engines: {node: '>=0.10.0'} + dependencies: + arr-union: 3.1.0 + get-value: 2.0.6 + is-extendable: 0.1.1 + set-value: 2.0.1 + dev: true + + /unique-stream/2.3.1: + resolution: {integrity: sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A==} + dependencies: + json-stable-stringify-without-jsonify: 1.0.1 + through2-filter: 3.0.0 + dev: true + + /unset-value/1.0.0: + resolution: {integrity: sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=} + engines: {node: '>=0.10.0'} + dependencies: + has-value: 0.3.1 + isobject: 3.0.1 + dev: true + + /upath/1.2.0: + resolution: {integrity: sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==} + engines: {node: '>=4'} + dev: true + + /uri-js/4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + dependencies: + punycode: 2.1.1 + dev: true + + /urix/0.1.0: + resolution: {integrity: sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=} + deprecated: Please see https://github.com/lydell/urix#deprecated + dev: true + + /use/3.1.1: + resolution: {integrity: sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==} + engines: {node: '>=0.10.0'} + dev: true + + /util-deprecate/1.0.2: + resolution: {integrity: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=} + dev: true + + /uuid/3.4.0: + resolution: {integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==} + deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. + hasBin: true + dev: true + + /v8flags/3.2.0: + resolution: {integrity: sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==} + engines: {node: '>= 0.10'} + dependencies: + homedir-polyfill: 1.0.3 + dev: true + + /validate-npm-package-license/3.0.4: + resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} + dependencies: + spdx-correct: 3.1.1 + spdx-expression-parse: 3.0.1 + dev: true + + /value-or-function/3.0.0: + resolution: {integrity: sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM=} + engines: {node: '>= 0.10'} + dev: true + + /vditor/3.8.13: + resolution: {integrity: sha512-vp6OF1n9wIduKtLvvTYtn+7Gr1Az6MqDIEBpLzik+PTQ208YjrcQ+Ba4AHXMMvJgDtbYP3PdY8OixWKecFzo2A==} + dependencies: + diff-match-patch: 1.0.5 + dev: false + + /verror/1.10.0: + resolution: {integrity: sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=} + engines: {'0': node >=0.6.0} + dependencies: + assert-plus: 1.0.0 + core-util-is: 1.0.2 + extsprintf: 1.3.0 + dev: true + + /vinyl-fs/3.0.3: + resolution: {integrity: sha512-vIu34EkyNyJxmP0jscNzWBSygh7VWhqun6RmqVfXePrOwi9lhvRs//dOaGOTRUQr4tx7/zd26Tk5WeSVZitgng==} + engines: {node: '>= 0.10'} + dependencies: + fs-mkdirp-stream: 1.0.0 + glob-stream: 6.1.0 + graceful-fs: 4.2.9 + is-valid-glob: 1.0.0 + lazystream: 1.0.1 + lead: 1.0.0 + object.assign: 4.1.2 + pumpify: 1.5.1 + readable-stream: 2.3.7 + remove-bom-buffer: 3.0.0 + remove-bom-stream: 1.2.0 + resolve-options: 1.1.0 + through2: 2.0.5 + to-through: 2.0.0 + value-or-function: 3.0.0 + vinyl: 2.2.1 + vinyl-sourcemap: 1.1.0 + dev: true + + /vinyl-sourcemap/1.1.0: + resolution: {integrity: sha1-kqgAWTo4cDqM2xHYswCtS+Y7PhY=} + engines: {node: '>= 0.10'} + dependencies: + append-buffer: 1.0.2 + convert-source-map: 1.8.0 + graceful-fs: 4.2.9 + normalize-path: 2.1.1 + now-and-later: 2.0.1 + remove-bom-buffer: 3.0.0 + vinyl: 2.2.1 + dev: true + + /vinyl-sourcemaps-apply/0.2.1: + resolution: {integrity: sha1-q2VJ1h0XLCsbh75cUI0jnI74dwU=} + dependencies: + source-map: 0.5.7 + dev: true + + /vinyl/2.2.1: + resolution: {integrity: sha512-LII3bXRFBZLlezoG5FfZVcXflZgWP/4dCwKtxd5ky9+LOtM4CS3bIRQsmR1KMnMW07jpE8fqR2lcxPZ+8sJIcw==} + engines: {node: '>= 0.10'} + dependencies: + clone: 2.1.2 + clone-buffer: 1.0.0 + clone-stats: 1.0.0 + cloneable-readable: 1.1.3 + remove-trailing-separator: 1.1.0 + replace-ext: 1.0.1 + dev: true + + /which-module/1.0.0: + resolution: {integrity: sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=} + dev: true + + /which-module/2.0.0: + resolution: {integrity: sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=} + dev: true + + /which/1.3.1: + resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + + /which/2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + + /wide-align/1.1.5: + resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} + dependencies: + string-width: 1.0.2 + dev: true + + /wrap-ansi/2.1.0: + resolution: {integrity: sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=} + engines: {node: '>=0.10.0'} + dependencies: + string-width: 1.0.2 + strip-ansi: 3.0.1 + dev: true + + /wrap-ansi/5.1.0: + resolution: {integrity: sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==} + engines: {node: '>=6'} + dependencies: + ansi-styles: 3.2.1 + string-width: 3.1.0 + strip-ansi: 5.2.0 + dev: true + + /wrappy/1.0.2: + resolution: {integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=} + dev: true + + /xtend/4.0.2: + resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} + engines: {node: '>=0.4'} + dev: true + + /y18n/3.2.2: + resolution: {integrity: sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==} + dev: true + + /y18n/4.0.3: + resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} + dev: true + + /yallist/4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + dev: true + + /yargs-parser/13.1.2: + resolution: {integrity: sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==} + dependencies: + camelcase: 5.3.1 + decamelize: 1.2.0 + dev: true + + /yargs-parser/20.2.9: + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} + dev: true + + /yargs-parser/5.0.1: + resolution: {integrity: sha512-wpav5XYiddjXxirPoCTUPbqM0PXvJ9hiBMvuJgInvo4/lAOTZzUprArw17q2O1P2+GHhbBr18/iQwjL5Z9BqfA==} + dependencies: + camelcase: 3.0.0 + object.assign: 4.1.2 + dev: true + + /yargs/13.3.2: + resolution: {integrity: sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==} + dependencies: + cliui: 5.0.0 + find-up: 3.0.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + require-main-filename: 2.0.0 + set-blocking: 2.0.0 + string-width: 3.1.0 + which-module: 2.0.0 + y18n: 4.0.3 + yargs-parser: 13.1.2 + dev: true + + /yargs/7.1.2: + resolution: {integrity: sha512-ZEjj/dQYQy0Zx0lgLMLR8QuaqTihnxirir7EwUHp1Axq4e3+k8jXU5K0VLbNvedv1f4EWtBonDIZm0NUr+jCcA==} + dependencies: + camelcase: 3.0.0 + cliui: 3.2.0 + decamelize: 1.2.0 + get-caller-file: 1.0.3 + os-locale: 1.4.0 + read-pkg-up: 1.0.1 + require-directory: 2.1.1 + require-main-filename: 1.0.1 + set-blocking: 2.0.0 + string-width: 1.0.2 + which-module: 1.0.0 + y18n: 3.2.2 + yargs-parser: 5.0.1 + dev: true diff --git a/src/main/resources/css/base.css b/src/main/resources/css/base.css index e4a5fb301..1471b8097 100644 --- a/src/main/resources/css/base.css +++ b/src/main/resources/css/base.css @@ -1 +1 @@ -.vditor{--border-color: #d1d5da;--second-color: rgba(88, 96, 105, 0.36);--panel-background-color: #fff;--panel-shadow: 0 1px 2px rgba(0, 0, 0, .2);--toolbar-background-color: #f6f8fa;--toolbar-icon-color: #586069;--toolbar-icon-hover-color: #4285f4;--toolbar-height: 35px;--toolbar-divider-margin-top: 8px;--textarea-background-color: #fafbfc;--textarea-text-color: #24292e;--resize-icon-color: var(--toolbar-icon-color);--resize-background-color: var(--toolbar-background-color);--resize-hover-icon-color: var(--panel-background-color);--resize-hover-background-color: var(--toolbar-icon-hover-color);--count-background-color:rgba(27, 31, 35, .05);--heading-border-color: #eaecef;--blockquote-color: #6a737d;--ir-heading-color: #660e7a;--ir-title-color: #808080;--ir-bi-color: #0033b3;--ir-link-color: #008000;--ir-bracket-color: #0000ff;--ir-paren-color: #008000}.vditor--dark{--border-color: #141414;--second-color: rgba(185, 185, 185, .36);--panel-background-color: #24292e;--panel-shadow: 0 1px 2px rgba(255, 255, 255, .2);--toolbar-background-color: #1d2125;--toolbar-icon-color: #b9b9b9;--toolbar-icon-hover-color: #fff;--textarea-background-color: #2f363d;--textarea-text-color: #d1d5da;--resize-icon-color: var(--border-color);--resize-background-color: var(--second-color);--resize-hover-icon-color: var(--toolbar-icon-hover-color);--resize-hover-background-color: rgba(185, 185, 185, .86);--count-background-color: rgba(66,133,244,0.36);--heading-border-color: var(--textarea-text-color);--blockquote-color: var(--toolbar-icon-color);--ir-heading-color: #9876aa;--ir-title-color: #808080;--ir-bi-color: #cc7832;--ir-link-color: #ffc66d;--ir-bracket-color: #287bde;--ir-paren-color: #6a8759}@keyframes tooltip-appear{from{opacity:0}to{opacity:1}}.vditor-tooltipped{position:relative;cursor:pointer}.vditor-tooltipped::after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font-size:11px;font-weight:normal;-webkit-font-smoothing:subpixel-antialiased;color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:#3b3e43;border-radius:3px;line-height:16px;opacity:0}.vditor-tooltipped::before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:#3b3e43;pointer-events:none;content:"";border:5px solid transparent;opacity:0}.vditor-tooltipped--hover::before,.vditor-tooltipped--hover::after,.vditor-tooltipped:hover::before,.vditor-tooltipped:hover::after,.vditor-tooltipped:active::before,.vditor-tooltipped:active::after,.vditor-tooltipped:focus::before,.vditor-tooltipped:focus::after{display:inline-block;text-decoration:none;animation-name:tooltip-appear;animation-duration:0.15s;animation-fill-mode:forwards;animation-timing-function:ease-in}.vditor-tooltipped__s::after,.vditor-tooltipped__se::after,.vditor-tooltipped__sw::after{top:100%;right:50%;margin-top:5px}.vditor-tooltipped__s::before,.vditor-tooltipped__se::before,.vditor-tooltipped__sw::before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:#3b3e43}.vditor-tooltipped__se::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__sw::after{margin-right:-15px}.vditor-tooltipped__n::after,.vditor-tooltipped__ne::after,.vditor-tooltipped__nw::after{right:50%;bottom:100%;margin-bottom:5px}.vditor-tooltipped__n::before,.vditor-tooltipped__ne::before,.vditor-tooltipped__nw::before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:#3b3e43}.vditor-tooltipped__ne::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__nw::after{margin-right:-15px}.vditor-tooltipped__s::after,.vditor-tooltipped__n::after{transform:translateX(50%)}.vditor-tooltipped__w::after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.vditor-tooltipped__w::before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:#3b3e43}.vditor-tooltipped__e::after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.vditor-tooltipped__e::before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:#3b3e43}@media screen and (max-width: 520px){.vditor-tooltipped:before,.vditor-tooltipped:after{content:none}}@keyframes scale-in{0%{opacity:0;transform:scale(0.5)}100%{opacity:1;transform:scale(1)}}.vditor-panel{background-color:var(--panel-background-color);position:absolute;box-shadow:var(--panel-shadow);border-radius:3px;padding:5px;z-index:3;font-size:14px;display:none;user-select:none;max-width:320px;min-width:80px;animation-duration:.15s;animation-name:scale-in;animation-timing-function:cubic-bezier(0.2, 0, 0.13, 1.5);color:var(--toolbar-icon-color)}.vditor-panel--none{padding:0;animation:none;min-width:auto;max-width:none;white-space:nowrap;opacity:.86}.vditor-panel--arrow:before{position:absolute;width:0;height:0;pointer-events:none;content:" ";border:7px solid transparent;top:-14px;left:5px;border-bottom-color:var(--panel-background-color)}.vditor-panel--left{right:0}.vditor-panel--left.vditor-panel--arrow:before{right:5px;left:auto}.vditor-input{border:0;padding:3px 5px;background-color:var(--panel-background-color);font-size:12px;color:var(--textarea-text-color)}.vditor-input:focus{background-color:var(--toolbar-background-color);outline:none}.vditor-icon{color:var(--toolbar-icon-color);cursor:pointer;float:left;padding:4px 5px;height:21px;width:23px;background-color:transparent;border:0;box-sizing:border-box}.vditor-icon:hover,.vditor-icon--current{color:var(--toolbar-icon-hover-color);background-color:transparent}.vditor-icon:focus{outline:none}.vditor-icon svg{height:13px !important;width:13px !important;float:left;fill:currentColor;pointer-events:none}.vditor-toolbar{background-color:var(--toolbar-background-color);border-bottom:1px solid var(--border-color);padding:0 5px;line-height:1}.vditor-toolbar--pin{position:sticky;top:0;z-index:1}.vditor-toolbar--hide{transition:all 0.15s ease-in-out;height:5px;overflow:hidden}.vditor-toolbar--hide:hover{background-color:var(--toolbar-background-color);height:auto;overflow:visible}.vditor-toolbar__item{float:left;position:relative}.vditor-toolbar__item .vditor-tooltipped{color:var(--toolbar-icon-color);border:0;padding:10px 5px;background-color:transparent;height:var(--toolbar-height);width:25px;box-sizing:border-box;font-size:0}.vditor-toolbar__item .vditor-tooltipped:focus{outline:none}.vditor-toolbar__item .vditor-tooltipped:focus{cursor:pointer;color:var(--toolbar-icon-hover-color)}.vditor-toolbar__item svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:15px;height:15px}.vditor-toolbar__item input{position:absolute;width:25px;height:var(--toolbar-height);top:0;left:0;cursor:pointer;opacity:.001;overflow:hidden}.vditor-toolbar__divider{float:left;height:calc(var(--toolbar-height) - (var(--toolbar-divider-margin-top) * 2));border-left:1px solid var(--second-color);margin:var(--toolbar-divider-margin-top) 8px}.vditor-toolbar__br{width:100%;padding:0 !important;height:0 !important}.vditor-menu--current{color:var(--toolbar-icon-hover-color) !important}.vditor-menu--disabled{color:var(--second-color) !important;cursor:not-allowed !important}.vditor-emojis{display:inline-block;overflow:auto}.vditor-emojis::-webkit-scrollbar{display:none}.vditor-emojis__tip{flex:1;min-width:1px;width:200px;margin-right:10px;color:var(--toolbar-icon-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vditor-emojis__tail{margin-top:5px;font-size:12px;color:var(--toolbar-icon-color);display:flex}.vditor-emojis__tail a{text-decoration:none;color:var(--toolbar-icon-color)}.vditor-emojis__tail a:hover{color:var(--toolbar-icon-hover-color)}.vditor-emojis button{cursor:pointer;border-radius:3px;float:left;height:30px;width:30px;text-align:center;line-height:26px;padding:3px;box-sizing:border-box;font-size:16px;transition:all 0.15s ease-in-out;border:0;margin:0;background-color:transparent;overflow:hidden}.vditor-emojis button:focus{outline:none}.vditor-emojis button:hover .vditor-emojis__icon{display:inline-block;transform:scale(1.2)}.vditor-emojis img{height:20px;width:20px;float:left;margin:3px 0 0 3px}@media screen and (max-width: 520px){.vditor-toolbar__item{padding:0 12px}.vditor-panel--left.vditor-panel--arrow:before{right:17px}}@media (hover: hover) and (pointer: fine){.vditor-toolbar__item .vditor-tooltipped:hover{color:var(--toolbar-icon-hover-color)}}@keyframes slideInDown{from{transform:translate3d(0, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.vditor{display:flex;flex-direction:column;border:1px solid var(--border-color);border-radius:3px;box-sizing:border-box;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif}.vditor .vditor-copy{z-index:auto}.vditor--fullscreen{position:fixed;top:0;width:100% !important;left:0;height:100vh !important;z-index:90;border-radius:0}.vditor-content{display:flex;min-height:60px;flex:1;min-width:1px;position:relative}.vditor-preview{flex:1;min-width:1px;overflow:auto;margin-left:-1px;border-left:1px solid var(--border-color);box-sizing:border-box;border-radius:0 0 3px 0;background-color:var(--textarea-background-color)}.vditor-preview::-webkit-scrollbar{display:none}.vditor-preview__action{text-align:center;padding:10px;background-color:var(--toolbar-background-color)}.vditor-preview__action button{background-color:var(--toolbar-background-color);color:var(--toolbar-icon-color);line-height:20px;border:0;margin:0 10px;cursor:pointer;padding:0 7px;font-size:12px}.vditor-preview__action button.vditor-preview__action--current,.vditor-preview__action button:hover{color:var(--toolbar-icon-hover-color);background-color:var(--toolbar-background-color)}.vditor-preview__action button:focus{outline:none}.vditor-preview__action button svg{fill:currentColor;height:15px;width:15px;vertical-align:middle}.vditor-preview>.vditor-reset{padding:10px;margin:0 auto}.vditor-devtools{display:none;background-color:var(--textarea-background-color);overflow:auto;flex:1;min-width:1px;box-shadow:inset 1px 0 var(--border-color);box-sizing:border-box;border-radius:0 0 3px 0;padding:10px}.vditor-counter{padding:3px;color:var(--toolbar-icon-color);background-color:var(--count-background-color);border-radius:3px;font-size:12px;user-select:none;float:right;margin:8px 3px 0 0}.vditor-counter--error{color:#d23f31;background-color:rgba(210,63,49,0.1)}.vditor-resize{padding:3px 0;cursor:row-resize;user-select:none;position:absolute;width:100%}.vditor-resize--top{top:-3px}.vditor-resize--bottom{bottom:-3px}.vditor-resize>div{height:3px;background-color:var(--resize-background-color);transition:all 0.15s ease-in-out}.vditor-resize:hover>div,.vditor-resize--selected>div{background-color:var(--resize-hover-background-color)}.vditor-resize:hover svg,.vditor-resize--selected svg{color:var(--resize-hover-icon-color)}.vditor-resize svg{fill:currentColor;stroke-width:0;stroke:currentColor;width:13px;height:3px;display:block;margin:0 auto;color:var(--resize-icon-color)}.vditor-upload{position:absolute;height:3px;left:0;top:-2px;transition:all 0.15s ease-in-out;background-color:#4285f4}.vditor-tip{position:absolute;font-size:12px;top:10px;animation-duration:.15s;animation-fill-mode:both;left:50%;z-index:5}.vditor-tip--show{display:block;animation-name:slideInDown}.vditor-tip__content{text-align:left;display:inline-block;line-height:16px;padding:3px 10px;border-radius:3px;background:var(--toolbar-background-color);position:relative;margin-left:-50%;color:var(--toolbar-icon-color);max-width:100%;box-shadow:var(--panel-shadow)}.vditor-tip__content ul{margin:2px 0;padding:0 0 0 18px}.vditor-tip__content a{color:#4285f4}.vditor-tip__close{position:absolute;color:var(--toolbar-icon-color);top:-7px;right:-15px;font-weight:bold;cursor:pointer}.vditor-tip__close:hover{color:var(--toolbar-icon-hover-color)}.vditor-img{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;z-index:3}.vditor-img__bar{border-bottom:1px solid var(--border-color);background-color:var(--toolbar-background-color);text-align:center;height:36px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.vditor-img__btn{display:flex;align-items:center;cursor:pointer;margin-left:24px;user-select:none;color:var(--toolbar-icon-color)}.vditor-img__btn:hover{color:var(--toolbar-icon-hover-color)}.vditor-img__btn svg{height:14px;width:14px;margin-right:8px;fill:currentColor}.vditor-img__img{flex:1;background-color:var(--textarea-background-color);overflow:auto;cursor:zoom-out}.vditor-img__img img{max-width:none}.vditor-hint{background-color:var(--panel-background-color);position:absolute;box-shadow:var(--panel-shadow);border-radius:3px;padding:5px 0;z-index:4;line-height:20px;list-style:none;font-size:12px;margin:0;max-width:250px;min-width:80px;display:none}.vditor-hint .vditor-hint{margin-top:-31px;left:100%;right:auto}.vditor-hint .vditor-hint.vditor-panel--left{right:100%;left:auto}.vditor-hint button{color:var(--toolbar-icon-color);display:block;padding:3px 10px;border:0;border-radius:0;line-height:20px;width:100%;box-sizing:border-box;text-align:left;margin:0;background-color:transparent;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vditor-hint button:focus{outline:none}.vditor-hint--current,.vditor-hint button:not(.vditor-menu--disabled):hover{background-color:var(--toolbar-background-color) !important;color:var(--toolbar-icon-hover-color) !important}.vditor-hint__emoji{font-size:16px;float:left;margin-right:3px}.vditor-hint img{height:20px;width:20px;float:left;margin-right:3px}.vditor-reset{color:#24292e;font-variant-ligatures:no-common-ligatures;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.5;font-size:16px;word-break:break-word}.vditor-reset--anchor{padding-left:20px}.vditor-reset--error{color:#d23f31;font-size:12px;display:block;line-height:16px}.vditor-reset ul ul ul{list-style-type:square}.vditor-reset ul ul{list-style-type:circle}.vditor-reset ul{list-style-type:disc}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li+li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset audio:focus{outline:none}.vditor-reset video{max-height:90vh;max-width:100%}.vditor-reset img{max-width:100%}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:sub}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1:hover .vditor-anchor svg,.vditor-reset h2:hover .vditor-anchor svg,.vditor-reset h3:hover .vditor-anchor svg,.vditor-reset h4:hover .vditor-anchor svg,.vditor-reset h5:hover .vditor-anchor svg,.vditor-reset h6:hover .vditor-anchor svg{visibility:visible}.vditor-reset h1{font-size:1.75em}.vditor-reset h2{font-size:1.55em}.vditor-reset h3{font-size:1.38em}.vditor-reset h4{font-size:1.25em}.vditor-reset h5{font-size:1.13em}.vditor-reset h6{font-size:1em}.vditor-reset hr{height:2px;padding:0;margin:24px 0;background-color:#eaecef;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#6a737d;border-left:0.25em solid #eaecef;margin:0 0 16px 0}.vditor-reset blockquote>:first-child{margin-top:0}.vditor-reset blockquote>:last-child{margin-bottom:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da;max-width:100%;box-sizing:border-box}.vditor-reset iframe.iframe__video{min-width:80%;min-height:36vh}.vditor-reset table{border-collapse:collapse;empty-cells:show;margin-bottom:16px;overflow:auto;border-spacing:0}.vditor-reset table tr{background-color:#fafbfc;border-top:1px solid #c6cbd1}.vditor-reset table td,.vditor-reset table th{padding:6px 13px;border:1px solid #dfe2e5;word-break:normal}.vditor-reset table th{font-weight:600}.vditor-reset table tbody tr:nth-child(2n){background-color:#fff}.vditor-reset code:not(.hljs):not(.highlight-chroma){padding:0.2em 0.4em;margin:0;font-size:85%;border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word;background-size:20px 20px;white-space:pre-wrap}.vditor-reset pre{margin:1em 0}.vditor-reset pre>code{margin:0;font-size:85%;padding:0.5em;border-radius:5px;display:block;overflow:auto;white-space:pre;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;background-size:20px 20px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAACVBMVEWAgIBaWlo+Pj7rTFvWAAAAA3RSTlMHCAw+VhR4AAAA+klEQVQoz4WSMW7EQAhFPxKWNh2FCx+HkaZI6RRb5DYbyVfIJXLKDCFoMbaTKSw/8ZnPAPjaH2xgZcUNUDADD7D9LtDBCLZ45fbkvo/30K8yeI64pPwl6znd/3n/Oe93P3ho9qeh72btTFzqkz0rsJle8Zr81OLEwZ1dv/713uWqvu2pl+k0fy7MWtj9r/tN5q/02z89qa/L4Dc2LvM93kezPfXlME/O86EbY/V9GB9ePX8G1/6W+/9h1dq/HGfTfzT3j/xNo7522Bfnqe5jO/fvhVthlfk434v3iO9zG/UOphyPeinPl1J8Gtaa7xPTa/Dk+RIs4deMvwGvcGsmsCvJ0AAAAABJRU5ErkJggg==);word-break:initial;word-wrap:normal}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-reset .language-math,.vditor-reset .language-echarts,.vditor-reset .language-mindmap,.vditor-reset .language-plantuml,.vditor-reset .language-mermaid,.vditor-reset .language-abc,.vditor-reset .language-flowchart,.vditor-reset .language-graphviz{margin-bottom:16px}.vditor-reset .language-math mjx-container:focus{outline:none;cursor:context-menu}.vditor-reset .language-echarts,.vditor-reset .language-mindmap{overflow:hidden;height:420px}.vditor-reset .language-mermaid,.vditor-reset .language-flowchart,.vditor-reset .language-graphviz{text-align:center}.vditor-reset .language-graphviz parsererror{overflow:auto}.vditor-reset kbd{display:inline-block;padding:3px 5px;font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:10px;color:#24292e;vertical-align:middle;background-color:#fafbfc;border:solid 1px #d1d5da;border-radius:3px;box-shadow:inset 0 -1px 0 #d1d5da}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto;stroke-width:initial}.vditor-reset p:last-child,.vditor-reset blockquote:last-child,.vditor-reset pre:last-child,.vditor-reset ul:last-child,.vditor-reset ol:last-child,.vditor-reset hr:last-child{margin-bottom:0}.vditor-comment{border-bottom:2px solid #f8e6ab}.vditor-comment--focus,.vditor-comment--hover{background-color:#faf1d1;border-bottom:2px solid #ffc60a}.vditor-comment--focus .vditor-comment,.vditor-comment--hover .vditor-comment{border-bottom:2px solid #ffc60a}.vditor-task{list-style:none !important;word-break:break-all}.vditor-task input{margin:0 .2em .25em -1.6em;font-size:12px;vertical-align:middle}.vditor-copy{position:relative;display:none;z-index:1}.vditor-copy textarea{position:absolute;left:-100000px;height:10px}.vditor-copy span{cursor:pointer;position:absolute;right:15px;top:0.5em}.vditor-copy svg{color:#586069;height:14px;width:14px !important;display:block;fill:currentColor}.vditor-linenumber{padding-left:4em !important;position:relative}.vditor-linenumber__rows{position:absolute;pointer-events:none;top:0.5em;left:0;width:3em;user-select:none;counter-reset:linenumber}.vditor-linenumber__rows>span{pointer-events:none;display:block}.vditor-linenumber__rows>span::before{counter-increment:linenumber;content:counter(linenumber);color:rgba(158,150,150,0.38);display:block;padding-right:1em;text-align:right}.vditor-speech{position:absolute;display:none;background-color:#f6f8fa;border:1px solid #d1d5da;border-radius:3px;padding:3px;cursor:pointer;color:#586069}.vditor-speech:hover,.vditor-speech--current{color:#4285f4}.vditor-speech svg{height:14px;width:14px;fill:currentColor;display:block;stroke-width:0;stroke:currentColor}.vditor-anchor{margin-left:5px}.vditor-anchor--left{float:left;padding-right:4px;margin-left:-20px}.vditor-anchor svg{visibility:hidden}.vditor-anchor:hover svg{visibility:visible}.vditor-anchor:focus{outline:none}.vditor-linkcard{margin:31px auto 16px;transition:all 0.15s ease-in-out;cursor:pointer;max-width:768px;padding:0 10px}.vditor-linkcard a{border-radius:3px;background-color:#f6f8fa;overflow:hidden;max-height:250px;display:flex;text-decoration:none;flex-wrap:wrap-reverse;box-shadow:0 1px 2px rgba(0,0,0,0.2)}.vditor-linkcard a:hover{box-shadow:0 0 3px rgba(0,0,0,0.13),0 3px 6px rgba(0,0,0,0.26);text-decoration:none}.vditor-linkcard a:visited .vditor-linkcard__abstract{color:rgba(88,96,105,0.36)}.vditor-linkcard__info{padding:10px;min-width:200px;box-sizing:border-box;flex:1}.vditor-linkcard__title{font-size:14px;font-weight:400;color:#24292e;display:flex;align-items:center}.vditor-linkcard__title img{cursor:pointer;height:20px;width:20px;border-radius:3px;flex-shrink:0;margin-right:5px}.vditor-linkcard__abstract{word-wrap:break-word;word-break:break-all;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;font-size:13px;color:#586069;margin:5px 0}.vditor-linkcard__site{font-size:12px;color:#4285f4}.vditor-linkcard__image{background-size:cover;background-repeat:no-repeat;background-position:center center;max-width:250px;min-width:126px;cursor:pointer;background-color:rgba(88,96,105,0.36)}.vditor-footnotes__goto-ref{text-decoration:none}.vditor-toc{margin-bottom:16px;user-select:text;color:#4285f4}.vditor-toc .vditor-outline__action{display:none}.vditor-toc ul{list-style:none !important;padding-left:1em}.vditor-toc>ul{padding-left:0}.vditor-toc span{cursor:pointer}.vditor-toc li>span>svg{width:0;height:0}.vditor-outline{width:250px;border-right:1px solid var(--border-color);background-color:var(--panel-background-color);display:none;overflow:auto}.vditor-outline--right{border-right:0;border-left:1px solid var(--border-color)}.vditor-outline::-webkit-scrollbar{display:none}.vditor-outline ul{list-style:none !important;padding-left:1em;margin:0}.vditor-outline__content>ul{padding-left:0}.vditor-outline li>span{display:flex;align-items:center;padding:5px 10px;cursor:pointer;color:var(--textarea-text-color)}.vditor-outline li>span>svg{height:10px;width:10px}.vditor-outline li>span:hover{color:var(--toolbar-icon-hover-color)}.vditor-outline li>span>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vditor-outline__title{border-bottom:1px dashed var(--border-color);padding:5px 10px;color:var(--toolbar-icon-color);font-size:12px}.vditor-outline__action{transition:all 0.15s ease-in-out;fill:currentColor;margin-right:5px;flex-shrink:0}.vditor-outline__action--close{transform:rotate(-90deg)}.vditor-wysiwyg{box-sizing:border-box;flex:1;position:relative;width:100%;min-width:1px}.vditor-wysiwyg pre.vditor-reset{background-color:var(--panel-background-color);margin:0;white-space:pre-wrap;height:100%;box-sizing:border-box}.vditor-wysiwyg pre.vditor-reset[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-wysiwyg pre.vditor-reset:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-wysiwyg pre.vditor-reset:focus{outline:none;background-color:var(--textarea-background-color)}.vditor-wysiwyg pre.vditor-reset:after{content:"";height:var(--editor-bottom);display:block}.vditor-wysiwyg blockquote:empty::before,.vditor-wysiwyg pre>code:empty::before,.vditor-wysiwyg p:empty::before,.vditor-wysiwyg h1:empty::after,.vditor-wysiwyg h2:empty::after,.vditor-wysiwyg h3:empty::after,.vditor-wysiwyg h4:empty::after,.vditor-wysiwyg h5:empty::after,.vditor-wysiwyg h6:empty::after{content:' '}.vditor-wysiwyg code[data-marker="`"]{padding-left:0 !important;padding-right:0 !important}.vditor-wysiwyg__block pre:first-child{margin-bottom:-1em}.vditor-wysiwyg__block pre:first-child code{height:auto;color:var(--textarea-text-color);height:auto;text-align:left}.vditor-wysiwyg__block pre:last-child{margin-bottom:1em}.vditor-wysiwyg__preview{cursor:pointer;white-space:initial;min-height:27px}.vditor-wysiwyg>.vditor-reset>h1:before,.vditor-wysiwyg>.vditor-reset>h2:before,.vditor-wysiwyg>.vditor-reset>h3:before,.vditor-wysiwyg>.vditor-reset>h4:before,.vditor-wysiwyg>.vditor-reset>h5:before,.vditor-wysiwyg>.vditor-reset>h6:before,.vditor-wysiwyg div.vditor-wysiwyg__block:before,.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,.vditor-wysiwyg div[data-type="footnotes-block"]:before,.vditor-wysiwyg .vditor-toc:before{float:left;padding-right:4px;margin-left:-29px;content:'H1';font-size:0.85rem;font-weight:normal;color:var(--second-color)}.vditor-wysiwyg>.vditor-reset>h2:before{content:'H2'}.vditor-wysiwyg>.vditor-reset>h3:before{content:'H3'}.vditor-wysiwyg>.vditor-reset>h4:before{content:'H4'}.vditor-wysiwyg>.vditor-reset>h5:before{content:'H5'}.vditor-wysiwyg>.vditor-reset>h6:before{content:'H6'}.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before{content:'"A"'}.vditor-wysiwyg div[data-type="footnotes-block"]:before{content:'^F'}.vditor-wysiwyg div.vditor-wysiwyg__block:before{content:""}.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="yaml-front-matter"]:before{content:"F"}.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="math-block"]:before{content:"$$"}.vditor-wysiwyg .vditor-toc:before{content:"ToC"}.vditor-wysiwyg hr{display:inline-block;margin:12px 0;width:100%}.vditor-wysiwyg details{white-space:initial}.vditor-wysiwyg a{cursor:pointer}.vditor-wysiwyg span[data-type="backslash"]>span{display:none;color:var(--second-color)}.vditor-wysiwyg span[data-type="link-ref"],.vditor-wysiwyg sup[data-type="footnotes-ref"]{color:#4285f4}.vditor-wysiwyg span[data-type="toc-h"]{color:#4285f4;text-decoration:underline}.vditor-wysiwyg div[data-type="footnotes-block"]{border-top:2px solid var(--heading-border-color);padding-top:24px;margin-top:24px}.vditor-wysiwyg div[data-type="link-ref-defs-block"]{color:var(--blockquote-color)}@media screen and (max-width: 520px){.vditor-wysiwyg h1:before,.vditor-wysiwyg h2:before,.vditor-wysiwyg h3:before,.vditor-wysiwyg h4:before,.vditor-wysiwyg h5:before,.vditor-wysiwyg h6:before,.vditor-wysiwyg div.vditor-wysiwyg__block:before,.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,.vditor-wysiwyg div[data-type="footnotes-block"]:before,.vditor-wysiwyg .vditor-toc:before{content:none}}.vditor-ir{box-sizing:border-box;flex:1;min-width:1px;position:relative;width:100%}.vditor-ir__node[data-type="code-block"]:before,.vditor-ir__node[data-type="code-block"]:after,.vditor-ir__node[data-type="yaml-front-matter"]:before,.vditor-ir__node[data-type="yaml-front-matter"]:after,.vditor-ir__node[data-type="math-block"]:before,.vditor-ir__node[data-type="math-block"]:after{content:' ';color:var(--second-color)}.vditor-ir__node:not(.vditor-ir__node--expand) .vditor-ir__marker{padding:0 !important}.vditor-ir__node:not(.vditor-ir__node--expand)[data-type="a"]{cursor:pointer}.vditor-ir__node[data-type="link-ref"],.vditor-ir__node[data-type="footnotes-ref"]{color:#4285f4}.vditor-ir__node[data-type="html-block"]{margin-bottom:1em}.vditor-ir__node .vditor-ir__marker{width:0;overflow:hidden;display:inline-block;height:0;transition:all 0.15s ease-in-out}.vditor-ir__node--hidden .vditor-ir__marker{visibility:hidden}.vditor-ir__node--expand .vditor-ir__marker{color:var(--second-color);display:inline;height:auto;width:auto}.vditor-ir__node--expand .vditor-ir__marker--hide{display:none}.vditor-ir__node--expand .vditor-ir__marker--heading{color:var(--ir-heading-color)}.vditor-ir__node--expand .vditor-ir__marker--bi{color:var(--ir-bi-color)}.vditor-ir__node--expand .vditor-ir__marker--link{color:var(--ir-link-color)}.vditor-ir__node--expand .vditor-ir__marker--title{color:var(--ir-title-color)}.vditor-ir__node--expand .vditor-ir__marker--bracket{color:var(--ir-bracket-color);text-decoration:underline}.vditor-ir__node--expand .vditor-ir__marker--paren{color:var(--ir-paren-color)}.vditor-ir__node--expand .vditor-ir__marker--info{color:var(--ir-heading-color)}.vditor-ir__node--expand .vditor-ir__marker--pre code{color:var(--textarea-text-color);height:auto;text-align:left}.vditor-ir__node--expand[data-type="code-block"]:before,.vditor-ir__node--expand[data-type="code-block"]:after{content:'```'}.vditor-ir__node--expand[data-type="yaml-front-matter"]:before,.vditor-ir__node--expand[data-type="yaml-front-matter"]:after{content:'---'}.vditor-ir__node--expand[data-type="math-block"]:before,.vditor-ir__node--expand[data-type="math-block"]:after{content:'$$'}.vditor-ir__node span[data-type="code-block-open-marker"],.vditor-ir__node span[data-type="code-block-close-marker"],.vditor-ir__node span[data-type="yaml-front-matter-open-marker"],.vditor-ir__node span[data-type="yaml-front-matter-close-marker"],.vditor-ir__node span[data-type="math-block-open-marker"],.vditor-ir__node span[data-type="math-block-close-marker"]{display:none}.vditor-ir__preview{cursor:pointer;white-space:initial;min-height:27px}.vditor-ir__link{color:var(--ir-bracket-color);text-decoration:underline}.vditor-ir pre.vditor-reset{background-color:var(--panel-background-color);margin:0;white-space:pre-wrap;height:100%;box-sizing:border-box}.vditor-ir pre.vditor-reset[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-ir pre.vditor-reset:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-ir pre.vditor-reset:focus{outline:none;background-color:var(--textarea-background-color)}.vditor-ir pre.vditor-reset:after{content:"";height:var(--editor-bottom);display:block}.vditor-ir pre.vditor-reset pre{margin:0}.vditor-ir hr{display:inline-block;margin:12px 0;width:100%}.vditor-ir blockquote:empty::before,.vditor-ir pre>code:empty::before,.vditor-ir p:empty::before,.vditor-ir h1:empty::after,.vditor-ir h2:empty::after,.vditor-ir h3:empty::after,.vditor-ir h4:empty::after,.vditor-ir h5:empty::after,.vditor-ir h6:empty::after{content:' '}.vditor-ir .vditor-reset>h1:before,.vditor-ir .vditor-reset>h2:before,.vditor-ir .vditor-reset>h3:before,.vditor-ir .vditor-reset>h4:before,.vditor-ir .vditor-reset>h5:before,.vditor-ir .vditor-reset>h6:before,.vditor-ir div[data-type="link-ref-defs-block"]:before,.vditor-ir div[data-type="footnotes-block"]:before,.vditor-ir .vditor-toc:before{float:left;padding-right:4px;margin-left:-29px;content:'H1';font-size:0.85rem;font-weight:normal;color:var(--second-color)}.vditor-ir .vditor-reset>h2:before{content:'H2'}.vditor-ir .vditor-reset>h3:before{content:'H3'}.vditor-ir .vditor-reset>h4:before{content:'H4'}.vditor-ir .vditor-reset>h5:before{content:'H5'}.vditor-ir .vditor-reset>h6:before{content:'H6'}.vditor-ir div[data-type="link-ref-defs-block"]{color:var(--blockquote-color)}.vditor-ir div[data-type="link-ref-defs-block"]:before{content:'"A"'}.vditor-ir div[data-type="footnotes-block"]{border-top:2px solid var(--heading-border-color);padding-top:24px;margin-top:24px}.vditor-ir div[data-type="footnotes-block"]:before{content:'^F'}.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>ul,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>ol,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>p,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>blockquote,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>pre,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>table,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>hr{margin-left:8px}.vditor-ir .vditor-toc:before{content:"ToC"}.vditor-ir .vditor-toc span[data-type="toc-h"]{color:#4285f4;text-decoration:underline}@media screen and (max-width: 520px){.vditor-ir h1:before,.vditor-ir h2:before,.vditor-ir h3:before,.vditor-ir h4:before,.vditor-ir h5:before,.vditor-ir h6:before,.vditor-ir div[data-type="link-ref-defs-block"]:before,.vditor-ir div[data-type="footnotes-block"]:before,.vditor-ir .vditor-toc:before{content:none}}.vditor-sv{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;margin:0 1px 0 0;overflow:auto;width:100%;flex:1;min-width:1px;border:0;resize:none;padding:10px 9px 10px 10px;box-sizing:border-box;background-color:var(--panel-background-color);outline:0 none;font-size:16px;line-height:22px;color:var(--textarea-text-color);border-radius:0 0 3px 3px;font-variant-ligatures:no-common-ligatures;white-space:pre-wrap;word-break:break-word;word-wrap:break-word}.vditor-sv[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-sv:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-sv:focus{background-color:var(--textarea-background-color)}.vditor-sv:after{content:"";height:var(--editor-bottom);display:block}.vditor-sv span[data-type="newline"]+span[data-type="text"]:empty{display:inherit}.vditor-sv .sup{vertical-align:super;font-size:smaller}.vditor-sv .strong{font-weight:bold}.vditor-sv .em{font-style:italic}.vditor-sv .s{text-decoration:line-through}.vditor-sv .mark:not(.vditor-sv__marker){background-color:yellow;color:black}.vditor-sv .h1{font-size:1.75em;line-height:44px}.vditor-sv .h2{font-size:1.55em;line-height:38px}.vditor-sv .h3{font-size:1.38em;line-height:27px}.vditor-sv .h4{font-size:1.25em;line-height:25px}.vditor-sv .h5{font-size:1.13em}.vditor-sv .h6{font-size:1em}.vditor-sv__marker{color:var(--second-color)}.vditor-sv__marker--heading{color:var(--ir-heading-color)}.vditor-sv__marker--bi{color:var(--ir-bi-color)}.vditor-sv__marker--link{color:var(--ir-link-color)}.vditor-sv__marker--title{color:var(--ir-title-color)}.vditor-sv__marker--bracket{color:var(--ir-bracket-color)}.vditor-sv__marker--paren{color:var(--ir-paren-color)}.vditor-sv__marker--info{color:var(--ir-heading-color)}.vditor-sv__marker--strong{font-weight:bold}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%;background-color:#3b3e43;height:100%}body{margin:0;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;font-size:14px;color:rgba(0,0,0,0.87);background-color:#fff}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none;color:#4285f4}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@-o-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@-ms-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}.fn-flex,.fn__flex{display:flex}.fn__flex-column{min-height:100%;display:flex;flex-direction:column}.fn-flex-1,.fn__flex-1{flex:1;min-width:1px}.fn-pointer{cursor:pointer}.fn-sub{vertical-align:sub}.fn-clear:before,.fn-clear:after{display:table;content:""}.fn-clear:after{clear:both}.fn-left{float:left}.fn-right{float:right}.fn-none{display:none}.fn-hidden{visibility:hidden}.fn-oh{overflow:hidden}.fn-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.fn-hr5{display:block;height:5px}.fn-content{padding:15px}.fn-inline{display:inline-block}.fn-text-top{vertical-align:text-top}.ft-13{font-size:13px}.ft-smaller{font-size:12px}.ft-gray{color:rgba(0,0,0,0.54)}.ft-fade{color:rgba(0,0,0,0.38)}.ft-red{color:#d23f31}.ft-blue{color:#4285f4}.ft-green{color:#569e3d}.ft-a-title{color:#616161;text-decoration:none}.ft-a-title:hover{color:rgba(0,0,0,0.87)}.ft-center{text-align:center}.ft-nowrap{white-space:nowrap}.count{text-decoration:none;padding:2px 5px;font-size:12px;font-weight:600;line-height:1;color:#616161;background-color:#eee;border-radius:20px;display:inline-block}.count:hover{text-decoration:none}.sub-head{padding:15px;border-bottom:1px solid #eee;line-height:18px;font-size:18px}.wrapper .aplayer{margin:0;box-shadow:0 1px 2px rgba(0,0,0,0.2)}.wrapper .aplayer .aplayer-pic{background-size:cover}.wrapper .aplayer svg{height:16px;width:16px;float:left;margin:0px 0 0 2px}#breezemoonList button.absolute{right:0;top:0}.breezemoon__input{padding-right:61px !important}.article-list .cb-stick{position:absolute;top:0;left:0;border-width:10px 15px 10px 15px;border-color:#999 transparent transparent #999;border-style:solid}.article-list .cb-stick .icon-pin{position:absolute;top:-8px;left:-15px;color:#FFF}.tag{font-size:12px;color:rgba(0,0,0,0.38);white-space:nowrap;display:inline-block;line-height:16px}.tooltipped{position:relative;cursor:pointer}.tooltipped::after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font-size:11px;font-weight:normal;-webkit-font-smoothing:subpixel-antialiased;color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,0.8);border-radius:3px;line-height:16px;opacity:0}.tooltipped::before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,0.8);pointer-events:none;content:"";border:5px solid transparent;opacity:0}@-webkit-keyframes tooltip-appear{from{opacity:0}to{opacity:1}}@keyframes tooltip-appear{from{opacity:0}to{opacity:1}}.tooltipped-hover::before,.tooltipped-hover::after,.tooltipped:hover::before,.tooltipped:hover::after,.tooltipped:active::before,.tooltipped:active::after,.tooltipped:focus::before,.tooltipped:focus::after{display:inline-block;text-decoration:none;-webkit-animation-name:tooltip-appear;animation-name:tooltip-appear;-webkit-animation-duration:0.1s;animation-duration:0.1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-animation-delay:0.4s;animation-delay:0.4s}.tooltipped-s::after,.tooltipped-se::after,.tooltipped-sw::after{top:100%;right:50%;margin-top:5px}.tooltipped-s::before,.tooltipped-se::before,.tooltipped-sw::before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,0.8)}.tooltipped-se::after{right:auto;left:50%;margin-left:-15px}.tooltipped-sw::after{margin-right:-15px}.tooltipped-n::after,.tooltipped-ne::after,.tooltipped-nw::after{right:50%;bottom:100%;margin-bottom:5px}.tooltipped-n::before,.tooltipped-ne::before,.tooltipped-nw::before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,0.8)}.tooltipped-ne::after{right:auto;left:50%;margin-left:-15px}.tooltipped-nw::after{margin-right:-15px}.tooltipped-s::after,.tooltipped-n::after{-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-w::after{right:100%;bottom:50%;margin-right:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-w::before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,0.8)}.tooltipped-e::after{bottom:50%;left:100%;margin-left:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-e::before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,0.8)}button,.btn{cursor:pointer;color:rgba(0,0,0,0.87);border-radius:3px;padding:6px 12px;background-color:rgba(0,0,0,0.02);border:1px solid #D5D5D5;border-bottom-color:#E1E1E1;box-sizing:border-box;line-height:19px;white-space:nowrap}button:hover,.btn:hover{text-decoration:none;border-color:rgba(0,0,0,0.38);background-color:#eee}button:active,.btn:active{background-color:rgba(0,0,0,0.38);box-shadow:0 2px 4px rgba(0,0,0,0.05) inset}button.green,.btn.green{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.15);background-color:#60b044;border-color:#5ca941}button.green:hover,.btn.green:hover{background-color:#569e3d}button.green:active{background-color:#569e3d;border-color:#418737;box-shadow:0 2px 4px rgba(0,0,0,0.25) inset}button.red,.btn.red{color:#d23f31}button.red:hover,.btn.red:hover,.btn.red-hover{color:#FFF;background-color:#d23f31;border-color:#c0372a}button.red:active,.btn.red:active{background-color:#d23f31;border-color:#c9320c;color:#FFF;box-shadow:0 2px 4px rgba(0,0,0,0.25) inset}button.small,.btn.small{padding:0 5px;font-size:12px;font-weight:normal;display:inline-block;line-height:19px;height:20px;text-shadow:initial}button.mid,.btn.mid{padding:3px 8px;font-size:13px;line-height:20px;height:28px}a[class^="icon-"],a[class*=" icon-"]{color:rgba(0,0,0,0.87)}a[class^="icon-"]:hover,a[class*=" icon-"]:hover{text-decoration:none;color:#4285f4}.radio-btn{background-color:#d23f31;border-radius:28px;bottom:20px;color:#fff;cursor:pointer;height:56px;line-height:56px;text-align:center;position:fixed;width:56px;z-index:110;right:20px;box-shadow:0 0 4px rgba(0,0,0,0.14),0 4px 8px rgba(0,0,0,0.28);box-sizing:border-box}.radio-btn svg{height:20px;width:20px}.go-top:hover,.radio-btn:hover{opacity:.84}.icon-wechat:hover{color:#3caf36}.icon-weibo:hover{color:#ff9933}.icon-google:hover{color:#dc4A3d}.icon-twitter:hover{color:#18a3fa}.icon-link:hover{color:#4285f4}.icon-qq:hover{color:#47d6fa}.icon-github:hover{color:#24292e}.icon-telegram:hover{color:#2da5e1}.tip.error{color:#d23f31;background-color:#ffdce0;border:1px solid rgba(27,31,35,0.15);border-radius:2px}.tip ul{margin:5px 30px;text-align:left}.tip.succ{background-color:#dbedff;border:1px solid rgba(27,31,35,0.15);border-radius:2px;color:#032f62}#registerTip,#loginTip,#addArticleTip,#profilesTip,#passwordTip{white-space:normal;word-wrap:break-word}.avatar,.avatar-small,.avatar-mid,.avatar-big{border-radius:3px 3px 3px 3px;background-size:cover;background-repeat:no-repeat;background-position:center center;display:inline-block;vertical-align:middle;background-color:rgba(0,0,0,0.02)}.avatar{height:38px;width:38px;margin-right:10px}.avatar-small{height:20px;width:20px}.avatar-mid{height:60px;width:60px;margin-right:15px}.avatar-big{height:210px;width:210px;border-radius:6px}.status{list-style:none;margin-top:20px;padding:20px 0}.status>li{overflow:hidden;flex:1;-webkit-box-flex:1;text-align:center}.status>li>strong{font-size:20px}.status>li>span{display:block}.grammar dd{font-size:12px;color:rgba(0,0,0,0.54)}.grammar dl{margin:8px 10px}.module.editor-toolbar-emoji{position:absolute;bottom:14px;height:111px;overflow:auto;z-index:124;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,0.2);width:50%}.module.editor-toolbar-emoji .emoji{cursor:pointer;padding:5px;border-radius:2px;margin-bottom:0}.module.editor-toolbar-emoji .emoji:hover{background-color:rgba(0,0,0,0.38)}.form{position:relative}.form table{width:100%}.form input[type=text],.form input[type=datetime],.form input[type=datetime-local],.form input[type=password],.form input[type=number],.form select,.form textarea{border:1px solid rgba(0,0,0,0.38);background-color:#FAFAFA;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset;padding:7px 8px;width:100%;line-height:17px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.form input[type=text]:focus,.form input[type=password]:focus,.form textarea:focus{background-color:#FFF;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset,0 0 5px rgba(81,167,232,0.5);border:1px solid #51A7E8}.form label{color:#616161;font-size:15px;margin:12px 0 6px;float:left;line-height:23px}.form label>a{font-weight:normal}.form label input[type=checkbox],.form label input[type=radio]{vertical-align:text-top;height:14px;width:14px}.form input[type=file]{width:1px;opacity:0.001}.form select{height:33px;padding-top:5px}.form button.absolute{position:absolute;right:15px;top:15px;border-radius:0 3px 3px 0}.pagination{border-top:1px solid #eee}.pagination,.tabs-sub{display:flex;font-size:12px;background-color:#fff;overflow:hidden;border-radius:0 0 3px 3px}.tabs-sub{border-bottom:1px solid #eee;border-radius:3px 3px 0 0}.pagination a,.pagination span,.tabs-sub a{line-height:35px;text-decoration:none;flex:1;text-align:center;color:#616161;padding:0 5px}.pagination a:hover,.tabs-sub a:hover{background-color:rgba(0,0,0,0.02)}.pagination span.current,.tabs-sub a.current{background-color:#3b3e43;color:#f0f0f0}.completed-panel{padding:0;overflow:auto;left:0;display:none;position:absolute;background-color:#FFF;border:1px solid #eee;z-index:82;border-radius:0 0 3px 3px;width:50%;top:33px;box-sizing:border-box}.completed-panel a{display:block;padding:3px;text-decoration:none;line-height:18px;height:18px}.completed-panel a.selected,.completed-panel a:hover{background-color:#F7F7F7}.dialog-background{background-color:#000000;display:none;height:100%;left:0;opacity:.5;position:fixed;top:0;width:100%;z-index:200}.dialog-panel{display:none;position:fixed;z-index:201;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,0.25);border-radius:5px;box-shadow:0 0 18px rgba(0,0,0,0.4);overflow:hidden}.dialog-header-bg{padding:10px;font-size:18px;font-weight:normal;border-bottom:1px solid #eee}.dialog-header-bg .icon-close{color:rgba(0,0,0,0.25);font-size:12px;float:right;font-weight:bold}.dialog-header-bg .icon-close:hover{color:rgba(0,0,0,0.87)}.dialog-main{min-width:300px;padding:10px;box-sizing:content-box}.wrapper{width:90%;margin:0 auto;display:flex;min-width:720px;max-width:1300px}.wrapper>.module:last-child{margin-bottom:0}.main{padding:20px 0;background-attachment:fixed;min-height:280px}.main__down{background-color:rgba(0,0,0,0.02);padding:20px 0}.side{width:28%;position:relative;min-width:236px}.content{margin-right:20px;flex:1;min-width:1px}.content .module:last-child{margin-bottom:0}.nav{height:48px;width:100%;background-color:#3b3e43;z-index:83;position:relative;box-sizing:border-box;display:flex;padding:0 10px}.nav h1{margin-right:20px}.nav h1 svg{height:38px;width:38px;margin-top:5px}.nav .nav-tabs{flex:1;text-align:center;overflow:hidden;line-height:20px}.nav .nav-tabs svg{margin:3px 2px 0 0;visibility:hidden;float:left}.nav .nav-tabs a:hover svg,.nav .nav-tabs a.current svg{visibility:visible}.nav .nav-tabs>a,.nav .user-nav>a,.nav .user-nav>span{display:inline-block;color:#fff;text-decoration:none;text-align:center;padding:14px 10px}.nav a.current{border-bottom:2px solid #d23f31;padding-bottom:12px}.nav .user-nav svg{height:20px;width:18px;float:left}.nav .user-nav>a,.nav .user-nav>span{float:left}.nav input::-webkit-input-placeholder{color:#ddd}.nav input.search{background-color:rgba(255,255,255,0.15);border:0px;border-radius:3px 3px 3px 3px;padding:5px 8px;width:180px;margin:10px 10px 0 20px;line-height:28px;height:28px;color:#eee;box-sizing:border-box;position:relative;vertical-align:top}.nav input.search:hover{background:rgba(255,255,255,0.25)}.nav input.search:focus{background:#fff;color:#222}.nav .user-nav .no-msg,.nav .user-nav .msg{background-color:#616161;border-radius:3px;color:#FFFFFF;padding:0px 6px;margin:14px 10px;line-height:20px}.nav .user-nav .msg{background-color:#d23f31;color:#FFFFFF}.nav .user-nav a.current.no-msg,.nav .user-nav a.current.msg{animation:none;background-color:#d23f31;border-bottom:0}.nav .person-list{position:absolute;top:48px;right:10px;width:154px;background-color:#fff;line-height:21px;display:none;box-shadow:0 1px 2px rgba(0,0,0,0.2)}.nav .person-list:after{top:-14px;right:12px;left:auto;position:absolute;border:7px solid transparent;border-bottom-color:#fff;content:" "}.nav .person-list li{list-style:none}.nav .person-list li:first-child a{border-radius:3px 3px 0 0}.nav .person-list li:last-child a{border-bottom:0}.nav .person-list a{display:block;text-shadow:0 1px 0 #fff;position:relative;padding:8px 10px;border-bottom:1px solid #eee;color:#616161}.nav .person-list a:hover{text-decoration:none;background-color:#f9f9f9}.nav #notificationsPanel:after{right:92px}.footer{color:#7d8186;line-height:24px;padding:10px 0;position:relative;z-index:40;background-color:#3b3e43}.footer a{color:#afb1b3}.footer a:hover{color:#888f91;text-decoration:none}.footer>.wrapper{display:block}.footer .footer-nav>a{margin-right:5px;padding-right:10px}.footer .slogan{padding:20px 0px 30px 0;margin:0px 0 10px;color:#f0f0f0;width:100%}.footer .slogan svg{height:16px;width:16px;vertical-align:sub}.no-list{line-height:48px;text-align:center}.list>ul>li>h2,.list>ul>li .fn-flex>h2,.list>ul>li .fn-flex-1>h2{font-weight:normal;line-height:20px;margin-bottom:2px;font-size:16px}.list>ul{list-style:none;padding:0 15px}.list>ul>li{border-bottom:1px solid #eee;padding:15px;white-space:normal;word-wrap:break-word;position:relative}.list>ul>li h2>a{color:rgba(0,0,0,0.87)}.list>ul>li h2>a:hover{color:#000}.list>ul>li.last,.list>ul>li:last-child{border-bottom-width:0}.list>ul>li.focus{background-color:#f5f5f5}.list.single-line li{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-wrap:normal;word-break:normal}.has-view{margin-right:40px}.cmts{position:absolute;right:15px;top:40%}.side .module:last-child{margin-bottom:0}.module{margin-bottom:20px;border-radius:3px;width:100%;word-wrap:break-word;box-sizing:border-box;min-width:1px}.module-header{border-radius:3px 3px 0 0;border-bottom:1px solid #eee;padding:8px 15px;font-size:14px;line-height:19px}.module-header h2{display:inline;font-size:13px;color:#616161;font-weight:normal}.module-panel{border-radius:0 0 5px 5px}.module-panel strong{display:inline-block;margin-top:14px}.module-panel .module-list li{list-style:none outside none;padding:15px;position:relative}.module-panel .module-list li.last,.module-panel .module-list li:last-child{border-bottom-width:0}.module .comment-content{color:rgba(0,0,0,0.54);float:left;margin-left:5px;width:210px}.module-panel.form{padding:15px}.module-list .slogan{position:absolute;top:50%;margin-top:-10px}.module-list .title{color:#616161;margin:0px 0 0px 30px;display:block;line-height:20px}.module-list.open-source .title{margin-left:60px}.module-list.open-source .slogan{margin-top:-10px}.module-panel.ad{padding:15px;text-align:center}.module-panel.ad .header{color:rgba(0,0,0,0.87)}.module-panel.ad img{margin-bottom:5px;margin-top:5px}.module-panel .tags li{float:left;list-style:none;line-height:14px;margin:15px 15px 0 0}.module-panel .tags{padding:0 0 15px 15px}.tag-desc.fn-clear{margin:15px 0 0px 15px}.tag-desc>li{float:left;position:relative;list-style:none;margin:0 15px 15px 0;font-size:12px}.tag-desc>li:hover>div{display:block}.tag-desc>li>a{float:left;color:#616161;padding:2px 5px;border:1px solid transparent;position:relative;height:20px;white-space:nowrap;word-wrap:normal;background-color:#F7F7F7;border-radius:3px 3px 3px 3px;line-height:21px}.tag-desc>li>a:hover{text-decoration:none}.tag-desc>li:hover>a{border-bottom-style:dotted;border-radius:3px 3px 0 0;z-index:2;color:rgba(0,0,0,0.87);box-shadow:0px 1px 1px rgba(0,0,0,0.2)}.tag-desc>li>a>span{text-decoration:none;color:rgba(0,0,0,0.54)}.tag-desc>li>a>img{border-radius:2px 2px 2px 2px;height:16px;width:16px;margin:-2px 2px 0 0}.tag-desc>li>div{background-color:#F7F7F7;border-radius:3px 0 3px 3px;display:none;right:0;margin-left:3px;padding:5px 10px;position:absolute;top:26px;z-index:3;width:200px;min-width:150px;box-shadow:0px 1px 1px rgba(0,0,0,0.2)}.tag-desc>li>div ul,.tag-desc>li>div li{margin-left:15px}#killBrowser img{position:absolute;right:36px;top:58px}#killBrowser .module{margin-bottom:0}.emoji{width:1.3em;height:1.3em;display:inline-block;margin-bottom:.25em;background-size:contain;vertical-align:text-top}.small-tips .emoji{margin-bottom:0;height:17px;width:17px}.person-info{border:1px solid #eee;position:relative}.person-info .status{margin-top:0;margin-bottom:20px;padding-top:0}.person-info .status .fn-pointer:hover span{color:rgba(0,0,0,0.87)}.person-info .module-panel{padding:0 15px 15px 15px}.person-info .activity-board{position:absolute;height:2px;background-color:#d23f31;top:-1px}.person-info .right{width:2px;right:-1px;left:auto}.person-info .left{width:2px;right:0;left:-1px}.person-info .bottom{top:auto;bottom:-1px}.painter-point{background-image:-webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.25, rgba(255,255,255,0.9)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255,255,255,0.9)), color-stop(0.75, rgba(255,255,255,0.9)), color-stop(0.75, transparent), to(transparent));background-image:-o-linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-size:8px 8px;height:17px;width:38px;display:inline-block;vertical-align:sub}.link-forge .module-header{line-height:20px}.link-forge .module-panel{max-height:409px;overflow:hidden}.link-forge .content .module-header .avatar-small{vertical-align:text-bottom}.link-forge-upload{margin-bottom:20px}.link-forge-upload .error,.link-forge-upload .succ{margin-top:10px}.link-forge-upload input[type=text]{height:40px}.link-forge-upload button{position:absolute;right:0;height:40px;border-radius:0 3px 3px 0}.responsive-show{display:none}.algolia-autocomplete .aa-dropdown-menu{background-color:#FFF;border-radius:3px;width:100%;word-wrap:break-word;box-sizing:border-box;box-shadow:0 1px 2px rgba(0,0,0,0.2);line-height:21px;margin-top:10px;margin-left:20px;width:300px;overflow:hidden;color:#616161}.algolia-autocomplete .aa-dataset-0{max-height:600px;overflow:auto}.algolia-autocomplete .aa-dropdown-menu img{height:20px}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion{cursor:pointer;text-shadow:0 1px 0 #fff;padding:8px 10px;border-bottom:1px solid #eee}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-cursor{background-color:#f9f9f9}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion em{font-weight:bold;color:#d23f31;font-style:normal}.algolia-autocomplete .aa-dropdown-menu .fn-right{margin:5px}#nprogress{pointer-events:none}#nprogress .bar{background:#d23f31;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}.breezemoon__btn{position:absolute;top:8px;right:15px;border-radius:0 3px 3px 0} +.vditor{--border-color: #d1d5da;--second-color: rgba(88, 96, 105, 0.36);--panel-background-color: #fff;--panel-shadow: 0 1px 2px rgba(0, 0, 0, .2);--toolbar-background-color: #f6f8fa;--toolbar-icon-color: #586069;--toolbar-icon-hover-color: #4285f4;--toolbar-height: 35px;--toolbar-divider-margin-top: 8px;--textarea-background-color: #fafbfc;--textarea-text-color: #24292e;--resize-icon-color: var(--toolbar-icon-color);--resize-background-color: var(--toolbar-background-color);--resize-hover-icon-color: var(--panel-background-color);--resize-hover-background-color: var(--toolbar-icon-hover-color);--count-background-color:rgba(27, 31, 35, .05);--heading-border-color: #eaecef;--blockquote-color: #6a737d;--ir-heading-color: #660e7a;--ir-title-color: #808080;--ir-bi-color: #0033b3;--ir-link-color: #008000;--ir-bracket-color: #0000ff;--ir-paren-color: #008000}.vditor--dark{--border-color: #141414;--second-color: rgba(185, 185, 185, .36);--panel-background-color: #24292e;--panel-shadow: 0 1px 2px rgba(255, 255, 255, .2);--toolbar-background-color: #1d2125;--toolbar-icon-color: #b9b9b9;--toolbar-icon-hover-color: #fff;--textarea-background-color: #2f363d;--textarea-text-color: #d1d5da;--resize-icon-color: var(--border-color);--resize-background-color: var(--second-color);--resize-hover-icon-color: var(--toolbar-icon-hover-color);--resize-hover-background-color: rgba(185, 185, 185, .86);--count-background-color: rgba(66,133,244,0.36);--heading-border-color: var(--textarea-text-color);--blockquote-color: var(--toolbar-icon-color);--ir-heading-color: #9876aa;--ir-title-color: #808080;--ir-bi-color: #cc7832;--ir-link-color: #ffc66d;--ir-bracket-color: #287bde;--ir-paren-color: #6a8759}@keyframes tooltip-appear{from{opacity:0}to{opacity:1}}.vditor-tooltipped{position:relative;cursor:pointer}.vditor-tooltipped::after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font-size:11px;font-weight:normal;-webkit-font-smoothing:subpixel-antialiased;color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:#3b3e43;border-radius:3px;line-height:16px;opacity:0}.vditor-tooltipped::before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:#3b3e43;pointer-events:none;content:"";border:5px solid transparent;opacity:0}.vditor-tooltipped--hover::before,.vditor-tooltipped--hover::after,.vditor-tooltipped:hover::before,.vditor-tooltipped:hover::after,.vditor-tooltipped:active::before,.vditor-tooltipped:active::after,.vditor-tooltipped:focus::before,.vditor-tooltipped:focus::after{display:inline-block;text-decoration:none;animation-name:tooltip-appear;animation-duration:0.15s;animation-fill-mode:forwards;animation-timing-function:ease-in}.vditor-tooltipped__s::after,.vditor-tooltipped__se::after,.vditor-tooltipped__sw::after{top:100%;right:50%;margin-top:5px}.vditor-tooltipped__s::before,.vditor-tooltipped__se::before,.vditor-tooltipped__sw::before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:#3b3e43}.vditor-tooltipped__se::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__sw::after{margin-right:-15px}.vditor-tooltipped__n::after,.vditor-tooltipped__ne::after,.vditor-tooltipped__nw::after{right:50%;bottom:100%;margin-bottom:5px}.vditor-tooltipped__n::before,.vditor-tooltipped__ne::before,.vditor-tooltipped__nw::before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:#3b3e43}.vditor-tooltipped__ne::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__nw::after{margin-right:-15px}.vditor-tooltipped__s::after,.vditor-tooltipped__n::after{transform:translateX(50%)}.vditor-tooltipped__w::after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.vditor-tooltipped__w::before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:#3b3e43}.vditor-tooltipped__e::after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.vditor-tooltipped__e::before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:#3b3e43}@media screen and (max-width: 520px){.vditor-tooltipped:before,.vditor-tooltipped:after{content:none}}@keyframes scale-in{0%{opacity:0;transform:scale(0.5)}100%{opacity:1;transform:scale(1)}}.vditor-panel{background-color:var(--panel-background-color);position:absolute;box-shadow:var(--panel-shadow);border-radius:3px;padding:5px;z-index:3;font-size:14px;display:none;user-select:none;max-width:320px;min-width:80px;animation-duration:.15s;animation-name:scale-in;animation-timing-function:cubic-bezier(0.2, 0, 0.13, 1.5);color:var(--toolbar-icon-color)}.vditor-panel--none{padding:0;animation:none;min-width:auto;max-width:none;white-space:nowrap;opacity:.86}.vditor-panel--arrow:before{position:absolute;width:0;height:0;pointer-events:none;content:" ";border:7px solid transparent;top:-14px;left:5px;border-bottom-color:var(--panel-background-color)}.vditor-panel--left{right:0}.vditor-panel--left.vditor-panel--arrow:before{right:5px;left:auto}.vditor-input{border:0;padding:3px 5px;background-color:var(--panel-background-color);font-size:12px;color:var(--textarea-text-color)}.vditor-input:focus{background-color:var(--toolbar-background-color);outline:none}.vditor-icon{color:var(--toolbar-icon-color);cursor:pointer;float:left;padding:4px 5px;height:21px;width:23px;background-color:transparent;border:0;box-sizing:border-box}.vditor-icon:hover,.vditor-icon--current{color:var(--toolbar-icon-hover-color);background-color:transparent}.vditor-icon:focus{outline:none}.vditor-icon svg{height:13px !important;width:13px !important;float:left;fill:currentColor;pointer-events:none}.vditor-toolbar{background-color:var(--toolbar-background-color);border-bottom:1px solid var(--border-color);padding:0 5px;line-height:1}.vditor-toolbar--pin{position:sticky;top:0;z-index:1}.vditor-toolbar--hide{transition:all 0.15s ease-in-out;height:5px;overflow:hidden}.vditor-toolbar--hide:hover{background-color:var(--toolbar-background-color);height:auto;overflow:visible}.vditor-toolbar__item{float:left;position:relative}.vditor-toolbar__item .vditor-tooltipped{color:var(--toolbar-icon-color);border:0;padding:10px 5px;background-color:transparent;height:var(--toolbar-height);width:25px;box-sizing:border-box;font-size:0}.vditor-toolbar__item .vditor-tooltipped:focus{outline:none}.vditor-toolbar__item .vditor-tooltipped:focus{cursor:pointer;color:var(--toolbar-icon-hover-color)}.vditor-toolbar__item svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:15px;height:15px}.vditor-toolbar__item input{position:absolute;width:25px;height:var(--toolbar-height);top:0;left:0;cursor:pointer;opacity:.001;overflow:hidden}.vditor-toolbar__divider{float:left;height:calc(var(--toolbar-height) - (var(--toolbar-divider-margin-top) * 2));border-left:1px solid var(--second-color);margin:var(--toolbar-divider-margin-top) 8px}.vditor-toolbar__br{width:100%;padding:0 !important;height:0 !important}.vditor-menu--current{color:var(--toolbar-icon-hover-color) !important}.vditor-menu--disabled{color:var(--second-color) !important;cursor:not-allowed !important}.vditor-emojis{display:inline-block;overflow:auto}.vditor-emojis::-webkit-scrollbar{display:none}.vditor-emojis__tip{flex:1;min-width:1px;width:200px;margin-right:10px;color:var(--toolbar-icon-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vditor-emojis__tail{margin-top:5px;font-size:12px;color:var(--toolbar-icon-color);display:flex}.vditor-emojis__tail a{text-decoration:none;color:var(--toolbar-icon-color)}.vditor-emojis__tail a:hover{color:var(--toolbar-icon-hover-color)}.vditor-emojis button{cursor:pointer;border-radius:3px;float:left;height:30px;width:30px;text-align:center;line-height:26px;padding:3px;box-sizing:border-box;font-size:16px;transition:all 0.15s ease-in-out;border:0;margin:0;background-color:transparent;overflow:hidden}.vditor-emojis button:focus{outline:none}.vditor-emojis button:hover .vditor-emojis__icon{display:inline-block;transform:scale(1.2)}.vditor-emojis img{height:20px;width:20px;float:left;margin:3px 0 0 3px}@media screen and (max-width: 520px){.vditor-toolbar__item{padding:0 12px}.vditor-panel--left.vditor-panel--arrow:before{right:17px}}@media (hover: hover) and (pointer: fine){.vditor-toolbar__item .vditor-tooltipped:hover{color:var(--toolbar-icon-hover-color)}}@keyframes slideInDown{from{transform:translate3d(0, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.vditor{display:flex;flex-direction:column;border:1px solid var(--border-color);border-radius:3px;box-sizing:border-box;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif}.vditor .vditor-copy{z-index:auto}.vditor--fullscreen{position:fixed;top:0;width:100% !important;left:0;height:100vh !important;z-index:90;border-radius:0}.vditor-content{display:flex;min-height:60px;flex:1;min-width:1px;position:relative}.vditor-preview{flex:1;min-width:1px;overflow:auto;margin-left:-1px;border-left:1px solid var(--border-color);box-sizing:border-box;border-radius:0 0 3px 0;background-color:var(--textarea-background-color)}.vditor-preview::-webkit-scrollbar{display:none}.vditor-preview__action{text-align:center;padding:10px;background-color:var(--toolbar-background-color)}.vditor-preview__action button{background-color:var(--toolbar-background-color);color:var(--toolbar-icon-color);line-height:20px;border:0;margin:0 10px;cursor:pointer;padding:0 7px;font-size:12px}.vditor-preview__action button.vditor-preview__action--current,.vditor-preview__action button:hover{color:var(--toolbar-icon-hover-color);background-color:var(--toolbar-background-color)}.vditor-preview__action button:focus{outline:none}.vditor-preview__action button svg{fill:currentColor;height:15px;width:15px;vertical-align:middle}.vditor-preview>.vditor-reset{padding:10px;margin:0 auto}.vditor-preview img:not(.emoji){cursor:pointer}.vditor-devtools{display:none;background-color:var(--textarea-background-color);overflow:auto;flex:1;min-width:1px;box-shadow:inset 1px 0 var(--border-color);box-sizing:border-box;border-radius:0 0 3px 0;padding:10px}.vditor-counter{padding:3px;color:var(--toolbar-icon-color);background-color:var(--count-background-color);border-radius:3px;font-size:12px;user-select:none;float:right;margin:8px 3px 0 0}.vditor-counter--error{color:#d23f31;background-color:rgba(210,63,49,0.1)}.vditor-resize{padding:3px 0;cursor:row-resize;user-select:none;position:absolute;width:100%}.vditor-resize--top{top:-3px}.vditor-resize--bottom{bottom:-3px}.vditor-resize>div{height:3px;background-color:var(--resize-background-color);transition:all 0.15s ease-in-out}.vditor-resize:hover>div,.vditor-resize--selected>div{background-color:var(--resize-hover-background-color)}.vditor-resize:hover svg,.vditor-resize--selected svg{color:var(--resize-hover-icon-color)}.vditor-resize svg{fill:currentColor;stroke-width:0;stroke:currentColor;width:13px;height:3px;display:block;margin:0 auto;color:var(--resize-icon-color)}.vditor-upload{position:absolute;height:3px;left:0;top:-2px;transition:all 0.15s ease-in-out;background-color:#4285f4}.vditor-tip{position:absolute;font-size:12px;top:10px;animation-duration:.15s;animation-fill-mode:both;left:50%;z-index:5}.vditor-tip--show{display:block;animation-name:slideInDown}.vditor-tip__content{text-align:left;display:inline-block;line-height:16px;padding:3px 10px;border-radius:3px;background:var(--toolbar-background-color);position:relative;margin-left:-50%;color:var(--toolbar-icon-color);max-width:100%;box-shadow:var(--panel-shadow)}.vditor-tip__content ul{margin:2px 0;padding:0 0 0 18px}.vditor-tip__content a{color:#4285f4}.vditor-tip__close{position:absolute;color:var(--toolbar-icon-color);top:-7px;right:-15px;font-weight:bold;cursor:pointer}.vditor-tip__close:hover{color:var(--toolbar-icon-hover-color)}.vditor-img{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;z-index:3}.vditor-img__bar{border-bottom:1px solid var(--border-color);background-color:var(--toolbar-background-color);text-align:center;height:36px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.vditor-img__btn{display:flex;align-items:center;cursor:pointer;margin-left:24px;user-select:none;color:var(--toolbar-icon-color)}.vditor-img__btn:hover{color:var(--toolbar-icon-hover-color)}.vditor-img__btn svg{height:14px;width:14px;margin-right:8px;fill:currentColor}.vditor-img__img{flex:1;background-color:var(--textarea-background-color);overflow:auto;cursor:zoom-out}.vditor-img__img img{max-width:none}.vditor-hint{background-color:var(--panel-background-color);position:absolute;box-shadow:var(--panel-shadow);border-radius:3px;padding:5px 0;z-index:4;line-height:20px;list-style:none;font-size:12px;margin:0;max-width:250px;min-width:80px;display:none}.vditor-hint .vditor-hint{margin-top:-31px;left:100%;right:auto}.vditor-hint .vditor-hint.vditor-panel--left{right:100%;left:auto}.vditor-hint button{color:var(--toolbar-icon-color);display:block;padding:3px 10px;border:0;border-radius:0;line-height:20px;width:100%;box-sizing:border-box;text-align:left;margin:0;background-color:transparent;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vditor-hint button:focus{outline:none}.vditor-hint--current,.vditor-hint button:not(.vditor-menu--disabled):hover{background-color:var(--toolbar-background-color) !important;color:var(--toolbar-icon-hover-color) !important}.vditor-hint__emoji{font-size:16px;float:left;margin-right:3px}.vditor-hint img{height:20px;width:20px;float:left;margin-right:3px}.vditor-reset{color:#24292e;font-variant-ligatures:no-common-ligatures;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.5;font-size:16px;word-break:break-word}.vditor-reset--anchor{padding-left:20px}.vditor-reset--error{color:#d23f31;font-size:12px;display:block;line-height:16px}.vditor-reset ul ul ul{list-style-type:square}.vditor-reset ul ul{list-style-type:circle}.vditor-reset ul{list-style-type:disc}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li+li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset audio:focus{outline:none}.vditor-reset video{max-height:90vh;max-width:100%}.vditor-reset img{max-width:100%}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:sub}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1:hover .vditor-anchor svg,.vditor-reset h2:hover .vditor-anchor svg,.vditor-reset h3:hover .vditor-anchor svg,.vditor-reset h4:hover .vditor-anchor svg,.vditor-reset h5:hover .vditor-anchor svg,.vditor-reset h6:hover .vditor-anchor svg{visibility:visible}.vditor-reset h1{font-size:1.75em}.vditor-reset h2{font-size:1.55em}.vditor-reset h3{font-size:1.38em}.vditor-reset h4{font-size:1.25em}.vditor-reset h5{font-size:1.13em}.vditor-reset h6{font-size:1em}.vditor-reset hr{height:2px;padding:0;margin:24px 0;background-color:#eaecef;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#6a737d;border-left:0.25em solid #eaecef;margin:0 0 16px 0}.vditor-reset blockquote>:first-child{margin-top:0}.vditor-reset blockquote>:last-child{margin-bottom:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da;max-width:100%;box-sizing:border-box}.vditor-reset iframe.iframe__video{min-width:80%;min-height:36vh}.vditor-reset table{border-collapse:collapse;empty-cells:show;margin-bottom:16px;overflow:auto;border-spacing:0;display:block;word-break:keep-all;width:100%}.vditor-reset table tr{background-color:#fafbfc;border-top:1px solid #c6cbd1}.vditor-reset table td,.vditor-reset table th{padding:6px 13px;border:1px solid #dfe2e5;word-break:normal;white-space:nowrap}.vditor-reset table td:first-child::after,.vditor-reset table th:first-child::after{content:"";display:inline-block;vertical-align:top;min-height:24px}.vditor-reset table th{font-weight:600}.vditor-reset table tbody tr:nth-child(2n){background-color:#fff}.vditor-reset code:not(.hljs):not(.highlight-chroma){padding:0.2em 0.4em;margin:0;font-size:85%;border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word;background-size:20px 20px;white-space:pre-wrap}.vditor-reset pre{margin:1em 0}.vditor-reset pre>code{margin:0;font-size:85%;padding:0.5em;border-radius:5px;display:block;overflow:auto;white-space:pre;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;background-size:20px 20px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAACVBMVEWAgIBaWlo+Pj7rTFvWAAAAA3RSTlMHCAw+VhR4AAAA+klEQVQoz4WSMW7EQAhFPxKWNh2FCx+HkaZI6RRb5DYbyVfIJXLKDCFoMbaTKSw/8ZnPAPjaH2xgZcUNUDADD7D9LtDBCLZ45fbkvo/30K8yeI64pPwl6znd/3n/Oe93P3ho9qeh72btTFzqkz0rsJle8Zr81OLEwZ1dv/713uWqvu2pl+k0fy7MWtj9r/tN5q/02z89qa/L4Dc2LvM93kezPfXlME/O86EbY/V9GB9ePX8G1/6W+/9h1dq/HGfTfzT3j/xNo7522Bfnqe5jO/fvhVthlfk434v3iO9zG/UOphyPeinPl1J8Gtaa7xPTa/Dk+RIs4deMvwGvcGsmsCvJ0AAAAABJRU5ErkJggg==);word-break:initial;word-wrap:normal}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-reset .language-math,.vditor-reset .language-echarts,.vditor-reset .language-mindmap,.vditor-reset .language-plantuml,.vditor-reset .language-mermaid,.vditor-reset .language-abc,.vditor-reset .language-flowchart,.vditor-reset .language-graphviz{margin-bottom:16px}.vditor-reset .language-math mjx-container:focus{outline:none;cursor:context-menu}.vditor-reset .language-echarts,.vditor-reset .language-mindmap{overflow:hidden;height:420px}.vditor-reset .language-mermaid,.vditor-reset .language-flowchart,.vditor-reset .language-graphviz{text-align:center}.vditor-reset .language-graphviz parsererror{overflow:auto}.vditor-reset kbd{display:inline-block;padding:3px 5px;font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:10px;color:#24292e;vertical-align:middle;background-color:#fafbfc;border:solid 1px #d1d5da;border-radius:3px;box-shadow:inset 0 -1px 0 #d1d5da}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto;stroke-width:initial}.vditor-reset p:last-child,.vditor-reset blockquote:last-child,.vditor-reset pre:last-child,.vditor-reset ul:last-child,.vditor-reset ol:last-child,.vditor-reset hr:last-child{margin-bottom:0}.vditor-comment{border-bottom:2px solid #f8e6ab}.vditor-comment--focus,.vditor-comment--hover{background-color:#faf1d1;border-bottom:2px solid #ffc60a}.vditor-comment--focus .vditor-comment,.vditor-comment--hover .vditor-comment{border-bottom:2px solid #ffc60a}.vditor-task{list-style:none !important;word-break:break-all}.vditor-task input{margin:0 .2em .25em -1.6em;font-size:12px;vertical-align:middle}.vditor-copy{position:relative;display:none;z-index:1}.vditor-copy textarea{position:absolute;left:-100000px;height:10px}.vditor-copy span{cursor:pointer;position:absolute;right:15px;top:0.5em}.vditor-copy svg{color:#586069;height:14px;width:14px !important;display:block;fill:currentColor}.vditor-linenumber{padding-left:4em !important;position:relative}.vditor-linenumber__rows{position:absolute;pointer-events:none;top:0.5em;left:0;width:3em;user-select:none;counter-reset:linenumber}.vditor-linenumber__rows>span{pointer-events:none;display:block}.vditor-linenumber__rows>span::before{counter-increment:linenumber;content:counter(linenumber);color:rgba(158,150,150,0.38);display:block;padding-right:1em;text-align:right}.vditor-speech{position:absolute;display:none;background-color:#f6f8fa;border:1px solid #d1d5da;border-radius:3px;padding:3px;cursor:pointer;color:#586069}.vditor-speech:hover,.vditor-speech--current{color:#4285f4}.vditor-speech svg{height:14px;width:14px;fill:currentColor;display:block;stroke-width:0;stroke:currentColor}.vditor-anchor{margin-left:5px}.vditor-anchor--left{float:left;padding-right:4px;margin-left:-20px}.vditor-anchor svg{visibility:hidden}.vditor-anchor:hover svg{visibility:visible}.vditor-anchor:focus{outline:none}.vditor-linkcard{margin:31px auto 16px;transition:all 0.15s ease-in-out;cursor:pointer;max-width:768px;padding:0 10px}.vditor-linkcard a{border-radius:3px;background-color:#f6f8fa;overflow:hidden;max-height:250px;display:flex;text-decoration:none;flex-wrap:wrap-reverse;box-shadow:0 1px 2px rgba(0,0,0,0.2)}.vditor-linkcard a:hover{box-shadow:0 0 3px rgba(0,0,0,0.13),0 3px 6px rgba(0,0,0,0.26);text-decoration:none}.vditor-linkcard a:visited .vditor-linkcard__abstract{color:rgba(88,96,105,0.36)}.vditor-linkcard__info{padding:10px;min-width:200px;box-sizing:border-box;flex:1}.vditor-linkcard__title{font-size:14px;font-weight:400;color:#24292e;display:flex;align-items:center}.vditor-linkcard__title img{cursor:pointer;height:20px;width:20px;border-radius:3px;flex-shrink:0;margin-right:5px}.vditor-linkcard__abstract{word-wrap:break-word;word-break:break-all;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;font-size:13px;color:#586069;margin:5px 0}.vditor-linkcard__site{font-size:12px;color:#4285f4}.vditor-linkcard__image{background-size:cover;background-repeat:no-repeat;background-position:center center;max-width:250px;min-width:126px;cursor:pointer;background-color:rgba(88,96,105,0.36)}.vditor-footnotes__goto-ref{text-decoration:none}.vditor-toc{margin-bottom:16px;user-select:text;color:#4285f4}.vditor-toc .vditor-outline__action{display:none}.vditor-toc ul{list-style:none !important;padding-left:1em}.vditor-toc>ul{padding-left:0}.vditor-toc span{cursor:pointer}.vditor-toc li>span>svg{width:0;height:0}.vditor-outline{width:250px;border-right:1px solid var(--border-color);background-color:var(--panel-background-color);display:none;overflow:auto}.vditor-outline--right{border-right:0;border-left:1px solid var(--border-color)}.vditor-outline::-webkit-scrollbar{display:none}.vditor-outline ul{list-style:none !important;padding-left:1em;margin:0}.vditor-outline__content>ul{padding-left:0}.vditor-outline li>span{display:flex;align-items:center;padding:5px 10px;cursor:pointer;color:var(--textarea-text-color)}.vditor-outline li>span>svg{height:10px;width:10px}.vditor-outline li>span:hover{color:var(--toolbar-icon-hover-color)}.vditor-outline li>span>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vditor-outline__title{border-bottom:1px dashed var(--border-color);padding:5px 10px;color:var(--toolbar-icon-color);font-size:12px}.vditor-outline__action{transition:all 0.15s ease-in-out;fill:currentColor;margin-right:5px;flex-shrink:0}.vditor-outline__action--close{transform:rotate(-90deg)}.vditor-wysiwyg{box-sizing:border-box;flex:1;position:relative;width:100%;min-width:1px}.vditor-wysiwyg pre.vditor-reset{background-color:var(--panel-background-color);margin:0;white-space:pre-wrap;height:100%;box-sizing:border-box}.vditor-wysiwyg pre.vditor-reset[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-wysiwyg pre.vditor-reset:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-wysiwyg pre.vditor-reset:focus{outline:none;background-color:var(--textarea-background-color)}.vditor-wysiwyg pre.vditor-reset:after{content:"";height:var(--editor-bottom);display:block}.vditor-wysiwyg blockquote:empty::before,.vditor-wysiwyg pre>code:empty::before,.vditor-wysiwyg p:empty::before,.vditor-wysiwyg h1:empty::after,.vditor-wysiwyg h2:empty::after,.vditor-wysiwyg h3:empty::after,.vditor-wysiwyg h4:empty::after,.vditor-wysiwyg h5:empty::after,.vditor-wysiwyg h6:empty::after{content:' '}.vditor-wysiwyg code[data-marker="`"]{padding-left:0 !important;padding-right:0 !important}.vditor-wysiwyg__block pre:first-child{margin-bottom:-1em}.vditor-wysiwyg__block pre:first-child code{height:auto;color:var(--textarea-text-color);height:auto;text-align:left}.vditor-wysiwyg__block pre:last-child{margin-bottom:1em}.vditor-wysiwyg__preview{cursor:pointer;white-space:initial;min-height:27px}.vditor-wysiwyg>.vditor-reset>h1:before,.vditor-wysiwyg>.vditor-reset>h2:before,.vditor-wysiwyg>.vditor-reset>h3:before,.vditor-wysiwyg>.vditor-reset>h4:before,.vditor-wysiwyg>.vditor-reset>h5:before,.vditor-wysiwyg>.vditor-reset>h6:before,.vditor-wysiwyg div.vditor-wysiwyg__block:before,.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,.vditor-wysiwyg div[data-type="footnotes-block"]:before,.vditor-wysiwyg .vditor-toc:before{float:left;padding-right:4px;margin-left:-29px;content:'H1';font-size:0.85rem;font-weight:normal;color:var(--second-color)}.vditor-wysiwyg>.vditor-reset>h2:before{content:'H2'}.vditor-wysiwyg>.vditor-reset>h3:before{content:'H3'}.vditor-wysiwyg>.vditor-reset>h4:before{content:'H4'}.vditor-wysiwyg>.vditor-reset>h5:before{content:'H5'}.vditor-wysiwyg>.vditor-reset>h6:before{content:'H6'}.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before{content:'"A"'}.vditor-wysiwyg div[data-type="footnotes-block"]:before{content:'^F'}.vditor-wysiwyg div.vditor-wysiwyg__block:before{content:""}.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="yaml-front-matter"]:before{content:"F"}.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="math-block"]:before{content:"$$"}.vditor-wysiwyg .vditor-toc:before{content:"ToC"}.vditor-wysiwyg hr{display:inline-block;margin:12px 0;width:100%}.vditor-wysiwyg details{white-space:initial}.vditor-wysiwyg a{cursor:pointer}.vditor-wysiwyg span[data-type="backslash"]>span{display:none;color:var(--second-color)}.vditor-wysiwyg span[data-type="link-ref"],.vditor-wysiwyg sup[data-type="footnotes-ref"]{color:#4285f4}.vditor-wysiwyg span[data-type="toc-h"]{color:#4285f4;text-decoration:underline}.vditor-wysiwyg div[data-type="footnotes-block"]{border-top:2px solid var(--heading-border-color);padding-top:24px;margin-top:24px}.vditor-wysiwyg div[data-type="link-ref-defs-block"]{color:var(--blockquote-color)}@media screen and (max-width: 520px){.vditor-wysiwyg h1:before,.vditor-wysiwyg h2:before,.vditor-wysiwyg h3:before,.vditor-wysiwyg h4:before,.vditor-wysiwyg h5:before,.vditor-wysiwyg h6:before,.vditor-wysiwyg div.vditor-wysiwyg__block:before,.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,.vditor-wysiwyg div[data-type="footnotes-block"]:before,.vditor-wysiwyg .vditor-toc:before{content:none}}.vditor-ir{box-sizing:border-box;flex:1;min-width:1px;position:relative;width:100%}.vditor-ir__node[data-type="code-block"]:before,.vditor-ir__node[data-type="code-block"]:after,.vditor-ir__node[data-type="yaml-front-matter"]:before,.vditor-ir__node[data-type="yaml-front-matter"]:after,.vditor-ir__node[data-type="math-block"]:before,.vditor-ir__node[data-type="math-block"]:after{content:' ';color:var(--second-color)}.vditor-ir__node:not(.vditor-ir__node--expand) .vditor-ir__marker{padding:0 !important}.vditor-ir__node:not(.vditor-ir__node--expand)[data-type="a"]{cursor:pointer}.vditor-ir__node[data-type="link-ref"],.vditor-ir__node[data-type="footnotes-ref"]{color:#4285f4}.vditor-ir__node[data-type="html-block"]{margin-bottom:1em}.vditor-ir__node .vditor-ir__marker{width:0;overflow:hidden;display:inline-block;height:0;transition:all 0.15s ease-in-out}.vditor-ir__node--hidden .vditor-ir__marker{visibility:hidden}.vditor-ir__node--expand .vditor-ir__marker{color:var(--second-color);display:inline;height:auto;width:auto}.vditor-ir__node--expand .vditor-ir__marker--hide{display:none}.vditor-ir__node--expand .vditor-ir__marker--heading{color:var(--ir-heading-color)}.vditor-ir__node--expand .vditor-ir__marker--bi{color:var(--ir-bi-color)}.vditor-ir__node--expand .vditor-ir__marker--link{color:var(--ir-link-color)}.vditor-ir__node--expand .vditor-ir__marker--title{color:var(--ir-title-color)}.vditor-ir__node--expand .vditor-ir__marker--bracket{color:var(--ir-bracket-color);text-decoration:underline}.vditor-ir__node--expand .vditor-ir__marker--paren{color:var(--ir-paren-color)}.vditor-ir__node--expand .vditor-ir__marker--info{color:var(--ir-heading-color)}.vditor-ir__node--expand .vditor-ir__marker--pre code{color:var(--textarea-text-color);height:auto;text-align:left}.vditor-ir__node--expand[data-type="code-block"]:before,.vditor-ir__node--expand[data-type="code-block"]:after{content:'```'}.vditor-ir__node--expand[data-type="yaml-front-matter"]:before,.vditor-ir__node--expand[data-type="yaml-front-matter"]:after{content:'---'}.vditor-ir__node--expand[data-type="math-block"]:before,.vditor-ir__node--expand[data-type="math-block"]:after{content:'$$'}.vditor-ir__node span[data-type="code-block-open-marker"],.vditor-ir__node span[data-type="code-block-close-marker"],.vditor-ir__node span[data-type="yaml-front-matter-open-marker"],.vditor-ir__node span[data-type="yaml-front-matter-close-marker"],.vditor-ir__node span[data-type="math-block-open-marker"],.vditor-ir__node span[data-type="math-block-close-marker"]{display:none}.vditor-ir__preview{cursor:pointer;white-space:initial;min-height:27px}.vditor-ir__link{color:var(--ir-bracket-color);text-decoration:underline}.vditor-ir pre.vditor-reset{background-color:var(--panel-background-color);margin:0;white-space:pre-wrap;height:100%;box-sizing:border-box}.vditor-ir pre.vditor-reset[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-ir pre.vditor-reset:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-ir pre.vditor-reset:focus{outline:none;background-color:var(--textarea-background-color)}.vditor-ir pre.vditor-reset:after{content:"";height:var(--editor-bottom);display:block}.vditor-ir pre.vditor-reset pre{margin:0}.vditor-ir hr{display:inline-block;margin:12px 0;width:100%}.vditor-ir blockquote:empty::before,.vditor-ir pre>code:empty::before,.vditor-ir p:empty::before,.vditor-ir h1:empty::after,.vditor-ir h2:empty::after,.vditor-ir h3:empty::after,.vditor-ir h4:empty::after,.vditor-ir h5:empty::after,.vditor-ir h6:empty::after{content:' '}.vditor-ir .vditor-reset>h1:before,.vditor-ir .vditor-reset>h2:before,.vditor-ir .vditor-reset>h3:before,.vditor-ir .vditor-reset>h4:before,.vditor-ir .vditor-reset>h5:before,.vditor-ir .vditor-reset>h6:before,.vditor-ir div[data-type="link-ref-defs-block"]:before,.vditor-ir div[data-type="footnotes-block"]:before,.vditor-ir .vditor-toc:before{float:left;padding-right:4px;margin-left:-29px;content:'H1';font-size:0.85rem;font-weight:normal;color:var(--second-color)}.vditor-ir .vditor-reset>h2:before{content:'H2'}.vditor-ir .vditor-reset>h3:before{content:'H3'}.vditor-ir .vditor-reset>h4:before{content:'H4'}.vditor-ir .vditor-reset>h5:before{content:'H5'}.vditor-ir .vditor-reset>h6:before{content:'H6'}.vditor-ir div[data-type="link-ref-defs-block"]{color:var(--blockquote-color)}.vditor-ir div[data-type="link-ref-defs-block"]:before{content:'"A"'}.vditor-ir div[data-type="footnotes-block"]{border-top:2px solid var(--heading-border-color);padding-top:24px;margin-top:24px}.vditor-ir div[data-type="footnotes-block"]:before{content:'^F'}.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>ul,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>ol,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>p,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>blockquote,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>pre,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>table,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>hr{margin-left:8px}.vditor-ir .vditor-toc:before{content:"ToC"}.vditor-ir .vditor-toc span[data-type="toc-h"]{color:#4285f4;text-decoration:underline}@media screen and (max-width: 520px){.vditor-ir h1:before,.vditor-ir h2:before,.vditor-ir h3:before,.vditor-ir h4:before,.vditor-ir h5:before,.vditor-ir h6:before,.vditor-ir div[data-type="link-ref-defs-block"]:before,.vditor-ir div[data-type="footnotes-block"]:before,.vditor-ir .vditor-toc:before{content:none}}.vditor-sv{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;margin:0 1px 0 0;overflow:auto;width:100%;flex:1;min-width:1px;border:0;resize:none;padding:10px 9px 10px 10px;box-sizing:border-box;background-color:var(--panel-background-color);outline:0 none;font-size:16px;line-height:22px;color:var(--textarea-text-color);border-radius:0 0 3px 3px;font-variant-ligatures:no-common-ligatures;white-space:pre-wrap;word-break:break-word;word-wrap:break-word}.vditor-sv[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-sv:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-sv:focus{background-color:var(--textarea-background-color)}.vditor-sv:after{content:"";height:var(--editor-bottom);display:block}.vditor-sv span[data-type="newline"]+span[data-type="text"]:empty{display:inherit}.vditor-sv .sup{vertical-align:super;font-size:smaller}.vditor-sv .strong{font-weight:bold}.vditor-sv .em{font-style:italic}.vditor-sv .s{text-decoration:line-through}.vditor-sv .mark:not(.vditor-sv__marker){background-color:yellow;color:black}.vditor-sv .h1{font-size:1.75em;line-height:44px}.vditor-sv .h2{font-size:1.55em;line-height:38px}.vditor-sv .h3{font-size:1.38em;line-height:27px}.vditor-sv .h4{font-size:1.25em;line-height:25px}.vditor-sv .h5{font-size:1.13em}.vditor-sv .h6{font-size:1em}.vditor-sv__marker{color:var(--second-color)}.vditor-sv__marker--heading{color:var(--ir-heading-color)}.vditor-sv__marker--bi{color:var(--ir-bi-color)}.vditor-sv__marker--link{color:var(--ir-link-color)}.vditor-sv__marker--title{color:var(--ir-title-color)}.vditor-sv__marker--bracket{color:var(--ir-bracket-color)}.vditor-sv__marker--paren{color:var(--ir-paren-color)}.vditor-sv__marker--info{color:var(--ir-heading-color)}.vditor-sv__marker--strong{font-weight:bold}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%;background-color:#3b3e43;height:100%}body{margin:0;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;font-size:14px;color:rgba(0,0,0,0.87);background-color:#fff}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none;color:#4285f4}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@-o-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@-ms-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}.fn-flex,.fn__flex{display:flex}.fn__flex-column{min-height:100%;display:flex;flex-direction:column}.fn-flex-1,.fn__flex-1{flex:1;min-width:1px}.fn-pointer{cursor:pointer}.fn-sub{vertical-align:sub}.fn-clear:before,.fn-clear:after{display:table;content:""}.fn-clear:after{clear:both}.fn-left{float:left}.fn-right{float:right}.fn-none{display:none}.fn-hidden{visibility:hidden}.fn-oh{overflow:hidden}.fn-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.fn-hr5{display:block;height:5px}.fn-content{padding:15px}.fn-inline{display:inline-block}.fn-text-top{vertical-align:text-top}.ft-13{font-size:13px}.ft-smaller{font-size:12px}.ft-gray{color:rgba(0,0,0,0.54)}.ft-fade{color:rgba(0,0,0,0.38)}.ft-red{color:#d23f31}.ft-blue{color:#4285f4}.ft-green{color:#569e3d}.ft-a-title{color:#616161;text-decoration:none}.ft-a-title:hover{color:rgba(0,0,0,0.87)}.ft-center{text-align:center}.ft-nowrap{white-space:nowrap}.count{text-decoration:none;padding:2px 5px;font-size:12px;font-weight:600;line-height:1;color:#616161;background-color:#eee;border-radius:20px;display:inline-block}.count:hover{text-decoration:none}.sub-head{padding:15px;border-bottom:1px solid #eee;line-height:18px;font-size:18px}.wrapper .aplayer{margin:0;box-shadow:0 1px 2px rgba(0,0,0,0.2)}.wrapper .aplayer .aplayer-pic{background-size:cover}.wrapper .aplayer svg{height:16px;width:16px;float:left;margin:0px 0 0 2px}#breezemoonList button.absolute{right:0;top:0}.breezemoon__input{padding-right:61px !important}.article-list .cb-stick{position:absolute;top:0;left:0;border-width:10px 15px 10px 15px;border-color:#999 transparent transparent #999;border-style:solid}.article-list .cb-stick .icon-pin{position:absolute;top:-8px;left:-15px;color:#FFF}.tag{font-size:12px;color:rgba(0,0,0,0.38);white-space:nowrap;display:inline-block;line-height:16px}.tooltipped{position:relative;cursor:pointer}.tooltipped::after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font-size:11px;font-weight:normal;-webkit-font-smoothing:subpixel-antialiased;color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,0.8);border-radius:3px;line-height:16px;opacity:0}.tooltipped::before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,0.8);pointer-events:none;content:"";border:5px solid transparent;opacity:0}@-webkit-keyframes tooltip-appear{from{opacity:0}to{opacity:1}}@keyframes tooltip-appear{from{opacity:0}to{opacity:1}}.tooltipped-hover::before,.tooltipped-hover::after,.tooltipped:hover::before,.tooltipped:hover::after,.tooltipped:active::before,.tooltipped:active::after,.tooltipped:focus::before,.tooltipped:focus::after{display:inline-block;text-decoration:none;-webkit-animation-name:tooltip-appear;animation-name:tooltip-appear;-webkit-animation-duration:0.1s;animation-duration:0.1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-animation-delay:0.4s;animation-delay:0.4s}.tooltipped-s::after,.tooltipped-se::after,.tooltipped-sw::after{top:100%;right:50%;margin-top:5px}.tooltipped-s::before,.tooltipped-se::before,.tooltipped-sw::before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,0.8)}.tooltipped-se::after{right:auto;left:50%;margin-left:-15px}.tooltipped-sw::after{margin-right:-15px}.tooltipped-n::after,.tooltipped-ne::after,.tooltipped-nw::after{right:50%;bottom:100%;margin-bottom:5px}.tooltipped-n::before,.tooltipped-ne::before,.tooltipped-nw::before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,0.8)}.tooltipped-ne::after{right:auto;left:50%;margin-left:-15px}.tooltipped-nw::after{margin-right:-15px}.tooltipped-s::after,.tooltipped-n::after{-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-w::after{right:100%;bottom:50%;margin-right:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-w::before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,0.8)}.tooltipped-e::after{bottom:50%;left:100%;margin-left:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-e::before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,0.8)}button,.btn{cursor:pointer;color:rgba(0,0,0,0.87);border-radius:3px;padding:6px 12px;background-color:rgba(0,0,0,0.02);border:1px solid #D5D5D5;border-bottom-color:#E1E1E1;box-sizing:border-box;line-height:19px;white-space:nowrap}button:hover,.btn:hover{text-decoration:none;border-color:rgba(0,0,0,0.38);background-color:#eee}button:active,.btn:active{background-color:rgba(0,0,0,0.38);box-shadow:0 2px 4px rgba(0,0,0,0.05) inset}button.green,.btn.green{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.15);background-color:#60b044;border-color:#5ca941}button.green:hover,.btn.green:hover{background-color:#569e3d}button.green:active{background-color:#569e3d;border-color:#418737;box-shadow:0 2px 4px rgba(0,0,0,0.25) inset}button.red,.btn.red{color:#d23f31}button.red:hover,.btn.red:hover,.btn.red-hover{color:#FFF;background-color:#d23f31;border-color:#c0372a}button.red:active,.btn.red:active{background-color:#d23f31;border-color:#c9320c;color:#FFF;box-shadow:0 2px 4px rgba(0,0,0,0.25) inset}button.small,.btn.small{padding:0 5px;font-size:12px;font-weight:normal;display:inline-block;line-height:19px;height:20px;text-shadow:initial}button.mid,.btn.mid{padding:3px 8px;font-size:13px;line-height:20px;height:28px}a[class^="icon-"],a[class*=" icon-"]{color:rgba(0,0,0,0.87)}a[class^="icon-"]:hover,a[class*=" icon-"]:hover{text-decoration:none;color:#4285f4}.radio-btn{background-color:#d23f31;border-radius:28px;bottom:20px;color:#fff;cursor:pointer;height:56px;line-height:56px;text-align:center;position:fixed;width:56px;z-index:110;right:20px;box-shadow:0 0 4px rgba(0,0,0,0.14),0 4px 8px rgba(0,0,0,0.28);box-sizing:border-box}.radio-btn svg{height:20px;width:20px}.go-top:hover,.radio-btn:hover{opacity:.84}.icon-wechat:hover{color:#3caf36}.icon-weibo:hover{color:#ff9933}.icon-google:hover{color:#dc4A3d}.icon-twitter:hover{color:#18a3fa}.icon-link:hover{color:#4285f4}.icon-qq:hover{color:#47d6fa}.icon-github:hover{color:#24292e}.icon-telegram:hover{color:#2da5e1}.tip.error{color:#d23f31;background-color:#ffdce0;border:1px solid rgba(27,31,35,0.15);border-radius:2px}.tip ul{margin:5px 30px;text-align:left}.tip.succ{background-color:#dbedff;border:1px solid rgba(27,31,35,0.15);border-radius:2px;color:#032f62}#registerTip,#loginTip,#addArticleTip,#profilesTip,#passwordTip{white-space:normal;word-wrap:break-word}.avatar,.avatar-small,.avatar-mid,.avatar-big{border-radius:3px 3px 3px 3px;background-size:cover;background-repeat:no-repeat;background-position:center center;display:inline-block;vertical-align:middle;background-color:rgba(0,0,0,0.02)}.avatar{height:38px;width:38px;margin-right:10px}.avatar-small{height:20px;width:20px}.avatar-mid{height:60px;width:60px;margin-right:15px}.avatar-big{height:210px;width:210px;border-radius:6px}.status{list-style:none;margin-top:20px;padding:20px 0}.status>li{overflow:hidden;flex:1;-webkit-box-flex:1;text-align:center}.status>li>strong{font-size:20px}.status>li>span{display:block}.grammar dd{font-size:12px;color:rgba(0,0,0,0.54)}.grammar dl{margin:8px 10px}.module.editor-toolbar-emoji{position:absolute;bottom:14px;height:111px;overflow:auto;z-index:124;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,0.2);width:50%}.module.editor-toolbar-emoji .emoji{cursor:pointer;padding:5px;border-radius:2px;margin-bottom:0}.module.editor-toolbar-emoji .emoji:hover{background-color:rgba(0,0,0,0.38)}.form{position:relative}.form table{width:100%}.form input[type=text],.form input[type=datetime],.form input[type=datetime-local],.form input[type=password],.form input[type=number],.form select,.form textarea{border:1px solid rgba(0,0,0,0.38);background-color:#FAFAFA;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset;padding:7px 8px;width:100%;line-height:17px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.form input[type=text]:focus,.form input[type=password]:focus,.form textarea:focus{background-color:#FFF;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset,0 0 5px rgba(81,167,232,0.5);border:1px solid #51A7E8}.form label{color:#616161;font-size:15px;margin:12px 0 6px;float:left;line-height:23px}.form label>a{font-weight:normal}.form label input[type=checkbox],.form label input[type=radio]{vertical-align:text-top;height:14px;width:14px}.form input[type=file]{width:1px;opacity:0.001}.form select{height:33px;padding-top:5px}.form button.absolute{position:absolute;right:15px;top:15px;border-radius:0 3px 3px 0}.pagination{border-top:1px solid #eee}.pagination,.tabs-sub{display:flex;font-size:12px;background-color:#fff;overflow:hidden;border-radius:0 0 3px 3px}.tabs-sub{border-bottom:1px solid #eee;border-radius:3px 3px 0 0}.pagination a,.pagination span,.tabs-sub a{line-height:35px;text-decoration:none;flex:1;text-align:center;color:#616161;padding:0 5px}.pagination a:hover,.tabs-sub a:hover{background-color:rgba(0,0,0,0.02)}.pagination span.current,.tabs-sub a.current{background-color:#3b3e43;color:#f0f0f0}.completed-panel{padding:0;overflow:auto;left:0;display:none;position:absolute;background-color:#FFF;border:1px solid #eee;z-index:82;border-radius:0 0 3px 3px;width:50%;top:33px;box-sizing:border-box}.completed-panel a{display:block;padding:3px;text-decoration:none;line-height:18px;height:18px}.completed-panel a.selected,.completed-panel a:hover{background-color:#F7F7F7}.dialog-background{background-color:#000000;display:none;height:100%;left:0;opacity:.5;position:fixed;top:0;width:100%;z-index:200}.dialog-panel{display:none;position:fixed;z-index:201;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,0.25);border-radius:5px;box-shadow:0 0 18px rgba(0,0,0,0.4);overflow:hidden}.dialog-header-bg{padding:10px;font-size:18px;font-weight:normal;border-bottom:1px solid #eee}.dialog-header-bg .icon-close{color:rgba(0,0,0,0.25);font-size:12px;float:right;font-weight:bold}.dialog-header-bg .icon-close:hover{color:rgba(0,0,0,0.87)}.dialog-main{min-width:300px;padding:10px;box-sizing:content-box}.wrapper{width:90%;margin:0 auto;display:flex;min-width:720px;max-width:1300px}.wrapper>.module:last-child{margin-bottom:0}.main{padding:20px 0;background-attachment:fixed;min-height:280px}.main__down{background-color:rgba(0,0,0,0.02);padding:20px 0}.side{width:28%;position:relative;min-width:236px}.content{margin-right:20px;flex:1;min-width:1px}.content .module:last-child{margin-bottom:0}.nav{height:48px;width:100%;background-color:#3b3e43;z-index:83;position:relative;box-sizing:border-box;display:flex;padding:0 10px}.nav h1{margin-right:20px}.nav h1 svg{height:38px;width:38px;margin-top:5px}.nav .nav-tabs{flex:1;text-align:center;overflow:hidden;line-height:20px}.nav .nav-tabs svg{margin:3px 2px 0 0;visibility:hidden;float:left}.nav .nav-tabs a:hover svg,.nav .nav-tabs a.current svg{visibility:visible}.nav .nav-tabs>a,.nav .user-nav>a,.nav .user-nav>span{display:inline-block;color:#fff;text-decoration:none;text-align:center;padding:14px 10px}.nav a.current{border-bottom:2px solid #d23f31;padding-bottom:12px}.nav .user-nav svg{height:20px;width:18px;float:left}.nav .user-nav>a,.nav .user-nav>span{float:left}.nav input::-webkit-input-placeholder{color:#ddd}.nav input.search{background-color:rgba(255,255,255,0.15);border:0px;border-radius:3px 3px 3px 3px;padding:5px 8px;width:180px;margin:10px 10px 0 20px;line-height:28px;height:28px;color:#eee;box-sizing:border-box;position:relative;vertical-align:top}.nav input.search:hover{background:rgba(255,255,255,0.25)}.nav input.search:focus{background:#fff;color:#222}.nav .user-nav .no-msg,.nav .user-nav .msg{background-color:#616161;border-radius:3px;color:#FFFFFF;padding:0px 6px;margin:14px 10px;line-height:20px}.nav .user-nav .msg{background-color:#d23f31;color:#FFFFFF}.nav .user-nav a.current.no-msg,.nav .user-nav a.current.msg{animation:none;background-color:#d23f31;border-bottom:0}.nav .person-list{position:absolute;top:48px;right:10px;width:154px;background-color:#fff;line-height:21px;display:none;box-shadow:0 1px 2px rgba(0,0,0,0.2)}.nav .person-list:after{top:-14px;right:12px;left:auto;position:absolute;border:7px solid transparent;border-bottom-color:#fff;content:" "}.nav .person-list li{list-style:none}.nav .person-list li:first-child a{border-radius:3px 3px 0 0}.nav .person-list li:last-child a{border-bottom:0}.nav .person-list a{display:block;text-shadow:0 1px 0 #fff;position:relative;padding:8px 10px;border-bottom:1px solid #eee;color:#616161}.nav .person-list a:hover{text-decoration:none;background-color:#f9f9f9}.nav #notificationsPanel:after{right:92px}.footer{color:#7d8186;line-height:24px;padding:10px 0;position:relative;z-index:40;background-color:#3b3e43}.footer a{color:#afb1b3}.footer a:hover{color:#888f91;text-decoration:none}.footer>.wrapper{display:block}.footer .footer-nav>a{margin-right:5px;padding-right:10px}.footer .slogan{padding:20px 0px 30px 0;margin:0px 0 10px;color:#f0f0f0;width:100%}.footer .slogan svg{height:16px;width:16px;vertical-align:sub}.no-list{line-height:48px;text-align:center}.list>ul>li>h2,.list>ul>li .fn-flex>h2,.list>ul>li .fn-flex-1>h2{font-weight:normal;line-height:20px;margin-bottom:2px;font-size:16px}.list>ul{list-style:none;padding:0 15px}.list>ul>li{border-bottom:1px solid #eee;padding:15px;white-space:normal;word-wrap:break-word;position:relative}.list>ul>li h2>a{color:rgba(0,0,0,0.87)}.list>ul>li h2>a:hover{color:#000}.list>ul>li.last,.list>ul>li:last-child{border-bottom-width:0}.list>ul>li.focus{background-color:#f5f5f5}.list.single-line li{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-wrap:normal;word-break:normal}.has-view{margin-right:40px}.cmts{position:absolute;right:15px;top:40%}.side .module:last-child{margin-bottom:0}.module{margin-bottom:20px;border-radius:3px;width:100%;word-wrap:break-word;box-sizing:border-box;min-width:1px}.module-header{border-radius:3px 3px 0 0;border-bottom:1px solid #eee;padding:8px 15px;font-size:14px;line-height:19px}.module-header h2{display:inline;font-size:13px;color:#616161;font-weight:normal}.module-panel{border-radius:0 0 5px 5px}.module-panel strong{display:inline-block;margin-top:14px}.module-panel .module-list li{list-style:none outside none;padding:15px;position:relative}.module-panel .module-list li.last,.module-panel .module-list li:last-child{border-bottom-width:0}.module .comment-content{color:rgba(0,0,0,0.54);float:left;margin-left:5px;width:210px}.module-panel.form{padding:15px}.module-list .slogan{position:absolute;top:50%;margin-top:-10px}.module-list .title{color:#616161;margin:0px 0 0px 30px;display:block;line-height:20px}.module-list.open-source .title{margin-left:60px}.module-list.open-source .slogan{margin-top:-10px}.module-panel.ad{padding:15px;text-align:center}.module-panel.ad .header{color:rgba(0,0,0,0.87)}.module-panel.ad img{margin-bottom:5px;margin-top:5px}.module-panel .tags li{float:left;list-style:none;line-height:14px;margin:15px 15px 0 0}.module-panel .tags{padding:0 0 15px 15px}.tag-desc.fn-clear{margin:15px 0 0px 15px}.tag-desc>li{float:left;position:relative;list-style:none;margin:0 15px 15px 0;font-size:12px}.tag-desc>li:hover>div{display:block}.tag-desc>li>a{float:left;color:#616161;padding:2px 5px;border:1px solid transparent;position:relative;height:20px;white-space:nowrap;word-wrap:normal;background-color:#F7F7F7;border-radius:3px 3px 3px 3px;line-height:21px}.tag-desc>li>a:hover{text-decoration:none}.tag-desc>li:hover>a{border-bottom-style:dotted;border-radius:3px 3px 0 0;z-index:2;color:rgba(0,0,0,0.87);box-shadow:0px 1px 1px rgba(0,0,0,0.2)}.tag-desc>li>a>span{text-decoration:none;color:rgba(0,0,0,0.54)}.tag-desc>li>a>img{border-radius:2px 2px 2px 2px;height:16px;width:16px;margin:-2px 2px 0 0}.tag-desc>li>div{background-color:#F7F7F7;border-radius:3px 0 3px 3px;display:none;right:0;margin-left:3px;padding:5px 10px;position:absolute;top:26px;z-index:3;width:200px;min-width:150px;box-shadow:0px 1px 1px rgba(0,0,0,0.2)}.tag-desc>li>div ul,.tag-desc>li>div li{margin-left:15px}#killBrowser img{position:absolute;right:36px;top:58px}#killBrowser .module{margin-bottom:0}.emoji{width:1.3em;height:1.3em;display:inline-block;margin-bottom:.25em;background-size:contain;vertical-align:text-top}.small-tips .emoji{margin-bottom:0;height:17px;width:17px}.person-info{border:1px solid #eee;position:relative}.person-info .status{margin-top:0;margin-bottom:20px;padding-top:0}.person-info .status .fn-pointer:hover span{color:rgba(0,0,0,0.87)}.person-info .module-panel{padding:0 15px 15px 15px}.person-info .activity-board{position:absolute;height:2px;background-color:#d23f31;top:-1px}.person-info .right{width:2px;right:-1px;left:auto}.person-info .left{width:2px;right:0;left:-1px}.person-info .bottom{top:auto;bottom:-1px}.painter-point{background-image:-webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.25, rgba(255,255,255,0.9)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255,255,255,0.9)), color-stop(0.75, rgba(255,255,255,0.9)), color-stop(0.75, transparent), to(transparent));background-image:-o-linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-size:8px 8px;height:17px;width:38px;display:inline-block;vertical-align:sub}.link-forge .module-header{line-height:20px}.link-forge .module-panel{max-height:409px;overflow:hidden}.link-forge .content .module-header .avatar-small{vertical-align:text-bottom}.link-forge-upload{margin-bottom:20px}.link-forge-upload .error,.link-forge-upload .succ{margin-top:10px}.link-forge-upload input[type=text]{height:40px}.link-forge-upload button{position:absolute;right:0;height:40px;border-radius:0 3px 3px 0}.responsive-show{display:none}.algolia-autocomplete .aa-dropdown-menu{background-color:#FFF;border-radius:3px;width:100%;word-wrap:break-word;box-sizing:border-box;box-shadow:0 1px 2px rgba(0,0,0,0.2);line-height:21px;margin-top:10px;margin-left:20px;width:300px;overflow:hidden;color:#616161}.algolia-autocomplete .aa-dataset-0{max-height:600px;overflow:auto}.algolia-autocomplete .aa-dropdown-menu img{height:20px}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion{cursor:pointer;text-shadow:0 1px 0 #fff;padding:8px 10px;border-bottom:1px solid #eee}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-cursor{background-color:#f9f9f9}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion em{font-weight:bold;color:#d23f31;font-style:normal}.algolia-autocomplete .aa-dropdown-menu .fn-right{margin:5px}#nprogress{pointer-events:none}#nprogress .bar{background:#d23f31;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}.breezemoon__btn{position:absolute;top:8px;right:15px;border-radius:0 3px 3px 0} diff --git a/src/main/resources/css/mobile-base.css b/src/main/resources/css/mobile-base.css index 629bd04ad..bc0ef449b 100644 --- a/src/main/resources/css/mobile-base.css +++ b/src/main/resources/css/mobile-base.css @@ -1 +1 @@ -.vditor{--border-color: #d1d5da;--second-color: rgba(88, 96, 105, 0.36);--panel-background-color: #fff;--panel-shadow: 0 1px 2px rgba(0, 0, 0, .2);--toolbar-background-color: #f6f8fa;--toolbar-icon-color: #586069;--toolbar-icon-hover-color: #4285f4;--toolbar-height: 35px;--toolbar-divider-margin-top: 8px;--textarea-background-color: #fafbfc;--textarea-text-color: #24292e;--resize-icon-color: var(--toolbar-icon-color);--resize-background-color: var(--toolbar-background-color);--resize-hover-icon-color: var(--panel-background-color);--resize-hover-background-color: var(--toolbar-icon-hover-color);--count-background-color:rgba(27, 31, 35, .05);--heading-border-color: #eaecef;--blockquote-color: #6a737d;--ir-heading-color: #660e7a;--ir-title-color: #808080;--ir-bi-color: #0033b3;--ir-link-color: #008000;--ir-bracket-color: #0000ff;--ir-paren-color: #008000}.vditor--dark{--border-color: #141414;--second-color: rgba(185, 185, 185, .36);--panel-background-color: #24292e;--panel-shadow: 0 1px 2px rgba(255, 255, 255, .2);--toolbar-background-color: #1d2125;--toolbar-icon-color: #b9b9b9;--toolbar-icon-hover-color: #fff;--textarea-background-color: #2f363d;--textarea-text-color: #d1d5da;--resize-icon-color: var(--border-color);--resize-background-color: var(--second-color);--resize-hover-icon-color: var(--toolbar-icon-hover-color);--resize-hover-background-color: rgba(185, 185, 185, .86);--count-background-color: rgba(66,133,244,0.36);--heading-border-color: var(--textarea-text-color);--blockquote-color: var(--toolbar-icon-color);--ir-heading-color: #9876aa;--ir-title-color: #808080;--ir-bi-color: #cc7832;--ir-link-color: #ffc66d;--ir-bracket-color: #287bde;--ir-paren-color: #6a8759}@keyframes tooltip-appear{from{opacity:0}to{opacity:1}}.vditor-tooltipped{position:relative;cursor:pointer}.vditor-tooltipped::after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font-size:11px;font-weight:normal;-webkit-font-smoothing:subpixel-antialiased;color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:#3b3e43;border-radius:3px;line-height:16px;opacity:0}.vditor-tooltipped::before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:#3b3e43;pointer-events:none;content:"";border:5px solid transparent;opacity:0}.vditor-tooltipped--hover::before,.vditor-tooltipped--hover::after,.vditor-tooltipped:hover::before,.vditor-tooltipped:hover::after,.vditor-tooltipped:active::before,.vditor-tooltipped:active::after,.vditor-tooltipped:focus::before,.vditor-tooltipped:focus::after{display:inline-block;text-decoration:none;animation-name:tooltip-appear;animation-duration:0.15s;animation-fill-mode:forwards;animation-timing-function:ease-in}.vditor-tooltipped__s::after,.vditor-tooltipped__se::after,.vditor-tooltipped__sw::after{top:100%;right:50%;margin-top:5px}.vditor-tooltipped__s::before,.vditor-tooltipped__se::before,.vditor-tooltipped__sw::before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:#3b3e43}.vditor-tooltipped__se::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__sw::after{margin-right:-15px}.vditor-tooltipped__n::after,.vditor-tooltipped__ne::after,.vditor-tooltipped__nw::after{right:50%;bottom:100%;margin-bottom:5px}.vditor-tooltipped__n::before,.vditor-tooltipped__ne::before,.vditor-tooltipped__nw::before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:#3b3e43}.vditor-tooltipped__ne::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__nw::after{margin-right:-15px}.vditor-tooltipped__s::after,.vditor-tooltipped__n::after{transform:translateX(50%)}.vditor-tooltipped__w::after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.vditor-tooltipped__w::before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:#3b3e43}.vditor-tooltipped__e::after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.vditor-tooltipped__e::before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:#3b3e43}@media screen and (max-width: 520px){.vditor-tooltipped:before,.vditor-tooltipped:after{content:none}}@keyframes scale-in{0%{opacity:0;transform:scale(0.5)}100%{opacity:1;transform:scale(1)}}.vditor-panel{background-color:var(--panel-background-color);position:absolute;box-shadow:var(--panel-shadow);border-radius:3px;padding:5px;z-index:3;font-size:14px;display:none;user-select:none;max-width:320px;min-width:80px;animation-duration:.15s;animation-name:scale-in;animation-timing-function:cubic-bezier(0.2, 0, 0.13, 1.5);color:var(--toolbar-icon-color)}.vditor-panel--none{padding:0;animation:none;min-width:auto;max-width:none;white-space:nowrap;opacity:.86}.vditor-panel--arrow:before{position:absolute;width:0;height:0;pointer-events:none;content:" ";border:7px solid transparent;top:-14px;left:5px;border-bottom-color:var(--panel-background-color)}.vditor-panel--left{right:0}.vditor-panel--left.vditor-panel--arrow:before{right:5px;left:auto}.vditor-input{border:0;padding:3px 5px;background-color:var(--panel-background-color);font-size:12px;color:var(--textarea-text-color)}.vditor-input:focus{background-color:var(--toolbar-background-color);outline:none}.vditor-icon{color:var(--toolbar-icon-color);cursor:pointer;float:left;padding:4px 5px;height:21px;width:23px;background-color:transparent;border:0;box-sizing:border-box}.vditor-icon:hover,.vditor-icon--current{color:var(--toolbar-icon-hover-color);background-color:transparent}.vditor-icon:focus{outline:none}.vditor-icon svg{height:13px !important;width:13px !important;float:left;fill:currentColor;pointer-events:none}.vditor-toolbar{background-color:var(--toolbar-background-color);border-bottom:1px solid var(--border-color);padding:0 5px;line-height:1}.vditor-toolbar--pin{position:sticky;top:0;z-index:1}.vditor-toolbar--hide{transition:all 0.15s ease-in-out;height:5px;overflow:hidden}.vditor-toolbar--hide:hover{background-color:var(--toolbar-background-color);height:auto;overflow:visible}.vditor-toolbar__item{float:left;position:relative}.vditor-toolbar__item .vditor-tooltipped{color:var(--toolbar-icon-color);border:0;padding:10px 5px;background-color:transparent;height:var(--toolbar-height);width:25px;box-sizing:border-box;font-size:0}.vditor-toolbar__item .vditor-tooltipped:focus{outline:none}.vditor-toolbar__item .vditor-tooltipped:focus{cursor:pointer;color:var(--toolbar-icon-hover-color)}.vditor-toolbar__item svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:15px;height:15px}.vditor-toolbar__item input{position:absolute;width:25px;height:var(--toolbar-height);top:0;left:0;cursor:pointer;opacity:.001;overflow:hidden}.vditor-toolbar__divider{float:left;height:calc(var(--toolbar-height) - (var(--toolbar-divider-margin-top) * 2));border-left:1px solid var(--second-color);margin:var(--toolbar-divider-margin-top) 8px}.vditor-toolbar__br{width:100%;padding:0 !important;height:0 !important}.vditor-menu--current{color:var(--toolbar-icon-hover-color) !important}.vditor-menu--disabled{color:var(--second-color) !important;cursor:not-allowed !important}.vditor-emojis{display:inline-block;overflow:auto}.vditor-emojis::-webkit-scrollbar{display:none}.vditor-emojis__tip{flex:1;min-width:1px;width:200px;margin-right:10px;color:var(--toolbar-icon-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vditor-emojis__tail{margin-top:5px;font-size:12px;color:var(--toolbar-icon-color);display:flex}.vditor-emojis__tail a{text-decoration:none;color:var(--toolbar-icon-color)}.vditor-emojis__tail a:hover{color:var(--toolbar-icon-hover-color)}.vditor-emojis button{cursor:pointer;border-radius:3px;float:left;height:30px;width:30px;text-align:center;line-height:26px;padding:3px;box-sizing:border-box;font-size:16px;transition:all 0.15s ease-in-out;border:0;margin:0;background-color:transparent;overflow:hidden}.vditor-emojis button:focus{outline:none}.vditor-emojis button:hover .vditor-emojis__icon{display:inline-block;transform:scale(1.2)}.vditor-emojis img{height:20px;width:20px;float:left;margin:3px 0 0 3px}@media screen and (max-width: 520px){.vditor-toolbar__item{padding:0 12px}.vditor-panel--left.vditor-panel--arrow:before{right:17px}}@media (hover: hover) and (pointer: fine){.vditor-toolbar__item .vditor-tooltipped:hover{color:var(--toolbar-icon-hover-color)}}@keyframes slideInDown{from{transform:translate3d(0, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.vditor{display:flex;flex-direction:column;border:1px solid var(--border-color);border-radius:3px;box-sizing:border-box;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif}.vditor .vditor-copy{z-index:auto}.vditor--fullscreen{position:fixed;top:0;width:100% !important;left:0;height:100vh !important;z-index:90;border-radius:0}.vditor-content{display:flex;min-height:60px;flex:1;min-width:1px;position:relative}.vditor-preview{flex:1;min-width:1px;overflow:auto;margin-left:-1px;border-left:1px solid var(--border-color);box-sizing:border-box;border-radius:0 0 3px 0;background-color:var(--textarea-background-color)}.vditor-preview::-webkit-scrollbar{display:none}.vditor-preview__action{text-align:center;padding:10px;background-color:var(--toolbar-background-color)}.vditor-preview__action button{background-color:var(--toolbar-background-color);color:var(--toolbar-icon-color);line-height:20px;border:0;margin:0 10px;cursor:pointer;padding:0 7px;font-size:12px}.vditor-preview__action button.vditor-preview__action--current,.vditor-preview__action button:hover{color:var(--toolbar-icon-hover-color);background-color:var(--toolbar-background-color)}.vditor-preview__action button:focus{outline:none}.vditor-preview__action button svg{fill:currentColor;height:15px;width:15px;vertical-align:middle}.vditor-preview>.vditor-reset{padding:10px;margin:0 auto}.vditor-devtools{display:none;background-color:var(--textarea-background-color);overflow:auto;flex:1;min-width:1px;box-shadow:inset 1px 0 var(--border-color);box-sizing:border-box;border-radius:0 0 3px 0;padding:10px}.vditor-counter{padding:3px;color:var(--toolbar-icon-color);background-color:var(--count-background-color);border-radius:3px;font-size:12px;user-select:none;float:right;margin:8px 3px 0 0}.vditor-counter--error{color:#d23f31;background-color:rgba(210,63,49,0.1)}.vditor-resize{padding:3px 0;cursor:row-resize;user-select:none;position:absolute;width:100%}.vditor-resize--top{top:-3px}.vditor-resize--bottom{bottom:-3px}.vditor-resize>div{height:3px;background-color:var(--resize-background-color);transition:all 0.15s ease-in-out}.vditor-resize:hover>div,.vditor-resize--selected>div{background-color:var(--resize-hover-background-color)}.vditor-resize:hover svg,.vditor-resize--selected svg{color:var(--resize-hover-icon-color)}.vditor-resize svg{fill:currentColor;stroke-width:0;stroke:currentColor;width:13px;height:3px;display:block;margin:0 auto;color:var(--resize-icon-color)}.vditor-upload{position:absolute;height:3px;left:0;top:-2px;transition:all 0.15s ease-in-out;background-color:#4285f4}.vditor-tip{position:absolute;font-size:12px;top:10px;animation-duration:.15s;animation-fill-mode:both;left:50%;z-index:5}.vditor-tip--show{display:block;animation-name:slideInDown}.vditor-tip__content{text-align:left;display:inline-block;line-height:16px;padding:3px 10px;border-radius:3px;background:var(--toolbar-background-color);position:relative;margin-left:-50%;color:var(--toolbar-icon-color);max-width:100%;box-shadow:var(--panel-shadow)}.vditor-tip__content ul{margin:2px 0;padding:0 0 0 18px}.vditor-tip__content a{color:#4285f4}.vditor-tip__close{position:absolute;color:var(--toolbar-icon-color);top:-7px;right:-15px;font-weight:bold;cursor:pointer}.vditor-tip__close:hover{color:var(--toolbar-icon-hover-color)}.vditor-img{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;z-index:3}.vditor-img__bar{border-bottom:1px solid var(--border-color);background-color:var(--toolbar-background-color);text-align:center;height:36px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.vditor-img__btn{display:flex;align-items:center;cursor:pointer;margin-left:24px;user-select:none;color:var(--toolbar-icon-color)}.vditor-img__btn:hover{color:var(--toolbar-icon-hover-color)}.vditor-img__btn svg{height:14px;width:14px;margin-right:8px;fill:currentColor}.vditor-img__img{flex:1;background-color:var(--textarea-background-color);overflow:auto;cursor:zoom-out}.vditor-img__img img{max-width:none}.vditor-hint{background-color:var(--panel-background-color);position:absolute;box-shadow:var(--panel-shadow);border-radius:3px;padding:5px 0;z-index:4;line-height:20px;list-style:none;font-size:12px;margin:0;max-width:250px;min-width:80px;display:none}.vditor-hint .vditor-hint{margin-top:-31px;left:100%;right:auto}.vditor-hint .vditor-hint.vditor-panel--left{right:100%;left:auto}.vditor-hint button{color:var(--toolbar-icon-color);display:block;padding:3px 10px;border:0;border-radius:0;line-height:20px;width:100%;box-sizing:border-box;text-align:left;margin:0;background-color:transparent;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vditor-hint button:focus{outline:none}.vditor-hint--current,.vditor-hint button:not(.vditor-menu--disabled):hover{background-color:var(--toolbar-background-color) !important;color:var(--toolbar-icon-hover-color) !important}.vditor-hint__emoji{font-size:16px;float:left;margin-right:3px}.vditor-hint img{height:20px;width:20px;float:left;margin-right:3px}.vditor-reset{color:#24292e;font-variant-ligatures:no-common-ligatures;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.5;font-size:16px;word-break:break-word}.vditor-reset--anchor{padding-left:20px}.vditor-reset--error{color:#d23f31;font-size:12px;display:block;line-height:16px}.vditor-reset ul ul ul{list-style-type:square}.vditor-reset ul ul{list-style-type:circle}.vditor-reset ul{list-style-type:disc}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li+li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset audio:focus{outline:none}.vditor-reset video{max-height:90vh;max-width:100%}.vditor-reset img{max-width:100%}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:sub}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1:hover .vditor-anchor svg,.vditor-reset h2:hover .vditor-anchor svg,.vditor-reset h3:hover .vditor-anchor svg,.vditor-reset h4:hover .vditor-anchor svg,.vditor-reset h5:hover .vditor-anchor svg,.vditor-reset h6:hover .vditor-anchor svg{visibility:visible}.vditor-reset h1{font-size:1.75em}.vditor-reset h2{font-size:1.55em}.vditor-reset h3{font-size:1.38em}.vditor-reset h4{font-size:1.25em}.vditor-reset h5{font-size:1.13em}.vditor-reset h6{font-size:1em}.vditor-reset hr{height:2px;padding:0;margin:24px 0;background-color:#eaecef;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#6a737d;border-left:0.25em solid #eaecef;margin:0 0 16px 0}.vditor-reset blockquote>:first-child{margin-top:0}.vditor-reset blockquote>:last-child{margin-bottom:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da;max-width:100%;box-sizing:border-box}.vditor-reset iframe.iframe__video{min-width:80%;min-height:36vh}.vditor-reset table{border-collapse:collapse;empty-cells:show;margin-bottom:16px;overflow:auto;border-spacing:0}.vditor-reset table tr{background-color:#fafbfc;border-top:1px solid #c6cbd1}.vditor-reset table td,.vditor-reset table th{padding:6px 13px;border:1px solid #dfe2e5;word-break:normal}.vditor-reset table th{font-weight:600}.vditor-reset table tbody tr:nth-child(2n){background-color:#fff}.vditor-reset code:not(.hljs):not(.highlight-chroma){padding:0.2em 0.4em;margin:0;font-size:85%;border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word;background-size:20px 20px;white-space:pre-wrap}.vditor-reset pre{margin:1em 0}.vditor-reset pre>code{margin:0;font-size:85%;padding:0.5em;border-radius:5px;display:block;overflow:auto;white-space:pre;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;background-size:20px 20px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAACVBMVEWAgIBaWlo+Pj7rTFvWAAAAA3RSTlMHCAw+VhR4AAAA+klEQVQoz4WSMW7EQAhFPxKWNh2FCx+HkaZI6RRb5DYbyVfIJXLKDCFoMbaTKSw/8ZnPAPjaH2xgZcUNUDADD7D9LtDBCLZ45fbkvo/30K8yeI64pPwl6znd/3n/Oe93P3ho9qeh72btTFzqkz0rsJle8Zr81OLEwZ1dv/713uWqvu2pl+k0fy7MWtj9r/tN5q/02z89qa/L4Dc2LvM93kezPfXlME/O86EbY/V9GB9ePX8G1/6W+/9h1dq/HGfTfzT3j/xNo7522Bfnqe5jO/fvhVthlfk434v3iO9zG/UOphyPeinPl1J8Gtaa7xPTa/Dk+RIs4deMvwGvcGsmsCvJ0AAAAABJRU5ErkJggg==);word-break:initial;word-wrap:normal}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-reset .language-math,.vditor-reset .language-echarts,.vditor-reset .language-mindmap,.vditor-reset .language-plantuml,.vditor-reset .language-mermaid,.vditor-reset .language-abc,.vditor-reset .language-flowchart,.vditor-reset .language-graphviz{margin-bottom:16px}.vditor-reset .language-math mjx-container:focus{outline:none;cursor:context-menu}.vditor-reset .language-echarts,.vditor-reset .language-mindmap{overflow:hidden;height:420px}.vditor-reset .language-mermaid,.vditor-reset .language-flowchart,.vditor-reset .language-graphviz{text-align:center}.vditor-reset .language-graphviz parsererror{overflow:auto}.vditor-reset kbd{display:inline-block;padding:3px 5px;font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:10px;color:#24292e;vertical-align:middle;background-color:#fafbfc;border:solid 1px #d1d5da;border-radius:3px;box-shadow:inset 0 -1px 0 #d1d5da}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto;stroke-width:initial}.vditor-reset p:last-child,.vditor-reset blockquote:last-child,.vditor-reset pre:last-child,.vditor-reset ul:last-child,.vditor-reset ol:last-child,.vditor-reset hr:last-child{margin-bottom:0}.vditor-comment{border-bottom:2px solid #f8e6ab}.vditor-comment--focus,.vditor-comment--hover{background-color:#faf1d1;border-bottom:2px solid #ffc60a}.vditor-comment--focus .vditor-comment,.vditor-comment--hover .vditor-comment{border-bottom:2px solid #ffc60a}.vditor-task{list-style:none !important;word-break:break-all}.vditor-task input{margin:0 .2em .25em -1.6em;font-size:12px;vertical-align:middle}.vditor-copy{position:relative;display:none;z-index:1}.vditor-copy textarea{position:absolute;left:-100000px;height:10px}.vditor-copy span{cursor:pointer;position:absolute;right:15px;top:0.5em}.vditor-copy svg{color:#586069;height:14px;width:14px !important;display:block;fill:currentColor}.vditor-linenumber{padding-left:4em !important;position:relative}.vditor-linenumber__rows{position:absolute;pointer-events:none;top:0.5em;left:0;width:3em;user-select:none;counter-reset:linenumber}.vditor-linenumber__rows>span{pointer-events:none;display:block}.vditor-linenumber__rows>span::before{counter-increment:linenumber;content:counter(linenumber);color:rgba(158,150,150,0.38);display:block;padding-right:1em;text-align:right}.vditor-speech{position:absolute;display:none;background-color:#f6f8fa;border:1px solid #d1d5da;border-radius:3px;padding:3px;cursor:pointer;color:#586069}.vditor-speech:hover,.vditor-speech--current{color:#4285f4}.vditor-speech svg{height:14px;width:14px;fill:currentColor;display:block;stroke-width:0;stroke:currentColor}.vditor-anchor{margin-left:5px}.vditor-anchor--left{float:left;padding-right:4px;margin-left:-20px}.vditor-anchor svg{visibility:hidden}.vditor-anchor:hover svg{visibility:visible}.vditor-anchor:focus{outline:none}.vditor-linkcard{margin:31px auto 16px;transition:all 0.15s ease-in-out;cursor:pointer;max-width:768px;padding:0 10px}.vditor-linkcard a{border-radius:3px;background-color:#f6f8fa;overflow:hidden;max-height:250px;display:flex;text-decoration:none;flex-wrap:wrap-reverse;box-shadow:0 1px 2px rgba(0,0,0,0.2)}.vditor-linkcard a:hover{box-shadow:0 0 3px rgba(0,0,0,0.13),0 3px 6px rgba(0,0,0,0.26);text-decoration:none}.vditor-linkcard a:visited .vditor-linkcard__abstract{color:rgba(88,96,105,0.36)}.vditor-linkcard__info{padding:10px;min-width:200px;box-sizing:border-box;flex:1}.vditor-linkcard__title{font-size:14px;font-weight:400;color:#24292e;display:flex;align-items:center}.vditor-linkcard__title img{cursor:pointer;height:20px;width:20px;border-radius:3px;flex-shrink:0;margin-right:5px}.vditor-linkcard__abstract{word-wrap:break-word;word-break:break-all;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;font-size:13px;color:#586069;margin:5px 0}.vditor-linkcard__site{font-size:12px;color:#4285f4}.vditor-linkcard__image{background-size:cover;background-repeat:no-repeat;background-position:center center;max-width:250px;min-width:126px;cursor:pointer;background-color:rgba(88,96,105,0.36)}.vditor-footnotes__goto-ref{text-decoration:none}.vditor-toc{margin-bottom:16px;user-select:text;color:#4285f4}.vditor-toc .vditor-outline__action{display:none}.vditor-toc ul{list-style:none !important;padding-left:1em}.vditor-toc>ul{padding-left:0}.vditor-toc span{cursor:pointer}.vditor-toc li>span>svg{width:0;height:0}.vditor-outline{width:250px;border-right:1px solid var(--border-color);background-color:var(--panel-background-color);display:none;overflow:auto}.vditor-outline--right{border-right:0;border-left:1px solid var(--border-color)}.vditor-outline::-webkit-scrollbar{display:none}.vditor-outline ul{list-style:none !important;padding-left:1em;margin:0}.vditor-outline__content>ul{padding-left:0}.vditor-outline li>span{display:flex;align-items:center;padding:5px 10px;cursor:pointer;color:var(--textarea-text-color)}.vditor-outline li>span>svg{height:10px;width:10px}.vditor-outline li>span:hover{color:var(--toolbar-icon-hover-color)}.vditor-outline li>span>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vditor-outline__title{border-bottom:1px dashed var(--border-color);padding:5px 10px;color:var(--toolbar-icon-color);font-size:12px}.vditor-outline__action{transition:all 0.15s ease-in-out;fill:currentColor;margin-right:5px;flex-shrink:0}.vditor-outline__action--close{transform:rotate(-90deg)}.vditor-wysiwyg{box-sizing:border-box;flex:1;position:relative;width:100%;min-width:1px}.vditor-wysiwyg pre.vditor-reset{background-color:var(--panel-background-color);margin:0;white-space:pre-wrap;height:100%;box-sizing:border-box}.vditor-wysiwyg pre.vditor-reset[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-wysiwyg pre.vditor-reset:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-wysiwyg pre.vditor-reset:focus{outline:none;background-color:var(--textarea-background-color)}.vditor-wysiwyg pre.vditor-reset:after{content:"";height:var(--editor-bottom);display:block}.vditor-wysiwyg blockquote:empty::before,.vditor-wysiwyg pre>code:empty::before,.vditor-wysiwyg p:empty::before,.vditor-wysiwyg h1:empty::after,.vditor-wysiwyg h2:empty::after,.vditor-wysiwyg h3:empty::after,.vditor-wysiwyg h4:empty::after,.vditor-wysiwyg h5:empty::after,.vditor-wysiwyg h6:empty::after{content:' '}.vditor-wysiwyg code[data-marker="`"]{padding-left:0 !important;padding-right:0 !important}.vditor-wysiwyg__block pre:first-child{margin-bottom:-1em}.vditor-wysiwyg__block pre:first-child code{height:auto;color:var(--textarea-text-color);height:auto;text-align:left}.vditor-wysiwyg__block pre:last-child{margin-bottom:1em}.vditor-wysiwyg__preview{cursor:pointer;white-space:initial;min-height:27px}.vditor-wysiwyg>.vditor-reset>h1:before,.vditor-wysiwyg>.vditor-reset>h2:before,.vditor-wysiwyg>.vditor-reset>h3:before,.vditor-wysiwyg>.vditor-reset>h4:before,.vditor-wysiwyg>.vditor-reset>h5:before,.vditor-wysiwyg>.vditor-reset>h6:before,.vditor-wysiwyg div.vditor-wysiwyg__block:before,.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,.vditor-wysiwyg div[data-type="footnotes-block"]:before,.vditor-wysiwyg .vditor-toc:before{float:left;padding-right:4px;margin-left:-29px;content:'H1';font-size:0.85rem;font-weight:normal;color:var(--second-color)}.vditor-wysiwyg>.vditor-reset>h2:before{content:'H2'}.vditor-wysiwyg>.vditor-reset>h3:before{content:'H3'}.vditor-wysiwyg>.vditor-reset>h4:before{content:'H4'}.vditor-wysiwyg>.vditor-reset>h5:before{content:'H5'}.vditor-wysiwyg>.vditor-reset>h6:before{content:'H6'}.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before{content:'"A"'}.vditor-wysiwyg div[data-type="footnotes-block"]:before{content:'^F'}.vditor-wysiwyg div.vditor-wysiwyg__block:before{content:""}.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="yaml-front-matter"]:before{content:"F"}.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="math-block"]:before{content:"$$"}.vditor-wysiwyg .vditor-toc:before{content:"ToC"}.vditor-wysiwyg hr{display:inline-block;margin:12px 0;width:100%}.vditor-wysiwyg details{white-space:initial}.vditor-wysiwyg a{cursor:pointer}.vditor-wysiwyg span[data-type="backslash"]>span{display:none;color:var(--second-color)}.vditor-wysiwyg span[data-type="link-ref"],.vditor-wysiwyg sup[data-type="footnotes-ref"]{color:#4285f4}.vditor-wysiwyg span[data-type="toc-h"]{color:#4285f4;text-decoration:underline}.vditor-wysiwyg div[data-type="footnotes-block"]{border-top:2px solid var(--heading-border-color);padding-top:24px;margin-top:24px}.vditor-wysiwyg div[data-type="link-ref-defs-block"]{color:var(--blockquote-color)}@media screen and (max-width: 520px){.vditor-wysiwyg h1:before,.vditor-wysiwyg h2:before,.vditor-wysiwyg h3:before,.vditor-wysiwyg h4:before,.vditor-wysiwyg h5:before,.vditor-wysiwyg h6:before,.vditor-wysiwyg div.vditor-wysiwyg__block:before,.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,.vditor-wysiwyg div[data-type="footnotes-block"]:before,.vditor-wysiwyg .vditor-toc:before{content:none}}.vditor-ir{box-sizing:border-box;flex:1;min-width:1px;position:relative;width:100%}.vditor-ir__node[data-type="code-block"]:before,.vditor-ir__node[data-type="code-block"]:after,.vditor-ir__node[data-type="yaml-front-matter"]:before,.vditor-ir__node[data-type="yaml-front-matter"]:after,.vditor-ir__node[data-type="math-block"]:before,.vditor-ir__node[data-type="math-block"]:after{content:' ';color:var(--second-color)}.vditor-ir__node:not(.vditor-ir__node--expand) .vditor-ir__marker{padding:0 !important}.vditor-ir__node:not(.vditor-ir__node--expand)[data-type="a"]{cursor:pointer}.vditor-ir__node[data-type="link-ref"],.vditor-ir__node[data-type="footnotes-ref"]{color:#4285f4}.vditor-ir__node[data-type="html-block"]{margin-bottom:1em}.vditor-ir__node .vditor-ir__marker{width:0;overflow:hidden;display:inline-block;height:0;transition:all 0.15s ease-in-out}.vditor-ir__node--hidden .vditor-ir__marker{visibility:hidden}.vditor-ir__node--expand .vditor-ir__marker{color:var(--second-color);display:inline;height:auto;width:auto}.vditor-ir__node--expand .vditor-ir__marker--hide{display:none}.vditor-ir__node--expand .vditor-ir__marker--heading{color:var(--ir-heading-color)}.vditor-ir__node--expand .vditor-ir__marker--bi{color:var(--ir-bi-color)}.vditor-ir__node--expand .vditor-ir__marker--link{color:var(--ir-link-color)}.vditor-ir__node--expand .vditor-ir__marker--title{color:var(--ir-title-color)}.vditor-ir__node--expand .vditor-ir__marker--bracket{color:var(--ir-bracket-color);text-decoration:underline}.vditor-ir__node--expand .vditor-ir__marker--paren{color:var(--ir-paren-color)}.vditor-ir__node--expand .vditor-ir__marker--info{color:var(--ir-heading-color)}.vditor-ir__node--expand .vditor-ir__marker--pre code{color:var(--textarea-text-color);height:auto;text-align:left}.vditor-ir__node--expand[data-type="code-block"]:before,.vditor-ir__node--expand[data-type="code-block"]:after{content:'```'}.vditor-ir__node--expand[data-type="yaml-front-matter"]:before,.vditor-ir__node--expand[data-type="yaml-front-matter"]:after{content:'---'}.vditor-ir__node--expand[data-type="math-block"]:before,.vditor-ir__node--expand[data-type="math-block"]:after{content:'$$'}.vditor-ir__node span[data-type="code-block-open-marker"],.vditor-ir__node span[data-type="code-block-close-marker"],.vditor-ir__node span[data-type="yaml-front-matter-open-marker"],.vditor-ir__node span[data-type="yaml-front-matter-close-marker"],.vditor-ir__node span[data-type="math-block-open-marker"],.vditor-ir__node span[data-type="math-block-close-marker"]{display:none}.vditor-ir__preview{cursor:pointer;white-space:initial;min-height:27px}.vditor-ir__link{color:var(--ir-bracket-color);text-decoration:underline}.vditor-ir pre.vditor-reset{background-color:var(--panel-background-color);margin:0;white-space:pre-wrap;height:100%;box-sizing:border-box}.vditor-ir pre.vditor-reset[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-ir pre.vditor-reset:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-ir pre.vditor-reset:focus{outline:none;background-color:var(--textarea-background-color)}.vditor-ir pre.vditor-reset:after{content:"";height:var(--editor-bottom);display:block}.vditor-ir pre.vditor-reset pre{margin:0}.vditor-ir hr{display:inline-block;margin:12px 0;width:100%}.vditor-ir blockquote:empty::before,.vditor-ir pre>code:empty::before,.vditor-ir p:empty::before,.vditor-ir h1:empty::after,.vditor-ir h2:empty::after,.vditor-ir h3:empty::after,.vditor-ir h4:empty::after,.vditor-ir h5:empty::after,.vditor-ir h6:empty::after{content:' '}.vditor-ir .vditor-reset>h1:before,.vditor-ir .vditor-reset>h2:before,.vditor-ir .vditor-reset>h3:before,.vditor-ir .vditor-reset>h4:before,.vditor-ir .vditor-reset>h5:before,.vditor-ir .vditor-reset>h6:before,.vditor-ir div[data-type="link-ref-defs-block"]:before,.vditor-ir div[data-type="footnotes-block"]:before,.vditor-ir .vditor-toc:before{float:left;padding-right:4px;margin-left:-29px;content:'H1';font-size:0.85rem;font-weight:normal;color:var(--second-color)}.vditor-ir .vditor-reset>h2:before{content:'H2'}.vditor-ir .vditor-reset>h3:before{content:'H3'}.vditor-ir .vditor-reset>h4:before{content:'H4'}.vditor-ir .vditor-reset>h5:before{content:'H5'}.vditor-ir .vditor-reset>h6:before{content:'H6'}.vditor-ir div[data-type="link-ref-defs-block"]{color:var(--blockquote-color)}.vditor-ir div[data-type="link-ref-defs-block"]:before{content:'"A"'}.vditor-ir div[data-type="footnotes-block"]{border-top:2px solid var(--heading-border-color);padding-top:24px;margin-top:24px}.vditor-ir div[data-type="footnotes-block"]:before{content:'^F'}.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>ul,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>ol,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>p,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>blockquote,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>pre,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>table,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>hr{margin-left:8px}.vditor-ir .vditor-toc:before{content:"ToC"}.vditor-ir .vditor-toc span[data-type="toc-h"]{color:#4285f4;text-decoration:underline}@media screen and (max-width: 520px){.vditor-ir h1:before,.vditor-ir h2:before,.vditor-ir h3:before,.vditor-ir h4:before,.vditor-ir h5:before,.vditor-ir h6:before,.vditor-ir div[data-type="link-ref-defs-block"]:before,.vditor-ir div[data-type="footnotes-block"]:before,.vditor-ir .vditor-toc:before{content:none}}.vditor-sv{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;margin:0 1px 0 0;overflow:auto;width:100%;flex:1;min-width:1px;border:0;resize:none;padding:10px 9px 10px 10px;box-sizing:border-box;background-color:var(--panel-background-color);outline:0 none;font-size:16px;line-height:22px;color:var(--textarea-text-color);border-radius:0 0 3px 3px;font-variant-ligatures:no-common-ligatures;white-space:pre-wrap;word-break:break-word;word-wrap:break-word}.vditor-sv[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-sv:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-sv:focus{background-color:var(--textarea-background-color)}.vditor-sv:after{content:"";height:var(--editor-bottom);display:block}.vditor-sv span[data-type="newline"]+span[data-type="text"]:empty{display:inherit}.vditor-sv .sup{vertical-align:super;font-size:smaller}.vditor-sv .strong{font-weight:bold}.vditor-sv .em{font-style:italic}.vditor-sv .s{text-decoration:line-through}.vditor-sv .mark:not(.vditor-sv__marker){background-color:yellow;color:black}.vditor-sv .h1{font-size:1.75em;line-height:44px}.vditor-sv .h2{font-size:1.55em;line-height:38px}.vditor-sv .h3{font-size:1.38em;line-height:27px}.vditor-sv .h4{font-size:1.25em;line-height:25px}.vditor-sv .h5{font-size:1.13em}.vditor-sv .h6{font-size:1em}.vditor-sv__marker{color:var(--second-color)}.vditor-sv__marker--heading{color:var(--ir-heading-color)}.vditor-sv__marker--bi{color:var(--ir-bi-color)}.vditor-sv__marker--link{color:var(--ir-link-color)}.vditor-sv__marker--title{color:var(--ir-title-color)}.vditor-sv__marker--bracket{color:var(--ir-bracket-color)}.vditor-sv__marker--paren{color:var(--ir-paren-color)}.vditor-sv__marker--info{color:var(--ir-heading-color)}.vditor-sv__marker--strong{font-weight:bold}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%;background-color:#3b3e43;height:100%}body{margin:0;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;font-size:14px;color:rgba(0,0,0,0.87);background-color:#fff}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none;color:#4285f4}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@-o-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@-ms-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}.fn-flex,.fn__flex{display:flex}.fn__flex-column{min-height:100%;display:flex;flex-direction:column}.fn-flex-1,.fn__flex-1{flex:1;min-width:1px}.fn-pointer{cursor:pointer}.fn-sub{vertical-align:sub}.fn-clear:before,.fn-clear:after{display:table;content:""}.fn-clear:after{clear:both}.fn-left{float:left}.fn-right{float:right}.fn-none{display:none}.fn-hidden{visibility:hidden}.fn-oh{overflow:hidden}.fn-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.fn-hr5{display:block;height:5px}.fn-content{padding:15px}.fn-inline{display:inline-block}.fn-text-top{vertical-align:text-top}.ft-13{font-size:13px}.ft-smaller{font-size:12px}.ft-gray{color:rgba(0,0,0,0.54)}.ft-fade{color:rgba(0,0,0,0.38)}.ft-red{color:#d23f31}.ft-blue{color:#4285f4}.ft-green{color:#569e3d}.ft-a-title{color:#616161;text-decoration:none}.ft-a-title:hover{color:rgba(0,0,0,0.87)}.ft-center{text-align:center}.ft-nowrap{white-space:nowrap}.count{text-decoration:none;padding:2px 5px;font-size:12px;font-weight:600;line-height:1;color:#616161;background-color:#eee;border-radius:20px;display:inline-block}.count:hover{text-decoration:none}.sub-head{padding:15px;border-bottom:1px solid #eee;line-height:18px;font-size:18px}.wrapper .aplayer{margin:0;box-shadow:0 1px 2px rgba(0,0,0,0.2)}.wrapper .aplayer .aplayer-pic{background-size:cover}.wrapper .aplayer svg{height:16px;width:16px;float:left;margin:0px 0 0 2px}#breezemoonList button.absolute{right:0;top:0}.breezemoon__input{padding-right:61px !important}.fn-hr10{height:10px;display:block}.tag{padding:2px 3px;font-size:12px;border-radius:2px;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.12);background-color:#f0f0f0;color:#999;white-space:nowrap;display:inline-block;margin:5px 0;line-height:16px}.tag:hover{text-decoration:none;color:rgba(0,0,0,0.87);background-color:#ccc}button,.btn{cursor:pointer;color:rgba(0,0,0,0.87);border-radius:3px;padding:6px 12px;background-color:rgba(0,0,0,0.02);border:1px solid #D5D5D5;border-bottom-color:#E1E1E1;box-sizing:border-box;line-height:19px;white-space:nowrap}button:hover,.btn:hover{text-decoration:none;border-color:rgba(0,0,0,0.38);background-color:#eee}button:active,.btn:active{background-color:rgba(0,0,0,0.38);box-shadow:0 2px 4px rgba(0,0,0,0.05) inset}button.green,.btn.green{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.15);background-color:#60b044;border-color:#5ca941}button.green:hover,.btn.green:hover{background-color:#569e3d}button.green:active{background-color:#569e3d;border-color:#418737;box-shadow:0 2px 4px rgba(0,0,0,0.25) inset}button.red,.btn.red{color:#d23f31}button.red:hover,.btn.red:hover,.btn.red-hover{color:#FFF;background-color:#d23f31;border-color:#c0372a}button.red:active,.btn.red:active{background-color:#d23f31;border-color:#c9320c;color:#FFF;box-shadow:0 2px 4px rgba(0,0,0,0.25) inset}button.small,.btn.small{padding:0 5px;font-size:12px;font-weight:normal;display:inline-block;line-height:19px;height:20px;text-shadow:initial}button.absolute{position:absolute;right:10px;top:10px}a[class^="icon-"],a[class*=" icon-"]{color:rgba(0,0,0,0.87)}a[class^="icon-"]:hover,a[class*=" icon-"]:hover{text-decoration:none;color:#4285f4}.tip.error{color:#d23f31;background-color:#fcdede;border:1px solid #d2b2b2}.tip ul{margin:10px 40px;text-align:left}.tip.succ{background-color:#D4F6FA;border:1px solid #1D2B3D;color:#1D2B3D}#registerTip,#loginTip,#addArticleTip,#profilesTip,#passwordTip{white-space:normal;word-wrap:break-word}.avatar,.avatar-small,.avatar-mid,.avatar-big{border-radius:3px 3px 3px 3px;background-size:cover;background-repeat:no-repeat;background-position:center center;display:inline-block;vertical-align:middle}.avatar{height:30px;width:30px;margin-right:10px}.avatar-small{height:20px;width:20px}.avatar-big{border:1px solid #EEEEEE;height:210px;width:210px;border-radius:6px}.avatar-mid{border:1px solid #EEEEEE;height:118px;width:118px;border-radius:4px}.status{border-top:1px dotted #CCCCCC;list-style:none;padding:10px 0}.status>li{overflow:hidden;flex:1;-webkit-box-flex:1;text-align:center}.status>li>strong{font-size:20px}.form{position:relative}.form table{width:100%}.form input[type=text],.form input[type=datetime],.form input[type=datetime-local],.form input[type=password],.form input[type=number],.form select,.form textarea{border:1px solid #CCCCCC;background-color:#FAFAFA;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset;padding:7px 8px;width:100%;line-height:17px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.form input[type=text]:focus,.form input[type=password]:focus,.form textarea:focus{background-color:#FFF;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset,0 0 5px rgba(81,167,232,0.5);border:1px solid #51A7E8}.form label{color:#616161;font-size:15px;margin:10px 0 5px;float:left}.form label.ft-red{color:#d23f31}.form label>a{font-weight:normal}.form label input[type=checkbox],.form label input[type=radio]{vertical-align:middle}.form input[type=file]{width:1px;opacity:0.001;height:16px}.pagination{background-color:#FFFFFF;background:linear-gradient(#fff, #EFEFEF);background:-ms-linear-gradient(#fff, #EFEFEF);background:-o-linear-gradient(#fff, #EFEFEF);background:-webkit-linear-gradient(#fff, #EFEFEF);border:1px solid #eaeaea;border-bottom:0;display:inline-block;margin:10px;border-radius:3px;font-size:12px;float:right}.pagination a,.pagination span{border-bottom:1px solid #DADADA;border-left:1px solid rgba(255,255,255,0.7);border-right:1px solid rgba(0,0,0,0.04);color:#777777;float:left;padding:5px 8px;text-decoration:none;text-shadow:0 1px 0 white}.pagination a{cursor:pointer}.pagination a:hover{color:#4285f4;border-bottom-color:#CFDCE8;background-color:#fafbfd;background:linear-gradient(#fafbfd, #dce6ef);background:-ms-linear-gradient(#fafbfd, #dce6ef);background:-o-linear-gradient(#fafbfd, #dce6ef);background:-webkit-linear-gradient(#fafbfd, #dce6ef)}.pagination span.current{background-color:#FCFCFC;background:linear-gradient(#FCFCFC, #EBEBEB);background:-ms-linear-gradient(#FCFCFC, #EBEBEB);background:-o-linear-gradient(#FCFCFC, #EBEBEB);background:-webkit-linear-gradient(#FCFCFC, #EBEBEB);border-bottom-color:#D26911;color:#000000}.pagination span.gap{color:#BBB}.pagination select{border:0;color:#777;padding:4px 5px;white-space:nowrap;float:left;border-bottom:1px solid #DADADA;border-radius:0;background:linear-gradient(#fff, #EFEFEF)}.dialog-background{background-color:#000000;display:none;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%;z-index:200}.dialog-panel{display:none;position:fixed;z-index:201;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,0.25);border-radius:5px;box-shadow:0 0 18px rgba(0,0,0,0.4)}.dialog-header-bg{padding:10px;font-size:18px;font-weight:normal;border-bottom:1px solid #eee}.dialog-header-bg .icon-close{color:rgba(0,0,0,0.25);font-size:12px;float:right;font-weight:bold}.dialog-header-bg .icon-close:hover{color:rgba(0,0,0,0.87)}.dialog-main{min-width:200px;padding:10px;box-sizing:content-box}.completed-panel{padding:0;overflow:auto;left:0;display:none;position:absolute;background-color:#FFF;border:1px solid #eee;z-index:72;border-radius:0 0 3px 3px;width:50%;top:32px;box-sizing:border-box}.completed-panel a{display:block;padding:3px;text-decoration:none;line-height:18px;height:18px}.completed-panel a.selected,.completed-panel a:hover{background-color:#F7F7F7}.wrapper{margin:0 10px}.main{background-color:#FFF;padding-bottom:10px}.nav{height:28px;width:100%;padding:5px 0;z-index:99;background-color:#3b3e43}.nav .head-fn form{position:relative}.nav .head-fn h1 a svg{color:#fff;height:38px;width:38px;margin-top:-5px;float:left}.nav .user-nav{position:relative}.nav .user-nav a.unlogin{font-size:14px}.nav div>a{color:#fff;text-decoration:none;margin:0 3px;padding:4px 5px;float:right;font-size:20px;line-height:20px;height:20px}.nav div>a:hover{color:#4285f4}.nav div>a.current{border-bottom:2px solid #D26911;padding-bottom:7px}.nav div>a.last{margin-right:0}.nav .avatar-small{height:20px;width:20px;vertical-align:super}.nav .user-nav .no-msg,.nav .user-nav .msg{background-color:#777;border-radius:3px;color:#FFFFFF;font-size:14px;padding:0px 6px;margin:5px 10px;line-height:20px}.nav .user-nav .msg{-webkit-animation:spaceboots 1s infinite;-moz-animation:spaceboots 1s infinite;-o-animation:spaceboots 1s infinite;-ms-animation:spaceboots 1s infinite;animation:spaceboots 1s infinite;background-color:#d23f31;color:#FFFFFF}.nav .user-nav a.selected.no-msg,.nav .user-nav a.selected.msg{animation:none;background-color:#d23f31;border-bottom:0}.nav .form{background-color:#FFF;border:1px solid #CACACA;box-shadow:0 1px 0 rgba(255,255,255,0.4),0 0 10px rgba(0,0,0,0.1);padding:14px;position:absolute;right:0;top:33px;z-index:2;width:250px}.nav .form input[type="text"],.nav .form input[type="password"]{margin:10px 0}.nav input.search{background-color:#FFF;border:1px solid #DDDDDD;border-radius:3px 3px 3px 3px;padding:5px 8px;width:230px;margin:1px 0 0 20px;float:left;box-shadow:inset 0 1px 2px rgba(0,0,0,0.075)}.nav input.search:focus{border-color:#51A7E8;box-shadow:0 0 3px rgba(81,167,232,0.5),0 1px 1px rgba(0,0,0,0.2) inset}.footer{color:#7d8186;padding:10px 0;text-align:center;font-size:12px;background-color:#3b3e43}.footer a{color:#afb1b3}.list h2{font-size:14px;font-weight:normal}.list h2>a{color:#595959}.list h2>a:hover{color:rgba(0,0,0,0.87)}.list>ul{list-style:none}.list>ul>li{border-bottom:1px solid #eee;padding:10px;white-space:normal;word-wrap:break-word;position:relative}.list li.last{border-bottom-width:0}.list .comment>p{margin:0}.list>ul>li.cmt-perfect,.list>ul>li.cmt-perfect:hover{background-color:#f9f6f6}.has-view{margin-right:40px}#articltVia{white-space:nowrap}label.anonymous-check{margin:2px 15px 0 0}.cmts{position:absolute;right:10px;top:40%}.cmts a.count:visited{background-color:#f6f6f6;color:#999}#revision .revisions{margin:5px 0 15px;text-align:center}#revision .revisions a{color:#616161;vertical-align:middle}#revision .revisions a:hover{color:rgba(0,0,0,0.87)}#revision .revisions a.disabled{color:rgba(0,0,0,0.38);cursor:default}#revision .revisions span{margin:0 10px 0 10px}.module{margin-bottom:10px;background-color:#FFF;border-radius:3px;width:100%;word-wrap:break-word;box-sizing:border-box}.module-header{border-radius:3px 3px 0 0;background-color:#F7F7F7;border-bottom:1px solid #eee;padding:9px 10px 10px;text-shadow:0 1px 0 #fff;font-size:14px;line-height:17px}.module-header h2{display:inline;font-size:15px;font-weight:normal}.module-panel{border-radius:0 0 5px 5px}.module-panel strong{display:inline-block;margin-top:14px}.module-panel .module-list li{border-bottom:1px dotted #CCCCCC;list-style:none outside none;padding:5px 10px;position:relative}.module-panel .module-list li.last,.module-panel .module-list li:last-child{border-bottom-width:0}.module .comment-content{color:#999999;float:left;margin-left:5px;width:210px}.module-panel.form{padding:0 10px 10px}#killBrowser .module{height:235px;width:520px}#killBrowser p{margin:10px 0}#killBrowser ul{margin-left:30px}#killBrowser img{position:absolute;right:36px;top:58px}.emoji{width:1.3em;height:1.3em;display:inline-block;margin-bottom:.25em;background-size:contain;vertical-align:text-top}.person-info{position:relative}.person-info .info{position:relative;left:-1px;top:-1px;overflow:hidden;height:35px}.person-info .info button.red{position:absolute;border-radius:3px 0 0 0;min-width:35%;color:#FFF;padding:5px 0;background-color:#b33630;background-image:linear-gradient(#dc5f59, #b33630);border-color:#cd504a;letter-spacing:1px}.person-info .info button.red:hover{letter-spacing:2px}.person-info .info .fn-right{margin:9px 10px 0 0}.person-info .status{border-bottom:1px dotted #ccc;border-top-width:0;margin-top:-20px;margin-bottom:15px}.person-info .status .fn-pointer:hover span{color:rgba(0,0,0,0.87)}.person-info .module-panel{padding:0 10px 10px 10px}.person-info .activity-board{position:absolute;height:2px;background-color:#b33630;top:-1px}.person-info .right{width:2px;right:-1px;left:auto}.person-info .left{width:2px;right:0;left:-1px}.person-info .bottom{top:auto;bottom:-1px}.painter-point{background-image:-webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.25, rgba(255,255,255,0.9)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255,255,255,0.9)), color-stop(0.75, rgba(255,255,255,0.9)), color-stop(0.75, transparent), to(transparent));background-image:-o-linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-size:8px 8px;height:17px;width:38px;display:inline-block;vertical-align:sub}.top .has-view{line-height:21px}.responsive-show{display:none}.algolia-autocomplete .aa-dropdown-menu{background-color:#fff;border:1px solid #eee;margin:0 0 5px 19px}.algolia-autocomplete .aa-dropdown-menu img{height:20px}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion{cursor:pointer;padding:5px 4px;border-bottom:1px solid #eee}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-cursor{background-color:#F7F7F7}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion em{font-weight:bold;color:#d23f31;font-style:normal}.algolia-autocomplete .aa-dropdown-menu .fn-right{margin:5px}.ranking{text-align:center;margin:10px}.ranking-title{font-size:18px;text-align:center}.more-article{display:block;text-align:center;padding:5px;background-color:#f6f6f6;margin-bottom:10px;border-bottom:1px solid #eee}.module-list .slogan{position:absolute;top:50%;margin-top:-12px}.module-list .title{color:#767676;margin:5px 0 5px 30px;display:block;line-height:20px}.module-list.open-source .title{margin-left:60px}.module-list.open-source .slogan{margin-top:-11px}.module-list.domain .slogan{text-align:center;margin-top:-10px;width:30px}.module-list.domain .title{margin-left:50px}.module-list.domain .tag{margin-right:10px}.module-panel.ad{padding:10px;text-align:center}.module-panel.ad .header{color:rgba(0,0,0,0.87)}.module-panel.ad img{margin-bottom:5px}.article-actions .fn-right>a,.article-actions .fn-right>span{padding:4px 8px;border-radius:2px;display:inline-block;line-height:16px;float:left;text-decoration:none;margin-top:10px}.article-info{position:relative;margin-bottom:10px}.article-info>div.article-params{position:absolute;top:-2px;left:40px;font-size:12px;min-height:30px;line-height:15px}#heatBar{position:fixed;top:2px;right:0px;width:100%}h1.article-title{word-break:break-all;font-size:16px;font-weight:normal;margin:10px 0}h1.article-title>a{color:#595959}h1.article-title>a:hover{color:rgba(0,0,0,0.87)}#thoughtProgress{height:2px;position:relative;margin-bottom:10px;margin-top:20px}#thoughtProgress .bar{position:absolute;background-color:#e0e0e0;height:2px}#thoughtProgress .icon-video{position:absolute;top:-8px;left:0;cursor:pointer;color:#d23f31;margin-left:-10px}.comment-submit{margin-top:10px}label.cmt-anonymous{margin:7px 15px 0 0}#shareClipboard.tooltipped-hover{color:#4285f4}.comments>.comments-header{border-bottom:1px solid #CCCCCC;margin:20px 0 0;padding:10px 5px 5px 10px}.comments>div.comments-header svg{margin:3px 10px 0 0}.comments>div.comments-header a{text-decoration:none;color:rgba(0,0,0,0.87)}.comments li.shield{background-image:-webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.25, rgba(255,255,255,0.9)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255,255,255,0.9)), color-stop(0.75, rgba(255,255,255,0.9)), color-stop(0.75, transparent), to(transparent));background-image:-o-linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-color:#f7f7f7;background-size:45px 45px}.comments.list>ul>li.perfect,.comments.list>ul>li.perfect:hover{background-color:#f9f6f6}.comments>ul>li:hover .hover-show{visibility:visible}.comments>ul>li:hover .comment-action,.comments>ul>li.selected .comment-action{display:block}.comment-get-comment.list>ul>li{margin-bottom:10px;padding-top:0}.comment-replies.list>ul{margin-top:10px}.comment-replies.list>ul>li{border-bottom-width:0;border-top:1px solid #eee}.comment-replies.list>ul>li{background-color:transparent}.comments li .fn-pointer:hover{color:#999}.comments .comment>p{margin-top:10px;margin-bottom:0}.comments.nice ul{margin-top:5px;border:1px solid #eee;border-radius:3px}.comments.nice>ul>li:last-child{border-bottom-width:0}.comment-login{border:1px solid #D9D9D9;border-top-color:#C0C0C0;border-left-color:#C0C0C0;box-sizing:border-box;margin:10px;background-color:#fafafa}.comment-login>a{text-align:center;display:block;padding:21px 0px 21px}#articleRewardContent{margin-top:20px;padding:10px;background-image:-webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.25, rgba(255,255,255,0.9)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255,255,255,0.9)), color-stop(0.75, rgba(255,255,255,0.9)), color-stop(0.75, transparent), to(transparent));background-image:-o-linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-color:#f7f7f7;background-size:45px 45px}#articleRewardContent>p{margin:0}#articleRewardContent.reward{text-align:center}#articleRewardContent.reward>span{margin:20px;display:inline-block}.article-tags .tag{margin:0;padding:0 3px}.share{margin:10px 0;position:relative}.share svg{height:16px;width:16px}.share #qrCode{position:absolute;bottom:30px;right:0;border:5px solid #eee;z-index:1;height:90px;border-radius:3px;width:90px}.share [class^="icon-"]{cursor:pointer;transition:all 0.2s ease-out 0s;-webkit-transition:all 0.2s ease-out 0s;display:inline-block;font-size:16px}.share [class^="icon-"]:hover{color:#4285f4}#replyUseName{visibility:hidden;line-height:18px;height:18px;margin:5px 0}#articleToC{top:21px;z-index:10}.article-toc li{list-style-type:none}.article-toc li a{padding:5px 10px 5px 20px;border-left:2px solid transparent;display:block;line-height:20px;color:#767676}.article-toc li a:last-child{border-bottom-width:0}.article-toc li a:hover{border-left:1px solid #4285f4;background-color:#F7F7F7;padding-left:21px;color:#4285f4;text-decoration:none}.article-toc li.current a{border-left:2px solid #4285f4;background-color:#f0f0f0;color:#4285f4}.article-toc li.toc-h2 a,.article-toc li.toc-h2.current a:hover{padding-left:34px}.article-toc li.toc-h3 a,.article-toc li.toc-h3.current a:hover{padding-left:48px}.article-toc li.toc-h4 a,.article-toc li.toc-h4.current a:hover{padding-left:62px}.article-toc li.toc-h5 a,.article-toc li.toc-h5.current a:hover{padding-left:86px}.article-toc li.toc-h2 a:hover{padding-left:35px}.article-toc li.toc-h3 a:hover{padding-left:49px}.article-toc li.toc-h4 a:hover{padding-left:63px}.article-toc li.toc-h5 a:hover{padding-left:87px}.domains{border-bottom:2px solid #d23f31}.domains svg{vertical-align:sub}.domains a{height:17px;text-align:center;padding:10px 2px;color:#999;text-decoration:none;line-height:16px;display:block;flex:1;font-size:12px}.domains a.selected{color:#4285f4}.domains-count{padding:10px 18px;font-size:18px;line-height:26px;color:#1b3650;text-align:center;background-image:linear-gradient(#f5fbff, #e4f0ff);border:1px solid #cee0e7;border-radius:3px;width:100%;box-sizing:border-box;margin:10px 0 10px}.article-list li.stick{background-color:#f9f6f6}.article-list li.stick .stick-remains{vertical-align:top}.article-list li.stick:hover .stick-remains{display:inline}.article-list li .commenters{display:none;top:32%;position:absolute;right:10px}.article-list li .commenters>a{float:left;margin-left:4px;width:25px;text-decoration:none;color:#999}.article-list li .commenters>a:hover{color:#4285f4}.article-list li:hover .commenters{display:block}.article-list .preview{position:absolute;left:65px;z-index:1;top:40px;background-color:#FFF;border:1px solid #DDDDDD;border-radius:3px 3px 3px 3px;padding:5px 10px;opacity:0.9;width:70%;min-width:130px;min-height:36px}.article-list .preview .ico-arrow{width:0px;height:0px;border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:10px solid rgba(255,255,255,0.9);position:absolute;top:-10px;z-index:1;left:11px}.article-list .preview .ico-arrowborder{width:0px;height:0px;border-left:11px solid transparent;border-right:11px solid transparent;border-bottom:11px solid #DDDDDD;position:absolute;top:-11px;left:10px}.heat{position:absolute;height:5px;background-color:#d23f31;z-index:1;bottom:-3px;right:0}.point,.point-remove{position:absolute;height:5px;background-color:#d23f31;z-index:1;bottom:-3px;right:0px;width:5px;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:slideInRight;animation-name:slideInRight}.point-remove{animation-name:slideInLeft;-webkit-animation-name:slideInLeft}@keyframes slideInLeft{0%{right:0}100%{right:100%}}@-webkit-keyframes slideInLeft{0%{right:0}100%{right:100%}}@keyframes slideInRight{0%{right:100%}100%{right:0}}@-webkit-keyframes slideInRight{0%{right:100%}100%{right:0}}.article-level0{color:rgba(0,0,0,0.38)}.article-level1{color:#ffcc00}.article-level2{color:#ffc1cc}.article-level3{color:#ff6633}.article-level4{color:#d23f31}.guide .intro.vditor-reset{padding:10px;line-height:24px}.guide .guide-tab,.guide .step-btn{margin:10px}.guide .form{margin:0;width:auto}.guide #avatarUpload label{margin-top:0}.guide .tag-desc>li:hover>a{border-bottom-style:solid;border-radius:3px}.guide .tag-desc li.current>a{background-color:rgba(0,0,0,0.38);color:#fff;border-color:#bbb}.guide .intro dt.current{color:#ffac45}.guide .fn-flex>div{padding:10px;box-sizing:border-content;width:50%}.guide .md{background-color:#f1f7fe}.guide .md pre{white-space:pre-wrap;word-wrap:break-word}.verify .intro{padding:30px;background-color:#f1f7fe;color:#616161}.verify .form{font-size:14px;line-height:1.6}.verify .form>svg{margin:0 auto;height:50px;width:50px;display:block}.verify .form input[type="text"],.verify .form input[type="password"]{margin:10px 0;width:100%;padding-left:36px;background-color:#FFF}.verify .form button{margin:10px 0;width:100%}.verify .form .input-wrap{position:relative}.verify .form .input-wrap svg{color:#999;position:absolute;top:19px;left:10px}.verify .form .captcha-img{top:11px;position:absolute;height:31px;left:1px;border-radius:3px 0 0 3px}.verify .form input.captcha-input{padding-left:91px}.module-panel .tags li{float:left;list-style:none;line-height:19px;margin:10px 10px 0 0}.module-panel .tags{margin:0 0 10px 10px}.tag-desc.fn-clear{margin:10px 0 0px 10px}.tag-desc>li{float:left;position:relative;list-style:none;margin:0 10px 10px 0;font-size:12px}.tag-desc>li:hover>div{display:block}.tag-desc>li>a{float:left;color:#999;padding:2px 5px;border:1px solid #DDDDDD;position:relative;height:20px;white-space:nowrap;word-wrap:normal;background-color:#F7F7F7;border-radius:3px 3px 3px 3px;line-height:21px}.tag-desc>li>a:hover{text-decoration:none}.tag-desc>li:hover>a{border-bottom-style:dotted;border-radius:3px 3px 0 0;opacity:0.7;z-index:3}.tag-desc>li>a>span{text-decoration:none;color:#999}.tag-desc>li>a>img{border-radius:2px 2px 2px 2px;height:16px;width:16px;margin:-2px 2px 0 0}.tag-desc>li>div{background-color:#F7F7F7;border:1px solid #DDDDDD;border-radius:3px 0 3px 3px;display:none;right:0;margin-left:3px;padding:5px 10px;position:absolute;top:25px;z-index:2;opacity:0.9;width:200px;min-width:150px}.tag-articles-tag-desc.tag-desc>li>div{left:-3px;right:auto;border-radius:0 3px 3px 3px}.tag-articles .content{padding-top:10px}.tag-articles h1.fn-inline{line-height:28px;font-size:20px}.tag-articles .btn.red{vertical-align:super}.tag-articles .article-actions .fn-right{margin-top:-8px}.tags-cold li h2,.tags-trend li h2{display:inline-block}.list>ul.tags-trend>li,.list>ul.tags-cold>li{padding:5px}.tag-artile-user{border-bottom:1px dotted #CCCCCC;padding:0 0px 10px 10px}code.prettyprint{display:inline;border:none;background-color:initial;border-radius:initial;padding:initial}code .str{color:initial}code .kwd{color:initial}code .com{color:initial;font-style:italic}code .typ{color:initial}code .lit{color:initial}code .pun{color:initial}code .pln{color:initial}code .tag{color:initial}code .atn{color:initial}code .atv{color:initial}code .dec{color:initial}.activity{min-height:300px}.activity-char-btns{margin-top:10px}#charCanvas{border:1px solid #eee;border-radius:5px;background-color:#fff;display:block;margin:20px auto;background-image:url(../images/m-char.png);background-size:cover}.chat-room .online-cnt{line-height:33px;margin-right:10px;color:rgba(0,0,0,0.54)}.chat-room .list{height:200px;overflow:auto}.index .index-wrap{background-color:#fafafa;border-bottom:1px solid #eee;border-top:1px solid #eee}.index>.slogan{padding:10px;color:#767676;border-top:1px solid #eee;background-color:#fafafa}.index>.slogan a:hover svg{color:#4285f4}.index .tag-desc>li:hover>span{border-bottom-style:solid;border-radius:3px;opacity:0.7;z-index:3}.index a.count{position:absolute;right:10px;top:50%;margin-top:-8px}.index a.count:visited{background-color:#f6f6f6;color:#999}.index .module-list .title{margin-right:30px}.index .module-header{margin:-1px;text-align:right;text-shadow:0 0 0}.index .module-header a{color:#fff}.user-name{font-size:20px;font-weight:300;line-height:26px;border-bottom:1px dotted #CCC;margin-bottom:20px;padding:20px 10px 25px 10px}.user-name #userNicknameDom{font-size:26px;line-height:30px}.user-name .online,.user-name .offline{background-color:#d23f31;color:#fff;font-size:12px;line-height:20px;border-radius:3px;height:20px;display:inline-block;padding:0 5px 0 3px;vertical-align:middle}.user-name .online svg,.user-name .offline svg{margin-top:2px}.user-name .offline{background-color:rgba(0,0,0,0.54)}.user-name button.follow{font-size:14px;width:100%;margin:10px 0}.user-info{line-height:26px;font-size:12px;color:#616161}.user-intro{line-height:26px}.pre-post>div{font-size:30px;border-bottom:1px solid #eee;padding:20px 10px;text-align:center}.pre-post>div:last-child{border-bottom-width:0}.pre-post>div>a{color:#404040;display:block;margin-bottom:20px}.pre-post a:hover{text-decoration:none;color:#4285f4}.pre-post a svg{height:30px;width:30px;vertical-align:middle;margin-right:20px}.pre-post div.ft-fade{font-size:15px}#articleContent{height:332px;margin:10px 0}#articleRewardContent{margin-top:10px;padding:0}#tip{position:inherit;white-space:pre-wrap}.tip-add-article{color:#777777;list-style:circle outside none;margin-left:20px;line-height:22px}.article-content{width:100%;position:relative}.article-content#articleAudio{width:auto;margin-bottom:10px}#showReward{color:#999;width:100%;display:block}.post .tags-wrap{position:relative}.post .tags-input{border:1px solid #CCCCCC;background-color:#FAFAFA;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset;padding:5px 5px 3px 5px;width:100%;line-height:17px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;height:33px}.post .tags-input span.tag{margin:2px 5px 0 0px;color:#4285f4}.post .tags-input .tag>span.close{cursor:pointer;margin-left:5px;color:#999}.post .tags-input span.tag.haved{color:rgba(0,0,0,0.87);background-color:#ccc;transition:background 0.5s ease-in, color 0.3s ease-out}.post .tags-input input{border:0;outline:none;border-radius:0;padding:2px;box-shadow:0 0 0;background-color:transparent}.post .tags-input input:focus{border:0;background-color:transparent;box-shadow:0 0 0}.post .domains-tags,.post .completed-panel{display:none;position:absolute;background-color:#FFF;border:1px solid #eee;z-index:10;padding:10px;border-radius:0 0 3px 3px;width:100%;box-sizing:border-box;top:32px}.post .domains-tags .tag{cursor:pointer;color:#4285f4}.post .domains-tags>span.current{color:#FFF;background-color:#2c5d8d;background-image:linear-gradient(#7ba9d6, #2c5d8d);border-color:#689cd0}.post .completed-panel{padding:0;overflow:auto;left:0}.post .completed-panel a{display:block;padding:3px;text-decoration:none;line-height:18px;height:18px}.post .completed-panel a.selected,.post .completed-panel a:hover{background-color:#F7F7F7}.tab-current{background-color:#fafafa;border-bottom:1px solid #eee;padding:5px 10px;font-size:14px;font-weight:bold}.tab-current>span{color:#767676}.tab{list-style:none}.tab>li a{padding:5px 0;display:block}.home-invisible{margin:10px 0;border-bottom:1px dotted #ccc;padding-bottom:10px}.home-account__captch{position:relative}.home-account__captch img{position:absolute;height:31px;top:39px;right:1px;border-radius:0 3px 3px 0}.notification-tab a:hover{text-decoration:none}.notification-tab a{display:inline-block !important}.notification .read{background-color:#FAFAFA;opacity:0.5}.notification li{background-color:#F8F8FF;line-height:21px}.notification li:last-child{border-bottom-width:0}.follow li{position:relative;border-bottom:1px solid #EEEEEE;padding:10px;list-style:none;box-sizing:border-box}.follow .user-online{position:absolute;left:45px;top:45px}.admin .avatar{height:17px;width:17px}.admin .tags{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;vertical-align:bottom}.admin .form input[type=text],.admin .form input[type=number]{width:30%;margin-right:10px}.points{border-collapse:collapse;border-spacing:0;width:100%}.points td{border-bottom:1px solid #CCCCCC}.points .even{background-color:#F7F7F7}.points .date{width:75px;padding:10px}.points .name{word-break:break-all}.points .type{width:60px;padding:0 10px}.points .sum{text-align:center;width:35px;padding:0 10px;color:#f37800;font-weight:700}.points .sum.plus{color:#53a000}.points .balance{width:40px;padding:0 10px}#avatarUpload{overflow:hidden}.settings-avatar .btn{margin-top:0}.settings-avatar .avatar-big{display:block;margin-bottom:10px}.settings-avatar li{margin-left:20px}.error-403>.slogan{padding-top:20px;background-color:#fafafa;border-bottom:1px solid #eee}.error-403 .slogan-border{margin:20px 0 20px;color:#767676;background-color:#fff;border:1px solid #eee;border-radius:3px;border-bottom:1px solid #eee;width:100%}.error-403 .slogan-register{padding-top:20px;text-align:center}.error-403 .slogan-text{margin:20px 10px}.module.editor-toolbar-emoji{position:absolute;bottom:14px;height:111px;overflow:auto;z-index:124;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,0.2);width:50%}.module.editor-toolbar-emoji .emoji{cursor:pointer;padding:5px;border-radius:2px;margin-bottom:0}.module.editor-toolbar-emoji .emoji:hover{background-color:rgba(0,0,0,0.38)}.wrapper .editor-toolbar{border:1px solid #ccc}.wrapper .editor-toolbar>a:last-child{display:none}.link-forge .link-forge-upload{margin:10px 0}.link-forge .link-forge-upload input[type=text]{width:74%;margin-right:20px}.link-forge .module-panel{max-height:409px;overflow:hidden}.breezemoon__btn{position:absolute;top:9px;right:10px;border-radius:0 3px 3px 0 !important}@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2), only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3), only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3){.footer{padding-bottom:22px}} +.vditor{--border-color: #d1d5da;--second-color: rgba(88, 96, 105, 0.36);--panel-background-color: #fff;--panel-shadow: 0 1px 2px rgba(0, 0, 0, .2);--toolbar-background-color: #f6f8fa;--toolbar-icon-color: #586069;--toolbar-icon-hover-color: #4285f4;--toolbar-height: 35px;--toolbar-divider-margin-top: 8px;--textarea-background-color: #fafbfc;--textarea-text-color: #24292e;--resize-icon-color: var(--toolbar-icon-color);--resize-background-color: var(--toolbar-background-color);--resize-hover-icon-color: var(--panel-background-color);--resize-hover-background-color: var(--toolbar-icon-hover-color);--count-background-color:rgba(27, 31, 35, .05);--heading-border-color: #eaecef;--blockquote-color: #6a737d;--ir-heading-color: #660e7a;--ir-title-color: #808080;--ir-bi-color: #0033b3;--ir-link-color: #008000;--ir-bracket-color: #0000ff;--ir-paren-color: #008000}.vditor--dark{--border-color: #141414;--second-color: rgba(185, 185, 185, .36);--panel-background-color: #24292e;--panel-shadow: 0 1px 2px rgba(255, 255, 255, .2);--toolbar-background-color: #1d2125;--toolbar-icon-color: #b9b9b9;--toolbar-icon-hover-color: #fff;--textarea-background-color: #2f363d;--textarea-text-color: #d1d5da;--resize-icon-color: var(--border-color);--resize-background-color: var(--second-color);--resize-hover-icon-color: var(--toolbar-icon-hover-color);--resize-hover-background-color: rgba(185, 185, 185, .86);--count-background-color: rgba(66,133,244,0.36);--heading-border-color: var(--textarea-text-color);--blockquote-color: var(--toolbar-icon-color);--ir-heading-color: #9876aa;--ir-title-color: #808080;--ir-bi-color: #cc7832;--ir-link-color: #ffc66d;--ir-bracket-color: #287bde;--ir-paren-color: #6a8759}@keyframes tooltip-appear{from{opacity:0}to{opacity:1}}.vditor-tooltipped{position:relative;cursor:pointer}.vditor-tooltipped::after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font-size:11px;font-weight:normal;-webkit-font-smoothing:subpixel-antialiased;color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:#3b3e43;border-radius:3px;line-height:16px;opacity:0}.vditor-tooltipped::before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:#3b3e43;pointer-events:none;content:"";border:5px solid transparent;opacity:0}.vditor-tooltipped--hover::before,.vditor-tooltipped--hover::after,.vditor-tooltipped:hover::before,.vditor-tooltipped:hover::after,.vditor-tooltipped:active::before,.vditor-tooltipped:active::after,.vditor-tooltipped:focus::before,.vditor-tooltipped:focus::after{display:inline-block;text-decoration:none;animation-name:tooltip-appear;animation-duration:0.15s;animation-fill-mode:forwards;animation-timing-function:ease-in}.vditor-tooltipped__s::after,.vditor-tooltipped__se::after,.vditor-tooltipped__sw::after{top:100%;right:50%;margin-top:5px}.vditor-tooltipped__s::before,.vditor-tooltipped__se::before,.vditor-tooltipped__sw::before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:#3b3e43}.vditor-tooltipped__se::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__sw::after{margin-right:-15px}.vditor-tooltipped__n::after,.vditor-tooltipped__ne::after,.vditor-tooltipped__nw::after{right:50%;bottom:100%;margin-bottom:5px}.vditor-tooltipped__n::before,.vditor-tooltipped__ne::before,.vditor-tooltipped__nw::before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:#3b3e43}.vditor-tooltipped__ne::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__nw::after{margin-right:-15px}.vditor-tooltipped__s::after,.vditor-tooltipped__n::after{transform:translateX(50%)}.vditor-tooltipped__w::after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.vditor-tooltipped__w::before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:#3b3e43}.vditor-tooltipped__e::after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.vditor-tooltipped__e::before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:#3b3e43}@media screen and (max-width: 520px){.vditor-tooltipped:before,.vditor-tooltipped:after{content:none}}@keyframes scale-in{0%{opacity:0;transform:scale(0.5)}100%{opacity:1;transform:scale(1)}}.vditor-panel{background-color:var(--panel-background-color);position:absolute;box-shadow:var(--panel-shadow);border-radius:3px;padding:5px;z-index:3;font-size:14px;display:none;user-select:none;max-width:320px;min-width:80px;animation-duration:.15s;animation-name:scale-in;animation-timing-function:cubic-bezier(0.2, 0, 0.13, 1.5);color:var(--toolbar-icon-color)}.vditor-panel--none{padding:0;animation:none;min-width:auto;max-width:none;white-space:nowrap;opacity:.86}.vditor-panel--arrow:before{position:absolute;width:0;height:0;pointer-events:none;content:" ";border:7px solid transparent;top:-14px;left:5px;border-bottom-color:var(--panel-background-color)}.vditor-panel--left{right:0}.vditor-panel--left.vditor-panel--arrow:before{right:5px;left:auto}.vditor-input{border:0;padding:3px 5px;background-color:var(--panel-background-color);font-size:12px;color:var(--textarea-text-color)}.vditor-input:focus{background-color:var(--toolbar-background-color);outline:none}.vditor-icon{color:var(--toolbar-icon-color);cursor:pointer;float:left;padding:4px 5px;height:21px;width:23px;background-color:transparent;border:0;box-sizing:border-box}.vditor-icon:hover,.vditor-icon--current{color:var(--toolbar-icon-hover-color);background-color:transparent}.vditor-icon:focus{outline:none}.vditor-icon svg{height:13px !important;width:13px !important;float:left;fill:currentColor;pointer-events:none}.vditor-toolbar{background-color:var(--toolbar-background-color);border-bottom:1px solid var(--border-color);padding:0 5px;line-height:1}.vditor-toolbar--pin{position:sticky;top:0;z-index:1}.vditor-toolbar--hide{transition:all 0.15s ease-in-out;height:5px;overflow:hidden}.vditor-toolbar--hide:hover{background-color:var(--toolbar-background-color);height:auto;overflow:visible}.vditor-toolbar__item{float:left;position:relative}.vditor-toolbar__item .vditor-tooltipped{color:var(--toolbar-icon-color);border:0;padding:10px 5px;background-color:transparent;height:var(--toolbar-height);width:25px;box-sizing:border-box;font-size:0}.vditor-toolbar__item .vditor-tooltipped:focus{outline:none}.vditor-toolbar__item .vditor-tooltipped:focus{cursor:pointer;color:var(--toolbar-icon-hover-color)}.vditor-toolbar__item svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:15px;height:15px}.vditor-toolbar__item input{position:absolute;width:25px;height:var(--toolbar-height);top:0;left:0;cursor:pointer;opacity:.001;overflow:hidden}.vditor-toolbar__divider{float:left;height:calc(var(--toolbar-height) - (var(--toolbar-divider-margin-top) * 2));border-left:1px solid var(--second-color);margin:var(--toolbar-divider-margin-top) 8px}.vditor-toolbar__br{width:100%;padding:0 !important;height:0 !important}.vditor-menu--current{color:var(--toolbar-icon-hover-color) !important}.vditor-menu--disabled{color:var(--second-color) !important;cursor:not-allowed !important}.vditor-emojis{display:inline-block;overflow:auto}.vditor-emojis::-webkit-scrollbar{display:none}.vditor-emojis__tip{flex:1;min-width:1px;width:200px;margin-right:10px;color:var(--toolbar-icon-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vditor-emojis__tail{margin-top:5px;font-size:12px;color:var(--toolbar-icon-color);display:flex}.vditor-emojis__tail a{text-decoration:none;color:var(--toolbar-icon-color)}.vditor-emojis__tail a:hover{color:var(--toolbar-icon-hover-color)}.vditor-emojis button{cursor:pointer;border-radius:3px;float:left;height:30px;width:30px;text-align:center;line-height:26px;padding:3px;box-sizing:border-box;font-size:16px;transition:all 0.15s ease-in-out;border:0;margin:0;background-color:transparent;overflow:hidden}.vditor-emojis button:focus{outline:none}.vditor-emojis button:hover .vditor-emojis__icon{display:inline-block;transform:scale(1.2)}.vditor-emojis img{height:20px;width:20px;float:left;margin:3px 0 0 3px}@media screen and (max-width: 520px){.vditor-toolbar__item{padding:0 12px}.vditor-panel--left.vditor-panel--arrow:before{right:17px}}@media (hover: hover) and (pointer: fine){.vditor-toolbar__item .vditor-tooltipped:hover{color:var(--toolbar-icon-hover-color)}}@keyframes slideInDown{from{transform:translate3d(0, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.vditor{display:flex;flex-direction:column;border:1px solid var(--border-color);border-radius:3px;box-sizing:border-box;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif}.vditor .vditor-copy{z-index:auto}.vditor--fullscreen{position:fixed;top:0;width:100% !important;left:0;height:100vh !important;z-index:90;border-radius:0}.vditor-content{display:flex;min-height:60px;flex:1;min-width:1px;position:relative}.vditor-preview{flex:1;min-width:1px;overflow:auto;margin-left:-1px;border-left:1px solid var(--border-color);box-sizing:border-box;border-radius:0 0 3px 0;background-color:var(--textarea-background-color)}.vditor-preview::-webkit-scrollbar{display:none}.vditor-preview__action{text-align:center;padding:10px;background-color:var(--toolbar-background-color)}.vditor-preview__action button{background-color:var(--toolbar-background-color);color:var(--toolbar-icon-color);line-height:20px;border:0;margin:0 10px;cursor:pointer;padding:0 7px;font-size:12px}.vditor-preview__action button.vditor-preview__action--current,.vditor-preview__action button:hover{color:var(--toolbar-icon-hover-color);background-color:var(--toolbar-background-color)}.vditor-preview__action button:focus{outline:none}.vditor-preview__action button svg{fill:currentColor;height:15px;width:15px;vertical-align:middle}.vditor-preview>.vditor-reset{padding:10px;margin:0 auto}.vditor-preview img:not(.emoji){cursor:pointer}.vditor-devtools{display:none;background-color:var(--textarea-background-color);overflow:auto;flex:1;min-width:1px;box-shadow:inset 1px 0 var(--border-color);box-sizing:border-box;border-radius:0 0 3px 0;padding:10px}.vditor-counter{padding:3px;color:var(--toolbar-icon-color);background-color:var(--count-background-color);border-radius:3px;font-size:12px;user-select:none;float:right;margin:8px 3px 0 0}.vditor-counter--error{color:#d23f31;background-color:rgba(210,63,49,0.1)}.vditor-resize{padding:3px 0;cursor:row-resize;user-select:none;position:absolute;width:100%}.vditor-resize--top{top:-3px}.vditor-resize--bottom{bottom:-3px}.vditor-resize>div{height:3px;background-color:var(--resize-background-color);transition:all 0.15s ease-in-out}.vditor-resize:hover>div,.vditor-resize--selected>div{background-color:var(--resize-hover-background-color)}.vditor-resize:hover svg,.vditor-resize--selected svg{color:var(--resize-hover-icon-color)}.vditor-resize svg{fill:currentColor;stroke-width:0;stroke:currentColor;width:13px;height:3px;display:block;margin:0 auto;color:var(--resize-icon-color)}.vditor-upload{position:absolute;height:3px;left:0;top:-2px;transition:all 0.15s ease-in-out;background-color:#4285f4}.vditor-tip{position:absolute;font-size:12px;top:10px;animation-duration:.15s;animation-fill-mode:both;left:50%;z-index:5}.vditor-tip--show{display:block;animation-name:slideInDown}.vditor-tip__content{text-align:left;display:inline-block;line-height:16px;padding:3px 10px;border-radius:3px;background:var(--toolbar-background-color);position:relative;margin-left:-50%;color:var(--toolbar-icon-color);max-width:100%;box-shadow:var(--panel-shadow)}.vditor-tip__content ul{margin:2px 0;padding:0 0 0 18px}.vditor-tip__content a{color:#4285f4}.vditor-tip__close{position:absolute;color:var(--toolbar-icon-color);top:-7px;right:-15px;font-weight:bold;cursor:pointer}.vditor-tip__close:hover{color:var(--toolbar-icon-hover-color)}.vditor-img{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;z-index:3}.vditor-img__bar{border-bottom:1px solid var(--border-color);background-color:var(--toolbar-background-color);text-align:center;height:36px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.vditor-img__btn{display:flex;align-items:center;cursor:pointer;margin-left:24px;user-select:none;color:var(--toolbar-icon-color)}.vditor-img__btn:hover{color:var(--toolbar-icon-hover-color)}.vditor-img__btn svg{height:14px;width:14px;margin-right:8px;fill:currentColor}.vditor-img__img{flex:1;background-color:var(--textarea-background-color);overflow:auto;cursor:zoom-out}.vditor-img__img img{max-width:none}.vditor-hint{background-color:var(--panel-background-color);position:absolute;box-shadow:var(--panel-shadow);border-radius:3px;padding:5px 0;z-index:4;line-height:20px;list-style:none;font-size:12px;margin:0;max-width:250px;min-width:80px;display:none}.vditor-hint .vditor-hint{margin-top:-31px;left:100%;right:auto}.vditor-hint .vditor-hint.vditor-panel--left{right:100%;left:auto}.vditor-hint button{color:var(--toolbar-icon-color);display:block;padding:3px 10px;border:0;border-radius:0;line-height:20px;width:100%;box-sizing:border-box;text-align:left;margin:0;background-color:transparent;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vditor-hint button:focus{outline:none}.vditor-hint--current,.vditor-hint button:not(.vditor-menu--disabled):hover{background-color:var(--toolbar-background-color) !important;color:var(--toolbar-icon-hover-color) !important}.vditor-hint__emoji{font-size:16px;float:left;margin-right:3px}.vditor-hint img{height:20px;width:20px;float:left;margin-right:3px}.vditor-reset{color:#24292e;font-variant-ligatures:no-common-ligatures;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.5;font-size:16px;word-break:break-word}.vditor-reset--anchor{padding-left:20px}.vditor-reset--error{color:#d23f31;font-size:12px;display:block;line-height:16px}.vditor-reset ul ul ul{list-style-type:square}.vditor-reset ul ul{list-style-type:circle}.vditor-reset ul{list-style-type:disc}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li+li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset audio:focus{outline:none}.vditor-reset video{max-height:90vh;max-width:100%}.vditor-reset img{max-width:100%}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:sub}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1:hover .vditor-anchor svg,.vditor-reset h2:hover .vditor-anchor svg,.vditor-reset h3:hover .vditor-anchor svg,.vditor-reset h4:hover .vditor-anchor svg,.vditor-reset h5:hover .vditor-anchor svg,.vditor-reset h6:hover .vditor-anchor svg{visibility:visible}.vditor-reset h1{font-size:1.75em}.vditor-reset h2{font-size:1.55em}.vditor-reset h3{font-size:1.38em}.vditor-reset h4{font-size:1.25em}.vditor-reset h5{font-size:1.13em}.vditor-reset h6{font-size:1em}.vditor-reset hr{height:2px;padding:0;margin:24px 0;background-color:#eaecef;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#6a737d;border-left:0.25em solid #eaecef;margin:0 0 16px 0}.vditor-reset blockquote>:first-child{margin-top:0}.vditor-reset blockquote>:last-child{margin-bottom:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da;max-width:100%;box-sizing:border-box}.vditor-reset iframe.iframe__video{min-width:80%;min-height:36vh}.vditor-reset table{border-collapse:collapse;empty-cells:show;margin-bottom:16px;overflow:auto;border-spacing:0;display:block;word-break:keep-all;width:100%}.vditor-reset table tr{background-color:#fafbfc;border-top:1px solid #c6cbd1}.vditor-reset table td,.vditor-reset table th{padding:6px 13px;border:1px solid #dfe2e5;word-break:normal;white-space:nowrap}.vditor-reset table td:first-child::after,.vditor-reset table th:first-child::after{content:"";display:inline-block;vertical-align:top;min-height:24px}.vditor-reset table th{font-weight:600}.vditor-reset table tbody tr:nth-child(2n){background-color:#fff}.vditor-reset code:not(.hljs):not(.highlight-chroma){padding:0.2em 0.4em;margin:0;font-size:85%;border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word;background-size:20px 20px;white-space:pre-wrap}.vditor-reset pre{margin:1em 0}.vditor-reset pre>code{margin:0;font-size:85%;padding:0.5em;border-radius:5px;display:block;overflow:auto;white-space:pre;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;background-size:20px 20px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAACVBMVEWAgIBaWlo+Pj7rTFvWAAAAA3RSTlMHCAw+VhR4AAAA+klEQVQoz4WSMW7EQAhFPxKWNh2FCx+HkaZI6RRb5DYbyVfIJXLKDCFoMbaTKSw/8ZnPAPjaH2xgZcUNUDADD7D9LtDBCLZ45fbkvo/30K8yeI64pPwl6znd/3n/Oe93P3ho9qeh72btTFzqkz0rsJle8Zr81OLEwZ1dv/713uWqvu2pl+k0fy7MWtj9r/tN5q/02z89qa/L4Dc2LvM93kezPfXlME/O86EbY/V9GB9ePX8G1/6W+/9h1dq/HGfTfzT3j/xNo7522Bfnqe5jO/fvhVthlfk434v3iO9zG/UOphyPeinPl1J8Gtaa7xPTa/Dk+RIs4deMvwGvcGsmsCvJ0AAAAABJRU5ErkJggg==);word-break:initial;word-wrap:normal}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-reset .language-math,.vditor-reset .language-echarts,.vditor-reset .language-mindmap,.vditor-reset .language-plantuml,.vditor-reset .language-mermaid,.vditor-reset .language-abc,.vditor-reset .language-flowchart,.vditor-reset .language-graphviz{margin-bottom:16px}.vditor-reset .language-math mjx-container:focus{outline:none;cursor:context-menu}.vditor-reset .language-echarts,.vditor-reset .language-mindmap{overflow:hidden;height:420px}.vditor-reset .language-mermaid,.vditor-reset .language-flowchart,.vditor-reset .language-graphviz{text-align:center}.vditor-reset .language-graphviz parsererror{overflow:auto}.vditor-reset kbd{display:inline-block;padding:3px 5px;font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:10px;color:#24292e;vertical-align:middle;background-color:#fafbfc;border:solid 1px #d1d5da;border-radius:3px;box-shadow:inset 0 -1px 0 #d1d5da}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto;stroke-width:initial}.vditor-reset p:last-child,.vditor-reset blockquote:last-child,.vditor-reset pre:last-child,.vditor-reset ul:last-child,.vditor-reset ol:last-child,.vditor-reset hr:last-child{margin-bottom:0}.vditor-comment{border-bottom:2px solid #f8e6ab}.vditor-comment--focus,.vditor-comment--hover{background-color:#faf1d1;border-bottom:2px solid #ffc60a}.vditor-comment--focus .vditor-comment,.vditor-comment--hover .vditor-comment{border-bottom:2px solid #ffc60a}.vditor-task{list-style:none !important;word-break:break-all}.vditor-task input{margin:0 .2em .25em -1.6em;font-size:12px;vertical-align:middle}.vditor-copy{position:relative;display:none;z-index:1}.vditor-copy textarea{position:absolute;left:-100000px;height:10px}.vditor-copy span{cursor:pointer;position:absolute;right:15px;top:0.5em}.vditor-copy svg{color:#586069;height:14px;width:14px !important;display:block;fill:currentColor}.vditor-linenumber{padding-left:4em !important;position:relative}.vditor-linenumber__rows{position:absolute;pointer-events:none;top:0.5em;left:0;width:3em;user-select:none;counter-reset:linenumber}.vditor-linenumber__rows>span{pointer-events:none;display:block}.vditor-linenumber__rows>span::before{counter-increment:linenumber;content:counter(linenumber);color:rgba(158,150,150,0.38);display:block;padding-right:1em;text-align:right}.vditor-speech{position:absolute;display:none;background-color:#f6f8fa;border:1px solid #d1d5da;border-radius:3px;padding:3px;cursor:pointer;color:#586069}.vditor-speech:hover,.vditor-speech--current{color:#4285f4}.vditor-speech svg{height:14px;width:14px;fill:currentColor;display:block;stroke-width:0;stroke:currentColor}.vditor-anchor{margin-left:5px}.vditor-anchor--left{float:left;padding-right:4px;margin-left:-20px}.vditor-anchor svg{visibility:hidden}.vditor-anchor:hover svg{visibility:visible}.vditor-anchor:focus{outline:none}.vditor-linkcard{margin:31px auto 16px;transition:all 0.15s ease-in-out;cursor:pointer;max-width:768px;padding:0 10px}.vditor-linkcard a{border-radius:3px;background-color:#f6f8fa;overflow:hidden;max-height:250px;display:flex;text-decoration:none;flex-wrap:wrap-reverse;box-shadow:0 1px 2px rgba(0,0,0,0.2)}.vditor-linkcard a:hover{box-shadow:0 0 3px rgba(0,0,0,0.13),0 3px 6px rgba(0,0,0,0.26);text-decoration:none}.vditor-linkcard a:visited .vditor-linkcard__abstract{color:rgba(88,96,105,0.36)}.vditor-linkcard__info{padding:10px;min-width:200px;box-sizing:border-box;flex:1}.vditor-linkcard__title{font-size:14px;font-weight:400;color:#24292e;display:flex;align-items:center}.vditor-linkcard__title img{cursor:pointer;height:20px;width:20px;border-radius:3px;flex-shrink:0;margin-right:5px}.vditor-linkcard__abstract{word-wrap:break-word;word-break:break-all;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;font-size:13px;color:#586069;margin:5px 0}.vditor-linkcard__site{font-size:12px;color:#4285f4}.vditor-linkcard__image{background-size:cover;background-repeat:no-repeat;background-position:center center;max-width:250px;min-width:126px;cursor:pointer;background-color:rgba(88,96,105,0.36)}.vditor-footnotes__goto-ref{text-decoration:none}.vditor-toc{margin-bottom:16px;user-select:text;color:#4285f4}.vditor-toc .vditor-outline__action{display:none}.vditor-toc ul{list-style:none !important;padding-left:1em}.vditor-toc>ul{padding-left:0}.vditor-toc span{cursor:pointer}.vditor-toc li>span>svg{width:0;height:0}.vditor-outline{width:250px;border-right:1px solid var(--border-color);background-color:var(--panel-background-color);display:none;overflow:auto}.vditor-outline--right{border-right:0;border-left:1px solid var(--border-color)}.vditor-outline::-webkit-scrollbar{display:none}.vditor-outline ul{list-style:none !important;padding-left:1em;margin:0}.vditor-outline__content>ul{padding-left:0}.vditor-outline li>span{display:flex;align-items:center;padding:5px 10px;cursor:pointer;color:var(--textarea-text-color)}.vditor-outline li>span>svg{height:10px;width:10px}.vditor-outline li>span:hover{color:var(--toolbar-icon-hover-color)}.vditor-outline li>span>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vditor-outline__title{border-bottom:1px dashed var(--border-color);padding:5px 10px;color:var(--toolbar-icon-color);font-size:12px}.vditor-outline__action{transition:all 0.15s ease-in-out;fill:currentColor;margin-right:5px;flex-shrink:0}.vditor-outline__action--close{transform:rotate(-90deg)}.vditor-wysiwyg{box-sizing:border-box;flex:1;position:relative;width:100%;min-width:1px}.vditor-wysiwyg pre.vditor-reset{background-color:var(--panel-background-color);margin:0;white-space:pre-wrap;height:100%;box-sizing:border-box}.vditor-wysiwyg pre.vditor-reset[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-wysiwyg pre.vditor-reset:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-wysiwyg pre.vditor-reset:focus{outline:none;background-color:var(--textarea-background-color)}.vditor-wysiwyg pre.vditor-reset:after{content:"";height:var(--editor-bottom);display:block}.vditor-wysiwyg blockquote:empty::before,.vditor-wysiwyg pre>code:empty::before,.vditor-wysiwyg p:empty::before,.vditor-wysiwyg h1:empty::after,.vditor-wysiwyg h2:empty::after,.vditor-wysiwyg h3:empty::after,.vditor-wysiwyg h4:empty::after,.vditor-wysiwyg h5:empty::after,.vditor-wysiwyg h6:empty::after{content:' '}.vditor-wysiwyg code[data-marker="`"]{padding-left:0 !important;padding-right:0 !important}.vditor-wysiwyg__block pre:first-child{margin-bottom:-1em}.vditor-wysiwyg__block pre:first-child code{height:auto;color:var(--textarea-text-color);height:auto;text-align:left}.vditor-wysiwyg__block pre:last-child{margin-bottom:1em}.vditor-wysiwyg__preview{cursor:pointer;white-space:initial;min-height:27px}.vditor-wysiwyg>.vditor-reset>h1:before,.vditor-wysiwyg>.vditor-reset>h2:before,.vditor-wysiwyg>.vditor-reset>h3:before,.vditor-wysiwyg>.vditor-reset>h4:before,.vditor-wysiwyg>.vditor-reset>h5:before,.vditor-wysiwyg>.vditor-reset>h6:before,.vditor-wysiwyg div.vditor-wysiwyg__block:before,.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,.vditor-wysiwyg div[data-type="footnotes-block"]:before,.vditor-wysiwyg .vditor-toc:before{float:left;padding-right:4px;margin-left:-29px;content:'H1';font-size:0.85rem;font-weight:normal;color:var(--second-color)}.vditor-wysiwyg>.vditor-reset>h2:before{content:'H2'}.vditor-wysiwyg>.vditor-reset>h3:before{content:'H3'}.vditor-wysiwyg>.vditor-reset>h4:before{content:'H4'}.vditor-wysiwyg>.vditor-reset>h5:before{content:'H5'}.vditor-wysiwyg>.vditor-reset>h6:before{content:'H6'}.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before{content:'"A"'}.vditor-wysiwyg div[data-type="footnotes-block"]:before{content:'^F'}.vditor-wysiwyg div.vditor-wysiwyg__block:before{content:""}.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="yaml-front-matter"]:before{content:"F"}.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="math-block"]:before{content:"$$"}.vditor-wysiwyg .vditor-toc:before{content:"ToC"}.vditor-wysiwyg hr{display:inline-block;margin:12px 0;width:100%}.vditor-wysiwyg details{white-space:initial}.vditor-wysiwyg a{cursor:pointer}.vditor-wysiwyg span[data-type="backslash"]>span{display:none;color:var(--second-color)}.vditor-wysiwyg span[data-type="link-ref"],.vditor-wysiwyg sup[data-type="footnotes-ref"]{color:#4285f4}.vditor-wysiwyg span[data-type="toc-h"]{color:#4285f4;text-decoration:underline}.vditor-wysiwyg div[data-type="footnotes-block"]{border-top:2px solid var(--heading-border-color);padding-top:24px;margin-top:24px}.vditor-wysiwyg div[data-type="link-ref-defs-block"]{color:var(--blockquote-color)}@media screen and (max-width: 520px){.vditor-wysiwyg h1:before,.vditor-wysiwyg h2:before,.vditor-wysiwyg h3:before,.vditor-wysiwyg h4:before,.vditor-wysiwyg h5:before,.vditor-wysiwyg h6:before,.vditor-wysiwyg div.vditor-wysiwyg__block:before,.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,.vditor-wysiwyg div[data-type="footnotes-block"]:before,.vditor-wysiwyg .vditor-toc:before{content:none}}.vditor-ir{box-sizing:border-box;flex:1;min-width:1px;position:relative;width:100%}.vditor-ir__node[data-type="code-block"]:before,.vditor-ir__node[data-type="code-block"]:after,.vditor-ir__node[data-type="yaml-front-matter"]:before,.vditor-ir__node[data-type="yaml-front-matter"]:after,.vditor-ir__node[data-type="math-block"]:before,.vditor-ir__node[data-type="math-block"]:after{content:' ';color:var(--second-color)}.vditor-ir__node:not(.vditor-ir__node--expand) .vditor-ir__marker{padding:0 !important}.vditor-ir__node:not(.vditor-ir__node--expand)[data-type="a"]{cursor:pointer}.vditor-ir__node[data-type="link-ref"],.vditor-ir__node[data-type="footnotes-ref"]{color:#4285f4}.vditor-ir__node[data-type="html-block"]{margin-bottom:1em}.vditor-ir__node .vditor-ir__marker{width:0;overflow:hidden;display:inline-block;height:0;transition:all 0.15s ease-in-out}.vditor-ir__node--hidden .vditor-ir__marker{visibility:hidden}.vditor-ir__node--expand .vditor-ir__marker{color:var(--second-color);display:inline;height:auto;width:auto}.vditor-ir__node--expand .vditor-ir__marker--hide{display:none}.vditor-ir__node--expand .vditor-ir__marker--heading{color:var(--ir-heading-color)}.vditor-ir__node--expand .vditor-ir__marker--bi{color:var(--ir-bi-color)}.vditor-ir__node--expand .vditor-ir__marker--link{color:var(--ir-link-color)}.vditor-ir__node--expand .vditor-ir__marker--title{color:var(--ir-title-color)}.vditor-ir__node--expand .vditor-ir__marker--bracket{color:var(--ir-bracket-color);text-decoration:underline}.vditor-ir__node--expand .vditor-ir__marker--paren{color:var(--ir-paren-color)}.vditor-ir__node--expand .vditor-ir__marker--info{color:var(--ir-heading-color)}.vditor-ir__node--expand .vditor-ir__marker--pre code{color:var(--textarea-text-color);height:auto;text-align:left}.vditor-ir__node--expand[data-type="code-block"]:before,.vditor-ir__node--expand[data-type="code-block"]:after{content:'```'}.vditor-ir__node--expand[data-type="yaml-front-matter"]:before,.vditor-ir__node--expand[data-type="yaml-front-matter"]:after{content:'---'}.vditor-ir__node--expand[data-type="math-block"]:before,.vditor-ir__node--expand[data-type="math-block"]:after{content:'$$'}.vditor-ir__node span[data-type="code-block-open-marker"],.vditor-ir__node span[data-type="code-block-close-marker"],.vditor-ir__node span[data-type="yaml-front-matter-open-marker"],.vditor-ir__node span[data-type="yaml-front-matter-close-marker"],.vditor-ir__node span[data-type="math-block-open-marker"],.vditor-ir__node span[data-type="math-block-close-marker"]{display:none}.vditor-ir__preview{cursor:pointer;white-space:initial;min-height:27px}.vditor-ir__link{color:var(--ir-bracket-color);text-decoration:underline}.vditor-ir pre.vditor-reset{background-color:var(--panel-background-color);margin:0;white-space:pre-wrap;height:100%;box-sizing:border-box}.vditor-ir pre.vditor-reset[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-ir pre.vditor-reset:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-ir pre.vditor-reset:focus{outline:none;background-color:var(--textarea-background-color)}.vditor-ir pre.vditor-reset:after{content:"";height:var(--editor-bottom);display:block}.vditor-ir pre.vditor-reset pre{margin:0}.vditor-ir hr{display:inline-block;margin:12px 0;width:100%}.vditor-ir blockquote:empty::before,.vditor-ir pre>code:empty::before,.vditor-ir p:empty::before,.vditor-ir h1:empty::after,.vditor-ir h2:empty::after,.vditor-ir h3:empty::after,.vditor-ir h4:empty::after,.vditor-ir h5:empty::after,.vditor-ir h6:empty::after{content:' '}.vditor-ir .vditor-reset>h1:before,.vditor-ir .vditor-reset>h2:before,.vditor-ir .vditor-reset>h3:before,.vditor-ir .vditor-reset>h4:before,.vditor-ir .vditor-reset>h5:before,.vditor-ir .vditor-reset>h6:before,.vditor-ir div[data-type="link-ref-defs-block"]:before,.vditor-ir div[data-type="footnotes-block"]:before,.vditor-ir .vditor-toc:before{float:left;padding-right:4px;margin-left:-29px;content:'H1';font-size:0.85rem;font-weight:normal;color:var(--second-color)}.vditor-ir .vditor-reset>h2:before{content:'H2'}.vditor-ir .vditor-reset>h3:before{content:'H3'}.vditor-ir .vditor-reset>h4:before{content:'H4'}.vditor-ir .vditor-reset>h5:before{content:'H5'}.vditor-ir .vditor-reset>h6:before{content:'H6'}.vditor-ir div[data-type="link-ref-defs-block"]{color:var(--blockquote-color)}.vditor-ir div[data-type="link-ref-defs-block"]:before{content:'"A"'}.vditor-ir div[data-type="footnotes-block"]{border-top:2px solid var(--heading-border-color);padding-top:24px;margin-top:24px}.vditor-ir div[data-type="footnotes-block"]:before{content:'^F'}.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>ul,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>ol,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>p,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>blockquote,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>pre,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>table,.vditor-ir div[data-type="footnotes-block"]>div[data-type="footnotes-def"]>hr{margin-left:8px}.vditor-ir .vditor-toc:before{content:"ToC"}.vditor-ir .vditor-toc span[data-type="toc-h"]{color:#4285f4;text-decoration:underline}@media screen and (max-width: 520px){.vditor-ir h1:before,.vditor-ir h2:before,.vditor-ir h3:before,.vditor-ir h4:before,.vditor-ir h5:before,.vditor-ir h6:before,.vditor-ir div[data-type="link-ref-defs-block"]:before,.vditor-ir div[data-type="footnotes-block"]:before,.vditor-ir .vditor-toc:before{content:none}}.vditor-sv{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;margin:0 1px 0 0;overflow:auto;width:100%;flex:1;min-width:1px;border:0;resize:none;padding:10px 9px 10px 10px;box-sizing:border-box;background-color:var(--panel-background-color);outline:0 none;font-size:16px;line-height:22px;color:var(--textarea-text-color);border-radius:0 0 3px 3px;font-variant-ligatures:no-common-ligatures;white-space:pre-wrap;word-break:break-word;word-wrap:break-word}.vditor-sv[contenteditable="false"]{opacity:0.3;cursor:not-allowed}.vditor-sv:empty::before{content:attr(placeholder);color:var(--second-color)}.vditor-sv:focus{background-color:var(--textarea-background-color)}.vditor-sv:after{content:"";height:var(--editor-bottom);display:block}.vditor-sv span[data-type="newline"]+span[data-type="text"]:empty{display:inherit}.vditor-sv .sup{vertical-align:super;font-size:smaller}.vditor-sv .strong{font-weight:bold}.vditor-sv .em{font-style:italic}.vditor-sv .s{text-decoration:line-through}.vditor-sv .mark:not(.vditor-sv__marker){background-color:yellow;color:black}.vditor-sv .h1{font-size:1.75em;line-height:44px}.vditor-sv .h2{font-size:1.55em;line-height:38px}.vditor-sv .h3{font-size:1.38em;line-height:27px}.vditor-sv .h4{font-size:1.25em;line-height:25px}.vditor-sv .h5{font-size:1.13em}.vditor-sv .h6{font-size:1em}.vditor-sv__marker{color:var(--second-color)}.vditor-sv__marker--heading{color:var(--ir-heading-color)}.vditor-sv__marker--bi{color:var(--ir-bi-color)}.vditor-sv__marker--link{color:var(--ir-link-color)}.vditor-sv__marker--title{color:var(--ir-title-color)}.vditor-sv__marker--bracket{color:var(--ir-bracket-color)}.vditor-sv__marker--paren{color:var(--ir-paren-color)}.vditor-sv__marker--info{color:var(--ir-heading-color)}.vditor-sv__marker--strong{font-weight:bold}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%;background-color:#3b3e43;height:100%}body{margin:0;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;font-size:14px;color:rgba(0,0,0,0.87);background-color:#fff}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none;color:#4285f4}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@-o-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@-ms-keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}@keyframes spaceboots{0%{-webkit-transform:translate(0px, 0);-moz-transform:translate(0px, 0);-o-transform:translate(0px, 0);-ms-transform:translate(0px, 0);transform:translate(0px, 0)}30%{-webkit-transform:translate(0px, 1px);-moz-transform:translate(0px, 1px);-o-transform:translate(0px, 1px);-ms-transform:translate(0px, 1px);transform:translate(0px, 1px)}45%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}60%{-webkit-transform:translate(0px, -1px);-moz-transform:translate(0px, -1px);-o-transform:translate(0px, -1px);-ms-transform:translate(0px, -1px);transform:translate(0px, -1px)}80%{-webkit-transform:translate(0px, 0px);-moz-transform:translate(0px, 0px);-o-transform:translate(0px, 0px);-ms-transform:translate(0px, 0px);transform:translate(0px, 0px)}}.fn-flex,.fn__flex{display:flex}.fn__flex-column{min-height:100%;display:flex;flex-direction:column}.fn-flex-1,.fn__flex-1{flex:1;min-width:1px}.fn-pointer{cursor:pointer}.fn-sub{vertical-align:sub}.fn-clear:before,.fn-clear:after{display:table;content:""}.fn-clear:after{clear:both}.fn-left{float:left}.fn-right{float:right}.fn-none{display:none}.fn-hidden{visibility:hidden}.fn-oh{overflow:hidden}.fn-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.fn-hr5{display:block;height:5px}.fn-content{padding:15px}.fn-inline{display:inline-block}.fn-text-top{vertical-align:text-top}.ft-13{font-size:13px}.ft-smaller{font-size:12px}.ft-gray{color:rgba(0,0,0,0.54)}.ft-fade{color:rgba(0,0,0,0.38)}.ft-red{color:#d23f31}.ft-blue{color:#4285f4}.ft-green{color:#569e3d}.ft-a-title{color:#616161;text-decoration:none}.ft-a-title:hover{color:rgba(0,0,0,0.87)}.ft-center{text-align:center}.ft-nowrap{white-space:nowrap}.count{text-decoration:none;padding:2px 5px;font-size:12px;font-weight:600;line-height:1;color:#616161;background-color:#eee;border-radius:20px;display:inline-block}.count:hover{text-decoration:none}.sub-head{padding:15px;border-bottom:1px solid #eee;line-height:18px;font-size:18px}.wrapper .aplayer{margin:0;box-shadow:0 1px 2px rgba(0,0,0,0.2)}.wrapper .aplayer .aplayer-pic{background-size:cover}.wrapper .aplayer svg{height:16px;width:16px;float:left;margin:0px 0 0 2px}#breezemoonList button.absolute{right:0;top:0}.breezemoon__input{padding-right:61px !important}.fn-hr10{height:10px;display:block}.tag{padding:2px 3px;font-size:12px;border-radius:2px;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.12);background-color:#f0f0f0;color:#999;white-space:nowrap;display:inline-block;margin:5px 0;line-height:16px}.tag:hover{text-decoration:none;color:rgba(0,0,0,0.87);background-color:#ccc}button,.btn{cursor:pointer;color:rgba(0,0,0,0.87);border-radius:3px;padding:6px 12px;background-color:rgba(0,0,0,0.02);border:1px solid #D5D5D5;border-bottom-color:#E1E1E1;box-sizing:border-box;line-height:19px;white-space:nowrap}button:hover,.btn:hover{text-decoration:none;border-color:rgba(0,0,0,0.38);background-color:#eee}button:active,.btn:active{background-color:rgba(0,0,0,0.38);box-shadow:0 2px 4px rgba(0,0,0,0.05) inset}button.green,.btn.green{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.15);background-color:#60b044;border-color:#5ca941}button.green:hover,.btn.green:hover{background-color:#569e3d}button.green:active{background-color:#569e3d;border-color:#418737;box-shadow:0 2px 4px rgba(0,0,0,0.25) inset}button.red,.btn.red{color:#d23f31}button.red:hover,.btn.red:hover,.btn.red-hover{color:#FFF;background-color:#d23f31;border-color:#c0372a}button.red:active,.btn.red:active{background-color:#d23f31;border-color:#c9320c;color:#FFF;box-shadow:0 2px 4px rgba(0,0,0,0.25) inset}button.small,.btn.small{padding:0 5px;font-size:12px;font-weight:normal;display:inline-block;line-height:19px;height:20px;text-shadow:initial}button.absolute{position:absolute;right:10px;top:10px}a[class^="icon-"],a[class*=" icon-"]{color:rgba(0,0,0,0.87)}a[class^="icon-"]:hover,a[class*=" icon-"]:hover{text-decoration:none;color:#4285f4}.tip.error{color:#d23f31;background-color:#fcdede;border:1px solid #d2b2b2}.tip ul{margin:10px 40px;text-align:left}.tip.succ{background-color:#D4F6FA;border:1px solid #1D2B3D;color:#1D2B3D}#registerTip,#loginTip,#addArticleTip,#profilesTip,#passwordTip{white-space:normal;word-wrap:break-word}.avatar,.avatar-small,.avatar-mid,.avatar-big{border-radius:3px 3px 3px 3px;background-size:cover;background-repeat:no-repeat;background-position:center center;display:inline-block;vertical-align:middle}.avatar{height:30px;width:30px;margin-right:10px}.avatar-small{height:20px;width:20px}.avatar-big{border:1px solid #EEEEEE;height:210px;width:210px;border-radius:6px}.avatar-mid{border:1px solid #EEEEEE;height:118px;width:118px;border-radius:4px}.status{border-top:1px dotted #CCCCCC;list-style:none;padding:10px 0}.status>li{overflow:hidden;flex:1;-webkit-box-flex:1;text-align:center}.status>li>strong{font-size:20px}.form{position:relative}.form table{width:100%}.form input[type=text],.form input[type=datetime],.form input[type=datetime-local],.form input[type=password],.form input[type=number],.form select,.form textarea{border:1px solid #CCCCCC;background-color:#FAFAFA;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset;padding:7px 8px;width:100%;line-height:17px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.form input[type=text]:focus,.form input[type=password]:focus,.form textarea:focus{background-color:#FFF;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset,0 0 5px rgba(81,167,232,0.5);border:1px solid #51A7E8}.form label{color:#616161;font-size:15px;margin:10px 0 5px;float:left}.form label.ft-red{color:#d23f31}.form label>a{font-weight:normal}.form label input[type=checkbox],.form label input[type=radio]{vertical-align:middle}.form input[type=file]{width:1px;opacity:0.001;height:16px}.pagination{background-color:#FFFFFF;background:linear-gradient(#fff, #EFEFEF);background:-ms-linear-gradient(#fff, #EFEFEF);background:-o-linear-gradient(#fff, #EFEFEF);background:-webkit-linear-gradient(#fff, #EFEFEF);border:1px solid #eaeaea;border-bottom:0;display:inline-block;margin:10px;border-radius:3px;font-size:12px;float:right}.pagination a,.pagination span{border-bottom:1px solid #DADADA;border-left:1px solid rgba(255,255,255,0.7);border-right:1px solid rgba(0,0,0,0.04);color:#777777;float:left;padding:5px 8px;text-decoration:none;text-shadow:0 1px 0 white}.pagination a{cursor:pointer}.pagination a:hover{color:#4285f4;border-bottom-color:#CFDCE8;background-color:#fafbfd;background:linear-gradient(#fafbfd, #dce6ef);background:-ms-linear-gradient(#fafbfd, #dce6ef);background:-o-linear-gradient(#fafbfd, #dce6ef);background:-webkit-linear-gradient(#fafbfd, #dce6ef)}.pagination span.current{background-color:#FCFCFC;background:linear-gradient(#FCFCFC, #EBEBEB);background:-ms-linear-gradient(#FCFCFC, #EBEBEB);background:-o-linear-gradient(#FCFCFC, #EBEBEB);background:-webkit-linear-gradient(#FCFCFC, #EBEBEB);border-bottom-color:#D26911;color:#000000}.pagination span.gap{color:#BBB}.pagination select{border:0;color:#777;padding:4px 5px;white-space:nowrap;float:left;border-bottom:1px solid #DADADA;border-radius:0;background:linear-gradient(#fff, #EFEFEF)}.dialog-background{background-color:#000000;display:none;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%;z-index:200}.dialog-panel{display:none;position:fixed;z-index:201;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,0.25);border-radius:5px;box-shadow:0 0 18px rgba(0,0,0,0.4)}.dialog-header-bg{padding:10px;font-size:18px;font-weight:normal;border-bottom:1px solid #eee}.dialog-header-bg .icon-close{color:rgba(0,0,0,0.25);font-size:12px;float:right;font-weight:bold}.dialog-header-bg .icon-close:hover{color:rgba(0,0,0,0.87)}.dialog-main{min-width:200px;padding:10px;box-sizing:content-box}.completed-panel{padding:0;overflow:auto;left:0;display:none;position:absolute;background-color:#FFF;border:1px solid #eee;z-index:72;border-radius:0 0 3px 3px;width:50%;top:32px;box-sizing:border-box}.completed-panel a{display:block;padding:3px;text-decoration:none;line-height:18px;height:18px}.completed-panel a.selected,.completed-panel a:hover{background-color:#F7F7F7}.wrapper{margin:0 10px}.main{background-color:#FFF;padding-bottom:10px}.nav{height:28px;width:100%;padding:5px 0;z-index:99;background-color:#3b3e43}.nav .head-fn form{position:relative}.nav .head-fn h1 a svg{color:#fff;height:38px;width:38px;margin-top:-5px;float:left}.nav .user-nav{position:relative}.nav .user-nav a.unlogin{font-size:14px}.nav div>a{color:#fff;text-decoration:none;margin:0 3px;padding:4px 5px;float:right;font-size:20px;line-height:20px;height:20px}.nav div>a:hover{color:#4285f4}.nav div>a.current{border-bottom:2px solid #D26911;padding-bottom:7px}.nav div>a.last{margin-right:0}.nav .avatar-small{height:20px;width:20px;vertical-align:super}.nav .user-nav .no-msg,.nav .user-nav .msg{background-color:#777;border-radius:3px;color:#FFFFFF;font-size:14px;padding:0px 6px;margin:5px 10px;line-height:20px}.nav .user-nav .msg{-webkit-animation:spaceboots 1s infinite;-moz-animation:spaceboots 1s infinite;-o-animation:spaceboots 1s infinite;-ms-animation:spaceboots 1s infinite;animation:spaceboots 1s infinite;background-color:#d23f31;color:#FFFFFF}.nav .user-nav a.selected.no-msg,.nav .user-nav a.selected.msg{animation:none;background-color:#d23f31;border-bottom:0}.nav .form{background-color:#FFF;border:1px solid #CACACA;box-shadow:0 1px 0 rgba(255,255,255,0.4),0 0 10px rgba(0,0,0,0.1);padding:14px;position:absolute;right:0;top:33px;z-index:2;width:250px}.nav .form input[type="text"],.nav .form input[type="password"]{margin:10px 0}.nav input.search{background-color:#FFF;border:1px solid #DDDDDD;border-radius:3px 3px 3px 3px;padding:5px 8px;width:230px;margin:1px 0 0 20px;float:left;box-shadow:inset 0 1px 2px rgba(0,0,0,0.075)}.nav input.search:focus{border-color:#51A7E8;box-shadow:0 0 3px rgba(81,167,232,0.5),0 1px 1px rgba(0,0,0,0.2) inset}.footer{color:#7d8186;padding:10px 0;text-align:center;font-size:12px;background-color:#3b3e43}.footer a{color:#afb1b3}.list h2{font-size:14px;font-weight:normal}.list h2>a{color:#595959}.list h2>a:hover{color:rgba(0,0,0,0.87)}.list>ul{list-style:none}.list>ul>li{border-bottom:1px solid #eee;padding:10px;white-space:normal;word-wrap:break-word;position:relative}.list li.last{border-bottom-width:0}.list .comment>p{margin:0}.list>ul>li.cmt-perfect,.list>ul>li.cmt-perfect:hover{background-color:#f9f6f6}.has-view{margin-right:40px}#articltVia{white-space:nowrap}label.anonymous-check{margin:2px 15px 0 0}.cmts{position:absolute;right:10px;top:40%}.cmts a.count:visited{background-color:#f6f6f6;color:#999}#revision .revisions{margin:5px 0 15px;text-align:center}#revision .revisions a{color:#616161;vertical-align:middle}#revision .revisions a:hover{color:rgba(0,0,0,0.87)}#revision .revisions a.disabled{color:rgba(0,0,0,0.38);cursor:default}#revision .revisions span{margin:0 10px 0 10px}.module{margin-bottom:10px;background-color:#FFF;border-radius:3px;width:100%;word-wrap:break-word;box-sizing:border-box}.module-header{border-radius:3px 3px 0 0;background-color:#F7F7F7;border-bottom:1px solid #eee;padding:9px 10px 10px;text-shadow:0 1px 0 #fff;font-size:14px;line-height:17px}.module-header h2{display:inline;font-size:15px;font-weight:normal}.module-panel{border-radius:0 0 5px 5px}.module-panel strong{display:inline-block;margin-top:14px}.module-panel .module-list li{border-bottom:1px dotted #CCCCCC;list-style:none outside none;padding:5px 10px;position:relative}.module-panel .module-list li.last,.module-panel .module-list li:last-child{border-bottom-width:0}.module .comment-content{color:#999999;float:left;margin-left:5px;width:210px}.module-panel.form{padding:0 10px 10px}#killBrowser .module{height:235px;width:520px}#killBrowser p{margin:10px 0}#killBrowser ul{margin-left:30px}#killBrowser img{position:absolute;right:36px;top:58px}.emoji{width:1.3em;height:1.3em;display:inline-block;margin-bottom:.25em;background-size:contain;vertical-align:text-top}.person-info{position:relative}.person-info .info{position:relative;left:-1px;top:-1px;overflow:hidden;height:35px}.person-info .info button.red{position:absolute;border-radius:3px 0 0 0;min-width:35%;color:#FFF;padding:5px 0;background-color:#b33630;background-image:linear-gradient(#dc5f59, #b33630);border-color:#cd504a;letter-spacing:1px}.person-info .info button.red:hover{letter-spacing:2px}.person-info .info .fn-right{margin:9px 10px 0 0}.person-info .status{border-bottom:1px dotted #ccc;border-top-width:0;margin-top:-20px;margin-bottom:15px}.person-info .status .fn-pointer:hover span{color:rgba(0,0,0,0.87)}.person-info .module-panel{padding:0 10px 10px 10px}.person-info .activity-board{position:absolute;height:2px;background-color:#b33630;top:-1px}.person-info .right{width:2px;right:-1px;left:auto}.person-info .left{width:2px;right:0;left:-1px}.person-info .bottom{top:auto;bottom:-1px}.painter-point{background-image:-webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.25, rgba(255,255,255,0.9)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255,255,255,0.9)), color-stop(0.75, rgba(255,255,255,0.9)), color-stop(0.75, transparent), to(transparent));background-image:-o-linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-size:8px 8px;height:17px;width:38px;display:inline-block;vertical-align:sub}.top .has-view{line-height:21px}.responsive-show{display:none}.algolia-autocomplete .aa-dropdown-menu{background-color:#fff;border:1px solid #eee;margin:0 0 5px 19px}.algolia-autocomplete .aa-dropdown-menu img{height:20px}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion{cursor:pointer;padding:5px 4px;border-bottom:1px solid #eee}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-cursor{background-color:#F7F7F7}.algolia-autocomplete .aa-dropdown-menu .aa-suggestion em{font-weight:bold;color:#d23f31;font-style:normal}.algolia-autocomplete .aa-dropdown-menu .fn-right{margin:5px}.ranking{text-align:center;margin:10px}.ranking-title{font-size:18px;text-align:center}.more-article{display:block;text-align:center;padding:5px;background-color:#f6f6f6;margin-bottom:10px;border-bottom:1px solid #eee}.module-list .slogan{position:absolute;top:50%;margin-top:-12px}.module-list .title{color:#767676;margin:5px 0 5px 30px;display:block;line-height:20px}.module-list.open-source .title{margin-left:60px}.module-list.open-source .slogan{margin-top:-11px}.module-list.domain .slogan{text-align:center;margin-top:-10px;width:30px}.module-list.domain .title{margin-left:50px}.module-list.domain .tag{margin-right:10px}.module-panel.ad{padding:10px;text-align:center}.module-panel.ad .header{color:rgba(0,0,0,0.87)}.module-panel.ad img{margin-bottom:5px}.article-actions .fn-right>a,.article-actions .fn-right>span{padding:4px 8px;border-radius:2px;display:inline-block;line-height:16px;float:left;text-decoration:none;margin-top:10px}.article-info{position:relative;margin-bottom:10px}.article-info>div.article-params{position:absolute;top:-2px;left:40px;font-size:12px;min-height:30px;line-height:15px}#heatBar{position:fixed;top:2px;right:0px;width:100%}h1.article-title{word-break:break-all;font-size:16px;font-weight:normal;margin:10px 0}h1.article-title>a{color:#595959}h1.article-title>a:hover{color:rgba(0,0,0,0.87)}#thoughtProgress{height:2px;position:relative;margin-bottom:10px;margin-top:20px}#thoughtProgress .bar{position:absolute;background-color:#e0e0e0;height:2px}#thoughtProgress .icon-video{position:absolute;top:-8px;left:0;cursor:pointer;color:#d23f31;margin-left:-10px}.comment-submit{margin-top:10px}label.cmt-anonymous{margin:7px 15px 0 0}#shareClipboard.tooltipped-hover{color:#4285f4}.comments>.comments-header{border-bottom:1px solid #CCCCCC;margin:20px 0 0;padding:10px 5px 5px 10px}.comments>div.comments-header svg{margin:3px 10px 0 0}.comments>div.comments-header a{text-decoration:none;color:rgba(0,0,0,0.87)}.comments li.shield{background-image:-webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.25, rgba(255,255,255,0.9)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255,255,255,0.9)), color-stop(0.75, rgba(255,255,255,0.9)), color-stop(0.75, transparent), to(transparent));background-image:-o-linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-color:#f7f7f7;background-size:45px 45px}.comments.list>ul>li.perfect,.comments.list>ul>li.perfect:hover{background-color:#f9f6f6}.comments>ul>li:hover .hover-show{visibility:visible}.comments>ul>li:hover .comment-action,.comments>ul>li.selected .comment-action{display:block}.comment-get-comment.list>ul>li{margin-bottom:10px;padding-top:0}.comment-replies.list>ul{margin-top:10px}.comment-replies.list>ul>li{border-bottom-width:0;border-top:1px solid #eee}.comment-replies.list>ul>li{background-color:transparent}.comments li .fn-pointer:hover{color:#999}.comments .comment>p{margin-top:10px;margin-bottom:0}.comments.nice ul{margin-top:5px;border:1px solid #eee;border-radius:3px}.comments.nice>ul>li:last-child{border-bottom-width:0}.comment-login{border:1px solid #D9D9D9;border-top-color:#C0C0C0;border-left-color:#C0C0C0;box-sizing:border-box;margin:10px;background-color:#fafafa}.comment-login>a{text-align:center;display:block;padding:21px 0px 21px}#articleRewardContent{margin-top:20px;padding:10px;background-image:-webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.25, rgba(255,255,255,0.9)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255,255,255,0.9)), color-stop(0.75, rgba(255,255,255,0.9)), color-stop(0.75, transparent), to(transparent));background-image:-o-linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255,255,255,0.9) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 75%, transparent 75%, transparent);background-color:#f7f7f7;background-size:45px 45px}#articleRewardContent>p{margin:0}#articleRewardContent.reward{text-align:center}#articleRewardContent.reward>span{margin:20px;display:inline-block}.article-tags .tag{margin:0;padding:0 3px}.share{margin:10px 0;position:relative}.share svg{height:16px;width:16px}.share #qrCode{position:absolute;bottom:30px;right:0;border:5px solid #eee;z-index:1;height:90px;border-radius:3px;width:90px}.share [class^="icon-"]{cursor:pointer;transition:all 0.2s ease-out 0s;-webkit-transition:all 0.2s ease-out 0s;display:inline-block;font-size:16px}.share [class^="icon-"]:hover{color:#4285f4}#replyUseName{visibility:hidden;line-height:18px;height:18px;margin:5px 0}#articleToC{top:21px;z-index:10}.article-toc li{list-style-type:none}.article-toc li a{padding:5px 10px 5px 20px;border-left:2px solid transparent;display:block;line-height:20px;color:#767676}.article-toc li a:last-child{border-bottom-width:0}.article-toc li a:hover{border-left:1px solid #4285f4;background-color:#F7F7F7;padding-left:21px;color:#4285f4;text-decoration:none}.article-toc li.current a{border-left:2px solid #4285f4;background-color:#f0f0f0;color:#4285f4}.article-toc li.toc-h2 a,.article-toc li.toc-h2.current a:hover{padding-left:34px}.article-toc li.toc-h3 a,.article-toc li.toc-h3.current a:hover{padding-left:48px}.article-toc li.toc-h4 a,.article-toc li.toc-h4.current a:hover{padding-left:62px}.article-toc li.toc-h5 a,.article-toc li.toc-h5.current a:hover{padding-left:86px}.article-toc li.toc-h2 a:hover{padding-left:35px}.article-toc li.toc-h3 a:hover{padding-left:49px}.article-toc li.toc-h4 a:hover{padding-left:63px}.article-toc li.toc-h5 a:hover{padding-left:87px}.domains{border-bottom:2px solid #d23f31}.domains svg{vertical-align:sub}.domains a{height:17px;text-align:center;padding:10px 2px;color:#999;text-decoration:none;line-height:16px;display:block;flex:1;font-size:12px}.domains a.selected{color:#4285f4}.domains-count{padding:10px 18px;font-size:18px;line-height:26px;color:#1b3650;text-align:center;background-image:linear-gradient(#f5fbff, #e4f0ff);border:1px solid #cee0e7;border-radius:3px;width:100%;box-sizing:border-box;margin:10px 0 10px}.article-list li.stick{background-color:#f9f6f6}.article-list li.stick .stick-remains{vertical-align:top}.article-list li.stick:hover .stick-remains{display:inline}.article-list li .commenters{display:none;top:32%;position:absolute;right:10px}.article-list li .commenters>a{float:left;margin-left:4px;width:25px;text-decoration:none;color:#999}.article-list li .commenters>a:hover{color:#4285f4}.article-list li:hover .commenters{display:block}.article-list .preview{position:absolute;left:65px;z-index:1;top:40px;background-color:#FFF;border:1px solid #DDDDDD;border-radius:3px 3px 3px 3px;padding:5px 10px;opacity:0.9;width:70%;min-width:130px;min-height:36px}.article-list .preview .ico-arrow{width:0px;height:0px;border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:10px solid rgba(255,255,255,0.9);position:absolute;top:-10px;z-index:1;left:11px}.article-list .preview .ico-arrowborder{width:0px;height:0px;border-left:11px solid transparent;border-right:11px solid transparent;border-bottom:11px solid #DDDDDD;position:absolute;top:-11px;left:10px}.heat{position:absolute;height:5px;background-color:#d23f31;z-index:1;bottom:-3px;right:0}.point,.point-remove{position:absolute;height:5px;background-color:#d23f31;z-index:1;bottom:-3px;right:0px;width:5px;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:slideInRight;animation-name:slideInRight}.point-remove{animation-name:slideInLeft;-webkit-animation-name:slideInLeft}@keyframes slideInLeft{0%{right:0}100%{right:100%}}@-webkit-keyframes slideInLeft{0%{right:0}100%{right:100%}}@keyframes slideInRight{0%{right:100%}100%{right:0}}@-webkit-keyframes slideInRight{0%{right:100%}100%{right:0}}.article-level0{color:rgba(0,0,0,0.38)}.article-level1{color:#ffcc00}.article-level2{color:#ffc1cc}.article-level3{color:#ff6633}.article-level4{color:#d23f31}.guide .intro.vditor-reset{padding:10px;line-height:24px}.guide .guide-tab,.guide .step-btn{margin:10px}.guide .form{margin:0;width:auto}.guide #avatarUpload label{margin-top:0}.guide .tag-desc>li:hover>a{border-bottom-style:solid;border-radius:3px}.guide .tag-desc li.current>a{background-color:rgba(0,0,0,0.38);color:#fff;border-color:#bbb}.guide .intro dt.current{color:#ffac45}.guide .fn-flex>div{padding:10px;box-sizing:border-content;width:50%}.guide .md{background-color:#f1f7fe}.guide .md pre{white-space:pre-wrap;word-wrap:break-word}.verify .intro{padding:30px;background-color:#f1f7fe;color:#616161}.verify .form{font-size:14px;line-height:1.6}.verify .form>svg{margin:0 auto;height:50px;width:50px;display:block}.verify .form input[type="text"],.verify .form input[type="password"]{margin:10px 0;width:100%;padding-left:36px;background-color:#FFF}.verify .form button{margin:10px 0;width:100%}.verify .form .input-wrap{position:relative}.verify .form .input-wrap svg{color:#999;position:absolute;top:19px;left:10px}.verify .form .captcha-img{top:11px;position:absolute;height:31px;left:1px;border-radius:3px 0 0 3px}.verify .form input.captcha-input{padding-left:91px}.module-panel .tags li{float:left;list-style:none;line-height:19px;margin:10px 10px 0 0}.module-panel .tags{margin:0 0 10px 10px}.tag-desc.fn-clear{margin:10px 0 0px 10px}.tag-desc>li{float:left;position:relative;list-style:none;margin:0 10px 10px 0;font-size:12px}.tag-desc>li:hover>div{display:block}.tag-desc>li>a{float:left;color:#999;padding:2px 5px;border:1px solid #DDDDDD;position:relative;height:20px;white-space:nowrap;word-wrap:normal;background-color:#F7F7F7;border-radius:3px 3px 3px 3px;line-height:21px}.tag-desc>li>a:hover{text-decoration:none}.tag-desc>li:hover>a{border-bottom-style:dotted;border-radius:3px 3px 0 0;opacity:0.7;z-index:3}.tag-desc>li>a>span{text-decoration:none;color:#999}.tag-desc>li>a>img{border-radius:2px 2px 2px 2px;height:16px;width:16px;margin:-2px 2px 0 0}.tag-desc>li>div{background-color:#F7F7F7;border:1px solid #DDDDDD;border-radius:3px 0 3px 3px;display:none;right:0;margin-left:3px;padding:5px 10px;position:absolute;top:25px;z-index:2;opacity:0.9;width:200px;min-width:150px}.tag-articles-tag-desc.tag-desc>li>div{left:-3px;right:auto;border-radius:0 3px 3px 3px}.tag-articles .content{padding-top:10px}.tag-articles h1.fn-inline{line-height:28px;font-size:20px}.tag-articles .btn.red{vertical-align:super}.tag-articles .article-actions .fn-right{margin-top:-8px}.tags-cold li h2,.tags-trend li h2{display:inline-block}.list>ul.tags-trend>li,.list>ul.tags-cold>li{padding:5px}.tag-artile-user{border-bottom:1px dotted #CCCCCC;padding:0 0px 10px 10px}code.prettyprint{display:inline;border:none;background-color:initial;border-radius:initial;padding:initial}code .str{color:initial}code .kwd{color:initial}code .com{color:initial;font-style:italic}code .typ{color:initial}code .lit{color:initial}code .pun{color:initial}code .pln{color:initial}code .tag{color:initial}code .atn{color:initial}code .atv{color:initial}code .dec{color:initial}.activity{min-height:300px}.activity-char-btns{margin-top:10px}#charCanvas{border:1px solid #eee;border-radius:5px;background-color:#fff;display:block;margin:20px auto;background-image:url(../images/m-char.png);background-size:cover}.chat-room .online-cnt{line-height:33px;margin-right:10px;color:rgba(0,0,0,0.54)}.chat-room .list{height:200px;overflow:auto}.index .index-wrap{background-color:#fafafa;border-bottom:1px solid #eee;border-top:1px solid #eee}.index>.slogan{padding:10px;color:#767676;border-top:1px solid #eee;background-color:#fafafa}.index>.slogan a:hover svg{color:#4285f4}.index .tag-desc>li:hover>span{border-bottom-style:solid;border-radius:3px;opacity:0.7;z-index:3}.index a.count{position:absolute;right:10px;top:50%;margin-top:-8px}.index a.count:visited{background-color:#f6f6f6;color:#999}.index .module-list .title{margin-right:30px}.index .module-header{margin:-1px;text-align:right;text-shadow:0 0 0}.index .module-header a{color:#fff}.user-name{font-size:20px;font-weight:300;line-height:26px;border-bottom:1px dotted #CCC;margin-bottom:20px;padding:20px 10px 25px 10px}.user-name #userNicknameDom{font-size:26px;line-height:30px}.user-name .online,.user-name .offline{background-color:#d23f31;color:#fff;font-size:12px;line-height:20px;border-radius:3px;height:20px;display:inline-block;padding:0 5px 0 3px;vertical-align:middle}.user-name .online svg,.user-name .offline svg{margin-top:2px}.user-name .offline{background-color:rgba(0,0,0,0.54)}.user-name button.follow{font-size:14px;width:100%;margin:10px 0}.user-info{line-height:26px;font-size:12px;color:#616161}.user-intro{line-height:26px}.pre-post>div{font-size:30px;border-bottom:1px solid #eee;padding:20px 10px;text-align:center}.pre-post>div:last-child{border-bottom-width:0}.pre-post>div>a{color:#404040;display:block;margin-bottom:20px}.pre-post a:hover{text-decoration:none;color:#4285f4}.pre-post a svg{height:30px;width:30px;vertical-align:middle;margin-right:20px}.pre-post div.ft-fade{font-size:15px}#articleContent{height:332px;margin:10px 0}#articleRewardContent{margin-top:10px;padding:0}#tip{position:inherit;white-space:pre-wrap}.tip-add-article{color:#777777;list-style:circle outside none;margin-left:20px;line-height:22px}.article-content{width:100%;position:relative}.article-content#articleAudio{width:auto;margin-bottom:10px}#showReward{color:#999;width:100%;display:block}.post .tags-wrap{position:relative}.post .tags-input{border:1px solid #CCCCCC;background-color:#FAFAFA;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset;padding:5px 5px 3px 5px;width:100%;line-height:17px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;height:33px}.post .tags-input span.tag{margin:2px 5px 0 0px;color:#4285f4}.post .tags-input .tag>span.close{cursor:pointer;margin-left:5px;color:#999}.post .tags-input span.tag.haved{color:rgba(0,0,0,0.87);background-color:#ccc;transition:background 0.5s ease-in, color 0.3s ease-out}.post .tags-input input{border:0;outline:none;border-radius:0;padding:2px;box-shadow:0 0 0;background-color:transparent}.post .tags-input input:focus{border:0;background-color:transparent;box-shadow:0 0 0}.post .domains-tags,.post .completed-panel{display:none;position:absolute;background-color:#FFF;border:1px solid #eee;z-index:10;padding:10px;border-radius:0 0 3px 3px;width:100%;box-sizing:border-box;top:32px}.post .domains-tags .tag{cursor:pointer;color:#4285f4}.post .domains-tags>span.current{color:#FFF;background-color:#2c5d8d;background-image:linear-gradient(#7ba9d6, #2c5d8d);border-color:#689cd0}.post .completed-panel{padding:0;overflow:auto;left:0}.post .completed-panel a{display:block;padding:3px;text-decoration:none;line-height:18px;height:18px}.post .completed-panel a.selected,.post .completed-panel a:hover{background-color:#F7F7F7}.tab-current{background-color:#fafafa;border-bottom:1px solid #eee;padding:5px 10px;font-size:14px;font-weight:bold}.tab-current>span{color:#767676}.tab{list-style:none}.tab>li a{padding:5px 0;display:block}.home-invisible{margin:10px 0;border-bottom:1px dotted #ccc;padding-bottom:10px}.home-account__captch{position:relative}.home-account__captch img{position:absolute;height:31px;top:39px;right:1px;border-radius:0 3px 3px 0}.notification-tab a:hover{text-decoration:none}.notification-tab a{display:inline-block !important}.notification .read{background-color:#FAFAFA;opacity:0.5}.notification li{background-color:#F8F8FF;line-height:21px}.notification li:last-child{border-bottom-width:0}.follow li{position:relative;border-bottom:1px solid #EEEEEE;padding:10px;list-style:none;box-sizing:border-box}.follow .user-online{position:absolute;left:45px;top:45px}.admin .avatar{height:17px;width:17px}.admin .tags{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;vertical-align:bottom}.admin .form input[type=text],.admin .form input[type=number]{width:30%;margin-right:10px}.points{border-collapse:collapse;border-spacing:0;width:100%}.points td{border-bottom:1px solid #CCCCCC}.points .even{background-color:#F7F7F7}.points .date{width:75px;padding:10px}.points .name{word-break:break-all}.points .type{width:60px;padding:0 10px}.points .sum{text-align:center;width:35px;padding:0 10px;color:#f37800;font-weight:700}.points .sum.plus{color:#53a000}.points .balance{width:40px;padding:0 10px}#avatarUpload{overflow:hidden}.settings-avatar .btn{margin-top:0}.settings-avatar .avatar-big{display:block;margin-bottom:10px}.settings-avatar li{margin-left:20px}.error-403>.slogan{padding-top:20px;background-color:#fafafa;border-bottom:1px solid #eee}.error-403 .slogan-border{margin:20px 0 20px;color:#767676;background-color:#fff;border:1px solid #eee;border-radius:3px;border-bottom:1px solid #eee;width:100%}.error-403 .slogan-register{padding-top:20px;text-align:center}.error-403 .slogan-text{margin:20px 10px}.module.editor-toolbar-emoji{position:absolute;bottom:14px;height:111px;overflow:auto;z-index:124;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,0.2);width:50%}.module.editor-toolbar-emoji .emoji{cursor:pointer;padding:5px;border-radius:2px;margin-bottom:0}.module.editor-toolbar-emoji .emoji:hover{background-color:rgba(0,0,0,0.38)}.wrapper .editor-toolbar{border:1px solid #ccc}.wrapper .editor-toolbar>a:last-child{display:none}.link-forge .link-forge-upload{margin:10px 0}.link-forge .link-forge-upload input[type=text]{width:74%;margin-right:20px}.link-forge .module-panel{max-height:409px;overflow:hidden}.breezemoon__btn{position:absolute;top:9px;right:10px;border-radius:0 3px 3px 0 !important}@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2), only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3), only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3){.footer{padding-bottom:22px}} diff --git a/src/main/resources/js/add-article.min.js b/src/main/resources/js/add-article.min.js index 2d3480f42..6a8a61789 100644 --- a/src/main/resources/js/add-article.min.js +++ b/src/main/resources/js/add-article.min.js @@ -1 +1 @@ -var AddArticle={editor:void 0,rewardEditor:void 0,recordThought:function(e,t,a){for(var i=JsDiff.diffChars(t,e),r=String.fromCharCode(31),l="",o=0,c=0,n=0,s=0,d=i.length,g=0;g
  • "+a+"
  • ")},success:function(e,t){$(a).removeAttr("disabled").css("opacity","1"),0===e.code?window.location.href=Label.servePath+"/member/"+Label.userName:$("#addArticleTip").addClass("error").html("")},complete:function(){$(a).removeAttr("disabled").css("opacity","1")}})},add:function(e,a){if(Validate.goValidate({target:$("#addArticleTip"),data:[{type:"string",max:256,msg:Label.articleTitleErrorLabel,target:$("#articleTitle")}]})){var t=parseInt($("input[type='radio'][name='articleType']:checked").val());if(5!==t&&$("#articleRewardPoint").data("orval")&&!/^\+?[1-9][0-9]*$/.test($("#articleRewardPoint").val()))return $("#addArticleTip").addClass("error").html(""),!1;var i="";$(".tags-input .tag .text").each(function(){i+=$(this).text()+","});var r={articleTitle:$("#articleTitle").val().replace(/(^\s*)|(\s*$)/g,""),articleContent:this.editor.getValue(),articleTags:i,articleCommentable:$("#articleCommentable").prop("checked"),articleNotifyFollowers:$("#articleNotifyFollowers").prop("checked"),articleType:t,articleShowInList:Boolean($("#articleShowInList").prop("checked"))?1:0};5!==t?(r.articleRewardContent=this.rewardEditor.getValue(),r.articleRewardPoint=$("#articleRewardPoint").val().replace(/(^\s*)|(\s*$)/g,""),r.articleAnonymous=$("#articleAnonymous").prop("checked")):r.articleQnAOfferPoint=$("#articleAskPoint").val().replace(/(^\s*)|(\s*$)/g,"");var l=Label.servePath+"/article",o="POST";3===parseInt(r.articleType)&&(r.articleContent=JSON.parse(window.localStorage.postData).thoughtContent),Label.articleOId&&(l=l+"/"+Label.articleOId,o="PUT"),$.ajax({url:l,type:o,headers:{csrfToken:e},cache:!1,data:JSON.stringify(r),beforeSend:function(){$(a).attr("disabled","disabled").css("opacity","0.3")},error:function(e,t,a){$("#addArticleTip").addClass("error").html("")},success:function(e,t){$(a).removeAttr("disabled").css("opacity","1"),0===e.code?(window.location.href=Label.servePath+"/article/"+e.articleId,localStorage.removeItem("postData"),AddArticle.editor.clearCache(),AddArticle.rewardEditor.clearCache()):$("#addArticleTip").addClass("error").html("")},complete:function(){$(a).removeAttr("disabled").css("opacity","1")}})}},init:function(){$.ua.set(navigator.userAgent),-1'+e.msg+""):$("#articleTitleTip").remove()}})}),$("#articleTags, #articleRewardPoint, #articleAskPoint").keypress(function(e){if(e.ctrlKey&&10===e.charCode)return AddArticle.add(),!1}),0===$("#articleAskPoint").length&&(0<$("#articleRewardPoint").val().replace(/(^\s*)|(\s*$)/g,"")&&$("#showReward").click(),AddArticle.rewardEditor=Util.newVditor({id:"articleRewardContent",cache:!Label.articleOId,preview:{mode:"editor"},resize:{enable:!1},height:200,counter:4096,placeholder:$("#articleRewardContent").data("placeholder"),after:function(){""!==$("#articleRewardContent").next().val()&&($("#showReward").click(),AddArticle.rewardEditor.setValue($("#articleRewardContent").next().val()))}})),0===$("#articleAskPoint").length?(""!==e.rewardContent&&($("#showReward").click(),AddArticle.rewardEditor.setValue(e.rewardContent)),""!==e.rewardPoint&&($("#showReward").click(),$("#articleRewardPoint").val(e.rewardPoint)),$("#articleRewardPoint").keyup(function(){var e=JSON.parse(localStorage.postData);e.rewardPoint=$(this).val(),localStorage.postData=JSON.stringify(e)})):($("#articleAskPoint").keyup(function(){var e=JSON.parse(localStorage.postData);e.QnAOfferPoint=$(this).val(),localStorage.postData=JSON.stringify(e)}),""!==e.QnAOfferPoint&&""===$("#articleAskPoint").val()&&$("#articleAskPoint").val(e.QnAOfferPoint))},_initTag:function(){$.ua.set(navigator.userAgent);function a(t){if(""===t.replace(/\s/g,""))return!1;var a=!1;if(t=t.replace(/\s/g,"").replace(/,/g,""),$("#articleTags").val(""),$(".tags-input .text").each(function(){var e=$(this);t===e.text()&&(e.parent().addClass("haved"),setTimeout(function(){e.parent().removeClass("haved")},900),a=!0)}),a)return!1;if(4<=$(".tags-input .tag").length)return $("#articleTags").val("").data("val",""),!1;if($(".post .tags-selected").append(''+t+'x'),-1===location.search.indexOf("?id=")){var e="";$(".tags-input .tag .text").each(function(){e+=$(this).text()+","});var i=JSON.parse(localStorage.postData);i.tags=e,localStorage.postData=JSON.stringify(i)}4<=$(".tags-input .tag").length&&$("#articleTags").val("").data("val","")}$(".domains-tags .btn").click(function(){$(".domains-tags .btn.current").removeClass("current green"),$(this).addClass("current").addClass("green"),$(".domains-tags .domain-tags").hide(),$("#tags"+$(this).data("id")).show()});for(var e=$("#articleTags").val().split(","),t=0,i=e.length;t span.close",function(){if($(this).parent().remove(),-1===location.search.indexOf("?id=")){var e="";$(".tags-input .tag .text").each(function(){e+=$(this).text()+","});var t=JSON.parse(localStorage.postData);t.tags=e,localStorage.postData=JSON.stringify(t)}}),$("#articleTags").click(function(){$(".post .domains-tags").show(),"mobile"!==$.ua.device.type&&$(".post .domains-tags").css("left",$(".post .tags-selected").width()+10+"px"),$("#articleTagsSelectedPanel").hide()}).blur(function(){if("block"===$("#articleTagsSelectedPanel").css("display"))return!1;a($(this).val())}),$("body").click(function(e){1===$(e.target).closest(".tags-input").length||1===$(e.target).closest(".domains-tags").length||$(".post .domains-tags").hide()}),$("#articleTags").completed({height:170,onlySelect:!0,data:[],afterSelected:function(e){a(e.text())},afterKeyup:function(e){if($(".post .domains-tags").hide(),","!==e.key&&","!==e.key&&"、"!==e.key&&";"!==e.key&&";"!==e.key)return 13===e.keyCode?(a($("#articleTags").val()),!1):37!==e.keyCode&&39!==e.keyCode&&38!==e.keyCode&&40!==e.keyCode&&(27===e.keyCode?($("#articleTagsSelectedPanel").hide(),!1):8===e.keyCode&&8===e.data.settings.chinese&&""===e.data.settings.keydownVal.replace(/\s/g,"")?($(".tags-input .tag .close:last").click(),!1):""!==$("#articleTags").val().replace(/\s/g,"")&&void $.ajax({url:Label.servePath+"/tags/query?title="+$("#articleTags").val(),error:function(e,t,a){$("#addArticleTip").addClass("error").html("
    • "+a+"
    ")},success:function(e,t){0===e.code?("mobile"!==$.ua.device.type&&$("#articleTagsSelectedPanel").css("left",$(".post .tags-selected").width()+10+"px"),$("#articleTags").completed("updateData",e.tags)):console.log(e)}}));var t=$("#articleTags").val();return a(t.substr(0,t.length-1)),!1}})}};AddArticle.init(); \ No newline at end of file +var AddArticle={editor:void 0,rewardEditor:void 0,recordThought:function(e,t,a){for(var i=JsDiff.diffChars(t,e),l=String.fromCharCode(31),r="",o=0,c=0,n=0,s=0,d=i.length,g=0;g
  • "+a+"
  • ")},success:function(e,t){$(a).removeAttr("disabled").css("opacity","1"),0===e.code?window.location.href=Label.servePath+"/member/"+Label.userName:$("#addArticleTip").addClass("error").html("
    • "+e.msg+"
    ")},complete:function(){$(a).removeAttr("disabled").css("opacity","1")}})},add:function(e,a){if(Validate.goValidate({target:$("#addArticleTip"),data:[{type:"string",max:256,msg:Label.articleTitleErrorLabel,target:$("#articleTitle")}]})){var t=parseInt($("input[type='radio'][name='articleType']:checked").val());if(5!==t&&$("#articleRewardPoint").data("orval")&&!/^\+?[1-9][0-9]*$/.test($("#articleRewardPoint").val()))return $("#addArticleTip").addClass("error").html("
    • "+Label.articleRewardPointErrorLabel+"
    "),!1;var i="",l=($(".tags-input .tag .text").each(function(){i+=$(this).text()+","}),{articleTitle:$("#articleTitle").val().replace(/(^\s*)|(\s*$)/g,""),articleContent:this.editor.getValue(),articleTags:i,articleCommentable:$("#articleCommentable").prop("checked"),articleNotifyFollowers:$("#articleNotifyFollowers").prop("checked"),articleType:t,articleShowInList:Boolean($("#articleShowInList").prop("checked"))?1:0}),t=(5!==t?(l.articleRewardContent=this.rewardEditor.getValue(),l.articleRewardPoint=$("#articleRewardPoint").val().replace(/(^\s*)|(\s*$)/g,""),l.articleAnonymous=$("#articleAnonymous").prop("checked")):l.articleQnAOfferPoint=$("#articleAskPoint").val().replace(/(^\s*)|(\s*$)/g,""),Label.servePath+"/article"),r="POST";3===parseInt(l.articleType)&&(l.articleContent=JSON.parse(window.localStorage.postData).thoughtContent),Label.articleOId&&(t=t+"/"+Label.articleOId,r="PUT"),$.ajax({url:t,type:r,headers:{csrfToken:e},cache:!1,data:JSON.stringify(l),beforeSend:function(){$(a).attr("disabled","disabled").css("opacity","0.3")},error:function(e,t,a){$("#addArticleTip").addClass("error").html("
    • "+a+"
    ")},success:function(e,t){$(a).removeAttr("disabled").css("opacity","1"),0===e.code?(window.location.href=Label.servePath+"/article/"+e.articleId,localStorage.removeItem("postData"),AddArticle.editor.clearCache(),AddArticle.rewardEditor.clearCache()):$("#addArticleTip").addClass("error").html("
    • "+e.msg+"
    ")},complete:function(){$(a).removeAttr("disabled").css("opacity","1")}})}},init:function(){$.ua.set(navigator.userAgent),-1'+e.msg+""):$("#articleTitleTip").remove()}})}),$("#articleTags, #articleRewardPoint, #articleAskPoint").keypress(function(e){if(e.ctrlKey&&10===e.charCode)return AddArticle.add(),!1}),0===$("#articleAskPoint").length&&(0<$("#articleRewardPoint").val().replace(/(^\s*)|(\s*$)/g,"")&&$("#showReward").click(),AddArticle.rewardEditor=Util.newVditor({id:"articleRewardContent",cache:!Label.articleOId,preview:{mode:"editor"},resize:{enable:!1},height:200,counter:4096,placeholder:$("#articleRewardContent").data("placeholder"),after:function(){""!==$("#articleRewardContent").next().val()&&($("#showReward").click(),AddArticle.rewardEditor.setValue($("#articleRewardContent").next().val()))}})),0===$("#articleAskPoint").length?(""!==i.rewardContent&&($("#showReward").click(),AddArticle.rewardEditor.setValue(i.rewardContent)),""!==i.rewardPoint&&($("#showReward").click(),$("#articleRewardPoint").val(i.rewardPoint)),$("#articleRewardPoint").keyup(function(){var e=JSON.parse(localStorage.postData);e.rewardPoint=$(this).val(),localStorage.postData=JSON.stringify(e)})):($("#articleAskPoint").keyup(function(){var e=JSON.parse(localStorage.postData);e.QnAOfferPoint=$(this).val(),localStorage.postData=JSON.stringify(e)}),""!==i.QnAOfferPoint&&""===$("#articleAskPoint").val()&&$("#articleAskPoint").val(i.QnAOfferPoint))},_initTag:function(){$.ua.set(navigator.userAgent);function a(t){var e,a,i;""!==t.replace(/\s/g,"")&&(i=!1,t=t.replace(/\s/g,"").replace(/,/g,""),$("#articleTags").val(""),$(".tags-input .text").each(function(){var e=$(this);t===e.text()&&(e.parent().addClass("haved"),setTimeout(function(){e.parent().removeClass("haved")},900),i=!0)}),i||(4<=$(".tags-input .tag").length?$("#articleTags").val("").data("val",""):($(".post .tags-selected").append(''+t+'x'),-1===location.search.indexOf("?id=")&&(e="",$(".tags-input .tag .text").each(function(){e+=$(this).text()+","}),(a=JSON.parse(localStorage.postData)).tags=e,localStorage.postData=JSON.stringify(a)),4<=$(".tags-input .tag").length&&$("#articleTags").val("").data("val",""))))}$(".domains-tags .btn").click(function(){$(".domains-tags .btn.current").removeClass("current green"),$(this).addClass("current").addClass("green"),$(".domains-tags .domain-tags").hide(),$("#tags"+$(this).data("id")).show()});for(var e=$("#articleTags").val().split(","),t=0,i=e.length;t span.close",function(){var e,t;$(this).parent().remove(),-1===location.search.indexOf("?id=")&&(e="",$(".tags-input .tag .text").each(function(){e+=$(this).text()+","}),(t=JSON.parse(localStorage.postData)).tags=e,localStorage.postData=JSON.stringify(t))}),$("#articleTags").click(function(){$(".post .domains-tags").show(),"mobile"!==$.ua.device.type&&$(".post .domains-tags").css("left",$(".post .tags-selected").width()+10+"px"),$("#articleTagsSelectedPanel").hide()}).blur(function(){if("block"===$("#articleTagsSelectedPanel").css("display"))return!1;a($(this).val())}),$("body").click(function(e){1!==$(e.target).closest(".tags-input").length&&1!==$(e.target).closest(".domains-tags").length&&$(".post .domains-tags").hide()}),$("#articleTags").completed({height:170,onlySelect:!0,data:[],afterSelected:function(e){a(e.text())},afterKeyup:function(e){var t;return $(".post .domains-tags").hide(),","===e.key||","===e.key||"、"===e.key||";"===e.key||";"===e.key?(t=$("#articleTags").val(),a(t.substr(0,t.length-1)),!1):13===e.keyCode?(a($("#articleTags").val()),!1):37!==e.keyCode&&39!==e.keyCode&&38!==e.keyCode&&40!==e.keyCode&&(27===e.keyCode?($("#articleTagsSelectedPanel").hide(),!1):8===e.keyCode&&8===e.data.settings.chinese&&""===e.data.settings.keydownVal.replace(/\s/g,"")?($(".tags-input .tag .close:last").click(),!1):""!==$("#articleTags").val().replace(/\s/g,"")&&void $.ajax({url:Label.servePath+"/tags/query?title="+$("#articleTags").val(),error:function(e,t,a){$("#addArticleTip").addClass("error").html("
    • "+a+"
    ")},success:function(e,t){0===e.code?("mobile"!==$.ua.device.type&&$("#articleTagsSelectedPanel").css("left",$(".post .tags-selected").width()+10+"px"),$("#articleTags").completed("updateData",e.tags)):console.log(e)}}))}})}};AddArticle.init(); \ No newline at end of file diff --git a/src/main/resources/js/article.min.js b/src/main/resources/js/article.min.js index 6576b1c90..6b20130fe 100644 --- a/src/main/resources/js/article.min.js +++ b/src/main/resources/js/article.min.js @@ -1 +1 @@ -var Comment={editor:void 0,report:function(e){var t=$(e);t.attr("disabled","disabled").css("opacity","0.3"),$.ajax({url:Label.servePath+"/report",type:"POST",cache:!1,data:JSON.stringify({reportDataId:$("#reportDialog").data("id"),reportDataType:$("#reportDialog").data("type"),reportType:$("input[name=report]:checked").val(),reportMemo:$("#reportTextarea").val()}),complete:function(e){t.removeAttr("disabled").css("opacity","1"),0===e.responseJSON.code?(Util.alert(Label.reportSuccLabel),$("#reportTextarea").val(""),$("#reportDialog").dialog("close")):Util.alert(e.responseJSON.msg)}})},accept:function(e,t,i){confirm(e)&&$.ajax({url:Label.servePath+"/comment/accept",type:"POST",headers:{csrfToken:Label.csrfToken},cache:!1,data:JSON.stringify({commentId:t}),success:function(e){0===e.code?($(i).closest("li").addClass("cmt-perfect"),$(i).remove()):Util.alert(e.msg)}})},remove:function(i){if(!confirm(Label.confirmRemoveLabel))return!1;$.ajax({url:Label.servePath+"/comment/"+i+"/remove",type:"POST",cache:!1,success:function(e,t){0===e.code?$("#"+i).remove():Util.alert(e.msg)}})},exchangeCmtSort:function(e){e=0===e?1:0,window.location.href=window.location.pathname+"?m="+e},_bgFade:function(e){return 0!==e.length&&($(window).scrollTop(e[0].offsetTop-48),"comments"!==e.attr("id")&&(e.css({"background-color":"#9bbee0"}),setTimeout(function(){e.css({"background-color":"#FFF",transition:"all 3s cubic-bezier(0.56, -0.36, 0.58, 1)"})},100),void setTimeout(function(){e.removeAttr("style")},3100)))},edit:function(e){Comment._toggleReply(),$(".cmt-anonymous").hide(),$.ajax({url:Label.servePath+"/comment/"+e+"/content",type:"GET",cache:!1,success:function(e,t){0===e.code&&Comment.editor.setValue(e.commentContent)}}),$("#replyUseName").html(' '+Label.commonUpdateCommentPermissionLabel+"").data("commentId",e)},goComment:function(e){if(0===$(e.substr(e.length-14,14)).length)return window.location=e,!1;$("#comments .list > ul > li").removeAttr("style"),Comment._bgFade($(e.substr(e.length-14,14)))},_setCmtVia:function(){$(".cmt-via").each(function(){var e=$(this).data("ua"),t=Util.getDeviceByUa(e);""!==t&&$(this).html("via "+t)})},_toggleReply:function(e){return Label.isLoggedIn?0===$("#commentContent").length?(Util.alert(Label.notAllowCmtLabel),!1):"false"===$(this).data("hasPermission")?(Article.permissionTip(Label.noPermissionLabel),!1):$(".footer").attr("style")?($(".editor-panel .wrapper").slideUp(function(){$(".editor-panel").hide(),$(".footer").removeAttr("style")}),!1):($(".cmt-anonymous").show(),$(".footer").css("margin-bottom",$(".editor-panel > .wrapper").outerHeight()+"px"),$("#replyUseName").html(''+$(".article-title").text().replace(//g,">")+"").removeData(),"0px"!==$(".editor-panel").css("bottom")&&($(".editor-panel .wrapper").hide(),$(".editor-panel").css("bottom",0)),$(".editor-panel").show(),void $(".editor-panel .wrapper").slideDown(function(){Comment.editor.focus(),e&&e()})):(Util.needLogin(),!1)},_initHotKey:function(){if(!Label.userKeyboardShortcutsStatus||"1"===Label.userKeyboardShortcutsStatus)return!1;$(document).bind("keyup","x",function(){return Util.prevKey="x",setTimeout(function(){Util.prevKey=void 0},1e3),!1}).bind("keyup","v",function(){return Util.prevKey="v",setTimeout(function(){Util.prevKey=void 0},1e3),!1}).bind("keydown","r",function(e){return Util.prevKey?"v"===Util.prevKey?$("#articleRewardContent .icon-points").click():1===$("#comments .list > ul > li.focus").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .icon-reply").parent().click():Comment._toggleReply(),!1}).bind("keyup","h",function(){return 1===$("#comments .list > ul > li.focus").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .icon-heart").parent().click(),!1}).bind("keyup","t",function(){return 1===$("#comments .list > ul > li.focus").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .icon-thumbs-up").parent().click(),!1}).bind("keyup","d",function(){return 1===$("#comments .list > ul > li.focus").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .icon-thumbs-down").parent().click(),!1}).bind("keyup","c",function(){return 1===$("#comments .list > ul > li.focus .comment-info .icon-reply-to").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .comment-info .icon-reply-to").parent().click(),!1}).bind("keyup","m",function(){return 1===$("#comments .list > ul > li.focus .comment-action > .ft-fade > .fn-pointer").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .comment-action > .ft-fade > .fn-pointer").click(),!1}).bind("keyup","a",function(){return"x"===Util.prevKey&&1===$("#comments .list > ul > li.focus .icon-setting").parent().length&&(window.location=$("#comments .list > ul > li.focus .icon-setting").parent().attr("href")),!1}).bind("keyup","m",function(){return"v"===Util.prevKey&&Article.toggleToc(),!1}).bind("keyup","h",function(){return"v"===Util.prevKey&&$("#thankArticle").click(),!1}).bind("keyup","t",function(){return"v"===Util.prevKey&&$(".article-header .icon-thumbs-up").parent().click(),!1}).bind("keyup","d",function(){return"v"===Util.prevKey&&$(".article-header .icon-thumbs-down").parent().click(),!1}).bind("keyup","i",function(){return"v"===Util.prevKey&&$(".article-header .icon-view").parent().click(),!1}).bind("keyup","c",function(){return"v"===Util.prevKey&&$(".article-header .icon-star").parent().click(),!1}).bind("keyup","l",function(){return"v"===Util.prevKey&&$(".article-header .icon-history").parent().click(),!1}).bind("keyup","e",function(){return"v"===Util.prevKey&&1===$(".article-actions .icon-edit").parent().length&&(window.location=$(".article-actions .icon-edit").parent().attr("href")),!1}).bind("keyup","s",function(){return"v"===Util.prevKey&&1===$(".article-actions .icon-chevron-up").length&&Article.stick(Label.articleOId),!1}).bind("keyup","a",function(){return"v"===Util.prevKey&&1===$(".article-actions .icon-setting").parent().length&&(window.location=$(".article-actions .icon-setting").parent().attr("href")),!1}).bind("keyup","p",function(){return"v"===Util.prevKey&&1===$(".article-header a[rel=prev]").length&&(window.location=$(".article-header a[rel=prev]").attr("href")),!1}).bind("keyup","n",function(){return"v"===Util.prevKey&&1===$(".article-header a[rel=next]").length&&(window.location=$(".article-header a[rel=next]").attr("href")),!1})},init:function(){if(1===$(window.location.hash).length&&Comment._bgFade($(window.location.hash)),this._setCmtVia(),this._initHotKey(),$.pjax({selector:"#comments .pagination a",container:"#comments",show:"",cache:!1,storage:!0,titleSuffix:"",callback:function(){Util.parseMarkdown(),Util.parseHljs()}}),NProgress.configure({showSpinner:!1}),$("#comments").bind("pjax.start",function(){NProgress.start()}),$("#comments").bind("pjax.end",function(){NProgress.done()}),!Label.isLoggedIn||!document.getElementById("commentContent"))return!1;Comment.editor=Util.newVditor({id:"commentContent",cache:!0,preview:{mode:"editor"},resize:{enable:!0,position:"top"},height:200,counter:4096,placeholder:Label.commentEditorPlaceholderLabel,ctrlEnter:function(){Comment.add(Label.articleOId,Label.csrfToken,document.getElementById("articleCommentBtn"))},esc:function(){$(".editor-hide").click()}})},thank:function(e,t,i,n,a){if(!Label.isLoggedIn)return Util.needLogin(),!1;if(0===n&&!confirm(i))return!1;var r={commentId:e};$.ajax({url:Label.servePath+"/comment/thank",type:"POST",headers:{csrfToken:t},cache:!1,data:JSON.stringify(r),error:function(e,t,i){Util.alert(i)},success:function(e,t){if(0===e.code){$(a).removeAttr("onclick");var i=$(''),n=$(a).offset().top,r=$(a).offset().left;i.css({"z-index":9999,top:n,left:r,position:"absolute","font-size":16,"-moz-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none"}),$("body").append(i),i.animate({left:r-150,top:n-60,opacity:0},1e3,function(){var e=parseInt($(a).text());$(a).html(' '+(e+1)).addClass("ft-red"),i.remove()})}else Util.alert(e.msg)}})},showReply:function(e,o,t){var s=$(o).closest("li").find("."+t);if("comment-get-comment"===t){if(0!==s.find("li").length)return s.html(""),!1}else if(0===$(o).find(".icon-chevron-down").length)return $(o).find(".icon-chevron-up").removeClass("icon-chevron-up").addClass("icon-chevron-down").find("use").attr("xlink:href","#chevron-down"),s.html(""),!1;if("0.3"===$(o).css("opacity"))return!1;var i="/comment/replies";"comment-get-comment"===t&&(i="/comment/original"),$.ajax({url:Label.servePath+i,type:"POST",data:JSON.stringify({commentId:e,userCommentViewMode:Label.userCommentViewMode}),beforeSend:function(){$(o).css("opacity","0.3")},success:function(e,t){if(0!==e.code)return Util.alert(e.msg),!1;var i=e.commentReplies,n="";i instanceof Array||(i=[i]),0===i.length&&(n='
  • '+Label.removedLabel+"
  • ");for(var r=0;r
    ',n+='',n+='
    ',n+="
    ",n+='
    ',n+='',n+=a.commentAuthorName,n+="",n+=' • '+a.timeAgo,0 '+a.rewardedCnt+" "),n+=" "+Util.getDeviceByUa(a.commentUA)+"",n+='
    '+a.commentContent+"
    "}s.html("
      "+n+"
    "),Util.parseHljs(),Util.parseMarkdown(),$(o).find(".icon-chevron-down").removeClass("icon-chevron-down").addClass("icon-chevron-up").find("use").attr("xlink:href","#chevron-up")},error:function(e){Util.alert(e.statusText)},complete:function(){$(o).css("opacity","1")}})},add:function(e,t,i){var n={articleId:e,commentAnonymous:$("#commentAnonymous").prop("checked"),commentVisible:$("#commentVisible").prop("checked"),commentContent:Comment.editor.getValue(),userCommentViewMode:Label.userCommentViewMode};$("#replyUseName").data("commentOriginalCommentId")&&(n.commentOriginalCommentId=$("#replyUseName").data("commentOriginalCommentId"));var r=Label.servePath+"/comment",a="POST",o=$("#replyUseName").data("commentId");o&&(r=Label.servePath+"/comment/"+o,a="PUT"),$.ajax({url:r,type:a,headers:{csrfToken:t},cache:!1,data:JSON.stringify(n),beforeSend:function(){$(i).attr("disabled","disabled").css("opacity","0.3")},success:function(e,t){$(i).removeAttr("disabled").css("opacity","1"),0===e.code?(o&&($("#"+o+" > .fn-flex > .fn-flex-1 > .vditor-reset").html(e.commentContent),$("#"+o+" .icon-history").parent().show()),n.commentOriginalCommentId&&Util.setUnreadNotificationCount(),Comment.editor.setValue(""),$(".editor-hide").click(),$("#replyUseName").text("").removeData(),1===Label.userCommentViewMode?Comment._bgFade($("#comments")):Comment._bgFade($("#bottomComment"))):$("#addCommentTip").addClass("error").html("
    • "+e.msg+"
    ")},error:function(e){$("#addCommentTip").addClass("error").html("
    • "+e.statusText+"
    ")},complete:function(){$(i).removeAttr("disabled").css("opacity","1")}})},reply:function(e,t){Comment._toggleReply(function(){$(window).height()-($("#"+t)[0].offsetTop-$(window).scrollTop()+$("#"+t).outerHeight())<$(".editor-panel .wrapper").outerHeight()&&$(window).scrollTop($("#"+t)[0].offsetTop-($(window).height()-$(".editor-panel .wrapper").outerHeight()-$("#"+t).outerHeight()))});var i="",n=$("#"+t).find(">.fn-flex>div>a").clone();i=0===n.length?((n=$("#"+t).find(">.fn-flex .avatar").clone()).removeClass("avatar").addClass("avatar-small"),' '+n[0].outerHTML+" "+e+""):(n.addClass("ft-a-title").attr("href","#"+t).attr("onclick",'Comment._bgFade($("#'+t+'"))'),n.find("div").removeClass("avatar").addClass("avatar-small").after(" "+e).before(' '),n[0].outerHTML),$("#replyUseName").html(i).data("commentOriginalCommentId",t)}},Article={initAudio:function(){$(".content-audio").each(function(){var e=$(this);new APlayer({element:this,narrow:!1,autoplay:!1,mutex:!0,theme:"#4285f4",preload:"none",mode:"circulation",music:{title:e.data("title"),author:'音乐分享',url:e.data("url"),pic:Label.staticServePath+"/images/music.png"}})});var e=$("#articleAudio");if(0===e.length)return!1;new APlayer({element:document.getElementById("articleAudio"),narrow:!1,autoplay:!1,mutex:!0,theme:"#4285f4",mode:"order",preload:"none",music:{title:"语音预览",author:'小薇',url:e.data("url"),pic:Label.staticServePath+"/images/blank.png"}})},permissionTip:function(e){Label.isLoggedIn?Util.alert(e):Util.needLogin()},voteUp:function(e,t,i){if(!Label.isLoggedIn)return Util.needLogin(),!1;var r=$(i),a=r.next();if(r.hasClass("disabled"))return!1;var n={dataId:e};r.addClass("disabled"),$.ajax({url:Label.servePath+"/vote/up/"+t,type:"POST",cache:!1,data:JSON.stringify(n),success:function(e,t){r.removeClass("disabled");var i=parseInt(r.text()),n=parseInt(a.text());0!==e.code?Util.alert(e.msg):0===e.type?r.html(' '+(i-1)).removeClass("ft-red"):(r.html(' '+(i+1)).addClass("ft-red"),a.hasClass("ft-red")&&a.html(' '+(n-1)).removeClass("ft-red"))}})},voteDown:function(e,t,i){if(!Label.isLoggedIn)return Util.needLogin(),!1;var r=$(i),a=r.prev();if(r.hasClass("disabled"))return!1;var n={dataId:e};r.addClass("disabled"),$.ajax({url:Label.servePath+"/vote/down/"+t,type:"POST",cache:!1,data:JSON.stringify(n),success:function(e,t){r.removeClass("disabled");var i=parseInt(a.text()),n=parseInt(r.text());if(0===e.code)return 1===e.type?r.html(' '+(n-1)).removeClass("ft-red"):(r.html(' '+(n+1)).addClass("ft-red"),a.hasClass("ft-red")&&a.html(' '+(i-1)).removeClass("ft-red")),!1;Util.alert(e.msg)}})},previewImgAfterLoading:function(){$(".img-preview img").css("transform","translate3d("+Math.max(0,$(window).width()-$(".img-preview img").width())/2+"px, "+Math.max(0,$(window).height()-$(".img-preview img").height())/2+"px, 0)"),setTimeout(function(){$(".img-preview").width($(window).width())},300)},init:function(){this.initToc(),this.share(),Util.parseHljs(),Util.parseMarkdown();var t=null;$(".article").on("dblclick",".vditor-reset img",function(){clearTimeout(t),$(this).hasClass("emoji")||1===$(this).closest(".editor-panel").length||1===$(this).closest(".ad").length||window.open($(this).attr("src"))}).on("click",".vditor-reset img",function(e){if(clearTimeout(t),!$(this).hasClass("emoji")&&1!==$(this).closest(".editor-panel").length&&1!==$(this).closest(".ad").length){var i=$(this),n=this;t=setTimeout(function(){var e=n.offsetTop,t=n.offsetLeft;1===i.closest(".comments").length&&(e+=i.closest("li")[0].offsetTop,t=t+$(".comments")[0].offsetLeft+15),$("body").append('
    '),$(".img-preview").css({"background-color":"#fff",position:"fixed"})},100)}});var e=$("#articltVia").data("ua"),i=Util.getDeviceByUa(e);""!==i&&$("#articltVia").text("via "+i),$("#revision").dialog({width:500<$(window).width()?500:$(window).width()-50,height:$(window).height()-50,modal:!0,hideFooter:!0}),$("#reportDialog").dialog({width:500<$(window).width()?500:$(window).width()-50,height:450,modal:!0,hideFooter:!0}),this.initAudio(),$(window).scroll(function(){var e=$(window).scrollTop();-1 .module-panel").height($(window).height()-48),$(window).width()<1024)return $(".article-header > h2").removeAttr("style"),0===$("#articleToC").length||$(".article-body .wrapper, #articleCommentsPanel, .article-footer").css("margin-right","auto"),!1;if(1===$("#articleToC").length){var t=$("#articleToC").width(),i=($(window).width()-t-$(".article-info").width()-30)/3+t;$(".article-body .wrapper, #articleCommentsPanel, .article-footer").css("margin-right",i+"px")}$(".article-header > h2").css("margin-left",Math.max(20,$(".article-footer").offset().left-58)+"px")});var n=location.search.split("r=")[1];n&&sessionStorage.setItem("r",n.split("&")[0])},revision:function(e,n){if(!Label.isLoggedIn)return Util.needLogin(),!1;n=n||"article",$.ajax({url:Label.servePath+"/"+n+"/"+e+"/revisions",cache:!1,success:function(e,t){if(0===e.code){if(0===e.revisions.length||1===e.revisions.length)return $("#revision > .revisions").remove(),$("#revisions").html(""+Label.noRevisionLabel+""),!1;$("#revisions").html("").prev().remove(),$("#revisions").data("revisions",e.revisions).before('
    '+(e.revisions.length-1)+"~"+e.revisions.length+"/"+e.revisions.length+'
    '),e.revisions.length<=2&&$("#revision a").first().addClass("disabled");var i=JsDiff.createPatch("",e.revisions[e.revisions.length-2].revisionData.articleContent||e.revisions[e.revisions.length-2].revisionData.commentContent,e.revisions[e.revisions.length-1].revisionData.articleContent||e.revisions[e.revisions.length-1].revisionData.commentContent,e.revisions[e.revisions.length-2].revisionData.articleTitle||"",e.revisions[e.revisions.length-1].revisionData.articleTitle||"");return new Diff2HtmlUI({diff:i}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0}),Article._revisionsControls(n),!1}Util.alert(e.msg)}}),$("#revision").dialog("open")},_revisionsControls:function(e){var i=$("#revisions").data("revisions");$("#revision a.first").click(function(){if(!$(this).hasClass("disabled")){var e=parseInt($("#revision .revisions").text().split("~")[0]);e<=2?$(this).addClass("disabled"):$(this).removeClass("disabled"),2 span").html(e-1+"~"+e+"/"+i.length);var t=JsDiff.createPatch("",i[e-2].revisionData.articleContent||i[e-2].revisionData.commentContent,i[e-1].revisionData.articleContent||i[e-1].revisionData.commentContent,i[e-2].revisionData.articleTitle||"",i[e-1].revisionData.articleTitle||"");new Diff2HtmlUI({diff:t}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0})}}),$("#revision a.last").click(function(){if(!$(this).hasClass("disabled")){var e=parseInt($("#revision .revisions span").text().split("~")[0]);e>i.length-3?$(this).addClass("disabled"):$(this).removeClass("disabled"),2 span").html(e+1+"~"+(e+2)+"/"+i.length);var t=JsDiff.createPatch("",i[e].revisionData.articleContent||i[e].revisionData.commentContent,i[e+1].revisionData.articleContent||i[e+1].revisionData.commentContent,i[e].revisionData.articleTitle||"",i[e+1].revisionData.articleTitle||"");new Diff2HtmlUI({diff:t}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0})}})},share:function(){var e=parseInt($(".article-footer").css("margin-left"))/2-15;$(".share").css("left",(e<20?20:e)+"px");var a=$("#qrCode").data("shareurl");$("#qrCode").qrcode({width:90,height:90,text:a}),$("body").click(function(){$("#qrCode").slideUp()}),$(".share > span").click(function(){var e=$(this).data("type");if(!e)return!1;if("wechat"===e)return $("#qrCode").slideToggle(),!1;if("copy"===e)return!1;var t=encodeURIComponent(Label.articleTitle+" - "+Label.symphonyLabel),i=encodeURIComponent(a),n=$(".article-info .avatar-mid").css("background-image");pic=n.substring(5,n.length-2);var r={};r.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+t+"&url="+i+"&pic="+pic,r.weibo="http://v.t.sina.com.cn/share/share.php?title="+t+"&url="+i+"&pic="+pic,r.google="https://plus.google.com/share?url="+i,r.twitter="https://twitter.com/intent/tweet?status="+t+" "+i,window.open(r[e],"_blank","top=100,left=200,width=648,height=618")}),$("#qrCode").click(function(){$(this).hide()}),$("#shareClipboard").mouseover(function(){$(this).attr("aria-label",Label.copyLabel)}),Util.clipboard($("#shareClipboard"),$("#shareClipboard").next(),function(){$("#shareClipboard").attr("aria-label",Label.copiedLabel)})},reward:function(e){confirm(Label.rewardConfirmLabel)&&$.ajax({url:Label.servePath+"/article/reward?articleId="+e,type:"POST",cache:!1,success:function(e,t){if(0!==e.code)Util.alert(e.msg);else{$("#articleRewardContent .vditor-reset").html(e.articleRewardContent),Util.parseHljs(),Util.parseMarkdown();var i=$("#articleRewardContent > span"),n=parseInt(i.text());i.addClass("ft-red").removeClass("ft-blue").html(n+1+" "+Label.rewardLabel).removeAttr("onclick")}},error:function(e){Util.needLogin()}})},thankArticle:function(e,t){return Label.isLoggedIn?!(0===t&&!confirm(Label.thankArticleConfirmLabel))&&(Label.currentUserName===Label.articleAuthorName?(Util.alert(Label.thankSelfLabel),!1):void $.ajax({url:Label.servePath+"/article/thank?articleId="+e,type:"POST",cache:!1,success:function(e,t){if(0===e.code){var i=parseInt($("#thankArticle").text());$("#thankArticle").removeAttr("onclick").html(''+(i+1)+"").addClass("ft-red").removeClass("ft-blue");var n=$(''),r=$("#thankArticle").offset().top,a=$("#thankArticle").offset().left;return n.css({"z-index":9999,top:r-20,left:a,position:"absolute","font-size":16,"-moz-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none"}),$("body").append(n),n.animate({top:r-180,opacity:0},1500,function(){n.remove()}),!1}Util.alert(e.msg)}})):(Util.needLogin(),!1)},stick:function(e){confirm(Label.stickConfirmLabel)&&$.ajax({url:Label.servePath+"/article/stick?articleId="+e,type:"POST",cache:!1,success:function(e,t){Util.alert(e.msg),window.location.href=Label.servePath+"/recent"}})},playThought:function(e){function i(e,t){var i=e.split(d);3===i.length&&i.splice(0,0,"");var n=i[0],r=i[2].split("-"),a=i[3].split("-");if(r[0]=parseInt(r[0]),r[1]=parseInt(r[1]),a[0]=parseInt(a[0]),a[1]=parseInt(a[1]),n===h){for(var o=[],s=r[1];a[1],s span"),a=$("#thoughtProgress > svg"),o="#articleThought",s=e.split(t),l=Math.max(s[s.length-2].split(d)[1]/3e4,2);""===s[s.length-1]&&s.pop();for(var c=0,u=0;c").replace(/ /g," ").replace(/ /g,"    ");$(o).data("text",e).html(t)},parseInt(s[c].split(d)[1])/l);for(var f=0,p=parseInt(s[c-1].split(d)[1])/l,v=setInterval(function(){p<=f?(r.width("100%"),a.css("left","100%"),clearInterval(v)):(f+=20,a.css("left",100*f/p+"%"),r.width(100*f/p+"%"))},20),g="",b="",w=0,C=0,y=0;C").replace(/ /g," ").replace(/ /g,"    "),g=k,$(o).html(b),w=Math.max(w,$(o).height())}$("#thoughtProgressPreview").html('
    '+b+"
    "),$("#thoughtProgressPreview").dialog({modal:!0,hideFooter:!0}),a.click(function(){$("#thoughtProgressPreview").dialog("open")}),$(o).html(b).height(w).css("margin-bottom","15px").html("")},initToc:function(){if(0===$("#articleToC").length)return $(".article-header > h2").css("margin-left",Math.max(20,$(".article-footer").offset().left-58)+"px"),$(".article-body .wrapper, #articleCommentsPanel, .article-footer").css("margin-right","auto"),!1;var e=$("#articleToC").width(),t=($(window).width()-e-$(".article-info").width()-30)/3+e;$(".article-body .wrapper, #articleCommentsPanel, .article-footer").css("margin-right",t+"px"),$(".article-header > h2").css("margin-left",Math.max(20,$(".article-footer").offset().left-58)+"px"),$("#articleToC > .module-panel").height($(window).height()-48);var o=$("#articleToC"),s=$(".article-toc"),l=$(".article-content [id^=toc]"),c=!1;o.offset().top;toc=[],o.find("li").click(function(){var e=$(this);setTimeout(function(){o.find("li").removeClass("current"),e.addClass("current")},50)}),$(window).scroll(function(e){if(parseInt($("#articleToC").css("right"))<0)return!1;$("#articleToC > .module-panel").height($(window).height()-49),toc=[],l.each(function(e){toc.push({id:this.id,offsetTop:this.offsetTop})});for(var t=$(window).scrollTop(),i=0,n=toc.length;i=toc[toc.length-1].offsetTop-53&&(o.find("li").removeClass("current"),o.find("li:last").addClass("current"));var a=o.find("li.current")[0].offsetTop;c||(s.scrollTop()a-30&&s.scrollTop(a)),setTimeout(function(){c=!1},600)}),$(window).scroll(),s.scrollTop(o.find("li.current")[0].offsetTop).scroll(function(){c=!0})},toggleToc:function(){var e=$("#articleToC");if(0===e.length)return!1;var t=$(".article-header .icon-unordered-list");t.hasClass("ft-red")?(e.animate({right:"-"+$("#articleToC").outerWidth()+"px"}),t.removeClass("ft-red"),$(".article-actions .icon-unordered-list").removeClass("ft-red")):(e.animate({right:0}),t.addClass("ft-red"),$(".article-actions .icon-unordered-list").addClass("ft-red"))},makeNotificationRead:function(e,t){var i={articleId:e,commentIds:t};$.ajax({url:Label.servePath+"/notifications/make-read",type:"POST",cache:!1,data:JSON.stringify(i)})}};Article.init(),$(document).ready(function(){Comment.init(),ArticleChannel.init(Label.articleChannel),Label.isLoggedIn&&(Article.makeNotificationRead(Label.articleOId,Label.notificationCmtIds),setTimeout(function(){Util.setUnreadNotificationCount()},1e3))}); \ No newline at end of file +var Comment={editor:void 0,report:function(e){var t=$(e);t.attr("disabled","disabled").css("opacity","0.3"),$.ajax({url:Label.servePath+"/report",type:"POST",cache:!1,data:JSON.stringify({reportDataId:$("#reportDialog").data("id"),reportDataType:$("#reportDialog").data("type"),reportType:$("input[name=report]:checked").val(),reportMemo:$("#reportTextarea").val()}),complete:function(e){t.removeAttr("disabled").css("opacity","1"),0===e.responseJSON.code?(Util.alert(Label.reportSuccLabel),$("#reportTextarea").val(""),$("#reportDialog").dialog("close")):Util.alert(e.responseJSON.msg)}})},accept:function(e,t,i){confirm(e)&&$.ajax({url:Label.servePath+"/comment/accept",type:"POST",headers:{csrfToken:Label.csrfToken},cache:!1,data:JSON.stringify({commentId:t}),success:function(e){0!==e.code?Util.alert(e.msg):($(i).closest("li").addClass("cmt-perfect"),$(i).remove())}})},remove:function(i){if(!confirm(Label.confirmRemoveLabel))return!1;$.ajax({url:Label.servePath+"/comment/"+i+"/remove",type:"POST",cache:!1,success:function(e,t){0===e.code?$("#"+i).remove():Util.alert(e.msg)}})},exchangeCmtSort:function(e){e=0===e?1:0,window.location.href=window.location.pathname+"?m="+e},_bgFade:function(e){return 0!==e.length&&($(window).scrollTop(e[0].offsetTop-48),"comments"!==e.attr("id")&&(e.css({"background-color":"#9bbee0"}),setTimeout(function(){e.css({"background-color":"#FFF",transition:"all 3s cubic-bezier(0.56, -0.36, 0.58, 1)"})},100),void setTimeout(function(){e.removeAttr("style")},3100)))},edit:function(e){Comment._toggleReply(),$(".cmt-anonymous").hide(),$.ajax({url:Label.servePath+"/comment/"+e+"/content",type:"GET",cache:!1,success:function(e,t){0===e.code&&Comment.editor.setValue(e.commentContent)}}),$("#replyUseName").html(' '+Label.commonUpdateCommentPermissionLabel+"").data("commentId",e)},goComment:function(e){if(0===$(e.substr(e.length-14,14)).length)return window.location=e,!1;$("#comments .list > ul > li").removeAttr("style"),Comment._bgFade($(e.substr(e.length-14,14)))},_setCmtVia:function(){$(".cmt-via").each(function(){var e=$(this).data("ua"),e=Util.getDeviceByUa(e);""!==e&&$(this).html("via "+e)})},_toggleReply:function(e){return Label.isLoggedIn?0===$("#commentContent").length?(Util.alert(Label.notAllowCmtLabel),!1):"false"===$(this).data("hasPermission")?(Article.permissionTip(Label.noPermissionLabel),!1):$(".footer").attr("style")?($(".editor-panel .wrapper").slideUp(function(){$(".editor-panel").hide(),$(".footer").removeAttr("style")}),!1):($(".cmt-anonymous").show(),$(".footer").css("margin-bottom",$(".editor-panel > .wrapper").outerHeight()+"px"),$("#replyUseName").html(''+$(".article-title").text().replace(//g,">")+"").removeData(),"0px"!==$(".editor-panel").css("bottom")&&($(".editor-panel .wrapper").hide(),$(".editor-panel").css("bottom",0)),$(".editor-panel").show(),void $(".editor-panel .wrapper").slideDown(function(){Comment.editor.focus(),e&&e()})):(Util.needLogin(),!1)},_initHotKey:function(){if(!Label.userKeyboardShortcutsStatus||"1"===Label.userKeyboardShortcutsStatus)return!1;$(document).bind("keyup","x",function(){return Util.prevKey="x",setTimeout(function(){Util.prevKey=void 0},1e3),!1}).bind("keyup","v",function(){return Util.prevKey="v",setTimeout(function(){Util.prevKey=void 0},1e3),!1}).bind("keydown","r",function(e){return Util.prevKey?"v"===Util.prevKey?$("#articleRewardContent .icon-points").click():1===$("#comments .list > ul > li.focus").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .icon-reply").parent().click():Comment._toggleReply(),!1}).bind("keyup","h",function(){return 1===$("#comments .list > ul > li.focus").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .icon-heart").parent().click(),!1}).bind("keyup","t",function(){return 1===$("#comments .list > ul > li.focus").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .icon-thumbs-up").parent().click(),!1}).bind("keyup","d",function(){return 1===$("#comments .list > ul > li.focus").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .icon-thumbs-down").parent().click(),!1}).bind("keyup","c",function(){return 1===$("#comments .list > ul > li.focus .comment-info .icon-reply-to").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .comment-info .icon-reply-to").parent().click(),!1}).bind("keyup","m",function(){return 1===$("#comments .list > ul > li.focus .comment-action > .ft-fade > .fn-pointer").length&&"x"===Util.prevKey&&$("#comments .list > ul > li.focus .comment-action > .ft-fade > .fn-pointer").click(),!1}).bind("keyup","a",function(){return"x"===Util.prevKey&&1===$("#comments .list > ul > li.focus .icon-setting").parent().length&&(window.location=$("#comments .list > ul > li.focus .icon-setting").parent().attr("href")),!1}).bind("keyup","m",function(){return"v"===Util.prevKey&&Article.toggleToc(),!1}).bind("keyup","h",function(){return"v"===Util.prevKey&&$("#thankArticle").click(),!1}).bind("keyup","t",function(){return"v"===Util.prevKey&&$(".article-header .icon-thumbs-up").parent().click(),!1}).bind("keyup","d",function(){return"v"===Util.prevKey&&$(".article-header .icon-thumbs-down").parent().click(),!1}).bind("keyup","i",function(){return"v"===Util.prevKey&&$(".article-header .icon-view").parent().click(),!1}).bind("keyup","c",function(){return"v"===Util.prevKey&&$(".article-header .icon-star").parent().click(),!1}).bind("keyup","l",function(){return"v"===Util.prevKey&&$(".article-header .icon-history").parent().click(),!1}).bind("keyup","e",function(){return"v"===Util.prevKey&&1===$(".article-actions .icon-edit").parent().length&&(window.location=$(".article-actions .icon-edit").parent().attr("href")),!1}).bind("keyup","s",function(){return"v"===Util.prevKey&&1===$(".article-actions .icon-chevron-up").length&&Article.stick(Label.articleOId),!1}).bind("keyup","a",function(){return"v"===Util.prevKey&&1===$(".article-actions .icon-setting").parent().length&&(window.location=$(".article-actions .icon-setting").parent().attr("href")),!1}).bind("keyup","p",function(){return"v"===Util.prevKey&&1===$(".article-header a[rel=prev]").length&&(window.location=$(".article-header a[rel=prev]").attr("href")),!1}).bind("keyup","n",function(){return"v"===Util.prevKey&&1===$(".article-header a[rel=next]").length&&(window.location=$(".article-header a[rel=next]").attr("href")),!1})},init:function(){if(1===$(window.location.hash).length&&Comment._bgFade($(window.location.hash)),this._setCmtVia(),this._initHotKey(),$.pjax({selector:"#comments .pagination a",container:"#comments",show:"",cache:!1,storage:!0,titleSuffix:"",callback:function(){Util.parseMarkdown(),Util.parseHljs()}}),NProgress.configure({showSpinner:!1}),$("#comments").bind("pjax.start",function(){NProgress.start()}),$("#comments").bind("pjax.end",function(){NProgress.done()}),!Label.isLoggedIn||!document.getElementById("commentContent"))return!1;Comment.editor=Util.newVditor({id:"commentContent",cache:!0,preview:{mode:"editor"},resize:{enable:!0,position:"top"},height:200,counter:4096,placeholder:Label.commentEditorPlaceholderLabel,ctrlEnter:function(){Comment.add(Label.articleOId,Label.csrfToken,document.getElementById("articleCommentBtn"))},esc:function(){$(".editor-hide").click()}})},thank:function(e,t,i,n,o){return Label.isLoggedIn?!(0===n&&!confirm(i))&&void $.ajax({url:Label.servePath+"/comment/thank",type:"POST",headers:{csrfToken:t},cache:!1,data:JSON.stringify({commentId:e}),error:function(e,t,i){Util.alert(i)},success:function(e,t){var i,n,r;0===e.code?($(o).removeAttr("onclick"),i=$(''),n=$(o).offset().top,r=$(o).offset().left,i.css({"z-index":9999,top:n,left:r,position:"absolute","font-size":16,"-moz-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none"}),$("body").append(i),i.animate({left:r-150,top:n-60,opacity:0},1e3,function(){var e=parseInt($(o).text());$(o).html(' '+(e+1)).addClass("ft-red"),i.remove()})):Util.alert(e.msg)}}):(Util.needLogin(),!1)},showReply:function(e,a,t){var s=$(a).closest("li").find("."+t);if("comment-get-comment"===t){if(0!==s.find("li").length)return s.html(""),!1}else if(0===$(a).find(".icon-chevron-down").length)return $(a).find(".icon-chevron-up").removeClass("icon-chevron-up").addClass("icon-chevron-down").find("use").attr("xlink:href","#chevron-down"),s.html(""),!1;if("0.3"===$(a).css("opacity"))return!1;t="comment-get-comment"===t?"/comment/original":"/comment/replies";$.ajax({url:Label.servePath+t,type:"POST",data:JSON.stringify({commentId:e,userCommentViewMode:Label.userCommentViewMode}),beforeSend:function(){$(a).css("opacity","0.3")},success:function(e,t){if(0!==e.code)return Util.alert(e.msg),!1;var i=e.commentReplies,n="";0===(i=i instanceof Array?i:[i]).length&&(n='
  • '+Label.removedLabel+"
  • ");for(var r=0;r
    ')+(''))+('
    '))+"
    "+'
    ')+(''))+o.commentAuthorName+"")+(' • '+o.timeAgo);0 '+o.rewardedCnt+" "),n=(n+=" "+Util.getDeviceByUa(o.commentUA)+"")+('
    '+o.commentContent+"
    ")}s.html("
      "+n+"
    "),Util.parseHljs(),Util.parseMarkdown(),$(a).find(".icon-chevron-down").removeClass("icon-chevron-down").addClass("icon-chevron-up").find("use").attr("xlink:href","#chevron-up")},error:function(e){Util.alert(e.statusText)},complete:function(){$(a).css("opacity","1")}})},add:function(e,t,i){var n={articleId:e,commentAnonymous:$("#commentAnonymous").prop("checked"),commentVisible:$("#commentVisible").prop("checked"),commentContent:Comment.editor.getValue(),userCommentViewMode:Label.userCommentViewMode},e=($("#replyUseName").data("commentOriginalCommentId")&&(n.commentOriginalCommentId=$("#replyUseName").data("commentOriginalCommentId")),Label.servePath+"/comment"),r="POST",o=$("#replyUseName").data("commentId");o&&(e=Label.servePath+"/comment/"+o,r="PUT"),$.ajax({url:e,type:r,headers:{csrfToken:t},cache:!1,data:JSON.stringify(n),beforeSend:function(){$(i).attr("disabled","disabled").css("opacity","0.3")},success:function(e,t){$(i).removeAttr("disabled").css("opacity","1"),0===e.code?(o&&($("#"+o+" > .fn-flex > .fn-flex-1 > .vditor-reset").html(e.commentContent),$("#"+o+" .icon-history").parent().show()),n.commentOriginalCommentId&&Util.setUnreadNotificationCount(),Comment.editor.setValue(""),$(".editor-hide").click(),$("#replyUseName").text("").removeData(),1===Label.userCommentViewMode?Comment._bgFade($("#comments")):Comment._bgFade($("#bottomComment"))):$("#addCommentTip").addClass("error").html("
    • "+e.msg+"
    ")},error:function(e){$("#addCommentTip").addClass("error").html("
    • "+e.statusText+"
    ")},complete:function(){$(i).removeAttr("disabled").css("opacity","1")}})},reply:function(e,t){Comment._toggleReply(function(){$(window).height()-($("#"+t)[0].offsetTop-$(window).scrollTop()+$("#"+t).outerHeight())<$(".editor-panel .wrapper").outerHeight()&&$(window).scrollTop($("#"+t)[0].offsetTop-($(window).height()-$(".editor-panel .wrapper").outerHeight()-$("#"+t).outerHeight()))});var i="",n=$("#"+t).find(">.fn-flex>div>a").clone(),i=0===n.length?((n=$("#"+t).find(">.fn-flex .avatar").clone()).removeClass("avatar").addClass("avatar-small"),' '+n[0].outerHTML+" "+e+""):(n.addClass("ft-a-title").attr("href","#"+t).attr("onclick",'Comment._bgFade($("#'+t+'"))'),n.find("div").removeClass("avatar").addClass("avatar-small").after(" "+e).before(' '),n[0].outerHTML);$("#replyUseName").html(i).data("commentOriginalCommentId",t)}},Article={initAudio:function(){$(".content-audio").each(function(){var e=$(this);new APlayer({element:this,narrow:!1,autoplay:!1,mutex:!0,theme:"#4285f4",preload:"none",mode:"circulation",music:{title:e.data("title"),author:'音乐分享',url:e.data("url"),pic:Label.staticServePath+"/images/music.png"}})});var e=$("#articleAudio");if(0===e.length)return!1;new APlayer({element:document.getElementById("articleAudio"),narrow:!1,autoplay:!1,mutex:!0,theme:"#4285f4",mode:"order",preload:"none",music:{title:"语音预览",author:'小薇',url:e.data("url"),pic:Label.staticServePath+"/images/blank.png"}})},permissionTip:function(e){Label.isLoggedIn?Util.alert(e):Util.needLogin()},voteUp:function(e,t,i){if(!Label.isLoggedIn)return Util.needLogin(),!1;var r=$(i),o=r.next();if(r.hasClass("disabled"))return!1;i={dataId:e};r.addClass("disabled"),$.ajax({url:Label.servePath+"/vote/up/"+t,type:"POST",cache:!1,data:JSON.stringify(i),success:function(e,t){r.removeClass("disabled");var i=parseInt(r.text()),n=parseInt(o.text());0===e.code?0===e.type?r.html(' '+(i-1)).removeClass("ft-red"):(r.html(' '+(i+1)).addClass("ft-red"),o.hasClass("ft-red")&&o.html(' '+(n-1)).removeClass("ft-red")):Util.alert(e.msg)}})},voteDown:function(e,t,i){if(!Label.isLoggedIn)return Util.needLogin(),!1;var r=$(i),o=r.prev();if(r.hasClass("disabled"))return!1;i={dataId:e};r.addClass("disabled"),$.ajax({url:Label.servePath+"/vote/down/"+t,type:"POST",cache:!1,data:JSON.stringify(i),success:function(e,t){r.removeClass("disabled");var i=parseInt(o.text()),n=parseInt(r.text());if(0===e.code)return 1===e.type?r.html(' '+(n-1)).removeClass("ft-red"):(r.html(' '+(n+1)).addClass("ft-red"),o.hasClass("ft-red")&&o.html(' '+(i-1)).removeClass("ft-red")),!1;Util.alert(e.msg)}})},previewImgAfterLoading:function(){$(".img-preview img").css("transform","translate3d("+Math.max(0,$(window).width()-$(".img-preview img").width())/2+"px, "+Math.max(0,$(window).height()-$(".img-preview img").height())/2+"px, 0)"),setTimeout(function(){$(".img-preview").width($(window).width())},300)},init:function(){this.initToc(),this.share(),Util.parseHljs(),Util.parseMarkdown();var t=null,e=($(".article").on("dblclick",".vditor-reset img",function(){clearTimeout(t),$(this).hasClass("emoji")||1===$(this).closest(".editor-panel").length||1===$(this).closest(".ad").length||window.open($(this).attr("src"))}).on("click",".vditor-reset img",function(e){var i,n;clearTimeout(t),$(this).hasClass("emoji")||1===$(this).closest(".editor-panel").length||1===$(this).closest(".ad").length||(i=$(this),n=this,t=setTimeout(function(){var e=n.offsetTop,t=n.offsetLeft;1===i.closest(".comments").length&&(e+=i.closest("li")[0].offsetTop,t=t+$(".comments")[0].offsetLeft+15),$("body").append('
    '),$(".img-preview").css({"background-color":"#fff",position:"fixed"})},100))}),$("#articltVia").data("ua")),e=Util.getDeviceByUa(e),e=(""!==e&&$("#articltVia").text("via "+e),$("#revision").dialog({width:500<$(window).width()?500:$(window).width()-50,height:$(window).height()-50,modal:!0,hideFooter:!0}),$("#reportDialog").dialog({width:500<$(window).width()?500:$(window).width()-50,height:450,modal:!0,hideFooter:!0}),this.initAudio(),$(window).scroll(function(){var e=$(window).scrollTop();-1 .module-panel").height($(window).height()-48),$(window).width()<1024)return $(".article-header > h2").removeAttr("style"),0===$("#articleToC").length||$(".article-body .wrapper, #articleCommentsPanel, .article-footer").css("margin-right","auto"),!1;1===$("#articleToC").length&&(e=$("#articleToC").width(),e=($(window).width()-e-$(".article-info").width()-30)/3+e,$(".article-body .wrapper, #articleCommentsPanel, .article-footer").css("margin-right",e+"px")),$(".article-header > h2").css("margin-left",Math.max(20,$(".article-footer").offset().left-58)+"px")}),location.search.split("r=")[1]);e&&sessionStorage.setItem("r",e.split("&")[0])},revision:function(e,n){if(!Label.isLoggedIn)return Util.needLogin(),!1;n=n||"article",$.ajax({url:Label.servePath+"/"+n+"/"+e+"/revisions",cache:!1,success:function(e,t){if(0===e.code){if(0===e.revisions.length||1===e.revisions.length)return $("#revision > .revisions").remove(),$("#revisions").html(""+Label.noRevisionLabel+""),!1;$("#revisions").html("").prev().remove(),$("#revisions").data("revisions",e.revisions).before('
    '+(e.revisions.length-1)+"~"+e.revisions.length+"/"+e.revisions.length+'
    '),e.revisions.length<=2&&$("#revision a").first().addClass("disabled");var i=JsDiff.createPatch("",e.revisions[e.revisions.length-2].revisionData.articleContent||e.revisions[e.revisions.length-2].revisionData.commentContent,e.revisions[e.revisions.length-1].revisionData.articleContent||e.revisions[e.revisions.length-1].revisionData.commentContent,e.revisions[e.revisions.length-2].revisionData.articleTitle||"",e.revisions[e.revisions.length-1].revisionData.articleTitle||"");return new Diff2HtmlUI({diff:i}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0}),Article._revisionsControls(n),!1}Util.alert(e.msg)}}),$("#revision").dialog("open")},_revisionsControls:function(e){var t=$("#revisions").data("revisions");$("#revision a.first").click(function(){var e;$(this).hasClass("disabled")||((e=parseInt($("#revision .revisions").text().split("~")[0]))<=2?$(this).addClass("disabled"):$(this).removeClass("disabled"),2 span").html(e-1+"~"+e+"/"+t.length),e=JsDiff.createPatch("",t[e-2].revisionData.articleContent||t[e-2].revisionData.commentContent,t[e-1].revisionData.articleContent||t[e-1].revisionData.commentContent,t[e-2].revisionData.articleTitle||"",t[e-1].revisionData.articleTitle||""),new Diff2HtmlUI({diff:e}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0}))}),$("#revision a.last").click(function(){var e;$(this).hasClass("disabled")||((e=parseInt($("#revision .revisions span").text().split("~")[0]))>t.length-3?$(this).addClass("disabled"):$(this).removeClass("disabled"),2 span").html(e+1+"~"+(e+2)+"/"+t.length),e=JsDiff.createPatch("",t[e].revisionData.articleContent||t[e].revisionData.commentContent,t[e+1].revisionData.articleContent||t[e+1].revisionData.commentContent,t[e].revisionData.articleTitle||"",t[e+1].revisionData.articleTitle||""),new Diff2HtmlUI({diff:e}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0}))})},share:function(){var e=parseInt($(".article-footer").css("margin-left"))/2-15,r=($(".share").css("left",(e<20?20:e)+"px"),$("#qrCode").data("shareurl"));$("#qrCode").qrcode({width:90,height:90,text:r}),$("body").click(function(){$("#qrCode").slideUp()}),$(".share > span").click(function(){var e=$(this).data("type");if(!e)return!1;if("wechat"===e)return $("#qrCode").slideToggle(),!1;if("copy"===e)return!1;var t=encodeURIComponent(Label.articleTitle+" - "+Label.symphonyLabel),i=encodeURIComponent(r),n=$(".article-info .avatar-mid").css("background-image"),n=(pic=n.substring(5,n.length-2),{});n.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+t+"&url="+i+"&pic="+pic,n.weibo="http://v.t.sina.com.cn/share/share.php?title="+t+"&url="+i+"&pic="+pic,n.google="https://plus.google.com/share?url="+i,n.twitter="https://twitter.com/intent/tweet?status="+t+" "+i,window.open(n[e],"_blank","top=100,left=200,width=648,height=618")}),$("#qrCode").click(function(){$(this).hide()}),$("#shareClipboard").mouseover(function(){$(this).attr("aria-label",Label.copyLabel)}),Util.clipboard($("#shareClipboard"),$("#shareClipboard").next(),function(){$("#shareClipboard").attr("aria-label",Label.copiedLabel)})},reward:function(e){confirm(Label.rewardConfirmLabel)&&$.ajax({url:Label.servePath+"/article/reward?articleId="+e,type:"POST",cache:!1,success:function(e,t){var i,n;if(0===e.code)return $("#articleRewardContent .vditor-reset").html(e.articleRewardContent),Util.parseHljs(),Util.parseMarkdown(),i=$("#articleRewardContent > span"),n=parseInt(i.text()),void i.addClass("ft-red").removeClass("ft-blue").html(n+1+" "+Label.rewardLabel).removeAttr("onclick");Util.alert(e.msg)},error:function(e){Util.needLogin()}})},thankArticle:function(e,t){return Label.isLoggedIn?!(0===t&&!confirm(Label.thankArticleConfirmLabel))&&(Label.currentUserName===Label.articleAuthorName?(Util.alert(Label.thankSelfLabel),!1):void $.ajax({url:Label.servePath+"/article/thank?articleId="+e,type:"POST",cache:!1,success:function(e,t){var i,n,r;if(0===e.code)return n=parseInt($("#thankArticle").text()),$("#thankArticle").removeAttr("onclick").html(''+(n+1)+"").addClass("ft-red").removeClass("ft-blue"),i=$(''),n=$("#thankArticle").offset().top,r=$("#thankArticle").offset().left,i.css({"z-index":9999,top:n-20,left:r,position:"absolute","font-size":16,"-moz-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none"}),$("body").append(i),i.animate({top:n-180,opacity:0},1500,function(){i.remove()}),!1;Util.alert(e.msg)}})):(Util.needLogin(),!1)},stick:function(e){confirm(Label.stickConfirmLabel)&&$.ajax({url:Label.servePath+"/article/stick?articleId="+e,type:"POST",cache:!1,success:function(e,t){Util.alert(e.msg),window.location.href=Label.servePath+"/recent"}})},playThought:function(e){function i(e,t){3===(e=e.split(l)).length&&e.splice(0,0,"");var i=e[0],n=e[2].split("-"),r=e[3].split("-");if(n[0]=parseInt(n[0]),n[1]=parseInt(n[1]),r[0]=parseInt(r[0]),r[1]=parseInt(r[1]),i===d){for(var o=[],a=n[1];r[1],a span"),o=$("#thoughtProgress > svg"),a="#articleThought",s=e.split(t),m=Math.max(s[s.length-2].split(l)[1]/3e4,2);""===s[s.length-1]&&s.pop();for(var h=0,u=0;h").replace(/ /g," ").replace(/ /g,"    ");$(a).data("text",e).html(t)},parseInt(s[h].split(l)[1])/m);for(var f=0,p=parseInt(s[h-1].split(l)[1])/m,v=setInterval(function(){p<=f?(r.width("100%"),o.css("left","100%"),clearInterval(v)):(f+=20,o.css("left",100*f/p+"%"),r.width(100*f/p+"%"))},20),g="",b="",w=0,C=0,y=0;C").replace(/ /g," ").replace(/ /g,"    "),g=k;$(a).html(b),w=Math.max(w,$(a).height())}$("#thoughtProgressPreview").html('
    '+b+"
    "),$("#thoughtProgressPreview").dialog({modal:!0,hideFooter:!0}),o.click(function(){$("#thoughtProgressPreview").dialog("open")}),$(a).html(b).height(w).css("margin-bottom","15px").html("")},initToc:function(){if(0===$("#articleToC").length)return $(".article-header > h2").css("margin-left",Math.max(20,$(".article-footer").offset().left-58)+"px"),$(".article-body .wrapper, #articleCommentsPanel, .article-footer").css("margin-right","auto"),!1;var e=$("#articleToC").width(),e=($(window).width()-e-$(".article-info").width()-30)/3+e,o=($(".article-body .wrapper, #articleCommentsPanel, .article-footer").css("margin-right",e+"px"),$(".article-header > h2").css("margin-left",Math.max(20,$(".article-footer").offset().left-58)+"px"),$("#articleToC > .module-panel").height($(window).height()-48),$("#articleToC")),a=$(".article-toc"),s=$(".article-content [id^=toc]"),l=!1;o.offset().top;toc=[],o.find("li").click(function(){var e=$(this);setTimeout(function(){o.find("li").removeClass("current"),e.addClass("current")},50)}),$(window).scroll(function(e){if(parseInt($("#articleToC").css("right"))<0)return!1;$("#articleToC > .module-panel").height($(window).height()-49),toc=[],s.each(function(e){toc.push({id:this.id,offsetTop:this.offsetTop})});for(var t=$(window).scrollTop(),i=0,n=toc.length;i=toc[toc.length-1].offsetTop-53&&(o.find("li").removeClass("current"),o.find("li:last").addClass("current"));var r=o.find("li.current")[0].offsetTop;l||(a.scrollTop()r-30&&a.scrollTop(r)),setTimeout(function(){l=!1},600)}),$(window).scroll(),a.scrollTop(o.find("li.current")[0].offsetTop).scroll(function(){l=!0})},toggleToc:function(){var e=$("#articleToC");if(0===e.length)return!1;var t=$(".article-header .icon-unordered-list");t.hasClass("ft-red")?(e.animate({right:"-"+$("#articleToC").outerWidth()+"px"}),t.removeClass("ft-red"),$(".article-actions .icon-unordered-list").removeClass("ft-red")):(e.animate({right:0}),t.addClass("ft-red"),$(".article-actions .icon-unordered-list").addClass("ft-red"))},makeNotificationRead:function(e,t){$.ajax({url:Label.servePath+"/notifications/make-read",type:"POST",cache:!1,data:JSON.stringify({articleId:e,commentIds:t})})}};Article.init(),$(document).ready(function(){Comment.init(),ArticleChannel.init(Label.articleChannel),Label.isLoggedIn&&(Article.makeNotificationRead(Label.articleOId,Label.notificationCmtIds),setTimeout(function(){Util.setUnreadNotificationCount()},1e3))}); \ No newline at end of file diff --git a/src/main/resources/js/breezemoon.min.js b/src/main/resources/js/breezemoon.min.js index a2931c85a..e098f578d 100644 --- a/src/main/resources/js/breezemoon.min.js +++ b/src/main/resources/js/breezemoon.min.js @@ -1 +1 @@ -var Breezemoon={csrfToken:"",init:function(){$("#breezemoonInput").keyup(function(e){13===e.keyCode&&Breezemoon.add()}),this.csrfToken=$("#breezemoonBtn").data("csrftoken");var e=$("#breezemoonList");e.on("click",".rm",function(){var e=$(this);Breezemoon.rm(e,e.closest("li").attr("id"))}),e.on("click",".edit",function(){var e=$(this);Breezemoon.toggleUpdate(e,e.closest("li").attr("id"))}),e.find(".ua").each(function(){var e=$(this).data("ua"),t=Util.getDeviceByUa(e);""!==t&&$(this).text("via "+t)})},add:function(){if(Label.isLoggedIn){var e=$("#breezemoonBtn");e.css("opacity",.3).attr("disabled"),$.ajax({url:Label.servePath+"/breezemoon",type:"POST",cache:!1,headers:{csrfToken:this.csrfToken},data:JSON.stringify({breezemoonContent:$("#breezemoonInput").val()}),success:function(e){0===e.code?window.location.reload():alert(e.msg)},complete:function(){e.css("opacity",1).removeAttr("disabled")}})}else alert(Label.reloginLabel)},rm:function(t,e){confirm(Label.confirmRemoveLabel)&&(t.css("opacity",.3).attr("disabled"),$.ajax({url:Label.servePath+"/breezemoon/"+e,type:"DELETE",headers:{csrfToken:this.csrfToken},cache:!1,success:function(e){0===e.code?t.closest("li").remove():alert(e.msg)},complete:function(){t.css("opacity",1).removeAttr("disabled")}}))},toggleUpdate:function(e,t){var o=e.closest("li"),n=o.find(".vditor-reset");if(1===o.find(".form").length)return n.show(),void o.find(".form").remove();n.hide(),n.after('
    "),n.next().find("input").keyup(function(e){13===e.keyCode&&Breezemoon.update(n.next().find("button"),o.attr("id"),$(this).val())}),n.next().find("button").click(function(){Breezemoon.update($(this),o.attr("id"),n.next().find("input").val())})},update:function(t,e,o){t.css("opacity",.3).attr("disabled"),$.ajax({url:Label.servePath+"/breezemoon/"+e,type:"PUT",cache:!1,headers:{csrfToken:this.csrfToken},data:JSON.stringify({breezemoonContent:o}),success:function(e){0===e.code?(t.closest(".form").prev().text(o).show(),t.closest(".form").remove()):alert(e.msg)},complete:function(){t.css("opacity",1).removeAttr("disabled")}})}};$(document).ready(function(){Breezemoon.init()}); \ No newline at end of file +var Breezemoon={csrfToken:"",init:function(){$("#breezemoonInput").keyup(function(e){13===e.keyCode&&Breezemoon.add()}),this.csrfToken=$("#breezemoonBtn").data("csrftoken");var e=$("#breezemoonList");e.on("click",".rm",function(){var e=$(this);Breezemoon.rm(e,e.closest("li").attr("id"))}),e.on("click",".edit",function(){var e=$(this);Breezemoon.toggleUpdate(e,e.closest("li").attr("id"))}),e.find(".ua").each(function(){var e=$(this).data("ua"),e=Util.getDeviceByUa(e);""!==e&&$(this).text("via "+e)})},add:function(){var e;Label.isLoggedIn?((e=$("#breezemoonBtn")).css("opacity",.3).attr("disabled"),$.ajax({url:Label.servePath+"/breezemoon",type:"POST",cache:!1,headers:{csrfToken:this.csrfToken},data:JSON.stringify({breezemoonContent:$("#breezemoonInput").val()}),success:function(e){0===e.code?window.location.reload():alert(e.msg)},complete:function(){e.css("opacity",1).removeAttr("disabled")}})):alert(Label.reloginLabel)},rm:function(t,e){confirm(Label.confirmRemoveLabel)&&(t.css("opacity",.3).attr("disabled"),$.ajax({url:Label.servePath+"/breezemoon/"+e,type:"DELETE",headers:{csrfToken:this.csrfToken},cache:!1,success:function(e){0===e.code?t.closest("li").remove():alert(e.msg)},complete:function(){t.css("opacity",1).removeAttr("disabled")}}))},toggleUpdate:function(e,t){var o=e.closest("li"),n=o.find(".vditor-reset");if(1===o.find(".form").length)return n.show(),void o.find(".form").remove();n.hide(),n.after('
    "),n.next().find("input").keyup(function(e){13===e.keyCode&&Breezemoon.update(n.next().find("button"),o.attr("id"),$(this).val())}),n.next().find("button").click(function(){Breezemoon.update($(this),o.attr("id"),n.next().find("input").val())})},update:function(t,e,o){t.css("opacity",.3).attr("disabled"),$.ajax({url:Label.servePath+"/breezemoon/"+e,type:"PUT",cache:!1,headers:{csrfToken:this.csrfToken},data:JSON.stringify({breezemoonContent:o}),success:function(e){0===e.code?(t.closest(".form").prev().text(o).show(),t.closest(".form").remove()):alert(e.msg)},complete:function(){t.css("opacity",1).removeAttr("disabled")}})}};$(document).ready(function(){Breezemoon.init()}); \ No newline at end of file diff --git a/src/main/resources/js/channel.min.js b/src/main/resources/js/channel.min.js index 909ce0116..a43986fe2 100644 --- a/src/main/resources/js/channel.min.js +++ b/src/main/resources/js/channel.min.js @@ -1 +1 @@ -var ArticleChannel={ws:void 0,init:function(e){ArticleChannel.ws=new ReconnectingWebSocket(e),ArticleChannel.ws.reconnectInterval=1e4,ArticleChannel.ws.onopen=function(){setInterval(function(){ArticleChannel.ws.send("-hb-")},18e4)},ArticleChannel.ws.onmessage=function(e){var n=JSON.parse(e.data);if(Label.articleOId===n.articleId)switch(n.type){case"comment":var t=parseInt($(".comments-header .article-cmt-cnt").text())+1;if($(".comments-header .article-cmt-cnt").text(t+" "+Label.cmtLabel),0===$("#comments .list > ul > li").length&&($(".comment-header > .fn-none").show(),$(".comments-header > .fn-none").show(),$("#articleCommentsPanel").parent().show()),0===Label.userCommentViewMode?$("#comments > .list > ul").append(n.cmtTpl):$("#comments > .list > ul").prepend(n.cmtTpl),$("#"+n.commentId+" .cmt-via").text("via "+Util.getDeviceByUa(n.commentUA)),Label.currentUserName===n.commentAuthorName&&Comment._bgFade($("#"+n.commentId)),""!==n.commentOriginalCommentId){var o=$("#"+n.commentOriginalCommentId),a=o.find(".comment-action > .ft-fade > .fn-pointer");1===a.length?(a.html(" "+(parseInt($.trim(a.text()))+1)+" "+Label.replyLabel+' '),"icon-chevron-up"===a.find("svg").attr("class")&&(a.find("svg").removeClass("icon-chevron-up").addClass("icon-chevron-down").find("use").attr("xlink:href","#chevron-down"),a.click())):o.find(".comment-action > .ft-fade").prepend(' 1 "+Label.replyLabel+' ')}Util.parseHljs(),Util.parseMarkdown();break;case"articleHeat":var i=$("#heatBar"),s=$(".heat");"+"===n.operation?(i.append(''),setTimeout(function(){s.width($(".heat").width()+3),i.find(".point").remove()},2e3)):(s.width($(".heat").width()-3),i.append(''),setTimeout(function(){i.find(".point-remove").remove()},2e3));break;default:console.error("Wrong data [type="+n.type+"]")}},ArticleChannel.ws.onclose=function(){},ArticleChannel.ws.onerror=function(e){console.log(e)}}},ArticleListChannel={ws:void 0,init:function(e){ArticleListChannel.ws=new ReconnectingWebSocket(e),ArticleListChannel.ws.reconnectInterval=1e4,ArticleListChannel.ws.onopen=function(){setInterval(function(){ArticleListChannel.ws.send("-hb-")},18e4)},ArticleListChannel.ws.onmessage=function(e){var o=JSON.parse(e.data);$(".article-list h2 > a[rel=bookmark]").each(function(){var e=$(this).data("id").toString();if(o.articleId===e){var n=$(this).closest("li"),t=n.find(".heat");"+"===o.operation?(n.append(''),setTimeout(function(){t.width(t.width()+3),n.find(".point").remove()},2e3)):(t.width(t.width()-3),n.append(''),setTimeout(function(){n.find(".point-remove").remove()},2e3))}})},ArticleListChannel.ws.onclose=function(){ArticleListChannel.ws.close()},ArticleListChannel.ws.onerror=function(e){console.log("ERROR",e)}}},ChatRoomChannel={ws:void 0,init:function(e){ChatRoomChannel.ws=new ReconnectingWebSocket(e),ChatRoomChannel.ws.reconnectInterval=1e4,ChatRoomChannel.ws.onopen=function(){setInterval(function(){ChatRoomChannel.ws.send("-hb-")},18e4)},ChatRoomChannel.ws.onmessage=function(e){var n=JSON.parse(e.data);switch(n.type){case"online":$("#onlineCnt").text(n.onlineChatCnt);break;case"msg":var t='
  • '+('
    ')+'
    '+(''+n.userName+' • '+n.time+"")+'
    '+n.content+"
  • ";0===$(".list ul li").length?$(".list ul").html(t):$(".list ul li:first").before(t),$(".list").scrollTop()<2*$("li").outerHeight()&&$(".list").animate({scrollTop:0},500),$(".list li:first").fadeIn(2e3)}},ChatRoomChannel.ws.onclose=function(){ChatRoomChannel.ws.close()},ChatRoomChannel.ws.onerror=function(e){console.log("ERROR",e)}}},GobangChannel={ws:void 0,init:function(e){GobangChannel.ws=new ReconnectingWebSocket(e),GobangChannel.ws.reconnectInterval=1e4,GobangChannel.ws.onopen=function(){setInterval(function(){GobangChannel.ws.send("zephyr test")},18e4)},GobangChannel.ws.onmessage=function(e){switch(JSON.parse(e.data).type){case"gobangPlayer":console.log("data.type:>gobangPlayer");break;case"msg":console.log("data.type:>msg")}},GobangChannel.ws.onclose=function(){GobangChannel.ws.close()},GobangChannel.ws.onerror=function(e){console.log("ERROR",e)}}}; \ No newline at end of file +var ArticleChannel={ws:void 0,init:function(e){ArticleChannel.ws=new ReconnectingWebSocket(e),ArticleChannel.ws.reconnectInterval=1e4,ArticleChannel.ws.onopen=function(){setInterval(function(){ArticleChannel.ws.send("-hb-")},18e4)},ArticleChannel.ws.onmessage=function(e){var n=JSON.parse(e.data);if(Label.articleOId===n.articleId)switch(n.type){case"comment":var t,o=parseInt($(".comments-header .article-cmt-cnt").text())+1;$(".comments-header .article-cmt-cnt").text(o+" "+Label.cmtLabel),0===$("#comments .list > ul > li").length&&($(".comment-header > .fn-none").show(),$(".comments-header > .fn-none").show(),$("#articleCommentsPanel").parent().show()),0===Label.userCommentViewMode?$("#comments > .list > ul").append(n.cmtTpl):$("#comments > .list > ul").prepend(n.cmtTpl),$("#"+n.commentId+" .cmt-via").text("via "+Util.getDeviceByUa(n.commentUA)),Label.currentUserName===n.commentAuthorName&&Comment._bgFade($("#"+n.commentId)),""!==n.commentOriginalCommentId&&(1===(t=(o=$("#"+n.commentOriginalCommentId)).find(".comment-action > .ft-fade > .fn-pointer")).length?(t.html(" "+(parseInt($.trim(t.text()))+1)+" "+Label.replyLabel+' '),"icon-chevron-up"===t.find("svg").attr("class")&&(t.find("svg").removeClass("icon-chevron-up").addClass("icon-chevron-down").find("use").attr("xlink:href","#chevron-down"),t.click())):o.find(".comment-action > .ft-fade").prepend(' 1 "+Label.replyLabel+' ')),Util.parseHljs(),Util.parseMarkdown();break;case"articleHeat":var a=$("#heatBar"),i=$(".heat");"+"===n.operation?(a.append(''),setTimeout(function(){i.width($(".heat").width()+3),a.find(".point").remove()},2e3)):(i.width($(".heat").width()-3),a.append(''),setTimeout(function(){a.find(".point-remove").remove()},2e3));break;default:console.error("Wrong data [type="+n.type+"]")}},ArticleChannel.ws.onclose=function(){},ArticleChannel.ws.onerror=function(e){console.log(e)}}},ArticleListChannel={ws:void 0,init:function(e){ArticleListChannel.ws=new ReconnectingWebSocket(e),ArticleListChannel.ws.reconnectInterval=1e4,ArticleListChannel.ws.onopen=function(){setInterval(function(){ArticleListChannel.ws.send("-hb-")},18e4)},ArticleListChannel.ws.onmessage=function(e){var o=JSON.parse(e.data);$(".article-list h2 > a[rel=bookmark]").each(function(){var e,n,t=$(this).data("id").toString();o.articleId===t&&(e=$(this).closest("li"),n=e.find(".heat"),"+"===o.operation?(e.append(''),setTimeout(function(){n.width(n.width()+3),e.find(".point").remove()},2e3)):(n.width(n.width()-3),e.append(''),setTimeout(function(){e.find(".point-remove").remove()},2e3)))})},ArticleListChannel.ws.onclose=function(){ArticleListChannel.ws.close()},ArticleListChannel.ws.onerror=function(e){console.log("ERROR",e)}}},ChatRoomChannel={ws:void 0,init:function(e){ChatRoomChannel.ws=new ReconnectingWebSocket(e),ChatRoomChannel.ws.reconnectInterval=1e4,ChatRoomChannel.ws.onopen=function(){setInterval(function(){ChatRoomChannel.ws.send("-hb-")},18e4)},ChatRoomChannel.ws.onmessage=function(e){var n=JSON.parse(e.data);switch(n.type){case"online":$("#onlineCnt").text(n.onlineChatCnt);break;case"msg":var t='
  • '+('
    ')+'
    '+(''+n.userName+' • '+n.time+"")+'
    '+n.content+"
  • ";0===$(".list ul li").length?$(".list ul").html(t):$(".list ul li:first").before(t),$(".list").scrollTop()<2*$("li").outerHeight()&&$(".list").animate({scrollTop:0},500),$(".list li:first").fadeIn(2e3)}},ChatRoomChannel.ws.onclose=function(){ChatRoomChannel.ws.close()},ChatRoomChannel.ws.onerror=function(e){console.log("ERROR",e)}}},GobangChannel={ws:void 0,init:function(e){GobangChannel.ws=new ReconnectingWebSocket(e),GobangChannel.ws.reconnectInterval=1e4,GobangChannel.ws.onopen=function(){setInterval(function(){GobangChannel.ws.send("zephyr test")},18e4)},GobangChannel.ws.onmessage=function(e){switch(JSON.parse(e.data).type){case"gobangPlayer":console.log("data.type:>gobangPlayer");break;case"msg":console.log("data.type:>msg")}},GobangChannel.ws.onclose=function(){GobangChannel.ws.close()},GobangChannel.ws.onerror=function(e){console.log("ERROR",e)}}}; \ No newline at end of file diff --git a/src/main/resources/js/chat-room.min.js b/src/main/resources/js/chat-room.min.js index 802bf3756..374cd608c 100644 --- a/src/main/resources/js/chat-room.min.js +++ b/src/main/resources/js/chat-room.min.js @@ -1 +1 @@ -var ChatRoom={init:function(){if("mobile"!==$.ua.device.type?$(".list").height($(".side").height()-$(".chat-room .module:first").outerHeight()-20):$(".list").height($(window).height()-173),0===$("#chatContent").length)return!1;ChatRoom.editor=Util.newVditor({id:"chatContent",cache:!0,preview:{mode:"editor"},resize:{enable:!0,position:"bottom"},toolbar:["emoji","headings","bold","italic","link","|","list","ordered-list","check","outdent","indent","|","quote","code","insert-before","insert-after","|","upload","table","|","undo","redo","|",{name:"more",toolbar:["fullscreen","edit-mode","both","preview","outline","content-theme","code-theme","devtools","info","help"]}],height:200,counter:4096,placeholder:"Say sth...",ctrlEnter:function(){ChatRoom.send()}})},send:function(){var e={content:ChatRoom.editor.getValue()};$.ajax({url:Label.servePath+"/chat-room/send",type:"POST",cache:!1,data:JSON.stringify(e),beforeSend:function(){$(".form button.red").attr("disabled","disabled").css("opacity","0.3")},success:function(e){0===e.code?($("#chatContentTip").removeClass("error succ").html(""),ChatRoom.editor.setValue("")):$("#chatContentTip").addClass("error").html("
    • "+e.msg+"
    ")},error:function(e){$("#chatContentTip").addClass("error").html("
    • "+e.statusText+"
    ")},complete:function(e,t){$(".form button.red").removeAttr("disabled").css("opacity","1")}})}}; \ No newline at end of file +var ChatRoom={init:function(){if("mobile"!==$.ua.device.type?$(".list").height($(".side").height()-$(".chat-room .module:first").outerHeight()-20):$(".list").height($(window).height()-173),0===$("#chatContent").length)return!1;ChatRoom.editor=Util.newVditor({id:"chatContent",cache:!0,preview:{mode:"editor"},resize:{enable:!0,position:"bottom"},toolbar:["emoji","headings","bold","italic","link","|","list","ordered-list","check","outdent","indent","|","quote","code","insert-before","insert-after","|","upload","table","|","undo","redo","|",{name:"more",toolbar:["fullscreen","edit-mode","both","preview","outline","content-theme","code-theme","devtools","info","help"]}],height:200,counter:4096,placeholder:"Say sth...",ctrlEnter:function(){ChatRoom.send()}})},send:function(){var e=ChatRoom.editor.getValue();$.ajax({url:Label.servePath+"/chat-room/send",type:"POST",cache:!1,data:JSON.stringify({content:e}),beforeSend:function(){$(".form button.red").attr("disabled","disabled").css("opacity","0.3")},success:function(e){0===e.code?($("#chatContentTip").removeClass("error succ").html(""),ChatRoom.editor.setValue("")):$("#chatContentTip").addClass("error").html("
    • "+e.msg+"
    ")},error:function(e){$("#chatContentTip").addClass("error").html("
    • "+e.statusText+"
    ")},complete:function(e,t){$(".form button.red").removeAttr("disabled").css("opacity","1")}})}}; \ No newline at end of file diff --git a/src/main/resources/js/common.min.js b/src/main/resources/js/common.min.js index d61ffadd8..652d69ea0 100644 --- a/src/main/resources/js/common.min.js +++ b/src/main/resources/js/common.min.js @@ -1 +1 @@ -var Util={LazyLoadImage:function(){function t(e){var t=document.createElement("img");t.src=e.getAttribute("data-src"),t.addEventListener("load",function(){$(e).attr("style")||$(e).attr("class")||$(e).attr("width")||$(e).attr("height")||1!==$(e).closest(".vditor-reset").length||t.naturalHeight>t.naturalWidth&&t.naturalWidth/t.naturalHeight<$(e).closest(".vditor-reset").width()/($(window).height()-40)&&t.naturalHeight>$(window).height()-40&&(e.style.height=$(window).height()-40+"px"),$(e).attr("class")||1!==$(e).closest(".vditor-reset").length||_processPreview($(e)),e.src=t.src,e.style.backgroundImage="none",e.style.backgroundColor="transparent"}),e.removeAttribute("data-src")}if(!("IntersectionObserver"in window))return $("img").each(function(){this.getAttribute("data-src")&&t(this)}),!1;window.imageIntersectionObserver?window.imageIntersectionObserver.disconnect():window.imageIntersectionObserver=new IntersectionObserver(function(e){e.forEach(function(e){(void 0===e.isIntersecting?0!==e.intersectionRatio:e.isIntersecting)&&e.target.getAttribute("data-src")&&t(e.target)})}),$("img").each(function(){window.imageIntersectionObserver.observe(this)})},addStyle:function(e,t){if(!document.getElementById(t)){var a=document.createElement("link");a.id=t,a.setAttribute("rel","stylesheet"),a.setAttribute("type","text/css"),a.setAttribute("href",e),document.getElementsByTagName("head")[0].appendChild(a)}},parseHljs:function(){Vditor.highlightRender({style:"github",enable:!Label.luteAvailable},document)},parseMarkdown:function(){Vditor.mermaidRender(document.body),Vditor.flowchartRender(document.body),Vditor.chartRender(),Vditor.mindmapRender(),Vditor.mathRender(document.body),Vditor.codeRender(document.body,Label.langLabel),Vditor.abcRender(),Vditor.graphvizRender(document.body),Vditor.plantumlRender(document.body);var t=!1;if($(".vditor-reset").each(function(){$(this).find("a").each(function(){var e=$(this).attr("href");e&&".mov"===e.substr(e.length-4).toLowerCase()&&(t=!0)})}),t){function e(){$(".vditor-reset").each(function(){$(this).find("a").each(function(){var e=$(this),t=$(this).attr("href");if(t&&".mov"===t.substr(t.length-4).toLowerCase()){this.style.height="360px",this.style.width="270px",e.removeAttr("href");var a=LivePhotosKit.Player(this);a.photoSrc=Label.staticServePath+"/images/livephoto.png",a.videoSrc=t}})})}"undefined"!=typeof LivePhotosKit?e():$.ajax({method:"GET",url:Label.staticServePath+"/js/lib/livephotoskit.js",dataType:"script",cache:!0}).done(function(){e()})}},prevKey:void 0,clipboard:function(e,t,a){e.click(function(e){t[0].select();try{document.execCommand("copy")?a():console.log("Copy command was unsuccessful")}catch(e){console.log("Oops, unable to copy")}window.getSelection().removeAllRanges()})},closeAlert:function(){var e=$("#alertDialogPanel");e.prev().remove(),e.remove()},alert:function(e){var t;t='
    '+('
    '+e+"
    "),$("body").append(t),$("#alertDialogPanel").css({top:($(window).height()-$("#alertDialogPanel").height())/2+"px",left:($(window).width()-$("#alertDialogPanel").width())/2+"px",outline:"none"}).show().focus()},makeNotificationRead:function(e,a){return $.ajax({url:Label.servePath+"/notifications/make-read/"+e,type:"GET",cache:!1,success:function(e,t){0===e.code&&(Util.setUnreadNotificationCount(!1),$(".notification li").addClass("read"),a&&($(a).prev().remove(),$(a).remove(),0===$(".home-menu .count").length&&$(".module-header:last > span").remove()))}}),!1},_initCommonHotKey:function(){if(!Label.userKeyboardShortcutsStatus||"1"===Label.userKeyboardShortcutsStatus)return!1;function i(e){var t=$(".list > ul > li.focus"),a=0===$(".radio-btn").length?0:48;if(1===t.length){if("top"===e||"bottom"===e)return $(window).scrollTop(t.offset().top-a),!1;($(window).height()+$(window).scrollTop()t.offset().top)&&("down"===e?$(window).scrollTop(t.offset().top-($(window).height()-t.outerHeight())):$(window).scrollTop(t.offset().top-a))}}0===$("#articleTitle").length&&$(document).bind("keydown","c",function(e){return Util.prevKey||(window.location=Label.servePath+"/post?type=0"),!1}),$(document).bind("keyup","g",function(){return Util.prevKey="g",setTimeout(function(){Util.prevKey=void 0},1e3),!1}).bind("keyup","s",function(){return $("#search").focus(),!1}).bind("keyup","t",function(){return void 0===Util.prevKey&&Util.goTop(),!1}).bind("keyup","n",function(e){return"g"===Util.prevKey&&(window.location=Label.servePath+"/notifications"),!1}).bind("keyup","h",function(e){return"g"===Util.prevKey&&(window.location=Label.servePath+"/hot"),!1}).bind("keyup","i",function(e){return"g"===Util.prevKey&&(window.location=Label.servePath),!1}).bind("keyup","r",function(e){return"g"===Util.prevKey&&(window.location=Label.servePath+"/recent"),!1}).bind("keyup","p",function(e){return"g"===Util.prevKey&&(window.location=Label.servePath+"/perfect"),!1}).bind("keyup","Shift+/",function(e){return window.open(Label.servePath+"/about"),!1}).bind("keyup","j",function(e){var t=".content .list:last > ul > ";1===$("#comments").length&&(t="#comments .list > ul > ");var a=$(t+"li.focus");return 0===a.length?$(t+"li:first").addClass("focus"):1===a.next().length&&(a.next().addClass("focus"),a.removeClass("focus")),i("down"),!1}).bind("keyup","k",function(e){var t=".content .list:last > ul > ";1===$("#comments").length&&(t="#comments .list > ul > ");var a=$(t+"li.focus");return 0===a.length?$(t+"li:last").addClass("focus"):1===a.prev().length&&(a.prev().addClass("focus"),a.removeClass("focus")),i("up"),!1}).bind("keyup","f",function(e){var t=".content .list:last > ul > ";return 1===$("#comments").length&&(t="#comments .list > ul > "),$(t+"li.focus").removeClass("focus"),$(t+"li:first").addClass("focus"),i("top"),!1}).bind("keyup","l",function(e){if(Util.prevKey)return!1;var t=".content .list:last > ul > ";return 1===$("#comments").length&&(t="#comments .list > ul > "),$(t+"li.focus").removeClass("focus"),$(t+"li:last").addClass("focus"),i("bottom"),!1}).bind("keyup","o",function(e){if(1===$("#comments").length)return!1;var t=$(".content .list:last > ul > li.focus > h2 > a").attr("href");return(t=(t=t||$(".content .list:last > ul > li.focus .fn-flex-1 > h2 > a").attr("href"))||$(".content .list:last > ul > li.focus h2.fn-flex-1 > a").attr("href"))&&(window.location=t),!1}).bind("keyup","return",function(e){if(1===$("#comments").length)return!1;var t=$(".content .list:last > ul > li.focus > h2 > a").attr("href");return(t=(t=t||$(".content .list:last > ul > li.focus .fn-flex-1 > h2 > a").attr("href"))||$(".content .list:last > ul > li.focus h2.fn-flex-1 > a").attr("href"))&&(window.location=t),!1})},notifyMsg:function(t){if(!("Notification"in window))return!1;function a(e){var t=new Notification(Label.visionLabel,{body:Label.desktopNotificationTemplateLabel.replace("${count}",e),icon:Label.staticServePath+"/images/faviconH.png"});t.onclick=t.onerror=function(){window.location=Label.servePath+"/notifications"}}"granted"===Notification.permission?a(t):"denied"!==Notification.permission&&Notification.requestPermission(function(e){"granted"===e&&a(t)})},processClipBoard:function(e,i){if(""===e.getData("text/html")&&2===e.items.length)return"";var t=!1,a=toMarkdown(e.getData("text/html"),{converters:[{filter:"img",replacement:function(e,t){if(1===t.attributes.length)return"";var a={url:t.src};return $.ajax({url:Label.servePath+"/fetch-upload",type:"POST",data:JSON.stringify(a),cache:!1,success:function(e,t){if(0===e.code){var a=i.getValue();a=a.replace(e.originalURL,e.url),i.setValue(a)}}}),"![]("+t.src+")"}},{filter:["pre","code"],replacement:function(e){return 1With ♥ from '}},[{source:function(e,a){i.search(e,{hitsPerPage:20},function(e,t){e?a([]):a(t.hits,t)})},displayKey:"name",templates:{suggestion:function(e){return e._highlightResult.articleTitle.value}}}]).on("autocomplete:selected",function(e,t,a){window.open(Label.servePath+"/article/"+t.oId)}).bind("keyup","esc",function(){$(this).blur()})},newVditor:function(e){Label.emoji||$.ajax({url:Label.servePath+"/users/emotions",type:"GET",cache:!0,async:!1,success:function(e){Label.emoji={},e.data.forEach(function(e){var t=Object.keys(e)[0];Label.emoji[t]=e[t]})}});var t={outline:e.outline||{enable:!1},after:e.after||void 0,typewriterMode:e.typewriterMode||!1,cache:{enable:e.cache||!1},input:e.input,preview:{delay:500,mode:e.preview.mode,url:Label.servePath+"/markdown",parse:function(e){"none"!==e.style.display&&Util.LazyLoadImage()},hljs:{enable:!Label.luteAvailable}},upload:{max:Label.fileMaxSize,url:Label.servePath+"/upload",linkToImgUrl:Label.servePath+"/fetch-upload",filename:function(e){return e.replace(/\?|\\|\/|:|\||<|>|\*|\[|\]|\s+/g,"-")},accept:".zip,.rar,.7z,.tar,.gzip,.bz2,.jar,.jpg,.jpeg,.png,.gif,.webp,.webm,.bmp,.mp3,.mp4,.wav,.mov,.weba,.mkv"},placeholder:e.placeholder,height:e.height,counter:{enable:!!e.counter,max:e.counter},resize:{enable:e.resize.enable,position:e.resize.position},lang:Label.langLabel,hint:{parse:!1,emojiTail:'设置常用表情',emoji:Label.emoji,extend:[{key:"@",hint:function(a){var i=[];return $.ajax({url:Label.servePath+"/users/names",type:"POST",async:!1,data:JSON.stringify({name:a}),success:function(e){if(0===e.code){for(var t=0;t'+e.data[t].userName});""===a&&i.push({html:' 参与者',value:"@participants "})}else alert(e.msg)}}),i}}]},esc:e.esc,ctrlEnter:e.ctrlEnter};return $(window).width()<768?(t.toolbar=["emoji","link","upload","edit-mode",{name:"more",toolbar:["insert-after","fullscreen","preview","info","help"]}],t.resize.enable=!1):e.toolbar&&(t.toolbar=e.toolbar),new Vditor(e.id,t)},setUnreadNotificationCount:function(o){$.ajax({url:Label.servePath+"/notifications/unread/count",type:"GET",cache:!1,success:function(e,t){function a(e){var t="",a='';return 0'+Label.notificationCommentedLabel+' '+e.unreadCommentedNotificationCnt+""+a.replace("${markReadType}","commented")+""),0'+Label.notificationReplyLabel+' '+e.unreadReplyNotificationCnt+""+a.replace("${markReadType}","reply")+""),0'+Label.notificationAtLabel+' '+e.unreadAtNotificationCnt+""+a.replace("${markReadType}","at")+""),0'+Label.notificationFollowingLabel+' '+e.unreadFollowingNotificationCnt+""+a.replace("${markReadType}","following")+""),0'+Label.pointLabel+' '+e.unreadPointNotificationCnt+""),0'+Label.sameCityLabel+' '+e.unreadBroadcastNotificationCnt+""),0'+Label.systemLabel+' '+e.unreadSysAnnounceNotificationCnt+""),0'+Label.newFollowerLabel+' '+e.unreadNewFollowerNotificationCnt+""),t}var i=e.unreadNotificationCnt;if($.ua.set(navigator.userAgent),$.ua.device.type&&"mobile"===$.ua.device.type){if(0
      '+n+"
    "),$("#aNotifications").click(function(){$("#notificationsPanel").slideToggle()})}else window.localStorage.hadNotificate="false",$("#aNotifications").removeClass("msg").addClass("no-msg").text(i).attr("href",Label.servePath+"/notifications");return!1}if(0
      '+n+"
    "),$("#aNotifications").click(function(){$("#notificationsPanel").show()}),$("body").click(function(e){"aNotifications"!==e.target.id&&"notificationsPanel"!==$(e.target).closest(".module").attr("id")&&$("#notificationsPanel").hide()})}else window.localStorage.hadNotificate="false",$("#notificationsPanel").remove(),$("#aNotifications").removeClass("msg").addClass("no-msg tooltipped tooltipped-w").text(i).attr("href",Label.servePath+"/notifications")}})},follow:function(a,i,n,o){if(!Label.isLoggedIn)return Util.needLogin(),!1;if($(a).hasClass("disabled"))return!1;var e={followingId:i};$(a).addClass("disabled"),$.ajax({url:Label.servePath+"/follow/"+n,type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,t){0===e.code&&($(a).removeClass("disabled"),void 0!==o?"article"===n||"tag"===n?$(a).html(' '+(o+1)).attr("onclick","Util.unfollow(this, '"+i+"', '"+n+"', "+(o+1)+")").attr("aria-label",Label.uncollectLabel).addClass("ft-red"):"article-watch"===n&&$(a).html(' '+(o+1)).attr("onclick","Util.unfollow(this, '"+i+"', '"+n+"', "+(o+1)+")").attr("aria-label",Label.unfollowLabel).addClass("ft-red"):$(a).attr("onclick","Util.unfollow(this, '"+i+"', '"+n+"')").text("article"===n?Label.uncollectLabel:Label.unfollowLabel))},complete:function(){$(a).removeClass("disabled")}})},unfollow:function(a,i,n,o){if($(a).hasClass("disabled"))return!1;var e={followingId:i};$(a).addClass("disabled"),$.ajax({url:Label.servePath+"/unfollow/"+n,type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,t){0===e.code&&(void 0!==o?"article"===n||"tag"===n?$(a).removeClass("ft-red").html(' '+(o-1)).attr("onclick","Util.follow(this, '"+i+"', '"+n+"',"+(o-1)+")").attr("aria-label",Label.collectLabel):"article-watch"===n&&$(a).removeClass("ft-red").html(' '+(o-1)).attr("onclick","Util.follow(this, '"+i+"', '"+n+"',"+(o-1)+")").attr("aria-label",Label.followLabel):$(a).attr("onclick","Util.follow(this, '"+i+"', '"+n+"')").text("article"===n?Label.collectLabel:Label.followLabel))},complete:function(){$(a).removeClass("disabled")}})},goTop:function(){$("html, body").animate({scrollTop:0},800)},goLogin:function(){if(-1===location.href.indexOf("/login")){var e=location.href;0===location.search.indexOf("?goto")&&(e=location.href.replace(location.search,"")),window.location.href=Label.servePath+"/login?goto="+encodeURIComponent(e)}},needLogin:function(){Util.goLogin()},goRegister:function(){if(-1===location.href.indexOf("/register")){var e=location.href;0===location.search.indexOf("?goto")&&(e=location.href.replace(location.search,"")),window.location.href=Label.servePath+"/register?goto="+encodeURIComponent(e)}},_kill:function(){"IE"===$.ua.browser.name&&parseInt($.ua.browser.version)<10&&$.ajax({url:Label.servePath+"/kill-browser",type:"GET",cache:!1,success:function(e,t){$("body").append(e),$("#killBrowser").dialog({modal:!0,hideFooter:!0,height:345,width:600}),$("#killBrowser").dialog("open")}})},_initActivity:function(){var e=$(".person-info"),t=e.data("percent"),a=0,i=0,n=0;t<=25?a=parseInt(t/.25):t<=75?(a=100,i=parseInt((t-25)/2/.25)):t<=100&&(i=a=100,n=parseInt((t-75)/.25)),e.find(".bottom").css({width:a+"%",left:(100-a)/2+"%"}),e.find(".top-left").css({width:parseInt(n/2)+"%",left:0}),e.find(".top-right").css({width:parseInt(n/2)+"%",right:0}),e.find(".left").css({height:i+"%",top:100-i+"%"}),e.find(".right").css({height:i+"%",top:100-i+"%"})},_initBreezemoon:function(t,e,a){0!==t.length&&(e.keypress(function(e){13===e.keyCode&&t.click()}),t.click(function(){a?"disabled"!==t.attr("disabled")&&(t.attr("disabled","disabled").css("opacity","0.3"),$.ajax({url:Label.servePath+"/breezemoon",type:"POST",cache:!1,headers:{csrfToken:$(this).data("csrf")},data:JSON.stringify({breezemoonContent:e.val()}),success:function(e){0===e.code?window.location.reload():Util.alert(e.msg)},complete:function(){t.css("opacity",1).removeAttr("disabled")}})):Util.goLogin()}))},init:function(e){if(this._kill(),this._initNav(),this._initActivity(),1===$(".pagination select").length&&$(".pagination select").change(function(){var e=$(this).data("url")+"?p="+$(this).val();$(this).data("param")&&(e+="&"+$(this).data("param")),window.location.href=e}),$(".nav input.search").focus(function(){$(".nav .tags").css("visibility","hidden")}).blur(function(){$(".nav .tags").css("visibility","visible")}),$(window).scroll(function(){20<$(window).scrollTop()&&0===$(".radio-btn").length?$(".go-top").show():$(".go-top").hide()}),Util.parseMarkdown(),Util.parseHljs(),e&&(window.localStorage.hadNotificate||(window.localStorage.hadNotificate="false"),Util.setUnreadNotificationCount(!0)),$(window).keyup(function(e){27===e.keyCode&&Util.closeAlert()}),this._initBreezemoon($("#breezemoonPostBtn"),$("#breezemoonInput"),e),this._initCommonHotKey(),e)return!1;$("body").click(function(e){0===$(e.target).closest(".nav .form").length&&$(".nav .form").hide()})},initUserChannel:function(e){var t=new ReconnectingWebSocket(e);t.reconnectInterval=1e4,t.onopen=function(){setInterval(function(){t.send("-hb-")},3e5)},t.onmessage=function(e){switch(JSON.parse(e.data).command){case"refreshNotification":Util.setUnreadNotificationCount(!0)}},t.onclose=function(){t.close()},t.onerror=function(e){console.log("ERROR",e)}},_initNav:function(){var e=location.href;$(".user-nav > a").each(function(){0===e.indexOf($(this).attr("href"))?$(this).addClass("current"):"/register"===location.pathname?$(".user-nav a:last").addClass("current"):"/login"===location.pathname?$(".user-nav a:first").addClass("current"):0!==e.indexOf(Label.servePath+"/settings")&&0!==e.indexOf($("#aPersonListPanel").data("url"))||$("#aPersonListPanel").addClass("current")}),$(".nav .avatar-small").parent().click(function(){$("#personListPanel").show()}),$("body").click(function(e){"aPersonListPanel"!==$(e.target).closest("a").attr("id")&&"personListPanel"!==$(e.target).closest(".module").attr("id")&&$("#personListPanel").hide()}),1===$(".nav-tabs a:last").length&&0<$(".nav-tabs a:last")[0].offsetTop&&$(".nav-tabs").mouseover(function(){$(".user-nav").hide()}).mouseout(function(){$(".user-nav").show()})},logout:function(){window.localStorage&&(window.localStorage.clear(),window.localStorage.hadNotificate="false"),window.location.href=Label.servePath+"/logout?goto="+Label.servePath},startsWith:function(e,t){return e.match("^"+t)==t},mouseClickEffects:function(){var r=0;jQuery(document).ready(function(o){o("html").click(function(e){var t,a=18;10==++r?t=o("").text("OωO"):20===r?t=o("").text("(๑•́ ∀ •̀๑)"):30===r?t=o("").text("(๑•́ ₃ •̀๑)"):40===r?t=o("").text("(๑•̀_•́๑)"):50===r?t=o("").text("( ̄へ ̄)"):60===r?t=o("").text("(╯°口°)╯(┴—┴"):70===r?t=o("").text("૮( ᵒ̌皿ᵒ̌ )ა"):80===r?t=o("").text("╮(。>口<。)╭"):90===r?t=o("").text("( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃"):100<=r&&r<=105?t=o("").text("(ꐦ°᷄д°᷅)"):(t=o(''),a=Math.round(14*Math.random()+6));var i=e.pageX,n=e.pageY;t.css({"z-index":9999,top:n-20,left:i,position:"absolute",color:"#E94F06","font-size":a,"-moz-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none"}),o("body").append(t),t.animate({top:n-180,opacity:0},1500,function(){t.remove()})})})}},Validate={goValidate:function(e){for(var t="
      ",a=0;a"+e.data[a].msg+"");return"
        "===t?(e.target.html(""),e.target.removeClass("error"),!0):(e.target.html(t+"
      "),e.target.addClass("error"),!1)},validate:function(e){var t=!0,a="";switch(a="editor"===e.type?e.target.getValue():"imgSrc"===e.type?e.target.attr("src"):"imgStyle"===e.type?e.target.data("imageurl"):e.target.val().toString().replace(/(^\s*)|(\s*$)/g,""),e.type){case"email":/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(e.target.val())||(t=!1);break;case"password":!(e.target.val().length<6||16=(e.min?e.min:0)}return t}},Label={},pngMagic=[137,80,78,71,13,10,26,10],jpeg_jfif=[74,70,73,70],jpeg_exif=[69,120,105,102],jpegMagic=[255,216,255,224],gifMagic0=[71,73,70,56,55,97],getGifMagic1=[71,73,70,56,57,97],wavMagic1=[82,73,70,70],wavMagic2=[87,65,86,69];function arraycopy(e,t,a,n,o){for(i=0;isuccess(): Unable to detect window audio context, cannot continue.")}var o=n.getWindowAudioContextMethod();Audio.recorderObj=new SoundRecorder(o,2048,a,i),Audio.recorderObj.init(e),Audio.recorderObj.recorder.onaudioprocess=function(e){if(Audio.recorderObj.isRecording()){var t=e.inputBuffer.getChannelData(0),a=e.inputBuffer.getChannelData(1);Audio.recorderObj.cloneChannelData(t,a)}},Audio.availabel=!0,r&&r()}},function(e){console.log("getUserMedia->failure(): ERROR: Microphone access request failed!");switch(e.name){case"PermissionDeniedError":Label.recordDeniedLabel;break;case"DevicesNotFoundError":Label.recordDeviceNotFoundLabel;break;default:"ERROR: The following unexpected error occurred while attempting to connect to your microphone: "+e.name}})):console.log("ERROR: getUserMedia not supported by browser.")},handleStartRecording:function(){Audio.recorderObj.startRecordingNewWavFile()},handleStopRecording:function(){Audio.recorderObj.stopRecording(),Audio.wavFileBlob=Audio.recorderObj.buildWavFileBlob()}}; \ No newline at end of file +var Util={LazyLoadImage:function(){function t(e){var t=document.createElement("img");t.src=e.getAttribute("data-src"),t.addEventListener("load",function(){$(e).attr("style")||$(e).attr("class")||$(e).attr("width")||$(e).attr("height")||1!==$(e).closest(".vditor-reset").length||t.naturalHeight>t.naturalWidth&&t.naturalWidth/t.naturalHeight<$(e).closest(".vditor-reset").width()/($(window).height()-40)&&t.naturalHeight>$(window).height()-40&&(e.style.height=$(window).height()-40+"px"),$(e).attr("class")||1!==$(e).closest(".vditor-reset").length||_processPreview($(e)),e.src=t.src,e.style.backgroundImage="none",e.style.backgroundColor="transparent"}),e.removeAttribute("data-src")}if(!("IntersectionObserver"in window))return $("img").each(function(){this.getAttribute("data-src")&&t(this)}),!1;window.imageIntersectionObserver?window.imageIntersectionObserver.disconnect():window.imageIntersectionObserver=new IntersectionObserver(function(e){e.forEach(function(e){(void 0===e.isIntersecting?0!==e.intersectionRatio:e.isIntersecting)&&e.target.getAttribute("data-src")&&t(e.target)})}),$("img").each(function(){window.imageIntersectionObserver.observe(this)})},addStyle:function(e,t){var a;document.getElementById(t)||((a=document.createElement("link")).id=t,a.setAttribute("rel","stylesheet"),a.setAttribute("type","text/css"),a.setAttribute("href",e),document.getElementsByTagName("head")[0].appendChild(a))},parseHljs:function(){Vditor.highlightRender({style:"github",enable:!Label.luteAvailable},document)},parseMarkdown:function(){Vditor.mermaidRender(document.body),Vditor.flowchartRender(document.body),Vditor.chartRender(),Vditor.mindmapRender(),Vditor.mathRender(document.body),Vditor.codeRender(document.body,Label.langLabel),Vditor.abcRender(),Vditor.graphvizRender(document.body),Vditor.plantumlRender(document.body);var e,t=!1;$(".vditor-reset").each(function(){$(this).find("a").each(function(){var e=$(this).attr("href");e&&".mov"===e.substr(e.length-4).toLowerCase()&&(t=!0)})}),t&&(e=function(){$(".vditor-reset").each(function(){$(this).find("a").each(function(){var e=$(this),t=$(this).attr("href");t&&".mov"===t.substr(t.length-4).toLowerCase()&&(this.style.height="360px",this.style.width="270px",e.removeAttr("href"),(e=LivePhotosKit.Player(this)).photoSrc=Label.staticServePath+"/images/livephoto.png",e.videoSrc=t)})})},"undefined"!=typeof LivePhotosKit?e():$.ajax({method:"GET",url:Label.staticServePath+"/js/lib/livephotoskit.js",dataType:"script",cache:!0}).done(function(){e()}))},prevKey:void 0,clipboard:function(e,t,a){e.click(function(e){t[0].select();try{document.execCommand("copy")?a():console.log("Copy command was unsuccessful")}catch(e){console.log("Oops, unable to copy")}window.getSelection().removeAllRanges()})},closeAlert:function(){var e=$("#alertDialogPanel");e.prev().remove(),e.remove()},alert:function(e){e='
      '+('
      '+e+"
      ");$("body").append(e),$("#alertDialogPanel").css({top:($(window).height()-$("#alertDialogPanel").height())/2+"px",left:($(window).width()-$("#alertDialogPanel").width())/2+"px",outline:"none"}).show().focus()},makeNotificationRead:function(e,a){return $.ajax({url:Label.servePath+"/notifications/make-read/"+e,type:"GET",cache:!1,success:function(e,t){0===e.code&&(Util.setUnreadNotificationCount(!1),$(".notification li").addClass("read"),a&&($(a).prev().remove(),$(a).remove(),0===$(".home-menu .count").length&&$(".module-header:last > span").remove()))}}),!1},_initCommonHotKey:function(){if(!Label.userKeyboardShortcutsStatus||"1"===Label.userKeyboardShortcutsStatus)return!1;function i(e){var t=$(".list > ul > li.focus"),a=0===$(".radio-btn").length?0:48;if(1===t.length){if("top"===e||"bottom"===e)return $(window).scrollTop(t.offset().top-a);($(window).height()+$(window).scrollTop()t.offset().top)&&("down"===e?$(window).scrollTop(t.offset().top-($(window).height()-t.outerHeight())):$(window).scrollTop(t.offset().top-a))}}0===$("#articleTitle").length&&$(document).bind("keydown","c",function(e){return Util.prevKey||(window.location=Label.servePath+"/post?type=0"),!1}),$(document).bind("keyup","g",function(){return Util.prevKey="g",setTimeout(function(){Util.prevKey=void 0},1e3),!1}).bind("keyup","s",function(){return $("#search").focus(),!1}).bind("keyup","t",function(){return void 0===Util.prevKey&&Util.goTop(),!1}).bind("keyup","n",function(e){return"g"===Util.prevKey&&(window.location=Label.servePath+"/notifications"),!1}).bind("keyup","h",function(e){return"g"===Util.prevKey&&(window.location=Label.servePath+"/hot"),!1}).bind("keyup","i",function(e){return"g"===Util.prevKey&&(window.location=Label.servePath),!1}).bind("keyup","r",function(e){return"g"===Util.prevKey&&(window.location=Label.servePath+"/recent"),!1}).bind("keyup","p",function(e){return"g"===Util.prevKey&&(window.location=Label.servePath+"/perfect"),!1}).bind("keyup","Shift+/",function(e){return window.open(Label.servePath+"/about"),!1}).bind("keyup","j",function(e){var t=".content .list:last > ul > ",a=(1===$("#comments").length&&(t="#comments .list > ul > "),$(t+"li.focus"));return 0===a.length?$(t+"li:first").addClass("focus"):1===a.next().length&&(a.next().addClass("focus"),a.removeClass("focus")),i("down"),!1}).bind("keyup","k",function(e){var t=".content .list:last > ul > ",a=(1===$("#comments").length&&(t="#comments .list > ul > "),$(t+"li.focus"));return 0===a.length?$(t+"li:last").addClass("focus"):1===a.prev().length&&(a.prev().addClass("focus"),a.removeClass("focus")),i("up"),!1}).bind("keyup","f",function(e){var t=".content .list:last > ul > ";return 1===$("#comments").length&&(t="#comments .list > ul > "),$(t+"li.focus").removeClass("focus"),$(t+"li:first").addClass("focus"),i("top"),!1}).bind("keyup","l",function(e){if(Util.prevKey)return!1;var t=".content .list:last > ul > ";return 1===$("#comments").length&&(t="#comments .list > ul > "),$(t+"li.focus").removeClass("focus"),$(t+"li:last").addClass("focus"),i("bottom"),!1}).bind("keyup","o",function(e){if(1===$("#comments").length)return!1;var t=$(".content .list:last > ul > li.focus > h2 > a").attr("href");return(t=(t=t||$(".content .list:last > ul > li.focus .fn-flex-1 > h2 > a").attr("href"))||$(".content .list:last > ul > li.focus h2.fn-flex-1 > a").attr("href"))&&(window.location=t),!1}).bind("keyup","return",function(e){if(1===$("#comments").length)return!1;var t=$(".content .list:last > ul > li.focus > h2 > a").attr("href");return(t=(t=t||$(".content .list:last > ul > li.focus .fn-flex-1 > h2 > a").attr("href"))||$(".content .list:last > ul > li.focus h2.fn-flex-1 > a").attr("href"))&&(window.location=t),!1})},notifyMsg:function(t){if(!("Notification"in window))return!1;function a(e){(e=new Notification(Label.visionLabel,{body:Label.desktopNotificationTemplateLabel.replace("${count}",e),icon:Label.staticServePath+"/images/faviconH.png"})).onclick=e.onerror=function(){window.location=Label.servePath+"/notifications"}}"granted"===Notification.permission?a(t):"denied"!==Notification.permission&&Notification.requestPermission(function(e){"granted"===e&&a(t)})},processClipBoard:function(e,i){if(""===e.getData("text/html")&&2===e.items.length)return"";var t,a=!1,e=toMarkdown(e.getData("text/html"),{converters:[{filter:"img",replacement:function(e,t){if(1===t.attributes.length)return"";var a={url:t.src};return $.ajax({url:Label.servePath+"/fetch-upload",type:"POST",data:JSON.stringify(a),cache:!1,success:function(e,t){var a;0===e.code&&(a=(a=i.getValue()).replace(e.originalURL,e.url),i.setValue(a))}}),"![]("+t.src+")"}},{filter:["pre","code"],replacement:function(e){return 1With ♥ from '}},[{source:function(e,a){i.search(e,{hitsPerPage:20},function(e,t){e?a([]):a(t.hits,t)})},displayKey:"name",templates:{suggestion:function(e){return e._highlightResult.articleTitle.value}}}]).on("autocomplete:selected",function(e,t,a){window.open(Label.servePath+"/article/"+t.oId)}).bind("keyup","esc",function(){$(this).blur()})},newVditor:function(e){Label.emoji||$.ajax({url:Label.servePath+"/users/emotions",type:"GET",cache:!0,async:!1,success:function(e){Label.emoji={},e.data.forEach(function(e){var t=Object.keys(e)[0];Label.emoji[t]=e[t]})}});var t={outline:e.outline||{enable:!1},after:e.after||void 0,typewriterMode:e.typewriterMode||!1,cache:{enable:e.cache||!1},input:e.input,preview:{delay:500,mode:e.preview.mode,url:Label.servePath+"/markdown",parse:function(e){"none"!==e.style.display&&Util.LazyLoadImage()},hljs:{enable:!Label.luteAvailable}},upload:{max:Label.fileMaxSize,url:Label.servePath+"/upload",linkToImgUrl:Label.servePath+"/fetch-upload",filename:function(e){return e.replace(/\?|\\|\/|:|\||<|>|\*|\[|\]|\s+/g,"-")},accept:".zip,.rar,.7z,.tar,.gzip,.bz2,.jar,.jpg,.jpeg,.png,.gif,.webp,.webm,.bmp,.mp3,.mp4,.wav,.mov,.weba,.mkv"},placeholder:e.placeholder,height:e.height,counter:{enable:!!e.counter,max:e.counter},resize:{enable:e.resize.enable,position:e.resize.position},lang:Label.langLabel,hint:{parse:!1,emojiTail:'设置常用表情',emoji:Label.emoji,extend:[{key:"@",hint:function(a){var i=[];return $.ajax({url:Label.servePath+"/users/names",type:"POST",async:!1,data:JSON.stringify({name:a}),success:function(e){if(0===e.code){for(var t=0;t'+e.data[t].userName});""===a&&i.push({html:' 参与者',value:"@participants "})}else alert(e.msg)}}),i}}]},esc:e.esc,ctrlEnter:e.ctrlEnter};return $(window).width()<768?(t.toolbar=["emoji","link","upload","edit-mode",{name:"more",toolbar:["insert-after","fullscreen","preview","info","help"]}],t.resize.enable=!1):e.toolbar&&(t.toolbar=e.toolbar),new Vditor(e.id,t)},setUnreadNotificationCount:function(o){$.ajax({url:Label.servePath+"/notifications/unread/count",type:"GET",cache:!1,success:function(e,t){function a(e){var t="",a='';return 0'+Label.notificationCommentedLabel+' '+e.unreadCommentedNotificationCnt+""+a.replace("${markReadType}","commented")+""),0'+Label.notificationReplyLabel+' '+e.unreadReplyNotificationCnt+""+a.replace("${markReadType}","reply")+""),0'+Label.notificationAtLabel+' '+e.unreadAtNotificationCnt+""+a.replace("${markReadType}","at")+""),0'+Label.notificationFollowingLabel+' '+e.unreadFollowingNotificationCnt+""+a.replace("${markReadType}","following")+""),0'+Label.pointLabel+' '+e.unreadPointNotificationCnt+""),0'+Label.sameCityLabel+' '+e.unreadBroadcastNotificationCnt+""),0'+Label.systemLabel+' '+e.unreadSysAnnounceNotificationCnt+""),0'+Label.newFollowerLabel+' '+e.unreadNewFollowerNotificationCnt+""),t}var i=e.unreadNotificationCnt;if($.ua.set(navigator.userAgent),$.ua.device.type&&"mobile"===$.ua.device.type){if(0
        '+n+"
      "),$("#aNotifications").click(function(){$("#notificationsPanel").slideToggle()})}else window.localStorage.hadNotificate="false",$("#aNotifications").removeClass("msg").addClass("no-msg").text(i).attr("href",Label.servePath+"/notifications");return!1}if(0
        '+n+"
      "),$("#aNotifications").click(function(){$("#notificationsPanel").show()}),$("body").click(function(e){"aNotifications"!==e.target.id&&"notificationsPanel"!==$(e.target).closest(".module").attr("id")&&$("#notificationsPanel").hide()})}else window.localStorage.hadNotificate="false",$("#notificationsPanel").remove(),$("#aNotifications").removeClass("msg").addClass("no-msg tooltipped tooltipped-w").text(i).attr("href",Label.servePath+"/notifications")}})},follow:function(a,i,n,o){if(!Label.isLoggedIn)return Util.needLogin(),!1;if($(a).hasClass("disabled"))return!1;var e={followingId:i};$(a).addClass("disabled"),$.ajax({url:Label.servePath+"/follow/"+n,type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,t){0===e.code&&($(a).removeClass("disabled"),void 0!==o?"article"===n||"tag"===n?$(a).html(' '+(o+1)).attr("onclick","Util.unfollow(this, '"+i+"', '"+n+"', "+(o+1)+")").attr("aria-label",Label.uncollectLabel).addClass("ft-red"):"article-watch"===n&&$(a).html(' '+(o+1)).attr("onclick","Util.unfollow(this, '"+i+"', '"+n+"', "+(o+1)+")").attr("aria-label",Label.unfollowLabel).addClass("ft-red"):$(a).attr("onclick","Util.unfollow(this, '"+i+"', '"+n+"')").text("article"===n?Label.uncollectLabel:Label.unfollowLabel))},complete:function(){$(a).removeClass("disabled")}})},unfollow:function(a,i,n,o){if($(a).hasClass("disabled"))return!1;var e={followingId:i};$(a).addClass("disabled"),$.ajax({url:Label.servePath+"/unfollow/"+n,type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,t){0===e.code&&(void 0!==o?"article"===n||"tag"===n?$(a).removeClass("ft-red").html(' '+(o-1)).attr("onclick","Util.follow(this, '"+i+"', '"+n+"',"+(o-1)+")").attr("aria-label",Label.collectLabel):"article-watch"===n&&$(a).removeClass("ft-red").html(' '+(o-1)).attr("onclick","Util.follow(this, '"+i+"', '"+n+"',"+(o-1)+")").attr("aria-label",Label.followLabel):$(a).attr("onclick","Util.follow(this, '"+i+"', '"+n+"')").text("article"===n?Label.collectLabel:Label.followLabel))},complete:function(){$(a).removeClass("disabled")}})},goTop:function(){$("html, body").animate({scrollTop:0},800)},goLogin:function(){var e;-1===location.href.indexOf("/login")&&(e=location.href,0===location.search.indexOf("?goto")&&(e=location.href.replace(location.search,"")),window.location.href=Label.servePath+"/login?goto="+encodeURIComponent(e))},needLogin:function(){Util.goLogin()},goRegister:function(){var e;-1===location.href.indexOf("/register")&&(e=location.href,0===location.search.indexOf("?goto")&&(e=location.href.replace(location.search,"")),window.location.href=Label.servePath+"/register?goto="+encodeURIComponent(e))},_kill:function(){"IE"===$.ua.browser.name&&parseInt($.ua.browser.version)<10&&$.ajax({url:Label.servePath+"/kill-browser",type:"GET",cache:!1,success:function(e,t){$("body").append(e),$("#killBrowser").dialog({modal:!0,hideFooter:!0,height:345,width:600}),$("#killBrowser").dialog("open")}})},_initActivity:function(){var e=$(".person-info"),t=e.data("percent"),a=0,i=0,n=0;t<=25?a=parseInt(t/.25):t<=75?(a=100,i=parseInt((t-25)/2/.25)):t<=100&&(i=a=100,n=parseInt((t-75)/.25)),e.find(".bottom").css({width:a+"%",left:(100-a)/2+"%"}),e.find(".top-left").css({width:parseInt(n/2)+"%",left:0}),e.find(".top-right").css({width:parseInt(n/2)+"%",right:0}),e.find(".left").css({height:i+"%",top:100-i+"%"}),e.find(".right").css({height:i+"%",top:100-i+"%"})},_initBreezemoon:function(t,e,a){0!==t.length&&(e.keypress(function(e){13===e.keyCode&&t.click()}),t.click(function(){a?"disabled"!==t.attr("disabled")&&(t.attr("disabled","disabled").css("opacity","0.3"),$.ajax({url:Label.servePath+"/breezemoon",type:"POST",cache:!1,headers:{csrfToken:$(this).data("csrf")},data:JSON.stringify({breezemoonContent:e.val()}),success:function(e){0===e.code?window.location.reload():Util.alert(e.msg)},complete:function(){t.css("opacity",1).removeAttr("disabled")}})):Util.goLogin()}))},init:function(e){if(this._kill(),this._initNav(),this._initActivity(),1===$(".pagination select").length&&$(".pagination select").change(function(){var e=$(this).data("url")+"?p="+$(this).val();$(this).data("param")&&(e+="&"+$(this).data("param")),window.location.href=e}),$(".nav input.search").focus(function(){$(".nav .tags").css("visibility","hidden")}).blur(function(){$(".nav .tags").css("visibility","visible")}),$(window).scroll(function(){20<$(window).scrollTop()&&0===$(".radio-btn").length?$(".go-top").show():$(".go-top").hide()}),Util.parseMarkdown(),Util.parseHljs(),e&&(window.localStorage.hadNotificate||(window.localStorage.hadNotificate="false"),Util.setUnreadNotificationCount(!0)),$(window).keyup(function(e){27===e.keyCode&&Util.closeAlert()}),this._initBreezemoon($("#breezemoonPostBtn"),$("#breezemoonInput"),e),this._initCommonHotKey(),e)return!1;$("body").click(function(e){0===$(e.target).closest(".nav .form").length&&$(".nav .form").hide()})},initUserChannel:function(e){var t=new ReconnectingWebSocket(e);t.reconnectInterval=1e4,t.onopen=function(){setInterval(function(){t.send("-hb-")},3e5)},t.onmessage=function(e){"refreshNotification"===JSON.parse(e.data).command&&Util.setUnreadNotificationCount(!0)},t.onclose=function(){t.close()},t.onerror=function(e){console.log("ERROR",e)}},_initNav:function(){var e=location.href;$(".user-nav > a").each(function(){0===e.indexOf($(this).attr("href"))?$(this).addClass("current"):"/register"===location.pathname?$(".user-nav a:last").addClass("current"):"/login"===location.pathname?$(".user-nav a:first").addClass("current"):0!==e.indexOf(Label.servePath+"/settings")&&0!==e.indexOf($("#aPersonListPanel").data("url"))||$("#aPersonListPanel").addClass("current")}),$(".nav .avatar-small").parent().click(function(){$("#personListPanel").show()}),$("body").click(function(e){"aPersonListPanel"!==$(e.target).closest("a").attr("id")&&"personListPanel"!==$(e.target).closest(".module").attr("id")&&$("#personListPanel").hide()}),1===$(".nav-tabs a:last").length&&0<$(".nav-tabs a:last")[0].offsetTop&&$(".nav-tabs").mouseover(function(){$(".user-nav").hide()}).mouseout(function(){$(".user-nav").show()})},logout:function(){window.localStorage&&(window.localStorage.clear(),window.localStorage.hadNotificate="false"),window.location.href=Label.servePath+"/logout?goto="+Label.servePath},startsWith:function(e,t){return e.match("^"+t)==t},mouseClickEffects:function(){var o=0;jQuery(document).ready(function(n){n("html").click(function(e){var t,a=18,i=(10==++o?t=n("").text("OωO"):20===o?t=n("").text("(๑•́ ∀ •̀๑)"):30===o?t=n("").text("(๑•́ ₃ •̀๑)"):40===o?t=n("").text("(๑•̀_•́๑)"):50===o?t=n("").text("( ̄へ ̄)"):60===o?t=n("").text("(╯°口°)╯(┴—┴"):70===o?t=n("").text("૮( ᵒ̌皿ᵒ̌ )ა"):80===o?t=n("").text("╮(。>口<。)╭"):90===o?t=n("").text("( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃"):100<=o&&o<=105?t=n("").text("(ꐦ°᷄д°᷅)"):(t=n(''),a=Math.round(14*Math.random()+6)),e.pageX),e=e.pageY;t.css({"z-index":9999,top:e-20,left:i,position:"absolute",color:"#E94F06","font-size":a,"-moz-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none"}),n("body").append(t),t.animate({top:e-180,opacity:0},1500,function(){t.remove()})})})}},Validate={goValidate:function(e){for(var t="
        ",a=0;a"+e.data[a].msg+"");return"
          "===t?(e.target.html(""),e.target.removeClass("error"),!0):(e.target.html(t+"
        "),e.target.addClass("error"),!1)},validate:function(e){var t=!0,a="",a="editor"===e.type?e.target.getValue():"imgSrc"===e.type?e.target.attr("src"):"imgStyle"===e.type?e.target.data("imageurl"):e.target.val().toString().replace(/(^\s*)|(\s*$)/g,"");switch(e.type){case"email":/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(e.target.val())||(t=!1);break;case"password":!(e.target.val().length<6||16=(e.min||0)}return t}},Label={},pngMagic=[137,80,78,71,13,10,26,10],jpeg_jfif=[74,70,73,70],jpeg_exif=[69,120,105,102],jpegMagic=[255,216,255,224],gifMagic0=[71,73,70,56,55,97],getGifMagic1=[71,73,70,56,57,97],wavMagic1=[82,73,70,70],wavMagic2=[87,65,86,69];function arraycopy(e,t,a,n,o){for(i=0;isuccess(): Unable to detect window audio context, cannot continue.")},function(e){console.log("getUserMedia->failure(): ERROR: Microphone access request failed!");switch(e.name){case"PermissionDeniedError":Label.recordDeniedLabel;break;case"DevicesNotFoundError":Label.recordDeviceNotFoundLabel;break;default:e.name}})):console.log("ERROR: getUserMedia not supported by browser.")},handleStartRecording:function(){Audio.recorderObj.startRecordingNewWavFile()},handleStopRecording:function(){Audio.recorderObj.stopRecording(),Audio.wavFileBlob=Audio.recorderObj.buildWavFileBlob()}}; \ No newline at end of file diff --git a/src/main/resources/js/eating-snake.min.js b/src/main/resources/js/eating-snake.min.js index 7b38cd5e2..e331908ec 100644 --- a/src/main/resources/js/eating-snake.min.js +++ b/src/main/resources/js/eating-snake.min.js @@ -1 +1 @@ -var EatingSnake={dir:null,lastDir:null,map:null,food:null,R:10,size:30,snake:null,isPause:!1,snakeCanvas:null,interval:null,currTime:200,stepTime:5,baseLen:6,startTime:null,endTime:null,countTime:null,snakeColor:0,appleColor:255,setupMap:function(){for(var a=1;a<=EatingSnake.size;a++){EatingSnake.map[a]=new Array;for(var n=1;n<=EatingSnake.size;n++)1==a||a==EatingSnake.size||1==n||n==EatingSnake.size?EatingSnake.map[a][n]=3:EatingSnake.map[a][n]=0}},initMap:function(a){EatingSnake.snakeCanvas=document.getElementById(a).getContext("2d"),EatingSnake.map=new Array,EatingSnake.setupMap(),null!=EatingSnake.snakeCanvas&&EatingSnake.snakeCanvas.clearRect(0,0,2*(EatingSnake.size-1)*EatingSnake.R,2*(EatingSnake.size-1)*EatingSnake.R);for(var n=1;n<=EatingSnake.size;n++)for(var e=1;e<=EatingSnake.size;e++)switch(EatingSnake.map[n][e]){case 0:EatingSnake.snakeCanvas.strokeStyle="gray",EatingSnake.snakeCanvas.strokeRect(2*(n-1)*EatingSnake.R,2*(e-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 1:EatingSnake.snakeCanvas.fillStyle="rgb("+EatingSnake.snakeColor+",0,0)",EatingSnake.snakeCanvas.fillRect(2*(n-1)*EatingSnake.R,2*(e-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 2:EatingSnake.snakeCanvas.fillStyle="rgb("+EatingSnake.appleColor+",0,0)",EatingSnake.snakeCanvas.fillRect(2*(n-1)*EatingSnake.R,2*(e-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 3:EatingSnake.snakeCanvas.fillStyle="gray",EatingSnake.snakeCanvas.fillRect(2*(n-1)*EatingSnake.R,2*(e-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R)}},drawMap:function(){EatingSnake.snakeCanvas.clearRect(0,0,2*(EatingSnake.size-1)*EatingSnake.R,2*(EatingSnake.size-1)*EatingSnake.R);for(var a=1;a<=EatingSnake.size;a++)for(var n=1;n<=EatingSnake.size;n++)switch(EatingSnake.map[a][n]){case 0:EatingSnake.snakeCanvas.strokeStyle="gray",EatingSnake.snakeCanvas.strokeRect(2*(a-1)*EatingSnake.R,2*(n-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 1:EatingSnake.snakeCanvas.fillStyle="black",EatingSnake.snakeCanvas.fillRect(2*(a-1)*EatingSnake.R,2*(n-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 2:EatingSnake.snakeCanvas.fillStyle="red",EatingSnake.snakeCanvas.fillRect(2*(a-1)*EatingSnake.R,2*(n-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 3:EatingSnake.snakeCanvas.fillStyle="gray",EatingSnake.snakeCanvas.fillRect(2*(a-1)*EatingSnake.R,2*(n-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R)}},check:function(a,n){return 0!=EatingSnake.map[a][n]},setupSnake:function(){for(var a=1;a<=5;a++)EatingSnake.snake[a]={x:a+5,y:7}},drawSnake:function(a){for(var n=1;n
      • "+a.msg+"
      "),$("#tip").show(),setTimeout(function(){$("#tip").hide()},3e3)}})}}; \ No newline at end of file +var EatingSnake={dir:null,lastDir:null,map:null,food:null,R:10,size:30,snake:null,isPause:!1,snakeCanvas:null,interval:null,currTime:200,stepTime:5,baseLen:6,startTime:null,endTime:null,countTime:null,snakeColor:0,appleColor:255,setupMap:function(){for(var a=1;a<=EatingSnake.size;a++){EatingSnake.map[a]=new Array;for(var n=1;n<=EatingSnake.size;n++)1==a||a==EatingSnake.size||1==n||n==EatingSnake.size?EatingSnake.map[a][n]=3:EatingSnake.map[a][n]=0}},initMap:function(a){EatingSnake.snakeCanvas=document.getElementById(a).getContext("2d"),EatingSnake.map=new Array,EatingSnake.setupMap(),null!=EatingSnake.snakeCanvas&&EatingSnake.snakeCanvas.clearRect(0,0,2*(EatingSnake.size-1)*EatingSnake.R,2*(EatingSnake.size-1)*EatingSnake.R);for(var n=1;n<=EatingSnake.size;n++)for(var e=1;e<=EatingSnake.size;e++)switch(EatingSnake.map[n][e]){case 0:EatingSnake.snakeCanvas.strokeStyle="gray",EatingSnake.snakeCanvas.strokeRect(2*(n-1)*EatingSnake.R,2*(e-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 1:EatingSnake.snakeCanvas.fillStyle="rgb("+EatingSnake.snakeColor+",0,0)",EatingSnake.snakeCanvas.fillRect(2*(n-1)*EatingSnake.R,2*(e-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 2:EatingSnake.snakeCanvas.fillStyle="rgb("+EatingSnake.appleColor+",0,0)",EatingSnake.snakeCanvas.fillRect(2*(n-1)*EatingSnake.R,2*(e-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 3:EatingSnake.snakeCanvas.fillStyle="gray",EatingSnake.snakeCanvas.fillRect(2*(n-1)*EatingSnake.R,2*(e-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R)}},drawMap:function(){EatingSnake.snakeCanvas.clearRect(0,0,2*(EatingSnake.size-1)*EatingSnake.R,2*(EatingSnake.size-1)*EatingSnake.R);for(var a=1;a<=EatingSnake.size;a++)for(var n=1;n<=EatingSnake.size;n++)switch(EatingSnake.map[a][n]){case 0:EatingSnake.snakeCanvas.strokeStyle="gray",EatingSnake.snakeCanvas.strokeRect(2*(a-1)*EatingSnake.R,2*(n-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 1:EatingSnake.snakeCanvas.fillStyle="black",EatingSnake.snakeCanvas.fillRect(2*(a-1)*EatingSnake.R,2*(n-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 2:EatingSnake.snakeCanvas.fillStyle="red",EatingSnake.snakeCanvas.fillRect(2*(a-1)*EatingSnake.R,2*(n-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R);break;case 3:EatingSnake.snakeCanvas.fillStyle="gray",EatingSnake.snakeCanvas.fillRect(2*(a-1)*EatingSnake.R,2*(n-1)*EatingSnake.R,2*EatingSnake.R,2*EatingSnake.R)}},check:function(a,n){return 0!=EatingSnake.map[a][n]},setupSnake:function(){for(var a=1;a<=5;a++)EatingSnake.snake[a]={x:a+5,y:7}},drawSnake:function(a){for(var n=1;n
    • "+a.msg+"
    "),$("#tip").show(),setTimeout(function(){$("#tip").hide()},3e3)}})}}; \ No newline at end of file diff --git a/src/main/resources/js/gobang.min.js b/src/main/resources/js/gobang.min.js index b76eaae0c..e3714fd90 100644 --- a/src/main/resources/js/gobang.min.js +++ b/src/main/resources/js/gobang.min.js @@ -1 +1 @@ -var Gobang={unitSize:30,chessLength:600,initGobang:function(a){confirm(Label.activityStartGobangTipLabel)&&($.ajax({url:Label.servePath+"/activity/gobang/start",type:"POST",cache:!1,success:function(n){0===n.code?(GobangChannel.init(a+"/gobang-game-channel?player="+Label.currentUserName),$(".side button.green").hide(),$(".side button.red, #chatInput").show()):$(".side ul").prepend("
  • "+n.msg+"")}}),$("#chatInput").keyup(function(n){if(""===$.trim($("#chatInput").val()))return!1;13===n.keyCode&&Gobang.chatSend()}))},drawChessBoard:function(){Gobang.chessCanvas.fillStyle="rgb(255,229,143)",Gobang.chessCanvas.fillRect(0,0,Gobang.chessLength,Gobang.chessLength),Gobang.chessCanvas.strokeStyle="black",Gobang.chessCanvas.lineWidth=10,Gobang.chessCanvas.strokeRect(0,0,Gobang.chessLength,Gobang.chessLength);for(var n=Gobang.chessCanvas.lineWidth=1;n"+Label.currentUserName+": "+$("#chatInput").val()+"
  • "),GobangChannel.ws.send(JSON.stringify(n)),$("#chatInput").val("")},moveChess:function(n){var a=Gobang.getMousePos(document.getElementById("gobangCanvas"),n);Gobang.getChessManPoint(a,$("#gobangCanvas").data("player"))},drawChess:function(n){for(var a=1;a"+a.player+": "+a.message+"");break;case 2:Gobang.drawChess(a.chess),Gobang.drawChessMan(a.posX,a.posY,5,"red"),null!=a.result&&""!=a.result&&(Util.alert(a.result),document.getElementById("gobangCanvas").removeEventListener("click",Gobang.moveChess),$(".side button.green").show(),$(".side button.red").hide(),$(".side ul").prepend("
  • GG
  • "));break;case 3:$(".side ul").prepend("
  • "+a.message+"
  • ");break;case 4:$(".side ul").prepend("
  • "+a.message+"
  • "),$("#gobangCanvas").data("player",a.player);break;case 5:$(".side ul").prepend("
  • "+a.message+"
  • "),$("#gobangCanvas").data("player",a.player),Gobang.drawChess(a.chess);break;case 6:$(".side ul").prepend("
  • "+a.message+"
  • ");break;case 7:var e={type:7,player:$("#gobangCanvas").data("player"),drawType:""};confirm(Label.activityAskForDrawLabel)?e.drawType="yes":e.drawType="no",GobangChannel.ws.send(JSON.stringify(e))}},GobangChannel.ws.onclose=function(){GobangChannel.ws.close()},GobangChannel.ws.onerror=function(n){console.log("ERROR",n)}}}; \ No newline at end of file +var Gobang={unitSize:30,chessLength:600,initGobang:function(e){confirm(Label.activityStartGobangTipLabel)&&($.ajax({url:Label.servePath+"/activity/gobang/start",type:"POST",cache:!1,success:function(n){0===n.code?(GobangChannel.init(e+"/gobang-game-channel?player="+Label.currentUserName),$(".side button.green").hide(),$(".side button.red, #chatInput").show()):$(".side ul").prepend("
  • "+n.msg+"")}}),$("#chatInput").keyup(function(n){if(""===$.trim($("#chatInput").val()))return!1;13===n.keyCode&&Gobang.chatSend()}))},drawChessBoard:function(){Gobang.chessCanvas.fillStyle="rgb(255,229,143)",Gobang.chessCanvas.fillRect(0,0,Gobang.chessLength,Gobang.chessLength),Gobang.chessCanvas.strokeStyle="black",Gobang.chessCanvas.lineWidth=10,Gobang.chessCanvas.strokeRect(0,0,Gobang.chessLength,Gobang.chessLength);for(var n=Gobang.chessCanvas.lineWidth=1;n"+Label.currentUserName+": "+$("#chatInput").val()+"
  • "),GobangChannel.ws.send(JSON.stringify(n)),$("#chatInput").val("")},moveChess:function(n){n=Gobang.getMousePos(document.getElementById("gobangCanvas"),n);Gobang.getChessManPoint(n,$("#gobangCanvas").data("player"))},drawChess:function(n){for(var e=1;e"+e.player+": "+e.message+"");break;case 2:Gobang.drawChess(e.chess),Gobang.drawChessMan(e.posX,e.posY,5,"red"),null!=e.result&&""!=e.result&&(Util.alert(e.result),document.getElementById("gobangCanvas").removeEventListener("click",Gobang.moveChess),$(".side button.green").show(),$(".side button.red").hide(),$(".side ul").prepend("
  • GG
  • "));break;case 3:$(".side ul").prepend("
  • "+e.message+"
  • ");break;case 4:$(".side ul").prepend("
  • "+e.message+"
  • "),$("#gobangCanvas").data("player",e.player);break;case 5:$(".side ul").prepend("
  • "+e.message+"
  • "),$("#gobangCanvas").data("player",e.player),Gobang.drawChess(e.chess);break;case 6:$(".side ul").prepend("
  • "+e.message+"
  • ");break;case 7:var a={type:7,player:$("#gobangCanvas").data("player"),drawType:""};confirm(Label.activityAskForDrawLabel)?a.drawType="yes":a.drawType="no",GobangChannel.ws.send(JSON.stringify(a))}},GobangChannel.ws.onclose=function(){GobangChannel.ws.close()},GobangChannel.ws.onerror=function(n){console.log("ERROR",n)}}}; \ No newline at end of file diff --git a/src/main/resources/js/lib/compress/article-libs.min.js b/src/main/resources/js/lib/compress/article-libs.min.js index 7660f0eae..35f8bd20f 100644 --- a/src/main/resources/js/lib/compress/article-libs.min.js +++ b/src/main/resources/js/lib/compress/article-libs.min.js @@ -1,6 +1,6 @@ -function RecordingMode(e,n){var t=e,i=n;this.getSampleRate=function(){return t},this.getChannelCount=function(){return i}}var PredefinedChannelCounts={MONO:1,STEREO:2},PredefinedSamplingRates={SAMPLE_RATE_48_KHZ:48e3,SAMPLE_RATE_44_1_KHZ:44100,SAMPLE_RATE_32_KHZ:32e3,SAMPLE_RATE_22_05_KHZ:22050,SAMPLE_RATE_11_025_KHZ:11025,SAMPLE_RATE_8_KHZ:8e3,SAMPLE_RATE_5_KHZ:5e3},PredefinedRecordingModes={MONO_48_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_48_KHZ,PredefinedChannelCounts.MONO),MONO_44_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_44_1_KHZ,PredefinedChannelCounts.MONO),MONO_32_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_32_KHZ,PredefinedChannelCounts.MONO),MONO_22_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_22_05_KHZ,PredefinedChannelCounts.MONO),MONO_11_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_11_025_KHZ,PredefinedChannelCounts.MONO),MONO_8_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_8_KHZ,PredefinedChannelCounts.MONO),MONO_5_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_5_KHZ,PredefinedChannelCounts.MONO),STEREO_48_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_48_KHZ,PredefinedChannelCounts.STEREO),STEREO_44_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_44_1_KHZ,PredefinedChannelCounts.STEREO),STEREO_32_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_32_KHZ,PredefinedChannelCounts.STEREO),STEREO_22_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_22_05_KHZ,PredefinedChannelCounts.STEREO),STEREO_11_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_11_025_KHZ,PredefinedChannelCounts.STEREO),STEREO_8_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_8_KHZ,PredefinedChannelCounts.STEREO),STEREO_5_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_5_KHZ,PredefinedChannelCounts.STEREO)};function WavFileBlob(e){this.dataBlob=new Blob([e],{type:"audio/wav"}),this.NAME_PREFIX="output",this.EXTENSION=".wav",this.generateFileName=function(){return this.generateFileNameWithoutExtension()+this.EXTENSION},this.generateFileNameWithoutExtension=function(){return this.NAME_PREFIX+Date.now()},this.getDataBlob=function(){return this.dataBlob},this.downloadLocally=function(){var e=(window.URL||window.webkitURL).createObjectURL(this.dataBlob),n=this.generateFileName(),t=window.document.createElement("a");t.href=e,t.download=n,t.target="_blank";var i=document.defaultView,r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,i,1,0,0,0,0,!1,!1,!1,!1,0,null),t.dispatchEvent(r)},this.sendToURL=function(e,n,t,i){if(e&&"string"==typeof e&&""!==e){(window.URL||window.webkitURL).createObjectURL(this.dataBlob);var r=new FormData;r.append("file",this.dataBlob),r.append("file_name",this.generateFileNameWithoutExtension()),r.append("file_extension",this.EXTENSION),$.ajax({url:e,type:"POST",data:r,contentType:!1,processData:!1,success:function(e){n&&n(e)},error:function(e){t&&t(e)},xhr:function(){var e=new window.XMLHttpRequest;return e.upload.addEventListener("progress",function(e){if(e.lengthComputable){var n=e.loaded/e.total;i&&i(n)}},!1),e.addEventListener("progress",function(e){if(e.lengthComputable){var n=e.loaded/e.total;i&&i(n)}},!1),e}})}}}function SoundRecorder(e,n,t,i){var r=n,f=t,E=null,h=i,o=!1,a=!1,d=e,s=null,u=null,R=[],g=[],l=0;this.recorder=null,this.cloneChannelData=function(e,n){R.push(new Float32Array(e)),g.push(new Float32Array(n)),l+=r},this.init=function(e){a=!1,isNaN(f)||isNaN(r)||d&&(s=new d,E=s.sampleRate,u=s.createGain(),s.createMediaStreamSource(e).connect(u),this.recorder=s.createScriptProcessor(r,2,h),this.recorder.onaudioprocess=null,u.connect(this.recorder),this.recorder.connect(s.destination),a=!0)},this.isRecording=function(){return!0===o},this.startRecordingNewWavFile=function(){!0===this.isReady()&&(_(),O())},this.isReady=function(){var e=!1;return e=!!this.recorder.onaudioprocess,a&&e},this.stopRecording=function(){c()},this.buildWavFileBlob=function(){var e=1==h?1:2,n=2*f*e,t=2*e,i=A(R),r=A(g),o=1==h?w(i,r):M(i,r);f>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=o}for(r=0;r<18;r++)o=!t&&1==(e>>r&1),this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=o},setupTypeInfo:function(t,e){for(var r=d.getBCHTypeInfo(this.errorCorrectLevel<<3|e),o=0;o<15;o++){var n=!t&&1==(r>>o&1);o<6?this.modules[o][8]=n:o<8?this.modules[o+1][8]=n:this.modules[this.moduleCount-15+o][8]=n}for(o=0;o<15;o++)n=!t&&1==(r>>o&1),o<8?this.modules[8][this.moduleCount-o-1]=n:o<9?this.modules[8][15-o-1+1]=n:this.modules[8][15-o-1]=n;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var r=-1,o=this.moduleCount-1,n=7,i=0,s=this.moduleCount-1;0>>n&1)),d.getMask(e,o,s-u)&&(a=!a),this.modules[o][s-u]=a,-1==--n&&(i++,n=7)}if((o+=r)<0||this.moduleCount<=o){o-=r,r=-r;break}}}},l.PAD0=236,l.PAD1=17,l.createData=function(t,e,r){e=f.getRSBlocks(t,e);for(var o=new s,n=0;n8*t)throw Error("code length overflow. ("+o.getLengthInBits()+">"+8*t+")");for(o.getLengthInBits()+4<=8*t&&o.put(0,4);0!=o.getLengthInBits()%8;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*t)&&(o.put(l.PAD0,8),!(o.getLengthInBits()>=8*t));)o.put(l.PAD1,8);return l.createBytes(o,e)},l.createBytes=function(t,e){for(var r=0,o=0,n=0,i=Array(e.length),s=Array(e.length),u=0;u>>=1;return e},getPatternPosition:function(t){return d.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case 0:return 0==(e+r)%2;case 1:return 0==e%2;case 2:return 0==r%3;case 3:return 0==(e+r)%3;case 4:return 0==(Math.floor(e/2)+Math.floor(r/3))%2;case 5:return 0==e*r%2+e*r%3;case 6:return 0==(e*r%2+e*r%3)%2;case 7:return 0==(e*r%3+(e+r)%2)%2;default:throw Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new g([1],0),r=0;r>>7-t%8&1)},put:function(t,e){for(var r=0;r>>e-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},"string"==typeof h&&(h={text:h}),h=c.extend({},{render:"canvas",width:256,height:256,typeNumber:-1,correctLevel:2,background:"#ffffff",foreground:"#000000"},h),this.each(function(){var t;if("canvas"==h.render){(t=new l(h.typeNumber,h.correctLevel)).addData(h.text),t.make();var e=document.createElement("canvas");e.width=h.width,e.height=h.height;for(var r=e.getContext("2d"),o=h.width/t.getModuleCount(),n=h.height/t.getModuleCount(),i=0;i").css("width",h.width+"px").css("height",h.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",h.background),r=h.width/t.getModuleCount(),o=h.height/t.getModuleCount(),n=0;n").css("height",o+"px").appendTo(e),s=0;s").css("width",r+"px").css("background-color",t.isDark(n,s)?h.foreground:h.background).appendTo(i);t=e,jQuery(t).appendTo(this)})}}(jQuery); -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("APlayer",[],t):"object"==typeof exports?exports.APlayer=t():e.APlayer=t()}(this,function(){return l={},n.m=a=[function(e,t,a){var n=a(1);"string"==typeof n&&(n=[[e.i,n,""]]),a(3)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,a){(e.exports=a(2)()).push([e.i,".aplayer-narrow {\n width: 66px; }\n .aplayer-narrow .aplayer-info {\n display: none; }\n\n.aplayer-withlrc.aplayer-narrow {\n width: 90px; }\n\n.aplayer-withlrc.aplayer .aplayer-pic {\n height: 90px;\n width: 90px; }\n\n.aplayer-withlrc.aplayer .aplayer-info {\n margin-left: 90px;\n height: 90px; }\n\n.aplayer-withlrc.aplayer .aplayer-lrc {\n display: block; }\n\n.aplayer-withlrc.aplayer .aplayer-info {\n padding: 10px 7px 0 7px; }\n\n.aplayer-list.aplayer .aplayer-info {\n border-bottom: 1px solid #e9e9e9; }\n\n.aplayer {\n font-family: Arial, Helvetica, sans-serif;\n margin: 5px;\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n border-radius: 2px;\n overflow: hidden;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n line-height: initial; }\n .aplayer * {\n box-sizing: content-box; }\n .aplayer .aplayer-icon {\n width: 15px;\n height: 15px;\n border: none;\n background-color: transparent;\n outline: none;\n cursor: pointer;\n opacity: .8;\n vertical-align: middle;\n padding: 0;\n font-size: 12px;\n margin: 0;\n display: inline; }\n .aplayer .aplayer-icon .aplayer-fill {\n -webkit-transition: all .2s ease-in-out;\n transition: all .2s ease-in-out; }\n .aplayer .aplayer-lrc-content {\n display: none; }\n .aplayer .aplayer-pic {\n position: relative;\n float: left;\n height: 66px;\n width: 66px;\n background-image: url("+a(4)+");\n background-size: 100%;\n -webkit-transition: all 0.3s ease;\n transition: all 0.3s ease; }\n .aplayer .aplayer-pic .aplayer-button {\n position: absolute;\n border-radius: 50%;\n opacity: 0.8;\n cursor: pointer;\n text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);\n background: rgba(0, 0, 0, 0.2);\n -webkit-transition: all 0.1s ease;\n transition: all 0.1s ease; }\n .aplayer .aplayer-pic .aplayer-button:hover {\n opacity: 1; }\n .aplayer .aplayer-pic .aplayer-button .aplayer-fill {\n fill: #fff; }\n .aplayer .aplayer-pic .aplayer-hide {\n display: none; }\n .aplayer .aplayer-pic .aplayer-play {\n width: 26px;\n height: 26px;\n border: 2px solid #fff;\n bottom: 50%;\n right: 50%;\n margin: 0 -15px -15px 0; }\n .aplayer .aplayer-pic .aplayer-play .aplayer-icon-play {\n position: absolute;\n top: 3px;\n left: 4px;\n height: 20px;\n width: 20px; }\n .aplayer .aplayer-pic .aplayer-pause {\n width: 16px;\n height: 16px;\n border: 2px solid #fff;\n bottom: 4px;\n right: 4px; }\n .aplayer .aplayer-pic .aplayer-pause .aplayer-icon-pause {\n position: absolute;\n top: 2px;\n left: 2px;\n height: 12px;\n width: 12px; }\n .aplayer .aplayer-info {\n margin-left: 66px;\n padding: 14px 7px 0 10px;\n height: 66px;\n box-sizing: border-box; }\n .aplayer .aplayer-info .aplayer-music {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin: 0 0 13px 5px;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text;\n cursor: default;\n padding-bottom: 2px; }\n .aplayer .aplayer-info .aplayer-music .aplayer-title {\n font-size: 14px; }\n .aplayer .aplayer-info .aplayer-music .aplayer-author {\n font-size: 12px;\n color: #666; }\n .aplayer .aplayer-info .aplayer-controller {\n position: relative;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap {\n margin: 0 0 0 5px;\n padding: 4px 0;\n cursor: pointer !important;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar {\n position: relative;\n height: 2px;\n width: 100%;\n background: #cdcdcd; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n background: #aaa;\n height: 2px;\n -webkit-transition: all 0.5s ease;\n transition: all 0.5s ease; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n height: 2px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {\n position: absolute;\n top: 0;\n right: 5px;\n margin-top: -4px;\n margin-right: -10px;\n height: 8px;\n width: 8px;\n border-radius: 50%;\n background: #fff;\n cursor: pointer !important; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time {\n position: relative;\n right: 0;\n bottom: 3px;\n height: 17px;\n color: #999;\n font-size: 11px;\n padding-left: 7px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-time-inner {\n vertical-align: middle; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon {\n cursor: pointer;\n -webkit-transition: all 0.2s ease;\n transition: all 0.2s ease; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon .aplayer-fill {\n fill: #666; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-mode {\n margin-right: 4px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon:hover .aplayer-fill {\n fill: #000; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-mode {\n display: none; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-menu {\n display: none; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap {\n position: relative;\n display: inline-block;\n margin-left: 3px;\n cursor: pointer !important; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap {\n display: block; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap {\n display: none;\n position: absolute;\n bottom: 15px;\n right: -3px;\n width: 25px;\n height: 40px;\n z-index: 99; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar {\n position: absolute;\n bottom: 0;\n right: 10px;\n width: 5px;\n height: 35px;\n background: #aaa; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume {\n position: absolute;\n bottom: 0;\n right: 0;\n width: 5px;\n -webkit-transition: all 0.1s ease;\n transition: all 0.1s ease; }\n .aplayer .aplayer-lrc {\n display: none;\n position: relative;\n height: 30px;\n text-align: center;\n overflow: hidden;\n margin: -10px 0 7px; }\n .aplayer .aplayer-lrc:before {\n position: absolute;\n top: 0;\n z-index: 1;\n display: block;\n overflow: hidden;\n width: 100%;\n height: 10%;\n content: ' ';\n background: -webkit-linear-gradient(top, white 0%, rgba(255, 255, 255, 0) 100%);\n background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); }\n .aplayer .aplayer-lrc:after {\n position: absolute;\n bottom: 0;\n z-index: 1;\n display: block;\n overflow: hidden;\n width: 100%;\n height: 33%;\n content: ' ';\n background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ccffffff',GradientType=0 ); }\n .aplayer .aplayer-lrc p {\n font-size: 12px;\n color: #666;\n line-height: 16px !important;\n height: 16px !important;\n padding: 0 !important;\n margin: 0 !important;\n -webkit-transition: all 0.5s ease-out;\n transition: all 0.5s ease-out;\n opacity: 0.4;\n overflow: hidden; }\n .aplayer .aplayer-lrc p.aplayer-lrc-current {\n opacity: 1; }\n .aplayer .aplayer-lrc .aplayer-lrc-contents {\n width: 100%;\n -webkit-transition: all 0.5s ease-out;\n transition: all 0.5s ease-out;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text;\n cursor: default; }\n .aplayer .aplayer-list {\n overflow: auto;\n -webkit-transition: all 0.5s ease;\n transition: all 0.5s ease;\n will-change: height; }\n .aplayer .aplayer-list.aplayer-list-hide {\n height: 0 !important; }\n .aplayer .aplayer-list::-webkit-scrollbar {\n width: 5px; }\n .aplayer .aplayer-list::-webkit-scrollbar-track {\n background-color: #f9f9f9; }\n .aplayer .aplayer-list::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: #eee; }\n .aplayer .aplayer-list::-webkit-scrollbar-thumb:hover {\n background-color: #ccc; }\n .aplayer .aplayer-list ol {\n list-style-type: none;\n margin: 0;\n padding: 0; }\n .aplayer .aplayer-list ol li {\n position: relative;\n height: 32px;\n line-height: 32px;\n padding: 0 15px;\n font-size: 12px;\n border-top: 1px solid #e9e9e9;\n cursor: pointer;\n -webkit-transition: all 0.2s ease;\n transition: all 0.2s ease;\n overflow: hidden; }\n .aplayer .aplayer-list ol li:first-child {\n border-top: none; }\n .aplayer .aplayer-list ol li:hover {\n background: #efefef; }\n .aplayer .aplayer-list ol li.aplayer-list-light {\n background: #e9e9e9; }\n .aplayer .aplayer-list ol li.aplayer-list-light .aplayer-list-cur {\n display: inline-block; }\n .aplayer .aplayer-list ol li .aplayer-list-cur {\n display: none;\n width: 3px;\n height: 22px;\n position: absolute;\n left: 0;\n top: 5px;\n cursor: pointer; }\n .aplayer .aplayer-list ol li .aplayer-list-index {\n color: #666;\n margin-right: 12px;\n cursor: pointer; }\n .aplayer .aplayer-list ol li .aplayer-list-author {\n color: #666;\n float: right;\n cursor: pointer; }\n\n@-webkit-keyframes aplayer-roll {\n 0% {\n left: 0; }\n 100% {\n left: -100%; } }\n\n@keyframes aplayer-roll {\n 0% {\n left: 0; }\n 100% {\n left: -100%; } }\n",""])},function(e,t){e.exports=function(){var i=[];return i.toString=function(){for(var e=[],t=0;t'+r.getSVG("pause")+" "},100),r.option.mutex)for(var e=0;e'+r.getSVG("play")+" "},100),clearInterval(r.playedTime),r.trigger("pause"))}),this.audio.addEventListener("durationchange",function(){1!==r.audio.duration&&(r.element.getElementsByClassName("aplayer-dtime")[0].innerHTML=r.secondToTime(r.audio.duration))}),this.audio.addEventListener("progress",function(){var e=r.audio.buffered.length?r.audio.buffered.end(r.audio.buffered.length-1)/r.audio.duration:0;r.updateBar("loaded",e,"width")}),this.audio.addEventListener("error",function(){r.element.getElementsByClassName("aplayer-author")[0].innerHTML=" - Error happens ╥﹏╥",r.trigger("pause")}),this.audio.addEventListener("canplay",function(){r.trigger("canplay")}),this.ended=!1,this.multiple?this.audio.addEventListener("ended",function(){return r.isMobile?(r.ended=!0,void r.pause()):void(0!==r.audio.currentTime&&("random"===r.mode?r.setMusic(r.nextRandomNum()):"single"===r.mode?r.setMusic(r.playIndex):"order"===r.mode?r.playIndex"+r.lrc[t][1]+"

    ";r.lrcContents.innerHTML=e,r.lrcIndex||(r.lrcIndex=0),r.lrcContents.getElementsByTagName("p")[0].classList.add("aplayer-lrc-current"),r.lrcContents.style.transform="translateY(0px)",r.lrcContents.style.webkitTransform="translateY(0px)"}else console.log("Request was unsuccessful: "+a.status)},e=r.multiple?r.option.music[l].lrc:r.option.music.lrc,a.open("get",e,!0),a.send(null)}(),r.lrcs[l]=n?i(n):[["00:00","Loading"]]),r.lrc=r.lrcs[l];var e="";r.lrcContents=r.element.getElementsByClassName("aplayer-lrc-contents")[0];for(var t=0;t"+r.lrc[t][1]+"

    ";r.lrcContents.innerHTML=e,r.lrcIndex||(r.lrcIndex=0),r.lrcContents.getElementsByTagName("p")[0].classList.add("aplayer-lrc-current"),r.lrcContents.style.transform="translateY(0px)",r.lrcContents.style.webkitTransform="translateY(0px)"}(),1!==this.audio.duration&&(this.element.getElementsByClassName("aplayer-dtime")[0].innerHTML=this.audio.duration?this.secondToTime(this.audio.duration):"00:00"),this.option.autoplay&&!this.isMobile&&this.play(),this.option.autoplay=!0,this.isMobile&&this.pause()}},{key:"play",value:function(e){"[object Number]"===Object.prototype.toString.call(e)&&(this.audio.currentTime=e),this.audio.paused&&this.audio.play()}},{key:"pause",value:function(){this.audio.paused||this.audio.pause()}},{key:"volume",value:function(e){this.updateBar("volume",e,"height"),this.audio.volume=e,this.audio.muted&&(this.audio.muted=!1),1===e?(this.volumeicon.className="aplayer-icon aplayer-icon-volume-up",this.volumeicon.innerHTML=this.getSVG("volume-up")):(this.volumeicon.className="aplayer-icon aplayer-icon-volume-down",this.volumeicon.innerHTML=this.getSVG("volume-down"))}},{key:"on",value:function(e,t){"function"==typeof t&&this.event[e].push(t)}},{key:"toggle",value:function(){this.button.classList.contains("aplayer-play")?this.play():this.button.classList.contains("aplayer-pause")&&this.pause()}},{key:"getRandomOrder",value:function(){if(this.multiple){if(!this.normalOrder){this.normalOrder=[];for(var e=0;e\n \n \n \n '},this.isMobile=/mobile/i.test(window.navigator.userAgent),this.isMobile&&(e.autoplay=!1);var a={element:document.getElementsByClassName("aplayer")[0],narrow:!1,autoplay:!1,mutex:!0,showlrc:0,theme:"#b7daff",mode:"circulation"};for(var r in a)a.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=a[r]);if(this.playIndex="[object Array]"===Object.prototype.toString.call(e.music)?0:-1,this.option=e,this.audios=[],this.mode=e.mode,this.secondToTime=function(e){if(isNaN(e))return"00:00";function t(e){return e<10?"0"+e:""+e}var a=parseInt(e/60),n=parseInt(e-60*a),l=parseInt(a/60),r=parseInt(e/60-60*parseInt(e/60/60));return 3600<=e?t(l)+":"+t(r)+":"+t(n):t(a)+":"+t(n)},this.element=this.option.element,2===this.option.showlrc||!0===this.option.showlrc){this.savelrc=[];for(var i=0;il.lrc.length-1||e=l.lrc[l.lrcIndex+1][0])for(var t=0;t=l.lrc[t][0]&&(!l.lrc[t+1]||e\n
    \n \n
    \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n - 00:00 / 00:00\n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n "+(this.multiple?'":"")+"\n
    \n
    \n
    ";if(this.multiple){p+='\n
    \n
      ';for(var c=0;c\n \n '+(c+1)+'\n '+this.option.music[c].title+'\n '+this.option.music[c].author+"\n ";p+="\n
    \n
    "}this.element.innerHTML=p,this.element.offsetWidth<300&&(this.element.getElementsByClassName("aplayer-icon-mode")[0].style.display="none"),this.ptime=this.element.getElementsByClassName("aplayer-ptime")[0],this.element.getElementsByClassName("aplayer-info")[0].offsetWidth<200&&this.element.getElementsByClassName("aplayer-time")[0].classList.add("aplayer-time-narrow");var u={};u.barWrap=this.element.getElementsByClassName("aplayer-bar-wrap")[0],this.option.narrow&&this.element.classList.add("aplayer-narrow"),this.button=this.element.getElementsByClassName("aplayer-button")[0],this.button.addEventListener("click",function(e){l.toggle()}),this.multiple&&function(){for(var a=l.element.getElementsByClassName("aplayer-list")[0].getElementsByTagName("li"),e=function(t){a[t].addEventListener("click",function(){var e=parseInt(a[t].getElementsByClassName("aplayer-list-index")[0].innerHTML)-1;e!==l.playIndex?(l.setMusic(e),l.play()):l.toggle()})},t=0;tn.length?t:n}),s.value=n.join(c)}else s.value=n.join(t.slice(a,a+s.count));a+=s.count,s.added||(f+=s.count)}}var h=e[o-1];return 1=h&&p<=i+1)return l(g(c,e.components,s,f,c.useLongestToken));v[n]=e}else v[n]=void 0}var a;d++}var n=2=h&&p<=i+1)return l([{value:this.join(s),count:s.length}]);if(t)!function n(){setTimeout(function(){if(rs)return!1;e++}}return!0}(d,b+g)){d.offset=l+=g;break}if(void 0===g)return!1;u=d.offset+d.oldStart+d.oldLines}for(var _=0,y=0;y=v.length-2&&t.length<=p.context){var s=/\n$/.test(c),l=/\n$/.test(h);0!=t.length||s?s&&l||_.push("\\ No newline at end of file"):_.splice(f.oldLines,0,"\\ No newline at end of file")}g.push(f),m=b=0,_=[]}y+=t.length,w+=t.length}}(i);return{oldFileName:n,newFileName:e,oldHeader:t,newHeader:r,hunks:g}}function o(n,e,t,r,i,u,o){var a=c(n,e,t,r,i,u,o),f=[];n==e&&f.push("Index: "+n),f.push("==================================================================="),f.push("--- "+a.oldFileName+(void 0===a.oldHeader?"":"\t"+a.oldHeader)),f.push("+++ "+a.newFileName+(void 0===a.newHeader?"":"\t"+a.newHeader));for(var s=0;sn.length)return!1;for(var t=0;t"):r.removed&&e.push(""),e.push((i=r.value,void 0,i.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""))),r.added?e.push(""):r.removed&&e.push("")}var i;return e.join("")}}],t.c=i,t.p="",t(0);function t(n){if(i[n])return i[n].exports;var e=i[n]={exports:{},id:n,loaded:!1};return r[n].call(e.exports,e,e.exports,t),e.loaded=!0,e.exports}var r,i},"object"==typeof t&&"object"==typeof e?e.exports=i():"function"==typeof define&&define.amd?define([],i):"object"==typeof t?t.JsDiff=i():r.JsDiff=i()},{}],3:[function(n,e,t){!function(w){function x(n){return n.trim?n.trim():n.replace(/^\s*|\s*$/g,"")}function T(n,e,t){if(e.charAt(t)!=n.charAt(0))return!1;for(var r=1,i=n.length;r":7,"=":8,_v:9,"{":10,"&":11,_t:12},w.scan=function(n,e){function i(){0"==t.tag&&(t.indent=v[r].text.toString()),v.splice(r,1));else e||v.push({tag:"\n"});g=!1,m=v.length}var r,u,o,a,f,s,l=n.length,c=0,h=null,p=null,d="",v=[],g=!1,b=0,m=0,_="{{",y="}}";for(e&&(e=e.split(" "),_=e[0],y=e[1]),b=0;b":u,"<":function(n,e){var t={partials:{},code:"",subs:{},inPartial:!0};w.walk(n.nodes,t);var r=e.partials[u(n,e)];r.subs=t.subs,r.partials=t.partials},$:function(n,e){var t={subs:{},code:"",partials:e.partials,prefix:n.n};w.walk(n.nodes,t),e.subs[n.n]=t.code,e.inPartial||(e.code+='t.sub("'+i(n.n)+'",c,p,i);')},"\n":function(n,e){e.code+=o('"\\n"'+(n.last?"":" + i"))},_v:function(n,e){e.code+="t.b(t.v(t."+t(n.n)+'("'+i(n.n)+'",c,p,0)));'},_t:function(n,e){e.code+=o('"'+i(n.text)+'"')},"{":n,"&":n},w.walk=function(n,e){for(var t,r=0,i=n.length;r/g,i=/\'/g,u=/\"/g,a=/[&<>\"\']/,c=Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)}}(void 0!==t?t:{})},{}],6:[function(n,S,N){(function(L){(function(){function Zu(n,e){return n.set(e[0],e[1]),n}function Ku(n,e){return n.add(e),n}function Xu(n,e,t){switch(t.length){case 0:return n.call(e);case 1:return n.call(e,t[0]);case 2:return n.call(e,t[0],t[1]);case 3:return n.call(e,t[0],t[1],t[2])}return n.apply(e,t)}function Qu(n,e,t,r){for(var i=-1,u=null==n?0:n.length;++i"']/g,ya=RegExp(ma.source),wa=RegExp(_a.source),xa=/<%-([\s\S]+?)%>/g,Ta=/<%([\s\S]+?)%>/g,Ea=/<%=([\s\S]+?)%>/g,La=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sa=/^\w*$/,Na=/^\./,ja=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ka=/[\\^$.*+?()[\]{}|]/g,Pa=RegExp(ka.source),Ca=/^\s+|\s+$/g,Aa=/^\s+/,Ia=/\s+$/,Ha=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fa=/\{\n\/\* \[wrapped with (.+)\] \*/,Da=/,? & /,Oa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,za=/\\(\\)?/g,Ma=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wa=/\w*$/,Ra=/^[-+]0x[0-9a-f]+$/i,Ba=/^0b[01]+$/i,Ua=/^\[object .+?Constructor\]$/,$a=/^0o[0-7]+$/i,Ja=/^(?:0|[1-9]\d*)$/,Ya=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,qa=/($^)/,Va=/['\n\r\u2028\u2029\\]/g,e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",t="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+t+"]",i="["+e+"]",u="[a-z\\xdf-\\xf6\\xf8-\\xff]",o="\\ud83c[\\udffb-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",s="[A-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:"+u+"|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])",c="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",h="[\\ufe0e\\ufe0f]?"+c+"(?:\\u200d(?:"+["[^\\ud800-\\udfff]",a,f].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*",p="(?:"+["[\\u2700-\\u27bf]",a,f].join("|")+")"+h,d="(?:"+["[^\\ud800-\\udfff]"+i+"?",i,a,f,"[\\ud800-\\udfff]"].join("|")+")",Ga=RegExp("['’]","g"),Za=RegExp(i,"g"),v=RegExp(o+"(?="+o+")|"+d+h,"g"),Ka=RegExp([s+"?"+u+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,s,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,s+l,"$"].join("|")+")",s+"?"+l+"+(?:['’](?:d|ll|m|re|s|t|ve))?",s+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",p].join("|"),"g"),g=RegExp("[\\u200d\\ud800-\\udfff"+e+"\\ufe0e\\ufe0f]"),Xa=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Qa=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nf=-1,ef={};ef[oa]=ef[aa]=ef[fa]=ef[sa]=ef[la]=ef[ca]=ef[ha]=ef[pa]=ef[da]=!0,ef[Uo]=ef[$o]=ef[ia]=ef[Jo]=ef[ua]=ef[Yo]=ef[qo]=ef[Vo]=ef[Zo]=ef[Ko]=ef[Xo]=ef[Qo]=ef[na]=ef[ea]=ef[ra]=!1;var tf={};tf[Uo]=tf[$o]=tf[ia]=tf[ua]=tf[Jo]=tf[Yo]=tf[oa]=tf[aa]=tf[fa]=tf[sa]=tf[la]=tf[Zo]=tf[Ko]=tf[Xo]=tf[Qo]=tf[na]=tf[ea]=tf[ta]=tf[ca]=tf[ha]=tf[pa]=tf[da]=!0,tf[qo]=tf[Vo]=tf[ra]=!1;var b={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rf=parseFloat,uf=parseInt,m="object"==typeof L&&L&&L.Object===Object&&L,_="object"==typeof self&&self&&self.Object===Object&&self,of=m||_||Function("return this")(),y="object"==typeof N&&N&&!N.nodeType&&N,w=y&&"object"==typeof S&&S&&!S.nodeType&&S,af=w&&w.exports===y,x=af&&m.process,T=function(){try{return x&&x.binding&&x.binding("util")}catch(n){}}(),ff=T&&T.isArrayBuffer,sf=T&&T.isDate,lf=T&&T.isMap,cf=T&&T.isRegExp,hf=T&&T.isSet,pf=T&&T.isTypedArray,E=bo("length"),df=n({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),vf=n({"&":"&","<":"<",">":">",'"':""","'":"'"}),gf=n({"&":"&","<":"<",">":">",""":'"',"'":"'"}),bf=function n(e){function g(n){if(it(n)&&!Xi(n)&&!(n instanceof m)){if(n instanceof b)return n;if(Vt.call(n,"__wrapped__"))return Pe(n)}return new b(n)}function u(){}function b(n,e){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=Ho}function m(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ro,this.__views__=[]}function t(n){var e=-1,t=null==n?0:n.length;for(this.clear();++e>>0,e>>>=0;for(var u=Ht(i);++r>>1,o=n[u];null!==o&&!ft(o)&&(t?o<=e:o>>0)?(n=vt(n))&&("string"==typeof e||null!=e&&!ru(e))&&!(e=dn(e))&&No(n)?Ln(Io(n),0,t):n.split(e,t):[]},g.spread=function(r,i){if("function"!=typeof r)throw new Bt(Fo);return i=null==i?0:Tr(ct(i),0),on(function(n){var e=n[i],t=Ln(n,0,i);return e&&oo(t,e),Xu(r,this,t)})},g.tail=function(n){var e=null==n?0:n.length;return e?fn(n,1,e):[]},g.take=function(n,e,t){return n&&n.length?fn(n,0,(e=t||e===Ho?1:ct(e))<0?0:e):[]},g.takeRight=function(n,e,t){var r=null==n?0:n.length;return r?fn(n,(e=r-(e=t||e===Ho?1:ct(e)))<0?0:e,r):[]},g.takeRightWhile=function(n,e){return n&&n.length?mn(n,se(e,3),!1,!0):[]},g.takeWhile=function(n,e){return n&&n.length?mn(n,se(e,3)):[]},g.tap=function(n,e){return e(n),n},g.throttle=function(n,e,t){var r=!0,i=!0;if("function"!=typeof n)throw new Bt(Fo);return rt(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),qe(n,e,{leading:r,maxWait:e,trailing:i})},g.thru=Re,g.toArray=st,g.toPairs=xu,g.toPairsIn=Tu,g.toPath=function(n){return Xi(n)?uo(n,je):ft(n)?[n]:An(hi(vt(n)))},g.toPlainObject=dt,g.transform=function(n,r,i){var e=Xi(n),t=e||nu(n)||uu(n);if(r=se(r,4),null==i){var u=n&&n.constructor;i=t?e?new u:[]:rt(n)&&nt(u)?Jr(ur(n)):{}}return(t?no:k)(n,function(n,e,t){return r(i,n,e,t)}),i},g.unary=function(n){return Je(n,1)},g.union=wi,g.unionBy=xi,g.unionWith=Ti,g.uniq=function(n){return n&&n.length?vn(n):[]},g.uniqBy=function(n,e){return n&&n.length?vn(n,se(e,2)):[]},g.uniqWith=function(n,e){return e="function"==typeof e?e:Ho,n&&n.length?vn(n,Ho,e):[]},g.unset=function(n,e){return null==n||gn(n,e)},g.unzip=ze,g.unzipWith=Me,g.update=function(n,e,t){return null==n?n:bn(n,e,Tn(t))},g.updateWith=function(n,e,t,r){return r="function"==typeof r?r:Ho,null==n?n:bn(n,e,Tn(t),r)},g.values=wt,g.valuesIn=function(n){return null==n?[]:xo(n,_t(n))},g.without=Ei,g.words=Et,g.wrap=function(n,e){return Yi(Tn(e),n)},g.xor=Li,g.xorBy=Si,g.xorWith=Ni,g.zip=ji,g.zipObject=function(n,e){return wn(n||[],e||[],w)},g.zipObjectDeep=function(n,e){return wn(n||[],e||[],an)},g.zipWith=ki,g.entries=xu,g.entriesIn=Tu,g.extend=su,g.extendWith=lu,jt(g,g),g.add=Uu,g.attempt=Au,g.camelCase=Eu,g.capitalize=xt,g.ceil=$u,g.clamp=function(n,e,t){return t===Ho&&(t=e,e=Ho),t!==Ho&&(t=(t=pt(t))===t?t:0),e!==Ho&&(e=(e=pt(e))===e?e:0),h(pt(n),e,t)},g.clone=function(n){return T(n,4)},g.cloneDeep=function(n){return T(n,5)},g.cloneDeepWith=function(n,e){return T(n,5,e="function"==typeof e?e:Ho)},g.cloneWith=function(n,e){return T(n,4,e="function"==typeof e?e:Ho)},g.conformsTo=function(n,e){return null==e||p(n,e,mt(e))},g.deburr=Tt,g.defaultTo=function(n,e){return null==n||n!=n?e:n},g.divide=Ju,g.endsWith=function(n,e,t){n=vt(n),e=dn(e);var r=n.length,i=t=t===Ho?r:h(ct(t),0,r);return 0<=(t-=e.length)&&n.slice(t,i)==e},g.eq=Ze,g.escape=function(n){return(n=vt(n))&&wa.test(n)?n.replace(_a,vf):n},g.escapeRegExp=function(n){return(n=vt(n))&&Pa.test(n)?n.replace(ka,"\\$&"):n},g.every=function(n,e,t){var r=Xi(n)?eo:L;return t&&be(n,e,t)&&(e=Ho),r(n,se(e,3))},g.find=Ai,g.findIndex=Ce,g.findKey=function(n,e){return lo(n,se(e,3),k)},g.findLast=Ii,g.findLastIndex=Ae,g.findLastKey=function(n,e){return lo(n,se(e,3),P)},g.floor=Yu,g.forEach=Be,g.forEachRight=Ue,g.forIn=function(n,e){return null==n?n:Gr(n,se(e,3),_t)},g.forInRight=function(n,e){return null==n?n:Zr(n,se(e,3),_t)},g.forOwn=function(n,e){return n&&k(n,se(e,3))},g.forOwnRight=function(n,e){return n&&P(n,se(e,3))},g.get=gt,g.gt=Gi,g.gte=Zi,g.has=function(n,e){return null!=n&&pe(n,e,D)},g.hasIn=bt,g.head=He,g.identity=St,g.includes=function(n,e,t,r){n=Ke(n)?n:wt(n),t=t&&!r?ct(t):0;var i=n.length;return t<0&&(t=Tr(i+t,0)),at(n)?t<=i&&-1=Er(e,t)&&n=this.__values__.length;return{done:n,value:n?Ho:this.__values__[this.__index__++]}},g.prototype.plant=function(n){for(var e,t=this;t instanceof u;){var r=Pe(t);r.__index__=0,r.__values__=Ho,e?i.__wrapped__=r:e=r;var i=r;t=t.__wrapped__}return i.__wrapped__=n,e},g.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof m){var e=n;return this.__actions__.length&&(e=new m(this)),(e=e.reverse()).__actions__.push({func:Re,args:[Oe],thisArg:Ho}),new b(e,this.__chain__)}return this.thru(Oe)},g.prototype.toJSON=g.prototype.valueOf=g.prototype.value=function(){return _n(this.__wrapped__,this.__actions__)},g.prototype.first=g.prototype.head,lr&&(g.prototype[lr]=function(){return this}),g}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(of._=bf,define(function(){return bf})):w?((w.exports=bf)._=bf,y._=bf):of._=bf}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],7:[function(n,e,s){(function(i){function u(n,e){for(var t=0,r=n.length-1;0<=r;r--){var i=n[r];"."===i?n.splice(r,1):".."===i?(n.splice(r,1),t++):t&&(n.splice(r,1),t--)}if(e)for(;t--;)n.unshift("..");return n}function o(n,e){if(n.filter)return n.filter(e);for(var t=[],r=0;rt.maxLineLengthHighlight||o.length>t.maxLineLengthHighlight)return{first:{prefix:r,line:b.escape(u)},second:{prefix:i,line:b.escape(o)}};a=t.charByChar?g.diffChars(u,o):g.diffWordsWithSpace(u,o);var s="",l=[];if(!t.charByChar&&"words"===t.matching){var c=.25;void 0!==t.matchWordsThreshold&&(c=t.matchWordsThreshold);var h=m.rematch(function(n,e){var t=n.value,r=e.value;return m.distance(t,r)}),p=a.filter(function(n){return n.removed});h(a.filter(function(n){return n.added}),p).forEach(function(n){1===n[0].length&&1===n[1].length&&m.distance(n[0][0].value,n[1][0].value)"+r+"":r}),{first:{prefix:r,line:function(n){return n.replace(/(]*>((.|\n)*?)<\/ins>)/g,"")}(s)},second:{prefix:i,line:function(n){return n.replace(/(]*>((.|\n)*?)<\/del>)/g,"")}(s)}}},e.exports.PrinterUtils=new r},{"./rematch.js":16,"./utils.js":19,diff:2}],16:[function(n,e,t){function r(n,e){if(0===n.length)return e.length;if(0===e.length)return n.length;var t,r,i=[];for(t=0;t<=e.length;t++)i[t]=[t];for(r=0;r<=n.length;r++)i[0][r]=r;for(t=1;t<=e.length;t++)for(r=1;r<=n.length;r++)e.charAt(t-1)===n.charAt(r-1)?i[t][r]=i[t-1][r-1]:i[t][r]=Math.min(i[t-1][r-1]+1,Math.min(i[t][r-1]+1,i[t-1][r]+1));return i[e.length][n.length]}var i;(i={}).levenshtein=r,i.distance=function(n,e){return r(n=n.trim(),e=e.trim())/(n.length+e.length)},i.rematch=function(m){return function n(e,t,r,i){void 0===i&&(i={});var u=function(n,e,t){for(var r,i=1/0,u=0;ul||t.length>c)&&(b=b.concat(g)),b}},e.exports.Rematch=i},{}],17:[function(t,n,e){function r(n){this.config=n;var e=t("./hoganjs-utils.js").HoganJsUtils;f=new e(n)}var f,b,m,_,i,o;b=t("./diff-parser.js").DiffParser,m=t("./printer-utils.js").PrinterUtils,_=t("./utils.js").Utils,i=t("./rematch.js").Rematch,o=i.rematch(function(n,e){var t=n.content.substr(1),r=e.content.substr(1);return i.distance(t,r)}),r.prototype.makeDiffHtml=function(n,e){var t=f.template("side-by-side","file-diff"),r=f.template("generic","file-path"),i=f.template("icon","file"),u=f.template("tag",m.getFileTypeIcon(n));return t.render({file:n,fileHtmlId:m.getHtmlId(n),diffs:e,filePath:r.render({fileDiffName:m.getDiffName(n)},{fileIcon:i,fileTag:u})})},r.prototype.generateSideBySideJsonHtml=function(n){var t=this,e=n.map(function(n){var e;return e=n.blocks.length?t.generateSideBySideFileHtml(n):t.generateEmptyDiff(),t.makeDiffHtml(n,e)}).join("\n");return f.render("generic","wrapper",{content:e})},r.prototype.makeSideHtml=function(n){return f.render("generic","column-line-number",{diffParser:b,blockHeader:_.escape(n),lineClass:"d2h-code-side-linenumber",contentClass:"d2h-code-side-line"})},r.prototype.generateSideBySideFileHtml=function(d){var v=this,g={left:"",right:""};return d.blocks.forEach(function(n){function e(){var n,l,c;c=h.length*p.length<(v.config.matchingMaxComparisons||2500)&&("lines"===v.config.matching||"words"===v.config.matching)?(n=o(h,p),l=b.LINE_TYPE.INSERT_CHANGES,b.LINE_TYPE.DELETE_CHANGES):(n=[[h,p]],l=b.LINE_TYPE.INSERTS,b.LINE_TYPE.DELETES),n.forEach(function(n){h=n[0],p=n[1];for(var e=Math.min(h.length,p.length),t=Math.max(h.length,p.length),r=0;r'),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(" "),r.b(r.rp(""),r.b("\n"+t),r.b(' '),r.b(r.v(r.f("fileName",n,e,0))),r.b(""),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(' '),r.b(r.v(r.f("addedLines",n,e,0))),r.b(""),r.b("\n"+t),r.b(' '),r.b(r.v(r.f("deletedLines",n,e,0))),r.b(""),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b(""),r.fl()},partials:{"'),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(' Files changed ('),r.b(r.v(r.f("filesNumber",n,e,0))),r.b(")"),r.b("\n"+t),r.b(' hide'),r.b("\n"+t),r.b(' show'),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b('
      '),r.b("\n"+t),r.b(" "),r.b(r.t(r.f("files",n,e,0))),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b(""),r.fl()},partials:{},subs:{}}),e.browserTemplates["generic-column-line-number"]=new n.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b(""),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b('
    '),r.b(r.t(r.f("blockHeader",n,e,0))),r.b("
    "),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b(""),r.fl()},partials:{},subs:{}}),e.browserTemplates["generic-empty-diff"]=new n.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b(""),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(" File without changes"),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b(""),r.fl()},partials:{},subs:{}}),e.browserTemplates["generic-file-path"]=new n.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b(''),r.b("\n"+t),r.b(' '),r.b(r.rp(""),r.b("\n"+t),r.b(' '),r.b(r.v(r.f("fileDiffName",n,e,0))),r.b(""),r.b("\n"+t),r.b(r.rp(""),r.fl()},partials:{""),t.b("\n"+r),t.b(' '),t.b("\n"+r),t.b(" "),t.b(t.t(t.f("lineNumber",n,e,0))),t.b("\n"+r),t.b(" "),t.b("\n"+r),t.b(' '),t.b("\n"+r),t.b('
    '),t.b("\n"+r),t.s(t.f("prefix",n,e,1),n,e,0,171,247,"{{ }}")&&(t.rs(n,e,function(n,e,t){t.b(' '),t.b(t.t(t.f("prefix",n,e,0))),t.b(""),t.b("\n"+r)}),n.pop()),t.s(t.f("content",n,e,1),n,e,0,279,353,"{{ }}")&&(t.rs(n,e,function(n,e,t){t.b(' '),t.b(t.t(t.f("content",n,e,0))),t.b(""),t.b("\n"+r)}),n.pop()),t.b("
    "),t.b("\n"+r),t.b(" "),t.b("\n"+r),t.b(""),t.fl()},partials:{},subs:{}}),e.browserTemplates["generic-wrapper"]=new n.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b('
    '),r.b("\n"+t),r.b(" "),r.b(r.t(r.f("content",n,e,0))),r.b("\n"+t),r.b("
    "),r.fl()},partials:{},subs:{}}),e.browserTemplates["icon-file-added"]=new n.Template({code:function(n,e,t){return this.b(t=t||""),this.b('"),this.fl()},partials:{},subs:{}}),e.browserTemplates["icon-file-changed"]=new n.Template({code:function(n,e,t){return this.b(t=t||""),this.b('"),this.fl()},partials:{},subs:{}}),e.browserTemplates["icon-file-deleted"]=new n.Template({code:function(n,e,t){return this.b(t=t||""),this.b('"),this.fl()},partials:{},subs:{}}),e.browserTemplates["icon-file-renamed"]=new n.Template({code:function(n,e,t){return this.b(t=t||""),this.b('"),this.fl()},partials:{},subs:{}}),e.browserTemplates["icon-file"]=new n.Template({code:function(n,e,t){return this.b(t=t||""),this.b('"),this.fl()},partials:{},subs:{}}),e.browserTemplates["line-by-line-file-diff"]=new n.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(" "),r.b(r.t(r.f("filePath",n,e,0))),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(" "),r.b(r.t(r.f("diffs",n,e,0))),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.fl()},partials:{},subs:{}}),e.browserTemplates["line-by-line-numbers"]=new n.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b('
    '),r.b(r.v(r.f("oldNumber",n,e,0))),r.b("
    "),r.b("\n"+t),r.b('
    '),r.b(r.v(r.f("newNumber",n,e,0))),r.b("
    "),r.fl()},partials:{},subs:{}}),e.browserTemplates["side-by-side-file-diff"]=new n.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(" "),r.b(r.t(r.f("filePath",n,e,0))),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(" "),r.b(r.t(r.d("diffs.left",n,e,0))),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(" "),r.b(r.t(r.d("diffs.right",n,e,0))),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.fl()},partials:{},subs:{}}),e.browserTemplates["tag-file-added"]=new n.Template({code:function(n,e,t){return this.b(t=t||""),this.b('ADDED'),this.fl()},partials:{},subs:{}}),e.browserTemplates["tag-file-changed"]=new n.Template({code:function(n,e,t){return this.b(t=t||""),this.b('CHANGED'),this.fl()},partials:{},subs:{}}),e.browserTemplates["tag-file-deleted"]=new n.Template({code:function(n,e,t){return this.b(t=t||""),this.b('DELETED'),this.fl()},partials:{},subs:{}}),e.browserTemplates["tag-file-renamed"]=new n.Template({code:function(n,e,t){return this.b(t=t||""),this.b('RENAMED'),this.fl()},partials:{},subs:{}}),r.exports=e.browserTemplates}()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"hogan.js":4}],19:[function(n,e,t){function r(){}var i;i=n("lodash"),r.prototype.escape=function(n){return n.slice(0).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/\t/g," ")},r.prototype.startsWith=function(e,n){if("object"!=typeof n)return e&&0===e.indexOf(n);var t=!1;return n.forEach(function(n){0===e.indexOf(n)&&(t=!0)}),t},r.prototype.valueOrEmpty=function(n){return n||""},r.prototype.safeConfig=function(n,e){var t={};return i.merge(t,e,n),t},e.exports.Utils=new r},{lodash:6}]},{},[10]); -!function i(l,f,s){function a(t,e){if(!f[t]){if(!l[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(d)return d(t,!0);var o=new Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}var r=f[t]={exports:{}};l[t][0].call(r.exports,function(e){return a(l[t][1][e]||e)},r,r.exports,i,l,f,s)}return f[t].exports}for(var d="function"==typeof require&&require,e=0;e/gm,">")}function u(e){return e.nodeName.toLowerCase()}var h;h=[],o.prototype.nodeStream=function(e){var r=[];return function e(t,n){for(var o=t.firstChild;o;o=o.nextSibling)3===o.nodeType?n+=o.nodeValue.length:1===o.nodeType&&(r.push({event:"start",offset:n,node:o}),n=e(o,n),u(o).match(/br|hr|img|input/)||r.push({event:"stop",offset:n,node:o}));return n}(e,0),r},o.prototype.mergeStreams=function(e,t,n){function o(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset"}function i(e){s+=""}function l(e){("start"===e.event?r:i)(e.node)}for(var f=0,s="",a=[];e.length||t.length;){var d=o();if(s+=c(n.substring(f,d[0].offset)),f=d[0].offset,d===e){for(a.reverse().forEach(i);l(d.splice(0,1)[0]),(d=o())===e&&d.length&&d[0].offset===f;);a.reverse().forEach(r)}else"start"===d[0].event?a.push(d[0].node):a.pop(),l(d.splice(0,1)[0])}return s+c(n.substr(f))},t.exports.HighlightJS=new o},{}]},{},[1]); -!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.JsDiff=n():e.JsDiff=n()}(this,function(){return r={},t.m=i=[function(e,n,t){"use strict";n.__esModule=!0,n.canonicalize=n.convertChangesToXML=n.convertChangesToDMP=n.merge=n.parsePatch=n.applyPatches=n.applyPatch=n.createPatch=n.createTwoFilesPatch=n.structuredPatch=n.diffArrays=n.diffJson=n.diffCss=n.diffSentences=n.diffTrimmedLines=n.diffLines=n.diffWordsWithSpace=n.diffWords=n.diffChars=n.Diff=void 0;var i,r=t(1),o=(i=r)&&i.__esModule?i:{default:i},s=t(2),a=t(3),f=t(5),l=t(6),u=t(7),d=t(8),c=t(9),h=t(10),p=t(11),v=t(13),g=t(14),m=t(16),w=t(17);n.Diff=o.default,n.diffChars=s.diffChars,n.diffWords=a.diffWords,n.diffWordsWithSpace=a.diffWordsWithSpace,n.diffLines=f.diffLines,n.diffTrimmedLines=f.diffTrimmedLines,n.diffSentences=l.diffSentences,n.diffCss=u.diffCss,n.diffJson=d.diffJson,n.diffArrays=c.diffArrays,n.structuredPatch=g.structuredPatch,n.createTwoFilesPatch=g.createTwoFilesPatch,n.createPatch=g.createPatch,n.applyPatch=h.applyPatch,n.applyPatches=h.applyPatches,n.parsePatch=p.parsePatch,n.merge=v.merge,n.convertChangesToDMP=m.convertChangesToDMP,n.convertChangesToXML=w.convertChangesToXML,n.canonicalize=d.canonicalize},function(e,n){"use strict";function t(){}function g(e,n,t,i,r){for(var o=0,s=n.length,a=0,f=0;oe.length?t:e}),l.value=e.join(d)}else l.value=e.join(t.slice(a,a+l.count));a+=l.count,l.added||(f+=l.count)}}var c=n[s-1];return 1=c&&h<=r+1)return u(g(d,n.components,l,f,d.useLongestToken));v[e]=n}else v[e]=void 0}var a;p++}var e=2=c&&h<=r+1)return u([{value:this.join(l),count:l.length}]);if(t)!function e(){setTimeout(function(){return i=v.length-2&&t.length<=h.context){var l=/\n$/.test(d),u=/\n$/.test(c);0!=t.length||l?l&&u||y.push("\\ No newline at end of file"):y.splice(f.oldLines,0,"\\ No newline at end of file")}g.push(f),w=m=0,y=[]}L+=t.length,x+=t.length}},o=0;oe.length)return!1;for(var t=0;t"):i.removed&&n.push(""),n.push((r=i.value,void 0,r.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""))),i.added?n.push(""):i.removed&&n.push("")}var r;return n.join("")}}],t.c=r,t.p="",t(0);function t(e){if(r[e])return r[e].exports;var n=r[e]={exports:{},id:e,loaded:!1};return i[e].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var i,r}); \ No newline at end of file +function RecordingMode(e,n){var t=e,i=n;this.getSampleRate=function(){return t},this.getChannelCount=function(){return i}}var PredefinedChannelCounts={MONO:1,STEREO:2},PredefinedSamplingRates={SAMPLE_RATE_48_KHZ:48e3,SAMPLE_RATE_44_1_KHZ:44100,SAMPLE_RATE_32_KHZ:32e3,SAMPLE_RATE_22_05_KHZ:22050,SAMPLE_RATE_11_025_KHZ:11025,SAMPLE_RATE_8_KHZ:8e3,SAMPLE_RATE_5_KHZ:5e3},PredefinedRecordingModes={MONO_48_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_48_KHZ,PredefinedChannelCounts.MONO),MONO_44_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_44_1_KHZ,PredefinedChannelCounts.MONO),MONO_32_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_32_KHZ,PredefinedChannelCounts.MONO),MONO_22_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_22_05_KHZ,PredefinedChannelCounts.MONO),MONO_11_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_11_025_KHZ,PredefinedChannelCounts.MONO),MONO_8_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_8_KHZ,PredefinedChannelCounts.MONO),MONO_5_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_5_KHZ,PredefinedChannelCounts.MONO),STEREO_48_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_48_KHZ,PredefinedChannelCounts.STEREO),STEREO_44_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_44_1_KHZ,PredefinedChannelCounts.STEREO),STEREO_32_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_32_KHZ,PredefinedChannelCounts.STEREO),STEREO_22_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_22_05_KHZ,PredefinedChannelCounts.STEREO),STEREO_11_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_11_025_KHZ,PredefinedChannelCounts.STEREO),STEREO_8_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_8_KHZ,PredefinedChannelCounts.STEREO),STEREO_5_KHZ:new RecordingMode(PredefinedSamplingRates.SAMPLE_RATE_5_KHZ,PredefinedChannelCounts.STEREO)};function WavFileBlob(e){this.dataBlob=new Blob([e],{type:"audio/wav"}),this.NAME_PREFIX="output",this.EXTENSION=".wav",this.generateFileName=function(){return this.generateFileNameWithoutExtension()+this.EXTENSION},this.generateFileNameWithoutExtension=function(){return this.NAME_PREFIX+Date.now()},this.getDataBlob=function(){return this.dataBlob},this.downloadLocally=function(){var e=(window.URL||window.webkitURL).createObjectURL(this.dataBlob),n=this.generateFileName(),t=window.document.createElement("a"),e=(t.href=e,t.download=n,t.target="_blank",document.defaultView),n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,e,1,0,0,0,0,!1,!1,!1,!1,0,null),t.dispatchEvent(n)},this.sendToURL=function(e,n,t,i){var r;e&&"string"==typeof e&&""!==e&&((window.URL||window.webkitURL).createObjectURL(this.dataBlob),(r=new FormData).append("file",this.dataBlob),r.append("file_name",this.generateFileNameWithoutExtension()),r.append("file_extension",this.EXTENSION),$.ajax({url:e,type:"POST",data:r,contentType:!1,processData:!1,success:function(e){n&&n(e)},error:function(e){t&&t(e)},xhr:function(){var e=new window.XMLHttpRequest;return e.upload.addEventListener("progress",function(e){e.lengthComputable&&(e=e.loaded/e.total,i&&i(e))},!1),e.addEventListener("progress",function(e){e.lengthComputable&&(e=e.loaded/e.total,i&&i(e))},!1),e}}))}}function SoundRecorder(e,n,t,i){var r=n,l=t,_=null,c=i,o=!1,a=!1,d=e,s=null,u=null,E=[],f=[],h=0,R=(this.recorder=null,this.cloneChannelData=function(e,n){E.push(new Float32Array(e)),f.push(new Float32Array(n)),h+=r},this.init=function(e){a=!1,isNaN(l)||isNaN(r)||d&&(s=new d,_=s.sampleRate,u=s.createGain(),s.createMediaStreamSource(e).connect(u),this.recorder=s.createScriptProcessor(r,2,c),this.recorder.onaudioprocess=null,u.connect(this.recorder),this.recorder.connect(s.destination),a=!0)},this.isRecording=function(){return!0===o},this.startRecordingNewWavFile=function(){!0===this.isReady()&&(A(),O())},this.isReady=function(){var e=!1,e=!!this.recorder.onaudioprocess;return a&&e},this.stopRecording=function(){P()},this.buildWavFileBlob=function(){for(var e=1==c?1:2,n=2*l*e,t=2*e,i=w(E),r=w(f),o=(1==c?g:R)(i,r),i=44+2*(o=l<_?M(o,l):o).length,r=new ArrayBuffer(i),a=new DataView(r),r=(S(a,0,"RIFF"),a.setUint32(4,i,!0),S(a,8,"WAVE"),S(a,12,"fmt "),a.setUint32(16,16,!0),a.setUint16(20,1,!0),a.setUint16(22,e,!0),a.setUint32(24,l,!0),a.setUint32(28,n,!0),a.setUint16(32,t,!0),a.setUint16(34,16,!0),2*o.length),d=(S(a,36,"data"),a.setUint32(40,r,!0),o.length),s=44,u=0;u>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=o}for(r=0;r<18;r++)o=!t&&1==(e>>r&1),this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=o},setupTypeInfo:function(t,e){for(var r=d.getBCHTypeInfo(this.errorCorrectLevel<<3|e),o=0;o<15;o++){var n=!t&&1==(r>>o&1);o<6?this.modules[o][8]=n:o<8?this.modules[o+1][8]=n:this.modules[this.moduleCount-15+o][8]=n}for(o=0;o<15;o++)n=!t&&1==(r>>o&1),o<8?this.modules[8][this.moduleCount-o-1]=n:o<9?this.modules[8][15-o-1+1]=n:this.modules[8][15-o-1]=n;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var r=-1,o=this.moduleCount-1,n=7,i=0,s=this.moduleCount-1;0>>n&1)),d.getMask(e,o,s-a)&&(u=!u),this.modules[o][s-a]=u,-1==--n&&(i++,n=7));if((o+=r)<0||this.moduleCount<=o){o-=r,r=-r;break}}}},l.PAD0=236,l.PAD1=17,l.createData=function(t,e,r){for(var e=f.getRSBlocks(t,e),o=new s,n=0;n8*t)throw Error("code length overflow. ("+o.getLengthInBits()+">"+8*t+")");for(o.getLengthInBits()+4<=8*t&&o.put(0,4);0!=o.getLengthInBits()%8;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*t)&&(o.put(l.PAD0,8),!(o.getLengthInBits()>=8*t));)o.put(l.PAD1,8);return l.createBytes(o,e)},l.createBytes=function(t,e){for(var r=0,o=0,n=0,i=Array(e.length),s=Array(e.length),u=0;u>>=1;return e},getPatternPosition:function(t){return d.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case 0:return 0==(e+r)%2;case 1:return 0==e%2;case 2:return 0==r%3;case 3:return 0==(e+r)%3;case 4:return 0==(Math.floor(e/2)+Math.floor(r/3))%2;case 5:return 0==e*r%2+e*r%3;case 6:return 0==(e*r%2+e*r%3)%2;case 7:return 0==(e*r%3+(e+r)%2)%2;default:throw Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new g([1],0),r=0;r>>7-t%8&1)},put:function(t,e){for(var r=0;r>>e-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},"string"==typeof h&&(h={text:h}),h=c.extend({},{render:"canvas",width:256,height:256,typeNumber:-1,correctLevel:2,background:"#ffffff",foreground:"#000000"},h),this.each(function(){var t;if("canvas"==h.render){(t=new l(h.typeNumber,h.correctLevel)).addData(h.text),t.make();var e=document.createElement("canvas");e.width=h.width,e.height=h.height;for(var r=e.getContext("2d"),o=h.width/t.getModuleCount(),n=h.height/t.getModuleCount(),i=0;i").css("width",h.width+"px").css("height",h.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",h.background),r=h.width/t.getModuleCount(),o=h.height/t.getModuleCount(),n=0;n").css("height",o+"px").appendTo(e),s=0;s").css("width",r+"px").css("background-color",t.isDark(n,s)?h.foreground:h.background).appendTo(i);t=e,jQuery(t).appendTo(this)})}}(jQuery); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("APlayer",[],t):"object"==typeof exports?exports.APlayer=t():e.APlayer=t()}(this,function(){return a=[function(e,t,a){var n=a(1);"string"==typeof n&&(n=[[e.i,n,""]]),a(3)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,a){(e.exports=a(2)()).push([e.i,".aplayer-narrow {\n width: 66px; }\n .aplayer-narrow .aplayer-info {\n display: none; }\n\n.aplayer-withlrc.aplayer-narrow {\n width: 90px; }\n\n.aplayer-withlrc.aplayer .aplayer-pic {\n height: 90px;\n width: 90px; }\n\n.aplayer-withlrc.aplayer .aplayer-info {\n margin-left: 90px;\n height: 90px; }\n\n.aplayer-withlrc.aplayer .aplayer-lrc {\n display: block; }\n\n.aplayer-withlrc.aplayer .aplayer-info {\n padding: 10px 7px 0 7px; }\n\n.aplayer-list.aplayer .aplayer-info {\n border-bottom: 1px solid #e9e9e9; }\n\n.aplayer {\n font-family: Arial, Helvetica, sans-serif;\n margin: 5px;\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n border-radius: 2px;\n overflow: hidden;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n line-height: initial; }\n .aplayer * {\n box-sizing: content-box; }\n .aplayer .aplayer-icon {\n width: 15px;\n height: 15px;\n border: none;\n background-color: transparent;\n outline: none;\n cursor: pointer;\n opacity: .8;\n vertical-align: middle;\n padding: 0;\n font-size: 12px;\n margin: 0;\n display: inline; }\n .aplayer .aplayer-icon .aplayer-fill {\n -webkit-transition: all .2s ease-in-out;\n transition: all .2s ease-in-out; }\n .aplayer .aplayer-lrc-content {\n display: none; }\n .aplayer .aplayer-pic {\n position: relative;\n float: left;\n height: 66px;\n width: 66px;\n background-image: url("+a(4)+");\n background-size: 100%;\n -webkit-transition: all 0.3s ease;\n transition: all 0.3s ease; }\n .aplayer .aplayer-pic .aplayer-button {\n position: absolute;\n border-radius: 50%;\n opacity: 0.8;\n cursor: pointer;\n text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);\n background: rgba(0, 0, 0, 0.2);\n -webkit-transition: all 0.1s ease;\n transition: all 0.1s ease; }\n .aplayer .aplayer-pic .aplayer-button:hover {\n opacity: 1; }\n .aplayer .aplayer-pic .aplayer-button .aplayer-fill {\n fill: #fff; }\n .aplayer .aplayer-pic .aplayer-hide {\n display: none; }\n .aplayer .aplayer-pic .aplayer-play {\n width: 26px;\n height: 26px;\n border: 2px solid #fff;\n bottom: 50%;\n right: 50%;\n margin: 0 -15px -15px 0; }\n .aplayer .aplayer-pic .aplayer-play .aplayer-icon-play {\n position: absolute;\n top: 3px;\n left: 4px;\n height: 20px;\n width: 20px; }\n .aplayer .aplayer-pic .aplayer-pause {\n width: 16px;\n height: 16px;\n border: 2px solid #fff;\n bottom: 4px;\n right: 4px; }\n .aplayer .aplayer-pic .aplayer-pause .aplayer-icon-pause {\n position: absolute;\n top: 2px;\n left: 2px;\n height: 12px;\n width: 12px; }\n .aplayer .aplayer-info {\n margin-left: 66px;\n padding: 14px 7px 0 10px;\n height: 66px;\n box-sizing: border-box; }\n .aplayer .aplayer-info .aplayer-music {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin: 0 0 13px 5px;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text;\n cursor: default;\n padding-bottom: 2px; }\n .aplayer .aplayer-info .aplayer-music .aplayer-title {\n font-size: 14px; }\n .aplayer .aplayer-info .aplayer-music .aplayer-author {\n font-size: 12px;\n color: #666; }\n .aplayer .aplayer-info .aplayer-controller {\n position: relative;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap {\n margin: 0 0 0 5px;\n padding: 4px 0;\n cursor: pointer !important;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar {\n position: relative;\n height: 2px;\n width: 100%;\n background: #cdcdcd; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n background: #aaa;\n height: 2px;\n -webkit-transition: all 0.5s ease;\n transition: all 0.5s ease; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n height: 2px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {\n position: absolute;\n top: 0;\n right: 5px;\n margin-top: -4px;\n margin-right: -10px;\n height: 8px;\n width: 8px;\n border-radius: 50%;\n background: #fff;\n cursor: pointer !important; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time {\n position: relative;\n right: 0;\n bottom: 3px;\n height: 17px;\n color: #999;\n font-size: 11px;\n padding-left: 7px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-time-inner {\n vertical-align: middle; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon {\n cursor: pointer;\n -webkit-transition: all 0.2s ease;\n transition: all 0.2s ease; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon .aplayer-fill {\n fill: #666; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-mode {\n margin-right: 4px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon:hover .aplayer-fill {\n fill: #000; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-mode {\n display: none; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-menu {\n display: none; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap {\n position: relative;\n display: inline-block;\n margin-left: 3px;\n cursor: pointer !important; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap {\n display: block; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap {\n display: none;\n position: absolute;\n bottom: 15px;\n right: -3px;\n width: 25px;\n height: 40px;\n z-index: 99; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar {\n position: absolute;\n bottom: 0;\n right: 10px;\n width: 5px;\n height: 35px;\n background: #aaa; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume {\n position: absolute;\n bottom: 0;\n right: 0;\n width: 5px;\n -webkit-transition: all 0.1s ease;\n transition: all 0.1s ease; }\n .aplayer .aplayer-lrc {\n display: none;\n position: relative;\n height: 30px;\n text-align: center;\n overflow: hidden;\n margin: -10px 0 7px; }\n .aplayer .aplayer-lrc:before {\n position: absolute;\n top: 0;\n z-index: 1;\n display: block;\n overflow: hidden;\n width: 100%;\n height: 10%;\n content: ' ';\n background: -webkit-linear-gradient(top, white 0%, rgba(255, 255, 255, 0) 100%);\n background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); }\n .aplayer .aplayer-lrc:after {\n position: absolute;\n bottom: 0;\n z-index: 1;\n display: block;\n overflow: hidden;\n width: 100%;\n height: 33%;\n content: ' ';\n background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ccffffff',GradientType=0 ); }\n .aplayer .aplayer-lrc p {\n font-size: 12px;\n color: #666;\n line-height: 16px !important;\n height: 16px !important;\n padding: 0 !important;\n margin: 0 !important;\n -webkit-transition: all 0.5s ease-out;\n transition: all 0.5s ease-out;\n opacity: 0.4;\n overflow: hidden; }\n .aplayer .aplayer-lrc p.aplayer-lrc-current {\n opacity: 1; }\n .aplayer .aplayer-lrc .aplayer-lrc-contents {\n width: 100%;\n -webkit-transition: all 0.5s ease-out;\n transition: all 0.5s ease-out;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text;\n cursor: default; }\n .aplayer .aplayer-list {\n overflow: auto;\n -webkit-transition: all 0.5s ease;\n transition: all 0.5s ease;\n will-change: height; }\n .aplayer .aplayer-list.aplayer-list-hide {\n height: 0 !important; }\n .aplayer .aplayer-list::-webkit-scrollbar {\n width: 5px; }\n .aplayer .aplayer-list::-webkit-scrollbar-track {\n background-color: #f9f9f9; }\n .aplayer .aplayer-list::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: #eee; }\n .aplayer .aplayer-list::-webkit-scrollbar-thumb:hover {\n background-color: #ccc; }\n .aplayer .aplayer-list ol {\n list-style-type: none;\n margin: 0;\n padding: 0; }\n .aplayer .aplayer-list ol li {\n position: relative;\n height: 32px;\n line-height: 32px;\n padding: 0 15px;\n font-size: 12px;\n border-top: 1px solid #e9e9e9;\n cursor: pointer;\n -webkit-transition: all 0.2s ease;\n transition: all 0.2s ease;\n overflow: hidden; }\n .aplayer .aplayer-list ol li:first-child {\n border-top: none; }\n .aplayer .aplayer-list ol li:hover {\n background: #efefef; }\n .aplayer .aplayer-list ol li.aplayer-list-light {\n background: #e9e9e9; }\n .aplayer .aplayer-list ol li.aplayer-list-light .aplayer-list-cur {\n display: inline-block; }\n .aplayer .aplayer-list ol li .aplayer-list-cur {\n display: none;\n width: 3px;\n height: 22px;\n position: absolute;\n left: 0;\n top: 5px;\n cursor: pointer; }\n .aplayer .aplayer-list ol li .aplayer-list-index {\n color: #666;\n margin-right: 12px;\n cursor: pointer; }\n .aplayer .aplayer-list ol li .aplayer-list-author {\n color: #666;\n float: right;\n cursor: pointer; }\n\n@-webkit-keyframes aplayer-roll {\n 0% {\n left: 0; }\n 100% {\n left: -100%; } }\n\n@keyframes aplayer-roll {\n 0% {\n left: 0; }\n 100% {\n left: -100%; } }\n",""])},function(e,t){e.exports=function(){var i=[];return i.toString=function(){for(var e=[],t=0;t'+n.getSVG("pause")+" "},100),n.option.mutex)for(var e=0;e'+n.getSVG("play")+" "},100),clearInterval(n.playedTime),n.trigger("pause"))}),this.audio.addEventListener("durationchange",function(){1!==n.audio.duration&&(n.element.getElementsByClassName("aplayer-dtime")[0].innerHTML=n.secondToTime(n.audio.duration))}),this.audio.addEventListener("progress",function(){var e=n.audio.buffered.length?n.audio.buffered.end(n.audio.buffered.length-1)/n.audio.duration:0;n.updateBar("loaded",e,"width")}),this.audio.addEventListener("error",function(){n.element.getElementsByClassName("aplayer-author")[0].innerHTML=" - Error happens ╥﹏╥",n.trigger("pause")}),this.audio.addEventListener("canplay",function(){n.trigger("canplay")}),this.ended=!1,this.multiple?this.audio.addEventListener("ended",function(){return n.isMobile?(n.ended=!0,void n.pause()):void(0!==n.audio.currentTime&&("random"===n.mode?n.setMusic(n.nextRandomNum()):"single"===n.mode?n.setMusic(n.playIndex):"order"===n.mode?n.playIndex"+n.lrc[t][1]+"

    ";n.lrcContents.innerHTML=e,n.lrcIndex||(n.lrcIndex=0),n.lrcContents.getElementsByTagName("p")[0].classList.add("aplayer-lrc-current"),n.lrcContents.style.transform="translateY(0px)",n.lrcContents.style.webkitTransform="translateY(0px)"}else console.log("Request was unsuccessful: "+l.status)},e=(n.multiple?n.option.music[i]:n.option.music).lrc,l.open("get",e,!0),l.send(null)),n.lrcs[i]=r?a(r):[["00:00","Loading"]]),n.lrc=n.lrcs[i],"");n.lrcContents=n.element.getElementsByClassName("aplayer-lrc-contents")[0];for(var o=0;o"+n.lrc[o][1]+"

    ";n.lrcContents.innerHTML=t,n.lrcIndex||(n.lrcIndex=0),n.lrcContents.getElementsByTagName("p")[0].classList.add("aplayer-lrc-current"),n.lrcContents.style.transform="translateY(0px)",n.lrcContents.style.webkitTransform="translateY(0px)"}1!==this.audio.duration&&(this.element.getElementsByClassName("aplayer-dtime")[0].innerHTML=this.audio.duration?this.secondToTime(this.audio.duration):"00:00"),this.option.autoplay&&!this.isMobile&&this.play(),this.option.autoplay=!0,this.isMobile&&this.pause()}},{key:"play",value:function(e){"[object Number]"===Object.prototype.toString.call(e)&&(this.audio.currentTime=e),this.audio.paused&&this.audio.play()}},{key:"pause",value:function(){this.audio.paused||this.audio.pause()}},{key:"volume",value:function(e){this.updateBar("volume",e,"height"),this.audio.volume=e,this.audio.muted&&(this.audio.muted=!1),1===e?(this.volumeicon.className="aplayer-icon aplayer-icon-volume-up",this.volumeicon.innerHTML=this.getSVG("volume-up")):(this.volumeicon.className="aplayer-icon aplayer-icon-volume-down",this.volumeicon.innerHTML=this.getSVG("volume-down"))}},{key:"on",value:function(e,t){"function"==typeof t&&this.event[e].push(t)}},{key:"toggle",value:function(){this.button.classList.contains("aplayer-play")?this.play():this.button.classList.contains("aplayer-pause")&&this.pause()}},{key:"getRandomOrder",value:function(){function e(e){for(var t,a,n=e.length,l=new Array(n),r=0;r\n \n \n \n '},this.isMobile=/mobile/i.test(window.navigator.userAgent),this.isMobile&&(e.autoplay=!1),{element:document.getElementsByClassName("aplayer")[0],narrow:!1,autoplay:!1,mutex:!0,showlrc:0,theme:"#b7daff",mode:"circulation"});for(n in r)r.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=r[n]);if(this.playIndex="[object Array]"===Object.prototype.toString.call(e.music)?0:-1,this.option=e,this.audios=[],this.mode=e.mode,this.secondToTime=function(e){if(isNaN(e))return"00:00";function t(e){return e<10?"0"+e:""+e}var a=parseInt(e/60),n=parseInt(e-60*a),l=parseInt(a/60),r=parseInt(e/60-60*parseInt(e/60/60));return 3600<=e?t(l)+":"+t(r)+":"+t(n):t(a)+":"+t(n)},this.element=this.option.element,2===this.option.showlrc||!0===this.option.showlrc){this.savelrc=[];for(var i=0;ia.lrc.length-1||e=a.lrc[a.lrcIndex+1][0])for(var t=0;t=a.lrc[t][0]&&(!a.lrc[t+1]||e\n
    \n \n
    \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n - 00:00 / 00:00\n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n "+(this.multiple?'":"")+"\n
    \n
    \n
    ";if(this.multiple){p+='\n
    \n
      ';for(var c=0;c\n \n '+(c+1)+'\n '+this.option.music[c].title+'\n '+this.option.music[c].author+"\n ";p+="\n
    \n
    "}this.element.innerHTML=p,this.element.offsetWidth<300&&(this.element.getElementsByClassName("aplayer-icon-mode")[0].style.display="none"),this.ptime=this.element.getElementsByClassName("aplayer-ptime")[0],this.element.getElementsByClassName("aplayer-info")[0].offsetWidth<200&&this.element.getElementsByClassName("aplayer-time")[0].classList.add("aplayer-time-narrow");var u={};if(u.barWrap=this.element.getElementsByClassName("aplayer-bar-wrap")[0],this.option.narrow&&this.element.classList.add("aplayer-narrow"),this.button=this.element.getElementsByClassName("aplayer-button")[0],this.button.addEventListener("click",function(e){a.toggle()}),this.multiple)for(var d=a.element.getElementsByClassName("aplayer-list")[0].getElementsByTagName("li"),y=0;y=c&&h<=i+1)return s(function(n,e,t,r,i){for(var u=0,o=e.length,a=0,f=0;un.length?e:n}),l.value=n.join(s)):l.value=n.join(t.slice(a,a+l.count)),a+=l.count,l.added||(f+=l.count))}var c=e[o-1];return 1=c&&h<=n+1)return s([{value:this.join(f),count:f.length}]);if(t)!function n(){setTimeout(function(){if(rf)return;e++}}return 1}(d,b+v)){d.offset=l+=v;break}if(void 0===v)return!1;s=d.offset+d.oldStart+d.oldLines}for(var _=0,y=0;y=s.length-2&&i.length<=a.context&&(n=/\n$/.test(u),t=/\n$/.test(o),0!=i.length||n?n&&t||p.push("\\ No newline at end of file"):p.splice(e.oldLines,0,"\\ No newline at end of file")),l.push(e),h=c=0,p=[])),d+=i.length,g+=i.length)}(i);return{oldFileName:n,newFileName:e,oldHeader:t,newHeader:r,hunks:l}}function o(n,e,t,r,i,u,o){var a=c(n,e,t,r,i,u,o),f=[];n==e&&f.push("Index: "+n),f.push("==================================================================="),f.push("--- "+a.oldFileName+(void 0===a.oldHeader?"":"\t"+a.oldHeader)),f.push("+++ "+a.newFileName+(void 0===a.newHeader?"":"\t"+a.newHeader));for(var s=0;sn.length)return!1;for(var t=0;t"):r.removed&&e.push(""),e.push(r.value.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")),r.added?e.push(""):r.removed&&e.push("")}return e.join("")}}],i={},t.m=r,t.c=i,t.p="",t(0);function t(n){if(i[n])return i[n].exports;var e=i[n]={exports:{},id:n,loaded:!1};return r[n].call(e.exports,e,e.exports,t),e.loaded=!0,e.exports}var r,i},"object"==typeof t&&"object"==typeof e?e.exports=i():"function"==typeof define&&define.amd?define([],i):"object"==typeof t?t.JsDiff=i():r.JsDiff=i()},{}],3:[function(n,e,t){function _(n){return n.trim?n.trim():n.replace(/^\s*|\s*$/g,"")}function y(n,e,t){if(e.charAt(t)==n.charAt(0)){for(var r=1,i=n.length;r":7,"=":8,_v:9,"{":10,"&":11,_t:12},w.scan=function(n,e){function i(){0"==t.tag&&(t.indent=p[r].text.toString()),p.splice(r,1));else e||p.push({tag:"\n"});d=!1,v=p.length}var r,u,o,a,f,s=n.length,l=0,c=null,h="",p=[],d=!1,g=0,v=0,b="{{",m="}}";for(e&&(e=e.split(" "),b=e[0],m=e[1]),g=0;g":o,"<":function(n,e){var t={partials:{},code:"",subs:{},inPartial:!0},n=(w.walk(n.nodes,t),e.partials[o(n,e)]);n.subs=t.subs,n.partials=t.partials},$:function(n,e){var t={subs:{},code:"",partials:e.partials,prefix:n.n};w.walk(n.nodes,t),e.subs[n.n]=t.code,e.inPartial||(e.code+='t.sub("'+i(n.n)+'",c,p,i);')},"\n":function(n,e){e.code+=s('"\\n"'+(n.last?"":" + i"))},_v:function(n,e){e.code+="t.b(t.v(t."+u(n.n)+'("'+i(n.n)+'",c,p,0)));'},_t:function(n,e){e.code+=s('"'+i(n.text)+'"')},"{":a,"&":a},w.walk=function(n,e){for(var t,r=0,i=n.length;r/g,o=/\'/g,a=/\"/g,f=/[&<>\"\']/,l=Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)}},{}],6:[function(n,_,y){!function(m){!function(){function go(n,e){return n.set(e[0],e[1]),n}function vo(n,e){return n.add(e),n}function Hu(n,e,t){switch(t.length){case 0:return n.call(e);case 1:return n.call(e,t[0]);case 2:return n.call(e,t[0],t[1]);case 3:return n.call(e,t[0],t[1],t[2])}return n.apply(e,t)}function bo(n,e,t,r){for(var i=-1,u=null==n?0:n.length;++i"']/g,aa=RegExp(ua.source),fa=RegExp(oa.source),sa=/<%-([\s\S]+?)%>/g,la=/<%([\s\S]+?)%>/g,ca=/<%=([\s\S]+?)%>/g,ha=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pa=/^\w*$/,da=/^\./,ga=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,va=/[\\^$.*+?()[\]{}|]/g,ba=RegExp(va.source),ma=/^\s+|\s+$/g,_a=/^\s+/,ya=/\s+$/,wa=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xa=/\{\n\/\* \[wrapped with (.+)\] \*/,Ea=/,? & /,Ta=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,La=/\\(\\)?/g,Na=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Sa=/\w*$/,ja=/^[-+]0x[0-9a-f]+$/i,ka=/^0b[01]+$/i,Pa=/^\[object .+?Constructor\]$/,Ca=/^0o[0-7]+$/i,Aa=/^(?:0|[1-9]\d*)$/,Ia=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ha=/($^)/,Fa=/['\n\r\u2028\u2029\\]/g,i="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",u="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",u="["+u+"]",o="["+i+"]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",f="\\ud83c[\\udffb-\\udfff]",n="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:"+a+"|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])",e="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",e="[\\ufe0e\\ufe0f]?"+e+"(?:\\u200d(?:"+["[^\\ud800-\\udfff]",n,s].join("|")+")[\\ufe0e\\ufe0f]?"+e+")*",h="(?:"+["[\\u2700-\\u27bf]",n,s].join("|")+")"+e,n="(?:"+["[^\\ud800-\\udfff]"+o+"?",o,n,s,"[\\ud800-\\udfff]"].join("|")+")",Da=RegExp("['’]","g"),Oa=RegExp(o,"g"),p=RegExp(f+"(?="+f+")|"+n+e,"g"),za=RegExp([l+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[u,l,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[u,l+c,"$"].join("|")+")",l+"?"+c+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",h].join("|"),"g"),d=RegExp("[\\u200d\\ud800-\\udfff"+i+"\\ufe0e\\ufe0f]"),Ma=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Wa=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ra=-1,lo={},co=(lo[qo]=lo[Vo]=lo[Go]=lo[Zo]=lo[Ko]=lo[Xo]=lo[Qo]=lo[na]=lo[ea]=!0,lo[no]=lo[Wo]=lo[Yo]=lo[eo]=lo[so]=lo[to]=lo[Ro]=lo[Bo]=lo[ro]=lo[io]=lo[uo]=lo[oo]=lo[ao]=lo[fo]=lo[Jo]=!1,{}),g=(co[no]=co[Wo]=co[Yo]=co[so]=co[eo]=co[to]=co[qo]=co[Vo]=co[Go]=co[Zo]=co[Ko]=co[ro]=co[io]=co[uo]=co[oo]=co[ao]=co[fo]=co[$o]=co[Xo]=co[Qo]=co[na]=co[ea]=!0,co[Ro]=co[Bo]=co[Jo]=!1,{"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"}),Ba=parseFloat,Ua=parseInt,s="object"==typeof m&&m&&m.Object===Object&&m,o="object"==typeof self&&self&&self.Object===Object&&self,ho=s||o||Function("return this")(),f="object"==typeof y&&y&&!y.nodeType&&y,n=f&&"object"==typeof _&&_&&!_.nodeType&&_,$a=n&&n.exports===f,v=$a&&s.process,e=function(){try{return v&&v.binding&&v.binding("util")}catch(n){}}(),Ja=e&&e.isArrayBuffer,Ya=e&&e.isDate,qa=e&&e.isMap,Va=e&&e.isRegExp,Ga=e&&e.isSet,Za=e&&e.isTypedArray,b=jo("length"),Ka=t({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Xa=t({"&":"&","<":"<",">":">",'"':""","'":"'"}),Qa=t({"&":"&","<":"<",">":">",""":'"',"'":"'"}),po=function i(n){function d(n){if(u(n)&&!D(n)&&!(n instanceof v)){if(n instanceof g)return n;if(A.call(n,"__wrapped__"))return Qe(n)}return new g(n)}function O(){}function g(n,e){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=Gu}function v(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Qu,this.__views__=[]}function z(n){var e=-1,t=null==n?0:n.length;for(this.clear();++e>>0,e>>>=0;for(var u=k(i);++r>>1,o=n[u];null!==o&&!m(o)&&(t?o<=e:o>>0)?(n=L(n))&&("string"==typeof e||null!=e&&!Ri(e))&&!(e=l(e))&&Uu(n)?Gn(Vu(n),0,t):n.split(e,t):[]},d.spread=function(t,r){if("function"!=typeof t)throw new C(Zu);return r=null==r?0:I(_(r),0),o(function(n){var e=n[r],n=Gn(n,0,r);return e&&zu(n,e),Hu(t,this,n)})},d.tail=function(n){var e=null==n?0:n.length;return e?s(n,1,e):[]},d.take=function(n,e,t){return n&&n.length?s(n,0,(e=t||e===Gu?1:_(e))<0?0:e):[]},d.takeRight=function(n,e,t){var r=null==n?0:n.length;return r?s(n,(e=r-(e=t||e===Gu?1:_(e)))<0?0:e,r):[]},d.takeRightWhile=function(n,e){return n&&n.length?Bn(n,c(e,3),!1,!0):[]},d.takeWhile=function(n,e){return n&&n.length?Bn(n,c(e,3)):[]},d.tap=function(n,e){return e(n),n},d.throttle=function(n,e,t){var r=!0,i=!0;if("function"!=typeof n)throw new C(Zu);return E(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),gt(n,e,{leading:r,maxWait:e,trailing:i})},d.thru=st,d.toArray=Nt,d.toPairs=ou,d.toPairsIn=au,d.toPath=function(n){return D(n)?Ou(n,Ke):m(n)?[n]:x(fi(L(n)))},d.toPlainObject=kt,d.transform=function(n,r,i){var e,t=D(n),u=t||Mi(n)||Ui(n);return r=c(r,4),null==i&&(e=n&&n.constructor,i=u?t?new e:[]:E(n)&&yt(e)?Ur(sr(n)):{}),(u?Fu:a)(n,function(n,e,t){return r(i,n,e,t)}),i},d.unary=function(n){return pt(n,1)},d.union=li,d.unionBy=ci,d.unionWith=hi,d.uniq=function(n){return n&&n.length?Mn(n):[]},d.uniqBy=function(n,e){return n&&n.length?Mn(n,c(e,2)):[]},d.uniqWith=function(n,e){return e="function"==typeof e?e:Gu,n&&n.length?Mn(n,Gu,e):[]},d.unset=function(n,e){return null==n||Wn(n,e)},d.unzip=ot,d.unzipWith=at,d.update=function(n,e,t){return null==n?n:Rn(n,e,qn(t))},d.updateWith=function(n,e,t,r){return r="function"==typeof r?r:Gu,null==n?n:Rn(n,e,qn(t),r)},d.values=It,d.valuesIn=function(n){return null==n?[]:Ao(n,S(n))},d.without=pi,d.words=Dt,d.wrap=function(n,e){return Ai(qn(e),n)},d.xor=di,d.xorBy=gi,d.xorWith=vi,d.zip=bi,d.zipObject=function(n,e){return Jn(n||[],e||[],J)},d.zipObjectDeep=function(n,e){return Jn(n||[],e||[],In)},d.zipWith=mi,d.entries=ou,d.entriesIn=au,d.extend=qi,d.extendWith=Vi,Mt(d,d),d.add=Su,d.attempt=vu,d.camelCase=fu,d.capitalize=Ht,d.ceil=ju,d.clamp=function(n,e,t){return t===Gu&&(t=e,e=Gu),t!==Gu&&(t=(t=T(t))===t?t:0),e!==Gu&&(e=(e=T(e))===e?e:0),K(T(n),e,t)},d.clone=function(n){return b(n,4)},d.cloneDeep=function(n){return b(n,5)},d.cloneDeepWith=function(n,e){return b(n,5,e="function"==typeof e?e:Gu)},d.cloneWith=function(n,e){return b(n,4,e="function"==typeof e?e:Gu)},d.conformsTo=function(n,e){return null==e||X(n,e,N(e))},d.deburr=Ft,d.defaultTo=function(n,e){return null==n||n!=n?e:n},d.divide=ku,d.endsWith=function(n,e,t){n=L(n),e=l(e);var r=n.length,r=t=t===Gu?r:K(_(t),0,r);return 0<=(t-=e.length)&&n.slice(t,r)==e},d.eq=mt,d.escape=function(n){return(n=L(n))&&fa.test(n)?n.replace(oa,Xa):n},d.escapeRegExp=function(n){return(n=L(n))&&ba.test(n)?n.replace(va,"\\$&"):n},d.every=function(n,e,t){return(D(n)?mo:en)(n,c(e=t&&h(n,e,t)?Gu:e,3))},d.find=wi,d.findIndex=nt,d.findKey=function(n,e){return Eo(n,c(e,3),a)},d.findLast=xi,d.findLastIndex=et,d.findLastKey=function(n,e){return Eo(n,c(e,3),un)},d.floor=Pu,d.forEach=lt,d.forEachRight=ct,d.forIn=function(n,e){return null==n?n:Gr(n,c(e,3),S)},d.forInRight=function(n,e){return null==n?n:Zr(n,c(e,3),S)},d.forOwn=function(n,e){return n&&a(n,c(e,3))},d.forOwnRight=function(n,e){return n&&un(n,c(e,3))},d.get=Pt,d.gt=Fi,d.gte=Di,d.has=function(n,e){return null!=n&&Oe(n,e,ln)},d.hasIn=Ct,d.head=rt,d.identity=j,d.includes=function(n,e,t,r){n=p(n)?n:It(n),t=t&&!r?_(t):0;r=n.length;return t<0&&(t=I(r+t,0)),Lt(n)?t<=r&&-1=H(e=e,t=t)&&n=this.__values__.length;return{done:n,value:n?Gu:this.__values__[this.__index__++]}},d.prototype.plant=function(n){for(var e,t=this;t instanceof O;)var r=Qe(t),i=(r.__index__=0,r.__values__=Gu,e?i.__wrapped__=r:e=r,r),t=t.__wrapped__;return i.__wrapped__=n,e},d.prototype.reverse=function(){var n=this.__wrapped__;return n instanceof v?(n=n,(n=(n=this.__actions__.length?new v(this):n).reverse()).__actions__.push({func:st,args:[ut],thisArg:Gu}),new g(n,this.__chain__)):this.thru(ut)},d.prototype.toJSON=d.prototype.valueOf=d.prototype.value=function(){return Un(this.__wrapped__,this.__actions__)},d.prototype.first=d.prototype.head,dr&&(d.prototype[dr]=function(){return this}),d}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(ho._=po,define(function(){return po})):n?((n.exports=po)._=po,f._=po):ho._=po}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],7:[function(n,e,s){!function(i){function u(n,e){for(var t=0,r=n.length-1;0<=r;r--){var i=n[r];"."===i?n.splice(r,1):".."===i?(n.splice(r,1),t++):t&&(n.splice(r,1),t--)}if(e)for(;t--;)n.unshift("..");return n}function o(n,e){if(n.filter)return n.filter(e);for(var t=[],r=0;rt.maxLineLengthHighlight||e.length>t.maxLineLengthHighlight)return{first:{prefix:r,line:l.escape(n)},second:{prefix:i,line:l.escape(e)}};var o,u=t.charByChar?s.diffChars(n,e):s.diffWordsWithSpace(n,e),a="",f=[];return t.charByChar||"words"!==t.matching||(o=.25,void 0!==t.matchWordsThreshold&&(o=t.matchWordsThreshold),n=c.rematch(function(n,e){n=n.value,e=e.value;return c.distance(n,e)}),e=u.filter(function(n){return n.removed}),n(u.filter(function(n){return n.added}),e).forEach(function(n){1===n[0].length&&1===n[1].length&&c.distance(n[0][0].value,n[1][0].value)"+n+"":n}),{first:{prefix:r,line:a.replace(/(]*>((.|\n)*?)<\/ins>)/g,"")},second:{prefix:i,line:a.replace(/(]*>((.|\n)*?)<\/del>)/g,"")}}},e.exports.PrinterUtils=new r},{"./rematch.js":16,"./utils.js":19,diff:2}],16:[function(n,e,t){function r(n,e){if(0===n.length)return e.length;if(0===e.length)return n.length;for(var t,r=[],i=0;i<=e.length;i++)r[i]=[i];for(t=0;t<=n.length;t++)r[0][t]=t;for(i=1;i<=e.length;i++)for(t=1;t<=n.length;t++)e.charAt(i-1)===n.charAt(t-1)?r[i][t]=r[i-1][t-1]:r[i][t]=Math.min(r[i-1][t-1]+1,Math.min(r[i][t-1]+1,r[i-1][t]+1));return r[e.length][n.length]}var i;(i={}).levenshtein=r,i.distance=function(n,e){return r(n=n.trim(),e=e.trim())/(n.length+e.length)},i.rematch=function(d){return function n(e,t,r,i){var u=function(n,e,t){for(var r,i=1/0,u=0;ul||t.length>c?s.concat(f):s}},e.exports.Rematch=i},{}],17:[function(t,n,e){function r(n){this.config=n;var e=t("./hoganjs-utils.js").HoganJsUtils;a=new e(n)}var a,d,g,v,i,o;d=t("./diff-parser.js").DiffParser,g=t("./printer-utils.js").PrinterUtils,v=t("./utils.js").Utils,i=t("./rematch.js").Rematch,o=i.rematch(function(n,e){n=n.content.substr(1),e=e.content.substr(1);return i.distance(n,e)}),r.prototype.makeDiffHtml=function(n,e){var t=a.template("side-by-side","file-diff"),r=a.template("generic","file-path"),i=a.template("icon","file"),u=a.template("tag",g.getFileTypeIcon(n));return t.render({file:n,fileHtmlId:g.getHtmlId(n),diffs:e,filePath:r.render({fileDiffName:g.getDiffName(n)},{fileIcon:i,fileTag:u})})},r.prototype.generateSideBySideJsonHtml=function(n){var t=this,n=n.map(function(n){var e=n.blocks.length?t.generateSideBySideFileHtml(n):t.generateEmptyDiff();return t.makeDiffHtml(n,e)}).join("\n");return a.render("generic","wrapper",{content:n})},r.prototype.makeSideHtml=function(n){return a.render("generic","column-line-number",{diffParser:d,blockHeader:v.escape(n),lineClass:"d2h-code-side-linenumber",contentClass:"d2h-code-side-line"})},r.prototype.generateSideBySideFileHtml=function(c){var h=this,p={left:"",right:""};return c.blocks.forEach(function(n){function e(){var n,a,f=s.length*l.length<(h.config.matchingMaxComparisons||2500)&&("lines"===h.config.matching||"words"===h.config.matching)?(n=o(s,l),a=d.LINE_TYPE.INSERT_CHANGES,d.LINE_TYPE.DELETE_CHANGES):(n=[[s,l]],a=d.LINE_TYPE.INSERTS,d.LINE_TYPE.DELETES);n.forEach(function(n){s=n[0],l=n[1];for(var e,t=Math.min(s.length,l.length),n=Math.max(s.length,l.length),r=0;r'),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(" "),r.b(r.rp(""),r.b("\n"+t),r.b(' '),r.b(r.v(r.f("fileName",n,e,0))),r.b(""),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(' '),r.b(r.v(r.f("addedLines",n,e,0))),r.b(""),r.b("\n"+t),r.b(' '),r.b(r.v(r.f("deletedLines",n,e,0))),r.b(""),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b(""),r.fl()},partials:{"'),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(' Files changed ('),r.b(r.v(r.f("filesNumber",n,e,0))),r.b(")"),r.b("\n"+t),r.b(' hide'),r.b("\n"+t),r.b(' show'),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b('
      '),r.b("\n"+t),r.b(" "),r.b(r.t(r.f("files",n,e,0))),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b(""),r.fl()},partials:{},subs:{}}),n.browserTemplates["generic-column-line-number"]=new e.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b(""),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b('
    '),r.b(r.t(r.f("blockHeader",n,e,0))),r.b("
    "),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b(""),r.fl()},partials:{},subs:{}}),n.browserTemplates["generic-empty-diff"]=new e.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b(""),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(" File without changes"),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b(""),r.fl()},partials:{},subs:{}}),n.browserTemplates["generic-file-path"]=new e.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b(''),r.b("\n"+t),r.b(' '),r.b(r.rp(""),r.b("\n"+t),r.b(' '),r.b(r.v(r.f("fileDiffName",n,e,0))),r.b(""),r.b("\n"+t),r.b(r.rp(""),r.fl()},partials:{""),t.b("\n"+r),t.b(' '),t.b("\n"+r),t.b(" "),t.b(t.t(t.f("lineNumber",n,e,0))),t.b("\n"+r),t.b(" "),t.b("\n"+r),t.b(' '),t.b("\n"+r),t.b('
    '),t.b("\n"+r),t.s(t.f("prefix",n,e,1),n,e,0,171,247,"{{ }}")&&(t.rs(n,e,function(n,e,t){t.b(' '),t.b(t.t(t.f("prefix",n,e,0))),t.b(""),t.b("\n"+r)}),n.pop()),t.s(t.f("content",n,e,1),n,e,0,279,353,"{{ }}")&&(t.rs(n,e,function(n,e,t){t.b(' '),t.b(t.t(t.f("content",n,e,0))),t.b(""),t.b("\n"+r)}),n.pop()),t.b("
    "),t.b("\n"+r),t.b(" "),t.b("\n"+r),t.b(""),t.fl()},partials:{},subs:{}}),n.browserTemplates["generic-wrapper"]=new e.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b('
    '),r.b("\n"+t),r.b(" "),r.b(r.t(r.f("content",n,e,0))),r.b("\n"+t),r.b("
    "),r.fl()},partials:{},subs:{}}),n.browserTemplates["icon-file-added"]=new e.Template({code:function(n,e,t){return this.b(t=t||""),this.b('"),this.fl()},partials:{},subs:{}}),n.browserTemplates["icon-file-changed"]=new e.Template({code:function(n,e,t){return this.b(t=t||""),this.b('"),this.fl()},partials:{},subs:{}}),n.browserTemplates["icon-file-deleted"]=new e.Template({code:function(n,e,t){return this.b(t=t||""),this.b('"),this.fl()},partials:{},subs:{}}),n.browserTemplates["icon-file-renamed"]=new e.Template({code:function(n,e,t){return this.b(t=t||""),this.b('"),this.fl()},partials:{},subs:{}}),n.browserTemplates["icon-file"]=new e.Template({code:function(n,e,t){return this.b(t=t||""),this.b('"),this.fl()},partials:{},subs:{}}),n.browserTemplates["line-by-line-file-diff"]=new e.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(" "),r.b(r.t(r.f("filePath",n,e,0))),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(" "),r.b(r.t(r.f("diffs",n,e,0))),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.fl()},partials:{},subs:{}}),n.browserTemplates["line-by-line-numbers"]=new e.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b('
    '),r.b(r.v(r.f("oldNumber",n,e,0))),r.b("
    "),r.b("\n"+t),r.b('
    '),r.b(r.v(r.f("newNumber",n,e,0))),r.b("
    "),r.fl()},partials:{},subs:{}}),n.browserTemplates["side-by-side-file-diff"]=new e.Template({code:function(n,e,t){var r=this;return r.b(t=t||""),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(" "),r.b(r.t(r.f("filePath",n,e,0))),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(" "),r.b(r.t(r.d("diffs.left",n,e,0))),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b('
    '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(' '),r.b("\n"+t),r.b(" "),r.b(r.t(r.d("diffs.right",n,e,0))),r.b("\n"+t),r.b(" "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.b("\n"+t),r.b("
    "),r.fl()},partials:{},subs:{}}),n.browserTemplates["tag-file-added"]=new e.Template({code:function(n,e,t){return this.b(t=t||""),this.b('ADDED'),this.fl()},partials:{},subs:{}}),n.browserTemplates["tag-file-changed"]=new e.Template({code:function(n,e,t){return this.b(t=t||""),this.b('CHANGED'),this.fl()},partials:{},subs:{}}),n.browserTemplates["tag-file-deleted"]=new e.Template({code:function(n,e,t){return this.b(t=t||""),this.b('DELETED'),this.fl()},partials:{},subs:{}}),n.browserTemplates["tag-file-renamed"]=new e.Template({code:function(n,e,t){return this.b(t=t||""),this.b('RENAMED'),this.fl()},partials:{},subs:{}}),r.exports=n.browserTemplates}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"hogan.js":4}],19:[function(n,e,t){function r(){}var i;i=n("lodash"),r.prototype.escape=function(n){return n.slice(0).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/\t/g," ")},r.prototype.startsWith=function(e,n){var t;return"object"==typeof n?(t=!1,n.forEach(function(n){0===e.indexOf(n)&&(t=!0)}),t):e&&0===e.indexOf(n)},r.prototype.valueOrEmpty=function(n){return n||""},r.prototype.safeConfig=function(n,e){var t={};return i.merge(t,e,n),t},e.exports.Utils=new r},{lodash:6}]},{},[10]); +!function o(i,r,l){function s(t,e){if(!r[t]){if(!i[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(f)return f(t,!0);e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}n=r[t]={exports:{}};i[t][0].call(n.exports,function(e){return s(i[t][1][e]||e)},n,n.exports,o,i,r,l)}return r[t].exports}for(var f="function"==typeof require&&require,e=0;e/gm,">")}function u(e){return e.nodeName.toLowerCase()}var h;h=[],o.prototype.nodeStream=function(e){var i=[];return function e(t,n){for(var o=t.firstChild;o;o=o.nextSibling)3===o.nodeType?n+=o.nodeValue.length:1===o.nodeType&&(i.push({event:"start",offset:n,node:o}),n=e(o,n),u(o).match(/br|hr|img|input/)||i.push({event:"stop",offset:n,node:o}));return n}(e,0),i},o.prototype.mergeStreams=function(e,t,n){function o(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset"}function r(e){f+=""}function l(e){("start"===e.event?i:r)(e.node)}for(var s=0,f="",a=[];e.length||t.length;){var d=o();if(f+=c(n.substring(s,d[0].offset)),s=d[0].offset,d===e){for(a.reverse().forEach(r);l(d.splice(0,1)[0]),(d=o())===e&&d.length&&d[0].offset===s;);a.reverse().forEach(i)}else"start"===d[0].event?a.push(d[0].node):a.pop(),l(d.splice(0,1)[0])}return f+c(n.substr(s))},t.exports.HighlightJS=new o},{}]},{},[1]); +!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.JsDiff=n():e.JsDiff=n()}(this,function(){return i=[function(e,n,t){"use strict";n.__esModule=!0,n.canonicalize=n.convertChangesToXML=n.convertChangesToDMP=n.merge=n.parsePatch=n.applyPatches=n.applyPatch=n.createPatch=n.createTwoFilesPatch=n.structuredPatch=n.diffArrays=n.diffJson=n.diffCss=n.diffSentences=n.diffTrimmedLines=n.diffLines=n.diffWordsWithSpace=n.diffWords=n.diffChars=n.Diff=void 0;var i=t(1),i=(i=i)&&i.__esModule?i:{default:i},r=t(2),o=t(3),s=t(5),a=t(6),f=t(7),u=t(8),l=t(9),d=t(10),c=t(11),h=t(13),p=t(14),v=t(16),t=t(17);n.Diff=i.default,n.diffChars=r.diffChars,n.diffWords=o.diffWords,n.diffWordsWithSpace=o.diffWordsWithSpace,n.diffLines=s.diffLines,n.diffTrimmedLines=s.diffTrimmedLines,n.diffSentences=a.diffSentences,n.diffCss=f.diffCss,n.diffJson=u.diffJson,n.diffArrays=l.diffArrays,n.structuredPatch=p.structuredPatch,n.createTwoFilesPatch=p.createTwoFilesPatch,n.createPatch=p.createPatch,n.applyPatch=d.applyPatch,n.applyPatches=d.applyPatches,n.parsePatch=c.parsePatch,n.merge=h.merge,n.convertChangesToDMP=v.convertChangesToDMP,n.convertChangesToXML=t.convertChangesToXML,n.canonicalize=u.canonicalize},function(e,n){"use strict";function t(){}n.__esModule=!0,(n.default=t).prototype={diff:function(a,f){function u(e){return t?(setTimeout(function(){t(void 0,e)},0),!0):e}function n(){for(var e=-1*h;e<=h;e+=2){var n=void 0,t=p[e-1],i=p[e+1],r=(i?i.newPos:0)-e,o=(t&&(p[e-1]=void 0),t&&t.newPos+1=d&&c<=r+1)return u(function(e,n,t,i,r){for(var o=0,s=n.length,a=0,f=0;oe.length?n:e}),l.value=e.join(u)):l.value=e.join(t.slice(a,a+l.count)),a+=l.count,l.added||(f+=l.count))}var d=n[s-1];return 1=d&&c<=e+1)return u([{value:this.join(f),count:f.length}]);if(t)!function e(){setTimeout(function(){return i=u.length-2&&r.length<=a.context&&(e=/\n$/.test(o),t=/\n$/.test(s),0!=r.length||e?e&&t||h.push("\\ No newline at end of file"):h.splice(n.oldLines,0,"\\ No newline at end of file")),l.push(n),c=d=0,h=[])),p+=r.length,v+=r.length)}(r);return{oldFileName:e,newFileName:n,oldHeader:t,newHeader:i,hunks:l}}function s(e,n,t,i,r,o,s){var a=d(e,n,t,i,r,o,s),f=[];e==n&&f.push("Index: "+e),f.push("==================================================================="),f.push("--- "+a.oldFileName+(void 0===a.oldHeader?"":"\t"+a.oldHeader)),f.push("+++ "+a.newFileName+(void 0===a.newHeader?"":"\t"+a.newHeader));for(var u=0;ue.length)return!1;for(var t=0;t"):i.removed&&n.push(""),n.push(i.value.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")),i.added?n.push(""):i.removed&&n.push("")}return n.join("")}}],r={},t.m=i,t.c=r,t.p="",t(0);function t(e){if(r[e])return r[e].exports;var n=r[e]={exports:{},id:e,loaded:!1};return i[e].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var i,r}); \ No newline at end of file diff --git a/src/main/resources/js/lib/compress/libs.min.js b/src/main/resources/js/lib/compress/libs.min.js index 3d2b9863d..588e6bee1 100644 --- a/src/main/resources/js/lib/compress/libs.min.js +++ b/src/main/resources/js/lib/compress/libs.min.js @@ -1,8 +1,8 @@ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,h=n.hasOwnProperty,a=h.toString,l=a.call(Object),m={};function v(e,t){var n=(t=t||E).createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function c(e,t){return t.toUpperCase()}var f="3.1.0",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,d=/^-ms-/,y=/-([a-z])/g;function x(e){var t=!!e&&"length"in e&&e.length,n=k.type(e);return"function"!==n&&!k.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0>10|55296,1023&r|56320)}function i(){T()}var e,d,b,o,a,h,p,g,w,u,l,T,C,s,E,m,c,v,y,k="sizzle"+1*new Date,x=n.document,S=0,r=0,N=ae(),D=ae(),j=ae(),A=function(e,t){return e===t&&(l=!0),0},q={}.hasOwnProperty,t=[],L=t.pop,H=t.push,F=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp($),G=new RegExp("^"+I+"$"),Y={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=ye(function(e){return!0===e.disabled},{dir:"parentNode",next:"legend"});try{F.apply(t=O.call(x.childNodes),x.childNodes),t[x.childNodes.length].nodeType}catch(e){F={apply:t.length?function(e,t){H.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,n,r){var i,o,a,s,u,l,c,f=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!r&&((t?t.ownerDocument||t:x)!==C&&T(t),t=t||C,E)){if(11!==p&&(u=Z.exec(e)))if(i=u[1]){if(9===p){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return F.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&d.getElementsByClassName&&t.getElementsByClassName)return F.apply(n,t.getElementsByClassName(i)),n}if(d.qsa&&!j[e+" "]&&(!m||!m.test(e))){if(1!==p)f=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ne,re):t.setAttribute("id",s=k),o=(l=h(e)).length;o--;)l[o]="#"+s+" "+ve(l[o]);c=l.join(","),f=ee.test(e)&&ge(t.parentNode)||t}if(c)try{return F.apply(n,f.querySelectorAll(c)),n}catch(e){}finally{s===k&&t.removeAttribute("id")}}}return g(e.replace(_,"$1"),t,n,r)}function ae(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function se(e){return e[k]=!0,e}function ue(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pe(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function de(t){return function(e){return"label"in e&&e.disabled===t||"form"in e&&e.disabled===t||"form"in e&&!1===e.disabled&&(e.isDisabled===t||e.isDisabled!==!t&&("label"in e||!ie(e))!==t)}}function he(a){return se(function(o){return o=+o,se(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in d=oe.support={},a=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},T=oe.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:x;return r!==C&&9===r.nodeType&&r.documentElement&&(s=(C=r).documentElement,E=!a(C),x!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",i,!1):n.attachEvent&&n.attachEvent("onunload",i)),d.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ue(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ue(function(e){return s.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}},b.filter.ID=function(e){var t=e.replace(te,f);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var n=e.replace(te,f);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),b.find.TAG=d.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=d.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},c=[],m=[],(d.qsa=K.test(C.querySelectorAll))&&(ue(function(e){s.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||m.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),s.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(d.matchesSelector=K.test(v=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&ue(function(e){d.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),c.push("!=",$)}),m=m.length&&new RegExp(m.join("|")),c=c.length&&new RegExp(c.join("|")),t=K.test(s.compareDocumentPosition),y=t||K.test(s.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===x&&y(x,e)?-1:t===C||t.ownerDocument===x&&y(x,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return ce(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ce(a[r],s[r]):a[r]===x?-1:s[r]===x?1:0}),C},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),t=t.replace(U,"='$1']"),d.matchesSelector&&E&&!j[t+" "]&&(!c||!c.test(t))&&(!m||!m.test(t)))try{var n=v.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,f),e[3]=(e[3]||e[4]||e[5]||"").replace(te,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=oe.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,D=/^.[^:#\[\.,]*$/;function j(e,n,r){if(k.isFunction(n))return k.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return k.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(D.test(n))return k.filter(n,e,r);n=k.filter(n,e)}return k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||A,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):k.isFunction(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&k.isPlainObject(t))for(r in t)k.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}).prototype=k.fn,A=k(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function F(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]+)/i,ae=/^$|\/(?:java|ecma)script/i,se={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ue(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&k.nodeName(e,t)?k.merge([e],n):n}function le(e,t){for(var n=0,r=e.length;nx",m.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue;var he=E.documentElement,ge=/^key/,me=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ve=/^([^.]*)(?:\.(.+)|)/;function ye(){return!0}function xe(){return!1}function be(){try{return E.activeElement}catch(e){}}function we(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)we(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=xe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,m=X.get(t);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(he,i),n.guid||(n.guid=k.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(O)||[""]).length;l--;)d=g=(s=ve.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,m=X.hasData(e)&&X.get(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(O)||[""]).length;l--;)if(d=g=(s=ve.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||k.removeEvent(e,d,m.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&X.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(X.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,Ce=/\s*$/g;function Ne(e,t){return k.nodeName(e,"table")&&k.nodeName(11!==t.nodeType?t:t.firstChild,"tr")&&e.getElementsByTagName("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){var t=ke.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ae(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(X.hasData(e)&&(o=X.access(e),a=X.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=k.contains(e.ownerDocument,e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ue(c),r=0,i=(o=ue(e)).length;r").prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var zt,Xt=[],Ut=/(=)\?(?=&|$)|\?\?/;function Vt(e){return k.isWindow(e)?e:9===e.nodeType&&e.defaultView}k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||k.expando+"_"+Tt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=k.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Ct.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&k.isFunction(i)&&i(o[0]),o=i=void 0}),"script"}),m.createHTMLDocument=((zt=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===zt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=de([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),i=("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,r.left):(a=parseFloat(o)||0,parseFloat(u)||0),k.isFunction(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r,i,o=this[0];return o?o.getClientRects().length?(r=o.getBoundingClientRect()).width||r.height?(n=Vt(i=o.ownerDocument),e=i.documentElement,{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r:{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===k.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),k.nodeName(e[0],"html")||(r=e.offset()),r={top:r.top+k.css(e[0],"borderTopWidth",!0),left:r.left+k.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-k.css(n,"marginTop",!0),left:t.left-r.left-k.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||he})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r=Vt(e);return void 0===n?r?r[i]:e[t]:void(r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n)},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(m.pixelPosition,function(e,t){if(t)return t=_e(e,n),We.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return k.isWindow(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),k.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return k});var Gt=C.jQuery,Yt=C.$;return k.noConflict=function(e){return C.$===k&&(C.$=Yt),e&&C.jQuery===k&&(C.jQuery=Gt),k},e||(C.jQuery=C.$=k),k}); +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(w,P){"use strict";var e=[],T=w.document,R=Object.getPrototypeOf,a=e.slice,M=e.concat,I=e.push,i=e.indexOf,n={},W=n.toString,h=n.hasOwnProperty,$=h.toString,B=$.call(Object),g={};function _(e,t){var n=(t=t||T).createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function z(e,t){return t.toUpperCase()}var t="3.1.0",C=function(e,t){return new C.fn.init(e,t)},X=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,U=/^-ms-/,V=/-([a-z])/g;function G(e){var t=!!e&&"length"in e&&e.length,n=C.type(e);return"function"!==n&&!C.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0>10|55296,1023&r|56320)}function R(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function M(){T()}var e,d,b,o,I,h,W,$,w,u,l,T,C,n,E,g,r,i,m,k="sizzle"+ +new Date,y=P.document,S=0,B=0,_=fe(),z=fe(),v=fe(),X=function(e,t){return e===t&&(l=!0),0},U={}.hasOwnProperty,t=[],V=t.pop,G=t.push,N=t.push,Y=t.slice,x=function(e,t){for(var n=0,r=e.length;n+~]|"+s+")"+s+"*"),ne=new RegExp("="+s+"*([^\\]'\"]*?)"+s+"*\\]","g"),re=new RegExp(K),ie=new RegExp("^"+a+"$"),p={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a+"|[*])"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+K),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},oe=/^(?:input|select|textarea|button)$/i,se=/^h\d$/i,c=/^[^{]+\{\s*\[native \w/,ae=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ue=/[+~]/,j=new RegExp("\\\\([\\da-f]{1,6}"+s+"?|("+s+")|.)","ig"),le=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,ce=O(function(e){return!0===e.disabled},{dir:"parentNode",next:"legend"});try{N.apply(t=Y.call(y.childNodes),y.childNodes),t[y.childNodes.length].nodeType}catch(e){N={apply:t.length?function(e,t){G.apply(e,Y.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function A(e,t,n,r){var i,o,s,a,u,l,c,f=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!r&&((t?t.ownerDocument||t:y)!==C&&T(t),t=t||C,E)){if(11!==p&&(u=ae.exec(e)))if(i=u[1]){if(9===p){if(!(s=t.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(f&&(s=f.getElementById(i))&&m(t,s)&&s.id===i)return n.push(s),n}else{if(u[2])return N.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&d.getElementsByClassName&&t.getElementsByClassName)return N.apply(n,t.getElementsByClassName(i)),n}if(d.qsa&&!v[e+" "]&&(!g||!g.test(e))){if(1!==p)f=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(le,R):t.setAttribute("id",a=k),o=(l=h(e)).length;o--;)l[o]="#"+a+" "+F(l[o]);c=l.join(","),f=ue.test(e)&&ge(t.parentNode)||t}if(c)try{return N.apply(n,f.querySelectorAll(c)),n}catch(e){}finally{a===k&&t.removeAttribute("id")}}}return $(e.replace(D,"$1"),t,n,r)}function fe(){var n=[];function r(e,t){return n.push(e+" ")>b.cacheLength&&delete r[n.shift()],r[e+" "]=t}return r}function q(e){return e[k]=!0,e}function L(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function pe(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(t){return function(e){return"label"in e&&e.disabled===t||"form"in e&&e.disabled===t||"form"in e&&!1===e.disabled&&(e.isDisabled===t||e.isDisabled!==!t&&("label"in e||!ce(e))!==t)}}function H(s){return q(function(o){return o=+o,q(function(e,t){for(var n,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in d=A.support={},I=A.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},T=A.setDocument=function(e){var e=e?e.ownerDocument||e:y;return e!==C&&9===e.nodeType&&e.documentElement&&(n=(C=e).documentElement,E=!I(C),y!==C&&(e=C.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",M,!1):e.attachEvent&&e.attachEvent("onunload",M)),d.attributes=L(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=L(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=c.test(C.getElementsByClassName),d.getById=L(function(e){return n.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&E)return(t=t.getElementById(e))?[t]:[]},b.filter.ID=function(e){var t=e.replace(j,f);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(j,f);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),b.find.TAG=d.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=d.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},r=[],g=[],(d.qsa=c.test(C.querySelectorAll))&&(L(function(e){n.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+s+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+s+"*(?:value|"+Q+")"),e.querySelectorAll("[id~="+k+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||g.push(".#.+[+~]")}),L(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+s+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),n.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(d.matchesSelector=c.test(i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&L(function(e){d.disconnectedMatch=i.call(e,"*"),i.call(e,"[s!='']:x"),r.push("!=",K)}),g=g.length&&new RegExp(g.join("|")),r=r.length&&new RegExp(r.join("|")),e=c.test(n.compareDocumentPosition),m=e||c.test(n.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=e?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===y&&m(y,e)?-1:t===C||t.ownerDocument===y&&m(y,t)?1:u?x(u,e)-x(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?x(u,e)-x(u,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?de(s[r],a[r]):s[r]===y?-1:a[r]===y?1:0}),C},A.matches=function(e,t){return A(e,null,null,t)},A.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),t=t.replace(ne,"='$1']"),d.matchesSelector&&E&&!v[t+" "]&&(!r||!r.test(t))&&(!g||!g.test(t)))try{var n=i.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(j,f),e[3]=(e[3]||e[4]||e[5]||"").replace(j,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||A.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&A.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return p.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&re.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(j,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+s+")"+e+"("+s+"|$)"))&&_(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=A.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,K=/^.[^:#\[\.,]*$/;function Z(e,n,r){if(C.isFunction(n))return C.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return C.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(K.test(n))return C.filter(n,e,r);n=C.filter(n,e)}return C.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/,ne=((C.fn.init=function(e,t,n){if(!e)return this;if(n=n||ee,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):C.isFunction(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:te.exec(e))||!r[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(r[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:T,!0)),J.test(r[1])&&C.isPlainObject(t))for(var r in t)C.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(n=T.getElementById(r[2]))&&(this[0]=n,this.length=1),this}).prototype=C.fn,ee=C(T),/^(?:parents|prev(?:Until|All))/),re={children:!0,contents:!0,next:!0,prev:!0};function ie(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]+)/i,be=/^$|\/(?:java|ecma)script/i,v={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function x(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&C.nodeName(e,t)?C.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;nx",g.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue;var Ee=T.documentElement,ke=/^key/,Se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ne=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function d(){return!1}function je(){try{return T.activeElement}catch(e){}}function Ae(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=d;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return C().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=C.guid++)),e.each(function(){C.event.add(this,t,i,r,n)})}C.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h=y.get(t);if(h)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&C.find.matchesSelector(Ee,i),n.guid||(n.guid=C.guid++),(a=h.events)||(a=h.events={}),(s=h.handle)||(s=h.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(E)||[""]).length;u--;)f=d=(p=Ne.exec(e[u])||[])[1],p=(p[2]||"").split(".").sort(),f&&(l=C.event.special[f]||{},f=(i?l.delegateType:l.bindType)||f,l=C.event.special[f]||{},d=C.extend({type:f,origType:d,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:p.join(".")},o),(c=a[f])||((c=a[f]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,r,p,s)||t.addEventListener&&t.addEventListener(f,s)),l.add&&(l.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),i?c.splice(c.delegateCount++,0,d):c.push(d),C.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,m=y.hasData(e)&&y.get(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(E)||[""]).length;l--;)if(d=g=(a=Ne.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=C.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||C.removeEvent(e,d,m.handle),delete u[d])}else for(d in u)C.event.remove(e,d+t[l],n,r,!0);C.isEmptyObject(u)&&y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s=C.event.fix(e),a=new Array(arguments.length),e=(y.get(this,"events")||{})[s.type]||[],u=C.event.special[s.type]||{};for(a[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,Le=/\s*$/g;function Pe(e,t){return C.nodeName(e,"table")&&C.nodeName(11!==t.nodeType?t:t.firstChild,"tr")&&e.getElementsByTagName("tbody")[0]||e}function Re(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){var t=Fe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ie(e,t){var n,r,i,o,s,a;if(1===t.nodeType){if(y.hasData(e)&&(o=y.access(e),s=y.set(t,o),a=o.events))for(i in delete s.handle,s.events={},a)for(n=0,r=a[i].length;n")},clone:function(e,t,n){var r,i,o,s,a,u,l,c=e.cloneNode(!0),f=C.contains(e.ownerDocument,e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(s=x(c),r=0,i=(o=x(e)).length;r").prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),T.head.appendChild(r[0])},abort:function(){i&&i()}}}),[]),It=/(=)\?(?=&|$)|\?\?/;function Wt(e){return C.isWindow(e)?e:9===e.nodeType&&e.defaultView}C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mt.pop()||C.expando+"_"+vt++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(It.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&It.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=C.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(It,"$1"+r):!1!==e.jsonp&&(e.url+=(xt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||C.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=w[r],w[r]=function(){o=arguments},n.always(function(){void 0===i?C(w).removeProp(r):w[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Mt.push(r)),o&&C.isFunction(i)&&i(o[0]),o=i=void 0}),"script"}),g.createHTMLDocument=((e=T.implementation.createHTMLDocument("").body).innerHTML="
    ",2===e.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=T.implementation.createHTMLDocument("")).createElement("base")).href=T.location.href,t.head.appendChild(r)):t=T),r=!n&&[],(n=J.exec(e))?[t.createElement(n[1])]:(n=Ce([e],t,r),r&&r.length&&C(r).remove(),C.merge([],n.childNodes)));var r},C.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(" ");return-1").append(C.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){C.fn[t]=function(e){return this.on(t,e)}}),C.expr.pseudos.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(e,t,n){var r,i,o,s,a=C.css(e,"position"),u=C(e),l={};"static"===a&&(e.style.position="relative"),o=u.offset(),r=C.css(e,"top"),s=C.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<(r+s).indexOf("auto")?(i=(a=u.position()).top,a.left):(i=parseFloat(r)||0,parseFloat(s)||0),null!=(t=C.isFunction(t)?t.call(e,n,C.extend({},o)):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+a),"using"in t?t.using.call(e,l):u.css(l)}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){C.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(n=r.getBoundingClientRect()).width||n.height?(e=Wt(r=r.ownerDocument),r=r.documentElement,{top:n.top+e.pageYOffset-r.clientTop,left:n.left+e.pageXOffset-r.clientLeft}):n:{top:0,left:0}:void 0},position:function(){var e,t,n,r;if(this[0])return n=this[0],r={top:0,left:0},"fixed"===C.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),r={top:(r=C.nodeName(e[0],"html")?r:e.offset()).top+C.css(e[0],"borderTopWidth",!0),left:r.left+C.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-C.css(n,"marginTop",!0),left:t.left-r.left-C.css(n,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||Ee})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;C.fn[t]=function(e){return f(this,function(e,t,n){var r=Wt(e);return void 0===n?r?r[i]:e[t]:void(r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n)},t,e,arguments.length)}}),C.each(["top","left"],function(e,n){C.cssHooks[n]=Ye(g.pixelPosition,function(e,t){if(t)return t=S(e,n),Ve.test(t)?C(e).position()[n]+"px":t})}),C.each({Height:"height",Width:"width"},function(s,a){C.each({padding:"inner"+s,content:a,"":"outer"+s},function(r,o){C.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return f(this,function(e,t,n){var r;return C.isWindow(e)?0===o.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+s],r["scroll"+s],e.body["offset"+s],r["offset"+s],r["client"+s])):void 0===n?C.css(e,t,i):C.style(e,t,n,i)},a,n?e:void 0,n)}})}),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),C.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return C});var $t=w.jQuery,Bt=w.$;return C.noConflict=function(e){return w.$===C&&(w.$=Bt),e&&w.jQuery===C&&(w.jQuery=$t),C},P||(w.jQuery=w.$=C),C}); var hex_chr="0123456789abcdef";function rhex(i){for(str="",j=0;j<=3;j++)str+=hex_chr.charAt(i>>8*j+4&15)+hex_chr.charAt(i>>8*j&15);return str}function str2blks_MD5(d){for(nblk=1+(d.length+8>>6),blks=new Array(16*nblk),i=0;i<16*nblk;i++)blks[i]=0;for(i=0;i>2]|=d.charCodeAt(i)<>2]|=128<>16)+(d>>16)+(c>>16)<<16|65535&c}function rol(i,d){return i<>>32-d}function cmn(i,d,c,a,b,x){return add(rol(add(add(d,i),add(a,x)),b),c)}function ff(i,d,c,a,b,x,h){return cmn(d&c|~d&a,i,d,b,x,h)}function gg(i,d,c,a,b,x,h){return cmn(d&a|c&~a,i,d,b,x,h)}function hh(i,d,c,a,b,x,h){return cmn(d^c^a,i,d,b,x,h)}function ii(i,d,c,a,b,x,h){return cmn(c^(d|~a),i,d,b,x,h)}function calcMD5(h){for(x=str2blks_MD5(h),a=1732584193,b=-271733879,c=-1732584194,d=271733878,i=0;ithis.maxReconnectAttempts)return}else a.dispatchEvent(d("connecting")),this.reconnectAttempts=0;(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",r.url);var e=i,t=setTimeout(function(){(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",r.url),u=!0,e.close(),u=!1},r.timeoutInterval);i.onopen=function(e){clearTimeout(t),(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","onopen",r.url),r.protocol=i.protocol,r.readyState=WebSocket.OPEN,r.reconnectAttempts=0;var n=d("open");n.isReconnect=o,o=!1,a.dispatchEvent(n)},i.onclose=function(e){if(clearTimeout(t),i=null,s)r.readyState=WebSocket.CLOSED,a.dispatchEvent(d("close"));else{r.readyState=WebSocket.CONNECTING;var n=d("connecting");n.code=e.code,n.reason=e.reason,n.wasClean=e.wasClean,a.dispatchEvent(n),o||u||((r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","onclose",r.url),a.dispatchEvent(d("close")));var t=r.reconnectInterval*Math.pow(r.reconnectDecay,r.reconnectAttempts);setTimeout(function(){r.reconnectAttempts++,r.open(!0)},t>r.maxReconnectInterval?r.maxReconnectInterval:t)}},i.onmessage=function(e){(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",r.url,e.data);var n=d("message");n.data=e.data,a.dispatchEvent(n)},i.onerror=function(e){(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","onerror",r.url,e),a.dispatchEvent(d("error"))}},1==this.automaticOpen&&this.open(!1),this.send=function(e){if(i)return(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","send",r.url,e),i.send(e);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(e,n){void 0===e&&(e=1e3),s=!0,i&&i.close(e,n)},this.refresh=function(){i&&i.close()}}}); -!function(_){_.fn.extend({dialog:{version:"0.0.1.7",author:"84588990@qq.com"}});function e(){this._defaults={styleClass:{background:"dialog-background",panel:"dialog-panel",main:"dialog-main",footer:"dialog-footer",headerMiddle:"dialog-header-middle",headerBg:"dialog-header-bg",closeIcon:"icon-close",closeIconHover:"dialog-close-icon-hover",title:"dialog-title"}}}var t=(new Date).getTime(),n="dialog";_.extend(e.prototype,{_attach:function(e,t){e.id||(this.uuid++,e.id="dp"+this.uuid);var i=this._newInst(_(e));i.settings=_.extend({},t||{}),_.data(e,n,i),this._init(e)},_newInst:function(e){return{id:e[0].id.replace(/([^A-Za-z0-9_])/g,"\\\\$1")}},_getInst:function(e){try{return _.data(e,n)}catch(e){throw"Missing instance data for this dialog"}},_destroyDialog:function(e){var t=_.dialog._getInst(e),i=t.id;_.removeData(e,n),_(e).prependTo("#"+i+"Wrap").unwrap(),_(e).removeAttr("style");var o=this._getDefaults(_.dialog._defaults,t.settings,"styleClass");_("."+o.background).remove(),_("#"+i+"Dialog").remove()},_init:function(e){var t=this._getInst(e),i=t.id,o=t.settings,n=_(window).height(),a=_(window).width(),s=this._getDefaults(_.dialog._defaults,o,"styleClass"),l=o.height?o.height:parseInt(.6*n),d=o.width?o.width:parseInt(.6*a);o.title=o.title?o.title:"",o.okText=o.okText?o.okText:"Ok",o.cancelText=o.cancelText?o.cancelText:"Cancel";var r="",c="
    "+o.title+"
    ";o.hideFooter||(r=""+o.okText+""+o.cancelText+"");var u="
    "+c+"
    "+r+"
    ",h="";o.modal&&0===_("."+s.background).length&&(h="
    ");_("#"+i).wrap("
    ");var g=_(e).clone(!0);_(e).remove(),_("body").append(h+u),_(_("#"+i+"Dialog ."+s.main+" div").get(0)).append(g),_(g).show();var p="",f="",v=_("#"+i+"Dialog");f=o.position?(p=o.position.top,o.position.left):(p=parseInt((n-l)/2),parseInt((a-d)/2)),v.css({top:p+"px",left:f+"px"}),_("#"+i+"Dialog ."+s.closeIcon).bind("click",function(){_.dialog._close(i,o)});var m=_("#"+i+"Dialog ."+s.footer+" a");_(m.get(1)).bind("click",function(){_.dialog._close(i,o)}),_(m.get(0)).bind("click",function(){void 0!==o.ok&&!o.ok()||_.dialog._close(i,o)}),this._bindMove(i,s.headerBg,l,d),_(window).keyup(function(e){27===e.keyCode&&_.dialog._close(i,o)})},_bindMove:function(i,e){_("#"+i+"Dialog ."+e).mousedown(function(e){var t=document;e=e||window.event;var o=document.getElementById(i+"Dialog"),n=e.clientX-parseInt(o.style.left),a=e.clientY-parseInt(o.style.top);t.ondragstart="return false;",t.onselectstart="return false;",t.onselect="document.selection.empty();",this.setCapture?this.setCapture():window.captureEvents&&window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP),t.onmousemove=function(e){var t=(e=e||window.event).clientX-n,i=e.clientY-a;t<0&&(t=0),t>_(window).width()-_(o).width()&&(t=_(window).width()-_(o).width()),i<0&&(i=0),i>_(window).height()-_(o).height()&&(i=_(window).height()-_(o).height()),o.style.left=t+"px",o.style.top=i+"px"},t.onmouseup=function(){this.releaseCapture?this.releaseCapture():window.captureEvents&&window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP),t.onmousemove=null,t.onmouseup=null,t.ondragstart=null,t.onselectstart=null,t.onselect=null}})},_close:function(e,t){if("none"!==_("#"+e+"Dialog").css("display")&&(void 0===t.close||t.close())&&(_("#"+e+"Dialog").hide(),t.modal)){var i=this._getDefaults(_.dialog._defaults,t,"styleClass");_("."+i.background).hide()}},_closeDialog:function(e){var t=this._getInst(e),i=t.id,o=t.settings;_.dialog._close(i,o)},_openDialog:function(e){var t=this._getInst(e),i=t.id,o=t.settings;if(_("#"+i+"Dialog").show(),o.modal){var n=this._getDefaults(_.dialog._defaults,o,"styleClass");_("."+n.background).show()}},_updateDialog:function(e,t){var i=this._getInst(e),o=i.id,n=i.settings,a=this._getDefaults(_.dialog._defaults,n,"styleClass");_.extend(n,t);var s=_("#"+o+"Dialog");t.position&&s.css({top:t.position.top,left:t.position.left}),t.width&&(s.width(t.width+26),s.find("."+a.main+" div")[0].style.width=t.width+"px",s.find("."+a.headerBg).width(t.width+18)),t.height&&(s.find("."+a.main+" div")[0].style.height=t.height+"px"),t.title&&s.find("."+a.title).html(t.title),void 0!==t.modal&&(t.modal?_("."+a.background).show():_("."+a.background).hide()),void 0!==t.hideFooter&&(t.hideFooter?s.find("."+a.footer).hide():s.find("."+a.footer).show())},_getDefaults:function(e,t,i){if("styleClass"===i){if("default"===t.theme||void 0===t.theme)return e.styleClass;for(var o in t.styleClass={},e[i])t.styleClass[o]=t.theme+"-"+e.styleClass[o]}else{if("height"===i||"width"===i)return null===t[i]||void 0===t[i]?"auto":t[i]+"px";if(null===t[i]||void 0===t[i])return e[i]}return t[i]}}),_.fn.dialog=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e?(t.shift(),_.dialog["_"+e+"Dialog"].apply(_.dialog,[this[0]].concat(t))):this.each(function(){_.dialog._attach(this,e)})},_.dialog=new e,window["DP_jQuery_"+t]=_}(jQuery),function(g){function e(){this._defaults={styleClass:{panelClass:"completed-panel",inputClass:"completed-input",ckClass:"completed-ck"},separator:","},this._settingsDataFormat={}}var t=(new Date).getTime(),o="completed";g.extend(e.prototype,{_attach:function(e,t){e.id||(this.uuid++,e.id="dp"+this.uuid);var i=this._newInst(g(e));i.settings=g.extend({buttonText:"选择"},t||{}),g.data(e,o,i),this._init(e)},_newInst:function(e){return{id:e[0].id.replace(/([^A-Za-z0-9_])/g,"\\\\$1")}},_getInst:function(e){try{return g.data(e,o)}catch(e){throw"Missing instance data for this completed"}},_destroyCompleted:function(){},_init:function(e){var t=this._getInst(e),i=t.id,o=t.settings;this._buildHTML(i,o),g(document).click(function(e){e.target.id!==i&&g("#"+i+"SelectedPanel").hide()}),o.onlySelect||this._buildCheckboxPanel(i,o.data)},_buildHTML:function(e,t){var i=t.height+"px",o=this._getDefaults(g.completed._defaults,t,"styleClass"),n=g("#"+e),a="";t.onlySelect||(a+=""),a+="
    ","object"==typeof t.data&&t.data.sort(),n.after(a).bind("keyup",{settings:t},this._keyupAction).bind("keydown",function(e){t.chinese=e.keyCode,t.keydownVal=g(this).val()}).addClass(o.inputClass),t.tipNum=0},_keyupAction:function(e){var t=e.data.settings,i=g.completed._getCurrentWord(this,t);if(""===i.currentWord||27===e.keyCode||16===e.keyCode)return g("#"+this.id+"SelectedPanel").hide(),t.tipNum=0,void(t.afterKeyup&&t.afterKeyup(e));var o=g.completed._getMatchData(t.data,this.value,i.currentWord);if(38===e.keyCode&&(0=e.length&&(a.tipNum=0);for(var o="",s=0;s"+t+"");a.tipNum===s&&(l="class='selected'"),o+=""+d+""}i.html(o).show();var r=g("#"+n+"SelectedPanel a.selected");r.position().top+i.scrollTop()>50-r.height()&&i.scrollTop(r.position().top+i.scrollTop()+r.height()-50),r.position().top<0&&i.scrollTop(i.scrollTop-r.height()),g("#"+n+"SelectedPanel a").click(function(){var e=document.getElementById(n),t=g.completed._getCurrentWord(document.getElementById(n),a),i=g.completed._getMatchData(a.data,e.value,t.currentWord),o=e.value;e.value=o.substring(0,t.startPos)+i[a.tipNum]+o.substring(t.endPos,o.length),a.tipNum=0,g(e).focus(),a.afterSelected&&a.afterSelected(g(this))})}else i.html("").hide()},_buildCheckboxPanel:function(e,t){for(var i="",o=g("#"+e),n=0;n"+t[n]+"";g("#"+e+"CheckboxPanel").html(i+"
    "),g("#"+e+"CheckboxPanel span").click(function(){var e=o.val(),t=this.innerHTML;if("selected"===this.className){this.className="";var i=e.substr(e.indexOf(t)+t.length,1);t===e||","!==i?o.val(e.replace(t,"")):o.val(e.replace(t+",",""))}else this.className="selected",""===e.replace(/\s/g,"")||","===e.substr(e.length-1,1)?o.val(e+t):o.val(e+","+t)}),this._matchChecked(e),o.blur(function(){g.completed._matchChecked(e)})},_matchChecked:function(e){var t=g("#"+e).val().split(",");g("#"+e+"CheckboxPanel span").removeClass().each(function(){for(var e=0;e","/":"?","\\":"|"},textAcceptingInputTypes:["text","password","number","email","url","range","date","month","week","time","datetime","datetime-local","search","color","tel"],textInputTypes:/textarea|input|select/i,options:{filterInputAcceptingElements:!0,filterTextInputs:!0,filterContentEditable:!0}},l.each(["keydown","keyup","keypress"],function(){l.event.special[this]={add:t}})}(jQuery||this.jQuery||window.jQuery); -!function(r){var i={support:{pjax:window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/(iPod|iPhone|iPad|WebApps\/.+CFNetwork)/),storage:!!window.localStorage},toInt:function(t){return parseInt(t)},stack:{},getTime:function(){return 1*new Date},getRealUrl:function(t){return t=(t=(t||"").replace(/\#.*?$/,"")).replace("?pjax=true&","?").replace("?pjax=true","").replace("&pjax=true","")},getUrlHash:function(t){return t.replace(/^[^\#]*(?:\#(.*?))?$/,"$1")},getLocalKey:function(t){var e="pjax_"+encodeURIComponent(t);return{data:e+"_data",time:e+"_time",title:e+"_title"}},removeAllCache:function(){if(i.support.storage)for(var t in localStorage)"pjax"===(t.split("_")||[""])[0]&&delete localStorage[t]},getCache:function(t,e,o){var a,n,l;if(e=i.toInt(e),t in i.stack){if(a=i.stack[t],ctime=i.getTime(),a.time+1e3*e>ctime)return a;delete i.stack[t]}else if(o&&i.support.storage){var r=i.getLocalKey(t);if(n=r.data,l=r.time,a=localStorage.getItem(n)){if(i.toInt(localStorage.getItem(l))+1e3*e>i.getTime())return{data:a,title:localStorage.getItem(r.title)};localStorage.removeItem(n),localStorage.removeItem(l),localStorage.removeItem(r.title)}}return null},setCache:function(t,e,o,a){var n,l=i.getTime();i.stack[t]={data:e,title:o,time:l},a&&i.support.storage&&(n=i.getLocalKey(t),localStorage.setItem(n.data,e),localStorage.setItem(n.time,l),localStorage.setItem(n.title,o))},removeCache:function(t){if(t=i.getRealUrl(t||location.href),delete i.stack[t],i.support.storage){var e=i.getLocalKey(t);localStorage.removeItem(e.data),localStorage.removeItem(e.time),localStorage.removeItem(e.title)}}},c=function(a){if(!(a=r.extend({selector:"",container:"",callback:function(){},filter:function(){}},a)).container||!a.selector)throw new Error("selector & container options must be set");r("body").delegate(a.selector,"click",function(t){if(1(.*?)<\/title>/);n&&(o=n[1])}o&&-1==o.indexOf(c.options.titleSuffix)&&(o+=c.options.titleSuffix),document.title=o,c.state={container:c.options.container,timeout:c.options.timeout,cache:c.options.cache,storage:c.options.storage,show:c.options.show,title:o,url:c.options.oldUrl};var l=r.param(c.options.data);""!=l&&(c.state.url=c.options.url+(/\?/.test(c.options.url)?"&":"?")+l),c.options.push?(c.active||(history.replaceState(r.extend({},c.state,{url:null}),document.title),c.active=!0),history.pushState(c.state,document.title,c.options.oldUrl)):!1===c.options.push&&history.replaceState(c.state,document.title,c.options.oldUrl),c.options.showFn&&c.options.showFn(t,function(){c.options.callback&&c.options.callback.call(c.options.element,{type:e?"cache":"success"})},e),c.options.cache&&!e&&i.setCache(c.options.url,t,o,c.options.storage)},c.request=function(a){a.hasOwnProperty("data")&&(c.defaultOptions.data=a.data),a=r.extend(!0,c.defaultOptions,a);var t,n=r(a.container);if(a.oldUrl=a.url,a.url=i.getRealUrl(a.url),r(a.element).length&&(t=i.toInt(r(a.element).attr("data-pjax-cache")))&&(a.cache=t),!0===a.cache&&(a.cache=86400),a.cache=i.toInt(a.cache),0===a.cache&&i.removeAllCache(),a.showFn||(a.showFn=function(t,e,o){c.showFn(a.show,n,t,e,o)}),c.options=a,c.options.success=c.success,a.cache&&(t=i.getCache(a.url,a.cache,a.storage)))return a.beforeSend(),a.title=t.title,c.success(t.data,!0),a.complete(),!0;c.xhr&&c.xhr.readyState<4&&(c.xhr.onreadystatechange=r.noop,c.xhr.abort()),c.xhr=r.ajax(c.options)};var n="state"in window.history,l=location.href;r(window).bind("popstate",function(t){var e=!n&&location.href==l;if(n=!0,!e){var o=t.state;if(o&&o.container)if(r(o.container).length){var a={url:o.url,container:o.container,push:null,timeout:o.timeout,cache:o.cache,storage:o.storage,title:o.title,element:null};c.request(a)}else window.location=location.href}}),i.support.pjax||((c=function(){return!0}).request=function(t){t&&t.url&&(location.href=t.url)}),r.pjax=c,r.pjax.util=i,"state"in r.Event.prototype||r.event.addProp("state")}(jQuery); -!function(e,n){"function"==typeof define&&define.amd?define(n):"object"==typeof exports?module.exports=n():e.NProgress=n()}(this,function(){var n,t,o={version:"0.2.0"},a=o.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
    '};function u(e,n,t){return ethis.maxReconnectAttempts)return}else a.dispatchEvent(d("connecting")),this.reconnectAttempts=0;(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",r.url);var e=i,o=setTimeout(function(){(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",r.url),u=!0,e.close(),u=!1},r.timeoutInterval);i.onopen=function(e){clearTimeout(o),(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","onopen",r.url),r.protocol=i.protocol,r.readyState=WebSocket.OPEN,r.reconnectAttempts=0;var n=d("open");n.isReconnect=t,t=!1,a.dispatchEvent(n)},i.onclose=function(e){var n;clearTimeout(void 0),i=null,s?(r.readyState=WebSocket.CLOSED,a.dispatchEvent(d("close"))):(r.readyState=WebSocket.CONNECTING,(n=d("connecting")).code=e.code,n.reason=e.reason,n.wasClean=e.wasClean,a.dispatchEvent(n),t||u||((r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","onclose",r.url),a.dispatchEvent(d("close"))),e=r.reconnectInterval*Math.pow(r.reconnectDecay,r.reconnectAttempts),setTimeout(function(){r.reconnectAttempts++,r.open(!0)},e>r.maxReconnectInterval?r.maxReconnectInterval:e))},i.onmessage=function(e){(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",r.url,e.data);var n=d("message");n.data=e.data,a.dispatchEvent(n)},i.onerror=function(e){(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","onerror",r.url,e),a.dispatchEvent(d("error"))}},1==this.automaticOpen&&this.open(!1),this.send=function(e){if(i)return(r.debug||l.debugAll)&&console.debug("ReconnectingWebSocket","send",r.url,e),i.send(e);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(e,n){void 0===e&&(e=1e3),s=!0,i&&i.close(e,n)},this.refresh=function(){i&&i.close()}}}); +!function(u){u.fn.extend({dialog:{version:"0.0.1.7",author:"84588990@qq.com"}});function e(){this._defaults={styleClass:{background:"dialog-background",panel:"dialog-panel",main:"dialog-main",footer:"dialog-footer",headerMiddle:"dialog-header-middle",headerBg:"dialog-header-bg",closeIcon:"icon-close",closeIconHover:"dialog-close-icon-hover",title:"dialog-title"}}}var t=(new Date).getTime(),o="dialog";u.extend(e.prototype,{_attach:function(e,t){e.id||(this.uuid++,e.id="dp"+this.uuid);var i=this._newInst(u(e));i.settings=u.extend({},t||{}),u.data(e,o,i),this._init(e)},_newInst:function(e){return{id:e[0].id.replace(/([^A-Za-z0-9_])/g,"\\\\$1")}},_getInst:function(e){try{return u.data(e,o)}catch(e){throw"Missing instance data for this dialog"}},_destroyDialog:function(e){var t=u.dialog._getInst(e),i=t.id,e=(u.removeData(e,o),u(e).prependTo("#"+i+"Wrap").unwrap(),u(e).removeAttr("style"),this._getDefaults(u.dialog._defaults,t.settings,"styleClass"));u("."+e.background).remove(),u("#"+i+"Dialog").remove()},_init:function(e){var t=this._getInst(e),i=t.id,o=t.settings,t=u(window).height(),n=u(window).width(),s=this._getDefaults(u.dialog._defaults,o,"styleClass"),a=o.height||parseInt(.6*t),l=o.width||parseInt(.6*n),d=(o.title=o.title||"",o.okText=o.okText||"Ok",o.cancelText=o.cancelText||"Cancel",""),c="
    "+o.title+"
    ",c=(o.hideFooter||(d=""+o.okText+""+o.cancelText+""),"
    "+c+"
    "+d+"
    "),d="",r=(o.modal&&0===u("."+s.background).length&&(d="
    "),u("#"+i).wrap("
    "),u(e).clone(!0)),e=(u(e).remove(),u("body").append(d+c),u(u("#"+i+"Dialog ."+s.main+" div").get(0)).append(r),u(r).show(),""),d="",c=u("#"+i+"Dialog"),d=o.position?(e=o.position.top,o.position.left):(e=parseInt((t-a)/2),parseInt((n-l)/2)),r=(c.css({top:e+"px",left:d+"px"}),u("#"+i+"Dialog ."+s.closeIcon).bind("click",function(){u.dialog._close(i,o)}),u("#"+i+"Dialog ."+s.footer+" a"));u(r.get(1)).bind("click",function(){u.dialog._close(i,o)}),u(r.get(0)).bind("click",function(){void 0!==o.ok&&!o.ok()||u.dialog._close(i,o)}),this._bindMove(i,s.headerBg,a,l),u(window).keyup(function(e){27===e.keyCode&&u.dialog._close(i,o)})},_bindMove:function(s,e){u("#"+s+"Dialog ."+e).mousedown(function(e){var t=document,i=(e=e||window.event,document.getElementById(s+"Dialog")),o=e.clientX-parseInt(i.style.left),n=e.clientY-parseInt(i.style.top);t.ondragstart="return false;",t.onselectstart="return false;",t.onselect="document.selection.empty();",this.setCapture?this.setCapture():window.captureEvents&&window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP),t.onmousemove=function(e){var t=(e=e||window.event).clientX-o,e=e.clientY-n;(t=t<0?0:t)>u(window).width()-u(i).width()&&(t=u(window).width()-u(i).width()),(e=e<0?0:e)>u(window).height()-u(i).height()&&(e=u(window).height()-u(i).height()),i.style.left=t+"px",i.style.top=e+"px"},t.onmouseup=function(){this.releaseCapture?this.releaseCapture():window.captureEvents&&window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP),t.onmousemove=null,t.onmouseup=null,t.ondragstart=null,t.onselectstart=null,t.onselect=null}})},_close:function(e,t){"none"===u("#"+e+"Dialog").css("display")||void 0!==t.close&&!t.close()||(u("#"+e+"Dialog").hide(),t.modal&&(e=this._getDefaults(u.dialog._defaults,t,"styleClass"),u("."+e.background).hide()))},_closeDialog:function(e){var e=this._getInst(e),t=e.id,e=e.settings;u.dialog._close(t,e)},_openDialog:function(e){var e=this._getInst(e),t=e.id,e=e.settings;u("#"+t+"Dialog").show(),e.modal&&(t=this._getDefaults(u.dialog._defaults,e,"styleClass"),u("."+t.background).show())},_updateDialog:function(e,t){var e=this._getInst(e),i=e.id,e=e.settings,o=this._getDefaults(u.dialog._defaults,e,"styleClass"),e=(u.extend(e,t),u("#"+i+"Dialog"));t.position&&e.css({top:t.position.top,left:t.position.left}),t.width&&(e.width(t.width+26),e.find("."+o.main+" div")[0].style.width=t.width+"px",e.find("."+o.headerBg).width(t.width+18)),t.height&&(e.find("."+o.main+" div")[0].style.height=t.height+"px"),t.title&&e.find("."+o.title).html(t.title),void 0!==t.modal&&(t.modal?u("."+o.background).show():u("."+o.background).hide()),void 0!==t.hideFooter&&(t.hideFooter?e.find("."+o.footer).hide():e.find("."+o.footer).show())},_getDefaults:function(e,t,i){if("styleClass"===i){if("default"===t.theme||void 0===t.theme)return e.styleClass;for(var o in t.styleClass={},e[i])t.styleClass[o]=t.theme+"-"+e.styleClass[o]}else{if("height"===i||"width"===i)return null===t[i]||void 0===t[i]?"auto":t[i]+"px";if(null===t[i]||void 0===t[i])return e[i]}return t[i]}}),u.fn.dialog=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e?(t.shift(),u.dialog["_"+e+"Dialog"].apply(u.dialog,[this[0]].concat(t))):this.each(function(){u.dialog._attach(this,e)})},u.dialog=new e,window["DP_jQuery_"+t]=u}(jQuery),function(g){function e(){this._defaults={styleClass:{panelClass:"completed-panel",inputClass:"completed-input",ckClass:"completed-ck"},separator:","},this._settingsDataFormat={}}var t=(new Date).getTime(),o="completed";g.extend(e.prototype,{_attach:function(e,t){e.id||(this.uuid++,e.id="dp"+this.uuid);var i=this._newInst(g(e));i.settings=g.extend({buttonText:"选择"},t||{}),g.data(e,o,i),this._init(e)},_newInst:function(e){return{id:e[0].id.replace(/([^A-Za-z0-9_])/g,"\\\\$1")}},_getInst:function(e){try{return g.data(e,o)}catch(e){throw"Missing instance data for this completed"}},_destroyCompleted:function(){},_init:function(e){var e=this._getInst(e),t=e.id,e=e.settings;this._buildHTML(t,e),g(document).click(function(e){e.target.id!==t&&g("#"+t+"SelectedPanel").hide()}),e.onlySelect||this._buildCheckboxPanel(t,e.data)},_buildHTML:function(e,t){var i=t.height+"px",o=this._getDefaults(g.completed._defaults,t,"styleClass"),n=g("#"+e),s="";t.onlySelect||(s+=""),s+="
    ","object"==typeof t.data&&t.data.sort(),n.after(s).bind("keyup",{settings:t},this._keyupAction).bind("keydown",function(e){t.chinese=e.keyCode,t.keydownVal=g(this).val()}).addClass(o.inputClass),t.tipNum=0},_keyupAction:function(e){var t=e.data.settings,i=g.completed._getCurrentWord(this,t);if(""===i.currentWord||27===e.keyCode||16===e.keyCode)return g("#"+this.id+"SelectedPanel").hide(),t.tipNum=0,void(t.afterKeyup&&t.afterKeyup(e));var o,n=g.completed._getMatchData(t.data,this.value,i.currentWord);38===e.keyCode&&(0=e.length&&(s.tipNum=0);for(var o="",a=0;a"+t+"");s.tipNum===a&&(l="class='selected'"),o+=""+d+""}i.html(o).show();var c=g("#"+n+"SelectedPanel a.selected");c.position().top+i.scrollTop()>50-c.height()&&i.scrollTop(c.position().top+i.scrollTop()+c.height()-50),c.position().top<0&&i.scrollTop(i.scrollTop-c.height()),g("#"+n+"SelectedPanel a").click(function(){var e=document.getElementById(n),t=g.completed._getCurrentWord(document.getElementById(n),s),i=g.completed._getMatchData(s.data,e.value,t.currentWord),o=e.value;e.value=o.substring(0,t.startPos)+i[s.tipNum]+o.substring(t.endPos,o.length),s.tipNum=0,g(e).focus(),s.afterSelected&&s.afterSelected(g(this))})}},_buildCheckboxPanel:function(e,t){for(var i="",o=g("#"+e),n=0;n"+t[n]+"";g("#"+e+"CheckboxPanel").html(i+"
    "),g("#"+e+"CheckboxPanel span").click(function(){var e,t=o.val(),i=this.innerHTML;"selected"===this.className?(this.className="",e=t.substr(t.indexOf(i)+i.length,1),i===t||","!==e?o.val(t.replace(i,"")):o.val(t.replace(i+",",""))):(this.className="selected",""===t.replace(/\s/g,"")||","===t.substr(t.length-1,1)?o.val(t+i):o.val(t+","+i))}),this._matchChecked(e),o.blur(function(){g.completed._matchChecked(e)})},_matchChecked:function(e){var t=g("#"+e).val().split(",");g("#"+e+"CheckboxPanel span").removeClass().each(function(){for(var e=0;e","/":"?","\\":"|"},textAcceptingInputTypes:["text","password","number","email","url","range","date","month","week","time","datetime","datetime-local","search","color","tel"],textInputTypes:/textarea|input|select/i,options:{filterInputAcceptingElements:!0,filterTextInputs:!0,filterContentEditable:!0}},l.each(["keydown","keyup","keypress"],function(){l.event.special[this]={add:t}})}(jQuery||this.jQuery||window.jQuery); +!function(i){var l={support:{pjax:window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/(iPod|iPhone|iPad|WebApps\/.+CFNetwork)/),storage:!!window.localStorage},toInt:function(t){return parseInt(t)},stack:{},getTime:function(){return+new Date},getRealUrl:function(t){return t=(t=(t||"").replace(/\#.*?$/,"")).replace("?pjax=true&","?").replace("?pjax=true","").replace("&pjax=true","")},getUrlHash:function(t){return t.replace(/^[^\#]*(?:\#(.*?))?$/,"$1")},getLocalKey:function(t){t="pjax_"+encodeURIComponent(t);return{data:t+"_data",time:t+"_time",title:t+"_title"}},removeAllCache:function(){if(l.support.storage)for(var t in localStorage)"pjax"===(t.split("_")||[""])[0]&&delete localStorage[t]},getCache:function(t,e,o){if(e=l.toInt(e),t in l.stack){if(a=l.stack[t],ctime=l.getTime(),a.time+1e3*e>ctime)return a;delete l.stack[t]}else if(o&&l.support.storage){var a,o=l.getLocalKey(t),t=o.data,n=o.time;if(a=localStorage.getItem(t)){if(l.toInt(localStorage.getItem(n))+1e3*e>l.getTime())return{data:a,title:localStorage.getItem(o.title)};localStorage.removeItem(t),localStorage.removeItem(n),localStorage.removeItem(o.title)}}return null},setCache:function(t,e,o,a){var n=l.getTime();l.stack[t]={data:e,title:o,time:n},a&&l.support.storage&&(a=l.getLocalKey(t),localStorage.setItem(a.data,e),localStorage.setItem(a.time,n),localStorage.setItem(a.title,o))},removeCache:function(t){t=l.getRealUrl(t||location.href),delete l.stack[t],l.support.storage&&(t=l.getLocalKey(t),localStorage.removeItem(t.data),localStorage.removeItem(t.time),localStorage.removeItem(t.title))}},r=function(a){if(!(a=i.extend({selector:"",container:"",callback:function(){},filter:function(){}},a)).container||!a.selector)throw new Error("selector & container options must be set");i("body").delegate(a.selector,"click",function(t){if(1(.*?)<\/title>/))&&(o=a[1])),o&&-1==o.indexOf(r.options.titleSuffix)&&(o+=r.options.titleSuffix),document.title=o,r.state={container:r.options.container,timeout:r.options.timeout,cache:r.options.cache,storage:r.options.storage,show:r.options.show,title:o,url:r.options.oldUrl},i.param(r.options.data));""!=a&&(r.state.url=r.options.url+(/\?/.test(r.options.url)?"&":"?")+a),r.options.push?(r.active||(history.replaceState(i.extend({},r.state,{url:null}),document.title),r.active=!0),history.pushState(r.state,document.title,r.options.oldUrl)):!1===r.options.push&&history.replaceState(r.state,document.title,r.options.oldUrl),r.options.showFn&&r.options.showFn(t,function(){r.options.callback&&r.options.callback.call(r.options.element,{type:e?"cache":"success"})},e),r.options.cache&&!e&&l.setCache(r.options.url,t,o,r.options.storage)},r.request=function(a){a.hasOwnProperty("data")&&(r.defaultOptions.data=a.data),a=i.extend(!0,r.defaultOptions,a);var t,n=i(a.container);if(a.oldUrl=a.url,a.url=l.getRealUrl(a.url),i(a.element).length&&(t=l.toInt(i(a.element).attr("data-pjax-cache")))&&(a.cache=t),!0===a.cache&&(a.cache=86400),a.cache=l.toInt(a.cache),0===a.cache&&l.removeAllCache(),a.showFn||(a.showFn=function(t,e,o){r.showFn(a.show,n,t,e,o)}),r.options=a,r.options.success=r.success,a.cache&&(t=l.getCache(a.url,a.cache,a.storage)))return a.beforeSend(),a.title=t.title,r.success(t.data,!0),a.complete(),!0;r.xhr&&r.xhr.readyState<4&&(r.xhr.onreadystatechange=i.noop,r.xhr.abort()),r.xhr=i.ajax(r.options)},"state"in window.history),a=location.href;i(window).bind("popstate",function(t){var e=!o&&location.href==a;o=!0,e||(e=t.state)&&e.container&&(i(e.container).length?(t={url:e.url,container:e.container,push:null,timeout:e.timeout,cache:e.cache,storage:e.storage,title:e.title,element:null},r.request(t)):window.location=location.href)}),l.support.pjax||((r=function(){return!0}).request=function(t){t&&t.url&&(location.href=t.url)}),i.pjax=r,i.pjax.util=l,"state"in i.Event.prototype||i.event.addProp("state")}(jQuery); +!function(e,n){"function"==typeof define&&define.amd?define(n):"object"==typeof exports?module.exports=n():e.NProgress=n()}(this,function(){var n,t,o={version:"0.2.0"},a=o.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
    '};function u(e,n,t){return e",options:{disabled:!1,create:null},_createWidget:function(t,e){e=h(e||this.defaultElement||this)[0],this.element=h(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=h.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=h(),this.hoverable=h(),this.focusable=h(),e!==this&&(h.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=h(e.style?e.ownerDocument:e.document||e),this.window=h(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:h.noop,_getCreateEventData:h.noop,_create:h.noop,_init:h.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(h.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:h.noop,widget:function(){return this.element},option:function(t,e){var i,n,s,o=t;if(0===arguments.length)return h.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(n=o[t]=h.widget.extend({},this.options[t]),s=0;s')).attr("accept-charset",a.formAcceptCharset),t=/\?/.test(a.url)?"&":"?","DELETE"===a.type?(a.url=a.url+t+"_method=DELETE",a.type="POST"):"PUT"===a.type?(a.url=a.url+t+"_method=PUT",a.type="POST"):"PATCH"===a.type&&(a.url=a.url+t+"_method=PATCH",a.type="POST"),i=m('').bind("load",function(){var n,t=m.isArray(a.paramName)?a.paramName:[a.paramName];i.unbind("load").bind("load",function(){var t;try{if(!(t=i.contents()).length||!t[0].firstChild)throw new Error}catch(e){t=void 0}r(200,"success",{iframe:t}),m('').appendTo(o),window.setTimeout(function(){o.remove()},0)}),o.prop("target",i.prop("name")).prop("action",a.url).prop("method",a.type),a.formData&&m.each(a.formData,function(e,t){m('').prop("name",t.name).val(t.value).appendTo(o)}),a.fileInput&&a.fileInput.length&&"POST"===a.type&&(n=a.fileInput.clone(),a.fileInput.after(function(e){return n[e]}),a.paramName&&a.fileInput.each(function(e){m(this).prop("name",t[e]||a.paramName)}),o.append(a.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data"),a.fileInput.removeAttr("form")),o.submit(),n&&n.length&&a.fileInput.each(function(e,t){var r=m(n[e]);m(t).prop("name",r.prop("name")).attr("form",r.attr("form")),r.replaceWith(t)})}),o.append(i).appendTo(document.body)},abort:function(){i&&i.unbind("load").prop("src",p),o&&o.remove()}}}}),m.ajaxSetup({converters:{"iframe text":function(e){return e&&m(e[0].body).text()},"iframe json":function(e){return e&&m.parseJSON(m(e[0].body).text())},"iframe html":function(e){return e&&m(e[0].body).html()},"iframe xml":function(e){var t=e&&e[0];return t&&m.isXMLDoc(t)?t:m.parseXML(t.XMLDocument&&t.XMLDocument.xml||m(t.body).html())},"iframe script":function(e){return e&&m.globalEval(m(e[0].body).text())}}})}); -!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery.ui.widget"],e):"object"==typeof exports?e(require("jquery"),require("./vendor/jquery.ui.widget")):e(window.jQuery)}(function(m){"use strict";function e(i){var r="dragover"===i;return function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var t=e.dataTransfer;t&&-1!==m.inArray("Files",t.types)&&!1!==this._trigger(i,m.Event(i,{delegatedEvent:e}))&&(e.preventDefault(),r&&(t.dropEffect="copy"))}}m.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||m('').prop("disabled")),m.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),m.support.xhrFormDataFileUpload=!!window.FormData,m.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),m.widget("blueimp.fileupload",{options:{dropZone:m(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(i,e){return i=this.messages[i]||i.toString(),e&&m.each(e,function(e,t){i=i.replace("{"+e+"}",t)}),i},formData:function(e){return e.serializeArray()},add:function(e,t){if(e.isDefaultPrevented())return!1;(t.autoUpload||!1!==t.autoUpload&&m(this).fileupload("option","autoUpload"))&&t.process().done(function(){t.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:m.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(e,t,i){var r=e-this.timestamp;return this.bitrate&&i&&!(i").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&t&&t!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(e){this._isXHRUpload(e)?(this._chunkedUpload(e,!0)||(e.data||this._initXHRData(e),this._initProgressListener(e)),e.postMessage&&(e.dataType="postmessage "+(e.dataType||""))):this._initIframeSettings(e)},_getParamName:function(e){var t=m(e.fileInput),r=e.paramName;return r?m.isArray(r)||(r=[r]):(r=[],t.each(function(){for(var e=m(this),t=e.prop("name")||"files[]",i=(e.prop("files")||[1]).length;i;)r.push(t),i-=1}),r.length||(r=[t.prop("name")||"files[]"])),r},_initFormSettings:function(e){e.form&&e.form.length||(e.form=m(e.fileInput.prop("form")),e.form.length||(e.form=m(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===m.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var t=m.extend({},this.options,e);return this._initFormSettings(t),this._initDataSettings(t),t},_getDeferredState:function(e){return e.state?e.state():e.isResolved()?"resolved":e.isRejected()?"rejected":"pending"},_enhancePromise:function(e){return e.success=e.done,e.error=e.fail,e.complete=e.always,e},_getXHRPromise:function(e,t,i){var r=m.Deferred(),n=r.promise();return t=t||this.options.context||n,!0===e?r.resolveWith(t,i):!1===e&&r.rejectWith(t,i),n.abort=r.promise,this._enhancePromise(n)},_addConvenienceMethods:function(e,i){function r(e){return m.Deferred().resolveWith(n,e).promise()}var n=this;i.process=function(e,t){return(e||t)&&(i._processQueue=this._processQueue=(this._processQueue||r([this])).pipe(function(){return i.errorThrown?m.Deferred().rejectWith(n,[i]).promise():r(arguments)}).pipe(e,t)),this._processQueue||r([this])},i.submit=function(){return"pending"!==this.state()&&(i.jqXHR=this.jqXHR=!1!==n._trigger("submit",m.Event("submit",{delegatedEvent:e}),this)&&n._onSend(e,this)),this.jqXHR||n._getXHRPromise()},i.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",n._trigger("fail",null,this),n._getXHRPromise(!1))},i.state=function(){return this.jqXHR?n._getDeferredState(this.jqXHR):this._processQueue?n._getDeferredState(this._processQueue):void 0},i.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===n._getDeferredState(this._processQueue)},i.progress=function(){return this._progress},i.response=function(){return this._response}},_getUploadedBytes:function(e){var t=e.getResponseHeader("Range"),i=t&&t.split("-"),r=i&&1a._sending)for(var r=a._slots.shift();r;){if("pending"===a._getDeferredState(r)){r.resolve();break}r=a._slots.shift()}0===a._active&&a._trigger("stop")})}var r,n,o,s,a=this,l=a._getAJAXSettings(t);return this._beforeSend(e,l),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?((s=1h||d&&d<=t+1-_)&&(s.push(p.slice(_,t+1)),(e=g.slice(_,t+1)).length||(e=g),o.push(e),_=t+1,f=0);else o=g;else for(s=[],o=[],t=0;t").append(r)[0].reset(),i.after(r).detach(),m.cleanData(i.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(e,t){return t===i[0]?r[0]:t}),i[0]===this.element[0]&&(this.element=r)},_handleFileTreeEntry:function(t,i){function r(e){e&&!e.entry&&(e.entry=t),o.resolve([e])}var e,n=this,o=m.Deferred(),s=function(){e.readEntries(function(e){e.length?(a=a.concat(e),s()):function(e){n._handleFileTreeEntries(e,i+t.name+"/").done(function(e){o.resolve(e)}).fail(r)}(a)},r)},a=[];return i=i||"",t.isFile?t._file?(t._file.relativePath=i,o.resolve(t._file)):t.file(function(e){e.relativePath=i,o.resolve(e)},r):t.isDirectory?(e=t.createReader(),s()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(e,t){var i=this;return m.when.apply(m,m.map(e,function(e){return i._handleFileTreeEntry(e,t)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){var t=(e=e||{}).items;return t&&t.length&&(t[0].webkitGetAsEntry||t[0].getAsEntry)?this._handleFileTreeEntries(m.map(t,function(e){var t;return e.webkitGetAsEntry?((t=e.webkitGetAsEntry())&&(t._file=e.getAsFile()),t):e.getAsEntry()})):m.Deferred().resolve(m.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){var t,i,r=(e=m(e)).prop("webkitEntries")||e.prop("entries");if(r&&r.length)return this._handleFileTreeEntries(r);if((t=m.makeArray(e.prop("files"))).length)void 0===t[0].name&&t[0].fileName&&m.each(t,function(e,t){t.name=t.fileName,t.size=t.fileSize});else{if(!(i=e.prop("value")))return m.Deferred().resolve([]).promise();t=[{name:i.replace(/^.*\\/,"")}]}return m.Deferred().resolve(t).promise()},_getFileInputFiles:function(e){return e instanceof m&&1!==e.length?m.when.apply(m,m.map(e,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(t){var i=this,r={fileInput:m(t.target),form:m(t.target.form)};this._getFileInputFiles(r.fileInput).always(function(e){r.files=e,i.options.replaceFileInput&&i._replaceFileInput(r),!1!==i._trigger("change",m.Event("change",{delegatedEvent:t}),r)&&i._onAdd(t,r)})},_onPaste:function(e){var t=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,r={files:[]};t&&t.length&&(m.each(t,function(e,t){var i=t.getAsFile&&t.getAsFile();i&&r.files.push(i)}),!1!==this._trigger("paste",m.Event("paste",{delegatedEvent:e}),r)&&this._onAdd(e,r))},_onDrop:function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var i=this,e=t.dataTransfer,r={};e&&e.files&&e.files.length&&(t.preventDefault(),this._getDroppedFiles(e).always(function(e){r.files=e,!1!==i._trigger("drop",m.Event("drop",{delegatedEvent:t}),r)&&i._onAdd(t,r)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),m.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(e,t){var i=-1!==m.inArray(e,this._specialOptions);i&&this._destroyEventHandlers(),this._super(e,t),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof m||(e.fileInput=m(e.fileInput)),e.dropZone instanceof m||(e.dropZone=m(e.dropZone)),e.pasteZone instanceof m||(e.pasteZone=m(e.pasteZone))},_getRegExp:function(e){var t=e.split("/"),i=t.pop();return t.shift(),new RegExp(t.join("/"),i)},_isRegExpOption:function(e,t){return"url"!==e&&"string"===m.type(t)&&/^\/.*\/[igm]{0,3}$/.test(t)},_initDataAttributes:function(){var n=this,o=this.options,s=this.element.data();m.each(this.element[0].attributes,function(e,t){var i,r=t.name.toLowerCase();/^data-/.test(r)&&(r=r.slice(5).replace(/-[a-z]/g,function(e){return e.charAt(1).toUpperCase()}),i=s[r],n._isRegExpOption(r,i)&&(i=n._getRegExp(i)),o[r]=i)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(t){var i=this;t&&!this.options.disabled&&(t.fileInput&&!t.files?this._getFileInputFiles(t.fileInput).always(function(e){t.files=e,i._onAdd(null,t)}):(t.files=m.makeArray(t.files),this._onAdd(null,t)))},send:function(t){if(t&&!this.options.disabled){if(t.fileInput&&!t.files){var i,r,n=this,o=m.Deferred(),e=o.promise();return e.abort=function(){return r=!0,i?i.abort():(o.reject(null,"abort","abort"),e)},this._getFileInputFiles(t.fileInput).always(function(e){r||(e.length?(t.files=e,(i=n._onSend(null,t)).then(function(e,t,i){o.resolve(e,t,i)},function(e,t,i){o.reject(e,t,i)})):o.reject())}),this._enhancePromise(e)}if(t.files=m.makeArray(t.files),t.files.length)return this._onSend(null,t)}return this._getXHRPromise(!1,t&&t.context)}})}); -!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./jquery.fileupload"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery)}(function(n){"use strict";var i=n.blueimp.fileupload.prototype.options.add;n.widget("blueimp.fileupload",n.blueimp.fileupload,{options:{processQueue:[],add:function(e,s){var r=n(this);s.process(function(){return r.fileupload("process",s)}),i.call(this,e,s)}},processActions:{},_processFile:function(e,i){var o=this,t=n.Deferred().resolveWith(o,[e]).promise();return this._trigger("process",null,e),n.each(e.processQueue,function(e,s){function r(e){return i.errorThrown?n.Deferred().rejectWith(o,[i]).promise():o.processActions[s.action].call(o,e,s)}t=t.pipe(r,s.always&&r)}),t.done(function(){o._trigger("processdone",null,e),o._trigger("processalways",null,e)}).fail(function(){o._trigger("processfail",null,e),o._trigger("processalways",null,e)}),t},_transformProcessQueue:function(o){var s=[];n.each(o.processQueue,function(){var r={},e=this.action,i=!0===this.prefix?e:this.prefix;n.each(this,function(e,s){"string"===n.type(s)&&"@"===s.charAt(0)?r[e]=o[s.slice(1)||(i?i+e.charAt(0).toUpperCase()+e.slice(1):e)]:r[e]=s}),s.push(r)}),o.processQueue=s},processing:function(){return this._processing},process:function(i){var o=this,t=n.extend({},this.options,i);return t.processQueue&&t.processQueue.length&&(this._transformProcessQueue(t),0===this._processing&&this._trigger("processstart"),n.each(i.files,function(e){function s(){return i.errorThrown?n.Deferred().rejectWith(o,[i]).promise():o._processFile(r,i)}var r=e?n.extend({},t):t;r.index=e,o._processing+=1,o._processingQueue=o._processingQueue.pipe(s,s).always(function(){o._processing-=1,0===o._processing&&o._trigger("processstop")})})),this._processingQueue},_create:function(){this._super(),this._processing=0,this._processingQueue=n.Deferred().resolveWith(this).promise()}})}); +!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(d){var s,i=0,a=Array.prototype.slice;d.cleanData=(s=d.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)try{(e=d._data(i,"events"))&&e.remove&&d(i).triggerHandler("remove")}catch(t){}s(t)}),d.widget=function(t,i,e){var n,s,o,r,a={},u=t.split(".")[0];return t=t.split(".")[1],n=u+"-"+t,e||(e=i,i=d.Widget),d.expr[":"][n.toLowerCase()]=function(t){return!!d.data(t,n)},d[u]=d[u]||{},s=d[u][t],o=d[u][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},d.extend(o,s,{version:e.version,_proto:d.extend({},e),_childConstructors:[]}),(r=new i).options=d.widget.extend({},r.options),d.each(e,function(e,n){function s(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}d.isFunction(n)?a[e]=function(){var t,e=this._super,i=this._superApply;return this._super=s,this._superApply=o,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}:a[e]=n}),o.prototype=d.widget.extend(r,{widgetEventPrefix:s&&r.widgetEventPrefix||t},a,{constructor:o,namespace:u,widgetName:t,widgetFullName:n}),s?(d.each(s._childConstructors,function(t,e){var i=e.prototype;d.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete s._childConstructors):i._childConstructors.push(o),d.widget.bridge(t,o),o},d.widget.extend=function(t){for(var e,i,n=a.call(arguments,1),s=0,o=n.length;s",options:{disabled:!1,create:null},_createWidget:function(t,e){e=d(e||this.defaultElement||this)[0],this.element=d(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=d.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=d(),this.hoverable=d(),this.focusable=d(),e!==this&&(d.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=d(e.style?e.ownerDocument:e.document||e),this.window=d(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:d.noop,_getCreateEventData:d.noop,_create:d.noop,_init:d.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(d.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:d.noop,widget:function(){return this.element},option:function(t,e){var i,n,s,o=t;if(0===arguments.length)return d.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(n=o[t]=d.widget.extend({},this.options[t]),s=0;s')).attr("accept-charset",a.formAcceptCharset),t=/\?/.test(a.url)?"&":"?","DELETE"===a.type?(a.url=a.url+t+"_method=DELETE",a.type="POST"):"PUT"===a.type?(a.url=a.url+t+"_method=PUT",a.type="POST"):"PATCH"===a.type&&(a.url=a.url+t+"_method=PATCH",a.type="POST"),p=m('').bind("load",function(){var r,t=m.isArray(a.paramName)?a.paramName:[a.paramName];p.unbind("load").bind("load",function(){var t;try{if(!(t=p.contents()).length||!t[0].firstChild)throw new Error}catch(e){t=void 0}n(200,"success",{iframe:t}),m('').appendTo(i),window.setTimeout(function(){i.remove()},0)}),i.prop("target",p.prop("name")).prop("action",a.url).prop("method",a.type),a.formData&&m.each(a.formData,function(e,t){m('').prop("name",t.name).val(t.value).appendTo(i)}),a.fileInput&&a.fileInput.length&&"POST"===a.type&&(r=a.fileInput.clone(),a.fileInput.after(function(e){return r[e]}),a.paramName&&a.fileInput.each(function(e){m(this).prop("name",t[e]||a.paramName)}),i.append(a.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data"),a.fileInput.removeAttr("form")),i.submit(),r&&r.length&&a.fileInput.each(function(e,t){e=m(r[e]);m(t).prop("name",e.prop("name")).attr("form",e.attr("form")),e.replaceWith(t)})}),i.append(p).appendTo(document.body)},abort:function(){p&&p.unbind("load").prop("src",o),i&&i.remove()}}}),m.ajaxSetup({converters:{"iframe text":function(e){return e&&m(e[0].body).text()},"iframe json":function(e){return e&&m.parseJSON(m(e[0].body).text())},"iframe html":function(e){return e&&m(e[0].body).html()},"iframe xml":function(e){e=e&&e[0];return e&&m.isXMLDoc(e)?e:m.parseXML(e.XMLDocument&&e.XMLDocument.xml||m(e.body).html())},"iframe script":function(e){return e&&m.globalEval(m(e[0].body).text())}}})}); +!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery.ui.widget"],e):"object"==typeof exports?e(require("jquery"),require("./vendor/jquery.ui.widget")):e(window.jQuery)}(function(m){"use strict";function e(i){var r="dragover"===i;return function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var t=e.dataTransfer;t&&-1!==m.inArray("Files",t.types)&&!1!==this._trigger(i,m.Event(i,{delegatedEvent:e}))&&(e.preventDefault(),r&&(t.dropEffect="copy"))}}m.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||m('').prop("disabled")),m.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),m.support.xhrFormDataFileUpload=!!window.FormData,m.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),m.widget("blueimp.fileupload",{options:{dropZone:m(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(i,e){return i=this.messages[i]||i.toString(),e&&m.each(e,function(e,t){i=i.replace("{"+e+"}",t)}),i},formData:function(e){return e.serializeArray()},add:function(e,t){if(e.isDefaultPrevented())return!1;(t.autoUpload||!1!==t.autoUpload&&m(this).fileupload("option","autoUpload"))&&t.process().done(function(){t.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:m.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(e,t,i){var r=e-this.timestamp;return this.bitrate&&i&&!(i").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&t&&t!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(e){this._isXHRUpload(e)?(this._chunkedUpload(e,!0)||(e.data||this._initXHRData(e),this._initProgressListener(e)),e.postMessage&&(e.dataType="postmessage "+(e.dataType||""))):this._initIframeSettings(e)},_getParamName:function(e){var t=m(e.fileInput),r=e.paramName;return r?m.isArray(r)||(r=[r]):(r=[],t.each(function(){for(var e=m(this),t=e.prop("name")||"files[]",i=(e.prop("files")||[1]).length;i;)r.push(t),--i}),r.length||(r=[t.prop("name")||"files[]"])),r},_initFormSettings:function(e){e.form&&e.form.length||(e.form=m(e.fileInput.prop("form")),e.form.length||(e.form=m(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===m.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){e=m.extend({},this.options,e);return this._initFormSettings(e),this._initDataSettings(e),e},_getDeferredState:function(e){return e.state?e.state():e.isResolved()?"resolved":e.isRejected()?"rejected":"pending"},_enhancePromise:function(e){return e.success=e.done,e.error=e.fail,e.complete=e.always,e},_getXHRPromise:function(e,t,i){var r=m.Deferred(),n=r.promise();return t=t||this.options.context||n,!0===e?r.resolveWith(t,i):!1===e&&r.rejectWith(t,i),n.abort=r.promise,this._enhancePromise(n)},_addConvenienceMethods:function(e,i){function r(e){return m.Deferred().resolveWith(n,e).promise()}var n=this;i.process=function(e,t){return(e||t)&&(i._processQueue=this._processQueue=(this._processQueue||r([this])).pipe(function(){return i.errorThrown?m.Deferred().rejectWith(n,[i]).promise():r(arguments)}).pipe(e,t)),this._processQueue||r([this])},i.submit=function(){return"pending"!==this.state()&&(i.jqXHR=this.jqXHR=!1!==n._trigger("submit",m.Event("submit",{delegatedEvent:e}),this)&&n._onSend(e,this)),this.jqXHR||n._getXHRPromise()},i.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",n._trigger("fail",null,this),n._getXHRPromise(!1))},i.state=function(){return this.jqXHR?n._getDeferredState(this.jqXHR):this._processQueue?n._getDeferredState(this._processQueue):void 0},i.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===n._getDeferredState(this._processQueue)},i.progress=function(){return this._progress},i.response=function(){return this._response}},_getUploadedBytes:function(e){e=e.getResponseHeader("Range"),e=e&&e.split("-"),e=e&&1s._sending)for(var r=s._slots.shift();r;){if("pending"===s._getDeferredState(r)){r.resolve();break}r=s._slots.shift()}0===s._active&&s._trigger("stop")})}var r,n,o,s=this,a=s._getAJAXSettings(t);return this._beforeSend(e,a),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?((t=1h||d&&d<=t+1-_)&&(s.push(p.slice(_,t+1)),(e=g.slice(_,t+1)).length||(e=g),o.push(e),_=t+1,f=0);else o=g;else for(s=[],o=[],t=0;t").append(r)[0].reset(),i.after(r).detach(),m.cleanData(i.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(e,t){return t===i[0]?r[0]:t}),i[0]===this.element[0]&&(this.element=r)},_handleFileTreeEntry:function(t,i){var e,r=this,n=m.Deferred(),o=function(e){e&&!e.entry&&(e.entry=t),n.resolve([e])},s=function(e){r._handleFileTreeEntries(e,i+t.name+"/").done(function(e){n.resolve(e)}).fail(o)},a=function(){e.readEntries(function(e){e.length?(l=l.concat(e),a()):s(l)},o)},l=[];return i=i||"",t.isFile?t._file?(t._file.relativePath=i,n.resolve(t._file)):t.file(function(e){e.relativePath=i,n.resolve(e)},o):t.isDirectory?(e=t.createReader(),a()):n.resolve([]),n.promise()},_handleFileTreeEntries:function(e,t){var i=this;return m.when.apply(m,m.map(e,function(e){return i._handleFileTreeEntry(e,t)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){var t=(e=e||{}).items;return t&&t.length&&(t[0].webkitGetAsEntry||t[0].getAsEntry)?this._handleFileTreeEntries(m.map(t,function(e){var t;return e.webkitGetAsEntry?((t=e.webkitGetAsEntry())&&(t._file=e.getAsFile()),t):e.getAsEntry()})):m.Deferred().resolve(m.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){var t=(e=m(e)).prop("webkitEntries")||e.prop("entries");if(t&&t.length)return this._handleFileTreeEntries(t);if((t=m.makeArray(e.prop("files"))).length)void 0===t[0].name&&t[0].fileName&&m.each(t,function(e,t){t.name=t.fileName,t.size=t.fileSize});else{if(!(e=e.prop("value")))return m.Deferred().resolve([]).promise();t=[{name:e.replace(/^.*\\/,"")}]}return m.Deferred().resolve(t).promise()},_getFileInputFiles:function(e){return e instanceof m&&1!==e.length?m.when.apply(m,m.map(e,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(t){var i=this,r={fileInput:m(t.target),form:m(t.target.form)};this._getFileInputFiles(r.fileInput).always(function(e){r.files=e,i.options.replaceFileInput&&i._replaceFileInput(r),!1!==i._trigger("change",m.Event("change",{delegatedEvent:t}),r)&&i._onAdd(t,r)})},_onPaste:function(e){var t=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,i={files:[]};t&&t.length&&(m.each(t,function(e,t){t=t.getAsFile&&t.getAsFile();t&&i.files.push(t)}),!1!==this._trigger("paste",m.Event("paste",{delegatedEvent:e}),i)&&this._onAdd(e,i))},_onDrop:function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var i=this,e=t.dataTransfer,r={};e&&e.files&&e.files.length&&(t.preventDefault(),this._getDroppedFiles(e).always(function(e){r.files=e,!1!==i._trigger("drop",m.Event("drop",{delegatedEvent:t}),r)&&i._onAdd(t,r)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),m.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(e,t){var i=-1!==m.inArray(e,this._specialOptions);i&&this._destroyEventHandlers(),this._super(e,t),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof m||(e.fileInput=m(e.fileInput)),e.dropZone instanceof m||(e.dropZone=m(e.dropZone)),e.pasteZone instanceof m||(e.pasteZone=m(e.pasteZone))},_getRegExp:function(e){var e=e.split("/"),t=e.pop();return e.shift(),new RegExp(e.join("/"),t)},_isRegExpOption:function(e,t){return"url"!==e&&"string"===m.type(t)&&/^\/.*\/[igm]{0,3}$/.test(t)},_initDataAttributes:function(){var r=this,n=this.options,o=this.element.data();m.each(this.element[0].attributes,function(e,t){var i,t=t.name.toLowerCase();/^data-/.test(t)&&(t=t.slice(5).replace(/-[a-z]/g,function(e){return e.charAt(1).toUpperCase()}),i=o[t],r._isRegExpOption(t,i)&&(i=r._getRegExp(i)),n[t]=i)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(t){var i=this;t&&!this.options.disabled&&(t.fileInput&&!t.files?this._getFileInputFiles(t.fileInput).always(function(e){t.files=e,i._onAdd(null,t)}):(t.files=m.makeArray(t.files),this._onAdd(null,t)))},send:function(t){if(t&&!this.options.disabled){var i,r,e,n,o;if(t.fileInput&&!t.files)return i=this,r=m.Deferred(),(e=r.promise()).abort=function(){return o=!0,n?n.abort():(r.reject(null,"abort","abort"),e)},this._getFileInputFiles(t.fileInput).always(function(e){o||(e.length?(t.files=e,(n=i._onSend(null,t)).then(function(e,t,i){r.resolve(e,t,i)},function(e,t,i){r.reject(e,t,i)})):r.reject())}),this._enhancePromise(e);if(t.files=m.makeArray(t.files),t.files.length)return this._onSend(null,t)}return this._getXHRPromise(!1,t&&t.context)}})}); +!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./jquery.fileupload"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery)}(function(n){"use strict";var i=n.blueimp.fileupload.prototype.options.add;n.widget("blueimp.fileupload",n.blueimp.fileupload,{options:{processQueue:[],add:function(e,s){var r=n(this);s.process(function(){return r.fileupload("process",s)}),i.call(this,e,s)}},processActions:{},_processFile:function(e,i){var o=this,t=n.Deferred().resolveWith(o,[e]).promise();return this._trigger("process",null,e),n.each(e.processQueue,function(e,s){function r(e){return i.errorThrown?n.Deferred().rejectWith(o,[i]).promise():o.processActions[s.action].call(o,e,s)}t=t.pipe(r,s.always&&r)}),t.done(function(){o._trigger("processdone",null,e),o._trigger("processalways",null,e)}).fail(function(){o._trigger("processfail",null,e),o._trigger("processalways",null,e)}),t},_transformProcessQueue:function(o){var s=[];n.each(o.processQueue,function(){var r={},e=this.action,i=!0===this.prefix?e:this.prefix;n.each(this,function(e,s){"string"===n.type(s)&&"@"===s.charAt(0)?r[e]=o[s.slice(1)||(i?i+e.charAt(0).toUpperCase()+e.slice(1):e)]:r[e]=s}),s.push(r)}),o.processQueue=s},processing:function(){return this._processing},process:function(i){var o=this,t=n.extend({},this.options,i);return t.processQueue&&t.processQueue.length&&(this._transformProcessQueue(t),0===this._processing&&this._trigger("processstart"),n.each(i.files,function(e){function s(){return i.errorThrown?n.Deferred().rejectWith(o,[i]).promise():o._processFile(r,i)}var r=e?n.extend({},t):t;r.index=e,o._processing+=1,o._processingQueue=o._processingQueue.pipe(s,s).always(function(){--o._processing,0===o._processing&&o._trigger("processstop")})})),this._processingQueue},_create:function(){this._super(),this._processing=0,this._processingQueue=n.Deferred().resolveWith(this).promise()}})}); !function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./jquery.fileupload-process"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery)}(function(o){"use strict";o.blueimp.fileupload.prototype.options.processQueue.push({action:"validate",always:!0,acceptFileTypes:"@",maxFileSize:"@",minFileSize:"@",maxNumberOfFiles:"@",disabled:"@disableValidation"}),o.widget("blueimp.fileupload",o.blueimp.fileupload,{options:{getNumberOfFiles:o.noop,messages:{maxNumberOfFiles:"Maximum number of files exceeded",acceptFileTypes:"File type not allowed",maxFileSize:"File is too large",minFileSize:"File is too small"}},processActions:{validate:function(e,i){if(i.disabled)return e;var r,l=o.Deferred(),s=this.options,t=e.files[e.index];return(i.minFileSize||i.maxFileSize)&&(r=t.size),"number"===o.type(i.maxNumberOfFiles)&&(s.getNumberOfFiles()||0)+e.files.length>i.maxNumberOfFiles?t.error=s.i18n("maxNumberOfFiles"):!i.acceptFileTypes||i.acceptFileTypes.test(t.type)||i.acceptFileTypes.test(t.name)?r>i.maxFileSize?t.error=s.i18n("maxFileSize"):"number"===o.type(r)&&r '+Label.commonUpdateCommentPermissionLabel+"").data("commentId",e)},_bgFade:function(e){return 0!==e.length&&($(window).scrollTop(e[0].offsetTop-48),"comments"!==e.attr("id")&&(e.css({"background-color":"#9bbee0"}),setTimeout(function(){e.css({"background-color":"#FFF",transition:"all 3s cubic-bezier(0.56, -0.36, 0.58, 1)"})},100),void setTimeout(function(){e.removeAttr("style")},3100)))},goComment:function(e){if(0===$(e.substr(e.length-14,14)).length)return window.location=e,!1;$("#comments .list > ul > li").removeAttr("style"),Comment._bgFade($(e.substr(e.length-14,14)))},_setCmtVia:function(){$(".cmt-via").each(function(){var e=$(this).data("ua"),t=Util.getDeviceByUa(e);""!==t&&$(this).html("via "+t)})},init:function(){if(1===$(window.location.hash).length&&Comment._bgFade($(window.location.hash)),this._setCmtVia(),$.ua.set(navigator.userAgent),$.pjax({selector:".pagination a",container:"#comments",show:"",cache:!1,storage:!0,titleSuffix:"",callback:function(){Util.parseMarkdown(),Util.parseHljs()}}),NProgress.configure({showSpinner:!1}),$("#comments").bind("pjax.start",function(){NProgress.start()}),$("#comments").bind("pjax.end",function(){NProgress.done()}),!Label.isLoggedIn)return!1;Comment.editor=Util.newVditor({id:"commentContent",cache:!0,preview:{mode:"editor"},resize:{enable:!0,position:"top"},height:200,counter:4096,placeholder:Label.commentEditorPlaceholderLabel,ctrlEnter:function(){Comment.add(Label.articleOId,Label.csrfToken,document.getElementById("articleCommentBtn"))}})},thank:function(e,t,i,a,s){if(!Label.isLoggedIn)return Util.needLogin(),!1;if(0===a&&!confirm(i))return!1;var n={commentId:e};$.ajax({url:Label.servePath+"/comment/thank",type:"POST",headers:{csrfToken:t},cache:!1,data:JSON.stringify(n),error:function(e,t,i){Util.alert(i)},success:function(e,t){if(0===e.code){$(s).removeAttr("onclick");var i=$(''),a=$(s).offset().top,n=$(s).offset().left;i.css({"z-index":9999,top:a,left:n,position:"absolute","font-size":16,"-moz-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none"}),$("body").append(i),i.animate({left:n-150,top:a-60,opacity:0},1e3,function(){var e=parseInt($(s).text());$(s).html(' '+(e+1)).addClass("ft-red"),i.remove()})}else Util.alert(e.msg)}})},showReply:function(e,r,t){var o=$(r).closest("li").find("."+t);if("comment-get-comment"===t){if(0!==o.find("li").length)return o.html(""),!1}else if(0===$(r).find(".icon-chevron-down").length)return $(r).find(".icon-chevron-up").removeClass("icon-chevron-up").addClass("icon-chevron-down").find("use").attr("xlink:href","#chevron-down"),o.html(""),!1;if("0.3"===$(r).css("opacity"))return!1;var i="/comment/replies";"comment-get-comment"===t&&(i="/comment/original"),$.ajax({url:Label.servePath+i,type:"POST",data:JSON.stringify({commentId:e,userCommentViewMode:Label.userCommentViewMode}),beforeSend:function(){$(r).css("opacity","0.3")},success:function(e,t){if(0!==e.code)return Util.alert(e.msg),!1;var i=e.commentReplies,a="";i instanceof Array||(i=[i]),0===i.length&&(a='
  • '+Label.removedLabel+"
  • ");for(var n=0;n
    ',a+='',a+='
    ',a+="
    ",a+='
    ',a+='',a+=s.commentAuthorName,a+="",a+=' • '+s.timeAgo,0 '+s.rewardedCnt+" "),a+=" "+Util.getDeviceByUa(s.commentUA)+"",a+='
    '+s.commentContent+"
    "}o.html("
      "+a+"
    "),Util.parseHljs(),Util.parseMarkdown(),$(r).find(".icon-chevron-down").removeClass("icon-chevron-down").addClass("icon-chevron-up").find("use").attr("xlink:href","#chevron-up")},error:function(e){Util.alert(e.statusText)},complete:function(){$(r).css("opacity","1")}})},add:function(e,t){var i={articleId:e,commentAnonymous:$("#commentAnonymous").prop("checked"),commentVisible:$("#commentVisible").prop("checked"),commentContent:Comment.editor.getValue(),userCommentViewMode:Label.userCommentViewMode};$("#replyUseName").data("commentOriginalCommentId")&&(i.commentOriginalCommentId=$("#replyUseName").data("commentOriginalCommentId"));var a=Label.servePath+"/comment",n="POST",s=$("#replyUseName").data("commentId");s&&(a=Label.servePath+"/comment/"+s,n="PUT"),$.ajax({url:a,type:n,headers:{csrfToken:t},cache:!1,data:JSON.stringify(i),beforeSend:function(){$(".form button.red").attr("disabled","disabled").css("opacity","0.3")},success:function(e,t){if($(".form button.red").removeAttr("disabled").css("opacity","1"),0===e.code){if(s&&$("#"+s+" > .fn-flex > .fn-flex-1 > .vditor-reset").html(e.commentContent),Comment.editor.setValue(""),$("#replyUseName").text("").removeData(),window.localStorage){window.localStorage[Label.articleOId]=JSON.stringify({commentContent:""})}1===Label.userCommentViewMode?Comment._bgFade($("#comments")):Comment._bgFade($("#bottomComment"))}else $("#addCommentTip").addClass("error").html("
    • "+e.msg+"
    ")},error:function(e){$("#addCommentTip").addClass("error").html("
    • "+e.statusText+"
    ")},complete:function(){$(".form button.red").removeAttr("disabled").css("opacity","1")}})},reply:function(e,t){$("#replyUseName").data("commentOriginalCommentId",t),Comment.editor.focus()}},Article={initAudio:function(){$(".content-audio").each(function(){var e=$(this);new APlayer({element:this,narrow:!1,autoplay:!1,mutex:!0,theme:"#4285f4",preload:"none",mode:"circulation",music:{title:e.data("title"),author:'音乐分享',url:e.data("url"),pic:Label.staticServePath+"/images/music.png"}})});var e=$("#articleAudio");if(0===e.length)return!1;new APlayer({element:document.getElementById("articleAudio"),narrow:!1,autoplay:!1,mutex:!0,theme:"#4285f4",mode:"order",preload:"none",music:{title:"语音预览",author:'小薇',url:e.data("url"),pic:Label.staticServePath+"/images/blank.png"}})},permissionTip:function(e){Label.isLoggedIn?Util.alert(e):Util.needLogin()},voteUp:function(e,t,i){if(!Label.isLoggedIn)return Util.needLogin(),!1;var n=$(i),s=n.next();if(n.hasClass("disabled"))return!1;var a={dataId:e};n.addClass("disabled"),$.ajax({url:Label.servePath+"/vote/up/"+t,type:"POST",cache:!1,data:JSON.stringify(a),success:function(e,t){n.removeClass("disabled");var i=parseInt(n.text()),a=parseInt(s.text());0!==e.code?Util.alert(e.msg):0===e.type?n.html(' '+(i-1)).removeClass("ft-red"):(n.html(' '+(i+1)).addClass("ft-red"),s.hasClass("ft-red")&&s.html(' '+(a-1)).removeClass("ft-red"))}})},voteDown:function(e,t,i){if(!Label.isLoggedIn)return Util.needLogin(),!1;var n=$(i),s=n.prev();if(n.hasClass("disabled"))return!1;var a={dataId:e};n.addClass("disabled"),$.ajax({url:Label.servePath+"/vote/down/"+t,type:"POST",cache:!1,data:JSON.stringify(a),success:function(e,t){n.removeClass("disabled");var i=parseInt(s.text()),a=parseInt(n.text());if(0===e.code)return 1===e.type?n.html(' '+(a-1)).removeClass("ft-red"):(n.html(' '+(a+1)).addClass("ft-red"),s.hasClass("ft-red")&&s.html(' '+(i-1)).removeClass("ft-red")),!1;Util.alert(e.msg)}})},previewImgAfterLoading:function(){$(".img-preview img").css("transform","translate3d("+Math.max(0,$(window).width()-$(".img-preview img").width())/2+"px, "+Math.max(0,$(window).height()-$(".img-preview img").height())/2+"px, 0)"),setTimeout(function(){$(".img-preview").width($(window).width())},300)},init:function(){this.share(),Util.parseHljs(),Util.parseMarkdown();var t=null;$(".article").on("dblclick",".vditor-reset img",function(){clearTimeout(t),$(this).hasClass("emoji")||1===$(this).closest(".editor-panel").length||1===$(this).closest(".ad").length||window.open($(this).attr("src"))}).on("click",".vditor-reset img",function(e){if(clearTimeout(t),!$(this).hasClass("emoji")&&1!==$(this).closest(".editor-panel").length&&1!==$(this).closest(".ad").length){var i=$(this),a=this;t=setTimeout(function(){var e=a.offsetTop,t=a.offsetLeft;1===i.closest(".comments").length&&(e+=i.closest("li")[0].offsetTop,t=t+$(".comments")[0].offsetLeft+15),$("body").append('
    '),$(".img-preview").css({"background-color":"#fff",position:"fixed"})},100)}});var e=$("#articltVia").data("ua"),i=Util.getDeviceByUa(e);""!==i&&$("#articltVia").text("via "+i),$("#revision").dialog({width:$(window).width()-50,height:$(window).height()-50,modal:!0,hideFooter:!0}),$("#reportDialog").dialog({width:500<$(window).width()?500:$(window).width()-50,height:450,modal:!0,hideFooter:!0}),this.initAudio()},revision:function(e,a){if(!Label.isLoggedIn)return Util.needLogin(),!1;a=a||"article",$.ajax({url:Label.servePath+"/"+a+"/"+e+"/revisions",cache:!1,success:function(e,t){if(0===e.code){if(0===e.revisions.length||1===e.revisions.length)return $("#revision > .revisions").remove(),$("#revisions").html(""+Label.noRevisionLabel+""),!1;$("#revisions").html("").prev().remove(),$("#revisions").data("revisions",e.revisions).before('
    '+(e.revisions.length-1)+"~"+e.revisions.length+"/"+e.revisions.length+'
    '),e.revisions.length<=2&&$("#revision a").first().addClass("disabled");var i=JsDiff.createPatch("",e.revisions[e.revisions.length-2].revisionData.articleContent||e.revisions[e.revisions.length-2].revisionData.commentContent,e.revisions[e.revisions.length-1].revisionData.articleContent||e.revisions[e.revisions.length-1].revisionData.commentContent,e.revisions[e.revisions.length-2].revisionData.articleTitle||"",e.revisions[e.revisions.length-1].revisionData.articleTitle||"");return new Diff2HtmlUI({diff:i}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0}),Article._revisionsControls(a),!1}Util.alert(e.msg)}}),$("#revision").dialog("open")},_revisionsControls:function(e){var i=$("#revisions").data("revisions");$("#revision a.first").click(function(){if(!$(this).hasClass("disabled")){var e=parseInt($("#revision .revisions").text().split("~")[0]);e<=2?$(this).addClass("disabled"):$(this).removeClass("disabled"),2 span").html(e-1+"~"+e+"/"+i.length);var t=JsDiff.createPatch("",i[e-2].revisionData.articleContent||i[e-2].revisionData.commentContent,i[e-1].revisionData.articleContent||i[e-1].revisionData.commentContent,i[e-2].revisionData.articleTitle||"",i[e-1].revisionData.articleTitle||"");new Diff2HtmlUI({diff:t}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0})}}),$("#revision a.last").click(function(){if(!$(this).hasClass("disabled")){var e=parseInt($("#revision .revisions span").text().split("~")[0]);e>i.length-3?$(this).addClass("disabled"):$(this).removeClass("disabled"),2 span").html(e+1+"~"+(e+2)+"/"+i.length);var t=JsDiff.createPatch("",i[e].revisionData.articleContent||i[e].revisionData.commentContent,i[e+1].revisionData.articleContent||i[e+1].revisionData.commentContent,i[e].revisionData.articleTitle||"",i[e+1].revisionData.articleTitle||"");new Diff2HtmlUI({diff:t}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0})}})},share:function(){if("mobile"!==$.ua.device.type){var e=$(".article-content").offset().left/2-15;$(".share").css("left",(e<20?20:e)+"px")}var s=$("#qrCode").data("shareurl");$("#qrCode").qrcode({width:90,height:90,text:s}),$("body").click(function(){$("#qrCode").slideUp()}),$(".share > span").click(function(){var e=$(this).data("type");if(!e)return!1;if("wechat"===e)return $("#qrCode").slideToggle(),!1;if("copy"===e)return!1;var t=encodeURIComponent(Label.articleTitle+" - "+Label.symphonyLabel),i=encodeURIComponent(s),a=$(".article-info .avatar").css("background-image");pic=a.substring(5,a.length-2);var n={};n.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+t+"&url="+i+"&pic="+pic,n.weibo="http://v.t.sina.com.cn/share/share.php?title="+t+"&url="+i+"&pic="+pic,n.google="https://plus.google.com/share?url="+i,n.twitter="https://twitter.com/intent/tweet?status="+t+" "+i,window.open(n[e],"_blank","top=100,left=200,width=648,height=618")}),$("#qrCode").click(function(){$(this).hide()}),$("#shareClipboard").mouseover(function(){$(this).attr("aria-label",Label.copyLabel)}),Util.clipboard($("#shareClipboard"),$("#shareClipboard").next(),function(){$("#shareClipboard").attr("aria-label",Label.copiedLabel)})},reward:function(e){confirm(Label.rewardConfirmLabel)&&$.ajax({url:Label.servePath+"/article/reward?articleId="+e,type:"POST",cache:!1,success:function(e,t){if(0!==e.code)Util.alert(e.msg);else{$("#articleRewardContent").html(e.articleRewardContent),Util.parseHljs(),Util.parseMarkdown();var i=parseInt($(".article-actions .icon-points").parent().text());$(".article-actions .icon-points").parent().addClass("ft-red").html(' '+(i+1)).removeAttr("onclick")}},error:function(e){Util.needLogin()}})},thankArticle:function(e,t){return Label.isLoggedIn?!(0===t&&!confirm(Label.thankArticleConfirmLabel))&&(Label.currentUserName===Label.articleAuthorName?(Util.alert(Label.thankSelfLabel),!1):void $.ajax({url:Label.servePath+"/article/thank?articleId="+e,type:"POST",cache:!1,success:function(e,t){if(0===e.code){var i=parseInt($("#thankArticle").text());$("#thankArticle").removeAttr("onclick").html(' '+(i+1)+"").addClass("ft-red").removeClass("ft-blue");var a=$(''),n=$("#thankArticle").offset().top,s=$("#thankArticle").offset().left;return a.css({"z-index":9999,top:n-20,left:s,position:"absolute","font-size":16,"-moz-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none"}),$("body").append(a),a.animate({top:n-180,opacity:0},1500,function(){a.remove()}),!1}Util.alert(e.msg)}})):(Util.needLogin(),!1)},stick:function(e){confirm(Label.stickConfirmLabel)&&$.ajax({url:Label.servePath+"/article/stick?articleId="+e,type:"POST",cache:!1,success:function(e,t){Util.alert(e.msg),window.location.href=Label.servePath+"/recent"}})},playThought:function(e){function i(e,t){var i=e.split(d);3===i.length&&i.splice(0,0,"");var a=i[0],n=i[2].split("-"),s=i[3].split("-");if(n[0]=parseInt(n[0]),n[1]=parseInt(n[1]),s[0]=parseInt(s[0]),s[1]=parseInt(s[1]),a===h){for(var r=[],o=n[1];s[1],o span"),s=$("#thoughtProgress > svg"),r="#articleThought",o=e.split(t),l=Math.max(o[o.length-2].split(d)[1]/3e4,2);""===o[o.length-1]&&o.pop();for(var c=0,u=0;c").replace(/ /g," ").replace(/ /g,"    ");$(r).data("text",e).html(t)},parseInt(o[c].split(d)[1])/l);for(var f=0,v=parseInt(o[c-1].split(d)[1])/l,p=setInterval(function(){v<=f?(n.width("100%"),s.css("left","100%"),clearInterval(p)):(f+=20,s.css("left",100*f/v+"%"),n.width(100*f/v+"%"))},20),g="",b="",C=0,w=0,L=0;w").replace(/ /g," ").replace(/ /g,"    "),g=x,$(r).html(b),C=Math.max(C,$(r).height())}$("#thoughtProgressPreview").html('
    '+b+"
    "),$("#thoughtProgressPreview").dialog({modal:!0,hideFooter:!0}),s.click(function(){$("#thoughtProgressPreview").dialog("open")}),$(r).html(b).height(C).css("margin-bottom","15px").html("")},makeNotificationRead:function(e,t){var i={articleId:e,commentIds:t};$.ajax({url:Label.servePath+"/notifications/make-read",type:"POST",cache:!1,data:JSON.stringify(i)})}};Article.init(),$(document).ready(function(){Comment.init(),ArticleChannel.init(Label.articleChannel),Label.isLoggedIn&&(Article.makeNotificationRead(Label.articleOId,Label.notificationCmtIds),setTimeout(function(){Util.setUnreadNotificationCount()},1e3))}); \ No newline at end of file +var Comment={editor:void 0,report:function(e){var t=$(e);t.attr("disabled","disabled").css("opacity","0.3"),$.ajax({url:Label.servePath+"/report",type:"POST",cache:!1,data:JSON.stringify({reportDataId:$("#reportDialog").data("id"),reportDataType:$("#reportDialog").data("type"),reportType:$("input[name=report]:checked").val(),reportMemo:$("#reportTextarea").val()}),complete:function(e){t.removeAttr("disabled").css("opacity","1"),0===e.responseJSON.code?(Util.alert(Label.reportSuccLabel),$("#reportTextarea").val(""),$("#reportDialog").dialog("close")):Util.alert(e.responseJSON.msg)}})},accept:function(e,t,i){confirm(e)&&$.ajax({url:Label.servePath+"/comment/accept",type:"POST",headers:{csrfToken:Label.csrfToken},cache:!1,data:JSON.stringify({commentId:t}),success:function(e){0!==e.code?Util.alert(e.msg):($(i).closest("li").addClass("cmt-perfect"),$(i).remove())}})},remove:function(i){if(!confirm(Label.confirmRemoveLabel))return!1;$.ajax({url:Label.servePath+"/comment/"+i+"/remove",type:"POST",cache:!1,success:function(e,t){0===e.code?$("#"+i).remove():Util.alert(e.msg)}})},exchangeCmtSort:function(e){e=0===e?1:0,window.location.href=window.location.pathname+"?m="+e},edit:function(e){$(".anonymous-check").hide(),$.ajax({url:Label.servePath+"/comment/"+e+"/content",type:"GET",cache:!1,success:function(e,t){0===e.code&&Comment.editor.setValue(e.commentContent)}}),$("#replyUseName").html(' '+Label.commonUpdateCommentPermissionLabel+"").data("commentId",e)},_bgFade:function(e){return 0!==e.length&&($(window).scrollTop(e[0].offsetTop-48),"comments"!==e.attr("id")&&(e.css({"background-color":"#9bbee0"}),setTimeout(function(){e.css({"background-color":"#FFF",transition:"all 3s cubic-bezier(0.56, -0.36, 0.58, 1)"})},100),void setTimeout(function(){e.removeAttr("style")},3100)))},goComment:function(e){if(0===$(e.substr(e.length-14,14)).length)return window.location=e,!1;$("#comments .list > ul > li").removeAttr("style"),Comment._bgFade($(e.substr(e.length-14,14)))},_setCmtVia:function(){$(".cmt-via").each(function(){var e=$(this).data("ua"),e=Util.getDeviceByUa(e);""!==e&&$(this).html("via "+e)})},init:function(){if(1===$(window.location.hash).length&&Comment._bgFade($(window.location.hash)),this._setCmtVia(),$.ua.set(navigator.userAgent),$.pjax({selector:".pagination a",container:"#comments",show:"",cache:!1,storage:!0,titleSuffix:"",callback:function(){Util.parseMarkdown(),Util.parseHljs()}}),NProgress.configure({showSpinner:!1}),$("#comments").bind("pjax.start",function(){NProgress.start()}),$("#comments").bind("pjax.end",function(){NProgress.done()}),!Label.isLoggedIn)return!1;Comment.editor=Util.newVditor({id:"commentContent",cache:!0,preview:{mode:"editor"},resize:{enable:!0,position:"top"},height:200,counter:4096,placeholder:Label.commentEditorPlaceholderLabel,ctrlEnter:function(){Comment.add(Label.articleOId,Label.csrfToken,document.getElementById("articleCommentBtn"))}})},thank:function(e,t,i,a,s){return Label.isLoggedIn?!(0===a&&!confirm(i))&&void $.ajax({url:Label.servePath+"/comment/thank",type:"POST",headers:{csrfToken:t},cache:!1,data:JSON.stringify({commentId:e}),error:function(e,t,i){Util.alert(i)},success:function(e,t){var i,a,n;0===e.code?($(s).removeAttr("onclick"),i=$(''),a=$(s).offset().top,n=$(s).offset().left,i.css({"z-index":9999,top:a,left:n,position:"absolute","font-size":16,"-moz-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none"}),$("body").append(i),i.animate({left:n-150,top:a-60,opacity:0},1e3,function(){var e=parseInt($(s).text());$(s).html(' '+(e+1)).addClass("ft-red"),i.remove()})):Util.alert(e.msg)}}):(Util.needLogin(),!1)},showReply:function(e,o,t){var r=$(o).closest("li").find("."+t);if("comment-get-comment"===t){if(0!==r.find("li").length)return r.html(""),!1}else if(0===$(o).find(".icon-chevron-down").length)return $(o).find(".icon-chevron-up").removeClass("icon-chevron-up").addClass("icon-chevron-down").find("use").attr("xlink:href","#chevron-down"),r.html(""),!1;if("0.3"===$(o).css("opacity"))return!1;t="comment-get-comment"===t?"/comment/original":"/comment/replies";$.ajax({url:Label.servePath+t,type:"POST",data:JSON.stringify({commentId:e,userCommentViewMode:Label.userCommentViewMode}),beforeSend:function(){$(o).css("opacity","0.3")},success:function(e,t){if(0!==e.code)return Util.alert(e.msg),!1;var i=e.commentReplies,a="";0===(i=i instanceof Array?i:[i]).length&&(a='
  • '+Label.removedLabel+"
  • ");for(var n=0;n
    ')+(''))+('
    '))+"
    "+'
    ')+(''))+s.commentAuthorName+"")+(' • '+s.timeAgo);0 '+s.rewardedCnt+" "),a=(a+=" "+Util.getDeviceByUa(s.commentUA)+"")+('
    '+s.commentContent+"
    ")}r.html("
      "+a+"
    "),Util.parseHljs(),Util.parseMarkdown(),$(o).find(".icon-chevron-down").removeClass("icon-chevron-down").addClass("icon-chevron-up").find("use").attr("xlink:href","#chevron-up")},error:function(e){Util.alert(e.statusText)},complete:function(){$(o).css("opacity","1")}})},add:function(e,t){var e={articleId:e,commentAnonymous:$("#commentAnonymous").prop("checked"),commentVisible:$("#commentVisible").prop("checked"),commentContent:Comment.editor.getValue(),userCommentViewMode:Label.userCommentViewMode},i=($("#replyUseName").data("commentOriginalCommentId")&&(e.commentOriginalCommentId=$("#replyUseName").data("commentOriginalCommentId")),Label.servePath+"/comment"),a="POST",n=$("#replyUseName").data("commentId");n&&(i=Label.servePath+"/comment/"+n,a="PUT"),$.ajax({url:i,type:a,headers:{csrfToken:t},cache:!1,data:JSON.stringify(e),beforeSend:function(){$(".form button.red").attr("disabled","disabled").css("opacity","0.3")},success:function(e,t){$(".form button.red").removeAttr("disabled").css("opacity","1"),0===e.code?(n&&$("#"+n+" > .fn-flex > .fn-flex-1 > .vditor-reset").html(e.commentContent),Comment.editor.setValue(""),$("#replyUseName").text("").removeData(),window.localStorage&&(window.localStorage[Label.articleOId]=JSON.stringify({commentContent:""})),1===Label.userCommentViewMode?Comment._bgFade($("#comments")):Comment._bgFade($("#bottomComment"))):$("#addCommentTip").addClass("error").html("
    • "+e.msg+"
    ")},error:function(e){$("#addCommentTip").addClass("error").html("
    • "+e.statusText+"
    ")},complete:function(){$(".form button.red").removeAttr("disabled").css("opacity","1")}})},reply:function(e,t){$("#replyUseName").data("commentOriginalCommentId",t),Comment.editor.focus()}},Article={initAudio:function(){$(".content-audio").each(function(){var e=$(this);new APlayer({element:this,narrow:!1,autoplay:!1,mutex:!0,theme:"#4285f4",preload:"none",mode:"circulation",music:{title:e.data("title"),author:'音乐分享',url:e.data("url"),pic:Label.staticServePath+"/images/music.png"}})});var e=$("#articleAudio");if(0===e.length)return!1;new APlayer({element:document.getElementById("articleAudio"),narrow:!1,autoplay:!1,mutex:!0,theme:"#4285f4",mode:"order",preload:"none",music:{title:"语音预览",author:'小薇',url:e.data("url"),pic:Label.staticServePath+"/images/blank.png"}})},permissionTip:function(e){Label.isLoggedIn?Util.alert(e):Util.needLogin()},voteUp:function(e,t,i){if(!Label.isLoggedIn)return Util.needLogin(),!1;var n=$(i),s=n.next();if(n.hasClass("disabled"))return!1;i={dataId:e};n.addClass("disabled"),$.ajax({url:Label.servePath+"/vote/up/"+t,type:"POST",cache:!1,data:JSON.stringify(i),success:function(e,t){n.removeClass("disabled");var i=parseInt(n.text()),a=parseInt(s.text());0===e.code?0===e.type?n.html(' '+(i-1)).removeClass("ft-red"):(n.html(' '+(i+1)).addClass("ft-red"),s.hasClass("ft-red")&&s.html(' '+(a-1)).removeClass("ft-red")):Util.alert(e.msg)}})},voteDown:function(e,t,i){if(!Label.isLoggedIn)return Util.needLogin(),!1;var n=$(i),s=n.prev();if(n.hasClass("disabled"))return!1;i={dataId:e};n.addClass("disabled"),$.ajax({url:Label.servePath+"/vote/down/"+t,type:"POST",cache:!1,data:JSON.stringify(i),success:function(e,t){n.removeClass("disabled");var i=parseInt(s.text()),a=parseInt(n.text());if(0===e.code)return 1===e.type?n.html(' '+(a-1)).removeClass("ft-red"):(n.html(' '+(a+1)).addClass("ft-red"),s.hasClass("ft-red")&&s.html(' '+(i-1)).removeClass("ft-red")),!1;Util.alert(e.msg)}})},previewImgAfterLoading:function(){$(".img-preview img").css("transform","translate3d("+Math.max(0,$(window).width()-$(".img-preview img").width())/2+"px, "+Math.max(0,$(window).height()-$(".img-preview img").height())/2+"px, 0)"),setTimeout(function(){$(".img-preview").width($(window).width())},300)},init:function(){this.share(),Util.parseHljs(),Util.parseMarkdown();var t=null,e=($(".article").on("dblclick",".vditor-reset img",function(){clearTimeout(t),$(this).hasClass("emoji")||1===$(this).closest(".editor-panel").length||1===$(this).closest(".ad").length||window.open($(this).attr("src"))}).on("click",".vditor-reset img",function(e){var i,a;clearTimeout(t),$(this).hasClass("emoji")||1===$(this).closest(".editor-panel").length||1===$(this).closest(".ad").length||(i=$(this),a=this,t=setTimeout(function(){var e=a.offsetTop,t=a.offsetLeft;1===i.closest(".comments").length&&(e+=i.closest("li")[0].offsetTop,t=t+$(".comments")[0].offsetLeft+15),$("body").append('
    '),$(".img-preview").css({"background-color":"#fff",position:"fixed"})},100))}),$("#articltVia").data("ua")),e=Util.getDeviceByUa(e);""!==e&&$("#articltVia").text("via "+e),$("#revision").dialog({width:$(window).width()-50,height:$(window).height()-50,modal:!0,hideFooter:!0}),$("#reportDialog").dialog({width:500<$(window).width()?500:$(window).width()-50,height:450,modal:!0,hideFooter:!0}),this.initAudio()},revision:function(e,a){if(!Label.isLoggedIn)return Util.needLogin(),!1;a=a||"article",$.ajax({url:Label.servePath+"/"+a+"/"+e+"/revisions",cache:!1,success:function(e,t){if(0===e.code){if(0===e.revisions.length||1===e.revisions.length)return $("#revision > .revisions").remove(),$("#revisions").html(""+Label.noRevisionLabel+""),!1;$("#revisions").html("").prev().remove(),$("#revisions").data("revisions",e.revisions).before('
    '+(e.revisions.length-1)+"~"+e.revisions.length+"/"+e.revisions.length+'
    '),e.revisions.length<=2&&$("#revision a").first().addClass("disabled");var i=JsDiff.createPatch("",e.revisions[e.revisions.length-2].revisionData.articleContent||e.revisions[e.revisions.length-2].revisionData.commentContent,e.revisions[e.revisions.length-1].revisionData.articleContent||e.revisions[e.revisions.length-1].revisionData.commentContent,e.revisions[e.revisions.length-2].revisionData.articleTitle||"",e.revisions[e.revisions.length-1].revisionData.articleTitle||"");return new Diff2HtmlUI({diff:i}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0}),Article._revisionsControls(a),!1}Util.alert(e.msg)}}),$("#revision").dialog("open")},_revisionsControls:function(e){var t=$("#revisions").data("revisions");$("#revision a.first").click(function(){var e;$(this).hasClass("disabled")||((e=parseInt($("#revision .revisions").text().split("~")[0]))<=2?$(this).addClass("disabled"):$(this).removeClass("disabled"),2 span").html(e-1+"~"+e+"/"+t.length),e=JsDiff.createPatch("",t[e-2].revisionData.articleContent||t[e-2].revisionData.commentContent,t[e-1].revisionData.articleContent||t[e-1].revisionData.commentContent,t[e-2].revisionData.articleTitle||"",t[e-1].revisionData.articleTitle||""),new Diff2HtmlUI({diff:e}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0}))}),$("#revision a.last").click(function(){var e;$(this).hasClass("disabled")||((e=parseInt($("#revision .revisions span").text().split("~")[0]))>t.length-3?$(this).addClass("disabled"):$(this).removeClass("disabled"),2 span").html(e+1+"~"+(e+2)+"/"+t.length),e=JsDiff.createPatch("",t[e].revisionData.articleContent||t[e].revisionData.commentContent,t[e+1].revisionData.articleContent||t[e+1].revisionData.commentContent,t[e].revisionData.articleTitle||"",t[e+1].revisionData.articleTitle||""),new Diff2HtmlUI({diff:e}).draw("#revisions",{matching:"lines",outputFormat:"side-by-side",synchronisedScroll:!0}))})},share:function(){"mobile"!==$.ua.device.type&&(e=$(".article-content").offset().left/2-15,$(".share").css("left",(e<20?20:e)+"px"));var e,n=$("#qrCode").data("shareurl");$("#qrCode").qrcode({width:90,height:90,text:n}),$("body").click(function(){$("#qrCode").slideUp()}),$(".share > span").click(function(){var e=$(this).data("type");if(!e)return!1;if("wechat"===e)return $("#qrCode").slideToggle(),!1;if("copy"===e)return!1;var t=encodeURIComponent(Label.articleTitle+" - "+Label.symphonyLabel),i=encodeURIComponent(n),a=$(".article-info .avatar").css("background-image"),a=(pic=a.substring(5,a.length-2),{});a.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+t+"&url="+i+"&pic="+pic,a.weibo="http://v.t.sina.com.cn/share/share.php?title="+t+"&url="+i+"&pic="+pic,a.google="https://plus.google.com/share?url="+i,a.twitter="https://twitter.com/intent/tweet?status="+t+" "+i,window.open(a[e],"_blank","top=100,left=200,width=648,height=618")}),$("#qrCode").click(function(){$(this).hide()}),$("#shareClipboard").mouseover(function(){$(this).attr("aria-label",Label.copyLabel)}),Util.clipboard($("#shareClipboard"),$("#shareClipboard").next(),function(){$("#shareClipboard").attr("aria-label",Label.copiedLabel)})},reward:function(e){confirm(Label.rewardConfirmLabel)&&$.ajax({url:Label.servePath+"/article/reward?articleId="+e,type:"POST",cache:!1,success:function(e,t){var i;if(0===e.code)return $("#articleRewardContent").html(e.articleRewardContent),Util.parseHljs(),Util.parseMarkdown(),i=parseInt($(".article-actions .icon-points").parent().text()),void $(".article-actions .icon-points").parent().addClass("ft-red").html(' '+(i+1)).removeAttr("onclick");Util.alert(e.msg)},error:function(e){Util.needLogin()}})},thankArticle:function(e,t){return Label.isLoggedIn?!(0===t&&!confirm(Label.thankArticleConfirmLabel))&&(Label.currentUserName===Label.articleAuthorName?(Util.alert(Label.thankSelfLabel),!1):void $.ajax({url:Label.servePath+"/article/thank?articleId="+e,type:"POST",cache:!1,success:function(e,t){var i,a,n;if(0===e.code)return a=parseInt($("#thankArticle").text()),$("#thankArticle").removeAttr("onclick").html(' '+(a+1)+"").addClass("ft-red").removeClass("ft-blue"),i=$(''),a=$("#thankArticle").offset().top,n=$("#thankArticle").offset().left,i.css({"z-index":9999,top:a-20,left:n,position:"absolute","font-size":16,"-moz-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none"}),$("body").append(i),i.animate({top:a-180,opacity:0},1500,function(){i.remove()}),!1;Util.alert(e.msg)}})):(Util.needLogin(),!1)},stick:function(e){confirm(Label.stickConfirmLabel)&&$.ajax({url:Label.servePath+"/article/stick?articleId="+e,type:"POST",cache:!1,success:function(e,t){Util.alert(e.msg),window.location.href=Label.servePath+"/recent"}})},playThought:function(e){function i(e,t){3===(e=e.split(l)).length&&e.splice(0,0,"");var i=e[0],a=e[2].split("-"),n=e[3].split("-");if(a[0]=parseInt(a[0]),a[1]=parseInt(a[1]),n[0]=parseInt(n[0]),n[1]=parseInt(n[1]),i===d){for(var s=[],o=a[1];n[1],o span"),s=$("#thoughtProgress > svg"),o="#articleThought",r=e.split(t),m=Math.max(r[r.length-2].split(l)[1]/3e4,2);""===r[r.length-1]&&r.pop();for(var h=0,u=0;h").replace(/ /g," ").replace(/ /g,"    ");$(o).data("text",e).html(t)},parseInt(r[h].split(l)[1])/m);for(var f=0,v=parseInt(r[h-1].split(l)[1])/m,p=setInterval(function(){v<=f?(n.width("100%"),s.css("left","100%"),clearInterval(p)):(f+=20,s.css("left",100*f/v+"%"),n.width(100*f/v+"%"))},20),g="",b="",C=0,w=0,L=0;w").replace(/ /g," ").replace(/ /g,"    "),g=x;$(o).html(b),C=Math.max(C,$(o).height())}$("#thoughtProgressPreview").html('
    '+b+"
    "),$("#thoughtProgressPreview").dialog({modal:!0,hideFooter:!0}),s.click(function(){$("#thoughtProgressPreview").dialog("open")}),$(o).html(b).height(C).css("margin-bottom","15px").html("")},makeNotificationRead:function(e,t){$.ajax({url:Label.servePath+"/notifications/make-read",type:"POST",cache:!1,data:JSON.stringify({articleId:e,commentIds:t})})}};Article.init(),$(document).ready(function(){Comment.init(),ArticleChannel.init(Label.articleChannel),Label.isLoggedIn&&(Article.makeNotificationRead(Label.articleOId,Label.notificationCmtIds),setTimeout(function(){Util.setUnreadNotificationCount()},1e3))}); \ No newline at end of file diff --git a/src/main/resources/js/settings.min.js b/src/main/resources/js/settings.min.js index 5d173a648..4a2874ebb 100644 --- a/src/main/resources/js/settings.min.js +++ b/src/main/resources/js/settings.min.js @@ -1 +1 @@ -var Settings={report:function(e){var a=$(e);a.attr("disabled","disabled").css("opacity","0.3"),$.ajax({url:Label.servePath+"/report",type:"POST",cache:!1,data:JSON.stringify({reportDataId:$("#reportDialog").data("id"),reportDataType:2,reportType:$("input[name=report]:checked").val(),reportMemo:$("#reportTextarea").val()}),complete:function(e){a.removeAttr("disabled").css("opacity","1"),0===e.responseJSON.code?(Util.alert(Label.reportSuccLabel),$("#reportTextarea").val(""),$("#reportDialog").dialog("close")):Util.alert(e.responseJSON.msg)}})},getEmailCaptcha:function(e){$("#emailGetBtn").attr("disabled","disabled").css("opacity","0.3"),$.ajax({url:Label.servePath+"/settings/email/vc",type:"POST",headers:{csrfToken:e},data:JSON.stringify({userEmail:$("#emailInput").val(),captcha:$("#emailVerify").val()}),success:function(e){0===e.code&&($("#emailInput").prop("disabled",!0),$(".home-account__captch").hide(),$("#emailCodePanel").show(),$("#emailCode").show().focus(),$("#emailSubmitBtn").show(),$("#emailGetBtn").hide()),Util.alert(e.msg),$("#emailGetBtn").removeAttr("disabled").css("opacity","1")}})},updateEmail:function(e){$("#emailSubmitBtn").attr("disabled","disabled").css("opacity","0.3"),$.ajax({url:Label.servePath+"/settings/email",type:"POST",headers:{csrfToken:e},data:JSON.stringify({userEmail:$("#emailInput").val(),captcha:$("#emailCode").val()}),success:function(e){0===e.code?($(".home-account__captch").show(),$("#emailVerify").val(""),$("#emailCodePanel").hide(),$("#emailCode").val(""),$("#emailSubmitBtn").hide(),$("#emailGetBtn").show(),$("#emailInput").prop("disabled",!1),$(".home-account__captch img").click(),Util.alert(Label.updateSuccLabel)):(1===e.code&&($(".home-account__captch").show(),$("#emailVerify").val(""),$("#emailCodePanel").hide(),$("#emailCodePanel").hide(),$("#emailSubmitBtn").hide(),$("#emailGetBtn").show(),$("#emailInput").prop("disabled",!1),$(".home-account__captch img").click()),Util.alert(e.msg)),$("#emailSubmitBtn").removeAttr("disabled").css("opacity","1")}})},homeScroll:function(){$(".nav-tabs").html($(".home-menu").html()),$(".nav").css({position:"fixed","box-shadow":"0 1px 2px rgba(0,0,0,.2)"}),$(".main").css("paddingTop","68px")},notiScroll:function(){var e=$("#side"),a=e.width(),t=1===$(".small-tips").closest(".module").length?109+$(".small-tips").closest(".module").height():89;$(".side.fn-none").height(e.height()),$(window).scroll(function(){$(window).scrollTop()>t?(e.css({position:"fixed",width:a+"px",top:0,right:$(".wrapper").css("margin-right")}),$(".side.fn-none").show(),$(".small-tips").closest(".module").hide()):(e.removeAttr("style"),$(".side.fn-none").hide(),$(".small-tips").closest(".module").show())})},initUploadAvatar:function(e,r){$("#"+e.id).fileupload({acceptFileTypes:/(\.|\/)(gif|jpe?g|png)$/i,maxFileSize:parseInt(e.maxSize),multipart:!0,pasteZone:null,dropZone:null,url:Label.servePath+"/upload",paramName:"file[]",add:function(e,t){if(t.files[0].type.split("/")[1],window.File&&window.FileReader&&window.FileList&&window.Blob){var a=new FileReader;a.readAsArrayBuffer(t.files[0]),a.onload=function(e){var a=new Uint8Array(e.target.result.slice(0,11));isImage(a)?1048576
  • "+Label.transferSuccLabel+"
  • "),$("#pointTransferUserName").val(""),$("#pointTransferAmount").val(""),$("#pointTransferMemo").val("")):$("#pointTransferTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    "),$("#pointTransferTip").show(),setTimeout(function(){$("#pointTransferTip").hide()},2e3)}})}},pointBuyInvitecode:function(e){$.ajax({url:Label.servePath+"/point/buy-invitecode",type:"POST",headers:{csrfToken:e},cache:!1,data:JSON.stringify({}),beforeSend:function(){$("#pointBuyInvitecodeTip").removeClass("succ").removeClass("error").html("")},error:function(e,a,t){Util.alert(t)},success:function(e,a){0===e.code?$(".list ul").prepend('
  • '+e.msg.split(" ")[0]+""+e.msg.substr(16)+"
  • "):$("#pointBuyInvitecodeTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    "),$("#pointBuyInvitecodeTip").show()}})},queryInvitecode:function(e){var a={invitecode:$("#invitecode").val()};$.ajax({url:Label.servePath+"/invitecode/state",type:"POST",headers:{csrfToken:e},cache:!1,data:JSON.stringify(a),beforeSend:function(){$("#invitecodeStateTip").removeClass("succ").removeClass("error").html("")},error:function(e,a,t){Util.alert(t)},success:function(e,a){switch(e.code){case-1:case 0:case 2:$("#invitecodeStateTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    ");break;case 1:$("#invitecodeStateTip").addClass("succ").removeClass("error").html("
    • "+e.msg+"
    ");break;default:$("#invitecodeStateTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    ")}S,$("#invitecodeStateTip").show()}})},update:function(t,e){var r={};switch(t){case"profiles":r=this._validateProfiles();break;case"password":r=this._validatePassword();break;case"privacy":r={userArticleStatus:$("#userArticleStatus").prop("checked"),userCommentStatus:$("#userCommentStatus").prop("checked"),userFollowingUserStatus:$("#userFollowingUserStatus").prop("checked"),userFollowingTagStatus:$("#userFollowingTagStatus").prop("checked"),userFollowingArticleStatus:$("#userFollowingArticleStatus").prop("checked"),userWatchingArticleStatus:$("#userWatchingArticleStatus").prop("checked"),userFollowerStatus:$("#userFollowerStatus").prop("checked"),userBreezemoonStatus:$("#userBreezemoonStatus").prop("checked"),userPointStatus:$("#userPointStatus").prop("checked"),userOnlineStatus:$("#userOnlineStatus").prop("checked"),userJoinPointRank:$("#joinPointRank").prop("checked"),userJoinUsedPointRank:$("#joinUsedPointRank").prop("checked"),userUAStatus:$("#userUAStatus").prop("checked")};break;case"function":r={userListPageSize:$("#userListPageSize").val(),userIndexRedirectURL:$("#userIndexRedirectURL").val(),userCommentViewMode:$("#userCommentViewMode").val(),userAvatarViewMode:$("#userAvatarViewMode").val(),userListViewMode:$("#userListViewMode").val(),userNotifyStatus:$("#userNotifyStatus").prop("checked"),userSubMailStatus:$("#userSubMailStatus").prop("checked"),userKeyboardShortcutsStatus:$("#userKeyboardShortcutsStatus").prop("checked"),userReplyWatchArticleStatus:$("#userReplyWatchArticleStatus").prop("checked"),userForwardPageStatus:$("#userForwardPageStatus").prop("checked")};break;case"emotionList":r=this._validateEmotionList();break;case"i18n":r={userLanguage:$("#userLanguage").val(),userTimezone:$("#userTimezone").val()};break;case"username":r={userName:$("#newUsername").val()};break;case"deactivate":break;default:console.log("update settings has no type")}if(!r)return!1;$.ajax({url:Label.servePath+"/settings/"+t,type:"POST",headers:{csrfToken:e},cache:!1,data:JSON.stringify(r),beforeSend:function(){$("#"+t.replace(/\//g,"")+"Tip").removeClass("succ").removeClass("error").html("")},error:function(e,a,t){Util.alert(t)},success:function(e,a){if(0===e.code){if($("#"+t.replace(/\//g,"")+"Tip").addClass("succ").removeClass("error").html("
    • "+Label.updateSuccLabel+"
    ").show(),"profiles"===t)return $("#userNicknameDom").text(r.userNickname),$("#userTagsDom").text(r.userTags),$("#userURLDom").text(r.userURL).attr("href",r.userURL),void $("#userIntroDom").text(r.userIntro)}else $("#"+t.replace(/\//g,"")+"Tip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    ");$("#"+t.replace(/\//g,"")+"Tip").show(),setTimeout(function(){$("#"+t.replace(/\//g,"")+"Tip").hide(),"i18n"===t&&window.location.reload(),"deactivate"===t&&(window.location.href=Label.servePath)},5e3)}})},updateAvatar:function(e){var t={userAvatarURL:$("#avatarURL").data("imageurl")};$.ajax({url:Label.servePath+"/settings/avatar",type:"POST",headers:{csrfToken:e},cache:!1,data:JSON.stringify(t),beforeSend:function(){},error:function(e,a,t){Util.alert(t)},success:function(e,a){0===e.code&&$("#avatarURLDom, .user-nav .avatar-small").attr("style","background-image:url("+t.userAvatarURL+")")}})},_validateProfiles:function(){return!!Validate.goValidate({target:$("#profilesTip"),data:[{target:$("#userNickname"),type:"string",min:0,max:20,msg:Label.invalidUserNicknameLabel},{target:$("#userTags"),type:"string",min:0,max:255,msg:Label.tagsErrorLabel},{target:$("#userURL"),type:"string",min:0,max:255,msg:Label.invalidUserURLLabel},{target:$("#userIntro"),type:"string",min:0,max:255,msg:Label.invalidUserIntroLabel}]})&&{userNickname:$("#userNickname").val().replace(/(^\s*)|(\s*$)/g,""),userTags:$("#userTags").val().replace(/(^\s*)|(\s*$)/g,""),userURL:$("#userURL").val().replace(/(^\s*)|(\s*$)/g,""),userIntro:$("#userIntro").val().replace(/(^\s*)|(\s*$)/g,"")}},_validatePassword:function(){var e=$("#pwdOld").val(),a=$("#pwdNew").val();if(Validate.goValidate({target:$("#passwordTip"),data:[{target:$("#pwdNew"),type:"password",msg:Label.invalidPasswordLabel},{target:$("#pwdRepeat"),type:"password",oranginal:$("#pwdNew"),msg:Label.confirmPwdErrorLabel}]})){if(a!==$("#pwdRepeat").val())return!1;var t={};return t.userPassword=calcMD5(e),t.userNewPassword=calcMD5(a),t}return!1},_validateEmotionList:function(){return{emotions:$("#emotionList").val()}},makeAllNotificationsRead:function(){$.ajax({url:Label.servePath+"/notifications/all-read",type:"GET",cache:!1,success:function(e,a){0===e.code&&window.location.reload()}})},removeNotifications:function(e){return $.ajax({url:Label.servePath+"/notifications/remove/"+e,type:"GET",cache:!1,success:function(e){0===e.code&&location.reload()}}),!1},initFunction:function(){$("#emojiGrid img").click(function(){var e=$(this).attr("alt");-1===$("#emotionList").val().indexOf(e)&&(""!==$("#emotionList").val()?$("#emotionList").val($("#emotionList").val()+","+e):$("#emotionList").val(e))})},initHome:function(){"commentsAnonymous"!==Label.type&&"comments"!==Label.type||(Util.parseHljs(),Util.parseMarkdown()),$("#reportDialog").dialog({width:500<$(window).width()?500:$(window).width()-50,height:365,modal:!0,hideFooter:!0}),"mobile"!==$.ua.device.type&&(Settings.homeScroll(),$.pjax({selector:"a",container:"#home-pjax-container",show:"",cache:!1,storage:!0,titleSuffix:"",filter:function(e){return e.indexOf(Label.servePath+"/member/"+Label.userName)<0},callback:function(e){switch(e.type){case"success":case"cache":switch($(".home-menu a").removeClass("current"),location.pathname){case"/member/"+Label.userName:case"/member/"+Label.userName+"/comments":Util.parseHljs(),Util.parseMarkdown();case"/member/"+Label.userName+"/articles/anonymous":case"/member/"+Label.userName+"/comments/anonymous":Util.parseHljs(),Util.parseMarkdown(),$(".home-menu a:eq(0)").addClass("current");break;case"/member/"+Label.userName+"/watching/articles":case"/member/"+Label.userName+"/following/users":case"/member/"+Label.userName+"/following/tags":case"/member/"+Label.userName+"/following/articles":case"/member/"+Label.userName+"/followers":$(".home-menu a:eq(1)").addClass("current");break;case"/member/"+Label.userName+"/breezemoons":$(".home-menu a:eq(1)").addClass("current"),Breezemoon.init();break;case"/member/"+Label.userName+"/points":$(".home-menu a:eq(2)").addClass("current")}}$(".nav-tabs").html($(".home-menu").html()),Util.parseMarkdown(),Util.parseHljs()}}),NProgress.configure({showSpinner:!1}),$("#home-pjax-container").bind("pjax.start",function(){NProgress.start()}),$("#home-pjax-container").bind("pjax.end",function(){NProgress.done()}))}}; \ No newline at end of file +var Settings={report:function(e){var a=$(e);a.attr("disabled","disabled").css("opacity","0.3"),$.ajax({url:Label.servePath+"/report",type:"POST",cache:!1,data:JSON.stringify({reportDataId:$("#reportDialog").data("id"),reportDataType:2,reportType:$("input[name=report]:checked").val(),reportMemo:$("#reportTextarea").val()}),complete:function(e){a.removeAttr("disabled").css("opacity","1"),0===e.responseJSON.code?(Util.alert(Label.reportSuccLabel),$("#reportTextarea").val(""),$("#reportDialog").dialog("close")):Util.alert(e.responseJSON.msg)}})},getEmailCaptcha:function(e){$("#emailGetBtn").attr("disabled","disabled").css("opacity","0.3"),$.ajax({url:Label.servePath+"/settings/email/vc",type:"POST",headers:{csrfToken:e},data:JSON.stringify({userEmail:$("#emailInput").val(),captcha:$("#emailVerify").val()}),success:function(e){0===e.code&&($("#emailInput").prop("disabled",!0),$(".home-account__captch").hide(),$("#emailCodePanel").show(),$("#emailCode").show().focus(),$("#emailSubmitBtn").show(),$("#emailGetBtn").hide()),Util.alert(e.msg),$("#emailGetBtn").removeAttr("disabled").css("opacity","1")}})},updateEmail:function(e){$("#emailSubmitBtn").attr("disabled","disabled").css("opacity","0.3"),$.ajax({url:Label.servePath+"/settings/email",type:"POST",headers:{csrfToken:e},data:JSON.stringify({userEmail:$("#emailInput").val(),captcha:$("#emailCode").val()}),success:function(e){0===e.code?($(".home-account__captch").show(),$("#emailVerify").val(""),$("#emailCodePanel").hide(),$("#emailCode").val(""),$("#emailSubmitBtn").hide(),$("#emailGetBtn").show(),$("#emailInput").prop("disabled",!1),$(".home-account__captch img").click(),Util.alert(Label.updateSuccLabel)):(1===e.code&&($(".home-account__captch").show(),$("#emailVerify").val(""),$("#emailCodePanel").hide(),$("#emailCodePanel").hide(),$("#emailSubmitBtn").hide(),$("#emailGetBtn").show(),$("#emailInput").prop("disabled",!1),$(".home-account__captch img").click()),Util.alert(e.msg)),$("#emailSubmitBtn").removeAttr("disabled").css("opacity","1")}})},homeScroll:function(){$(".nav-tabs").html($(".home-menu").html()),$(".nav").css({position:"fixed","box-shadow":"0 1px 2px rgba(0,0,0,.2)"}),$(".main").css("paddingTop","68px")},notiScroll:function(){var e=$("#side"),a=e.width(),t=1===$(".small-tips").closest(".module").length?109+$(".small-tips").closest(".module").height():89;$(".side.fn-none").height(e.height()),$(window).scroll(function(){$(window).scrollTop()>t?(e.css({position:"fixed",width:a+"px",top:0,right:$(".wrapper").css("margin-right")}),$(".side.fn-none").show(),$(".small-tips").closest(".module").hide()):(e.removeAttr("style"),$(".side.fn-none").hide(),$(".small-tips").closest(".module").show())})},initUploadAvatar:function(e,t){$("#"+e.id).fileupload({acceptFileTypes:/(\.|\/)(gif|jpe?g|png)$/i,maxFileSize:parseInt(e.maxSize),multipart:!0,pasteZone:null,dropZone:null,url:Label.servePath+"/upload",paramName:"file[]",add:function(e,t){var a;t.files[0].type.split("/")[1],window.File&&window.FileReader&&window.FileList&&window.Blob?((a=new FileReader).readAsArrayBuffer(t.files[0]),a.onload=function(e){var a=new Uint8Array(e.target.result.slice(0,11));isImage(a)?1048576
  • "+Label.transferSuccLabel+"
  • "),$("#pointTransferUserName").val(""),$("#pointTransferAmount").val(""),$("#pointTransferMemo").val("")):$("#pointTransferTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    "),$("#pointTransferTip").show(),setTimeout(function(){$("#pointTransferTip").hide()},2e3)}}))},pointBuyInvitecode:function(e){$.ajax({url:Label.servePath+"/point/buy-invitecode",type:"POST",headers:{csrfToken:e},cache:!1,data:JSON.stringify({}),beforeSend:function(){$("#pointBuyInvitecodeTip").removeClass("succ").removeClass("error").html("")},error:function(e,a,t){Util.alert(t)},success:function(e,a){0===e.code?$(".list ul").prepend('
  • '+e.msg.split(" ")[0]+""+e.msg.substr(16)+"
  • "):$("#pointBuyInvitecodeTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    "),$("#pointBuyInvitecodeTip").show()}})},queryInvitecode:function(e){var a={invitecode:$("#invitecode").val()};$.ajax({url:Label.servePath+"/invitecode/state",type:"POST",headers:{csrfToken:e},cache:!1,data:JSON.stringify(a),beforeSend:function(){$("#invitecodeStateTip").removeClass("succ").removeClass("error").html("")},error:function(e,a,t){Util.alert(t)},success:function(e,a){switch(e.code){case-1:case 0:case 2:$("#invitecodeStateTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    ");break;case 1:$("#invitecodeStateTip").addClass("succ").removeClass("error").html("
    • "+e.msg+"
    ");break;default:$("#invitecodeStateTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    ")}S,$("#invitecodeStateTip").show()}})},update:function(t,e){var r={};switch(t){case"profiles":r=this._validateProfiles();break;case"password":r=this._validatePassword();break;case"privacy":r={userArticleStatus:$("#userArticleStatus").prop("checked"),userCommentStatus:$("#userCommentStatus").prop("checked"),userFollowingUserStatus:$("#userFollowingUserStatus").prop("checked"),userFollowingTagStatus:$("#userFollowingTagStatus").prop("checked"),userFollowingArticleStatus:$("#userFollowingArticleStatus").prop("checked"),userWatchingArticleStatus:$("#userWatchingArticleStatus").prop("checked"),userFollowerStatus:$("#userFollowerStatus").prop("checked"),userBreezemoonStatus:$("#userBreezemoonStatus").prop("checked"),userPointStatus:$("#userPointStatus").prop("checked"),userOnlineStatus:$("#userOnlineStatus").prop("checked"),userJoinPointRank:$("#joinPointRank").prop("checked"),userJoinUsedPointRank:$("#joinUsedPointRank").prop("checked"),userUAStatus:$("#userUAStatus").prop("checked")};break;case"function":r={userListPageSize:$("#userListPageSize").val(),userIndexRedirectURL:$("#userIndexRedirectURL").val(),userCommentViewMode:$("#userCommentViewMode").val(),userAvatarViewMode:$("#userAvatarViewMode").val(),userListViewMode:$("#userListViewMode").val(),userNotifyStatus:$("#userNotifyStatus").prop("checked"),userSubMailStatus:$("#userSubMailStatus").prop("checked"),userKeyboardShortcutsStatus:$("#userKeyboardShortcutsStatus").prop("checked"),userReplyWatchArticleStatus:$("#userReplyWatchArticleStatus").prop("checked"),userForwardPageStatus:$("#userForwardPageStatus").prop("checked")};break;case"emotionList":r=this._validateEmotionList();break;case"i18n":r={userLanguage:$("#userLanguage").val(),userTimezone:$("#userTimezone").val()};break;case"username":r={userName:$("#newUsername").val()};break;case"deactivate":break;default:console.log("update settings has no type")}if(!r)return!1;$.ajax({url:Label.servePath+"/settings/"+t,type:"POST",headers:{csrfToken:e},cache:!1,data:JSON.stringify(r),beforeSend:function(){$("#"+t.replace(/\//g,"")+"Tip").removeClass("succ").removeClass("error").html("")},error:function(e,a,t){Util.alert(t)},success:function(e,a){if(0===e.code){if($("#"+t.replace(/\//g,"")+"Tip").addClass("succ").removeClass("error").html("
    • "+Label.updateSuccLabel+"
    ").show(),"profiles"===t)return $("#userNicknameDom").text(r.userNickname),$("#userTagsDom").text(r.userTags),$("#userURLDom").text(r.userURL).attr("href",r.userURL),void $("#userIntroDom").text(r.userIntro)}else $("#"+t.replace(/\//g,"")+"Tip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    ");$("#"+t.replace(/\//g,"")+"Tip").show(),setTimeout(function(){$("#"+t.replace(/\//g,"")+"Tip").hide(),"i18n"===t&&window.location.reload(),"deactivate"===t&&(window.location.href=Label.servePath)},5e3)}})},updateAvatar:function(e){var t={userAvatarURL:$("#avatarURL").data("imageurl")};$.ajax({url:Label.servePath+"/settings/avatar",type:"POST",headers:{csrfToken:e},cache:!1,data:JSON.stringify(t),beforeSend:function(){},error:function(e,a,t){Util.alert(t)},success:function(e,a){0===e.code&&$("#avatarURLDom, .user-nav .avatar-small").attr("style","background-image:url("+t.userAvatarURL+")")}})},_validateProfiles:function(){return!!Validate.goValidate({target:$("#profilesTip"),data:[{target:$("#userNickname"),type:"string",min:0,max:20,msg:Label.invalidUserNicknameLabel},{target:$("#userTags"),type:"string",min:0,max:255,msg:Label.tagsErrorLabel},{target:$("#userURL"),type:"string",min:0,max:255,msg:Label.invalidUserURLLabel},{target:$("#userIntro"),type:"string",min:0,max:255,msg:Label.invalidUserIntroLabel}]})&&{userNickname:$("#userNickname").val().replace(/(^\s*)|(\s*$)/g,""),userTags:$("#userTags").val().replace(/(^\s*)|(\s*$)/g,""),userURL:$("#userURL").val().replace(/(^\s*)|(\s*$)/g,""),userIntro:$("#userIntro").val().replace(/(^\s*)|(\s*$)/g,"")}},_validatePassword:function(){var e=$("#pwdOld").val(),a=$("#pwdNew").val();if(Validate.goValidate({target:$("#passwordTip"),data:[{target:$("#pwdNew"),type:"password",msg:Label.invalidPasswordLabel},{target:$("#pwdRepeat"),type:"password",oranginal:$("#pwdNew"),msg:Label.confirmPwdErrorLabel}]})){if(a!==$("#pwdRepeat").val())return!1;var t={};return t.userPassword=calcMD5(e),t.userNewPassword=calcMD5(a),t}return!1},_validateEmotionList:function(){return{emotions:$("#emotionList").val()}},makeAllNotificationsRead:function(){$.ajax({url:Label.servePath+"/notifications/all-read",type:"GET",cache:!1,success:function(e,a){0===e.code&&window.location.reload()}})},removeNotifications:function(e){return $.ajax({url:Label.servePath+"/notifications/remove/"+e,type:"GET",cache:!1,success:function(e){0===e.code&&location.reload()}}),!1},initFunction:function(){$("#emojiGrid img").click(function(){var e=$(this).attr("alt");-1===$("#emotionList").val().indexOf(e)&&(""!==$("#emotionList").val()?$("#emotionList").val($("#emotionList").val()+","+e):$("#emotionList").val(e))})},initHome:function(){"commentsAnonymous"!==Label.type&&"comments"!==Label.type||(Util.parseHljs(),Util.parseMarkdown()),$("#reportDialog").dialog({width:500<$(window).width()?500:$(window).width()-50,height:365,modal:!0,hideFooter:!0}),"mobile"!==$.ua.device.type&&(Settings.homeScroll(),$.pjax({selector:"a",container:"#home-pjax-container",show:"",cache:!1,storage:!0,titleSuffix:"",filter:function(e){return e.indexOf(Label.servePath+"/member/"+Label.userName)<0},callback:function(e){switch(e.type){case"success":case"cache":switch($(".home-menu a").removeClass("current"),location.pathname){case"/member/"+Label.userName:case"/member/"+Label.userName+"/comments":Util.parseHljs(),Util.parseMarkdown();case"/member/"+Label.userName+"/articles/anonymous":case"/member/"+Label.userName+"/comments/anonymous":Util.parseHljs(),Util.parseMarkdown(),$(".home-menu a:eq(0)").addClass("current");break;case"/member/"+Label.userName+"/watching/articles":case"/member/"+Label.userName+"/following/users":case"/member/"+Label.userName+"/following/tags":case"/member/"+Label.userName+"/following/articles":case"/member/"+Label.userName+"/followers":$(".home-menu a:eq(1)").addClass("current");break;case"/member/"+Label.userName+"/breezemoons":$(".home-menu a:eq(1)").addClass("current"),Breezemoon.init();break;case"/member/"+Label.userName+"/points":$(".home-menu a:eq(2)").addClass("current")}}$(".nav-tabs").html($(".home-menu").html()),Util.parseMarkdown(),Util.parseHljs()}}),NProgress.configure({showSpinner:!1}),$("#home-pjax-container").bind("pjax.start",function(){NProgress.start()}),$("#home-pjax-container").bind("pjax.end",function(){NProgress.done()}))}}; \ No newline at end of file diff --git a/src/main/resources/js/symbol-defs.min.js b/src/main/resources/js/symbol-defs.min.js index 0a771e516..d7ff7def0 100644 --- a/src/main/resources/js/symbol-defs.min.js +++ b/src/main/resources/js/symbol-defs.min.js @@ -1 +1 @@ -var svg='';svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',svg+='',document.body.insertAdjacentHTML("afterBegin",svg+""); \ No newline at end of file +var svg='',svg=(svg=(svg=(svg=(svg=(svg=(svg=(svg=(svg=(svg=(svg=(svg=(svg=(svg=(svg=(svg=(svg=(svg+='')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'')+''+'';document.body.insertAdjacentHTML("afterBegin",svg+""); \ No newline at end of file diff --git a/src/main/resources/js/verify.min.js b/src/main/resources/js/verify.min.js index c88f050f4..f3f42ff0b 100644 --- a/src/main/resources/js/verify.min.js +++ b/src/main/resources/js/verify.min.js @@ -1 +1 @@ -var Verify={login:function(r){if(r=decodeURIComponent(r),Validate.goValidate({target:$("#loginTip"),data:[{target:$("#nameOrEmail"),type:"string",max:256,msg:Label.loginNameErrorLabel}]})){var e={nameOrEmail:$("#nameOrEmail").val().replace(/(^\s*)|(\s*$)/g,""),userPassword:calcMD5($("#loginPassword").val()),rememberLogin:$("#rememberLogin").prop("checked"),captcha:$("#captchaLogin").val().replace(/(^\s*)|(\s*$)/g,"")};$.ajax({url:Label.servePath+"/login",type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,a){0===e.code?window.location.href=r:($("#loginTip").addClass("error").html("
    • "+e.msg+"
    "),e.needCaptcha&&""!==e.needCaptcha&&($("#captchaImg").parent().show(),$("#captchaImg").attr("src",Label.servePath+"/captcha/login?needCaptcha="+e.needCaptcha+"&t="+Math.random()).click(function(){$(this).attr("src",Label.servePath+"/captcha/login?needCaptcha="+e.needCaptcha+"&t="+Math.random())})))}})}},register:function(){if(Validate.goValidate({target:$("#registerTip"),data:[{target:$("#registerUserName"),msg:Label.invalidUserNameLabel,type:"string",max:20},{target:$("#registerUserEmail"),msg:Label.invalidEmailLabel,type:"email"}]})){var e={userName:$("#registerUserName").val().replace(/(^\s*)|(\s*$)/g,""),userEmail:$("#registerUserEmail").val().replace(/(^\s*)|(\s*$)/g,""),invitecode:$("#registerInviteCode").val().replace(/(^\s*)|(\s*$)/g,""),captcha:$("#registerCaptcha").val(),referral:sessionStorage.r||""};$("#registerBtn").attr("disabled","disabled"),$.ajax({url:Label.servePath+"/register",type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,a){0===e.code?($("#registerTip").addClass("succ").removeClass("error").html("
    • "+e.msg+"
    "),$("#registerBtn").attr("disabled","disabled")):($("#registerTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    "),$("#registerCaptchaImg").attr("src",Label.servePath+"/captcha?code="+Math.random()),$("#registerCaptcha").val(""),$("#registerBtn").removeAttr("disabled"))}})}},register2:function(){if(Validate.goValidate({target:$("#registerTip2"),data:[{target:$("#registerUserPassword2"),msg:Label.invalidPasswordLabel,type:"password",max:20},{target:$("#registerConfirmPassword2"),original:$("#registerUserPassword2"),msg:Label.confirmPwdErrorLabel,type:"confirmPassword"}]})){var e={userAppRole:$("input[name=userAppRole]:checked").val(),userPassword:calcMD5($("#registerUserPassword2").val()),referral:$("#referral2").val(),userId:$("#userId2").val()};$.ajax({url:Label.servePath+"/register2",type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,a){0===e.code?window.location.href=Label.servePath:$("#registerTip2").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    ")}})}},forgetPwd:function(){if(Validate.goValidate({target:$("#fpwdTip"),data:[{target:$("#fpwdEmail"),msg:Label.invalidEmailLabel,type:"email"},{target:$("#fpwdSecurityCode"),msg:Label.captchaErrorLabel,type:"string",max:4}]})){var e={userEmail:$("#fpwdEmail").val().replace(/(^\s*)|(\s*$)/g,""),captcha:$("#fpwdSecurityCode").val()};$.ajax({url:Label.servePath+"/forget-pwd",type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,a){0===e.code?$("#fpwdTip").addClass("succ").removeClass("error").html("
    • "+e.msg+"
    "):($("#fpwdTip").removeClass("tip-succ"),$("#fpwdTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    "),$("#fpwdCaptcha").attr("src",Label.servePath+"/captcha?code="+Math.random()),$("#fpwdSecurityCode").val(""))}})}},resetPwd:function(){if(Validate.goValidate({target:$("#rpwdTip"),data:[{target:$("#rpwdUserPassword"),msg:Label.invalidPasswordLabel,type:"password",max:20},{target:$("#rpwdConfirmPassword"),original:$("#rpwdUserPassword"),msg:Label.confirmPwdErrorLabel,type:"confirmPassword"}]})){var e={userPassword:calcMD5($("#rpwdUserPassword").val()),userId:$("#rpwdUserId").val(),code:$("#code").val()};$.ajax({url:Label.servePath+"/reset-pwd",type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,a){0===e.code?window.location.href=Label.servePath:$("#rpwdTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    ")}})}},init:function(){$("#registerCaptcha, #registerInviteCode").keyup(function(e){13===e.keyCode&&Verify.register()}),$("#fpwdSecurityCode").keyup(function(e){13===e.keyCode&&Verify.forgetPwd()}),$("#loginPassword, #captchaLogin").keyup(function(e){13===e.keyCode&&$("#loginTip").next().click()}),$("#rpwdConfirmPassword").keyup(function(e){13===e.keyCode&&Verify.resetPwd()})},initGuide:function(e,a){if(0===e)return window.location.href=Label.servePath,!1;function r(){switch(6!==e&&($(".intro dt").removeClass("current"),$(".guide-tab > div").hide()),e<6&&0 div:eq(0)").show(),$(".step-btn .red").hide(),$(".intro dt:eq(0)").addClass("current");break;case 2:$(".guide-tab > div:eq(1)").show(),$(".step-btn .red").show(),$(".intro dt:eq(1)").addClass("current"),$(".step-btn .green, .step-btn .red").prop("disabled",!0),$(".tag-desc").isotope({sortBy:t}),t="random"===t?"original-order":"random",$(".tag-desc").on("arrangeComplete",function(){$(".step-btn .green, .step-btn .red").prop("disabled",!1)}),$(".tag-desc li").length<2&&$(".step-btn .green, .step-btn .red").prop("disabled",!1);break;case 3:$(".guide-tab > div:eq(2)").show(),$(".intro dt:eq(2)").addClass("current"),$(".step-btn .red").show();break;case 4:$(".guide-tab > div:eq(3)").show(),$(".intro dt:eq(3)").addClass("current"),$(".step-btn .red").show(),$(".step-btn .green").text(Label.nextStepLabel),$(".intro > div").hide(),$(".intro > dl").show();break;case 5:$(".guide-tab > div:eq(4)").show(),$(".step-btn .red").show(),$(".step-btn .green").text(Label.finshLabel),$(".intro > div").show(),$(".intro > dl").hide();break;case 6:window.location.href=Label.servePath}}var t="random";$(".step-btn .green").click(function(){if(5
  • "+e.msg+"
  • "),e.needCaptcha&&""!==e.needCaptcha&&($("#captchaImg").parent().show(),$("#captchaImg").attr("src",Label.servePath+"/captcha/login?needCaptcha="+e.needCaptcha+"&t="+Math.random()).click(function(){$(this).attr("src",Label.servePath+"/captcha/login?needCaptcha="+e.needCaptcha+"&t="+Math.random())})))}}))},register:function(){var e;Validate.goValidate({target:$("#registerTip"),data:[{target:$("#registerUserName"),msg:Label.invalidUserNameLabel,type:"string",max:20},{target:$("#registerUserEmail"),msg:Label.invalidEmailLabel,type:"email"}]})&&(e={userName:$("#registerUserName").val().replace(/(^\s*)|(\s*$)/g,""),userEmail:$("#registerUserEmail").val().replace(/(^\s*)|(\s*$)/g,""),invitecode:$("#registerInviteCode").val().replace(/(^\s*)|(\s*$)/g,""),captcha:$("#registerCaptcha").val(),referral:sessionStorage.r||""},$("#registerBtn").attr("disabled","disabled"),$.ajax({url:Label.servePath+"/register",type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,a){0===e.code?($("#registerTip").addClass("succ").removeClass("error").html("
    • "+e.msg+"
    "),$("#registerBtn").attr("disabled","disabled")):($("#registerTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    "),$("#registerCaptchaImg").attr("src",Label.servePath+"/captcha?code="+Math.random()),$("#registerCaptcha").val(""),$("#registerBtn").removeAttr("disabled"))}}))},register2:function(){var e;Validate.goValidate({target:$("#registerTip2"),data:[{target:$("#registerUserPassword2"),msg:Label.invalidPasswordLabel,type:"password",max:20},{target:$("#registerConfirmPassword2"),original:$("#registerUserPassword2"),msg:Label.confirmPwdErrorLabel,type:"confirmPassword"}]})&&(e={userAppRole:$("input[name=userAppRole]:checked").val(),userPassword:calcMD5($("#registerUserPassword2").val()),referral:$("#referral2").val(),userId:$("#userId2").val()},$.ajax({url:Label.servePath+"/register2",type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,a){0===e.code?window.location.href=Label.servePath:$("#registerTip2").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    ")}}))},forgetPwd:function(){var e;Validate.goValidate({target:$("#fpwdTip"),data:[{target:$("#fpwdEmail"),msg:Label.invalidEmailLabel,type:"email"},{target:$("#fpwdSecurityCode"),msg:Label.captchaErrorLabel,type:"string",max:4}]})&&(e={userEmail:$("#fpwdEmail").val().replace(/(^\s*)|(\s*$)/g,""),captcha:$("#fpwdSecurityCode").val()},$.ajax({url:Label.servePath+"/forget-pwd",type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,a){0===e.code?$("#fpwdTip").addClass("succ").removeClass("error").html("
    • "+e.msg+"
    "):($("#fpwdTip").removeClass("tip-succ"),$("#fpwdTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    "),$("#fpwdCaptcha").attr("src",Label.servePath+"/captcha?code="+Math.random()),$("#fpwdSecurityCode").val(""))}}))},resetPwd:function(){var e;Validate.goValidate({target:$("#rpwdTip"),data:[{target:$("#rpwdUserPassword"),msg:Label.invalidPasswordLabel,type:"password",max:20},{target:$("#rpwdConfirmPassword"),original:$("#rpwdUserPassword"),msg:Label.confirmPwdErrorLabel,type:"confirmPassword"}]})&&(e={userPassword:calcMD5($("#rpwdUserPassword").val()),userId:$("#rpwdUserId").val(),code:$("#code").val()},$.ajax({url:Label.servePath+"/reset-pwd",type:"POST",cache:!1,data:JSON.stringify(e),success:function(e,a){0===e.code?window.location.href=Label.servePath:$("#rpwdTip").addClass("error").removeClass("succ").html("
    • "+e.msg+"
    ")}}))},init:function(){$("#registerCaptcha, #registerInviteCode").keyup(function(e){13===e.keyCode&&Verify.register()}),$("#fpwdSecurityCode").keyup(function(e){13===e.keyCode&&Verify.forgetPwd()}),$("#loginPassword, #captchaLogin").keyup(function(e){13===e.keyCode&&$("#loginTip").next().click()}),$("#rpwdConfirmPassword").keyup(function(e){13===e.keyCode&&Verify.resetPwd()})},initGuide:function(e,a){if(0===e)return window.location.href=Label.servePath,!1;function r(){switch(6!==e&&($(".intro dt").removeClass("current"),$(".guide-tab > div").hide()),e<6&&0 div:eq(0)").show(),$(".step-btn .red").hide(),$(".intro dt:eq(0)").addClass("current");break;case 2:$(".guide-tab > div:eq(1)").show(),$(".step-btn .red").show(),$(".intro dt:eq(1)").addClass("current"),$(".step-btn .green, .step-btn .red").prop("disabled",!0),$(".tag-desc").isotope({sortBy:t}),t="random"===t?"original-order":"random",$(".tag-desc").on("arrangeComplete",function(){$(".step-btn .green, .step-btn .red").prop("disabled",!1)}),$(".tag-desc li").length<2&&$(".step-btn .green, .step-btn .red").prop("disabled",!1);break;case 3:$(".guide-tab > div:eq(2)").show(),$(".intro dt:eq(2)").addClass("current"),$(".step-btn .red").show();break;case 4:$(".guide-tab > div:eq(3)").show(),$(".intro dt:eq(3)").addClass("current"),$(".step-btn .red").show(),$(".step-btn .green").text(Label.nextStepLabel),$(".intro > div").hide(),$(".intro > dl").show();break;case 5:$(".guide-tab > div:eq(4)").show(),$(".step-btn .red").show(),$(".step-btn .green").text(Label.finshLabel),$(".intro > div").show(),$(".intro > dl").hide();break;case 6:window.location.href=Label.servePath}}var t="random",a=($(".step-btn .green").click(function(){if(5 - + - +