Files
mht.js/unpackage/dist/build/web/static/js/pages-ucenter-about-about.651db7f2.js
2025-10-22 07:50:31 +08:00

1 line
63 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-ucenter-about-about"],{1851:function(e,t,o){"use strict";var i=o("8bdb"),r=o("84d6"),n=o("1cb5");i({target:"Array",proto:!0},{fill:r}),n("fill")},1969:function(e,t,o){"use strict";var i=o("1a47"),r=o.n(i);r.a},"1a47":function(e,t,o){var i=o("4ec0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=o("967d").default;r("7b429094",i,!0,{sourceMap:!1,shadowMode:!1})},"25d4":function(e,t,o){"use strict";o("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={debug:!1,isAdmin:!1,loginTypes:["weixin","username","smsCode"],agreements:{serviceUrl:"https://xxx",privacyUrl:"https://xxx",scope:["register","login"]},appid:{weixin:{h5:"xxxxxx",web:"xxxxxx"}},passwordStrength:"medium"}},4464:function(e,t,o){var i=o("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-fda440f0]{display:flex;box-sizing:border-box;flex-direction:column}.about[data-v-fda440f0]{flex-direction:column;justify-content:center;align-items:center}.box[data-v-fda440f0]{margin-top:10px;flex-direction:column;justify-content:center;align-items:center}.logoImg[data-v-fda440f0]{margin-bottom:%?10?%;width:%?160?%;height:%?160?%;border-radius:15px}.tip[data-v-fda440f0]{text-align:center;font-size:%?24?%;margin-top:10px;padding:%?10?%}.appName[data-v-fda440f0]{margin-top:20px;font-size:%?42?%;font-weight:500}.qrcode[data-v-fda440f0], .qrcode .uqrcode[data-v-fda440f0]{margin:10px 0;width:100px;height:100px;display:block}.copyright[data-v-fda440f0]{font-size:%?32?%;flex-direction:column;justify-content:center;align-items:center}.agreement-box[data-v-fda440f0]{justify-content:center}.agreement[data-v-fda440f0]{color:#2285ff;font-size:%?26?%}.hint[data-v-fda440f0]{text-align:center;color:#999;font-size:%?26?%}',""]),e.exports=t},"4ec0":function(e,t,o){var i=o("c86c");t=i(!1),t.push([e.i,".uqrcode[data-v-12ef5453]{position:relative}.uqrcode-hide[data-v-12ef5453]{position:fixed;left:%?7500?%}.uqrcode-canvas[data-v-12ef5453]{-webkit-transform-origin:top left;transform-origin:top left}.uqrcode-makeing[data-v-12ef5453]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;\ndisplay:flex;\njustify-content:center;align-items:center}.uqrcode-makeing-image[data-v-12ef5453]{\ndisplay:block;max-width:120px;max-height:120px\n}.uqrcode-error[data-v-12ef5453]{position:absolute;top:0;right:0;bottom:0;left:0;\ndisplay:flex;\njustify-content:center;align-items:center}.uqrcode-error-message[data-v-12ef5453]{font-size:12px;color:#939291}\n.uqrcode-h5-save[data-v-12ef5453]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background-color:rgba(0,0,0,.68);display:flex;flex-direction:column;justify-content:center;align-items:center}.uqrcode-h5-save-image[data-v-12ef5453]{width:%?512?%;height:%?512?%;padding:%?32?%}.uqrcode-h5-save-text[data-v-12ef5453]{margin-top:%?20?%;font-size:%?32?%;font-weight:700;color:#fff}.uqrcode-h5-save-close[data-v-12ef5453]{position:relative;margin-top:%?72?%;width:%?40?%;height:%?40?%;border:%?2?% solid #fff;border-radius:%?40?%;padding:%?10?%}.uqrcode-h5-save-close-before[data-v-12ef5453]{position:absolute;top:50%;-webkit-transform:translateY(-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg);width:%?40?%;height:%?4?%;background:#fff}.uqrcode-h5-save-close-after[data-v-12ef5453]{position:absolute;top:50%;-webkit-transform:translateY(-50%) rotate(-45deg);transform:translateY(-50%) rotate(-45deg);width:%?40?%;height:%?4?%;background:#fff}\n\n",""]),e.exports=t},5438:function(e,t,o){"use strict";o.r(t);var i=o("e727"),r=o("cc87");for(var n in r)["default"].indexOf(n)<0&&function(e){o.d(t,e,(function(){return r[e]}))}(n);o("5c06");var a=o("828b"),s=Object(a["a"])(r["default"],i["b"],i["c"],!1,null,"fda440f0",null,!1,i["a"],void 0);t["default"]=s.exports},"5c06":function(e,t,o){"use strict";var i=o("60fa"),r=o.n(i);r.a},"60fa":function(e,t,o){var i=o("4464");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=o("967d").default;r("51a12b7c",i,!0,{sourceMap:!1,shadowMode:!1})},"65ca":function(e,t,o){"use strict";(function(e){o("6a54");var i=o("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(o("2634")),n=i(o("2fdc"));o("64aa"),o("bf0f");var a=i(o("78b0")),s={name:"uqrcode",props:{canvasId:{type:String,required:!0},value:{type:[String,Number]},size:{type:[String,Number],default:200},options:{type:Object,default:function(){return{}}},fileType:{type:String,default:"png"},start:{type:Boolean,default:!0},auto:{type:Boolean,default:!1},hide:{type:Boolean,default:!1}},data:function(){return{canvas:void 0,canvasContext:void 0,makeDelegate:void 0,drawDelegate:void 0,toTempFilePathDelegate:void 0,makeing:!1,drawing:!1,inError:!1,isH5Save:!1,tempFilePath:"",templateOptions:{width:0,height:0,canvasWidth:0,canvasHeight:0,canvasDisplay:!1},uqrcodeOptions:{data:""},makeingPattern:[[[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0]],[[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!1,!1,!1],[!0,!0,!0,!0,!0,!0,!1,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!1,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!1,!0,!0,!0]],[[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!1,!1,!1],[!0,!0,!0,!0,!0,!0,!0,!1,!1,!1],[!0,!0,!0,!0,!0,!0,!0,!1,!1,!1],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0]],[[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!1,!1,!1],[!0,!0,!0,!1,!1,!1,!1,!1,!1,!1],[!0,!0,!0,!1,!1,!1,!1,!1,!1,!1],[!0,!0,!0,!1,!1,!1,!1,!1,!1,!1],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0]]]}},watch:{value:{handler:function(){this.auto&&this.remake()}},size:{handler:function(){this.auto&&this.remake()}},options:{handler:function(){this.auto&&this.remake()},deep:!0},makeing:{handler:function(e){e||"function"===typeof this.toTempFilePathDelegate&&this.toTempFilePathDelegate()}}},mounted:function(){this.templateOptions.canvasWidth=this.size,this.templateOptions.canvasHeight=this.size,this.start&&this.make()},methods:{getTemplateOptions:function(){return a.default.deepReplace(this.templateOptions,{width:this.size,height:this.size})},getUqrcodeOptions:function(){return a.default.deepReplace(this.options,{data:String(this.value),size:Number(this.size)})},resetCanvas:function(e){var t=this;this.templateOptions.canvasDisplay=!1,this.$nextTick((function(){t.templateOptions.canvasDisplay=!0,t.$nextTick((function(){e&&e()}))}))},draw:function(){var t=arguments,o=this;return(0,n.default)((0,r.default)().mark((function i(){var n,s,u;return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=t.length>0&&void 0!==t[0]?t[0]:function(e){},o.drawing&&(o.drawDelegate=function(){o.draw(n)}),o.drawing=!0,o.inError=!1,o.canvasId){i.next=9;break}return e.error("[uQRCode]: canvasId must be set!"),o.inError=!0,n(!1),i.abrupt("return");case 9:if(o.value){i.next=14;break}return e.error("[uQRCode]: value must be set!"),o.inError=!0,n(!1),i.abrupt("return");case 14:o.templateOptions=o.getTemplateOptions(),o.uqrcodeOptions=o.getUqrcodeOptions(),"string"===typeof o.uqrcodeOptions.errorCorrectLevel&&(o.uqrcodeOptions.errorCorrectLevel=a.default.errorCorrectLevel[o.uqrcodeOptions.errorCorrectLevel]),"undefined"===typeof o.options.useDynamicSize&&(o.uqrcodeOptions.useDynamicSize=!0),s=new a.default,s.setOptions(o.uqrcodeOptions),s.make(),u=o.canvasContext=uni.createCanvasContext(o.canvasId,o),o.templateOptions.canvasWidth=s.dynamicSize,o.templateOptions.canvasHeight=s.dynamicSize,a.default.loadImage=function(e){return new Promise((function(t,o){uni.getImageInfo({src:e,success:function(e){t(e.path)},fail:function(e){o(e)}})}))},s.canvasContext=u,setTimeout((function(){s.drawCanvas().then((function(){o.drawDelegate?(o.drawDelegate(),o.drawDelegate=void 0):(o.drawing=!1,n(!0))})).catch((function(){o.drawDelegate?(o.drawDelegate(),o.drawDelegate=void 0):(o.inError=!0,o.drawing=!1,n(!1))}))}),300);case 27:case"end":return i.stop()}}),i)})))()},make:function(){var e=this;this.makeing=!0,this.resetCanvas((function(){clearTimeout(e.makeDelegate),e.makeDelegate=setTimeout((function(){e.draw((function(t){e.makeing=!1,e.complete(t)}))}),300)}))},remake:function(){this.make()},complete:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];setTimeout((function(){e.$emit("complete",{success:t})}),300)},toTempFilePath:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"function"!=typeof t.success&&(t.success=function(){}),"function"!=typeof t.fail&&(t.fail=function(){}),"function"!=typeof t.complete&&(t.complete=function(){}),this.makeing?this.toTempFilePathDelegate=function(){e.toTempFilePath(t)}:(this.toTempFilePathDelegate=null,uni.canvasToTempFilePath({canvasId:this.canvasId,fileType:this.fileType,width:this.templateOptions.canvasWidth,height:this.templateOptions.canvasHeight,success:function(e){t.success(e)},fail:function(e){t.fail(e)},complete:function(){t.complete()}},this))},save:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"function"!=typeof t.success&&(t.success=function(){}),"function"!=typeof t.fail&&(t.fail=function(){}),"function"!=typeof t.complete&&(t.complete=function(){}),this.toTempFilePath({success:function(o){e.isH5Save=!0,e.tempFilePath=o.tempFilePath;var i=document.createElement("a");i.download="uQRCode",i.href=o.tempFilePath,document.body.appendChild(i),i.click(),i.remove(),t.success({errMsg:"ok"}),t.complete()},fail:function(e){t.fail(e),t.complete()}})},onClick:function(e){this.$emit("click",e)}}};t.default=s}).call(this,o("ba7c")["default"])},"78b0":function(e,t,o){"use strict";(function(i,r){var n,a=o("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,u=a(o("fcf3")),d=a(o("2634")),c=a(o("2fdc")),l=a(o("9b1b"));o("7a76"),o("c9b5"),o("bf0f"),o("5c47"),o("aa9c"),o("a03a"),o("64aa"),o("2797"),o("aa77"),o("6a54"),o("fd3c"),o("ab80"),o("4626"),o("5ac7"),o("8f71"),o("e966"),o("1851"),function(){function r(e){this.mode=v.MODE_8BIT_BYTE,this.data=e}function a(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=new Array}function g(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var o=0;o<e.length&&0==e[o];)o++;this.num=new Array(e.length-o+t);for(var i=0;i<e.length-o;i++)this.num[i]=e[i+o]}function h(e,t){this.totalCount=e,this.dataCount=t}function f(){this.buffer=new Array,this.length=0}function m(){var e=this.waitingQueue=[],t=this.isRunning=!1;this.exec=function(o){return new Promise((function(i,r){t?e.push({task:o,resolve:i,reject:r}):(t=!0,function o(i,r,n){i().then((function(e){r(e)})).catch((function(e){n(e)})).finally((function(){if(e.length){var i=e.shift();o(i.task,i.resolve,i.reject)}else t=!1}))}(o,i,r))}))}}function p(e,t){var o=this.data="",r=this.size=200,n=this.typeNumber=-1,a=(this.errorCorrectLevel=b.H,this.useDynamicSize=!1,this.dynamicSize=void 0,this.margin=0),s=(this.backgroundColor="#FFFFFF",this.backgroundImageSrc=void 0,this.backgroundImageWidth=void 0),u=this.backgroundImageHeight=void 0,d=this.backgroundImageX=void 0,c=this.backgroundImageY=void 0,l=(this.backgroundImageAlpha=1,this.backgroundImageBorderRadius=0,this.foregroundColor="#000000",this.foregroundImageSrc=void 0,this.foregroundImageWidth=void 0),g=this.foregroundImageHeight=void 0,h=this.foregroundImageX=void 0,f=this.foregroundImageY=void 0,m=this.foregroundImagePadding=0,v=(this.foregroundImageBackgroundColor="#FFFFFF",this.foregroundImageBorderRadius=0),C=this.foregroundImageShadowOffsetX=0,y=this.foregroundImageShadowOffsetY=0,w=this.foregroundImageShadowBlur=0,k=(this.foregroundImageShadowColor="#808080",this.positionProbeBackgroundColor=void 0),I=this.positionProbeForegroundColor=void 0,S=(this.positionProbeImageSrc=void 0,this.positionProbeLeftUpperImageSrc=void 0),x=this.positionProbeRightUpperImageSrc=void 0,A=this.positionProbeLeftLowerImageSrc=void 0,P=this.separatorColor=void 0,D=this.positionAdjustBackgroundColor=void 0,T=this.positionAdjustForegroundColor=void 0,O=(this.positionAdjustImageSrc=void 0,this.timingBackgroundColor=void 0),B=this.timingForegroundColor=void 0,L=this.typeNumberBackgroundColor=void 0,E=this.typeNumberForegroundColor=void 0,z=this.darkBlockColor=void 0,M=(this.patterns=[],this.canvasContext=void 0);this.queue=!1,this.modules=[],this.moduleCount=0,this.drawModules=[],Object.defineProperties(this,{data:{get:function(){return""!==o&&void 0!==o||i.error("[uQRCode]: data must be set!"),o},set:function(e){o=e}},size:{get:function(){return r},set:function(e){r=Number(e)}},typeNumber:{get:function(){return n},set:function(e){n=Number(e)}},margin:{get:function(){return a},set:function(e){a=Number(e)}},backgroundImageWidth:{get:function(){return void 0===s?this.dynamicSize:this.useDynamicSize?this.dynamicSize/this.size*s:s},set:function(e){s=Number(e)}},backgroundImageHeight:{get:function(){return void 0===u?this.dynamicSize:this.useDynamicSize?this.dynamicSize/this.size*u:u},set:function(e){u=Number(e)}},backgroundImageX:{get:function(){return void 0===d?0:this.useDynamicSize?this.dynamicSize/this.size*d:d},set:function(e){d=Number(e)}},backgroundImageY:{get:function(){return void 0===c?0:this.useDynamicSize?this.dynamicSize/this.size*c:c},set:function(e){c=Number(e)}},foregroundImageWidth:{get:function(){return void 0===l?(this.dynamicSize-2*this.margin)/4:this.useDynamicSize?this.dynamicSize/this.size*l:l},set:function(e){l=Number(e)}},foregroundImageHeight:{get:function(){return void 0===g?(this.dynamicSize-2*this.margin)/4:this.useDynamicSize?this.dynamicSize/this.size*g:g},set:function(e){g=Number(e)}},foregroundImageX:{get:function(){return void 0===h?this.dynamicSize/2-this.foregroundImageWidth/2:this.useDynamicSize?this.dynamicSize/this.size*h:h},set:function(e){h=Number(e)}},foregroundImageY:{get:function(){return void 0===f?this.dynamicSize/2-this.foregroundImageHeight/2:this.useDynamicSize?this.dynamicSize/this.size*f:f},set:function(e){f=Number(e)}},foregroundImagePadding:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*m:m},set:function(e){m=Number(e)}},foregroundImageBorderRadius:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*v:v},set:function(e){v=Number(e)}},foregroundImageShadowOffsetX:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*C:C},set:function(e){C=Number(e)}},foregroundImageShadowOffsetY:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*y:y},set:function(e){y=Number(e)}},foregroundImageShadowBlur:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*w:w},set:function(e){w=Number(e)}},positionProbeBackgroundColor:{get:function(){return k||this.backgroundColor},set:function(e){k=e}},positionProbeForegroundColor:{get:function(){return I||this.foregroundColor},set:function(e){I=e}},positionProbeLeftUpperImageSrc:{get:function(){return S||this.positionProbeImageSrc},set:function(e){S=e}},positionProbeRightUpperImageSrc:{get:function(){return x||this.positionProbeImageSrc},set:function(e){x=e}},positionProbeLeftLowerImageSrc:{get:function(){return A||this.positionProbeImageSrc},set:function(e){A=e}},separatorColor:{get:function(){return P||this.backgroundColor},set:function(e){P=e}},positionAdjustBackgroundColor:{get:function(){return D||this.backgroundColor},set:function(e){D=e}},positionAdjustForegroundColor:{get:function(){return T||this.foregroundColor},set:function(e){T=e}},timingBackgroundColor:{get:function(){return O||this.backgroundColor},set:function(e){O=e}},timingForegroundColor:{get:function(){return B||this.foregroundColor},set:function(e){B=e}},typeNumberBackgroundColor:{get:function(){return L||this.backgroundColor},set:function(e){L=e}},typeNumberForegroundColor:{get:function(){return E||this.foregroundColor},set:function(e){E=e}},darkBlockColor:{get:function(){return z||this.foregroundColor},set:function(e){z=e}},canvasContext:{get:function(){return void 0===M&&i.error("[uQRCode]: use drawCanvas, you need to set the canvasContext!"),M},set:function(e){M=p.getCanvasContext(e)}}}),e&&this.setOptions(e),t&&(this.canvasContext=p.getCanvasContext(t))}r.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},a.prototype={addData:function(e){var t=new r(e);this.dataList.push(t),this.dataCache=null},isDark:function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=h.getRSBlocks(e,this.errorCorrectLevel),o=new f,i=0,r=0;r<t.length;r++)i+=t[r].dataCount;for(r=0;r<this.dataList.length;r++){var n=this.dataList[r];o.put(n.mode,4),o.put(n.getLength(),y.getLengthInBits(n.mode,e)),n.write(o)}if(o.getLengthInBits()<=8*i)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++){this.modules[o]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[o][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=a.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(e,t){for(var o=-1;o<=7;o++)if(!(e+o<=-1||this.moduleCount<=e+o))for(var i=-1;i<=7;i++)t+i<=-1||this.moduleCount<=t+i||(this.modules[e+o][t+i]=0<=o&&o<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==o||6==o)||2<=o&&o<=4&&2<=i&&i<=4)},getBestMaskPattern:function(){for(var e=0,t=0,o=0;o<8;o++){this.makeImpl(!0,o);var i=y.getLostPoint(this);(0==o||e>i)&&(e=i,t=o)}return t},createMovieClip:function(e,t,o){var i=e.createEmptyMovieClip(t,o);this.make();for(var r=0;r<this.modules.length;r++)for(var n=1*r,a=0;a<this.modules[r].length;a++){var s=1*a,u=this.modules[r][a];u&&(i.beginFill(0,100),i.moveTo(s,n),i.lineTo(s+1,n),i.lineTo(s+1,n+1),i.lineTo(s,n+1),i.endFill())}return i},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=y.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var o=0;o<e.length;o++){var i=e[t],r=e[o];if(null==this.modules[i][r])for(var n=-2;n<=2;n++)for(var a=-2;a<=2;a++)this.modules[i+n][r+a]=-2==n||2==n||-2==a||2==a||0==n&&0==a}},setupTypeNumber:function(e){for(var t=y.getBCHTypeNumber(this.typeNumber),o=0;o<18;o++){var i=!e&&1==(t>>o&1);this.modules[Math.floor(o/3)][o%3+this.moduleCount-8-3]=i}for(o=0;o<18;o++)i=!e&&1==(t>>o&1),this.modules[o%3+this.moduleCount-8-3][Math.floor(o/3)]=i},setupTypeInfo:function(e,t){for(var o=this.errorCorrectLevel<<3|t,i=y.getBCHTypeInfo(o),r=0;r<15;r++){var n=!e&&1==(i>>r&1);r<6?this.modules[r][8]=n:r<8?this.modules[r+1][8]=n:this.modules[this.moduleCount-15+r][8]=n}for(r=0;r<15;r++)n=!e&&1==(i>>r&1),r<8?this.modules[8][this.moduleCount-r-1]=n:r<9?this.modules[8][15-r-1+1]=n:this.modules[8][15-r-1]=n;this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var o=-1,i=this.moduleCount-1,r=7,n=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[i][a-s]){var u=!1;n<e.length&&(u=1==(e[n]>>>r&1));var d=y.getMask(t,i,a-s);d&&(u=!u),this.modules[i][a-s]=u,r--,-1==r&&(n++,r=7)}if(i+=o,i<0||this.moduleCount<=i){i-=o,o=-o;break}}}},a.PAD0=236,a.PAD1=17,a.createData=function(e,t,o){for(var i=h.getRSBlocks(e,t),r=new f,n=0;n<o.length;n++){var s=o[n];r.put(s.mode,4),r.put(s.getLength(),y.getLengthInBits(s.mode,e)),s.write(r)}var u=0;for(n=0;n<i.length;n++)u+=i[n].dataCount;if(r.getLengthInBits()>8*u)throw new Error("code length overflow. ("+r.getLengthInBits()+">"+8*u+")");for(r.getLengthInBits()+4<=8*u&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(!1);for(;!(r.getLengthInBits()>=8*u||(r.put(a.PAD0,8),r.getLengthInBits()>=8*u));)r.put(a.PAD1,8);return a.createBytes(r,i)},a.createBytes=function(e,t){for(var o=0,i=0,r=0,n=new Array(t.length),a=new Array(t.length),s=0;s<t.length;s++){var u=t[s].dataCount,d=t[s].totalCount-u;i=Math.max(i,u),r=Math.max(r,d),n[s]=new Array(u);for(var c=0;c<n[s].length;c++)n[s][c]=255&e.buffer[c+o];o+=u;var l=y.getErrorCorrectPolynomial(d),h=new g(n[s],l.getLength()-1),f=h.mod(l);for(a[s]=new Array(l.getLength()-1),c=0;c<a[s].length;c++){var m=c+f.getLength()-a[s].length;a[s][c]=m>=0?f.get(m):0}}var p=0;for(c=0;c<t.length;c++)p+=t[c].totalCount;var v=new Array(p),b=0;for(c=0;c<i;c++)for(s=0;s<t.length;s++)c<n[s].length&&(v[b++]=n[s][c]);for(c=0;c<r;c++)for(s=0;s<t.length;s++)c<a[s].length&&(v[b++]=a[s][c]);return v};for(var v={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},b={L:1,M:0,Q:3,H:2},C={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},y={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;y.getBCHDigit(t)-y.getBCHDigit(y.G15)>=0;)t^=y.G15<<y.getBCHDigit(t)-y.getBCHDigit(y.G15);return(e<<10|t)^y.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;y.getBCHDigit(t)-y.getBCHDigit(y.G18)>=0;)t^=y.G18<<y.getBCHDigit(t)-y.getBCHDigit(y.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return y.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,o){switch(e){case C.PATTERN000:return(t+o)%2==0;case C.PATTERN001:return t%2==0;case C.PATTERN010:return o%3==0;case C.PATTERN011:return(t+o)%3==0;case C.PATTERN100:return(Math.floor(t/2)+Math.floor(o/3))%2==0;case C.PATTERN101:return t*o%2+t*o%3==0;case C.PATTERN110:return(t*o%2+t*o%3)%2==0;case C.PATTERN111:return(t*o%3+(t+o)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new g([1],0),o=0;o<e;o++)t=t.multiply(new g([1,w.gexp(o)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case v.MODE_NUMBER:return 10;case v.MODE_ALPHA_NUM:return 9;case v.MODE_8BIT_BYTE:case v.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case v.MODE_NUMBER:return 12;case v.MODE_ALPHA_NUM:return 11;case v.MODE_8BIT_BYTE:return 16;case v.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case v.MODE_NUMBER:return 14;case v.MODE_ALPHA_NUM:return 13;case v.MODE_8BIT_BYTE:return 16;case v.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),o=0,i=0;i<t;i++)for(var r=0;r<t;r++){for(var n=0,a=e.isDark(i,r),s=-1;s<=1;s++)if(!(i+s<0||t<=i+s))for(var u=-1;u<=1;u++)r+u<0||t<=r+u||0==s&&0==u||a==e.isDark(i+s,r+u)&&n++;n>5&&(o+=3+n-5)}for(i=0;i<t-1;i++)for(r=0;r<t-1;r++){var d=0;e.isDark(i,r)&&d++,e.isDark(i+1,r)&&d++,e.isDark(i,r+1)&&d++,e.isDark(i+1,r+1)&&d++,0!=d&&4!=d||(o+=3)}for(i=0;i<t;i++)for(r=0;r<t-6;r++)e.isDark(i,r)&&!e.isDark(i,r+1)&&e.isDark(i,r+2)&&e.isDark(i,r+3)&&e.isDark(i,r+4)&&!e.isDark(i,r+5)&&e.isDark(i,r+6)&&(o+=40);for(r=0;r<t;r++)for(i=0;i<t-6;i++)e.isDark(i,r)&&!e.isDark(i+1,r)&&e.isDark(i+2,r)&&e.isDark(i+3,r)&&e.isDark(i+4,r)&&!e.isDark(i+5,r)&&e.isDark(i+6,r)&&(o+=40);var c=0;for(r=0;r<t;r++)for(i=0;i<t;i++)e.isDark(i,r)&&c++;var l=Math.abs(100*c/t/t-50)/5;return o+=10*l,o}},w={glog:function(e){if(e<1)throw new Error("glog("+e+")");return w.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return w.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},k=0;k<8;k++)w.EXP_TABLE[k]=1<<k;for(k=8;k<256;k++)w.EXP_TABLE[k]=w.EXP_TABLE[k-4]^w.EXP_TABLE[k-5]^w.EXP_TABLE[k-6]^w.EXP_TABLE[k-8];for(k=0;k<255;k++)w.LOG_TABLE[w.EXP_TABLE[k]]=k;g.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),o=0;o<this.getLength();o++)for(var i=0;i<e.getLength();i++)t[o+i]^=w.gexp(w.glog(this.get(o))+w.glog(e.get(i)));return new g(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=w.glog(this.get(0))-w.glog(e.get(0)),o=new Array(this.getLength()),i=0;i<this.getLength();i++)o[i]=this.get(i);for(i=0;i<e.getLength();i++)o[i]^=w.gexp(w.glog(e.get(i))+t);return new g(o,0).mod(e)}},h.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],h.getRSBlocks=function(e,t){var o=h.getRsBlockTable(e,t);if(null==o)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var i=o.length/3,r=new Array,n=0;n<i;n++)for(var a=o[3*n+0],s=o[3*n+1],u=o[3*n+2],d=0;d<a;d++)r.push(new h(s,u));return r},h.getRsBlockTable=function(e,t){switch(t){case b.L:return h.RS_BLOCK_TABLE[4*(e-1)+0];case b.M:return h.RS_BLOCK_TABLE[4*(e-1)+1];case b.Q:return h.RS_BLOCK_TABLE[4*(e-1)+2];case b.H:return h.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},f.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var o=0;o<t;o++)this.putBit(1==(e>>>t-o-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},p.errorCorrectLevel=b,p.queue=new m,p.queueLoadImage=new m,p.isQueueLoadImage=!1,p.loadImageCache=[],p.utf16To8=function(e){for(var t,o="",i=0;i<e.length;i++)t=e.charCodeAt(i),t>=1&&t<=127?o+=e.charAt(i):t>2047?(o+=String.fromCharCode(224|t>>12&15),o+=String.fromCharCode(128|t>>6&63),o+=String.fromCharCode(128|t>>0&63)):(o+=String.fromCharCode(192|t>>6&31),o+=String.fromCharCode(128|t>>0&63));return o},p.deepReplace=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var r in e=i?t:(0,l.default)({},t),o){var n=o[r];null!=n&&(n.constructor==Object?e[r]=this.deepReplace(e[r],n):n.constructor!=String||n?e[r]=n:e[r]=e[r])}return e},p.getSomePropertyToNewObject=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o={};return t.forEach((function(t){o[t]=e[t]})),o},p.getCanvasContext=function(e){return e.setFillStyle=e.setFillStyle||function(t){e.fillStyle=t},e.setFontSize=e.setFontSize||function(t){e.font="".concat(t,"px")},e.setTextAlign=e.setTextAlign||function(t){e.textAlign=t},e.setTextBaseline=e.setTextBaseline||function(t){e.textBaseline=t},e.draw=e.draw||function(e,t){t&&t()},e},p.getLoadImage=function(e){return"function"==typeof e?function(t){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return p.isQueueLoadImage?p.queueLoadImage.exec((function(){return new Promise((function(i,r){setTimeout((function(){var o=p.loadImageCache.find((function(e){return e.src==t}));o?i(o.img):e(t).then((function(e){p.loadImageCache.push({src:t,img:e}),i(e)})).catch((function(e){r(e)}))}),o?150:10)}))})):e(t)}:function(e){return Promise.resolve(e)}};var I=p.loadImage=function(e){return Promise.resolve(e)};Object.defineProperty(p,"loadImage",{get:function(){return I},set:function(e){I=p.getLoadImage(e)}}),p.prototype={setOptions:function(e){var t,o,i,r,n,a,s,u,d,c,l,g,h,f,m,v,b,C,y,w,k,I,S,x,A,P,D,T,O,B,L,E,z,M,N,q,j,R,Y,G,F,H,W,X,K,U,J,Q,Z,V,_,$,ee,te,oe,ie,re,ne,ae,se,ue,de,ce,le,ge,he,fe,me,pe,ve,be,Ce,ye,we,ke,Ie,Se,xe,Ae,Pe,De,Te,Oe,Be,Le;e&&p.deepReplace(this,{data:e.data||e.text,size:e.size,typeNumber:e.typeNumber,errorCorrectLevel:e.errorCorrectLevel,useDynamicSize:e.useDynamicSize,margin:e.margin,backgroundColor:e.backgroundColor||(null===(t=e.background)||void 0===t?void 0:t.color),backgroundImageSrc:e.backgroundImageSrc||(null===(o=e.background)||void 0===o||null===(i=o.image)||void 0===i?void 0:i.src),backgroundImageWidth:e.backgroundImageWidth||(null===(r=e.background)||void 0===r||null===(n=r.image)||void 0===n?void 0:n.width),backgroundImageHeight:e.backgroundImageHeight||(null===(a=e.background)||void 0===a||null===(s=a.image)||void 0===s?void 0:s.height),backgroundImageX:e.backgroundImageX||(null===(u=e.background)||void 0===u||null===(d=u.image)||void 0===d?void 0:d.x),backgroundImageY:e.backgroundImageY||(null===(c=e.background)||void 0===c||null===(l=c.image)||void 0===l?void 0:l.y),backgroundImageAlpha:e.backgroundImageAlpha||(null===(g=e.background)||void 0===g||null===(h=g.image)||void 0===h?void 0:h.alpha),backgroundImageBorderRadius:e.backgroundImageBorderRadius||(null===(f=e.background)||void 0===f||null===(m=f.image)||void 0===m?void 0:m.borderRadius),foregroundColor:e.foregroundColor||(null===(v=e.foreground)||void 0===v?void 0:v.color),foregroundImageSrc:e.foregroundImageSrc||(null===(b=e.foreground)||void 0===b||null===(C=b.image)||void 0===C?void 0:C.src),foregroundImageWidth:e.foregroundImageWidth||(null===(y=e.foreground)||void 0===y||null===(w=y.image)||void 0===w?void 0:w.width),foregroundImageHeight:e.foregroundImageHeight||(null===(k=e.foreground)||void 0===k||null===(I=k.image)||void 0===I?void 0:I.height),foregroundImageX:e.foregroundImageX||(null===(S=e.foreground)||void 0===S||null===(x=S.image)||void 0===x?void 0:x.x),foregroundImageY:e.foregroundImageY||(null===(A=e.foreground)||void 0===A||null===(P=A.image)||void 0===P?void 0:P.y),foregroundImagePadding:e.foregroundImagePadding||(null===(D=e.foreground)||void 0===D||null===(T=D.image)||void 0===T?void 0:T.padding),foregroundImageBackgroundColor:e.foregroundImageBackgroundColor||(null===(O=e.foreground)||void 0===O||null===(B=O.image)||void 0===B?void 0:B.backgroundColor),foregroundImageBorderRadius:e.foregroundImageBorderRadius||(null===(L=e.foreground)||void 0===L||null===(E=L.image)||void 0===E?void 0:E.borderRadius),foregroundImageShadowOffsetX:e.foregroundImageShadowOffsetX||(null===(z=e.foreground)||void 0===z||null===(M=z.image)||void 0===M?void 0:M.shadowOffsetX),foregroundImageShadowOffsetY:e.foregroundImageShadowOffsetY||(null===(N=e.foreground)||void 0===N||null===(q=N.image)||void 0===q?void 0:q.shadowOffsetY),foregroundImageShadowBlur:e.foregroundImageShadowBlur||(null===(j=e.foreground)||void 0===j||null===(R=j.image)||void 0===R?void 0:R.shadowBlur),foregroundImageShadowColor:e.foregroundImageShadowColor||(null===(Y=e.foreground)||void 0===Y||null===(G=Y.image)||void 0===G?void 0:G.shadowColor),positionProbeBackgroundColor:e.positionProbeBackgroundColor||(null===(F=e.positionProbe)||void 0===F?void 0:F.backgroundColor)||(null===(H=e.positionDetection)||void 0===H?void 0:H.backgroundColor),positionProbeForegroundColor:e.positionProbeForegroundColor||(null===(W=e.positionProbe)||void 0===W?void 0:W.foregroundColor)||(null===(X=e.positionDetection)||void 0===X?void 0:X.foregroundColor),positionProbeImageSrc:e.positionProbeImageSrc||(null===(K=e.art)||void 0===K||null===(U=K.positionProbe)||void 0===U?void 0:U.imageSrc)||(null===(J=e.art)||void 0===J||null===(Q=J.positionDetection)||void 0===Q?void 0:Q.image),positionProbeLeftUpperImageSrc:e.positionProbeLeftUpperImageSrc||(null===(Z=e.art)||void 0===Z||null===(V=Z.positionProbe)||void 0===V||null===(_=V.leftUpper)||void 0===_?void 0:_.imageSrc)||(null===($=e.art)||void 0===$||null===(ee=$.positionDetection)||void 0===ee||null===(te=ee.upperLeft)||void 0===te?void 0:te.image),positionProbeRightUpperImageSrc:e.positionProbeRightUpperImageSrc||(null===(oe=e.art)||void 0===oe||null===(ie=oe.positionProbe)||void 0===ie||null===(re=ie.rightUpper)||void 0===re?void 0:re.imageSrc)||(null===(ne=e.art)||void 0===ne||null===(ae=ne.positionDetection)||void 0===ae||null===(se=ae.upperRight)||void 0===se?void 0:se.image),positionProbeLeftLowerImageSrc:e.positionProbeLeftLowerImageSrc||(null===(ue=e.art)||void 0===ue||null===(de=ue.positionProbe)||void 0===de||null===(ce=de.leftLower)||void 0===ce?void 0:ce.imageSrc)||(null===(le=e.art)||void 0===le||null===(ge=le.positionDetection)||void 0===ge||null===(he=ge.lowerLeft)||void 0===he?void 0:he.image),separatorColor:e.separatorColor||(null===(fe=e.separator)||void 0===fe?void 0:fe.color),positionAdjustBackgroundColor:e.positionAdjustBackgroundColor||(null===(me=e.positionAdjust)||void 0===me?void 0:me.backgroundColor)||(null===(pe=e.alignment)||void 0===pe?void 0:pe.backgroundColor),positionAdjustForegroundColor:e.positionAdjustForegroundColor||(null===(ve=e.positionAdjust)||void 0===ve?void 0:ve.foregroundColor)||(null===(be=e.alignment)||void 0===be?void 0:be.foregroundColor),positionAdjustImageSrc:e.positionAdjustImageSrc||(null===(Ce=e.art)||void 0===Ce||null===(ye=Ce.positionAdjust)||void 0===ye?void 0:ye.imageSrc)||(null===(we=e.art)||void 0===we||null===(ke=we.alignment)||void 0===ke?void 0:ke.image),timingBackgroundColor:e.timingBackgroundColor||(null===(Ie=e.timing)||void 0===Ie?void 0:Ie.backgroundColor),timingForegroundColor:e.timingForegroundColor||(null===(Se=e.timing)||void 0===Se?void 0:Se.foregroundColor),typeNumberBackgroundColor:e.typeNumberBackgroundColor||(null===(xe=e.typeNumber)||void 0===xe?void 0:xe.backgroundColor)||(null===(Ae=e.versionInformation)||void 0===Ae?void 0:Ae.backgroundColor),typeNumberForegroundColor:e.typeNumberForegroundColor||(null===(Pe=e.typeNumber)||void 0===Pe?void 0:Pe.foregroundColor)||(null===(De=e.versionInformation)||void 0===De?void 0:De.foregroundColor),darkBlockColor:e.darkBlockColor||(null===(Te=e.darkBlock)||void 0===Te?void 0:Te.color),patterns:e.patterns||(null===(Oe=e.art)||void 0===Oe?void 0:Oe.patterns)||(null===(Be=e.art)||void 0===Be||null===(Le=Be.shape)||void 0===Le?void 0:Le.map((function(e){return e.imageSrc=e.image,e}))),queue:e.queue},!0)},make:function(){this.foregroundColor===this.backgroundColor&&i.error("[uQRCode]: foregroundColor and backgroundColor cannot be the same!");var e=new a(this.typeNumber,this.errorCorrectLevel);e.addData(p.utf16To8(this.data.toString())),e.make(),this.typeNumber=e.typeNumber,this.modules=e.modules,this.moduleCount=e.moduleCount;var t=this.size-2*this.margin;this.dynamicSize=Math.ceil(t/e.moduleCount)*e.moduleCount+2*this.margin,this.useDynamicSize||(this.dynamicSize=this.size),this.paintData(),this.paintPositionProbe(),this.paintSeparator(),this.paintTiming(),this.paintPositionAdjust(),this.paintDarkBlock(),this.paintTypeNumber(),this.getDrawModules()},paintData:function(){for(var e=this.dynamicSize,t=this.margin,o=this.backgroundColor,i=this.foregroundColor,r=this.modules,n=this.moduleCount,a=(e-2*t)/n,s=0;s<n;s++)for(var u=0;u<n;u++){var d=r[s][u];r[s][u]=d?{size:a,x:u*a+t,y:s*a+t,type:["foreground"],color:i,isBlack:!0,isDrawn:!1}:{size:a,x:u*a+t,y:s*a+t,type:["background"],color:o,isBlack:!1,isDrawn:!1}}},paintPositionProbe:function(){var e=this.modules,t=this.moduleCount,o=this.positionProbeBackgroundColor,i=this.positionProbeForegroundColor,r=t-7;[[0,0,1],[1,0,1],[2,0,1],[3,0,1],[4,0,1],[5,0,1],[6,0,1],[0,1,1],[1,1,0],[2,1,0],[3,1,0],[4,1,0],[5,1,0],[6,1,1],[0,2,1],[1,2,0],[2,2,1],[3,2,1],[4,2,1],[5,2,0],[6,2,1],[0,3,1],[1,3,0],[2,3,1],[3,3,1],[4,3,1],[5,3,0],[6,3,1],[0,4,1],[1,4,0],[2,4,1],[3,4,1],[4,4,1],[5,4,0],[6,4,1],[0,5,1],[1,5,0],[2,5,0],[3,5,0],[4,5,0],[5,5,0],[6,5,1],[0,6,1],[1,6,1],[2,6,1],[3,6,1],[4,6,1],[5,6,1],[6,6,1]].forEach((function(t){var n=e[t[0]][t[1]],a=e[t[0]+r][t[1]],s=e[t[0]][t[1]+r];s.type.push("positionProbe"),a.type.push("positionProbe"),n.type.push("positionProbe"),n.color=1==t[2]?i:o,a.color=1==t[2]?i:o,s.color=1==t[2]?i:o}))},paintSeparator:function(){var e=this.modules,t=this.moduleCount,o=this.separatorColor;[[7,0],[7,1],[7,2],[7,3],[7,4],[7,5],[7,6],[7,7],[0,7],[1,7],[2,7],[3,7],[4,7],[5,7],[6,7]].forEach((function(i){var r=e[i[0]][i[1]],n=e[t-i[0]-1][i[1]],a=e[i[0]][t-i[1]-1];a.type.push("separator"),n.type.push("separator"),r.type.push("separator"),r.color=o,n.color=o,a.color=o}))},paintPositionAdjust:function(){var e=this.typeNumber,t=this.modules,o=this.moduleCount,i=this.foregroundColor,r=this.backgroundColor,n=this.positionAdjustForegroundColor,a=this.positionAdjustBackgroundColor,s=this.timingForegroundColor,u=this.timingBackgroundColor,d=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]][e-1];if(d)for(var c=[[-2,-2,1],[-1,-2,1],[0,-2,1],[1,-2,1],[2,-2,1],[-2,-1,1],[-1,-1,0],[0,-1,0],[1,-1,0],[2,-1,1],[-2,0,1],[-1,0,0],[0,0,1],[1,0,0],[2,0,1],[-2,1,1],[-1,1,0],[0,1,0],[1,1,0],[2,1,1],[-2,2,1],[-1,2,1],[0,2,1],[1,2,1],[2,2,1]],l=d.length,g=0;g<l;g++)for(var h=function(e){var l={x:d[g],y:d[e]},h=l.x,f=l.y;h<9&&f<9||h>o-9-1&&f<9||f>o-9-1&&h<9||c.forEach((function(e){var o=t[h+e[0]][f+e[1]];o.type.push("positionAdjust"),o.type.includes("timing")?1==e[2]?o.color=n==i?s:n:o.color=n==i&&a==r?u:a:o.color=1==e[2]?n:a}))},f=0;f<l;f++)h(f)},paintTiming:function(){for(var e=this.modules,t=this.moduleCount,o=this.timingForegroundColor,i=this.timingBackgroundColor,r=t-16,n=0;n<r;n++){var a=e[6][8+n],s=e[8+n][6];a.type.push("timing"),s.type.push("timing"),a.color=1&n^1?o:i,s.color=1&n^1?o:i}},paintDarkBlock:function(){var e=this.modules,t=this.moduleCount,o=this.darkBlockColor,i=e[t-7-1][8];i.type.push("darkBlock"),i.color=o},paintTypeNumber:function(){var e=this.typeNumber,t=this.modules,o=this.moduleCount,i=this.typeNumberBackgroundColor,r=this.typeNumberForegroundColor;if(e<7)return t;var n=[0,0,0,0,0,0,0,"000111110010010100","001000010110111100","001001101010011001","001010010011010011","001011101111110110","001100011101100010","001101100001000111","001110011000001101","001111100100101000","010000101101111000","010001010001011101","010010101000010111","010011010100110010","010100100110100110","010101011010000011","010110100011001001","010111011111101100","011000111011000100","011001000111100001","011010111110101011","011011000010001110","011100110000011010","011101001100111111","011110110101110101","011111001001010000","100000100111010101","100001011011110000","100010100010111010","100011011110011111","100100101100001011","100101010000101110","100110101001100100","100111010101000001","101000110001101001"],a=n[e]+n[e],s=[o-11,o-10,o-9],u=[[5,s[2]],[5,s[1]],[5,s[0]],[4,s[2]],[4,s[1]],[4,s[0]],[3,s[2]],[3,s[1]],[3,s[0]],[2,s[2]],[2,s[1]],[2,s[0]],[1,s[2]],[1,s[1]],[1,s[0]],[0,s[2]],[0,s[1]],[0,s[0]],[s[2],5],[s[1],5],[s[0],5],[s[2],4],[s[1],4],[s[0],4],[s[2],3],[s[1],3],[s[0],3],[s[2],2],[s[1],2],[s[0],2],[s[2],1],[s[1],1],[s[0],1],[s[2],0],[s[1],0],[s[0],0]];u.forEach((function(e,o){var n=t[e[0]][e[1]];n.type.push("typeNumber"),n.color="1"==a[o]?r:i}))},getDrawModules:function(){var e=this.drawModules=[],t=this.modules,o=this.moduleCount,i=this.dynamicSize,r=this.backgroundColor,n=this.backgroundImageSrc,a=this.backgroundImageX,s=this.backgroundImageY,u=this.backgroundImageWidth,d=this.backgroundImageHeight,c=this.backgroundImageAlpha,l=this.backgroundImageBorderRadius,g=this.positionProbeLeftUpperImageSrc,h=this.positionProbeRightUpperImageSrc,f=this.positionProbeLeftLowerImageSrc,m=this.positionAdjustImageSrc,p=this.patterns,v=this.foregroundImageSrc,b=this.foregroundImageX,C=this.foregroundImageY,y=this.foregroundImageWidth,w=this.foregroundImageHeight,k=this.foregroundImagePadding,I=this.foregroundImageBackgroundColor,S=this.foregroundImageBorderRadius,x=this.foregroundImageShadowOffsetX,A=this.foregroundImageShadowOffsetY,P=this.foregroundImageShadowBlur,D=this.foregroundImageShadowColor;if(r&&e.push({name:"background",type:"block",color:r,x:0,y:0,width:i,height:i}),n&&e.push({name:"backgroundImage",type:"image",imageSrc:n,imageSource:"backgroundImageSrc",x:a,y:s,width:u,height:d,alpha:c,borderRadius:l}),g){e.push({name:"foreground",type:"image",imageSrc:g,imageSource:"positionProbeLeftUpperImageSrc",x:t[0][0].x,y:t[0][0].y,width:t[0][7].x-t[0][0].x,height:t[7][0].y-t[0][0].y});for(var T=0;T<7;T++)for(var O=0;O<7;O++){var B=t[T][O];B.isDrawn=!0}}if(h)for(e.push({name:"foreground",type:"image",imageSrc:h,imageSource:"positionProbeRightUpperImageSrc",x:t[0][o-7].x,y:t[0][o-7].y,width:t[0][o-1].x-t[0][o-7-1].x,height:t[7][o-7-1].y-t[0][o-7].y}),T=0;T<7;T++)for(O=7;O>0;O--)B=t[T][o-O],B.isDrawn=!0;if(f)for(e.push({name:"foreground",type:"image",imageSrc:f,imageSource:"positionProbeLeftLowerImageSrc",x:t[o-7][0].x,y:t[o-7][0].y,width:t[o-7][7].x-t[o-7][0].x,height:t[o-1][0].y-t[o-7-1][0].y}),T=7;T>0;T--)for(O=0;O<7;O++)B=t[o-T][O],B.isDrawn=!0;if(m){for(var L=[],E=0;E<o;E++)for(var z=0;z<o;z++)if(B=t[E][z],B.type.includes("positionAdjust")&&!B.isSign){for(var M={x:B.x,y:B.y,rowIndex:E,columnIndex:z},N=1;;){var q=t[E+N][z];if(!q.type.includes("positionAdjust"))break;N++}for(var j=1;;){if(q=t[E][z+j],!q.type.includes("positionAdjust"))break;j++}for(M.width=t[E][z+j].x-t[E][z].x,M.height=t[E+N][z].y-t[E][z].y,M.relativeLastRowIndex=N,M.relativeLastColumnIndex=j,T=0;T<N;T++)for(O=0;O<j;O++){var R=t[E+T][z+O];R.isSign=!0}L.push(M)}L.forEach((function(o){e.push({name:"foreground",type:"image",imageSrc:m,imageSource:"positionAdjustImageSrc",x:o.x,y:o.y,width:o.width,height:o.height});for(var i=0;i<o.relativeLastRowIndex;i++)for(var r=0;r<o.relativeLastColumnIndex;r++){var n=t[o.rowIndex+i][o.columnIndex+r];n.isDrawn=!0}}))}var Y=p.filter((function(e){return e.imageSrc}));if(Y.length>0)for(T=0;T<Y.length;T++){var G=Y[T];for(E=0;E<o;E++)for(z=0;z<o;z++)if(B=t[E][z],!B.isDrawn&&(!G.isRandom||G.isRandom&&1==parseInt(2*Math.random()))){var F=G.matrix.length,H=G.matrix[0].length,W=!0;if(E+F<=o&&z+H<=o)for(var X=0;X<F&&W;X++)for(var K=0;K<H&&W;K++){var U=G.matrix[X][K],J=t[E+X][z+K];W=1==U&&1==J.isBlack&&!J.isDrawn||0==U&&0==J.isBlack&&!J.isDrawn||null==U&&!J.isDrawn}else W=!1;if(W)for(e.push({name:"foreground",type:"image",imageSrc:G.imageSrc,imageSource:"patterns[".concat(T,"].imageSrc"),x:B.x,y:B.y,width:B.size*H,height:B.size*F}),X=0;X<F;X++)for(K=0;K<H;K++)U=G.matrix[X][K],J=t[E+X][z+K],null!=U&&(J.isDrawn=!0)}}for(E=0;E<o;E++)for(z=0;z<o;z++)B=t[E][z],B.isDrawn||B.color==r||(e.push({name:"foreground",type:"block",color:B.color,x:B.x,y:B.y,width:B.size,height:B.size}),B.isDrawn=!0);v&&e.push({name:"foregroundImage",type:"image",imageSrc:v,imageSource:"foregroundImageSrc",x:b,y:C,width:y,height:w,padding:k,backgroundColor:I,borderRadius:S,shadowOffsetX:x,shadowOffsetY:A,shadowBlur:P,shadowColor:D})},drawCanvas:function(){var e=this.drawModules,t=this.canvasContext,o=this.foregroundColor,r=this.backgroundColor,n=this.queue;if(o===r)return Promise.reject({errmsg:"[uQRCode]: foregroundColor and backgroundColor cannot be the same!"});var a=function(){var o=(0,c.default)((0,d.default)().mark((function o(r,a){var s,u,c,l,g,h,f,m,v,b,C,y,w,k;return(0,d.default)().wrap((function(o){while(1)switch(o.prev=o.next){case 0:t.draw(!1),s=!1,u=0;case 3:if(!(u<e.length)){o.next=27;break}c=e[u],o.t0=(t.save(),c.type),o.next="block"===o.t0?8:"image"===o.t0?10:21;break;case 8:return t.setFillStyle(c.color),t.fillRect(c.x,c.y,c.width,c.height),o.abrupt("break",21);case 10:return"backgroundImage"===c.name?(l=c.x,g=c.y,h=c.width,f=c.height,m=c.borderRadius,h<2*m&&(m=h/2),f<2*m&&(m=f/2),t.globalAlpha=c.alpha,t.beginPath(),t.moveTo(l+m,g),t.arcTo(l+h,g,l+h,g+f,m),t.arcTo(l+h,g+f,l,g+f,m),t.arcTo(l,g+f,l,g,m),t.arcTo(l,g,l+h,g,m),t.closePath(),t.strokeStyle="rgba(0,0,0,0)",t.stroke(),t.clip()):"foregroundImage"===c.name&&(l=c.x,g=c.y,h=c.width,f=c.height,m=c.borderRadius,h<2*m&&(m=h/2),f<2*m&&(m=f/2),v=c.x-c.padding,b=c.y-c.padding,C=c.width+2*c.padding,y=c.height+2*c.padding,w=C/h*m,C<2*w&&(w=C/2),y<2*w&&(w=y/2),t.save(),t.shadowOffsetX=c.shadowOffsetX,t.shadowOffsetY=c.shadowOffsetY,t.shadowBlur=c.shadowBlur,t.shadowColor=c.shadowColor,t.beginPath(),t.moveTo(v+w,b),t.arcTo(v+C,b,v+C,b+y,w),t.arcTo(v+C,b+y,v,b+y,w),t.arcTo(v,b+y,v,b,w),t.arcTo(v,b,v+C,b,w),t.closePath(),t.setFillStyle(c.backgroundColor),t.fill(),t.restore(),t.beginPath(),t.moveTo(v+w,b),t.arcTo(v+C,b,v+C,b+y,w),t.arcTo(v+C,b+y,v,b+y,w),t.arcTo(v,b+y,v,b,w),t.arcTo(v,b,v+C,b,w),t.closePath(),t.setFillStyle(c.padding>0?c.backgroundColor:"rgba(0,0,0,0)"),t.fill(),t.beginPath(),t.moveTo(l+m,g),t.arcTo(l+h,g,l+h,g+f,m),t.arcTo(l+h,g+f,l,g+f,m),t.arcTo(l,g+f,l,g,m),t.arcTo(l,g,l+h,g,m),t.closePath(),t.strokeStyle="rgba(0,0,0,0)",t.stroke(),t.clip()),o.prev=11,o.next=14,p.loadImage(c.imageSrc);case 14:k=o.sent,t.drawImage(k,c.x,c.y,c.width,c.height),o.next=21;break;case 18:o.prev=18,o.t1=o["catch"](11),i.error("[uQRCode]: ".concat(c.imageSource," invalid!")),a({errmsg:"[uQRCode]: ".concat(c.imageSource," invalid!")}),s=!0;case 21:if(!s){o.next=23;break}return o.abrupt("return");case 23:n&&t.draw(!0),t.restore();case 24:u++,o.next=3;break;case 27:t.draw(!0),setTimeout(r,150);case 28:case"end":return o.stop()}}),o,null,[[11,18]])})));return function(e,t){return o.apply(this,arguments)}}();return new Promise((function(e,t){n?p.queue.exec((function(){return new Promise((function(e,t){a(e,t)}))})).then((function(){setTimeout(e,150)})).catch((function(e){t(e)})):a(e,t)}))},draw:function(){return this.drawCanvas()}},s=p,s.export=function(){var i;"undefined"!=typeof window&&window,i=s,"object"==(0,u.default)(t)?e.exports=i:(n=function(){return i}.call(t,o,t,e),void 0===n||(e.exports=n))}}();var g=s;t.default=g}).call(this,o("ba7c")["default"],o("0ee4"))},c1d1:function(e,t,o){"use strict";o.r(t);var i=o("65ca"),r=o.n(i);for(var n in i)["default"].indexOf(n)<0&&function(e){o.d(t,e,(function(){return i[e]}))}(n);t["default"]=r.a},c563:function(e,t,o){"use strict";o.d(t,"b",(function(){return i})),o.d(t,"c",(function(){return r})),o.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-uni-view",{staticClass:"uqrcode",class:{"uqrcode-hide":e.hide},style:{width:e.templateOptions.width+"px",height:e.templateOptions.height+"px"}},[e.templateOptions.canvasDisplay?o("v-uni-canvas",{staticClass:"uqrcode-canvas",style:{width:e.templateOptions.canvasWidth+"px",height:e.templateOptions.canvasHeight+"px",transform:"scale("+e.size/e.templateOptions.canvasWidth+", "+e.size/e.templateOptions.canvasHeight+")"},attrs:{id:e.canvasId,"canvas-id":e.canvasId},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onClick.apply(void 0,arguments)}}}):e._e(),e.isH5Save?o("v-uni-view",{staticClass:"uqrcode-h5-save"},[o("v-uni-image",{staticClass:"uqrcode-h5-save-image",attrs:{src:e.tempFilePath}}),o("v-uni-text",{staticClass:"uqrcode-h5-save-text"},[e._v("若保存失败,请长按二维码进行保存")]),o("v-uni-view",{staticClass:"uqrcode-h5-save-close",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.isH5Save=!1}}},[o("v-uni-view",{staticClass:"uqrcode-h5-save-close-before"}),o("v-uni-view",{staticClass:"uqrcode-h5-save-close-after"})],1)],1):e._e(),e.makeing?o("v-uni-view",{staticClass:"uqrcode-makeing"},[o("v-uni-image",{staticClass:"uqrcode-makeing-image",style:{width:e.size/4+"px",height:e.size/4+"px"},attrs:{src:"data:image/gif;base64,R0lGODlhAAEAAfIEAOHh4SSsWuDg4N3d3f///wAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ4OCwgMjAyMC8wNy8xMC0yMjowNjo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLj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hBRWaOGFGGao4YYcdujhhyCGKOKIJJZo4okopqjiimQB4OKLMMYo44w01mjjjTMSKMCOPPbo449ABinkkDgWaeSROOpI5JJMNonkk1BGqaSTVFYZ5ZVY3jillVx2meWXSG7p5Zhkgmmmi2KWqeaZbBqZ5ppwtilnjG/GaeecbNZ55554Yqknn4D2eeSfgRYqaI2EGqrooS8muiijkDr6KKSCSjoppXNaeimmeSq46aec2qgpqKH66SmpqJYKwKipqjroqa3yKVWSsP64oaknSVmrj7deOauWu/bYq665QgmhhrgCRexl/1UOayxFy+bGpbNP/ipqsDxSGya0zxropLavFlsttjuC6ya343rbpLlFWosouQKwS6u426rLpLzA0hsus1Tie62+59q7pL/vAtwuvATT6K7CCCPrK7r18vutw9Hm9LDARCacI8T7SmulxjIuvDHGQ4JMJ8cBS7wuxa6GjPK9LLcMo8i2xiwzmi8PbPPNNPO6s8w9C/tzy0FnO7SrRZd7tKpJx7t0qU2bzGjUT4fadKxYn2xw1lwfvHXXYDP8ddhkN5pz2WhfjTbQZ68dttpuM9123De7PDbddZvJatZUk4x3xbsk6/Hfa/atMuGCWww4f4gXPrfYhzferbKTDy554hmBXxz55R0rXvlgnGvO1OJphS665+luTncCADs="}})],1):e._e(),e.inError?o("v-uni-view",{staticClass:"uqrcode-error"},[o("v-uni-text",{staticClass:"uqrcode-error-message"},[e._v("Error, see console.")])],1):e._e()],1)},r=[]},cc87:function(e,t,o){"use strict";o.r(t);var i=o("e460"),r=o.n(i);for(var n in i)["default"].indexOf(n)<0&&function(e){o.d(t,e,(function(){return i[e]}))}(n);t["default"]=r.a},e460:function(e,t,o){"use strict";(function(e){o("6a54");var i=o("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(o("25d4")),n=i(o("f97a")),a={components:{uqrcode:n.default},onLoad:function(){},computed:{uniStarterConfig:function(){return e.log(getApp()),getApp().globalData.config},agreements:function(){if(!r.default.agreements)return[];var e=r.default.agreements,t=e.serviceUrl,o=e.privacyUrl;return[{url:t,title:"用户服务协议"},{url:o,title:"隐私政策条款"}]}},data:function(){return{version:"V1.0.0",year:"2020",about:{}}},created:function(){this.about=this.uniStarterConfig.about,uni.setNavigationBarTitle({title:this.$t("about.about")+" "+this.about.appName}),this.year=(new Date).getFullYear()},onNavigationBarButtonTap:function(){var t=this.about,o=t.download,i=t.appName,r=t.slogan,n=t.logo;uniShare.show({content:{type:0,href:o,title:i,summary:r,imageUrl:n+"?x-oss-process=image/resize,m_fill,h_100,w_100"},menus:[{img:"/static/app-plus/sharemenu/wechatfriend.png",text:this.$t("common.wechatFriends"),share:{provider:"weixin",scene:"WXSceneSession"}},{img:"/static/app-plus/sharemenu/wechatmoments.png",text:this.$t("common.wechatBbs"),share:{provider:"weixin",scene:"WXSceneTimeline"}},{img:"/static/app-plus/sharemenu/weibo.png",text:this.$t("common.weibo"),share:{provider:"sinaweibo"}},{img:"/static/app-plus/sharemenu/qq.png",text:"QQ",share:{provider:"qq"}},{img:"/static/app-plus/sharemenu/copyurl.png",text:this.$t("common.copy"),share:"copyurl"},{img:"/static/app-plus/sharemenu/more.png",text:this.$t("common.more"),share:"shareSystem"}],cancelText:this.$t("common.cancelShare")},(function(t){e.log(t)}))},methods:{navigateTo:function(e){var t=e.url,o=e.title;uni.navigateTo({url:"/pages/common/webview/webview?url="+t+"&title="+o,success:function(e){},fail:function(){},complete:function(){}})}}};t.default=a}).call(this,o("ba7c")["default"])},e727:function(e,t,o){"use strict";o.d(t,"b",(function(){return r})),o.d(t,"c",(function(){return n})),o.d(t,"a",(function(){return i}));var i={uqrcode:o("f97a").default},r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-uni-view",{staticClass:"about"},[o("v-uni-view",{staticClass:"box"},[o("v-uni-text",{staticClass:"tip appName"},[e._v(e._s(e.about.appName))]),o("v-uni-text",{staticClass:"tip"},[e._v("Version "+e._s(e.version))]),o("v-uni-view",{staticClass:"qrcode"},[o("uqrcode",{attrs:{size:100,"canvas-id":"qrcode",value:e.about.download}})],1),o("v-uni-text",{staticClass:"tip"},[e._v(e._s(e.$t("about.sacnQR"))+" "+e._s(e.about.appName)+" "+e._s(e.$t("about.client")))])],1),o("v-uni-view",{staticClass:"copyright"},[e._l(e.agreements,(function(t,i){return o("v-uni-view",{key:i,staticClass:"agreement-box"},[o("v-uni-text",{staticClass:"agreement",on:{click:function(o){arguments[0]=o=e.$handleEvent(o),e.navigateTo(t)}}},[e._v("《"+e._s(t.title)+"》")]),e.agreements.length-1>i?o("v-uni-text",{staticClass:"hint"},[e._v(e._s(e.$t("about.and")))]):e._e()],1)})),o("v-uni-text",{staticClass:"hint"},[e._v("Copyright © "+e._s(e.year))]),o("v-uni-text",{staticClass:"hint"},[e._v(e._s(e.about.company))])],2)],1)},n=[]},f97a:function(e,t,o){"use strict";o.r(t);var i=o("c563"),r=o("c1d1");for(var n in r)["default"].indexOf(n)<0&&function(e){o.d(t,e,(function(){return r[e]}))}(n);o("1969");var a=o("828b"),s=Object(a["a"])(r["default"],i["b"],i["c"],!1,null,"12ef5453",null,!1,i["a"],void 0);t["default"]=s.exports}}]);