@xysfe/actui 1.5.31-beta.13 → 1.5.31-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/BScroll/index.js +1 -1
- package/es/BankSelect/index.js +1 -1
- package/es/BaseInput/index.js +1 -1
- package/es/Button/index.js +1 -1
- package/es/CascadePicker/index.js +1 -1
- package/es/CertifyLayer/index.js +1 -1
- package/es/Collapse/index.js +1 -1
- package/es/Contact/index.js +1 -1
- package/es/ContactBook/index.js +1 -1
- package/es/CountTo/index.js +1 -1
- package/es/CouponLayer/index.js +1 -1
- package/es/CouponLayer/style.css +1 -1
- package/es/CrmReserveInfoLayer/index.js +1 -1
- package/es/DatePicker/index.js +1 -1
- package/es/DeviceFingerprint/index.js +1 -1
- package/es/Dialog/index.js +1 -1
- package/es/DiseaseSelect/index.js +1 -1
- package/es/DiseaseSelectLayer/index.js +1 -1
- package/es/DocPop/index.js +1 -1
- package/es/ErrorInterceptors/index.js +1 -1
- package/es/FaceRecognition/index.js +1 -1
- package/es/FileList/index.js +1 -1
- package/es/FileUpload/index.js +1 -1
- package/es/FormLayer/index.js +1 -1
- package/es/GivenLayer/index.js +1 -1
- package/es/GivenLayer/style.css +1 -1
- package/es/GoldAddress/index.js +1 -1
- package/es/GoldAddressLayer/index.js +1 -1
- package/es/GoldAml/index.js +1 -1
- package/es/GoldAml/style.css +1 -1
- package/es/GoldArea/index.js +1 -1
- package/es/GoldAuroraSlots/index.js +1 -1
- package/es/GoldBankPayLimit/index.js +1 -1
- package/es/GoldBankPayLimit/style.css +1 -1
- package/es/GoldBenefitDemo/index.js +1 -1
- package/es/GoldCareer/index.js +1 -1
- package/es/GoldCareerLayer/index.js +1 -1
- package/es/GoldCommentList/index.js +1 -1
- package/es/GoldCompute/index.js +1 -1
- package/es/GoldCompute/style.css +1 -1
- package/es/GoldComputeV2/index.js +1 -1
- package/es/GoldComputeV2/style.css +1 -1
- package/es/GoldConclusion/index.js +1 -1
- package/es/GoldContact/index.js +1 -1
- package/es/GoldContactBook/index.js +1 -1
- package/es/GoldContactElement/index.js +1 -1
- package/es/GoldCost/index.js +1 -1
- package/es/GoldCostLayer/index.js +1 -1
- package/es/GoldCoupon/index.js +1 -1
- package/es/GoldCoupon/style.css +1 -1
- package/es/GoldDate/index.js +1 -1
- package/es/GoldDialog/index.js +1 -1
- package/es/GoldDisease/index.js +1 -1
- package/es/GoldDisease/style.css +0 -1
- package/es/GoldDocLayer/index.js +1 -1
- package/es/GoldElement/index.js +1 -1
- package/es/GoldElementGroup/index.js +1 -1
- package/es/GoldFacecheck/index.js +1 -1
- package/es/GoldFaq/index.js +1 -1
- package/es/GoldFile/index.js +1 -1
- package/es/GoldFileAssess/index.js +1 -1
- package/es/GoldFinance/index.js +1 -1
- package/es/GoldFinanceChart/index.js +1 -1
- package/es/GoldFinanceV2/index.js +1 -1
- package/es/GoldIndexBar/index.js +1 -1
- package/es/GoldIndexBar/style.css +0 -1
- package/es/GoldInput/index.js +1 -1
- package/es/GoldInsureDuty/index.js +1 -1
- package/es/GoldInsureNotice/index.js +1 -1
- package/es/GoldItem/index.js +1 -1
- package/es/GoldLattice/index.js +1 -1
- package/es/GoldLayer/index.js +1 -1
- package/es/GoldMailPrecheck/index.js +1 -1
- package/es/GoldMailPrecheckV2/index.js +1 -1
- package/es/GoldMobileLayer/index.js +1 -1
- package/es/GoldModule/index.js +1 -1
- package/es/GoldMulSelect/index.js +1 -1
- package/es/GoldMulSelect/style.css +1 -1
- package/es/GoldNoticeTerms/index.js +1 -1
- package/es/GoldOcr/index.js +1 -1
- package/es/GoldPayLimitLayer/index.js +1 -1
- package/es/GoldPhoto/index.js +1 -1
- package/es/GoldProtocol/index.js +1 -1
- package/es/GoldPureText/index.js +1 -1
- package/es/GoldQrcode/index.js +1 -1
- package/es/GoldReadTerms/index.js +1 -1
- package/es/GoldSelect/index.js +1 -1
- package/es/GoldSelect/style.css +1 -1
- package/es/GoldSignature/index.js +1 -1
- package/es/GoldStepper/index.js +1 -1
- package/es/GoldSwitch/index.js +1 -1
- package/es/GoldText/index.js +1 -1
- package/es/GoldTextarea/index.js +1 -1
- package/es/GoldUniversal/index.js +1 -1
- package/es/GoldVerifyCode/index.js +1 -1
- package/es/ImageLayer/index.js +1 -1
- package/es/ImagePreview/index.js +1 -1
- package/es/IndexBar/index.js +1 -1
- package/es/IndexList/index.js +1 -1
- package/es/Jigsaw/index.js +1 -1
- package/es/JigsawLayer/index.js +1 -1
- package/es/JigsawVerifyCode/index.js +1 -1
- package/es/Keyframe/index.js +1 -1
- package/es/Loading/index.js +1 -1
- package/es/Login/index.js +1 -1
- package/es/LoginLayer/index.js +1 -1
- package/es/Marketing/index.js +1 -1
- package/es/MobileAuth/index.js +1 -1
- package/es/MobileAuthLayer/index.js +1 -1
- package/es/MobileLayer/index.js +1 -1
- package/es/MobileLayer/style.css +1 -1
- package/es/MultiSelect/index.js +1 -1
- package/es/NoticeTips/index.js +1 -1
- package/es/NoticeTips/style.css +1 -1
- package/es/OcrLayer/index.js +1 -1
- package/es/PageLoading/index.js +1 -1
- package/es/Panel/index.js +1 -1
- package/es/PhotoBox/index.js +1 -1
- package/es/Picker/index.js +1 -1
- package/es/PosterLayer/index.js +1 -1
- package/es/PosterLayer/style.css +1 -1
- package/es/PrizeLayer/index.js +1 -1
- package/es/PrizeLayer/style.css +1 -1
- package/es/ProductLayer/index.js +1 -1
- package/es/QRCode/index.js +1 -1
- package/es/QrcodeLayer/index.js +1 -1
- package/es/Recognition/index.js +1 -1
- package/es/ReplayLayer/index.js +1 -1
- package/es/ResourcePreload/index.js +1 -1
- package/es/RowCascadePicker/index.js +1 -1
- package/es/Rule/index.js +1 -1
- package/es/Rule/style.css +1 -1
- package/es/Scroll/index.js +1 -1
- package/es/Signature/index.js +1 -1
- package/es/SlidePoster/index.js +1 -1
- package/es/Stepper/index.js +1 -1
- package/es/Sticky/index.js +1 -1
- package/es/Style/index.js +1 -1
- package/es/Swipe/index.js +1 -1
- package/es/Switch/index.js +1 -1
- package/es/Tab/index.js +1 -1
- package/es/Timeline/index.js +1 -1
- package/es/Timeline/style.css +1 -1
- package/es/Toast/index.js +1 -1
- package/es/Validator/index.js +1 -1
- package/es/assets/common/baseelement.js +1 -1
- package/es/assets/common/button.js +1 -1
- package/es/assets/common/dynamicform.js +1 -1
- package/es/assets/common/forminput.js +1 -1
- package/es/assets/common/goldlayer.js +1 -1
- package/es/assets/common/iconbank.js +1 -1
- package/es/assets/common/iconcontact.js +1 -1
- package/es/assets/common/iconphoto.js +1 -1
- package/es/assets/common/input.js +1 -1
- package/es/assets/common/layer.js +1 -1
- package/es/assets/common/popup.js +1 -1
- package/es/assets/common/scroll.js +1 -1
- package/es/assets/common/scrollZoom/components/bubble.js +1 -1
- package/es/assets/common/scrollZoom/components/scroll.js +1 -1
- package/es/assets/common/scrollZoom/index.js +1 -1
- package/es/assets/common/svgicon.js +1 -1
- package/es/assets/mixins/basic-picker.js +1 -1
- package/es/assets/mixins/bind-event.js +1 -1
- package/es/assets/mixins/dynamic-form.js +1 -1
- package/es/assets/mixins/fixed-input.js +1 -1
- package/es/assets/mixins/fontsize.js +1 -1
- package/es/assets/mixins/form-input.js +1 -1
- package/es/assets/mixins/gold-change.js +1 -1
- package/es/assets/mixins/gold-element.js +1 -1
- package/es/assets/mixins/gold-theme.js +1 -1
- package/es/assets/mixins/gold-visible.js +1 -1
- package/es/assets/mixins/mobile-layer.js +1 -1
- package/es/assets/mixins/noscroll.js +1 -1
- package/es/assets/mixins/picker.js +1 -1
- package/es/assets/mixins/popup.js +1 -1
- package/es/assets/mixins/poster-layer.js +1 -1
- package/es/assets/mixins/touch.js +1 -1
- package/es/assets/mixins/visible.js +1 -1
- package/es/assets/svgicon.js +1 -0
- package/es/assets/utils/BScroll/constants.js +1 -1
- package/es/assets/utils/app.js +1 -1
- package/es/assets/utils/assign.js +1 -1
- package/es/assets/utils/camelcase.js +1 -1
- package/es/assets/utils/create/index.js +1 -1
- package/es/assets/utils/create/instantiate-component.js +1 -1
- package/es/assets/utils/create/parse-render.js +1 -1
- package/es/assets/utils/date.js +1 -1
- package/es/assets/utils/dom.js +1 -1
- package/es/assets/utils/encrypt.js +1 -1
- package/es/assets/utils/event.js +1 -1
- package/es/assets/utils/helpers.js +1 -1
- package/es/assets/utils/polyfill/Array.prototype.includes.js +1 -1
- package/es/assets/utils/polyfill/Object.keys.js +1 -1
- package/es/assets/utils/position.js +1 -1
- package/es/assets/utils/post.js +1 -1
- package/es/assets/utils/raf.js +1 -1
- package/es/index.js +1 -1
- package/es/toBase64/index.js +1 -1
- package/lib/GoldFinanceChart/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/es/GoldAddress/style.css +0 -1
- package/es/GoldArea/style.css +0 -1
- package/es/GoldCareer/style.css +0 -1
- package/es/GoldDate/style.css +0 -1
- package/es/GoldItem/style.css +0 -1
package/es/GoldQrcode/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/noscroll.js"),require("@xysfe/actui/es/assets/mixins/popup.js"),require("@xysfe/actui/es/GoldDialog/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/mixins/noscroll.js","@xysfe/actui/es/assets/mixins/popup.js","@xysfe/actui/es/GoldDialog/index.js"],e):"object"==typeof exports?exports.GoldQrcode=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/noscroll.js"),require("@xysfe/actui/es/assets/mixins/popup.js"),require("@xysfe/actui/es/GoldDialog/index.js")):t.GoldQrcode=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/mixins/noscroll.js"],t["@xysfe/actui/es/assets/mixins/popup.js"],t["@xysfe/actui/es/GoldDialog/index.js"])}("undefined"!=typeof self?self:this,function(t,e,r,n,o,i){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1247)}({0:function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},1:function(t,e,r){var n=r(29)("wks"),o=r(26),i=r(0).Symbol,s="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=n},10:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},11:function(t,e,r){var n=r(4),o=r(38),i=r(37),s=Object.defineProperty;e.f=r(3)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},12:function(t,e,r){var n=r(0),o=r(2),i=r(19),s=r(7),a=r(10),u=function(t,e,r){var c,f,l,h=t&u.F,p=t&u.G,d=t&u.S,v=t&u.P,g=t&u.B,m=t&u.W,_=p?o:o[e]||(o[e]={}),y=_.prototype,x=p?n:d?n[e]:(n[e]||{}).prototype;p&&(r=e);for(c in r)(f=!h&&x&&void 0!==x[c])&&a(_,c)||(l=f?x[c]:r[c],_[c]=p&&"function"!=typeof x[c]?r[c]:g&&f?i(l,n):m&&x[c]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((_.virtual||(_.virtual={}))[c]=l,t&u.R&&y&&!y[c]&&s(y,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},1247:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(23),o=r.n(n),i=r(1248);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldQrcode=o()(i.a,t)},e.default=i.a},1248:function(t,e,r){"use strict";function n(t){a||r(1249)}var o=r(797),i=r(1250),s=r(8),a=!1,u=n,c=Object(s.a)(o.a,i.a,i.b,!1,u,"data-v-08d9629c",null);c.options.__file="src\\components\\GoldQrcode\\src\\index.vue",e.a=c.exports},1249:function(t,e){},1250:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return o});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ActGoldDialog",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{title:t.title,zIndex:t.zIndex,maskClosable:t.maskClosable,closable:t.closable,showConfirmButton:!1,width:t.width},on:{close:t.close}},[r("div",{staticClass:"act-gold-qrcode"},[r("div",{staticClass:"qrcode"},[t.qrcodeImg?r("img",{attrs:{src:t.qrcodeImg}}):t._e()]),t._v(" "),r("div",{staticClass:"footer",domProps:{innerHTML:t._s(t.getFooterHtml)}})])])},o=[];n._withStripped=!0},13:function(t,e){t.exports={}},14:function(t,e,r){var n=r(32),o=r(18);t.exports=function(t){return n(o(t))}},15:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},16:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},17:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},18:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},19:function(t,e,r){var n=r(21);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},191:function(t,e,r){"use strict";var n,o=r(63),i=r.n(o);!function(){function t(t){this.mode=f.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,r=this.data.length;e<r;e++){var n=[],o=this.data.charCodeAt(e);o>65536?(n[0]=240|(1835008&o)>>>18,n[1]=128|(258048&o)>>>12,n[2]=128|(4032&o)>>>6,n[3]=128|63&o):o>2048?(n[0]=224|(61440&o)>>>12,n[1]=128|(4032&o)>>>6,n[2]=128|63&o):o>128?(n[0]=192|(1984&o)>>>6,n[1]=128|63&o):n[0]=o,this.parsedData.push(n)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function r(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var r=0;r<t.length&&0==t[r];)r++;this.num=new Array(t.length-r+e);for(var n=0;n<t.length-r;n++)this.num[n]=t[n+r]}function o(t,e){this.totalCount=t,this.dataCount=e}function s(){this.buffer=[],this.length=0}function a(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var r=e.toString().match(/android\s*([0-9\.]*)/i);r&&r[1]&&(t=parseFloat(r[1]))}return t}function u(t,e){for(var r=1,n=c(t),o=0,i=g.length;o<=i;o++){var s=0;switch(e){case l.L:s=g[o][0];break;case l.M:s=g[o][1];break;case l.Q:s=g[o][2];break;case l.H:s=g[o][3]}if(n<=s)break;r++}if(r>g.length)throw new Error("Too long data");return r}function c(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}t.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,r=this.parsedData.length;e<r;e++)t.put(this.parsedData[e],8)}},e.prototype={addData:function(e){var r=new t(e);this.dataList.push(r),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,r){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++)this.modules[n][o]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,r),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,r)},setupPositionProbePattern:function(t,e){for(var r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(var n=-1;n<=7;n++)e+n<=-1||this.moduleCount<=e+n||(this.modules[t+r][e+n]=r>=0&&r<=6&&(0==n||6==n)||n>=0&&n<=6&&(0==r||6==r)||r>=2&&r<=4&&n>=2&&n<=4)},getBestMaskPattern:function(){for(var t=0,e=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=p.getLostPoint(this);(0==r||t>n)&&(t=n,e=r)}return e},createMovieClip:function(t,e,r){var n=t.createEmptyMovieClip(e,r);this.make();for(var o=0;o<this.modules.length;o++)for(var i=1*o,s=0;s<this.modules[o].length;s++){var a=1*s,u=this.modules[o][s];u&&(n.beginFill(0,100),n.moveTo(a,i),n.lineTo(a+1,i),n.lineTo(a+1,i+1),n.lineTo(a,i+1),n.endFill())}return n},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=p.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var r=0;r<t.length;r++){var n=t[e],o=t[r];if(null==this.modules[n][o])for(var i=-2;i<=2;i++)for(var s=-2;s<=2;s++)this.modules[n+i][o+s]=-2==i||2==i||-2==s||2==s||0==i&&0==s}},setupTypeNumber:function(t){for(var e=p.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var n=!t&&1==(e>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(var r=0;r<18;r++){var n=!t&&1==(e>>r&1);this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}},setupTypeInfo:function(t,e){for(var r=this.errorCorrectLevel<<3|e,n=p.getBCHTypeInfo(r),o=0;o<15;o++){var i=!t&&1==(n>>o&1);o<6?this.modules[o][8]=i:o<8?this.modules[o+1][8]=i:this.modules[this.moduleCount-15+o][8]=i}for(var o=0;o<15;o++){var i=!t&&1==(n>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=i:o<9?this.modules[8][15-o-1+1]=i:this.modules[8][15-o-1]=i}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var r=-1,n=this.moduleCount-1,o=7,i=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var a=0;a<2;a++)if(null==this.modules[n][s-a]){var u=!1;i<t.length&&(u=1==(t[i]>>>o&1));var c=p.getMask(e,n,s-a);c&&(u=!u),this.modules[n][s-a]=u,o--,-1==o&&(i++,o=7)}if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,r,n){for(var i=o.getRSBlocks(t,r),a=new s,u=0;u<n.length;u++){var c=n[u];a.put(c.mode,4),a.put(c.getLength(),p.getLengthInBits(c.mode,t)),c.write(a)}for(var f=0,u=0;u<i.length;u++)f+=i[u].dataCount;if(a.getLengthInBits()>8*f)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*f+")");for(a.getLengthInBits()+4<=8*f&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;;){if(a.getLengthInBits()>=8*f)break;if(a.put(e.PAD0,8),a.getLengthInBits()>=8*f)break;a.put(e.PAD1,8)}return e.createBytes(a,i)},e.createBytes=function(t,e){for(var n=0,o=0,i=0,s=new Array(e.length),a=new Array(e.length),u=0;u<e.length;u++){var c=e[u].dataCount,f=e[u].totalCount-c;o=Math.max(o,c),i=Math.max(i,f),s[u]=new Array(c);for(var l=0;l<s[u].length;l++)s[u][l]=255&t.buffer[l+n];n+=c;var h=p.getErrorCorrectPolynomial(f),d=new r(s[u],h.getLength()-1),v=d.mod(h);a[u]=new Array(h.getLength()-1);for(var l=0;l<a[u].length;l++){var g=l+v.getLength()-a[u].length;a[u][l]=g>=0?v.get(g):0}}for(var m=0,l=0;l<e.length;l++)m+=e[l].totalCount;for(var _=new Array(m),y=0,l=0;l<o;l++)for(var u=0;u<e.length;u++)l<s[u].length&&(_[y++]=s[u][l]);for(var l=0;l<i;l++)for(var u=0;u<e.length;u++)l<a[u].length&&(_[y++]=a[u][l]);return _};for(var f={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},l={L:1,M:0,Q:3,H:2},h={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},p={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(t){for(var e=t<<10;p.getBCHDigit(e)-p.getBCHDigit(p.G15)>=0;)e^=p.G15<<p.getBCHDigit(e)-p.getBCHDigit(p.G15);return(t<<10|e)^p.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;p.getBCHDigit(e)-p.getBCHDigit(p.G18)>=0;)e^=p.G18<<p.getBCHDigit(e)-p.getBCHDigit(p.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return p.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case h.PATTERN000:return(e+r)%2==0;case h.PATTERN001:return e%2==0;case h.PATTERN010:return r%3==0;case h.PATTERN011:return(e+r)%3==0;case h.PATTERN100:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case h.PATTERN101:return e*r%2+e*r%3==0;case h.PATTERN110:return(e*r%2+e*r%3)%2==0;case h.PATTERN111:return(e*r%3+(e+r)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new r([1],0),n=0;n<t;n++)e=e.multiply(new r([1,d.gexp(n)],0));return e},getLengthInBits:function(t,e){if(e>=1&&e<10)switch(t){case f.MODE_NUMBER:return 10;case f.MODE_ALPHA_NUM:return 9;case f.MODE_8BIT_BYTE:case f.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case f.MODE_NUMBER:return 12;case f.MODE_ALPHA_NUM:return 11;case f.MODE_8BIT_BYTE:return 16;case f.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case f.MODE_NUMBER:return 14;case f.MODE_ALPHA_NUM:return 13;case f.MODE_8BIT_BYTE:return 16;case f.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),r=0,n=0;n<e;n++)for(var o=0;o<e;o++){for(var i=0,s=t.isDark(n,o),a=-1;a<=1;a++)if(!(n+a<0||e<=n+a))for(var u=-1;u<=1;u++)o+u<0||e<=o+u||0==a&&0==u||s==t.isDark(n+a,o+u)&&i++;i>5&&(r+=3+i-5)}for(var n=0;n<e-1;n++)for(var o=0;o<e-1;o++){var c=0;t.isDark(n,o)&&c++,t.isDark(n+1,o)&&c++,t.isDark(n,o+1)&&c++,t.isDark(n+1,o+1)&&c++,0!=c&&4!=c||(r+=3)}for(var n=0;n<e;n++)for(var o=0;o<e-6;o++)t.isDark(n,o)&&!t.isDark(n,o+1)&&t.isDark(n,o+2)&&t.isDark(n,o+3)&&t.isDark(n,o+4)&&!t.isDark(n,o+5)&&t.isDark(n,o+6)&&(r+=40);for(var o=0;o<e;o++)for(var n=0;n<e-6;n++)t.isDark(n,o)&&!t.isDark(n+1,o)&&t.isDark(n+2,o)&&t.isDark(n+3,o)&&t.isDark(n+4,o)&&!t.isDark(n+5,o)&&t.isDark(n+6,o)&&(r+=40);for(var f=0,o=0;o<e;o++)for(var n=0;n<e;n++)t.isDark(n,o)&&f++;return r+=Math.abs(100*f/e/e-50)/5*10}},d={glog:function(t){if(t<1)throw new Error("glog("+t+")");return d.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return d.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},v=0;v<8;v++)d.EXP_TABLE[v]=1<<v;for(var v=8;v<256;v++)d.EXP_TABLE[v]=d.EXP_TABLE[v-4]^d.EXP_TABLE[v-5]^d.EXP_TABLE[v-6]^d.EXP_TABLE[v-8];for(var v=0;v<255;v++)d.LOG_TABLE[d.EXP_TABLE[v]]=v;r.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),n=0;n<this.getLength();n++)for(var o=0;o<t.getLength();o++)e[n+o]^=d.gexp(d.glog(this.get(n))+d.glog(t.get(o)));return new r(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=d.glog(this.get(0))-d.glog(t.get(0)),n=new Array(this.getLength()),o=0;o<this.getLength();o++)n[o]=this.get(o);for(var o=0;o<t.getLength();o++)n[o]^=d.gexp(d.glog(t.get(o))+e);return new r(n,0).mod(t)}},o.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]],o.getRSBlocks=function(t,e){var r=o.getRsBlockTable(t,e);if(void 0==r)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var n=r.length/3,i=[],s=0;s<n;s++)for(var a=r[3*s+0],u=r[3*s+1],c=r[3*s+2],f=0;f<a;f++)i.push(new o(u,c));return i},o.getRsBlockTable=function(t,e){switch(e){case l.L:return o.RS_BLOCK_TABLE[4*(t-1)+0];case l.M:return o.RS_BLOCK_TABLE[4*(t-1)+1];case l.Q:return o.RS_BLOCK_TABLE[4*(t-1)+2];case l.H:return o.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},s.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var r=0;r<e;r++)this.putBit(1==(t>>>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++}};var g=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],m=function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){function e(t,e){var r=document.createElementNS("http://www.w3.org/2000/svg",t);for(var n in e)e.hasOwnProperty(n)&&r.setAttribute(n,e[n]);return r}var r=this._htOption,n=this._el,o=t.getModuleCount();Math.floor(r.width/o),Math.floor(r.height/o);this.clear();var i=e("svg",{viewBox:"0 0 "+String(o)+" "+String(o),width:"100%",height:"100%",fill:r.colorLight});i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),n.appendChild(i),i.appendChild(e("rect",{fill:r.colorLight,width:"100%",height:"100%"})),i.appendChild(e("rect",{fill:r.colorDark,width:"1",height:"1",id:"template"}));for(var s=0;s<o;s++)for(var a=0;a<o;a++)if(t.isDark(s,a)){var u=e("use",{x:String(a),y:String(s)});u.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),i.appendChild(u)}},t.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},t}(),_="svg"===document.documentElement.tagName.toLowerCase(),y=_?m:function(){return"undefined"!=typeof CanvasRenderingContext2D}()?function(){function t(){try{var t=this._elCanvas.toDataURL("image/png");return i.a.resolve(t)}catch(t){return i.a.reject("toDataURL failed")}}function e(t,e){var r=this;return r._fFail=e,r._fSuccess=t,null===r._bSupportDataURI?new i.a(function(t,e){var n=document.createElement("img"),o=function(){r._bSupportDataURI=!1,r._fFail&&(r._fFail.call(r),e("Browser doesn't supports Data URI"))},i=function(){r._bSupportDataURI=!0,r._fSuccess&&t(r._fSuccess.call(r))};n.onabort=o,n.onerror=o,n.onload=i,n.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="}):!0===r._bSupportDataURI&&r._fSuccess?r._fSuccess.call(r):!1===r._bSupportDataURI&&r._fFail?(r._fFail.call(r),i.a.reject("Browser doesn't supports Data URI")):void 0}var r=a();if(r&&r<=2.1){var n=1/window.devicePixelRatio,o=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,e,r,i,s,a,u,c,f){if("nodeName"in t&&/img/i.test(t.nodeName))for(var l=arguments.length-1;l>=1;l--)arguments[l]=arguments[l]*n;else void 0===c&&(arguments[1]*=n,arguments[2]*=n,arguments[3]*=n,arguments[4]*=n);o.apply(this,arguments)}}var s=function(t,e){this._bIsPainted=!1,this._android=a(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,this._elCanvas.style.display="none",this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage="",this._bSupportDataURI=null};return s.prototype.draw=function(t){var e=(this._elImage,this._oContext),r=this._htOption,n=t.getModuleCount(),o=r.width/n,i=r.height/n,s=Math.round(o),a=Math.round(i);this.clear();for(var u=0;u<n;u++)for(var c=0;c<n;c++){var f=t.isDark(u,c),l=c*o,h=u*i;e.strokeStyle=f?r.colorDark:r.colorLight,e.lineWidth=1,e.fillStyle=f?r.colorDark:r.colorLight,e.fillRect(l,h,o,i),e.strokeRect(Math.floor(l)+.5,Math.floor(h)+.5,s,a),e.strokeRect(Math.ceil(l)-.5,Math.ceil(h)-.5,s,a)}this._bIsPainted=!0},s.prototype.makeImage=function(){if(this._bIsPainted)return e.call(this,t)},s.prototype.isPainted=function(){return this._bIsPainted},s.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},s.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},s}():function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){for(var e=this._htOption,r=this._el,n=t.getModuleCount(),o=Math.floor(e.width/n),i=Math.floor(e.height/n),s=['<table style="border:0;border-collapse:collapse;">'],a=0;a<n;a++){s.push("<tr>");for(var u=0;u<n;u++)s.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+o+"px;height:"+i+"px;background-color:"+(t.isDark(a,u)?e.colorDark:e.colorLight)+';"></td>');s.push("</tr>")}s.push("</table>"),r.innerHTML=s.join("");var c=r.childNodes[0],f=(e.width-c.offsetWidth)/2,l=(e.height-c.offsetHeight)/2;f>0&&l>0&&(c.style.margin=l+"px "+f+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}();n=function(t,e){if(this.reset(),"string"==typeof t&&(t={text:t}),t)for(var r in t)this._htOption[r]=t[r];this._htOption.useSVG&&(y=m),this._android=a(),this._el=e,this._oQRCode=null,this._oDrawing=new y(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},n.prototype.reset=function(){this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:l.H}},n.prototype.makeCode=function(t){return this._oQRCode=new e(u(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._oDrawing.draw(this._oQRCode),this.makeImage()},n.prototype.makeImage=function(){if("function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3))return this._oDrawing.makeImage()},n.prototype.clear=function(){this.reset(),this._oDrawing.clear()},n.CorrectLevel=l}(),e.a=n},193:function(t,e){t.exports=i},2:function(t,e){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},20:function(t,e){t.exports=!0},21:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},214:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(63),o=r.n(n),i=r(191);e.default=function(t){return new o.a(function(e,r){var n=t.text;n||r(new Error("qrcode options need text field")),new i.a(t).makeCode(n).then(function(t){e(t)}).catch(function(t){console.error(t),r(t)})})}},22:function(t,e,r){var n=r(29)("keys"),o=r(26);t.exports=function(t){return n[t]||(n[t]=o(t))}},23:function(e,r){e.exports=t},24:function(t,e,r){var n=r(9),o=r(0).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},25:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},26:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},27:function(t,e,r){var n=r(11).f,o=r(10),i=r(1)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},28:function(t,e,r){var n=r(39),o=r(30);t.exports=Object.keys||function(t){return n(t,o)}},29:function(t,e,r){var n=r(2),o=r(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(20)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},3:function(t,e,r){t.exports=!r(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},31:function(t,e,r){var n=r(18);t.exports=function(t){return Object(n(t))}},32:function(t,e,r){var n=r(16);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},33:function(t,e,r){var n=r(17),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},34:function(t,r){t.exports=e},35:function(t,e,r){"use strict";var n=r(20),o=r(12),i=r(49),s=r(7),a=r(13),u=r(51),c=r(27),f=r(53),l=r(1)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,r,d,v,g,m){u(r,e,d);var _,y,x,w=function(t){if(!h&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},b=e+" Iterator",C="values"==v,A=!1,E=t.prototype,T=E[l]||E["@@iterator"]||v&&E[v],P=T||w(v),L=v?C?w("entries"):P:void 0,D="Array"==e?E.entries||T:T;if(D&&(x=f(D.call(new t)))!==Object.prototype&&x.next&&(c(x,b,!0),n||"function"==typeof x[l]||s(x,l,p)),C&&T&&"values"!==T.name&&(A=!0,P=function(){return T.call(this)}),n&&!m||!h&&!A&&E[l]||s(E,l,P),a[e]=P,a[b]=p,v)if(_={values:C?P:w("values"),keys:g?P:w("keys"),entries:L},m)for(y in _)y in E||i(E,y,_[y]);else o(o.P+o.F*(h||A),e,_);return _}},36:function(t,e){t.exports=r},37:function(t,e,r){var n=r(9);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},38:function(t,e,r){t.exports=!r(3)&&!r(15)(function(){return 7!=Object.defineProperty(r(24)("div"),"a",{get:function(){return 7}}).a})},39:function(t,e,r){var n=r(10),o=r(14),i=r(43)(!1),s=r(22)("IE_PROTO");t.exports=function(t,e){var r,a=o(t),u=0,c=[];for(r in a)r!=s&&n(a,r)&&c.push(r);for(;e.length>u;)n(a,r=e[u++])&&(~i(c,r)||c.push(r));return c}},4:function(t,e,r){var n=r(9);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,r){var n=r(0).document;t.exports=n&&n.documentElement},41:function(t,e,r){"use strict";function n(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=o(e),this.reject=o(r)}var o=r(21);t.exports.f=function(t){return new n(t)}},42:function(t,e,r){var n=r(16),o=r(1)("toStringTag"),i="Arguments"==n(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=s(e=Object(t),o))?r:i?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},43:function(t,e,r){var n=r(14),o=r(33),i=r(44);t.exports=function(t){return function(e,r,s){var a,u=n(e),c=o(u.length),f=i(s,c);if(t&&r!=r){for(;c>f;)if((a=u[f++])!=a)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}}},44:function(t,e,r){var n=r(17),o=Math.max,i=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):i(t,e)}},45:function(t,e,r){"use strict";var n=r(50)(!0);r(35)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},46:function(t,e,r){var n=r(4),o=r(52),i=r(30),s=r(22)("IE_PROTO"),a=function(){},u=function(){var t,e=r(24)("iframe"),n=i.length;for(e.style.display="none",r(40).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[i[n]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(a.prototype=n(t),r=new a,a.prototype=null,r[s]=t):r=u(),void 0===e?r:o(r,e)}},48:function(t,e,r){r(60);for(var n=r(0),o=r(7),i=r(13),s=r(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var c=a[u],f=n[c],l=f&&f.prototype;l&&!l[s]&&o(l,s,c),i[c]=i.Array}},49:function(t,e,r){t.exports=r(7)},50:function(t,e,r){var n=r(17),o=r(18);t.exports=function(t){return function(e,r){var i,s,a=String(o(e)),u=n(r),c=a.length;return u<0||u>=c?t?"":void 0:(i=a.charCodeAt(u),i<55296||i>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):i:t?a.slice(u,u+2):s-56320+(i-55296<<10)+65536)}}},51:function(t,e,r){"use strict";var n=r(46),o=r(25),i=r(27),s={};r(7)(s,r(1)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(s,{next:o(1,r)}),i(t,e+" Iterator")}},52:function(t,e,r){var n=r(11),o=r(4),i=r(28);t.exports=r(3)?Object.defineProperties:function(t,e){o(t);for(var r,s=i(e),a=s.length,u=0;a>u;)n.f(t,r=s[u++],e[r]);return t}},53:function(t,e,r){var n=r(10),o=r(31),i=r(22)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},54:function(t,e,r){var n=r(42),o=r(1)("iterator"),i=r(13);t.exports=r(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},55:function(t,e,r){var n=r(4),o=r(21),i=r(1)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||void 0==(r=n(s)[i])?e:o(r)}},56:function(t,e,r){var n,o,i,s=r(19),a=r(79),u=r(40),c=r(24),f=r(0),l=f.process,h=f.setImmediate,p=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,g=0,m={},_=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},y=function(t){_.call(t.data)};h&&p||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return m[++g]=function(){a("function"==typeof t?t:Function(t),e)},n(g),g},p=function(t){delete m[t]},"process"==r(16)(l)?n=function(t){l.nextTick(s(_,t,1))}:v&&v.now?n=function(t){v.now(s(_,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=y,n=s(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",y,!1)):n="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),_.call(t)}}:function(t){setTimeout(s(_,t,1),0)}),t.exports={set:h,clear:p}},57:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},58:function(t,e,r){var n=r(4),o=r(9),i=r(41);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},59:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},60:function(t,e,r){"use strict";var n=r(61),o=r(59),i=r(13),s=r(14);t.exports=r(35)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,r):"values"==e?o(0,t[r]):o(0,[r,t[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},61:function(t,e){t.exports=function(){}},63:function(t,e,r){t.exports={default:r(77),__esModule:!0}},64:function(t,e){},7:function(t,e,r){var n=r(11),o=r(25);t.exports=r(3)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},70:function(t,e,r){var n=r(4);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},71:function(t,e,r){var n=r(13),o=r(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},72:function(t,e,r){var n=r(19),o=r(70),i=r(71),s=r(4),a=r(33),u=r(54),c={},f={},e=t.exports=function(t,e,r,l,h){var p,d,v,g,m=h?function(){return t}:u(t),_=n(r,l,e?2:1),y=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(p=a(t.length);p>y;y++)if((g=e?_(s(d=t[y])[0],d[1]):_(t[y]))===c||g===f)return g}else for(v=m.call(t);!(d=v.next()).done;)if((g=o(v,_,d.value,e))===c||g===f)return g};e.BREAK=c,e.RETURN=f},73:function(t,e,r){var n=r(1)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],s=i[n]();s.next=function(){return{done:r=!0}},i[n]=function(){return s},t(i)}catch(t){}return r}},74:function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},75:function(t,e,r){var n=r(7);t.exports=function(t,e,r){for(var o in e)r&&t[o]?t[o]=e[o]:n(t,o,e[o]);return t}},76:function(t,e,r){"use strict";var n=r(0),o=r(2),i=r(11),s=r(3),a=r(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];s&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},77:function(t,e,r){r(64),r(45),r(48),r(78),r(82),r(83),t.exports=r(2).Promise},78:function(t,e,r){"use strict";var n,o,i,s,a=r(20),u=r(0),c=r(19),f=r(42),l=r(12),h=r(9),p=r(21),d=r(74),v=r(72),g=r(55),m=r(56).set,_=r(80)(),y=r(41),x=r(57),w=r(81),b=r(58),C=u.TypeError,A=u.process,E=A&&A.versions,T=E&&E.v8||"",P=u.Promise,L="process"==f(A),D=function(){},M=o=y.f,O=!!function(){try{var t=P.resolve(1),e=(t.constructor={})[r(1)("species")]=function(t){t(D,D)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(D)instanceof e&&0!==T.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),k=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},S=function(t,e){if(!t._n){t._n=!0;var r=t._c;_(function(){for(var n=t._v,o=1==t._s,i=0;r.length>i;)!function(e){var r,i,s,a=o?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{a?(o||(2==t._h&&R(t),t._h=1),!0===a?r=n:(f&&f.enter(),r=a(n),f&&(f.exit(),s=!0)),r===e.promise?c(C("Promise-chain cycle")):(i=k(r))?i.call(r,u,c):u(r)):c(n)}catch(t){f&&!s&&f.exit(),c(t)}}(r[i++]);t._c=[],t._n=!1,e&&!t._h&&B(t)})}},B=function(t){m.call(u,function(){var e,r,n,o=t._v,i=j(t);if(i&&(e=x(function(){L?A.emit("unhandledRejection",o,t):(r=u.onunhandledrejection)?r({promise:t,reason:o}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=L||j(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){m.call(u,function(){var e;L?A.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},I=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),S(e,!0))},N=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw C("Promise can't be resolved itself");(e=k(t))?_(function(){var n={_w:r,_d:!1};try{e.call(t,c(N,n,1),c(I,n,1))}catch(t){I.call(n,t)}}):(r._v=t,r._s=1,S(r,!1))}catch(t){I.call({_w:r,_d:!1},t)}}};O||(P=function(t){d(this,P,"Promise","_h"),p(t),n.call(this);try{t(c(N,this,1),c(I,this,1))}catch(t){I.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(75)(P.prototype,{then:function(t,e){var r=M(g(this,P));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=L?A.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&S(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n;this.promise=t,this.resolve=c(N,t,1),this.reject=c(I,t,1)},y.f=M=function(t){return t===P||t===s?new i(t):o(t)}),l(l.G+l.W+l.F*!O,{Promise:P}),r(27)(P,"Promise"),r(76)("Promise"),s=r(2).Promise,l(l.S+l.F*!O,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(a||!O),"Promise",{resolve:function(t){return b(a&&this===s?P:this,t)}}),l(l.S+l.F*!(O&&r(73)(function(t){P.all(t).catch(D)})),"Promise",{all:function(t){var e=this,r=M(e),n=r.resolve,o=r.reject,i=x(function(){var r=[],i=0,s=1;v(t,!1,function(t){var a=i++,u=!1;r.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,r[a]=t,--s||n(r))},o)}),--s||n(r)});return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=M(e),n=r.reject,o=x(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},79:function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},797:function(t,e,r){"use strict";var n=r(34),o=r.n(n),i=r(89),s=r.n(i),a=r(85),u=r.n(a),c=r(193),f=r.n(c),l=r(36),h=(r.n(l),r(214));e.a={name:"ActGoldQrcode",mixins:[o.a,s.a,u.a],data:function(){return{qrcodeImg:""}},computed:{getFooterHtml:function(){return Object(l.isString)(this.footer)?this.footer:this.footer.join("<br/>")}},props:{title:{type:String,default:function(){return""}},qrcode:{type:String,default:""},footer:{type:Array,default:function(){return[]}},closable:{type:Boolean,default:!0},width:{type:String,default:"290px"},qrcodeSize:{type:Number,default:200},correctLevel:{type:Number,default:1}},mounted:function(){var t=this;this.qrcode.match(/^data:image/)||this.qrcode.match(/\.(png|jpe?g|gif)(\?.*)?$/)?this.qrcodeImg=this.qrcode:Object(h.default)({text:this.qrcode,width:this.qrcodeSize,height:this.qrcodeSize,colorDark:"#000000",colorLight:"#ffffff",correctLevel:this.correctLevel}).then(function(e){t.qrcodeImg=e}).catch(function(t){console.error(t)})},methods:{close:function(t){this.hide(),this.$emit("close",t)}},components:{ActGoldDialog:f.a}}},8:function(t,e,r){"use strict";function n(t,e,r,n,o,i,s,a){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var c="function"==typeof t?t.options:t;e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId=i);var f;if(s?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=f):o&&(f=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(c.functional){c._injectStyles=f;var l=c.render;c.render=function(t,e){return f.call(e),l(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,f):[f]}return{exports:t,options:c}}e.a=n},80:function(t,e,r){var n=r(0),o=r(56).set,i=n.MutationObserver||n.WebKitMutationObserver,s=n.process,a=n.Promise,u="process"==r(16)(s);t.exports=function(){var t,e,r,c=function(){var n,o;for(u&&(n=s.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(u)r=function(){s.nextTick(c)};else if(!i||n.navigator&&n.navigator.standalone)if(a&&a.resolve){var f=a.resolve(void 0);r=function(){f.then(c)}}else r=function(){o.call(n,c)};else{var l=!0,h=document.createTextNode("");new i(c).observe(h,{characterData:!0}),r=function(){h.data=l=!l}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},81:function(t,e,r){var n=r(0),o=n.navigator;t.exports=o&&o.userAgent||""},82:function(t,e,r){"use strict";var n=r(12),o=r(2),i=r(0),s=r(55),a=r(58);n(n.P+n.R,"Promise",{finally:function(t){var e=s(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return a(e,t()).then(function(){return r})}:t,r?function(r){return a(e,t()).then(function(){throw r})}:t)}})},83:function(t,e,r){"use strict";var n=r(12),o=r(41),i=r(57);n(n.S,"Promise",{try:function(t){var e=o.f(this),r=i(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},85:function(t,e){t.exports=n},89:function(t,e){t.exports=o},9:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/noscroll.js"),require("@xysfe/actui/es/assets/mixins/popup.js"),require("@xysfe/actui/es/GoldDialog/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/mixins/noscroll.js","@xysfe/actui/es/assets/mixins/popup.js","@xysfe/actui/es/GoldDialog/index.js"],e):"object"==typeof exports?exports.GoldQrcode=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/noscroll.js"),require("@xysfe/actui/es/assets/mixins/popup.js"),require("@xysfe/actui/es/GoldDialog/index.js")):t.GoldQrcode=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/mixins/noscroll.js"],t["@xysfe/actui/es/assets/mixins/popup.js"],t["@xysfe/actui/es/GoldDialog/index.js"])}("undefined"!=typeof self?self:this,function(t,e,r,n,o,i){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1223)}({0:function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},1:function(t,e,r){var n=r(27)("wks"),o=r(24),i=r(0).Symbol,s="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=n},10:function(t,e,r){var n=r(0),o=r(2),i=r(17),s=r(5),a=r(8),u=function(t,e,r){var c,f,l,h=t&u.F,p=t&u.G,d=t&u.S,v=t&u.P,g=t&u.B,m=t&u.W,_=p?o:o[e]||(o[e]={}),y=_.prototype,x=p?n:d?n[e]:(n[e]||{}).prototype;p&&(r=e);for(c in r)(f=!h&&x&&void 0!==x[c])&&a(_,c)||(l=f?x[c]:r[c],_[c]=p&&"function"!=typeof x[c]?r[c]:g&&f?i(l,n):m&&x[c]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((_.virtual||(_.virtual={}))[c]=l,t&u.R&&y&&!y[c]&&s(y,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},11:function(t,e){t.exports={}},12:function(t,e,r){var n=r(30),o=r(16);t.exports=function(t){return n(o(t))}},1223:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(21),o=r.n(n),i=r(1224);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldQrcode=o()(i.a,t)},e.default=i.a},1224:function(t,e,r){"use strict";function n(t){a||r(1225)}var o=r(773),i=r(1226),s=r(7),a=!1,u=n,c=Object(s.a)(o.a,i.a,i.b,!1,u,"data-v-08d9629c",null);c.options.__file="src\\components\\GoldQrcode\\src\\index.vue",e.a=c.exports},1225:function(t,e){},1226:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return o});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ActGoldDialog",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{title:t.title,zIndex:t.zIndex,maskClosable:t.maskClosable,closable:t.closable,showConfirmButton:!1,width:t.width},on:{close:t.close}},[r("div",{staticClass:"act-gold-qrcode"},[r("div",{staticClass:"qrcode"},[t.qrcodeImg?r("img",{attrs:{src:t.qrcodeImg}}):t._e()]),t._v(" "),r("div",{staticClass:"footer",domProps:{innerHTML:t._s(t.getFooterHtml)}})])])},o=[];n._withStripped=!0},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},14:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},15:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},167:function(t,e,r){"use strict";var n,o=r(61),i=r.n(o);!function(){function t(t){this.mode=f.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,r=this.data.length;e<r;e++){var n=[],o=this.data.charCodeAt(e);o>65536?(n[0]=240|(1835008&o)>>>18,n[1]=128|(258048&o)>>>12,n[2]=128|(4032&o)>>>6,n[3]=128|63&o):o>2048?(n[0]=224|(61440&o)>>>12,n[1]=128|(4032&o)>>>6,n[2]=128|63&o):o>128?(n[0]=192|(1984&o)>>>6,n[1]=128|63&o):n[0]=o,this.parsedData.push(n)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function r(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var r=0;r<t.length&&0==t[r];)r++;this.num=new Array(t.length-r+e);for(var n=0;n<t.length-r;n++)this.num[n]=t[n+r]}function o(t,e){this.totalCount=t,this.dataCount=e}function s(){this.buffer=[],this.length=0}function a(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var r=e.toString().match(/android\s*([0-9\.]*)/i);r&&r[1]&&(t=parseFloat(r[1]))}return t}function u(t,e){for(var r=1,n=c(t),o=0,i=g.length;o<=i;o++){var s=0;switch(e){case l.L:s=g[o][0];break;case l.M:s=g[o][1];break;case l.Q:s=g[o][2];break;case l.H:s=g[o][3]}if(n<=s)break;r++}if(r>g.length)throw new Error("Too long data");return r}function c(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}t.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,r=this.parsedData.length;e<r;e++)t.put(this.parsedData[e],8)}},e.prototype={addData:function(e){var r=new t(e);this.dataList.push(r),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,r){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++)this.modules[n][o]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,r),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,r)},setupPositionProbePattern:function(t,e){for(var r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(var n=-1;n<=7;n++)e+n<=-1||this.moduleCount<=e+n||(this.modules[t+r][e+n]=r>=0&&r<=6&&(0==n||6==n)||n>=0&&n<=6&&(0==r||6==r)||r>=2&&r<=4&&n>=2&&n<=4)},getBestMaskPattern:function(){for(var t=0,e=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=p.getLostPoint(this);(0==r||t>n)&&(t=n,e=r)}return e},createMovieClip:function(t,e,r){var n=t.createEmptyMovieClip(e,r);this.make();for(var o=0;o<this.modules.length;o++)for(var i=1*o,s=0;s<this.modules[o].length;s++){var a=1*s,u=this.modules[o][s];u&&(n.beginFill(0,100),n.moveTo(a,i),n.lineTo(a+1,i),n.lineTo(a+1,i+1),n.lineTo(a,i+1),n.endFill())}return n},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=p.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var r=0;r<t.length;r++){var n=t[e],o=t[r];if(null==this.modules[n][o])for(var i=-2;i<=2;i++)for(var s=-2;s<=2;s++)this.modules[n+i][o+s]=-2==i||2==i||-2==s||2==s||0==i&&0==s}},setupTypeNumber:function(t){for(var e=p.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var n=!t&&1==(e>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(var r=0;r<18;r++){var n=!t&&1==(e>>r&1);this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}},setupTypeInfo:function(t,e){for(var r=this.errorCorrectLevel<<3|e,n=p.getBCHTypeInfo(r),o=0;o<15;o++){var i=!t&&1==(n>>o&1);o<6?this.modules[o][8]=i:o<8?this.modules[o+1][8]=i:this.modules[this.moduleCount-15+o][8]=i}for(var o=0;o<15;o++){var i=!t&&1==(n>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=i:o<9?this.modules[8][15-o-1+1]=i:this.modules[8][15-o-1]=i}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var r=-1,n=this.moduleCount-1,o=7,i=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var a=0;a<2;a++)if(null==this.modules[n][s-a]){var u=!1;i<t.length&&(u=1==(t[i]>>>o&1));var c=p.getMask(e,n,s-a);c&&(u=!u),this.modules[n][s-a]=u,o--,-1==o&&(i++,o=7)}if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,r,n){for(var i=o.getRSBlocks(t,r),a=new s,u=0;u<n.length;u++){var c=n[u];a.put(c.mode,4),a.put(c.getLength(),p.getLengthInBits(c.mode,t)),c.write(a)}for(var f=0,u=0;u<i.length;u++)f+=i[u].dataCount;if(a.getLengthInBits()>8*f)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*f+")");for(a.getLengthInBits()+4<=8*f&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;;){if(a.getLengthInBits()>=8*f)break;if(a.put(e.PAD0,8),a.getLengthInBits()>=8*f)break;a.put(e.PAD1,8)}return e.createBytes(a,i)},e.createBytes=function(t,e){for(var n=0,o=0,i=0,s=new Array(e.length),a=new Array(e.length),u=0;u<e.length;u++){var c=e[u].dataCount,f=e[u].totalCount-c;o=Math.max(o,c),i=Math.max(i,f),s[u]=new Array(c);for(var l=0;l<s[u].length;l++)s[u][l]=255&t.buffer[l+n];n+=c;var h=p.getErrorCorrectPolynomial(f),d=new r(s[u],h.getLength()-1),v=d.mod(h);a[u]=new Array(h.getLength()-1);for(var l=0;l<a[u].length;l++){var g=l+v.getLength()-a[u].length;a[u][l]=g>=0?v.get(g):0}}for(var m=0,l=0;l<e.length;l++)m+=e[l].totalCount;for(var _=new Array(m),y=0,l=0;l<o;l++)for(var u=0;u<e.length;u++)l<s[u].length&&(_[y++]=s[u][l]);for(var l=0;l<i;l++)for(var u=0;u<e.length;u++)l<a[u].length&&(_[y++]=a[u][l]);return _};for(var f={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},l={L:1,M:0,Q:3,H:2},h={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},p={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(t){for(var e=t<<10;p.getBCHDigit(e)-p.getBCHDigit(p.G15)>=0;)e^=p.G15<<p.getBCHDigit(e)-p.getBCHDigit(p.G15);return(t<<10|e)^p.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;p.getBCHDigit(e)-p.getBCHDigit(p.G18)>=0;)e^=p.G18<<p.getBCHDigit(e)-p.getBCHDigit(p.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return p.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case h.PATTERN000:return(e+r)%2==0;case h.PATTERN001:return e%2==0;case h.PATTERN010:return r%3==0;case h.PATTERN011:return(e+r)%3==0;case h.PATTERN100:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case h.PATTERN101:return e*r%2+e*r%3==0;case h.PATTERN110:return(e*r%2+e*r%3)%2==0;case h.PATTERN111:return(e*r%3+(e+r)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new r([1],0),n=0;n<t;n++)e=e.multiply(new r([1,d.gexp(n)],0));return e},getLengthInBits:function(t,e){if(e>=1&&e<10)switch(t){case f.MODE_NUMBER:return 10;case f.MODE_ALPHA_NUM:return 9;case f.MODE_8BIT_BYTE:case f.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case f.MODE_NUMBER:return 12;case f.MODE_ALPHA_NUM:return 11;case f.MODE_8BIT_BYTE:return 16;case f.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case f.MODE_NUMBER:return 14;case f.MODE_ALPHA_NUM:return 13;case f.MODE_8BIT_BYTE:return 16;case f.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),r=0,n=0;n<e;n++)for(var o=0;o<e;o++){for(var i=0,s=t.isDark(n,o),a=-1;a<=1;a++)if(!(n+a<0||e<=n+a))for(var u=-1;u<=1;u++)o+u<0||e<=o+u||0==a&&0==u||s==t.isDark(n+a,o+u)&&i++;i>5&&(r+=3+i-5)}for(var n=0;n<e-1;n++)for(var o=0;o<e-1;o++){var c=0;t.isDark(n,o)&&c++,t.isDark(n+1,o)&&c++,t.isDark(n,o+1)&&c++,t.isDark(n+1,o+1)&&c++,0!=c&&4!=c||(r+=3)}for(var n=0;n<e;n++)for(var o=0;o<e-6;o++)t.isDark(n,o)&&!t.isDark(n,o+1)&&t.isDark(n,o+2)&&t.isDark(n,o+3)&&t.isDark(n,o+4)&&!t.isDark(n,o+5)&&t.isDark(n,o+6)&&(r+=40);for(var o=0;o<e;o++)for(var n=0;n<e-6;n++)t.isDark(n,o)&&!t.isDark(n+1,o)&&t.isDark(n+2,o)&&t.isDark(n+3,o)&&t.isDark(n+4,o)&&!t.isDark(n+5,o)&&t.isDark(n+6,o)&&(r+=40);for(var f=0,o=0;o<e;o++)for(var n=0;n<e;n++)t.isDark(n,o)&&f++;return r+=Math.abs(100*f/e/e-50)/5*10}},d={glog:function(t){if(t<1)throw new Error("glog("+t+")");return d.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return d.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},v=0;v<8;v++)d.EXP_TABLE[v]=1<<v;for(var v=8;v<256;v++)d.EXP_TABLE[v]=d.EXP_TABLE[v-4]^d.EXP_TABLE[v-5]^d.EXP_TABLE[v-6]^d.EXP_TABLE[v-8];for(var v=0;v<255;v++)d.LOG_TABLE[d.EXP_TABLE[v]]=v;r.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),n=0;n<this.getLength();n++)for(var o=0;o<t.getLength();o++)e[n+o]^=d.gexp(d.glog(this.get(n))+d.glog(t.get(o)));return new r(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=d.glog(this.get(0))-d.glog(t.get(0)),n=new Array(this.getLength()),o=0;o<this.getLength();o++)n[o]=this.get(o);for(var o=0;o<t.getLength();o++)n[o]^=d.gexp(d.glog(t.get(o))+e);return new r(n,0).mod(t)}},o.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]],o.getRSBlocks=function(t,e){var r=o.getRsBlockTable(t,e);if(void 0==r)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var n=r.length/3,i=[],s=0;s<n;s++)for(var a=r[3*s+0],u=r[3*s+1],c=r[3*s+2],f=0;f<a;f++)i.push(new o(u,c));return i},o.getRsBlockTable=function(t,e){switch(e){case l.L:return o.RS_BLOCK_TABLE[4*(t-1)+0];case l.M:return o.RS_BLOCK_TABLE[4*(t-1)+1];case l.Q:return o.RS_BLOCK_TABLE[4*(t-1)+2];case l.H:return o.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},s.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var r=0;r<e;r++)this.putBit(1==(t>>>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++}};var g=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],m=function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){function e(t,e){var r=document.createElementNS("http://www.w3.org/2000/svg",t);for(var n in e)e.hasOwnProperty(n)&&r.setAttribute(n,e[n]);return r}var r=this._htOption,n=this._el,o=t.getModuleCount();Math.floor(r.width/o),Math.floor(r.height/o);this.clear();var i=e("svg",{viewBox:"0 0 "+String(o)+" "+String(o),width:"100%",height:"100%",fill:r.colorLight});i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),n.appendChild(i),i.appendChild(e("rect",{fill:r.colorLight,width:"100%",height:"100%"})),i.appendChild(e("rect",{fill:r.colorDark,width:"1",height:"1",id:"template"}));for(var s=0;s<o;s++)for(var a=0;a<o;a++)if(t.isDark(s,a)){var u=e("use",{x:String(a),y:String(s)});u.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),i.appendChild(u)}},t.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},t}(),_="svg"===document.documentElement.tagName.toLowerCase(),y=_?m:function(){return"undefined"!=typeof CanvasRenderingContext2D}()?function(){function t(){try{var t=this._elCanvas.toDataURL("image/png");return i.a.resolve(t)}catch(t){return i.a.reject("toDataURL failed")}}function e(t,e){var r=this;return r._fFail=e,r._fSuccess=t,null===r._bSupportDataURI?new i.a(function(t,e){var n=document.createElement("img"),o=function(){r._bSupportDataURI=!1,r._fFail&&(r._fFail.call(r),e("Browser doesn't supports Data URI"))},i=function(){r._bSupportDataURI=!0,r._fSuccess&&t(r._fSuccess.call(r))};n.onabort=o,n.onerror=o,n.onload=i,n.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="}):!0===r._bSupportDataURI&&r._fSuccess?r._fSuccess.call(r):!1===r._bSupportDataURI&&r._fFail?(r._fFail.call(r),i.a.reject("Browser doesn't supports Data URI")):void 0}var r=a();if(r&&r<=2.1){var n=1/window.devicePixelRatio,o=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,e,r,i,s,a,u,c,f){if("nodeName"in t&&/img/i.test(t.nodeName))for(var l=arguments.length-1;l>=1;l--)arguments[l]=arguments[l]*n;else void 0===c&&(arguments[1]*=n,arguments[2]*=n,arguments[3]*=n,arguments[4]*=n);o.apply(this,arguments)}}var s=function(t,e){this._bIsPainted=!1,this._android=a(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,this._elCanvas.style.display="none",this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage="",this._bSupportDataURI=null};return s.prototype.draw=function(t){var e=(this._elImage,this._oContext),r=this._htOption,n=t.getModuleCount(),o=r.width/n,i=r.height/n,s=Math.round(o),a=Math.round(i);this.clear();for(var u=0;u<n;u++)for(var c=0;c<n;c++){var f=t.isDark(u,c),l=c*o,h=u*i;e.strokeStyle=f?r.colorDark:r.colorLight,e.lineWidth=1,e.fillStyle=f?r.colorDark:r.colorLight,e.fillRect(l,h,o,i),e.strokeRect(Math.floor(l)+.5,Math.floor(h)+.5,s,a),e.strokeRect(Math.ceil(l)-.5,Math.ceil(h)-.5,s,a)}this._bIsPainted=!0},s.prototype.makeImage=function(){if(this._bIsPainted)return e.call(this,t)},s.prototype.isPainted=function(){return this._bIsPainted},s.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},s.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},s}():function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){for(var e=this._htOption,r=this._el,n=t.getModuleCount(),o=Math.floor(e.width/n),i=Math.floor(e.height/n),s=['<table style="border:0;border-collapse:collapse;">'],a=0;a<n;a++){s.push("<tr>");for(var u=0;u<n;u++)s.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+o+"px;height:"+i+"px;background-color:"+(t.isDark(a,u)?e.colorDark:e.colorLight)+';"></td>');s.push("</tr>")}s.push("</table>"),r.innerHTML=s.join("");var c=r.childNodes[0],f=(e.width-c.offsetWidth)/2,l=(e.height-c.offsetHeight)/2;f>0&&l>0&&(c.style.margin=l+"px "+f+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}();n=function(t,e){if(this.reset(),"string"==typeof t&&(t={text:t}),t)for(var r in t)this._htOption[r]=t[r];this._htOption.useSVG&&(y=m),this._android=a(),this._el=e,this._oQRCode=null,this._oDrawing=new y(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},n.prototype.reset=function(){this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:l.H}},n.prototype.makeCode=function(t){return this._oQRCode=new e(u(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._oDrawing.draw(this._oQRCode),this.makeImage()},n.prototype.makeImage=function(){if("function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3))return this._oDrawing.makeImage()},n.prototype.clear=function(){this.reset(),this._oDrawing.clear()},n.CorrectLevel=l}(),e.a=n},169:function(t,e){t.exports=i},17:function(t,e,r){var n=r(19);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},190:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(61),o=r.n(n),i=r(167);e.default=function(t){return new o.a(function(e,r){var n=t.text;n||r(new Error("qrcode options need text field")),new i.a(t).makeCode(n).then(function(t){e(t)}).catch(function(t){console.error(t),r(t)})})}},2:function(t,e){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},20:function(t,e,r){var n=r(27)("keys"),o=r(24);t.exports=function(t){return n[t]||(n[t]=o(t))}},21:function(e,r){e.exports=t},22:function(t,e,r){var n=r(6),o=r(0).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},25:function(t,e,r){var n=r(9).f,o=r(8),i=r(1)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},26:function(t,e,r){var n=r(37),o=r(28);t.exports=Object.keys||function(t){return n(t,o)}},27:function(t,e,r){var n=r(2),o=r(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,r){var n=r(16);t.exports=function(t){return Object(n(t))}},3:function(t,e,r){t.exports=!r(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,r){var n=r(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},31:function(t,e,r){var n=r(15),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},32:function(t,r){t.exports=e},33:function(t,e,r){"use strict";var n=r(18),o=r(10),i=r(47),s=r(5),a=r(11),u=r(49),c=r(25),f=r(51),l=r(1)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,r,d,v,g,m){u(r,e,d);var _,y,x,w=function(t){if(!h&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},b=e+" Iterator",C="values"==v,A=!1,E=t.prototype,T=E[l]||E["@@iterator"]||v&&E[v],P=T||w(v),L=v?C?w("entries"):P:void 0,D="Array"==e?E.entries||T:T;if(D&&(x=f(D.call(new t)))!==Object.prototype&&x.next&&(c(x,b,!0),n||"function"==typeof x[l]||s(x,l,p)),C&&T&&"values"!==T.name&&(A=!0,P=function(){return T.call(this)}),n&&!m||!h&&!A&&E[l]||s(E,l,P),a[e]=P,a[b]=p,v)if(_={values:C?P:w("values"),keys:g?P:w("keys"),entries:L},m)for(y in _)y in E||i(E,y,_[y]);else o(o.P+o.F*(h||A),e,_);return _}},34:function(t,e){t.exports=r},35:function(t,e,r){var n=r(6);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},36:function(t,e,r){t.exports=!r(3)&&!r(13)(function(){return 7!=Object.defineProperty(r(22)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,r){var n=r(8),o=r(12),i=r(41)(!1),s=r(20)("IE_PROTO");t.exports=function(t,e){var r,a=o(t),u=0,c=[];for(r in a)r!=s&&n(a,r)&&c.push(r);for(;e.length>u;)n(a,r=e[u++])&&(~i(c,r)||c.push(r));return c}},38:function(t,e,r){var n=r(0).document;t.exports=n&&n.documentElement},39:function(t,e,r){"use strict";function n(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=o(e),this.reject=o(r)}var o=r(19);t.exports.f=function(t){return new n(t)}},4:function(t,e,r){var n=r(6);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,r){var n=r(14),o=r(1)("toStringTag"),i="Arguments"==n(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=s(e=Object(t),o))?r:i?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},41:function(t,e,r){var n=r(12),o=r(31),i=r(42);t.exports=function(t){return function(e,r,s){var a,u=n(e),c=o(u.length),f=i(s,c);if(t&&r!=r){for(;c>f;)if((a=u[f++])!=a)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}}},42:function(t,e,r){var n=r(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):i(t,e)}},43:function(t,e,r){"use strict";var n=r(48)(!0);r(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},44:function(t,e,r){var n=r(4),o=r(50),i=r(28),s=r(20)("IE_PROTO"),a=function(){},u=function(){var t,e=r(22)("iframe"),n=i.length;for(e.style.display="none",r(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[i[n]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(a.prototype=n(t),r=new a,a.prototype=null,r[s]=t):r=u(),void 0===e?r:o(r,e)}},46:function(t,e,r){r(58);for(var n=r(0),o=r(5),i=r(11),s=r(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var c=a[u],f=n[c],l=f&&f.prototype;l&&!l[s]&&o(l,s,c),i[c]=i.Array}},47:function(t,e,r){t.exports=r(5)},48:function(t,e,r){var n=r(15),o=r(16);t.exports=function(t){return function(e,r){var i,s,a=String(o(e)),u=n(r),c=a.length;return u<0||u>=c?t?"":void 0:(i=a.charCodeAt(u),i<55296||i>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):i:t?a.slice(u,u+2):s-56320+(i-55296<<10)+65536)}}},49:function(t,e,r){"use strict";var n=r(44),o=r(23),i=r(25),s={};r(5)(s,r(1)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(s,{next:o(1,r)}),i(t,e+" Iterator")}},5:function(t,e,r){var n=r(9),o=r(23);t.exports=r(3)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},50:function(t,e,r){var n=r(9),o=r(4),i=r(26);t.exports=r(3)?Object.defineProperties:function(t,e){o(t);for(var r,s=i(e),a=s.length,u=0;a>u;)n.f(t,r=s[u++],e[r]);return t}},51:function(t,e,r){var n=r(8),o=r(29),i=r(20)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},52:function(t,e,r){var n=r(40),o=r(1)("iterator"),i=r(11);t.exports=r(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},53:function(t,e,r){var n=r(4),o=r(19),i=r(1)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||void 0==(r=n(s)[i])?e:o(r)}},54:function(t,e,r){var n,o,i,s=r(17),a=r(77),u=r(38),c=r(22),f=r(0),l=f.process,h=f.setImmediate,p=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,g=0,m={},_=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},y=function(t){_.call(t.data)};h&&p||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return m[++g]=function(){a("function"==typeof t?t:Function(t),e)},n(g),g},p=function(t){delete m[t]},"process"==r(14)(l)?n=function(t){l.nextTick(s(_,t,1))}:v&&v.now?n=function(t){v.now(s(_,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=y,n=s(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",y,!1)):n="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),_.call(t)}}:function(t){setTimeout(s(_,t,1),0)}),t.exports={set:h,clear:p}},55:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},56:function(t,e,r){var n=r(4),o=r(6),i=r(39);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},57:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},58:function(t,e,r){"use strict";var n=r(59),o=r(57),i=r(11),s=r(12);t.exports=r(33)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,r):"values"==e?o(0,t[r]):o(0,[r,t[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},59:function(t,e){t.exports=function(){}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},61:function(t,e,r){t.exports={default:r(75),__esModule:!0}},62:function(t,e){},68:function(t,e,r){var n=r(4);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},69:function(t,e,r){var n=r(11),o=r(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},7:function(t,e,r){"use strict";function n(t,e,r,n,o,i,s,a){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var c="function"==typeof t?t.options:t;e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId=i);var f;if(s?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=f):o&&(f=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(c.functional){c._injectStyles=f;var l=c.render;c.render=function(t,e){return f.call(e),l(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,f):[f]}return{exports:t,options:c}}e.a=n},70:function(t,e,r){var n=r(17),o=r(68),i=r(69),s=r(4),a=r(31),u=r(52),c={},f={},e=t.exports=function(t,e,r,l,h){var p,d,v,g,m=h?function(){return t}:u(t),_=n(r,l,e?2:1),y=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(p=a(t.length);p>y;y++)if((g=e?_(s(d=t[y])[0],d[1]):_(t[y]))===c||g===f)return g}else for(v=m.call(t);!(d=v.next()).done;)if((g=o(v,_,d.value,e))===c||g===f)return g};e.BREAK=c,e.RETURN=f},71:function(t,e,r){var n=r(1)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],s=i[n]();s.next=function(){return{done:r=!0}},i[n]=function(){return s},t(i)}catch(t){}return r}},72:function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},73:function(t,e,r){var n=r(5);t.exports=function(t,e,r){for(var o in e)r&&t[o]?t[o]=e[o]:n(t,o,e[o]);return t}},74:function(t,e,r){"use strict";var n=r(0),o=r(2),i=r(9),s=r(3),a=r(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];s&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},75:function(t,e,r){r(62),r(43),r(46),r(76),r(80),r(81),t.exports=r(2).Promise},76:function(t,e,r){"use strict";var n,o,i,s,a=r(18),u=r(0),c=r(17),f=r(40),l=r(10),h=r(6),p=r(19),d=r(72),v=r(70),g=r(53),m=r(54).set,_=r(78)(),y=r(39),x=r(55),w=r(79),b=r(56),C=u.TypeError,A=u.process,E=A&&A.versions,T=E&&E.v8||"",P=u.Promise,L="process"==f(A),D=function(){},M=o=y.f,O=!!function(){try{var t=P.resolve(1),e=(t.constructor={})[r(1)("species")]=function(t){t(D,D)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(D)instanceof e&&0!==T.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),k=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},S=function(t,e){if(!t._n){t._n=!0;var r=t._c;_(function(){for(var n=t._v,o=1==t._s,i=0;r.length>i;)!function(e){var r,i,s,a=o?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{a?(o||(2==t._h&&R(t),t._h=1),!0===a?r=n:(f&&f.enter(),r=a(n),f&&(f.exit(),s=!0)),r===e.promise?c(C("Promise-chain cycle")):(i=k(r))?i.call(r,u,c):u(r)):c(n)}catch(t){f&&!s&&f.exit(),c(t)}}(r[i++]);t._c=[],t._n=!1,e&&!t._h&&B(t)})}},B=function(t){m.call(u,function(){var e,r,n,o=t._v,i=j(t);if(i&&(e=x(function(){L?A.emit("unhandledRejection",o,t):(r=u.onunhandledrejection)?r({promise:t,reason:o}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=L||j(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){m.call(u,function(){var e;L?A.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},I=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),S(e,!0))},N=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw C("Promise can't be resolved itself");(e=k(t))?_(function(){var n={_w:r,_d:!1};try{e.call(t,c(N,n,1),c(I,n,1))}catch(t){I.call(n,t)}}):(r._v=t,r._s=1,S(r,!1))}catch(t){I.call({_w:r,_d:!1},t)}}};O||(P=function(t){d(this,P,"Promise","_h"),p(t),n.call(this);try{t(c(N,this,1),c(I,this,1))}catch(t){I.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(73)(P.prototype,{then:function(t,e){var r=M(g(this,P));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=L?A.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&S(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n;this.promise=t,this.resolve=c(N,t,1),this.reject=c(I,t,1)},y.f=M=function(t){return t===P||t===s?new i(t):o(t)}),l(l.G+l.W+l.F*!O,{Promise:P}),r(25)(P,"Promise"),r(74)("Promise"),s=r(2).Promise,l(l.S+l.F*!O,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(a||!O),"Promise",{resolve:function(t){return b(a&&this===s?P:this,t)}}),l(l.S+l.F*!(O&&r(71)(function(t){P.all(t).catch(D)})),"Promise",{all:function(t){var e=this,r=M(e),n=r.resolve,o=r.reject,i=x(function(){var r=[],i=0,s=1;v(t,!1,function(t){var a=i++,u=!1;r.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,r[a]=t,--s||n(r))},o)}),--s||n(r)});return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=M(e),n=r.reject,o=x(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},77:function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},773:function(t,e,r){"use strict";var n=r(32),o=r.n(n),i=r(85),s=r.n(i),a=r(82),u=r.n(a),c=r(169),f=r.n(c),l=r(34),h=(r.n(l),r(190));e.a={name:"ActGoldQrcode",mixins:[o.a,s.a,u.a],data:function(){return{qrcodeImg:""}},computed:{getFooterHtml:function(){return Object(l.isString)(this.footer)?this.footer:this.footer.join("<br/>")}},props:{title:{type:String,default:function(){return""}},qrcode:{type:String,default:""},footer:{type:Array,default:function(){return[]}},closable:{type:Boolean,default:!0},width:{type:String,default:"290px"},qrcodeSize:{type:Number,default:200},correctLevel:{type:Number,default:1}},mounted:function(){var t=this;this.qrcode.match(/^data:image/)||this.qrcode.match(/\.(png|jpe?g|gif)(\?.*)?$/)?this.qrcodeImg=this.qrcode:Object(h.default)({text:this.qrcode,width:this.qrcodeSize,height:this.qrcodeSize,colorDark:"#000000",colorLight:"#ffffff",correctLevel:this.correctLevel}).then(function(e){t.qrcodeImg=e}).catch(function(t){console.error(t)})},methods:{close:function(t){this.hide(),this.$emit("close",t)}},components:{ActGoldDialog:f.a}}},78:function(t,e,r){var n=r(0),o=r(54).set,i=n.MutationObserver||n.WebKitMutationObserver,s=n.process,a=n.Promise,u="process"==r(14)(s);t.exports=function(){var t,e,r,c=function(){var n,o;for(u&&(n=s.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(u)r=function(){s.nextTick(c)};else if(!i||n.navigator&&n.navigator.standalone)if(a&&a.resolve){var f=a.resolve(void 0);r=function(){f.then(c)}}else r=function(){o.call(n,c)};else{var l=!0,h=document.createTextNode("");new i(c).observe(h,{characterData:!0}),r=function(){h.data=l=!l}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},79:function(t,e,r){var n=r(0),o=n.navigator;t.exports=o&&o.userAgent||""},8:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},80:function(t,e,r){"use strict";var n=r(10),o=r(2),i=r(0),s=r(53),a=r(56);n(n.P+n.R,"Promise",{finally:function(t){var e=s(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return a(e,t()).then(function(){return r})}:t,r?function(r){return a(e,t()).then(function(){throw r})}:t)}})},81:function(t,e,r){"use strict";var n=r(10),o=r(39),i=r(55);n(n.S,"Promise",{try:function(t){var e=o.f(this),r=i(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},82:function(t,e){t.exports=n},85:function(t,e){t.exports=o},9:function(t,e,r){var n=r(4),o=r(36),i=r(35),s=Object.defineProperty;e.f=r(3)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/common/scrollZoom/index.js"],e):"object"==typeof exports?exports.GoldReadTerms=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):t.GoldReadTerms=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/common/scrollZoom/index.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1408)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(29)("wks"),o=n(26),i=n(0).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},10:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},11:function(t,e,n){var r=n(4),o=n(38),i=n(37),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},12:function(t,e,n){var r=n(0),o=n(2),i=n(19),s=n(7),c=n(10),u=function(t,e,n){var a,f,l,d=t&u.F,h=t&u.G,p=t&u.S,v=t&u.P,x=t&u.B,m=t&u.W,y=h?o:o[e]||(o[e]={}),g=y.prototype,b=h?r:p?r[e]:(r[e]||{}).prototype;h&&(n=e);for(a in n)(f=!d&&b&&void 0!==b[a])&&c(y,a)||(l=f?b[a]:n[a],y[a]=h&&"function"!=typeof b[a]?n[a]:x&&f?i(l,r):m&&b[a]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((y.virtual||(y.virtual={}))[a]=l,t&u.R&&g&&!g[a]&&s(g,a,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},123:function(t,e,n){t.exports={default:n(125),__esModule:!0}},125:function(t,e,n){n(48),n(45),t.exports=n(126)},126:function(t,e,n){var r=n(4),o=n(54);t.exports=n(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},128:function(t,e){t.exports=n},13:function(t,e){t.exports={}},14:function(t,e,n){var r=n(32),o=n(18);t.exports=function(t){return r(o(t))}},1408:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(23),o=n.n(r),i=n(1409);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldReadTerms=o()(i.a,t)},e.default=i.a},1409:function(t,e,n){"use strict";function r(t){c||n(1410)}var o=n(847),i=n(1411),s=n(8),c=!1,u=r,a=Object(s.a)(o.a,i.a,i.b,!1,u,"data-v-21ba486f",null);a.options.__file="src\\components\\GoldReadTerms\\src\\index.vue",e.a=a.exports},1410:function(t,e){},1411:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("act-gold-layer",{attrs:{visible:t.isVisible,center:!1}},[n("div",{staticClass:"readterms-title",attrs:{slot:"header"},slot:"header"},[t.$slots.myheader?[t._t("myheader")]:[t.readTermsLength>1?n("span",{ref:"prevbtn",staticClass:"prev h-btn",on:{click:t.handlePrev}},[t._v("上一页")]):t._e(),t._v(" "),n("span",[t._v("请阅读以下内容"),t.readTermsLength>1?n("span",[t._v("("+t._s(t.curIndex)+"/"+t._s(t.readTermsLength)+")")]):t._e()]),t._v(" "),t.readTermsLength>1?n("span",{ref:"nextbtn",staticClass:"next h-btn",on:{click:t.handleNext}},[t._v("下一页")]):t._e()]],2),t._v(" "),t.isVisible?n("scroll-zoom",{ref:"scrollZoom",staticClass:"scroll-zoom",attrs:{termsInfo:t.termsInfo,forceRead:t.forceRead,docIndex:t.curIndex-1,brandColor:t.brandColor},on:{canINext:t.canINext}}):t._e(),t._v(" "),t.$slots.footer?n("div",[t._t("footer")],2):[n("div",{staticClass:"bottom-btn-placeholder"}),t._v(" "),n("div",{staticClass:"readterms-btns"},[n("div",{staticClass:"f-btn left",on:{click:t.cancel}},[n("p",[t._v(t._s(t.cancelButtonText))])]),t._v(" "),n("div",{staticClass:"f-btn right",style:{background:t.brandColor},on:{click:t.confirm}},[n("p",[t._v(t._s(t.comfirmText))]),t._v(" "),t.$slots.fIcon?t._t("fIcon"):t._e()],2)])]],2)},o=[];r._withStripped=!0},15:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},16:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},17:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},18:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},19:function(t,e,n){var r=n(21);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=!0},202:function(t,e){t.exports=r},21:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},22:function(t,e,n){var r=n(29)("keys"),o=n(26);t.exports=function(t){return r[t]||(r[t]=o(t))}},23:function(e,n){e.exports=t},24:function(t,e,n){var r=n(9),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},25:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},26:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},27:function(t,e,n){var r=n(11).f,o=n(10),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},28:function(t,e,n){var r=n(39),o=n(30);t.exports=Object.keys||function(t){return r(t,o)}},29:function(t,e,n){var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(20)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},3:function(t,e,n){t.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},31:function(t,e,n){var r=n(18);t.exports=function(t){return Object(r(t))}},32:function(t,e,n){var r=n(16);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},33:function(t,e,n){var r=n(17),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},34:function(t,n){t.exports=e},35:function(t,e,n){"use strict";var r=n(20),o=n(12),i=n(49),s=n(7),c=n(13),u=n(51),a=n(27),f=n(53),l=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,v,x,m){u(n,e,p);var y,g,b,_=function(t){if(!d&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",I="values"==v,L=!1,S=t.prototype,C=S[l]||S["@@iterator"]||v&&S[v],j=C||_(v),O=v?I?_("entries"):j:void 0,w="Array"==e?S.entries||C:C;if(w&&(b=f(w.call(new t)))!==Object.prototype&&b.next&&(a(b,T,!0),r||"function"==typeof b[l]||s(b,l,h)),I&&C&&"values"!==C.name&&(L=!0,j=function(){return C.call(this)}),r&&!m||!d&&!L&&S[l]||s(S,l,j),c[e]=j,c[T]=h,v)if(y={values:I?j:_("values"),keys:x?j:_("keys"),entries:O},m)for(g in y)g in S||i(S,g,y[g]);else o(o.P+o.F*(d||L),e,y);return y}},37:function(t,e,n){var r=n(9);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},38:function(t,e,n){t.exports=!n(3)&&!n(15)(function(){return 7!=Object.defineProperty(n(24)("div"),"a",{get:function(){return 7}}).a})},39:function(t,e,n){var r=n(10),o=n(14),i=n(43)(!1),s=n(22)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),u=0,a=[];for(n in c)n!=s&&r(c,n)&&a.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(a,n)||a.push(n));return a}},4:function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},42:function(t,e,n){var r=n(16),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},43:function(t,e,n){var r=n(14),o=n(33),i=n(44);t.exports=function(t){return function(e,n,s){var c,u=r(e),a=o(u.length),f=i(s,a);if(t&&n!=n){for(;a>f;)if((c=u[f++])!=c)return!0}else for(;a>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},44:function(t,e,n){var r=n(17),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},45:function(t,e,n){"use strict";var r=n(50)(!0);n(35)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},46:function(t,e,n){var r=n(4),o=n(52),i=n(30),s=n(22)("IE_PROTO"),c=function(){},u=function(){var t,e=n(24)("iframe"),r=i.length;for(e.style.display="none",n(40).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[s]=t):n=u(),void 0===e?n:o(n,e)}},48:function(t,e,n){n(60);for(var r=n(0),o=n(7),i=n(13),s=n(1)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<c.length;u++){var a=c[u],f=r[a],l=f&&f.prototype;l&&!l[s]&&o(l,s,a),i[a]=i.Array}},49:function(t,e,n){t.exports=n(7)},50:function(t,e,n){var r=n(17),o=n(18);t.exports=function(t){return function(e,n){var i,s,c=String(o(e)),u=r(n),a=c.length;return u<0||u>=a?t?"":void 0:(i=c.charCodeAt(u),i<55296||i>56319||u+1===a||(s=c.charCodeAt(u+1))<56320||s>57343?t?c.charAt(u):i:t?c.slice(u,u+2):s-56320+(i-55296<<10)+65536)}}},51:function(t,e,n){"use strict";var r=n(46),o=n(25),i=n(27),s={};n(7)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},52:function(t,e,n){var r=n(11),o=n(4),i=n(28);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),c=s.length,u=0;c>u;)r.f(t,n=s[u++],e[n]);return t}},53:function(t,e,n){var r=n(10),o=n(31),i=n(22)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},54:function(t,e,n){var r=n(42),o=n(1)("iterator"),i=n(13);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},59:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},60:function(t,e,n){"use strict";var r=n(61),o=n(59),i=n(13),s=n(14);t.exports=n(35)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},61:function(t,e){t.exports=function(){}},7:function(t,e,n){var r=n(11),o=n(25);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},8:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,c){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var a="function"==typeof t?t.options:t;e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId=i);var f;if(s?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},a._ssrRegister=f):o&&(f=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(a.functional){a._injectStyles=f;var l=a.render;a.render=function(t,e){return f.call(e),l(t,e)}}else{var d=a.beforeCreate;a.beforeCreate=d?[].concat(d,f):[f]}return{exports:t,options:a}}e.a=r},847:function(t,e,n){"use strict";var r=n(123),o=n.n(r),i=n(128),s=n.n(i),c=n(202),u=n.n(c),a=n(34),f=n.n(a);e.a={name:"ActGoldReadTerms",mixins:[f.a],components:{scrollZoom:u.a,ActGoldLayer:s.a},data:function(){return{curIndex:1,isReadEnd:[],termsInfo:[]}},computed:{readTermsLength:function(){return this.readTerms.length},bookTitle:function(){var t=this.termsInfo[this.curIndex-1]&&this.termsInfo[this.curIndex-1].title;return t?"《"+t+"》":""},comfirmText:function(){var t="已完整阅读并确认"+this.bookTitle;return this.confirmButtonText?this.confirmButtonText:t}},props:{readTerms:{type:Array,default:function(){return[]}},forceRead:{type:Boolean,default:!0},confirmButtonText:{type:String,default:""},cancelButtonText:{type:String,default:"暂不同意"},brandColor:{type:String,default:"#8c7fee"},beforeClose:{type:Function,default:null},beforePreOrNext:{type:Function,default:null}},methods:{getTerms:function(t){for(var e=[],n=t,r=Array.isArray(n),i=0,n=r?n:o()(n);;){var s;if(r){if(i>=n.length)break;s=n[i++]}else{if(i=n.next(),i.done)break;s=i.value}var c=s,u={type:Number(c.type),title:c.title,urls:c.urls,innerHTML:c.innerHTML||"",souceFile:c.src,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!0,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(u)}this.termsInfo=e},showDoc:function(t){var e=this;this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},changeHeaderBtnsColor:function(t){var e=this.$refs,n=e.prevbtn,r=e.nextbtn;1==~~t&&~~t<this.readTermsLength?(n&&(n.style.color=""),r&&(r.style.color=this.brandColor)):~~t>1&&~~t<this.readTermsLength?(n&&(n.style.color=this.brandColor),r&&(r.style.color=this.brandColor)):~~t>1&&~~t===this.readTermsLength&&(n&&(n.style.color=this.brandColor),r&&(r.style.color=""))},handleActionBeforePreOrNext:function(t,e){function n(t){o.curIndex>1&&(o.curIndex=i-1)}function r(t){o.curIndex<o.readTermsLength&&o.next(t)}var o=this,i=~~this.curIndex,s=this.termsInfo[i-1];this.beforePreOrNext?this.beforePreOrNext({action:t,next:function(o){!1!==o&&("prevClick"===t&&n(e),"nextClick"===t&&r(e))},curTermsInfo:s,curIndex:o.curIndex,readTermsLength:o.readTermsLength,isLast:o.curIndex===o.readTermsLength,curIsReadEnd:o.isReadEnd[o.curIndex-1]}):("prevClick"===t&&n(e),"nextClick"===t&&r(e))},handlePrev:function(t){this.handleActionBeforePreOrNext("prevClick",t)},handleNext:function(t){this.handleActionBeforePreOrNext("nextClick",t)},next:function(t){var e=~~this.curIndex;!this.forceRead&&this.canINext(!0),this.forceRead&&this.isReadEnd[e-1]||!this.forceRead?e<this.readTermsLength&&(this.curIndex=e+1,this.showDoc(e)):this.forceRead&&!this.isReadEnd[e-1]&&this.showToast("请观看至页面底部,完整阅读全部内容")},getCurTermInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.$emit("getCurTermInfo",t)},canINext:function(t){this.readTermsLength&&(this.isReadEnd[this.curIndex-1]=t,this.getCurTermInfo({curIndex:this.curIndex,isReadEnd:this.isReadEnd[this.curIndex-1],totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[this.curIndex-1]}))},confirm:function(t){this.forceRead&&!this.isReadEnd[this.readTermsLength-1]&&this.curIndex<=this.readTermsLength||!this.forceRead&&this.curIndex<this.readTermsLength?this.next(t):this.handleAction("confirm",t)},cancel:function(t){this.handleAction("cancel",t)},handleAction:function(t,e){var n=this,r=~~this.curIndex,o=this.termsInfo[r-1];this.beforeClose?this.beforeClose(t,function(r){!1!==r&&(n.hide(),n.$emit(t,e))},o):(this.hide(),this.$emit(t,e))},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast()),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()},preventMove:function(t){t._prevent=!0},reset:function(){this.curIndex=1,this.isReadEnd=new Array(this.readTermsLength).fill(!1)}},mounted:function(){this.changeHeaderBtnsColor(this.curIndex)},watch:{isVisible:function(t){t&&(this.reset(),this.getTerms(this.readTerms),this.showDoc(0),!this.forceRead&&1==~~this.readTermsLength&&this.canINext(!0))},curIndex:function(t){this.changeHeaderBtnsColor(t),this.getCurTermInfo({curIndex:t,isReadEnd:this.isReadEnd[t-1],totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[t-1]})}}}},9:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/common/scrollZoom/index.js"],e):"object"==typeof exports?exports.GoldReadTerms=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):t.GoldReadTerms=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/common/scrollZoom/index.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1384)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),o=n(24),i=n(0).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),o=n(2),i=n(17),s=n(5),c=n(8),u=function(t,e,n){var a,f,l,d=t&u.F,h=t&u.G,p=t&u.S,v=t&u.P,x=t&u.B,m=t&u.W,y=h?o:o[e]||(o[e]={}),g=y.prototype,b=h?r:p?r[e]:(r[e]||{}).prototype;h&&(n=e);for(a in n)(f=!d&&b&&void 0!==b[a])&&c(y,a)||(l=f?b[a]:n[a],y[a]=h&&"function"!=typeof b[a]?n[a]:x&&f?i(l,r):m&&b[a]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((y.virtual||(y.virtual={}))[a]=l,t&u.R&&g&&!g[a]&&s(g,a,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},101:function(t,e,n){n(46),n(43),t.exports=n(102)},102:function(t,e,n){var r=n(4),o=n(52);t.exports=n(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},104:function(t,e){t.exports=n},11:function(t,e){t.exports={}},12:function(t,e,n){var r=n(30),o=n(16);t.exports=function(t){return r(o(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1384:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(21),o=n.n(r),i=n(1385);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldReadTerms=o()(i.a,t)},e.default=i.a},1385:function(t,e,n){"use strict";function r(t){c||n(1386)}var o=n(823),i=n(1387),s=n(7),c=!1,u=r,a=Object(s.a)(o.a,i.a,i.b,!1,u,"data-v-21ba486f",null);a.options.__file="src\\components\\GoldReadTerms\\src\\index.vue",e.a=a.exports},1386:function(t,e){},1387:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("act-gold-layer",{attrs:{visible:t.isVisible,center:!1}},[n("div",{staticClass:"readterms-title",attrs:{slot:"header"},slot:"header"},[t.$slots.myheader?[t._t("myheader")]:[t.readTermsLength>1?n("span",{ref:"prevbtn",staticClass:"prev h-btn",on:{click:t.handlePrev}},[t._v("上一页")]):t._e(),t._v(" "),n("span",[t._v("请阅读以下内容"),t.readTermsLength>1?n("span",[t._v("("+t._s(t.curIndex)+"/"+t._s(t.readTermsLength)+")")]):t._e()]),t._v(" "),t.readTermsLength>1?n("span",{ref:"nextbtn",staticClass:"next h-btn",on:{click:t.handleNext}},[t._v("下一页")]):t._e()]],2),t._v(" "),t.isVisible?n("scroll-zoom",{ref:"scrollZoom",staticClass:"scroll-zoom",attrs:{termsInfo:t.termsInfo,forceRead:t.forceRead,docIndex:t.curIndex-1,brandColor:t.brandColor},on:{canINext:t.canINext}}):t._e(),t._v(" "),t.$slots.footer?n("div",[t._t("footer")],2):[n("div",{staticClass:"bottom-btn-placeholder"}),t._v(" "),n("div",{staticClass:"readterms-btns"},[n("div",{staticClass:"f-btn left",on:{click:t.cancel}},[n("p",[t._v(t._s(t.cancelButtonText))])]),t._v(" "),n("div",{staticClass:"f-btn right",style:{background:t.brandColor},on:{click:t.confirm}},[n("p",[t._v(t._s(t.comfirmText))]),t._v(" "),t.$slots.fIcon?t._t("fIcon"):t._e()],2)])]],2)},o=[];r._withStripped=!0},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var r=n(19);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},178:function(t,e){t.exports=r},18:function(t,e){t.exports=!0},19:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e,n){var r=n(27)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},21:function(e,n){e.exports=t},22:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,o=n(8),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),o=n(28);t.exports=Object.keys||function(t){return r(t,o)}},27:function(t,e,n){var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},32:function(t,n){t.exports=e},33:function(t,e,n){"use strict";var r=n(18),o=n(10),i=n(47),s=n(5),c=n(11),u=n(49),a=n(25),f=n(51),l=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,v,x,m){u(n,e,p);var y,g,b,_=function(t){if(!d&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",I="values"==v,L=!1,S=t.prototype,C=S[l]||S["@@iterator"]||v&&S[v],j=C||_(v),O=v?I?_("entries"):j:void 0,w="Array"==e?S.entries||C:C;if(w&&(b=f(w.call(new t)))!==Object.prototype&&b.next&&(a(b,T,!0),r||"function"==typeof b[l]||s(b,l,h)),I&&C&&"values"!==C.name&&(L=!0,j=function(){return C.call(this)}),r&&!m||!d&&!L&&S[l]||s(S,l,j),c[e]=j,c[T]=h,v)if(y={values:I?j:_("values"),keys:x?j:_("keys"),entries:O},m)for(g in y)g in S||i(S,g,y[g]);else o(o.P+o.F*(d||L),e,y);return y}},35:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(8),o=n(12),i=n(41)(!1),s=n(20)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),u=0,a=[];for(n in c)n!=s&&r(c,n)&&a.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(a,n)||a.push(n));return a}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},41:function(t,e,n){var r=n(12),o=n(31),i=n(42);t.exports=function(t){return function(e,n,s){var c,u=r(e),a=o(u.length),f=i(s,a);if(t&&n!=n){for(;a>f;)if((c=u[f++])!=c)return!0}else for(;a>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},42:function(t,e,n){var r=n(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},43:function(t,e,n){"use strict";var r=n(48)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},44:function(t,e,n){var r=n(4),o=n(50),i=n(28),s=n(20)("IE_PROTO"),c=function(){},u=function(){var t,e=n(22)("iframe"),r=i.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[s]=t):n=u(),void 0===e?n:o(n,e)}},46:function(t,e,n){n(58);for(var r=n(0),o=n(5),i=n(11),s=n(1)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<c.length;u++){var a=c[u],f=r[a],l=f&&f.prototype;l&&!l[s]&&o(l,s,a),i[a]=i.Array}},47:function(t,e,n){t.exports=n(5)},48:function(t,e,n){var r=n(15),o=n(16);t.exports=function(t){return function(e,n){var i,s,c=String(o(e)),u=r(n),a=c.length;return u<0||u>=a?t?"":void 0:(i=c.charCodeAt(u),i<55296||i>56319||u+1===a||(s=c.charCodeAt(u+1))<56320||s>57343?t?c.charAt(u):i:t?c.slice(u,u+2):s-56320+(i-55296<<10)+65536)}}},49:function(t,e,n){"use strict";var r=n(44),o=n(23),i=n(25),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},5:function(t,e,n){var r=n(9),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var r=n(9),o=n(4),i=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),c=s.length,u=0;c>u;)r.f(t,n=s[u++],e[n]);return t}},51:function(t,e,n){var r=n(8),o=n(29),i=n(20)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},52:function(t,e,n){var r=n(40),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},57:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},58:function(t,e,n){"use strict";var r=n(59),o=n(57),i=n(11),s=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},59:function(t,e){t.exports=function(){}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},7:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,c){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var a="function"==typeof t?t.options:t;e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId=i);var f;if(s?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},a._ssrRegister=f):o&&(f=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(a.functional){a._injectStyles=f;var l=a.render;a.render=function(t,e){return f.call(e),l(t,e)}}else{var d=a.beforeCreate;a.beforeCreate=d?[].concat(d,f):[f]}return{exports:t,options:a}}e.a=r},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},823:function(t,e,n){"use strict";var r=n(99),o=n.n(r),i=n(104),s=n.n(i),c=n(178),u=n.n(c),a=n(32),f=n.n(a);e.a={name:"ActGoldReadTerms",mixins:[f.a],components:{scrollZoom:u.a,ActGoldLayer:s.a},data:function(){return{curIndex:1,isReadEnd:[],termsInfo:[]}},computed:{readTermsLength:function(){return this.readTerms.length},bookTitle:function(){var t=this.termsInfo[this.curIndex-1]&&this.termsInfo[this.curIndex-1].title;return t?"《"+t+"》":""},comfirmText:function(){var t="已完整阅读并确认"+this.bookTitle;return this.confirmButtonText?this.confirmButtonText:t}},props:{readTerms:{type:Array,default:function(){return[]}},forceRead:{type:Boolean,default:!0},confirmButtonText:{type:String,default:""},cancelButtonText:{type:String,default:"暂不同意"},brandColor:{type:String,default:"#8c7fee"},beforeClose:{type:Function,default:null},beforePreOrNext:{type:Function,default:null}},methods:{getTerms:function(t){for(var e=[],n=t,r=Array.isArray(n),i=0,n=r?n:o()(n);;){var s;if(r){if(i>=n.length)break;s=n[i++]}else{if(i=n.next(),i.done)break;s=i.value}var c=s,u={type:Number(c.type),title:c.title,urls:c.urls,innerHTML:c.innerHTML||"",souceFile:c.src,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!0,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(u)}this.termsInfo=e},showDoc:function(t){var e=this;this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},changeHeaderBtnsColor:function(t){var e=this.$refs,n=e.prevbtn,r=e.nextbtn;1==~~t&&~~t<this.readTermsLength?(n&&(n.style.color=""),r&&(r.style.color=this.brandColor)):~~t>1&&~~t<this.readTermsLength?(n&&(n.style.color=this.brandColor),r&&(r.style.color=this.brandColor)):~~t>1&&~~t===this.readTermsLength&&(n&&(n.style.color=this.brandColor),r&&(r.style.color=""))},handleActionBeforePreOrNext:function(t,e){function n(t){o.curIndex>1&&(o.curIndex=i-1)}function r(t){o.curIndex<o.readTermsLength&&o.next(t)}var o=this,i=~~this.curIndex,s=this.termsInfo[i-1];this.beforePreOrNext?this.beforePreOrNext({action:t,next:function(o){!1!==o&&("prevClick"===t&&n(e),"nextClick"===t&&r(e))},curTermsInfo:s,curIndex:o.curIndex,readTermsLength:o.readTermsLength,isLast:o.curIndex===o.readTermsLength,curIsReadEnd:o.isReadEnd[o.curIndex-1]}):("prevClick"===t&&n(e),"nextClick"===t&&r(e))},handlePrev:function(t){this.handleActionBeforePreOrNext("prevClick",t)},handleNext:function(t){this.handleActionBeforePreOrNext("nextClick",t)},next:function(t){var e=~~this.curIndex;!this.forceRead&&this.canINext(!0),this.forceRead&&this.isReadEnd[e-1]||!this.forceRead?e<this.readTermsLength&&(this.curIndex=e+1,this.showDoc(e)):this.forceRead&&!this.isReadEnd[e-1]&&this.showToast("请观看至页面底部,完整阅读全部内容")},getCurTermInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.$emit("getCurTermInfo",t)},canINext:function(t){this.readTermsLength&&(this.isReadEnd[this.curIndex-1]=t,this.getCurTermInfo({curIndex:this.curIndex,isReadEnd:this.isReadEnd[this.curIndex-1],totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[this.curIndex-1]}))},confirm:function(t){this.forceRead&&!this.isReadEnd[this.readTermsLength-1]&&this.curIndex<=this.readTermsLength||!this.forceRead&&this.curIndex<this.readTermsLength?this.next(t):this.handleAction("confirm",t)},cancel:function(t){this.handleAction("cancel",t)},handleAction:function(t,e){var n=this,r=~~this.curIndex,o=this.termsInfo[r-1];this.beforeClose?this.beforeClose(t,function(r){!1!==r&&(n.hide(),n.$emit(t,e))},o):(this.hide(),this.$emit(t,e))},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast()),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()},preventMove:function(t){t._prevent=!0},reset:function(){this.curIndex=1,this.isReadEnd=new Array(this.readTermsLength).fill(!1)}},mounted:function(){this.changeHeaderBtnsColor(this.curIndex)},watch:{isVisible:function(t){t&&(this.reset(),this.getTerms(this.readTerms),this.showDoc(0),!this.forceRead&&1==~~this.readTermsLength&&this.canINext(!0))},curIndex:function(t){this.changeHeaderBtnsColor(t),this.getCurTermInfo({curIndex:t,isReadEnd:this.isReadEnd[t-1],totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[t-1]})}}}},9:function(t,e,n){var r=n(4),o=n(36),i=n(35),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},99:function(t,e,n){t.exports={default:n(101),__esModule:!0}}})});
|