pages-product-share-index.952fb5fe.js 125 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-share-index"],{"0c47":function(t,e,r){var n=r("da84"),i=r("d44e");i(n.JSON,"JSON",!0)},"0fcb":function(t,e,r){var n=r("e541");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r("4f06").default;i("cad9b96e",n,!0,{sourceMap:!1,shadowMode:!1})},"131a":function(t,e,r){var n=r("23e7"),i=r("d2bb");n({target:"Object",stat:!0},{setPrototypeOf:i})},"1de5":function(t,e,r){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"20c9":function(t,e,r){"use strict";var n=r("4ea4");r("99af"),r("7db0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r("7c54"),o=n(r("3366")),a=n(r("581f")),s={components:{VueQr:a.default},data:function(){return{shareVis:!1,shareType:!1,saveimgVis:!1,navSelect:0,productList:[],productUser:{},shareUrl:"",shareTitle:"",isShare:!1}},watch:{saveimgVis:function(t){if(t){var e=this.shareType?"all":this.productList[this.navSelect].id||"all";this.shareUrl="".concat(window.location.href,"?type=").concat(e,"&userId=").concat(this.productUser.id),this.shareTitle=this.setShareTitle(e),this.share(),this.shareTimeLine()}},navSelect:function(t){var e=this.shareType?"all":this.productList[this.navSelect].id||"all";this.shareUrl="".concat(window.location.href,"?type=").concat(e,"&userId=").concat(this.productUser.id),this.shareTitle=this.setShareTitle(e),this.share(),this.shareTimeLine()}},onLoad:function(t){var e=this,r=this;if(t.type&&t.userId){this.isShare=!0;var n=this;this.getProductInfo(t.type,t.userId,(function(){n.shareUrl=window.location.href,n.shareTitle=e.setShareTitle(t.type),n.share(),n.shareTimeLine()}))}else this.$store.state.userinfo.qr_code?(this.isShare=!1,r.getProductInfo(),this.shareUrl="".concat(window.location.href,"?type=all&userId=").concat(this.$store.state.userinfo.id),this.shareTitle=this.setShareTitle(t.type),this.share(),this.shareTimeLine()):uni.showModal({content:"请先上传您的二维码",showCancel:!1,success:function(){uni.navigateTo({url:"../share-set/index"})}})},methods:{setShareTitle:function(t){var e;if(t=t||"all",0===this.productList.length||"all"===t)e="大卫博士健康内裤";else{var r=this.productList.find((function(e){return e.id===+t}));e="大卫博士健康内裤(".concat(r.title,")")||!1}return e},share:function(){var t=this;(0,o.default)((function(e){e.updateAppMessageShareData({title:t.shareTitle,desc:"一年零一天,不满意退钱。",link:t.shareUrl,imgUrl:"https://img.bosszhipin.com/beijin/mcs/chatphoto/20181102/e0e8b50969101987a84f1643716b41ffcfcd208495d565ef66e7dff9f98764da.jpg",success:function(){}})}))},shareTimeLine:function(){var t=this;(0,o.default)((function(e){e.updateTimelineShareData({title:t.shareTitle,link:t.shareUrl,imgUrl:"https://img.bosszhipin.com/beijin/mcs/chatphoto/20181102/e0e8b50969101987a84f1643716b41ffcfcd208495d565ef66e7dff9f98764da.jpg",success:function(){}})}))},getProductInfo:function(t,e,r){var n=this;(0,i._API_productInfo)({type:t||"all",user_id:e||this.$store.state.userinfo.id}).then((function(t){200===t.code?(n.productList=t.data.list.list,n.productUser=t.data.list.user,r&&r()):uni.showModal({content:t.message||"获取产品详情失败",showCancel:!1})})).catch((function(){uni.showModal({content:"获取产品详情失败",showCancel:!1})}))},callPhone:function(t){if(!t)return uni.showModal({content:"手机号不存在",showCancel:!1}),!1;uni.makePhoneCall({phoneNumber:t})}}};e.default=s},"23dc":function(t,e,r){var n=r("d44e");n(Math,"Math",!0)},"28b5":function(t,e,r){"use strict";r.r(e);var n=r("20c9"),i=r.n(n);for(var o in n)"default"!==o&&function(t){r.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},3366:function(t,e,r){"use strict";(function(t){var n=r("4ea4");r("ac1f"),r("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("96cf");var i=n(r("1da1")),o=r("ef55"),a=r("e544"),s=window.location.href.split("#")[0];function c(t){return l.apply(this,arguments)}function l(){return l=(0,i.default)(regeneratorRuntime.mark((function e(r){var n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,o.getWxJSSDKConfig)({url:s});case 2:n=e.sent,n&&(i=n,a.config(i),a.error((function(e){t.log("config fail:",e)})),a.ready((function(t){r&&r(a)})));case 4:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}var u=c;e.default=u}).call(this,r("5a52")["default"])},3410:function(t,e,r){var n=r("23e7"),i=r("d039"),o=r("7b0b"),a=r("e163"),s=r("e177"),c=i((function(){a(1)}));n({target:"Object",stat:!0,forced:c,sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},"38cf":function(t,e,r){var n=r("23e7"),i=r("1148");n({target:"String",proto:!0},{repeat:i})},"3aff":function(t,e,r){t.exports=r.p+"staticsss/img/share_bg.9b723c85.png"},"581f":function(t,e,r){(function(e){r("a4d3"),r("e01a"),r("b636"),r("d28b"),r("944a"),r("99af"),r("cb29"),r("4160"),r("a630"),r("c975"),r("a15b"),r("d81d"),r("13d5"),r("26e9"),r("fb6a"),r("a434"),r("ace4"),r("0c47"),r("23dc"),r("a9e3"),r("e439"),r("7039"),r("3410"),r("c906"),r("b64b"),r("cee8"),r("131a"),r("d3b7"),r("acd8"),r("e25e"),r("ac1f"),r("25f0"),r("3ca3"),r("466d"),r("38cf"),r("1276"),r("5cc6"),r("8a59"),r("9a8c"),r("a975"),r("735e"),r("c1ac"),r("d139"),r("3a7b"),r("d5d6"),r("82f8"),r("e91f"),r("60bd"),r("5f96"),r("3280"),r("3fcc"),r("ca91"),r("25a1"),r("cd26"),r("3c5d"),r("2954"),r("649e"),r("219c"),r("170b"),r("b39a"),r("72f7"),r("159b"),r("ddb0"),r("2b3d"),function(e,r){t.exports=r()}("undefined"!=typeof self&&self,(function(){return function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.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="/dist/",e(e.s=51)}([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)},function(t,e,r){var n=r(26)("wks"),i=r(18),o=r(0).Symbol,a="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=n},function(t,e){var r=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=r)},function(t,e,r){var n=r(6);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){var n=r(5),i=r(17);t.exports=r(7)?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(3),i=r(36),o=r(23),a=Object.defineProperty;e.f=r(7)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return a(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}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){t.exports=!r(16)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(65),i=r(21);t.exports=function(t){return n(i(t))}},function(t,e){t.exports=!0},function(t,e,r){var n=r(0),i=r(2),o=r(14),a=r(4),s=r(8),c=function t(e,r,c){var l,u,f,d=e&t.F,h=e&t.G,p=e&t.S,g=e&t.P,v=e&t.B,m=e&t.W,b=h?i:i[r]||(i[r]={}),y=b.prototype,w=h?n:p?n[r]:(n[r]||{}).prototype;for(l in h&&(c=r),c)(u=!d&&w&&void 0!==w[l])&&s(b,l)||(f=u?w[l]:c[l],b[l]=h&&"function"!=typeof w[l]?c[l]:v&&u?o(f,n):m&&w[l]==f?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}(f):g&&"function"==typeof f?o(Function.call,f):f,g&&((b.virtual||(b.virtual={}))[l]=f,e&t.R&&y&&!y[l]&&a(y,l,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){t.exports={}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(15);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,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e,r){var n=r(5).f,i=r(8),o=r(1)("toStringTag");t.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(6),i=r(0).document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,r){var n=r(6);t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){var n=r(39),i=r(27);t.exports=Object.keys||function(t){return n(t,i)}},function(t,e,r){var n=r(26)("keys"),i=r(18);t.exports=function(t){return n[t]||(n[t]=i(t))}},function(t,e,r){var n=r(2),i=r(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(10)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},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=i(e),this.reject=i(r)}var i=r(15);t.exports.f=function(t){return new n(t)}},function(t,e,r){e.f=r(1)},function(t,e,r){var n=r(0),i=r(2),o=r(10),a=r(29),s=r(5).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,r){"use strict";var n=r(56),i=r.n(n),o=r(59),a=r.n(o),s=r(87),c=r.n(s),l=r(90),u=r(91),f=r(112),d=r(113);e.a={props:{text:{type:String,required:!0},qid:{type:String},correctLevel:{type:Number,default:1},size:{type:Number,default:200},margin:{type:Number,default:20},colorDark:{type:String,default:"#000000"},colorLight:{type:String,default:"#FFFFFF"},bgSrc:{type:String,default:void 0},background:{type:String,default:"rgba(0,0,0,0)"},backgroundDimming:{type:String,default:"rgba(0,0,0,0)"},logoSrc:{type:String,default:void 0},logoBackgroundColor:{type:String,default:"rgba(255,255,255,1)"},gifBgSrc:{type:String,default:void 0},logoScale:{type:Number,default:.2},logoMargin:{type:Number,default:0},logoCornerRadius:{type:Number,default:8},whiteMargin:{type:[Boolean,String],default:!0},dotScale:{type:Number,default:1},autoColor:{type:[Boolean,String],default:!0},binarize:{type:[Boolean,String],default:!1},binarizeThreshold:{type:Number,default:128},callback:{type:Function,default:function(){}},bindElement:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#FFFFFF"}},name:"vue-qr",data:function(){return{uuid:""}},watch:{$props:{deep:!0,handler:function(){this.main()}}},mounted:function(){this.uuid=c()(),this.main()},methods:{main:function(){var t=this;return a()(i.a.mark((function e(){var r,n,o,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t,!t.gifBgSrc){e.next=10;break}return e.next=4,Object(d.a)(t.gifBgSrc);case 4:return r=e.sent,e.next=7,Object(f.a)(t.logoSrc);case 7:return n=e.sent,t.render(void 0,n,r),e.abrupt("return");case 10:return e.next=12,Object(f.a)(t.bgSrc);case 12:return o=e.sent,e.next=15,Object(f.a)(t.logoSrc);case 15:a=e.sent,t.render(o,a);case 17:case"end":return e.stop()}}),e,t)})))()},render:function(t,e,r){var n=this;(new u.a).create({gifBackground:r,text:n.text,size:n.size,margin:n.margin,colorDark:n.colorDark,colorLight:n.colorLight,backgroundColor:n.backgroundColor,backgroundImage:t,backgroundDimming:n.backgroundDimming,logoImage:e,logoScale:n.logoScale,logoBackgroundColor:n.logoBackgroundColor,correctLevel:n.correctLevel,logoMargin:n.logoMargin,logoCornerRadius:n.logoCornerRadius,whiteMargin:Object(l.a)(n.whiteMargin),dotScale:n.dotScale,autoColor:Object(l.a)(n.autoColor),binarize:Object(l.a)(n.binarize),binarizeThreshold:n.binarizeThreshold,callback:function(t){n.callback&&n.callback(t,n.qid)},bindElement:n.bindElement?n.uuid:void 0})}}}},function(t,e){},function(t,e,r){"use strict";var n=r(62)(!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})}))},function(t,e,r){"use strict";var n=r(10),i=r(11),o=r(37),a=r(4),s=r(12),c=r(63),l=r(19),u=r(68),f=r(1)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,r,p,g,v,m){c(r,e,p);var b,y,w,x=function(t){if(!d&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},k=e+" Iterator",_="values"==g,S=!1,P=t.prototype,T=P[f]||P["@@iterator"]||g&&P[g],I=T||x(g),C=g?_?x("entries"):I:void 0,B="Array"==e&&P.entries||T;if(B&&(w=u(B.call(new t)))!==Object.prototype&&w.next&&(l(w,k,!0),n||"function"==typeof w[f]||a(w,f,h)),_&&T&&"values"!==T.name&&(S=!0,I=function(){return T.call(this)}),n&&!m||!d&&!S&&P[f]||a(P,f,I),s[e]=I,s[k]=h,g)if(b={values:_?I:x("values"),keys:v?I:x("keys"),entries:C},m)for(y in b)y in P||o(P,y,b[y]);else i(i.P+i.F*(d||S),e,b);return b}},function(t,e,r){t.exports=!r(7)&&!r(16)((function(){return 7!=Object.defineProperty(r(22)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){t.exports=r(4)},function(t,e,r){var n=r(3),i=r(64),o=r(27),a=r(25)("IE_PROTO"),s=function(){},c=function(){var t,e=r(22)("iframe"),n=o.length;for(e.style.display="none",r(41).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;n--;)delete c.prototype[o[n]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(s.prototype=n(t),r=new s,s.prototype=null,r[a]=t):r=c(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(8),i=r(9),o=r(66)(!1),a=r(25)("IE_PROTO");t.exports=function(t,e){var r,s=i(t),c=0,l=[];for(r in s)r!=a&&n(s,r)&&l.push(r);for(;e.length>c;)n(s,r=e[c++])&&(~o(l,r)||l.push(r));return l}},function(t,e,r){var n=r(20),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},function(t,e,r){var n=r(0).document;t.exports=n&&n.documentElement},function(t,e,r){r(70);for(var n=r(0),i=r(4),o=r(12),a=r(1)("toStringTag"),s="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(","),c=0;c<s.length;c++){var l=s[c],u=n[l],f=u&&u.prototype;f&&!f[a]&&i(f,a,l),o[l]=o.Array}},function(t,e,r){var n=r(13),i=r(1)("toStringTag"),o="Arguments"==n(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=a(e=Object(t),i))?r:o?n(e):"Object"==(s=n(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,r){var n=r(3),i=r(15),o=r(1)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||void 0==(r=n(a)[o])?e:i(r)}},function(t,e,r){var n,i,o,a=r(14),s=r(79),c=r(41),l=r(22),u=r(0),f=u.process,d=u.setImmediate,h=u.clearImmediate,p=u.MessageChannel,g=u.Dispatch,v=0,m={},b=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},y=function(t){b.call(t.data)};d&&h||(d=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return m[++v]=function(){s("function"==typeof t?t:Function(t),e)},n(v),v},h=function(t){delete m[t]},"process"==r(13)(f)?n=function(t){f.nextTick(a(b,t,1))}:g&&g.now?n=function(t){g.now(a(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=y,n=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(n=function(t){u.postMessage(t+"","*")},u.addEventListener("message",y,!1)):n="onreadystatechange"in l("script")?function(t){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:d,clear:h}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,r){var n=r(3),i=r(6),o=r(28);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){var n=r(39),i=r(27).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},function(t,e,r){t.exports=function(){return r(111)('!function(t){function e(r){if(i[r])return i[r].exports;var s=i[r]={i:r,l:!1,exports:{}};return t[r].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,r){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=0)}([function(t,e){~function(){function t(t,e,i,r){function a(t,e){F[P++]=t,P>=254&&d(e)}function f(t){c(u),D=S+2,G=!0,b(S,t)}function c(t){for(var e=0;e<t;++e)A[e]=-1}function y(t,e){var i,r,s,o,a,p,y;for(m=t,G=!1,n=m,B=g(n),S=1<<t-1,T=S+1,D=S+2,P=0,o=x(),y=0,i=u;i<65536;i*=2)++y;y=8-y,p=u,c(p),b(S,e);t:for(;(r=x())!=h;)if(i=(r<<l)+o,s=r<<y^o,A[s]!==i){if(A[s]>=0){a=p-s,0===s&&(a=1);do{if((s-=a)<0&&(s+=p),A[s]===i){o=C[s];continue t}}while(A[s]>=0)}b(o,e),o=r,D<1<<l?(C[s]=D++,A[s]=i):f(e)}else o=C[s];b(o,e),b(T,e)}function w(i){i.writeByte(M),s=t*e,o=0,y(M+1,i),i.writeByte(0)}function d(t){P>0&&(t.writeByte(P),t.writeBytes(F,0,P),P=0)}function g(t){return(1<<t)-1}function x(){return 0===s?h:(--s,255&i[o++])}function b(t,e){for(v&=p[I],I>0?v|=t<<I:v=t,I+=n;I>=8;)a(255&v,e),v>>=8,I-=8;if((D>B||G)&&(G?(B=g(n=m),G=!1):(++n,B=n==l?1<<l:g(n))),t==T){for(;I>0;)a(255&v,e),v>>=8,I-=8;d(e)}}var v,P,B,m,S,T,M=Math.max(2,r),F=new Uint8Array(256),A=new Int32Array(u),C=new Int32Array(u),I=0,D=0,G=!1;this.encode=w}function e(t,e){function i(){B=[],S=new Int32Array(256),R=new Int32Array(c),U=new Int32Array(c),Q=new Int32Array(c>>3);var t,e;for(t=0;t<c;t++)e=(t<<w+8)/c,B[t]=new Float64Array([e,e,e,0]),U[t]=g/c,R[t]=0}function r(){for(var t=0;t<c;t++)B[t][0]>>=w,B[t][1]>>=w,B[t][2]>>=w,B[t][3]=t}function s(t,e,i,r,s){B[e][0]-=t*(B[e][0]-i)/F,B[e][1]-=t*(B[e][1]-r)/F,B[e][2]-=t*(B[e][2]-s)/F}function o(t,e,i,r,s){for(var o,n,a=Math.abs(e-t),h=Math.min(e+t,c),l=e+1,u=e-1,p=1;l<h||u>a;)n=Q[p++],l<h&&(o=B[l++],o[0]-=n*(o[0]-i)/C,o[1]-=n*(o[1]-r)/C,o[2]-=n*(o[2]-s)/C),u>a&&(o=B[u--],o[0]-=n*(o[0]-i)/C,o[1]-=n*(o[1]-r)/C,o[2]-=n*(o[2]-s)/C)}function n(t,e,i){var r,s,o,n,a,h=~(1<<31),l=h,u=-1,p=u;for(r=0;r<c;r++)s=B[r],o=Math.abs(s[0]-t)+Math.abs(s[1]-e)+Math.abs(s[2]-i),o<h&&(h=o,u=r),n=o-(R[r]>>d-w),n<l&&(l=n,p=r),a=U[r]>>b,U[r]-=a,R[r]+=a<<x;return U[u]+=v,R[u]-=P,p}function a(){var t,e,i,r,s,o,n=0,a=0;for(t=0;t<c;t++){for(i=B[t],s=t,o=i[1],e=t+1;e<c;e++)r=B[e],r[1]<o&&(s=e,o=r[1]);if(r=B[s],t!=s&&(e=r[0],r[0]=i[0],i[0]=e,e=r[1],r[1]=i[1],i[1]=e,e=r[2],r[2]=i[2],i[2]=e,e=r[3],r[3]=i[3],i[3]=e),o!=n){for(S[n]=a+t>>1,e=n+1;e<o;e++)S[e]=t;n=o,a=t}}for(S[n]=a+y>>1,e=n+1;e<256;e++)S[e]=y}function h(t,e,i){for(var r,s,o,n=1e3,a=-1,h=S[e],l=h-1;h<c||l>=0;)h<c&&(s=B[h],o=s[1]-e,o>=n?h=c:(h++,o<0&&(o=-o),r=s[0]-t,r<0&&(r=-r),(o+=r)<n&&(r=s[2]-i,r<0&&(r=-r),(o+=r)<n&&(n=o,a=s[3])))),l>=0&&(s=B[l],o=e-s[1],o>=n?l=-1:(l--,o<0&&(o=-o),r=s[0]-t,r<0&&(r=-r),(o+=r)<n&&(r=s[2]-i,r<0&&(r=-r),(o+=r)<n&&(n=o,a=s[3]))));return a}function l(){var i,r=t.length,a=30+(e-1)/3,h=r/(3*e),l=~~(h/f),u=F,p=T,c=p>>m;for(c<=1&&(c=0),i=0;i<c;i++)Q[i]=u*((c*c-i*i)*A/(c*c));var y;r<E?(e=1,y=3):y=r%I!=0?3*I:r%D!=0?3*D:r%G!=0?3*G:3*z;var d,g,x,b,v=0;for(i=0;i<h;)if(d=(255&t[v])<<w,g=(255&t[v+1])<<w,x=(255&t[v+2])<<w,b=n(d,g,x),s(u,b,d,g,x),0!==c&&o(c,b,d,g,x),v+=y,v>=r&&(v-=r),i++,0===l&&(l=1),i%l==0)for(u-=u/a,p-=p/M,c=p>>m,c<=1&&(c=0),b=0;b<c;b++)Q[b]=u*((c*c-b*b)*A/(c*c))}function u(){i(),l(),r(),a()}function p(){for(var t=[],e=[],i=0;i<c;i++)e[B[i][3]]=i;for(var r=0,s=0;s<c;s++){var o=e[s];t[r++]=B[o][0],t[r++]=B[o][1],t[r++]=B[o][2]}return t}var B,S,R,U,Q;this.buildColormap=u,this.getColormap=p,this.lookupRGB=h}function i(){this.page=-1,this.pages=[],this.newPage()}function r(t,e){this.width=~~t,this.height=~~e,this.transparent=null,this.transIndex=0,this.repeat=-1,this.delay=0,this.image=null,this.pixels=null,this.indexedPixels=null,this.colorDepth=null,this.colorTab=null,this.neuQuant=null,this.usedEntry=new Array,this.palSize=7,this.dispose=-1,this.firstFrame=!0,this.sample=10,this.dither=!1,this.globalPalette=!1,this.out=new i}var s,o,n,a,h=-1,l=12,u=5003,p=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],f=100,c=256,y=c-1,w=4,d=16,g=1<<d,x=10,b=10,v=g>>b,P=g<<x-b,B=c>>3,m=6,S=1<<m,T=B*S,M=30,F=1024,A=256,C=1<<18,I=499,D=491,G=487,z=503,E=3*z;a=function(t){var e,i,s,o;return e=new r(t.width,t.height),0===t.index?e.writeHeader():e.firstFrame=!1,e.setTransparent(t.transparent),e.setRepeat(t.repeat),e.setDelay(t.delay),e.setQuality(t.quality),e.setDither(t.dither),e.setGlobalPalette(t.globalPalette),e.addFrame(t.data),t.last&&e.finish(),!0===t.globalPalette&&(t.globalPalette=e.getGlobalPalette()),s=e.stream(),t.data=s.pages,t.cursor=s.cursor,t.pageSize=s.constructor.pageSize,t.canTransfer?(o=function(){var e,r,s,o;for(s=t.data,o=[],e=0,r=s.length;e<r;e++)i=s[e],o.push(i.buffer);return o}(),self.postMessage(t,o)):self.postMessage(t)},self.onmessage=function(t){return a(t.data)},i.pageSize=4096,i.charMap={};for(var R=0;R<256;R++)i.charMap[R]=String.fromCharCode(R);i.prototype.newPage=function(){this.pages[++this.page]=new Uint8Array(i.pageSize),this.cursor=0},i.prototype.getData=function(){for(var t="",e=0;e<this.pages.length;e++)for(var r=0;r<i.pageSize;r++)t+=i.charMap[this.pages[e][r]];return t},i.prototype.writeByte=function(t){this.cursor>=i.pageSize&&this.newPage(),this.pages[this.page][this.cursor++]=t},i.prototype.writeUTFBytes=function(t){for(var e=t.length,i=0;i<e;i++)this.writeByte(t.charCodeAt(i))},i.prototype.writeBytes=function(t,e,i){for(var r=i||t.length,s=e||0;s<r;s++)this.writeByte(t[s])},r.prototype.setDelay=function(t){this.delay=Math.round(t/10)},r.prototype.setFrameRate=function(t){this.delay=Math.round(100/t)},r.prototype.setDispose=function(t){t>=0&&(this.dispose=t)},r.prototype.setRepeat=function(t){this.repeat=t},r.prototype.setTransparent=function(t){this.transparent=t},r.prototype.addFrame=function(t){this.image=t,this.colorTab=this.globalPalette&&this.globalPalette.slice?this.globalPalette:null,this.getImagePixels(),this.analyzePixels(),!0===this.globalPalette&&(this.globalPalette=this.colorTab),this.firstFrame&&(this.writeLSD(),this.writePalette(),this.repeat>=0&&this.writeNetscapeExt()),this.writeGraphicCtrlExt(),this.writeImageDesc(),this.firstFrame||this.globalPalette||this.writePalette(),this.writePixels(),this.firstFrame=!1},r.prototype.finish=function(){this.out.writeByte(59)},r.prototype.setQuality=function(t){t<1&&(t=1),this.sample=t},r.prototype.setDither=function(t){!0===t&&(t="FloydSteinberg"),this.dither=t},r.prototype.setGlobalPalette=function(t){this.globalPalette=t},r.prototype.getGlobalPalette=function(){return this.globalPalette&&this.globalPalette.slice&&this.globalPalette.slice(0)||this.globalPalette},r.prototype.writeHeader=function(){this.out.writeUTFBytes("GIF89a")},r.prototype.analyzePixels=function(){this.colorTab||(this.neuQuant=new e(this.pixels,this.sample),this.neuQuant.buildColormap(),this.colorTab=this.neuQuant.getColormap()),this.dither?this.ditherPixels(this.dither.replace("-serpentine",""),null!==this.dither.match(/-serpentine/)):this.indexPixels(),this.pixels=null,this.colorDepth=8,this.palSize=7,null!==this.transparent&&(this.transIndex=this.findClosest(this.transparent,!0))},r.prototype.indexPixels=function(t){var e=this.pixels.length/3;this.indexedPixels=new Uint8Array(e);for(var i=0,r=0;r<e;r++){var s=this.findClosestRGB(255&this.pixels[i++],255&this.pixels[i++],255&this.pixels[i++]);this.usedEntry[s]=!0,this.indexedPixels[r]=s}},r.prototype.ditherPixels=function(t,e){var i={FalseFloydSteinberg:[[3/8,1,0],[3/8,0,1],[.25,1,1]],FloydSteinberg:[[7/16,1,0],[3/16,-1,1],[5/16,0,1],[1/16,1,1]],Stucki:[[8/42,1,0],[4/42,2,0],[2/42,-2,1],[4/42,-1,1],[8/42,0,1],[4/42,1,1],[2/42,2,1],[1/42,-2,2],[2/42,-1,2],[4/42,0,2],[2/42,1,2],[1/42,2,2]],Atkinson:[[1/8,1,0],[1/8,2,0],[1/8,-1,1],[1/8,0,1],[1/8,1,1],[1/8,0,2]]};if(!t||!i[t])throw"Unknown dithering kernel: "+t;var r=i[t],s=0,o=this.height,n=this.width,a=this.pixels,h=e?-1:1;this.indexedPixels=new Uint8Array(this.pixels.length/3);for(var l=0;l<o;l++){e&&(h*=-1);for(var u=1==h?0:n-1,p=1==h?n:0;u!==p;u+=h){s=l*n+u;var f=3*s,c=a[f],y=a[f+1],w=a[f+2];f=this.findClosestRGB(c,y,w),this.usedEntry[f]=!0,this.indexedPixels[s]=f,f*=3;for(var d=this.colorTab[f],g=this.colorTab[f+1],x=this.colorTab[f+2],b=c-d,v=y-g,P=w-x,B=1==h?0:r.length-1,m=1==h?r.length:0;B!==m;B+=h){var S=r[B][1],T=r[B][2];if(S+u>=0&&S+u<n&&T+l>=0&&T+l<o){var M=r[B][0];f=s+S+T*n,f*=3,a[f]=Math.max(0,Math.min(255,a[f]+b*M)),a[f+1]=Math.max(0,Math.min(255,a[f+1]+v*M)),a[f+2]=Math.max(0,Math.min(255,a[f+2]+P*M))}}}}},r.prototype.findClosest=function(t,e){return this.findClosestRGB((16711680&t)>>16,(65280&t)>>8,255&t,e)},r.prototype.findClosestRGB=function(t,e,i,r){if(null===this.colorTab)return-1;if(this.neuQuant&&!r)return this.neuQuant.lookupRGB(t,e,i);for(var s=0,o=16777216,n=this.colorTab.length,a=0,h=0;a<n;h++){var l=t-(255&this.colorTab[a++]),u=e-(255&this.colorTab[a++]),p=i-(255&this.colorTab[a++]),f=l*l+u*u+p*p;(!r||this.usedEntry[h])&&f<o&&(o=f,s=h)}return s},r.prototype.getImagePixels=function(){var t=this.width,e=this.height;this.pixels=new Uint8Array(t*e*3);for(var i=this.image,r=0,s=0,o=0;o<e;o++)for(var n=0;n<t;n++)this.pixels[s++]=i[r++],this.pixels[s++]=i[r++],this.pixels[s++]=i[r++],r++},r.prototype.writeGraphicCtrlExt=function(){this.out.writeByte(33),this.out.writeByte(249),this.out.writeByte(4);var t,e;null===this.transparent?(t=0,e=0):(t=1,e=2),this.dispose>=0&&(e=7&dispose),e<<=2,this.out.writeByte(0|e|t),this.writeShort(this.delay),this.out.writeByte(this.transIndex),this.out.writeByte(0)},r.prototype.writeImageDesc=function(){this.out.writeByte(44),this.writeShort(0),this.writeShort(0),this.writeShort(this.width),this.writeShort(this.height),this.firstFrame||this.globalPalette?this.out.writeByte(0):this.out.writeByte(128|this.palSize)},r.prototype.writeLSD=function(){this.writeShort(this.width),this.writeShort(this.height),this.out.writeByte(240|this.palSize),this.out.writeByte(0),this.out.writeByte(0)},r.prototype.writeNetscapeExt=function(){this.out.writeByte(33),this.out.writeByte(255),this.out.writeByte(11),this.out.writeUTFBytes("NETSCAPE2.0"),this.out.writeByte(3),this.out.writeByte(1),this.writeShort(this.repeat),this.out.writeByte(0)},r.prototype.writePalette=function(){this.out.writeBytes(this.colorTab);for(var t=768-this.colorTab.length,e=0;e<t;e++)this.out.writeByte(0)},r.prototype.writeShort=function(t){this.out.writeByte(255&t),this.out.writeByte(t>>8&255)},r.prototype.writePixels=function(){new t(this.width,this.height,this.indexedPixels,this.colorDepth).encode(this.out)},r.prototype.stream=function(){return this.out}}()}]);\n//# sourceMappingURL=9ce638df9d8d3f921ad6.worker.js.map',r.p+"9ce638df9d8d3f921ad6.worker.js")}},function(t,e,r){t.exports=r(52)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(53),i=[n.a];"undefined"!=typeof window&&window.Vue&&function(t){i.map((function(e){t.component(e.name,e)}))}(window.Vue),e.default=n.a},function(t,e,r){"use strict";var n=r(54);n.a.install=function(t){return t.component(n.a.name,n.a)},e.a=n.a},function(t,e,r){"use strict";var n=r(32),i=r(114),o=r(55),a=o(n.a,i.a,!1,null,null,null);e.a=a.exports},function(t,e){t.exports=function(t,e,r,n,i,o){var a,s=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(a=t,s=t.default);var l,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i),o?(l=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__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):n&&(l=n),l){var f=u.functional,d=f?u.render:u.beforeCreate;f?(u._injectStyles=l,u.render=function(t,e){return l.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,l):[l]}return{esModule:a,exports:s,options:u}}},function(t,e,r){t.exports=r(57)},function(t,e,r){var n=function(){return this}()||Function("return this")(),i=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,o=i&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(58),i)n.regeneratorRuntime=o;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},function(t,e){!function(e){"use strict";function r(t,e,r,n){var o=e&&e.prototype instanceof i?e:i,a=Object.create(o.prototype),s=new h(n||[]);return a._invoke=l(t,r,s),a}function n(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function i(){}function o(){}function a(){}function s(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function c(t){function e(r,i,o,a){var s=n(t[r],t,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&b.call(l,"__await")?Promise.resolve(l.__await).then((function(t){e("next",t,o,a)}),(function(t){e("throw",t,o,a)})):Promise.resolve(l).then((function(t){c.value=t,o(c)}),a)}a(s.arg)}function r(t,r){function n(){return new Promise((function(n,i){e(t,r,n,i)}))}return i=i?i.then(n,n):n()}var i;this._invoke=r}function l(t,e,r){var i=P;return function(o,a){if(i===I)throw new Error("Generator is already running");if(i===C){if("throw"===o)throw a;return g()}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=u(s,r);if(c){if(c===B)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===P)throw i=C,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=I;var l=n(t,e,r);if("normal"===l.type){if(i=r.done?C:T,l.arg===B)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=C,r.method="throw",r.arg=l.arg)}}}function u(t,e){var r=t.iterator[e.method];if(r===v){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=v,u(t,e),"throw"===e.method))return B;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return B}var i=n(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,B;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=v),e.delegate=null,B):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,B)}function f(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function d(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function p(t){if(t){var e=t[w];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(b.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=v,e.done=!0,e};return n.next=n}}return{next:g}}function g(){return{value:v,done:!0}}var v,m=Object.prototype,b=m.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},w=y.iterator||"@@iterator",x=y.asyncIterator||"@@asyncIterator",k=y.toStringTag||"@@toStringTag",_="object"==typeof t,S=e.regeneratorRuntime;if(S)_&&(t.exports=S);else{S=e.regeneratorRuntime=_?t.exports:{},S.wrap=r;var P="suspendedStart",T="suspendedYield",I="executing",C="completed",B={},E={};E[w]=function(){return this};var L=Object.getPrototypeOf,A=L&&L(L(p([])));A&&A!==m&&b.call(A,w)&&(E=A);var M=a.prototype=i.prototype=Object.create(E);o.prototype=M.constructor=a,a.constructor=o,a[k]=o.displayName="GeneratorFunction",S.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},S.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):(t.__proto__=a,k in t||(t[k]="GeneratorFunction")),t.prototype=Object.create(M),t},S.awrap=function(t){return{__await:t}},s(c.prototype),c.prototype[x]=function(){return this},S.AsyncIterator=c,S.async=function(t,e,n,i){var o=new c(r(t,e,n,i));return S.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},s(M),M[k]="Generator",M[w]=function(){return this},M.toString=function(){return"[object Generator]"},S.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},S.values=p,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(d),!t)for(var e in this)"t"===e.charAt(0)&&b.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=v)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,n){return o.type="throw",o.arg=t,r.next=e,n&&(r.method="next",r.arg=v),!!n}if(this.done)throw t;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=b.call(i,"catchLoc"),s=b.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&b.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,B):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),B},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),d(r),B}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;d(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:p(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=v),B}}}}(function(){return this}()||Function("return this")())},function(t,e,r){"use strict";e.__esModule=!0;var n=r(60),i=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(t){return function(){var e=t.apply(this,arguments);return new i.default((function(t,r){function n(o,a){try{var s=e[o](a),c=s.value}catch(t){return void r(t)}if(!s.done)return i.default.resolve(c).then((function(t){n("next",t)}),(function(t){n("throw",t)}));t(c)}return n("next")}))}}},function(t,e,r){t.exports={default:r(61),__esModule:!0}},function(t,e,r){r(33),r(34),r(42),r(73),r(85),r(86),t.exports=r(2).Promise},function(t,e,r){var n=r(20),i=r(21);t.exports=function(t){return function(e,r){var o,a,s=String(i(e)),c=n(r),l=s.length;return c<0||c>=l?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},function(t,e,r){"use strict";var n=r(38),i=r(17),o=r(19),a={};r(4)(a,r(1)("iterator"),(function(){return this})),t.exports=function(t,e,r){t.prototype=n(a,{next:i(1,r)}),o(t,e+" Iterator")}},function(t,e,r){var n=r(5),i=r(3),o=r(24);t.exports=r(7)?Object.defineProperties:function(t,e){i(t);for(var r,a=o(e),s=a.length,c=0;s>c;)n.f(t,r=a[c++],e[r]);return t}},function(t,e,r){var n=r(13);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,r){var n=r(9),i=r(40),o=r(67);t.exports=function(t){return function(e,r,a){var s,c=n(e),l=i(c.length),u=o(a,l);if(t&&r!=r){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===r)return t||u||0;return!t&&-1}}},function(t,e,r){var n=r(20),i=Math.max,o=Math.min;t.exports=function(t,e){return t=n(t),t<0?i(t+e,0):o(t,e)}},function(t,e,r){var n=r(8),i=r(69),o=r(25)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,r){var n=r(21);t.exports=function(t){return Object(n(t))}},function(t,e,r){"use strict";var n=r(71),i=r(72),o=r(12),a=r(9);t.exports=r(35)(Array,"Array",(function(t,e){this._t=a(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,i(1)):i(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,r){"use strict";var n,i,o,a,s=r(10),c=r(0),l=r(14),u=r(43),f=r(11),d=r(6),h=r(15),p=r(74),g=r(75),v=r(44),m=r(45).set,b=r(80)(),y=r(28),w=r(46),x=r(81),k=r(47),_=c.TypeError,S=c.process,P=S&&S.versions,T=P&&P.v8||"",I=c.Promise,C="process"==u(S),B=function(){},E=i=y.f,L=!!function(){try{var t=I.resolve(1),e=(t.constructor={})[r(1)("species")]=function(t){t(B,B)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(B)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),A=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var r=t._c;b((function(){for(var n=t._v,i=1==t._s,o=0;r.length>o;)!function(e){var r,o,a,s=i?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(i||(2==t._h&&D(t),t._h=1),!0===s?r=n:(u&&u.enter(),r=s(n),u&&(u.exit(),a=!0)),r===e.promise?l(_("Promise-chain cycle")):(o=A(r))?o.call(r,c,l):c(r)):l(n)}catch(t){u&&!a&&u.exit(),l(t)}}(r[o++]);t._c=[],t._n=!1,e&&!t._h&&O(t)}))}},O=function(t){m.call(c,(function(){var e,r,n,i=t._v,o=R(t);if(o&&(e=w((function(){C?S.emit("unhandledRejection",i,t):(r=c.onunhandledrejection)?r({promise:t,reason:i}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",i)})),t._h=C||R(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){m.call(c,(function(){var e;C?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},j=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()),M(e,!0))},N=function t(e){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(r=A(e))?b((function(){var i={_w:n,_d:!1};try{r.call(e,l(t,i,1),l(j,i,1))}catch(e){j.call(i,e)}})):(n._v=e,n._s=1,M(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};L||(I=function(t){p(this,I,"Promise","_h"),h(t),n.call(this);try{t(l(N,this,1),l(j,this,1))}catch(t){j.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(82)(I.prototype,{then:function(t,e){var r=E(v(this,I));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=C?S.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&M(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n;this.promise=t,this.resolve=l(N,t,1),this.reject=l(j,t,1)},y.f=E=function(t){return t===I||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!L,{Promise:I}),r(19)(I,"Promise"),r(83)("Promise"),a=r(2).Promise,f(f.S+f.F*!L,"Promise",{reject:function(t){var e=E(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!L),"Promise",{resolve:function(t){return k(s&&this===a?I:this,t)}}),f(f.S+f.F*!(L&&r(84)((function(t){I.all(t).catch(B)}))),"Promise",{all:function(t){var e=this,r=E(e),n=r.resolve,i=r.reject,o=w((function(){var r=[],o=0,a=1;g(t,!1,(function(t){var s=o++,c=!1;r.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,r[s]=t,--a||n(r))}),i)})),--a||n(r)}));return o.e&&i(o.v),r.promise},race:function(t){var e=this,r=E(e),n=r.reject,i=w((function(){g(t,!1,(function(t){e.resolve(t).then(r.resolve,n)}))}));return i.e&&n(i.v),r.promise}})},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}},function(t,e,r){var n=r(14),i=r(76),o=r(77),a=r(3),s=r(40),c=r(78),l={},u={};e=t.exports=function(t,e,r,f,d){var h,p,g,v,m=d?function(){return t}:c(t),b=n(r,f,e?2:1),y=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(h=s(t.length);h>y;y++)if((v=e?b(a(p=t[y])[0],p[1]):b(t[y]))===l||v===u)return v}else for(g=m.call(t);!(p=g.next()).done;)if((v=i(g,b,p.value,e))===l||v===u)return v};e.BREAK=l,e.RETURN=u},function(t,e,r){var n=r(3);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},function(t,e,r){var n=r(12),i=r(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[i]===t)}},function(t,e,r){var n=r(43),i=r(1)("iterator"),o=r(12);t.exports=r(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[n(t)]}},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)}},function(t,e,r){var n=r(0),i=r(45).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,c="process"==r(13)(a);t.exports=function(){var t,e,r,l=function(){var n,i;for(c&&(n=a.domain)&&n.exit();t;){i=t.fn,t=t.next;try{i()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(c)r=function(){a.nextTick(l)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);r=function(){u.then(l)}}else r=function(){i.call(n,l)};else{var f=!0,d=document.createTextNode("");new o(l).observe(d,{characterData:!0}),r=function(){d.data=f=!f}}return function(n){var i={fn:n,next:void 0};e&&(e.next=i),t||(t=i,r()),e=i}}},function(t,e,r){var n=r(0),i=n.navigator;t.exports=i&&i.userAgent||""},function(t,e,r){var n=r(4);t.exports=function(t,e,r){for(var i in e)r&&t[i]?t[i]=e[i]:n(t,i,e[i]);return t}},function(t,e,r){"use strict";var n=r(0),i=r(2),o=r(5),a=r(7),s=r(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:n[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,r){var n=r(1)("iterator"),i=!1;try{var o=[7][n]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:r=!0}},o[n]=function(){return a},t(o)}catch(t){}return r}},function(t,e,r){"use strict";var n=r(11),i=r(2),o=r(0),a=r(44),s=r(47);n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),r="function"==typeof t;return this.then(r?function(r){return s(e,t()).then((function(){return r}))}:t,r?function(r){return s(e,t()).then((function(){throw r}))}:t)}})},function(t,e,r){"use strict";var n=r(11),i=r(28),o=r(46);n(n.S,"Promise",{try:function(t){var e=i.f(this),r=o(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},function(t,e,r){function n(t,e,r){var n=e&&r||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null),t=t||{};var a=t.random||(t.rng||i)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,e)for(var s=0;s<16;++s)e[n+s]=a[s];return e||o(a)}var i=r(88),o=r(89);t.exports=n},function(t,e){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var n=new Uint8Array(16);t.exports=function(){return r(n),n}}else{var i=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),i[e]=t>>>((3&e)<<3)&255;return i}}},function(t,e){function r(t,e){var r=e||0,i=n;return[i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]]].join("")}for(var n=[],i=0;i<256;++i)n[i]=(i+256).toString(16).substr(1);t.exports=r},function(t,e,r){"use strict";function n(t){return""===t?t:"true"===t||"1"==t}e.a=n},function(t,r,n){"use strict";function i(t){this.mode=b.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,r=this.data.length;e<r;e++){var n=[],i=this.data.charCodeAt(e);i>65536?(n[0]=240|(1835008&i)>>>18,n[1]=128|(258048&i)>>>12,n[2]=128|(4032&i)>>>6,n[3]=128|63&i):i>2048?(n[0]=224|(61440&i)>>>12,n[1]=128|(4032&i)>>>6,n[2]=128|63&i):i>128?(n[0]=192|(1984&i)>>>6,n[1]=128|63&i):n[0]=i,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 o(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function a(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 s(t,e){this.totalCount=t,this.dataCount=e}function c(){this.buffer=[],this.length=0}function l(t,e,r,n,i,o){t.beginPath(),t.moveTo(e,r),t.arcTo(e+n,r,e+n,r+i,o),t.arcTo(e+n,r+i,e,r+i,o),t.arcTo(e,r+i,e,r,o),t.arcTo(e,r,e+n,r,o),t.closePath()}function u(t,e,r){return.3*t+.59*r+.11*r}function f(t,e,r,n,i,o,a){if(void 0===o)t.fillRect(e,r,n,i);else{t.drawImage(o,e,r,n,i,e,r,n,i);var s=t.fillStyle;t.fillStyle=a?"rgba(0, 0, 0, .5)":"rgba(255, 255, 255, .7)",t.fillRect(e,r,n,i),t.fillStyle=s}}function d(t,e,r,n,i){t.clearRect((e-2)*n,(r-2)*i,5*n,5*i),t.fillRect((e-2)*n,(r-2)*i,5*n,5*i)}function h(t,e,r,n,i){t.fillRect((e-2)*n,(r-2)*i,n,4*i),t.fillRect((e+2)*n,(r-2+1)*i,n,4*i),t.fillRect((e-2+1)*n,(r-2)*i,4*n,i),t.fillRect((e-2)*n,(r+2)*i,4*n,i),t.fillRect(e*n,r*i,n,i)}function p(t){var e,r,n,i,o={r:0,g:0,b:0},a=document.createElement("canvas"),s=a.getContext&&a.getContext("2d"),c=-4,l={r:0,g:0,b:0},u=0;if(!s)return o;n=a.height=t.naturalHeight||t.offsetHeight||t.height,r=a.width=t.naturalWidth||t.offsetWidth||t.width,s.drawImage(t,0,0);try{e=s.getImageData(0,0,r,n)}catch(t){return o}for(i=e.data.length;(c+=20)<i;)e.data[c]>200||e.data[c+1]>200||e.data[c+2]>200||(++u,l.r+=e.data[c],l.g+=e.data[c+1],l.b+=e.data[c+2]);return l.r=~~(l.r/u),l.g=~~(l.g/u),l.b=~~(l.b/u),l}var g,v=n(92),m=n(97);i.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)}},o.prototype={addData:function(t){var e=new i(t);this.dataList.push(e),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(){if(this.typeNumber<1){var t=1;for(t=1;t<40;t++){for(var e=s.getRSBlocks(t,this.errorCorrectLevel),r=new c,n=0,i=0;i<e.length;i++)n+=e[i].dataCount;for(i=0;i<this.dataList.length;i++){var o=this.dataList[i];r.put(o.mode,4),r.put(o.getLength(),x.getLengthInBits(o.mode,t)),o.write(r)}if(r.getLengthInBits()<=8*n)break}this.typeNumber=t}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[r][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=o.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},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]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},getBestMaskPattern:function(){for(var t=0,e=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=x.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 i=0;i<this.modules.length;i++)for(var o=1*i,a=0;a<this.modules[i].length;a++){var s=1*a,c=this.modules[i][a];c&&(n.beginFill(0,100),n.moveTo(s,o),n.lineTo(s+1,o),n.lineTo(s+1,o+1),n.lineTo(s,o+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=x.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var r=0;r<t.length;r++){var n=t[e],i=t[r];if(null==this.modules[n][i])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)this.modules[n+o][i+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(t){for(var e=x.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(r=0;r<18;r++){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=x.getBCHTypeInfo(r),i=0;i<15;i++){var o=!t&&1==(n>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;i<15;i++){o=!t&&1==(n>>i&1);i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var r=-1,n=this.moduleCount-1,i=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[n][a-s]){var c=!1;o<t.length&&(c=1==(t[o]>>>i&1));var l=x.getMask(e,n,a-s);l&&(c=!c),this.modules[n][a-s]=c,i--,-1==i&&(o++,i=7)}if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}}},o.PAD0=236,o.PAD1=17,o.createData=function(t,e,r){for(var n=s.getRSBlocks(t,e),i=new c,a=0;a<r.length;a++){var l=r[a];i.put(l.mode,4),i.put(l.getLength(),x.getLengthInBits(l.mode,t)),l.write(i)}var u=0;for(a=0;a<n.length;a++)u+=n[a].dataCount;if(i.getLengthInBits()>8*u)throw new Error("code length overflow. ("+i.getLengthInBits()+">"+8*u+")");for(i.getLengthInBits()+4<=8*u&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;;){if(i.getLengthInBits()>=8*u)break;if(i.put(o.PAD0,8),i.getLengthInBits()>=8*u)break;i.put(o.PAD1,8)}return o.createBytes(i,n)},o.createBytes=function(t,e){for(var r=0,n=0,i=0,o=new Array(e.length),s=new Array(e.length),c=0;c<e.length;c++){var l=e[c].dataCount,u=e[c].totalCount-l;n=Math.max(n,l),i=Math.max(i,u),o[c]=new Array(l);for(var f=0;f<o[c].length;f++)o[c][f]=255&t.buffer[f+r];r+=l;var d=x.getErrorCorrectPolynomial(u),h=new a(o[c],d.getLength()-1),p=h.mod(d);s[c]=new Array(d.getLength()-1);for(f=0;f<s[c].length;f++){var g=f+p.getLength()-s[c].length;s[c][f]=g>=0?p.get(g):0}}var v=0;for(f=0;f<e.length;f++)v+=e[f].totalCount;var m=new Array(v),b=0;for(f=0;f<n;f++)for(c=0;c<e.length;c++)f<o[c].length&&(m[b++]=o[c][f]);for(f=0;f<i;f++)for(c=0;c<e.length;c++)f<s[c].length&&(m[b++]=s[c][f]);return m};for(var b={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},y={L:1,M:0,Q:3,H:2},w={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},x={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;x.getBCHDigit(e)-x.getBCHDigit(x.G15)>=0;)e^=x.G15<<x.getBCHDigit(e)-x.getBCHDigit(x.G15);return(t<<10|e)^x.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;x.getBCHDigit(e)-x.getBCHDigit(x.G18)>=0;)e^=x.G18<<x.getBCHDigit(e)-x.getBCHDigit(x.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return x.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case w.PATTERN000:return(e+r)%2==0;case w.PATTERN001:return e%2==0;case w.PATTERN010:return r%3==0;case w.PATTERN011:return(e+r)%3==0;case w.PATTERN100:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case w.PATTERN101:return e*r%2+e*r%3==0;case w.PATTERN110:return(e*r%2+e*r%3)%2==0;case w.PATTERN111:return(e*r%3+(e+r)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new a([1],0),r=0;r<t;r++)e=e.multiply(new a([1,k.gexp(r)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case b.MODE_NUMBER:return 10;case b.MODE_ALPHA_NUM:return 9;case b.MODE_8BIT_BYTE:case b.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case b.MODE_NUMBER:return 12;case b.MODE_ALPHA_NUM:return 11;case b.MODE_8BIT_BYTE:return 16;case b.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case b.MODE_NUMBER:return 14;case b.MODE_ALPHA_NUM:return 13;case b.MODE_8BIT_BYTE:return 16;case b.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 i=0;i<e;i++){for(var o=0,a=t.isDark(n,i),s=-1;s<=1;s++)if(!(n+s<0||e<=n+s))for(var c=-1;c<=1;c++)i+c<0||e<=i+c||0==s&&0==c||a==t.isDark(n+s,i+c)&&o++;o>5&&(r+=3+o-5)}for(n=0;n<e-1;n++)for(i=0;i<e-1;i++){var l=0;t.isDark(n,i)&&l++,t.isDark(n+1,i)&&l++,t.isDark(n,i+1)&&l++,t.isDark(n+1,i+1)&&l++,0!=l&&4!=l||(r+=3)}for(n=0;n<e;n++)for(i=0;i<e-6;i++)t.isDark(n,i)&&!t.isDark(n,i+1)&&t.isDark(n,i+2)&&t.isDark(n,i+3)&&t.isDark(n,i+4)&&!t.isDark(n,i+5)&&t.isDark(n,i+6)&&(r+=40);for(i=0;i<e;i++)for(n=0;n<e-6;n++)t.isDark(n,i)&&!t.isDark(n+1,i)&&t.isDark(n+2,i)&&t.isDark(n+3,i)&&t.isDark(n+4,i)&&!t.isDark(n+5,i)&&t.isDark(n+6,i)&&(r+=40);var u=0;for(i=0;i<e;i++)for(n=0;n<e;n++)t.isDark(n,i)&&u++;return r+Math.abs(100*u/e/e-50)/5*10}},k={glog:function(t){if(t<1)throw new Error("glog("+t+")");return k.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return k.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},_=0;_<8;_++)k.EXP_TABLE[_]=1<<_;for(_=8;_<256;_++)k.EXP_TABLE[_]=k.EXP_TABLE[_-4]^k.EXP_TABLE[_-5]^k.EXP_TABLE[_-6]^k.EXP_TABLE[_-8];for(_=0;_<255;_++)k.LOG_TABLE[k.EXP_TABLE[_]]=_;a.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),r=0;r<this.getLength();r++)for(var n=0;n<t.getLength();n++)e[r+n]^=k.gexp(k.glog(this.get(r))+k.glog(t.get(n)));return new a(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=k.glog(this.get(0))-k.glog(t.get(0)),r=new Array(this.getLength()),n=0;n<this.getLength();n++)r[n]=this.get(n);for(n=0;n<t.getLength();n++)r[n]^=k.gexp(k.glog(t.get(n))+e);return new a(r,0).mod(t)}},s.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]],s.getRSBlocks=function(t,e){var r=s.getRsBlockTable(t,e);if(void 0==r)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var n=r.length/3,i=[],o=0;o<n;o++)for(var a=r[3*o+0],c=r[3*o+1],l=r[3*o+2],u=0;u<a;u++)i.push(new s(c,l));return i},s.getRsBlockTable=function(t,e){switch(e){case y.L:return s.RS_BLOCK_TABLE[4*(t-1)+0];case y.M:return s.RS_BLOCK_TABLE[4*(t-1)+1];case y.Q:return s.RS_BLOCK_TABLE[4*(t-1)+2];case y.H:return s.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},c.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 S=function(){function t(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}function r(t,e){var r=this;if(r._fFail=e,r._fSuccess=t,null===r._bSupportDataURI){var n=document.createElement("img"),i=function(){r._bSupportDataURI=!1,r._fFail&&r._fFail.call(r)},o=function(){r._bSupportDataURI=!0,r._fSuccess&&r._fSuccess.call(r)};return n.onabort=i,n.onerror=i,n.onload=o,void(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)}var n=function(t){this._bIsPainted=!1,this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.size,this._elCanvas.height=t.size,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._bSupportDataURI=null,this._callback=t.callback,this._bindElement=t.bindElement};return n.prototype.draw=function(t){var r=this._elImage,n=document.createElement("canvas"),i=n.getContext("2d"),o=this._htOption,a=t.getModuleCount(),s=o.size,c=o.margin;(c<0||2*c>=s)&&(c=0);var g=Math.ceil(c),b=s-2*c,y=o.whiteMargin,w=o.backgroundDimming,k=Math.ceil(b/a),_=k*a,S=_+2*g,P=void 0,T=void 0;n.width=S,n.height=S;var I=o.dotScale;if(r.style.display="none",this.clear(),I<=0||I>1)throw new Error("Scale should be in range (0, 1).");i.save(),i.translate(g,g);var C=document.createElement("canvas");C.width=S,C.height=S;var B=C.getContext("2d"),E=void 0,L=void 0;if(void 0!==o.gifBackground){var A=new v.a(o.gifBackground);if(!A.raw.hasImages)throw new Error("An invalid gif has been selected as the background.");if(P=A,T=A.decompressFrames(!0),o.autoColor){for(var M=0,O=0,R=0,D=0,j=0;j<T[0].colorTable.length;j++){var N=T[0].colorTable[j];N[0]>200||N[1]>200||N[2]>200||0===N[0]&&0===N[1]&&0===N[2]||(D++,M+=N[0],O+=N[1],R+=N[2])}M=~~(M/D),O=~~(O/D),R=~~(R/D),o.colorDark="rgb("+M+", "+O+", "+R+")"}}else if(void 0!==o.backgroundImage){if(o.autoColor){var F=p(o.backgroundImage);o.colorDark="rgb("+F.r+", "+F.g+", "+F.b+")"}o.maskedDots?(E=document.createElement("canvas"),E.width=S,E.height=S,L=E.getContext("2d"),L.drawImage(o.backgroundImage,0,0,o.backgroundImage.width,o.backgroundImage.height,0,0,S,S),B.rect(0,0,S,S),B.fillStyle="#ffffff",B.fill()):(B.drawImage(o.backgroundImage,0,0,o.backgroundImage.width,o.backgroundImage.height,0,0,S,S),B.rect(0,0,S,S),B.fillStyle=w,B.fill())}else B.rect(0,0,S,S),B.fillStyle=o.backgroundColor,B.fill();o.binarize&&(o.colorDark="#000000",o.colorLight="#FFFFFF");for(var z=x.getPatternPosition(t.typeNumber),U=.5*(1-I),V=0;V<a;V++)for(var G=0;G<a;G++){var W=t.isDark(V,G),Q=G<8&&(V<8||V>=a-8)||G>=a-8&&V<8,q=6===V||6===G||Q;for(j=0;j<z.length-1;j++)q=q||V>=z[j]-2&&V<=z[j]+2&&G>=z[j]-2&&G<=z[j]+2;var H=G*k+(q?0:U*k),J=V*k+(q?0:U*k);if(i.strokeStyle=W?o.colorDark:o.colorLight,i.lineWidth=.5,i.fillStyle=W?o.colorDark:"rgba(255, 255, 255, 0.6)",0===z.length)q||f(i,H,J,(q?1:I)*k,(q?1:I)*k,E,W);else{var K=G<a-4&&G>=a-4-5&&V<a-4&&V>=a-4-5;q||K||f(i,H,J,(q?1:I)*k,(q?1:I)*k,E,W)}}var X=o.colorLight;i.fillStyle=X,i.fillRect(0,0,8*k,8*k),i.fillRect(0,(a-8)*k,8*k,8*k),i.fillRect((a-8)*k,0,8*k,8*k),i.fillRect(8*k,6*k,(a-8-8)*k,k),i.fillRect(6*k,8*k,k,(a-8-8)*k);var $=z[z.length-1];for(j=0;j<z.length;j++)for(var Y=0;Y<z.length;Y++){var Z=z[Y],tt=z[j];(6!==Z||6!==tt&&tt!==$)&&(6!==tt||6!==Z&&Z!==$)&&d(i,Z,tt,k,k)}i.fillStyle=o.colorDark,i.fillRect(0,0,7*k,k),i.fillRect((a-7)*k,0,7*k,k),i.fillRect(0,6*k,7*k,k),i.fillRect((a-7)*k,6*k,7*k,k),i.fillRect(0,(a-7)*k,7*k,k),i.fillRect(0,(a-7+6)*k,7*k,k),i.fillRect(0,0,k,7*k),i.fillRect(6*k,0,k,7*k),i.fillRect((a-7)*k,0,k,7*k),i.fillRect((a-7+6)*k,0,k,7*k),i.fillRect(0,(a-7)*k,k,7*k),i.fillRect(6*k,(a-7)*k,k,7*k),i.fillRect(2*k,2*k,3*k,3*k),i.fillRect((a-7+2)*k,2*k,3*k,3*k),i.fillRect(2*k,(a-7+2)*k,3*k,3*k);for(j=0;j<a-8;j+=2)i.fillRect((8+j)*k,6*k,k,k),i.fillRect(6*k,(8+j)*k,k,k);for(j=0;j<z.length;j++)for(Y=0;Y<z.length;Y++){Z=z[Y],tt=z[j];(6!==Z||6!==tt&&tt!==$)&&(6!==tt||6!==Z&&Z!==$)&&(6!==Z&&Z!==$&&6!==tt&&tt!==$?(i.fillStyle=o.colorLight,h(i,Z,tt,k,k)):(i.fillStyle=o.colorDark,h(i,Z,tt,k,k)))}if(y&&(i.fillStyle=o.backgroundColor,i.fillRect(-g,-g,S,g),i.fillRect(-g,_,S,g),i.fillRect(_,-g,g,S),i.fillRect(-g,-g,g,S)),void 0!==o.logoImage){var et=o.logoScale,rt=o.logoMargin,nt=o.logoCornerRadius;(et<=0||et>=1)&&(et=.2),rt<0&&(rt=0),nt<0&&(nt=0),i.restore(),i.translate(g,g);var it=_*et,ot=.5*(_-it),at=ot;i.fillStyle=o.logoBackgroundColor,i.save(),l(i,ot-rt,at-rt,it+2*rt,it+2*rt,nt),i.clip(),i.fill(),i.restore(),i.save(),l(i,ot,at,it,it,nt),i.clip(),i.drawImage(o.logoImage,ot,at,it,it),i.restore()}if(void 0===P){if(B.drawImage(n,0,0,S,S),i.drawImage(C,-g,-g,S,S),o.binarize){var st=i.getImageData(0,0,S,S),ct=128;parseInt(o.binarizeThreshold)>0&&parseInt(o.binarizeThreshold)<255&&(ct=parseInt(o.binarizeThreshold));for(j=0;j<st.data.length;j+=4)u(st.data[j],st.data[j+1],st.data[j+2])>ct?(st.data[j]=255,st.data[j+1]=255,st.data[j+2]=255):(st.data[j]=0,st.data[j+1]=0,st.data[j+2]=0);i.putImageData(st,0,0)}var lt=document.createElement("canvas"),ut=lt.getContext("2d");if(lt.width=s,lt.height=s,ut.drawImage(n,0,0,s,s),this._elCanvas=lt,this._bIsPainted=!0,void 0!==this._callback&&this._callback(this._elCanvas.toDataURL()),void 0!==this._bindElement)try{var ft=document.getElementById(this._bindElement);if("IMG"===ft.nodeName)ft.src=this._elCanvas.toDataURL();else{var dt=ft.style;dt["background-image"]="url("+this._elCanvas.toDataURL()+")",dt["background-size"]="contain",dt["background-repeat"]="no-repeat"}}catch(t){e.error(t)}}else{var ht,pt,gt,vt,mt=document.createElement("canvas"),bt=mt.getContext("2d");if(T.forEach((function(t){void 0===ht&&(ht=new m.a({workers:4,quality:10,width:s,height:s})),void 0===pt&&(pt=document.createElement("canvas"),gt=pt.getContext("2d"),pt.width=t.dims.width,pt.height=t.dims.height,gt.rect(0,0,pt.width,pt.height),gt.fillStyle="#ffffff",gt.fill()),vt&&t.dims.width===mt.width&&t.dims.height===mt.height||(mt.width=t.dims.width,mt.height=t.dims.height,vt=bt.createImageData(t.dims.width,t.dims.height)),vt.data.set(t.patch),bt.putImageData(vt,0,0),gt.drawImage(mt,t.dims.left,t.dims.top);var e=document.createElement("canvas");e.width=S,e.height=S;var r=e.getContext("2d");r.drawImage(pt,0,0,S,S),r.drawImage(n,0,0,S,S);var i=document.createElement("canvas"),o=i.getContext("2d");i.width=s,i.height=s,o.drawImage(e,0,0,s,s),ht.addFrame(o,{copy:!0,delay:t.delay})})),void 0===ht)throw new Error("No frames.");var yt=this;ht.on("finished",(function(t){var r=new FileReader;r.onload=function(t){var r=t.target.result;if(yt._bIsPainted=!0,void 0!==yt._callback&&yt._callback(r),void 0!==yt._bindElement)try{var n=document.getElementById(yt._bindElement);if("IMG"===n.nodeName)n.src=r;else{var i=n.style;i["background-image"]="url("+r+")",i["background-size"]="contain",i["background-repeat"]="no-repeat"}}catch(t){e.error(t)}},r.readAsDataURL(t)})),ht.render()}},n.prototype.makeImage=function(){this._bIsPainted&&r.call(this,t)},n.prototype.isPainted=function(){return this._bIsPainted},n.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},n.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},n}();g=function(){},g.prototype.create=function(t){if(this._htOption={size:800,margin:20,typeNumber:4,colorDark:"#000000",colorLight:"rgba(255, 255, 255, 0.6)",logoBackgroundColor:"#ffffff",correctLevel:y.M,backgroundImage:void 0,backgroundDimming:"rgba(0,0,0,0)",logoImage:void 0,logoScale:.2,logoMargin:6,logoCornerRadius:8,whiteMargin:!0,dotScale:.35,maskedDots:!1,autoColor:!0,binarize:!1,binarizeThreshold:128,gifBackground:void 0,callback:void 0,bindElement:void 0,backgroundColor:"#ffffff"},"string"==typeof t&&(t={text:t}),t)for(var e in t)this._htOption[e]=t[e];this._oQRCode=null,this._oDrawing=new S(this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},g.prototype.makeCode=function(t){this._oQRCode=new o(-1,this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._oDrawing.draw(this._oQRCode),this.makeImage()},g.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&this._oDrawing.makeImage()},g.prototype.clear=function(){this._oDrawing.clear()},g.CorrectLevel=y,r.a=g},function(t,e,r){"use strict";function n(t){var e=new Uint8Array(t),r=new i.a(e);this.raw=r.parse(o.a),this.raw.hasImages=!1;for(var n=0;n<this.raw.frames.length;n++)if(this.raw.frames[n].image){this.raw.hasImages=!0;break}}var i=r(93),o=r(95);n.prototype.decompressFrame=function(t,e){if(t>=this.raw.frames.length)return null;var r=this.raw.frames[t];if(r.image){var n=r.image.descriptor.width*r.image.descriptor.height,i=function(t,e,r){var n,i,o,a,s,c,l,u,f,d,h,p,g,v,m,b,y=r,w=new Array(r),x=new Array(4096),k=new Array(4096),_=new Array(4097);for(p=t,i=1<<p,s=i+1,n=i+2,l=-1,a=p+1,o=(1<<a)-1,f=0;f<i;f++)x[f]=0,k[f]=f;for(h=u=g=v=b=m=0,d=0;d<y;){if(0===v){if(u<a){h+=e[m]<<u,u+=8,m++;continue}if(f=h&o,h>>=a,u-=a,f>n||f==s)break;if(f==i){a=p+1,o=(1<<a)-1,n=i+2,l=-1;continue}if(-1==l){_[v++]=k[f],l=f,g=f;continue}for(c=f,f==n&&(_[v++]=g,f=l);f>i;)_[v++]=k[f],f=x[f];g=255&k[f],_[v++]=g,n<4096&&(x[n]=l,k[n]=g,0==(++n&o)&&n<4096&&(a++,o+=n)),l=c}v--,w[b++]=_[v],d++}for(d=b;d<y;d++)w[d]=0;return w}(r.image.data.minCodeSize,r.image.data.blocks,n);r.image.descriptor.lct.interlaced&&(i=function(t,e){for(var r=new Array(t.length),n=t.length/e,i=[0,4,2,1],o=[8,8,4,2],a=0,s=0;s<4;s++)for(var c=i[s];c<n;c+=o[s])!function(n,i){var o=t.slice(i*e,(i+1)*e);r.splice.apply(r,[n*e,e].concat(o))}(c,a),a++;return r}(i,r.image.descriptor.width));var o={pixels:i,dims:{top:r.image.descriptor.top,left:r.image.descriptor.left,width:r.image.descriptor.width,height:r.image.descriptor.height}};return r.image.descriptor.lct&&r.image.descriptor.lct.exists?o.colorTable=r.image.lct:o.colorTable=this.raw.gct,r.gce&&(o.delay=10*(r.gce.delay||10),o.disposalType=r.gce.extras.disposal,r.gce.extras.transparentColorGiven&&(o.transparentIndex=r.gce.transparentColorIndex)),e&&(o.patch=function(t){for(var e=t.pixels.length,r=new Uint8ClampedArray(4*e),n=0;n<e;n++){var i=4*n,o=t.pixels[n],a=t.colorTable[o];r[i]=a[0],r[i+1]=a[1],r[i+2]=a[2],r[i+3]=o!==t.transparentIndex?255:0}return r}(o)),o}return null},n.prototype.decompressFrames=function(t){for(var e=[],r=0;r<this.raw.frames.length;r++)this.raw.frames[r].image&&e.push(this.decompressFrame(r,t));return e},e.a=n},function(t,e,r){"use strict";function n(t){this.stream=new o.a(t),this.output={}}function i(t){return t.reduce((function(t,e){return 2*t+e}),0)}var o=r(94);n.prototype.parse=function(t){return this.parseParts(this.output,t),this.output},n.prototype.parseParts=function(t,e){for(var r=0;r<e.length;r++){var n=e[r];this.parsePart(t,n)}},n.prototype.parsePart=function(t,e){var r,n=e.label;if(!e.requires||e.requires(this.stream,this.output,t))if(e.loop){for(var i=[];e.loop(this.stream);){var o={};this.parseParts(o,e.parts),i.push(o)}t[n]=i}else e.parts?(r={},this.parseParts(r,e.parts),t[n]=r):e.parser?(r=e.parser(this.stream,this.output,t),e.skip||(t[n]=r)):e.bits&&(t[n]=this.parseBits(e.bits))},n.prototype.parseBits=function(t){var e={},r=this.stream.readBitArray();for(var n in t){var o=t[n];o.length?e[n]=i(r.slice(o.index,o.index+o.length)):e[n]=r[o.index]}return e},e.a=n},function(t,e,r){"use strict";function n(t){this.data=t,this.pos=0}n.prototype.readByte=function(){return this.data[this.pos++]},n.prototype.peekByte=function(){return this.data[this.pos]},n.prototype.readBytes=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=this.readByte();return e},n.prototype.peekBytes=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=this.data[this.pos+r];return e},n.prototype.readString=function(t){for(var e="",r=0;r<t;r++)e+=String.fromCharCode(this.readByte());return e},n.prototype.readBitArray=function(){for(var t=[],e=this.readByte(),r=7;r>=0;r--)t.push(!!(e&1<<r));return t},n.prototype.readUnsigned=function(t){var e=this.readBytes(2);return t?(e[1]<<8)+e[0]:(e[0]<<8)+e[1]},e.a=n},function(t,e,r){"use strict";var n=r(96),i={label:"blocks",parser:function(t){for(var e=[],r=t.readByte();0!==r;r=t.readByte())e=e.concat(t.readBytes(r));return e}},o={label:"gce",requires:function(t){var e=t.peekBytes(2);return 33===e[0]&&249===e[1]},parts:[{label:"codes",parser:n.a.readBytes(2),skip:!0},{label:"byteSize",parser:n.a.readByte()},{label:"extras",bits:{future:{index:0,length:3},disposal:{index:3,length:3},userInput:{index:6},transparentColorGiven:{index:7}}},{label:"delay",parser:n.a.readUnsigned(!0)},{label:"transparentColorIndex",parser:n.a.readByte()},{label:"terminator",parser:n.a.readByte(),skip:!0}]},a={label:"image",requires:function(t){return 44===t.peekByte()},parts:[{label:"code",parser:n.a.readByte(),skip:!0},{label:"descriptor",parts:[{label:"left",parser:n.a.readUnsigned(!0)},{label:"top",parser:n.a.readUnsigned(!0)},{label:"width",parser:n.a.readUnsigned(!0)},{label:"height",parser:n.a.readUnsigned(!0)},{label:"lct",bits:{exists:{index:0},interlaced:{index:1},sort:{index:2},future:{index:3,length:2},size:{index:5,length:3}}}]},{label:"lct",requires:function(t,e,r){return r.descriptor.lct.exists},parser:n.a.readArray(3,(function(t,e,r){return Math.pow(2,r.descriptor.lct.size+1)}))},{label:"data",parts:[{label:"minCodeSize",parser:n.a.readByte()},i]}]},s={label:"text",requires:function(t){var e=t.peekBytes(2);return 33===e[0]&&1===e[1]},parts:[{label:"codes",parser:n.a.readBytes(2),skip:!0},{label:"blockSize",parser:n.a.readByte()},{label:"preData",parser:function(t,e,r){return t.readBytes(r.text.blockSize)}},i]},c={label:"application",requires:function(t,e,r){var n=t.peekBytes(2);return 33===n[0]&&255===n[1]},parts:[{label:"codes",parser:n.a.readBytes(2),skip:!0},{label:"blockSize",parser:n.a.readByte()},{label:"id",parser:function(t,e,r){return t.readString(r.blockSize)}},i]},l={label:"comment",requires:function(t,e,r){var n=t.peekBytes(2);return 33===n[0]&&254===n[1]},parts:[{label:"codes",parser:n.a.readBytes(2),skip:!0},i]},u={label:"frames",parts:[o,c,l,a,s],loop:function(t){var e=t.peekByte();return 33===e||44===e}},f=[{label:"header",parts:[{label:"signature",parser:n.a.readString(3)},{label:"version",parser:n.a.readString(3)}]},{label:"lsd",parts:[{label:"width",parser:n.a.readUnsigned(!0)},{label:"height",parser:n.a.readUnsigned(!0)},{label:"gct",bits:{exists:{index:0},resolution:{index:1,length:3},sort:{index:4},size:{index:5,length:3}}},{label:"backgroundColorIndex",parser:n.a.readByte()},{label:"pixelAspectRatio",parser:n.a.readByte()}]},{label:"gct",requires:function(t,e){return e.lsd.gct.exists},parser:n.a.readArray(3,(function(t,e){return Math.pow(2,e.lsd.gct.size+1)}))},u];e.a=f},function(t,e,r){"use strict";var n={readByte:function(){return function(t){return t.readByte()}},readBytes:function(t){return function(e){return e.readBytes(t)}},readString:function(t){return function(e){return e.readString(t)}},readUnsigned:function(t){return function(e){return e.readUnsigned(t)}},readArray:function(t,e){return function(r,n,i){for(var o=e(r,n,i),a=new Array(o),s=0;s<o;s++)a[s]=r.readBytes(t);return a}}};e.a=n},function(t,r,n){"use strict";function i(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(t){return"function"==typeof t}function a(t){return"number"==typeof t}function s(t){return"object"===(void 0===t?"undefined":g()(t))&&null!==t}function c(t){return void 0===t}var l,u,f,d,h,p=n(98),g=n.n(p);i.EventEmitter=i,i.prototype._events=void 0,i.prototype._maxListeners=void 0,i.defaultMaxListeners=10,i.prototype.setMaxListeners=function(t){if(!a(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},i.prototype.emit=function(t){var e,r,n,i,a,l;if(this._events||(this._events={}),"error"===t&&(!this._events.error||s(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var u=new Error('Uncaught, unspecified "error" event. ('+e+")");throw u.context=e,u}if(r=this._events[t],c(r))return!1;if(o(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),r.apply(this,i)}else if(s(r))for(i=Array.prototype.slice.call(arguments,1),l=r.slice(),n=l.length,a=0;a<n;a++)l[a].apply(this,i);return!0},i.prototype.addListener=function(t,r){var n;if(!o(r))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,o(r.listener)?r.listener:r),this._events[t]?s(this._events[t])?this._events[t].push(r):this._events[t]=[this._events[t],r]:this._events[t]=r,s(this._events[t])&&!this._events[t].warned&&(n=c(this._maxListeners)?i.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[t].length>n&&(this._events[t].warned=!0,e.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof e.trace&&e.trace()),this},i.prototype.on=i.prototype.addListener,i.prototype.once=function(t,e){function r(){this.removeListener(t,r),n||(n=!0,e.apply(this,arguments))}if(!o(e))throw TypeError("listener must be a function");var n=!1;return r.listener=e,this.on(t,r),this},i.prototype.removeListener=function(t,e){var r,n,i,a;if(!o(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(r=this._events[t],i=r.length,n=-1,r===e||o(r.listener)&&r.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(s(r)){for(a=i;a-- >0;)if(r[a]===e||r[a].listener&&r[a].listener===e){n=a;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},i.prototype.removeAllListeners=function(t){var e,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],o(r))this.removeListener(t,r);else if(r)for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},i.prototype.listeners=function(t){return this._events&&this._events[t]?o(this._events[t])?[this._events[t]]:this._events[t].slice():[]},i.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(o(e))return 1;if(e)return e.length}return 0},i.listenerCount=function(t,e){return t.listenerCount(e)},h=navigator.userAgent.toLowerCase(),d=navigator.platform.toLowerCase(),l=h.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)||[null,"unknown",0],f="ie"===l[1]&&document.documentMode,u={name:"version"===l[1]?l[3]:l[1],version:f||parseFloat("opera"===l[1]&&l[4]?l[4]:l[2]),platform:{name:h.match(/ip(?:ad|od|hone)/)?"ios":(h.match(/(?:webos|android)/)||d.match(/mac|win|linux/)||["other"])[0]}},u[u.name]=!0,u[u.name+parseInt(u.version,10)]=!0,u.platform[u.platform.name]=!0;var v=function(t,e){function r(){this.constructor=t}for(var n in e)m.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},m={}.hasOwnProperty,b=[].indexOf||function(t){for(var e=0,r=this.length;e<r;e++)if(e in this&&this[e]===t)return e;return-1},y=[].slice,w=function(t){function r(t){var e,r,n;for(r in this.running=!1,this.options={},this.frames=[],this.freeWorkers=[],this.activeWorkers=[],this.setOptions(t),i)n=i[r],null==(e=this.options)[r]&&(e[r]=n)}var i,o;v(r,t);var a=n(50);return i={workerScript:a,workers:2,repeat:0,background:"#fff",quality:10,width:null,height:null,transparent:null,debug:!1,dither:!1},o={delay:500,copy:!1},r.prototype.setOption=function(t,e){if(this.options[t]=e,null!=this._canvas&&("width"===t||"height"===t))return this._canvas[t]=e},r.prototype.setOptions=function(t){var e,r,n;for(e in r=[],t)m.call(t,e)&&(n=t[e],r.push(this.setOption(e,n)));return r},r.prototype.addFrame=function(t,e){var r,n;for(n in null==e&&(e={}),r={},r.transparent=this.options.transparent,o)r[n]=e[n]||o[n];if(null==this.options.width&&this.setOption("width",t.width),null==this.options.height&&this.setOption("height",t.height),"undefined"!=typeof ImageData&&null!==ImageData&&t instanceof ImageData)r.data=t.data;else if("undefined"!=typeof CanvasRenderingContext2D&&null!==CanvasRenderingContext2D&&t instanceof CanvasRenderingContext2D||"undefined"!=typeof WebGLRenderingContext&&null!==WebGLRenderingContext&&t instanceof WebGLRenderingContext)e.copy?r.data=this.getContextData(t):r.context=t;else{if(null==t.childNodes)throw new Error("Invalid image");e.copy?r.data=this.getImageData(t):r.image=t}return this.frames.push(r)},r.prototype.render=function(){var t,e,r;if(this.running)throw new Error("Already running");if(null==this.options.width||null==this.options.height)throw new Error("Width and height must be set prior to rendering");if(this.running=!0,this.nextFrame=0,this.finishedFrames=0,this.imageParts=function(){var t,e,r;for(r=[],t=0,e=this.frames.length;0<=e?t<e:t>e;0<=e?++t:--t)r.push(null);return r}.call(this),e=this.spawnWorkers(),!0===this.options.globalPalette)this.renderNextFrame();else for(t=0,r=e;0<=r?t<r:t>r;0<=r?++t:--t)this.renderNextFrame();return this.emit("start"),this.emit("progress",0)},r.prototype.abort=function(){for(var t;;){if(null==(t=this.activeWorkers.shift()))break;this.log("killing active worker"),t.terminate()}return this.running=!1,this.emit("abort")},r.prototype.spawnWorkers=function(){var t,e,r;return t=Math.min(this.options.workers,this.frames.length),function(){r=[];for(var n=e=this.freeWorkers.length;e<=t?n<t:n>t;e<=t?n++:n--)r.push(n);return r}.apply(this).forEach(function(t){return function(e){var r;t.log("spawning worker "+e);var i=n(50);return r=new i,r.onmessage=function(e){return t.activeWorkers.splice(t.activeWorkers.indexOf(r),1),t.freeWorkers.push(r),t.frameFinished(e.data)},t.freeWorkers.push(r)}}(this)),t},r.prototype.frameFinished=function(t){var e,r;if(this.log("frame "+t.index+" finished - "+this.activeWorkers.length+" active"),this.finishedFrames++,this.emit("progress",this.finishedFrames/this.frames.length),this.imageParts[t.index]=t,!0===this.options.globalPalette&&(this.options.globalPalette=t.globalPalette,this.log("global palette analyzed"),this.frames.length>2))for(e=1,r=this.freeWorkers.length;1<=r?e<r:e>r;1<=r?++e:--e)this.renderNextFrame();return b.call(this.imageParts,null)>=0?this.renderNextFrame():this.finishRendering()},r.prototype.finishRendering=function(){var t,e,r,n,i,o,a,s,c,l,u,f,d,h,p,g;for(s=0,h=this.imageParts,i=0,c=h.length;i<c;i++)e=h[i],s+=(e.data.length-1)*e.pageSize+e.cursor;for(s+=e.pageSize-e.cursor,this.log("rendering finished - filesize "+Math.round(s/1e3)+"kb"),t=new Uint8Array(s),f=0,p=this.imageParts,o=0,l=p.length;o<l;o++)for(e=p[o],g=e.data,r=a=0,u=g.length;a<u;r=++a)d=g[r],t.set(d,f),r===e.data.length-1?f+=e.cursor:f+=e.pageSize;return n=new Blob([t],{type:"image/gif"}),this.emit("finished",n,t)},r.prototype.renderNextFrame=function(){var t,e,r;if(0===this.freeWorkers.length)throw new Error("No free workers");if(!(this.nextFrame>=this.frames.length))return t=this.frames[this.nextFrame++],r=this.freeWorkers.shift(),e=this.getTask(t),this.log("starting frame "+(e.index+1)+" of "+this.frames.length),this.activeWorkers.push(r),r.postMessage(e)},r.prototype.getContextData=function(t){return t.getImageData(0,0,this.options.width,this.options.height).data},r.prototype.getImageData=function(t){var e;return null==this._canvas&&(this._canvas=document.createElement("canvas"),this._canvas.width=this.options.width,this._canvas.height=this.options.height),e=this._canvas.getContext("2d"),e.setFill=this.options.background,e.fillRect(0,0,this.options.width,this.options.height),e.drawImage(t,0,0),this.getContextData(e)},r.prototype.getTask=function(t){var e,r;if(e=this.frames.indexOf(t),r={index:e,last:e===this.frames.length-1,delay:t.delay,transparent:t.transparent,width:this.options.width,height:this.options.height,quality:this.options.quality,dither:this.options.dither,globalPalette:this.options.globalPalette,repeat:this.options.repeat,canTransfer:"chrome"===u.name},null!=t.data)r.data=t.data;else if(null!=t.context)r.data=this.getContextData(t.context);else{if(null==t.image)throw new Error("Invalid frame");r.data=this.getImageData(t.image)}return r},r.prototype.log=function(){var t;if(t=1<=arguments.length?y.call(arguments,0):[],this.options.debug)return e.log.apply(e,t)},r}(i);r.a=w},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=r(99),o=n(i),a=r(101),s=n(a),c="function"==typeof s.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":typeof t};e.default="function"==typeof s.default&&"symbol"===c(o.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":void 0===t?"undefined":c(t)}},function(t,e,r){t.exports={default:r(100),__esModule:!0}},function(t,e,r){r(34),r(42),t.exports=r(29).f("iterator")},function(t,e,r){t.exports={default:r(102),__esModule:!0}},function(t,e,r){r(103),r(33),r(109),r(110),t.exports=r(2).Symbol},function(t,e,r){"use strict";var n=r(0),i=r(8),o=r(7),a=r(11),s=r(37),c=r(104).KEY,l=r(16),u=r(26),f=r(19),d=r(18),h=r(1),p=r(29),g=r(30),v=r(105),m=r(106),b=r(3),y=r(6),w=r(9),x=r(23),k=r(17),_=r(38),S=r(107),P=r(108),T=r(5),I=r(24),C=P.f,B=T.f,E=S.f,L=n.Symbol,A=n.JSON,M=A&&A.stringify,O=h("_hidden"),R=h("toPrimitive"),D={}.propertyIsEnumerable,j=u("symbol-registry"),N=u("symbols"),F=u("op-symbols"),z=Object.prototype,U="function"==typeof L,V=n.QObject,G=!V||!V.prototype||!V.prototype.findChild,W=o&&l((function(){return 7!=_(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=C(z,e);n&&delete z[e],B(t,e,r),n&&t!==z&&B(z,e,n)}:B,Q=function(t){var e=N[t]=_(L.prototype);return e._k=t,e},q=U&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},H=function t(e,r,n){return e===z&&t(F,r,n),b(e),r=x(r,!0),b(n),i(N,r)?(n.enumerable?(i(e,O)&&e[O][r]&&(e[O][r]=!1),n=_(n,{enumerable:k(0,!1)})):(i(e,O)||B(e,O,k(1,{})),e[O][r]=!0),W(e,r,n)):B(e,r,n)},J=function(t,e){b(t);for(var r,n=v(e=w(e)),i=0,o=n.length;o>i;)H(t,r=n[i++],e[r]);return t},K=function(t,e){return void 0===e?_(t):J(_(t),e)},X=function(t){var e=D.call(this,t=x(t,!0));return!(this===z&&i(N,t)&&!i(F,t))&&(!(e||!i(this,t)||!i(N,t)||i(this,O)&&this[O][t])||e)},$=function(t,e){if(t=w(t),e=x(e,!0),t!==z||!i(N,e)||i(F,e)){var r=C(t,e);return!r||!i(N,e)||i(t,O)&&t[O][e]||(r.enumerable=!0),r}},Y=function(t){for(var e,r=E(w(t)),n=[],o=0;r.length>o;)i(N,e=r[o++])||e==O||e==c||n.push(e);return n},Z=function(t){for(var e,r=t===z,n=E(r?F:w(t)),o=[],a=0;n.length>a;)!i(N,e=n[a++])||r&&!i(z,e)||o.push(N[e]);return o};U||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function e(r){this===z&&e.call(F,r),i(this,O)&&i(this[O],t)&&(this[O][t]=!1),W(this,t,k(1,r))};return o&&G&&W(z,t,{configurable:!0,set:e}),Q(t)},s(L.prototype,"toString",(function(){return this._k})),P.f=$,T.f=H,r(49).f=S.f=Y,r(31).f=X,r(48).f=Z,o&&!r(10)&&s(z,"propertyIsEnumerable",X,!0),p.f=function(t){return Q(h(t))}),a(a.G+a.W+a.F*!U,{Symbol:L});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var rt=I(h.store),nt=0;rt.length>nt;)g(rt[nt++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return i(j,t+="")?j[t]:j[t]=L(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in j)if(j[e]===t)return e},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:K,defineProperty:H,defineProperties:J,getOwnPropertyDescriptor:$,getOwnPropertyNames:Y,getOwnPropertySymbols:Z}),A&&a(a.S+a.F*(!U||l((function(){var t=L();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))}))),"JSON",{stringify:function(t){for(var e,r,n=[t],i=1;arguments.length>i;)n.push(arguments[i++]);if(r=e=n[1],(y(e)||void 0!==t)&&!q(t))return m(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!q(e))return e}),n[1]=e,M.apply(A,n)}}),L.prototype[R]||r(4)(L.prototype,R,L.prototype.valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},function(t,e,r){var n=r(18)("meta"),i=r(6),o=r(8),a=r(5).f,s=0,c=Object.isExtensible||function(){return!0},l=!r(16)((function(){return c(Object.preventExtensions({}))})),u=function(t){a(t,n,{value:{i:"O"+ ++s,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,n)){if(!c(t))return"F";if(!e)return"E";u(t)}return t[n].i},d=function(t,e){if(!o(t,n)){if(!c(t))return!0;if(!e)return!1;u(t)}return t[n].w},h=function(t){return l&&p.NEED&&c(t)&&!o(t,n)&&u(t),t},p=t.exports={KEY:n,NEED:!1,fastKey:f,getWeak:d,onFreeze:h}},function(t,e,r){var n=r(24),i=r(48),o=r(31);t.exports=function(t){var e=n(t),r=i.f;if(r)for(var a,s=r(t),c=o.f,l=0;s.length>l;)c.call(t,a=s[l++])&&e.push(a);return e}},function(t,e,r){var n=r(13);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(9),i=r(49).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(n(t))}},function(t,e,r){var n=r(31),i=r(17),o=r(9),a=r(23),s=r(8),c=r(36),l=Object.getOwnPropertyDescriptor;e.f=r(7)?l:function(t,e){if(t=o(t),e=a(e,!0),c)try{return l(t,e)}catch(t){}if(s(t,e))return i(!n.f.call(t,e),t[e])}},function(t,e,r){r(30)("asyncIterator")},function(t,e,r){r(30)("observable")},function(t,e,r){"use strict";var n=window.URL||window.webkitURL;t.exports=function(t,e){try{try{var r;try{var i=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder;r=new i,r.append(t),r=r.getBlob()}catch(e){r=new Blob([t])}return new Worker(n.createObjectURL(r))}catch(e){return new Worker("data:application/javascript,"+encodeURIComponent(t))}}catch(t){if(!e)throw Error("Inline worker is not supported");return new Worker(e)}}},function(t,e,r){"use strict";function n(t){if(t)return new Promise((function(e,r){if("data"==t.slice(0,4)){var n=new Image;return n.onload=function(){e(n)},n.onerror=function(){r("Image load error")},void(n.src=t)}var i=new Image;i.setAttribute("crossOrigin","Anonymous"),i.onload=function(){e(i)},i.onerror=function(){r("Image load error")},i.src=t}))}e.a=n},function(t,e,r){"use strict";function n(t,e){return new Promise((function(e,r){var n=new XMLHttpRequest;n.responseType="blob",n.onload=function(){var t=new FileReader;t.onloadend=function(){e(t.result)},t.readAsArrayBuffer(n.response)},n.open("GET",t),n.send()}))}e.a=n},function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.bindElement?r("img",t._b({staticStyle:{display:"inline-block"}},"img",{id:t.uuid},!1)):t._e()},i=[],o={render:n,staticRenderFns:i};e.a=o}])}))}).call(this,r("5a52")["default"])},7039:function(t,e,r){var n=r("23e7"),i=r("d039"),o=r("057f").f,a=i((function(){return!Object.getOwnPropertyNames(1)}));n({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:o})},"70fc":function(t,e,r){"use strict";var n=r("0fcb"),i=r.n(n);i.a},"7c54":function(t,e,r){"use strict";var n=r("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e._API_productInfo=e._API_GoodDetail=e._API_GoodList=void 0;var i=n(r("cacb")),o=function(t){return i.default.get("/good_show",t)};e._API_GoodList=o;var a=function(t){return i.default.get("/goods/detail",t)};e._API_GoodDetail=a;var s=function(t){return i.default.get("/detail/index",t)};e._API_productInfo=s},"944a":function(t,e,r){var n=r("746f");n("toStringTag")},9523:function(t,e){function r(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}t.exports=r},b636:function(t,e,r){var n=r("746f");n("asyncIterator")},c906:function(t,e,r){var n=r("23e7"),i=r("d039"),o=r("861d"),a=Object.isExtensible,s=i((function(){a(1)}));n({target:"Object",stat:!0,forced:s},{isExtensible:function(t){return!!o(t)&&(!a||a(t))}})},cee8:function(t,e,r){var n=r("23e7"),i=r("861d"),o=r("f183").onFreeze,a=r("bb2f"),s=r("d039"),c=Object.preventExtensions,l=s((function(){c(1)}));n({target:"Object",stat:!0,forced:l,sham:!a},{preventExtensions:function(t){return c&&i(t)?c(o(t)):t}})},d180:function(t,e,r){"use strict";r.r(e);var n=r("ef8c"),i=r("28b5");for(var o in i)"default"!==o&&function(t){r.d(e,t,(function(){return i[t]}))}(o);r("70fc");var a,s=r("f0c5"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"3f461604",null,!1,n["a"],a);e["default"]=c.exports},e541:function(t,e,r){var n=r("24fb"),i=r("1de5"),o=r("3aff");e=n(!1);var a=i(o);e.push([t.i,'@charset "UTF-8";.app-item[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-3f461604]{margin-top:%?10?%}.app-item uni-input[data-v-3f461604], .app-item uni-picker[data-v-3f461604], .app-item uni-textarea[data-v-3f461604]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-3f461604]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-3f461604]{width:25%;height:50%;float:left;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.kingkong uni-navigator uni-image[data-v-3f461604]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-3f461604]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-3f461604]{color:#fff;background:#f76454}.small-btn[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-3f461604]{color:#999;border-color:#999}.login-btn[data-v-3f461604]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-3f461604]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-3f461604]{margin-right:%?20?%}.border-right[data-v-3f461604]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-3f461604]{margin-right:%?6?%}.position-center[data-v-3f461604]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-3f461604]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-3f461604]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.data-card .data-card-text .text[data-v-3f461604]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-3f461604]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-3f461604]{color:#f76454}.swiper-nav[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%}.swiper-nav .item.active[data-v-3f461604]{color:#f76454}.swiper-nav .moveBar[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-3f461604]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-3f461604]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-3f461604]{width:100%;height:100%}.article-header[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?120?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-3f461604]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;margin-left:%?20?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.article-header .name .identity[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-3f461604]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-3f461604]{color:#f76454}.article-footer[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-3f461604]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-3f461604]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-3f461604]{color:#f76454}\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-3f461604]{height:auto}.product_nav[data-v-3f461604]{position:fixed;top:0;left:0;right:0;width:100%;height:%?100?%;color:#333;font-size:%?32?%;line-height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 %?52?%;box-sizing:border-box;z-index:99;background-color:#fff}.product_nav .nav_item[data-v-3f461604]{height:100%;border-bottom:2px solid #fff}.product_nav .active[data-v-3f461604]{color:#ea4a41!important;border-bottom-color:#ea4a41!important}.produce_main[data-v-3f461604]{position:relative;padding-top:%?100?%}.produce_main uni-video[data-v-3f461604]{width:100%;height:%?400?%}.produce_main_bot[data-v-3f461604]{padding-bottom:%?88?%}.product_info[data-v-3f461604]{width:100%}.product_info uni-image[data-v-3f461604]{width:100%}.product_info[data-v-3f461604] img{width:100%;height:auto}.share_container[data-v-3f461604]{position:absolute;bottom:%?148?%;left:0;right:0;width:calc(100% - %?46?%);margin:0 auto;box-shadow:0 0 10px hsla(0,0%,41.6%,.5);background-color:#fff;padding:%?40?% %?55?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch}.share_container .share_eqcord[data-v-3f461604]{color:#333;font-size:%?32?%;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-right:%?50?%}.share_container .share_eqcord .eqcord_img_parent[data-v-3f461604]{width:%?180?%;height:%?180?%;margin-bottom:%?21?%;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.share_container .share_eqcord .eqcord_img[data-v-3f461604]{width:100%;height:100%}.share_container .share_info[data-v-3f461604]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;color:#333;text-align:center}.share_container .share_info .fixed_text[data-v-3f461604]{font-size:%?32?%;line-height:%?50?%}.share_container .share_info .share_mobile[data-v-3f461604]{font-size:%?36?%;line-height:%?50?%}.share_container .share_info .share_call[data-v-3f461604]{color:#fff;font-size:%?32?%;height:%?54?%;border-radius:%?54?%;line-height:%?54?%;background-color:#4cbf00;width:%?180?%;text-align:center}.set_share_btn[data-v-3f461604]{width:100%;height:%?88?%;position:fixed;bottom:0;left:0;right:0;z-index:99;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.set_share_btn .share_btn[data-v-3f461604]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?32?%;height:100%}.set_share_btn .share_one[data-v-3f461604]{background-color:#fff;color:#ea4a41}.set_share_btn .share_all[data-v-3f461604]{background-color:#ea4a41;color:#fff}.popover_share_container[data-v-3f461604]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:101;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.popover_share_container .popover_bg[data-v-3f461604]{position:absolute;top:0;bottom:0;left:0;right:0;background-image:url('+a+");background-size:100% 100%;background-repeat:no-repeat}.popover_share_container .pop_share_main[data-v-3f461604]{width:100%;border-top-left-radius:%?60?%;border-top-right-radius:%?60?%;background-color:#fff;padding:%?40?% %?60?%;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.popover_share_container .pop_share_main .popover_title[data-v-3f461604]{color:#333;font-size:%?32?%;margin-bottom:%?35?%}.popover_share_container .pop_share_main .share_type_list[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.popover_share_container .pop_share_main .share_type_list .share_type_item[data-v-3f461604]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;color:#333;font-size:%?28?%}.popover_share_container .pop_share_main .share_type_list .share_type_item .share_type_icon[data-v-3f461604]{width:%?108?%;height:%?108?%;margin-bottom:%?24?%}.popover_share_container .popover_save_img[data-v-3f461604]{width:%?560?%;padding:%?48?% %?40?%;box-sizing:border-box;background-color:#fff;border-radius:%?10?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#181818;font-size:%?36?%;font-weight:bolder;position:absolute;z-index:103}.popover_share_container .popover_save_img .share_save_img[data-v-3f461604]{width:%?440?%;height:%?440?%;margin-bottom:%?10?%}",""]),t.exports=e},e544:function(t,e,r){(function(n){var i;r("c975"),r("ac1f"),r("466d"),r("5319"),r("1276");var o=r("9523");!function(n,o){i=function(){return o(n)}.call(e,r,e,t),void 0===i||(t.exports=i)}(window,(function(t,e){if(!t.jWeixin){var r,i,a={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},s=function(){var t={};for(var e in a)t[a[e]]=e;return t}(),c=t.document,l=c.title,u=navigator.userAgent.toLowerCase(),f=navigator.platform.toLowerCase(),d=!(!f.match("mac")&&!f.match("win")),h=-1!=u.indexOf("wxdebugger"),p=-1!=u.indexOf("micromessenger"),g=-1!=u.indexOf("android"),v=-1!=u.indexOf("iphone")||-1!=u.indexOf("ipad"),m=(i=u.match(/micromessenger\/(\d+\.\d+\.\d+)/)||u.match(/micromessenger\/(\d+\.\d+)/))?i[1]:"",b={initStartTime:R(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},y={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:v?1:g?2:-1,clientVersion:m,url:encodeURIComponent(location.href)},w={},x={_completes:[]},k={state:0,data:{}};D((function(){b.initEndTime=R()}));var _=!1,S=[],P=(r={config:function(e){O("config",w=e);var r=!1!==w.check;D((function(){if(r)C(a.config,{verifyJsApiList:M(w.jsApiList),verifyOpenTagList:M(w.openTagList)},function(){x._complete=function(t){b.preVerifyEndTime=R(),k.state=1,k.data=t},x.success=function(t){y.isPreVerifyOk=0},x.fail=function(t){x._fail?x._fail(t):k.state=-1};var t=x._completes;return t.push((function(){!function(){if(!(d||h||w.debug||m<"6.0.2"||y.systemType<0)){var t=new Image;y.appId=w.appId,y.initTime=b.initEndTime-b.initStartTime,y.preVerifyTime=b.preVerifyEndTime-b.preVerifyStartTime,P.getNetworkType({isInnerInvoke:!0,success:function(e){y.networkType=e.networkType;var r="https://open.weixin.qq.com/sdk/report?v="+y.version+"&o="+y.isPreVerifyOk+"&s="+y.systemType+"&c="+y.clientVersion+"&a="+y.appId+"&n="+y.networkType+"&i="+y.initTime+"&p="+y.preVerifyTime+"&u="+y.url;t.src=r}})}}()})),x.complete=function(e){for(var r=0,n=t.length;r<n;++r)t[r]();x._completes=[]},x}()),b.preVerifyStartTime=R();else{k.state=1;for(var t=x._completes,e=0,n=t.length;e<n;++e)t[e]();x._completes=[]}})),P.invoke||(P.invoke=function(e,r,n){t.WeixinJSBridge&&WeixinJSBridge.invoke(e,E(r),n)},P.on=function(e,r){t.WeixinJSBridge&&WeixinJSBridge.on(e,r)})},ready:function(t){0!=k.state?t():(x._completes.push(t),!p&&w.debug&&t())},error:function(t){m<"6.0.2"||(-1==k.state?t(k.data):x._fail=t)},checkJsApi:function(t){C("checkJsApi",{jsApiList:M(t.jsApiList)},(t._complete=function(t){if(g){var e=t.checkResult;e&&(t.checkResult=JSON.parse(e))}t=function(t){var e=t.checkResult;for(var r in e){var n=s[r];n&&(e[n]=e[r],delete e[r])}return t}(t)},t))},onMenuShareTimeline:function(t){B(a.onMenuShareTimeline,{complete:function(){C("shareTimeline",{title:t.title||l,desc:t.title||l,img_url:t.imgUrl||"",link:t.link||location.href,type:t.type||"link",data_url:t.dataUrl||""},t)}},t)},onMenuShareAppMessage:function(t){B(a.onMenuShareAppMessage,{complete:function(e){"favorite"===e.scene?C("sendAppMessage",{title:t.title||l,desc:t.desc||"",link:t.link||location.href,img_url:t.imgUrl||"",type:t.type||"link",data_url:t.dataUrl||""}):C("sendAppMessage",{title:t.title||l,desc:t.desc||"",link:t.link||location.href,img_url:t.imgUrl||"",type:t.type||"link",data_url:t.dataUrl||""},t)}},t)},onMenuShareQQ:function(t){B(a.onMenuShareQQ,{complete:function(){C("shareQQ",{title:t.title||l,desc:t.desc||"",img_url:t.imgUrl||"",link:t.link||location.href},t)}},t)},onMenuShareWeibo:function(t){B(a.onMenuShareWeibo,{complete:function(){C("shareWeiboApp",{title:t.title||l,desc:t.desc||"",img_url:t.imgUrl||"",link:t.link||location.href},t)}},t)},onMenuShareQZone:function(t){B(a.onMenuShareQZone,{complete:function(){C("shareQZone",{title:t.title||l,desc:t.desc||"",img_url:t.imgUrl||"",link:t.link||location.href},t)}},t)},updateTimelineShareData:function(t){C("updateTimelineShareData",{title:t.title,link:t.link,imgUrl:t.imgUrl},t)},updateAppMessageShareData:function(t){C("updateAppMessageShareData",{title:t.title,desc:t.desc,link:t.link,imgUrl:t.imgUrl},t)},startRecord:function(t){C("startRecord",{},t)},stopRecord:function(t){C("stopRecord",{},t)},onVoiceRecordEnd:function(t){B("onVoiceRecordEnd",t)},playVoice:function(t){C("playVoice",{localId:t.localId},t)},pauseVoice:function(t){C("pauseVoice",{localId:t.localId},t)},stopVoice:function(t){C("stopVoice",{localId:t.localId},t)},onVoicePlayEnd:function(t){B("onVoicePlayEnd",t)},uploadVoice:function(t){C("uploadVoice",{localId:t.localId,isShowProgressTips:0==t.isShowProgressTips?0:1},t)},downloadVoice:function(t){C("downloadVoice",{serverId:t.serverId,isShowProgressTips:0==t.isShowProgressTips?0:1},t)},translateVoice:function(t){C("translateVoice",{localId:t.localId,isShowProgressTips:0==t.isShowProgressTips?0:1},t)},chooseImage:function(t){C("chooseImage",{scene:"1|2",count:t.count||9,sizeType:t.sizeType||["original","compressed"],sourceType:t.sourceType||["album","camera"]},(t._complete=function(t){if(g){var e=t.localIds;try{e&&(t.localIds=JSON.parse(e))}catch(t){}}},t))},getLocation:function(t){},previewImage:function(t){C(a.previewImage,{current:t.current,urls:t.urls},t)},uploadImage:function(t){C("uploadImage",{localId:t.localId,isShowProgressTips:0==t.isShowProgressTips?0:1},t)},downloadImage:function(t){C("downloadImage",{serverId:t.serverId,isShowProgressTips:0==t.isShowProgressTips?0:1},t)},getLocalImgData:function(t){!1===_?(_=!0,C("getLocalImgData",{localId:t.localId},(t._complete=function(t){if(_=!1,0<S.length){var e=S.shift();wx.getLocalImgData(e)}},t))):S.push(t)},getNetworkType:function(t){C("getNetworkType",{},(t._complete=function(t){t=function(t){var e=t.errMsg;t.errMsg="getNetworkType:ok";var r=t.subtype;if(delete t.subtype,r)t.networkType=r;else{var n=e.indexOf(":"),i=e.substring(n+1);switch(i){case"wifi":case"edge":case"wwan":t.networkType=i;break;default:t.errMsg="getNetworkType:fail"}}return t}(t)},t))},openLocation:function(t){C("openLocation",{latitude:t.latitude,longitude:t.longitude,name:t.name||"",address:t.address||"",scale:t.scale||28,infoUrl:t.infoUrl||""},t)}},o(r,"getLocation",(function(t){C(a.getLocation,{type:(t=t||{}).type||"wgs84"},(t._complete=function(t){delete t.type},t))})),o(r,"hideOptionMenu",(function(t){C("hideOptionMenu",{},t)})),o(r,"showOptionMenu",(function(t){C("showOptionMenu",{},t)})),o(r,"closeWindow",(function(t){C("closeWindow",{},t=t||{})})),o(r,"hideMenuItems",(function(t){C("hideMenuItems",{menuList:t.menuList},t)})),o(r,"showMenuItems",(function(t){C("showMenuItems",{menuList:t.menuList},t)})),o(r,"hideAllNonBaseMenuItem",(function(t){C("hideAllNonBaseMenuItem",{},t)})),o(r,"showAllNonBaseMenuItem",(function(t){C("showAllNonBaseMenuItem",{},t)})),o(r,"scanQRCode",(function(t){C("scanQRCode",{needResult:(t=t||{}).needResult||0,scanType:t.scanType||["qrCode","barCode"]},(t._complete=function(t){if(v){var e=t.resultStr;if(e){var r=JSON.parse(e);t.resultStr=r&&r.scan_code&&r.scan_code.scan_result}}},t))})),o(r,"openAddress",(function(t){C(a.openAddress,{},(t._complete=function(t){t=function(t){return t.postalCode=t.addressPostalCode,delete t.addressPostalCode,t.provinceName=t.proviceFirstStageName,delete t.proviceFirstStageName,t.cityName=t.addressCitySecondStageName,delete t.addressCitySecondStageName,t.countryName=t.addressCountiesThirdStageName,delete t.addressCountiesThirdStageName,t.detailInfo=t.addressDetailInfo,delete t.addressDetailInfo,t}(t)},t))})),o(r,"openProductSpecificView",(function(t){C(a.openProductSpecificView,{pid:t.productId,view_type:t.viewType||0,ext_info:t.extInfo},t)})),o(r,"addCard",(function(t){for(var e=t.cardList,r=[],n=0,i=e.length;n<i;++n){var o=e[n],s={card_id:o.cardId,card_ext:o.cardExt};r.push(s)}C(a.addCard,{card_list:r},(t._complete=function(t){var e=t.card_list;if(e){for(var r=0,n=(e=JSON.parse(e)).length;r<n;++r){var i=e[r];i.cardId=i.card_id,i.cardExt=i.card_ext,i.isSuccess=!!i.is_succ,delete i.card_id,delete i.card_ext,delete i.is_succ}t.cardList=e,delete t.card_list}},t))})),o(r,"chooseCard",(function(t){C("chooseCard",{app_id:w.appId,location_id:t.shopId||"",sign_type:t.signType||"SHA1",card_id:t.cardId||"",card_type:t.cardType||"",card_sign:t.cardSign,time_stamp:t.timestamp+"",nonce_str:t.nonceStr},(t._complete=function(t){t.cardList=t.choose_card_info,delete t.choose_card_info},t))})),o(r,"openCard",(function(t){for(var e=t.cardList,r=[],n=0,i=e.length;n<i;++n){var o=e[n],s={card_id:o.cardId,code:o.code};r.push(s)}C(a.openCard,{card_list:r},t)})),o(r,"consumeAndShareCard",(function(t){C(a.consumeAndShareCard,{consumedCardId:t.cardId,consumedCode:t.code},t)})),o(r,"chooseWXPay",(function(t){C(a.chooseWXPay,L(t),t)})),o(r,"openEnterpriseRedPacket",(function(t){C(a.openEnterpriseRedPacket,L(t),t)})),o(r,"startSearchBeacons",(function(t){C(a.startSearchBeacons,{ticket:t.ticket},t)})),o(r,"stopSearchBeacons",(function(t){C(a.stopSearchBeacons,{},t)})),o(r,"onSearchBeacons",(function(t){B(a.onSearchBeacons,t)})),o(r,"openEnterpriseChat",(function(t){C("openEnterpriseChat",{useridlist:t.userIds,chatname:t.groupName},t)})),o(r,"launchMiniProgram",(function(t){C("launchMiniProgram",{targetAppId:t.targetAppId,path:function(t){if("string"==typeof t&&0<t.length){var e=t.split("?")[0],r=t.split("?")[1];return e+=".html",void 0!==r?e+"?"+r:e}}(t.path),envVersion:t.envVersion},t)})),o(r,"openBusinessView",(function(t){C("openBusinessView",{businessType:t.businessType,queryString:t.queryString||"",envVersion:t.envVersion},(t._complete=function(t){if(g){var e=t.extraData;if(e)try{t.extraData=JSON.parse(e)}catch(e){t.extraData={}}}},t))})),o(r,"miniProgram",{navigateBack:function(t){t=t||{},D((function(){C("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:t.delta||1}},t)}))},navigateTo:function(t){D((function(){C("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:t.url}},t)}))},redirectTo:function(t){D((function(){C("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:t.url}},t)}))},switchTab:function(t){D((function(){C("invokeMiniProgramAPI",{name:"switchTab",arg:{url:t.url}},t)}))},reLaunch:function(t){D((function(){C("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:t.url}},t)}))},postMessage:function(t){D((function(){C("invokeMiniProgramAPI",{name:"postMessage",arg:t.data||{}},t)}))},getEnv:function(e){D((function(){e({miniprogram:"miniprogram"===t.__wxjs_environment})}))}}),r),T=1,I={};return c.addEventListener("error",(function(t){if(!g){var e=t.target,r=e.tagName,n=e.src;if(("IMG"==r||"VIDEO"==r||"AUDIO"==r||"SOURCE"==r)&&-1!=n.indexOf("wxlocalresource://")){t.preventDefault(),t.stopPropagation();var i=e["wx-id"];if(i||(i=T++,e["wx-id"]=i),I[i])return;I[i]=!0,wx.ready((function(){wx.getLocalImgData({localId:n,success:function(t){e.src=t.localData}})}))}}}),!0),c.addEventListener("load",(function(t){if(!g){var e=t.target,r=e.tagName;if(e.src,"IMG"==r||"VIDEO"==r||"AUDIO"==r||"SOURCE"==r){var n=e["wx-id"];n&&(I[n]=!1)}}}),!0),e&&(t.wx=t.jWeixin=P),P}function C(e,r,n){t.WeixinJSBridge?WeixinJSBridge.invoke(e,E(r),(function(t){A(e,t,n)})):O(e,n)}function B(e,r,n){t.WeixinJSBridge?WeixinJSBridge.on(e,(function(t){n&&n.trigger&&n.trigger(t),A(e,t,r)})):O(e,n||r)}function E(t){return(t=t||{}).appId=w.appId,t.verifyAppId=w.appId,t.verifySignType="sha1",t.verifyTimestamp=w.timestamp+"",t.verifyNonceStr=w.nonceStr,t.verifySignature=w.signature,t}function L(t){return{timeStamp:t.timestamp+"",nonceStr:t.nonceStr,package:t.package,paySign:t.paySign,signType:t.signType||"SHA1"}}function A(t,e,r){"openEnterpriseChat"!=t&&"openBusinessView"!==t||(e.errCode=e.err_code),delete e.err_code,delete e.err_desc,delete e.err_detail;var n=e.errMsg;n||(n=e.err_msg,delete e.err_msg,n=function(t,e){var r=t,n=s[r];n&&(r=n);var i="ok";if(e){var o=e.indexOf(":");"confirm"==(i=e.substring(o+1))&&(i="ok"),"failed"==i&&(i="fail"),-1!=i.indexOf("failed_")&&(i=i.substring(7)),-1!=i.indexOf("fail_")&&(i=i.substring(5)),"access denied"!=(i=(i=i.replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=i||(i="permission denied"),"config"==r&&"function not exist"==i&&(i="ok"),""==i&&(i="fail")}return r+":"+i}(t,n),e.errMsg=n),(r=r||{})._complete&&(r._complete(e),delete r._complete),n=e.errMsg||"",w.debug&&!r.isInnerInvoke&&alert(JSON.stringify(e));var i=n.indexOf(":");switch(n.substring(i+1)){case"ok":r.success&&r.success(e);break;case"cancel":r.cancel&&r.cancel(e);break;default:r.fail&&r.fail(e)}r.complete&&r.complete(e)}function M(t){if(t){for(var e=0,r=t.length;e<r;++e){var n=t[e],i=a[n];i&&(t[e]=i)}return t}}function O(t,e){if(!(!w.debug||e&&e.isInnerInvoke)){var r=s[t];r&&(t=r),e&&e._complete&&delete e._complete,n.log('"'+t+'",',e||"")}}function R(){return(new Date).getTime()}function D(e){p&&(t.WeixinJSBridge?e():c.addEventListener&&c.addEventListener("WeixinJSBridgeReady",e,!1))}}))}).call(this,r("5a52")["default"])},ef8c:function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",[r("v-uni-view",{staticClass:"product_nav"},t._l(t.productList,(function(e,n){return r("v-uni-view",{key:e.id,staticClass:"nav_item",class:t.navSelect===n?"active":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navSelect=n}}},[t._v(t._s(e.title))])})),1),r("v-uni-view",{staticClass:"produce_main",class:t.isShare?"":".produce_main_bot"},[t.productList[t.navSelect]&&t.productList[t.navSelect].video?r("v-uni-video",{attrs:{controls:!0,src:t.productList[t.navSelect].video,"object-fit":"fill","enable-play-gesture":!0}}):t._e(),r("v-uni-view",{staticClass:"product_info",domProps:{innerHTML:t._s(t.productList[t.navSelect]&&t.productList[t.navSelect].content)}}),r("v-uni-view",{staticClass:"share_container"},[r("v-uni-view",{staticClass:"share_eqcord"},[r("div",{staticClass:"eqcord_img_parent"},[r("v-uni-image",{staticClass:"eqcord_img",attrs:{src:t.productUser.qr_code,mode:"widthFix"}})],1),r("v-uni-text",[t._v("长按添加好友")])],1),r("v-uni-view",{staticClass:"share_info"},[r("v-uni-text",{staticClass:"fixed_text"},[t._v("扫一扫添加微信了解详情 或拨打联系电话")]),r("v-uni-text",{staticClass:"share_mobile"},[t._v(t._s(t.productUser.phone||t.productUser.mobile))]),r("v-uni-text",{staticClass:"share_call",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.callPhone(t.productUser.phone||t.productUser.mobile)}}},[t._v("拨打电话")])],1)],1)],1),t.isShare?t._e():r("v-uni-view",{staticClass:"set_share_btn"},[r("v-uni-view",{staticClass:"share_btn share_one",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.shareType=!1,t.saveimgVis=!0}}},[t._v("分享当前款式")]),r("v-uni-view",{staticClass:"share_btn share_all",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.shareType=!0,t.saveimgVis=!0}}},[t._v("分享全部款式")])],1),t.saveimgVis?r("v-uni-view",{staticClass:"popover_share_container"},[r("v-uni-view",{staticClass:"popover_bg",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.saveimgVis=!1}}})],1):t._e()],1)},o=[]}}]);