forked from didi/mand-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EnUSDocsComponentsBasicImageViewer.1d6c899e.js
1 lines (1 loc) · 111 KB
/
EnUSDocsComponentsBasicImageViewer.1d6c899e.js
1
webpackJsonp([75],{"/AJx":function(e,t,o){var i,a,n;(function(d,s){a=[t,o("xnBM")],i=s,n="function"==typeof i?i.apply(t,a):i,!(void 0!==n&&(e.exports=n))})(this,function(e,t){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.dom=e.mdBody=e.mdDocument=void 0;var i=function(){function e(e,t){for(var o,a=0;a<t.length;a++)o=t[a],o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),a=function(){function e(){o(this,e)}return i(e,[{key:"appendChild",value:function(){}},{key:"removeChild",value:function(){}},{key:"querySelector",value:function(){}},{key:"addEventListener",value:function(){}},{key:"removeEventListener",value:function(){}}]),e}(),n=new a,d=n,s=n;d.body=s,t.inBrowser&&(e.mdDocument=d=window.document,e.mdBody=s=document.body),e.mdDocument=d,e.mdBody=s,e.dom=n})},"0MS6":function(e,t,o){t=e.exports=o("FZ+f")(!0),t.push([e.i,".md-image-viewer{position:fixed;top:0;left:0;bottom:0;right:0;z-index:1001;-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.md-image-viewer .viewer-index{position:absolute;bottom:100px;left:0;width:100%;text-align:center;color:#fff;font-size:32px;text-shadow:0 1px 1px #333;z-index:101}.md-image-viewer .viewer-container{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.85);z-index:100}.md-image-viewer .viewer-items{list-style:none;left:0}.md-image-viewer .viewer-items,.md-image-viewer .viewer-items .viewer-item-wrap{position:absolute;top:0;height:100%;width:100%}.md-image-viewer .viewer-item-wrap .item{width:100%;display:inline-block;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.md-image-viewer .viewer-item-wrap .item>img{width:100%;display:block}","",{version:3,sources:["/Users/moyu/Repo/mand-mobile/site/node_modules/mand-mobile/lib/image-viewer/style/index.css"],names:[],mappings:"AAAA,iBAAiB,eAAe,MAAM,OAAO,SAAS,QAAQ,aAAa,gCAAgC,wBAAwB,eAAe,CAAC,+BAA+B,kBAAkB,aAAa,OAAO,WAAW,kBAAkB,WAAW,eAAe,2BAA2B,WAAW,CAAC,mCAAmC,eAAe,MAAM,OAAO,SAAS,QAAQ,iCAAiC,WAAW,CAAC,+BAA+B,gBAAgB,MAAM,CAAC,gFAAgF,kBAAkB,MAAM,YAAY,UAAU,CAAC,yCAAyC,WAAW,qBAAqB,kBAAkB,QAAQ,mCAAmC,0BAA0B,CAAC,6CAA6C,WAAW,aAAa,CAAC",file:"index.css",sourcesContent:[".md-image-viewer{position:fixed;top:0;left:0;bottom:0;right:0;z-index:1001;-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.md-image-viewer .viewer-index{position:absolute;bottom:100px;left:0;width:100%;text-align:center;color:#fff;font-size:32px;text-shadow:0 1px 1px #333;z-index:101}.md-image-viewer .viewer-container{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.85);z-index:100}.md-image-viewer .viewer-items{list-style:none;left:0}.md-image-viewer .viewer-items,.md-image-viewer .viewer-items .viewer-item-wrap{position:absolute;top:0;height:100%;width:100%}.md-image-viewer .viewer-item-wrap .item{width:100%;display:inline-block;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.md-image-viewer .viewer-item-wrap .item>img{width:100%;display:block}"],sourceRoot:""}])},"1LLx":function(e,t,o){t=e.exports=o("FZ+f")(!0),t.push([e.i,".default-content-wrapper.stricky .default-doc-toc{position:fixed;top:20px;right:0}.mfe-blog-theme-default-doc{position:relative;padding-right:12%;border-left:1px solid #e8e8e8}.mfe-blog-theme-default-doc,.mfe-blog-theme-default-doc .default-doc-content,.mfe-blog-theme-default-doc .doc-content-describe,.mfe-blog-theme-default-doc .doc-content-paragraph,.mfe-blog-theme-default-doc .doc-content-top{float:left;width:100%;box-sizing:border-box}.mfe-blog-theme-default-doc .doc-content-top{margin-bottom:20px}.mfe-blog-theme-default-doc .doc-content-top .doc-content-title{font-size:28px;font-weight:500;color:#1f2f3d}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode,.mfe-blog-theme-default-doc .doc-content-top .doc-content-title{float:left;line-height:1}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode{position:relative;margin-top:4px;margin-left:10px}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode i.icon-qr-code{font-size:22px;color:#999}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode i.icon-qr-code.active{color:#3ca0e6}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode span{position:absolute;left:-61px;top:30px;z-index:2;width:150px;padding:10px 15px;box-sizing:border-box;background:#fff;box-shadow:0 4px 8px rgba(0,0,0,.08);border-radius:4px;border:1px solid #f0f0f0}.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode span i{display:inline-block;width:100%;text-align:center;font-size:12px;color:#999;font-style:normal}.mfe-blog-theme-default-doc .doc-content-top .doc-content-describe{font-size:16px;font-weight:400;color:#666;margin-top:20px}.mfe-blog-theme-default-doc .doc-content-bottom{float:left;width:100%;position:absolute;left:0;bottom:0;padding:20px 64px;box-sizing:border-box}.mfe-blog-theme-default-doc .doc-content-bottom a{text-decoration:none}.mfe-blog-theme-default-doc .doc-content-bottom a i{color:#999;font-size:12px;font-style:normal}.mfe-blog-theme-default-doc .doc-content-bottom a p{margin-top:5px;color:#2f86f6;font-size:14px}.mfe-blog-theme-default-doc .doc-content-bottom a.prev{float:left;text-align:left}.mfe-blog-theme-default-doc .doc-content-bottom a.next{float:right;text-align:right}.mfe-blog-theme-default-doc .default-doc-content{position:relative;min-height:800px;padding:0 64px 87px}.mfe-blog-theme-default-doc .default-doc-demo-container{float:left;width:100%}.mfe-blog-theme-default-doc .default-doc-demo-list{float:left;width:49%}.mfe-blog-theme-default-doc .default-doc-demo-list:first-of-type{margin-right:2%}.mfe-blog-theme-default-doc .default-doc-demo,.mfe-blog-theme-default-doc .doc-demo-box,.mfe-blog-theme-default-doc .doc-demo-box-info,.mfe-blog-theme-default-doc .doc-demo-describe,.mfe-blog-theme-default-doc .doc-demo-title{float:left;width:100%;box-sizing:border-box}.mfe-blog-theme-default-doc .default-doc-demo{margin-bottom:20px}.mfe-blog-theme-default-doc .default-doc-demo .doc-demo-box-info{padding:15px}.mfe-blog-theme-default-doc .default-doc-demo .doc-demo-box-info .doc-demo-title{display:flex;align-items:center;font-size:14px;font-weight:500}.mfe-blog-theme-default-doc .default-doc-demo .doc-demo-box-info .doc-demo-describe{margin-top:10px;color:#999;font-size:14px;font-weight:400}.mfe-blog-theme-default-doc .default-doc-demo .doc-demo-box-info .doc-demo-message{display:inline-block;width:100%;box-sizing:border-box;border-left:.3em solid #2f86f6;padding:1em;margin-left:0;margin-top:10px;background:rgba(252,145,83,.05);border-radius:4px;font-weight:400}.mfe-blog-theme-default-doc .doc-demo-box{position:relative;padding-bottom:24px;border-top:1px solid #efefef;box-shadow:0 2px 1px -1px rgba(0,0,0,.08),0 1px 1px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1);border-radius:2px;transition:all .3s;overflow:hidden}.mfe-blog-theme-default-doc .doc-demo-box:hover .doc-demo-box-toggle span{transform:translateX(0)}.mfe-blog-theme-default-doc .doc-demo-box.active .doc-demo-box-code,.mfe-blog-theme-default-doc .doc-demo-box.active .doc-demo-box-toggle{display:block}.mfe-blog-theme-default-doc .demo-codesandbox{width:16px;height:16px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAsCAMAAAAgsQpJAAAAh1BMVEUAAADMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwrRDr0AAAALHRSTlMA++Lla1M79+mNGhII793RXTIM2cXCn30grqV0SikjA764smVF81jHhZeVkzsH/ogAAAG8SURBVDjLnZTZloIwDECDsssiIIuioAIuY/7/+wZbUoVWnDP3iQO3TZOGgIx7Siv4TuxoiNrPCuapdRsZXenNefsEBYvLR83c4Ihwr9SKHUqcD4ocUEnmjr3SR0RNZVo3DwSXgGtWmqVCcOgotk45hMhJMtODiGd0X70lFxi9Vm2Rb7fcXniVjQBPQxLrBXLSCIJnGET/VBbiDlsPiFwbNgWfbXh1IlDjZky1YckP3IAair5g4nNN0qq0NmGfSSxYQkcpenTEnm0hRKrErpDvdGMCCPEVxBF9uHLYgfYAExHq5tmKPu9DT/fZndQwFjnxzRr60AjYLccAU5HiZay5ttQ3siiojsg4HgBmROqR0AT4KkKDaIBaHK/Xp6JLIv0bajF2LBKp0kqRVZeLHKusFWIbIAqRWMtifcW/iZD+Q7RnRTFkluDPiPUhwAEfjAU9b9yJ6DY7jSL3b7y8Q46Wv4urvUPn73KP1/5BC5drEr0oDxE1DcfjtzjjwNVkYqWfesdi11tJPxxnlyM+Mn/QUlMeyyEKbBb148zVqaZMo3mnIi67l2blMXzGdagAdxdmoHlJA3KeKExMkPgFSQZ1ZV06NgQAAAAASUVORK5CYII=\") no-repeat;background-size:contain}.mfe-blog-theme-default-doc .demo-codesandbox a{float:left;width:100%;height:100%;margin:0}.mfe-blog-theme-default-doc .doc-demo-box-preview{position:relative;float:left;width:100%;padding:10px 0;box-sizing:border-box;border-top:1px solid #ebebeb;background:#f9fafb}.mfe-blog-theme-default-doc .doc-demo-box-preview .doc-demo-box-preview-box{position:relative;width:100%;max-width:450px;margin:0 auto;overflow:hidden}.mfe-blog-theme-default-doc .doc-demo-box-preview .doc-demo-box-preview-box .md-example-child{zoom:.6}.mfe-blog-theme-default-doc .doc-demo-box-preview .doc-demo-box-preview-box ul>li{list-style:none!important}.mfe-blog-theme-default-doc .doc-demo-box-code{position:relative;display:none;width:100%;overflow:hidden;box-sizing:border-box;border-top:1px dashed #ebebeb}.mfe-blog-theme-default-doc .doc-demo-box-code pre{margin-bottom:0;padding-bottom:0;background:#fff;transition:all .3s}.mfe-blog-theme-default-doc .doc-demo-box-code pre code:after{left:5px;right:auto!important}.mfe-blog-theme-default-doc .doc-demo-box-toggle{position:absolute;bottom:0;left:0;right:0;z-index:1102;width:100%;height:24px;border-top:1px solid #ebebeb;cursor:pointer;text-align:center;line-height:24px;font-size:12px;color:#ccc;transition:background .3s;background:#fff;overflow:hidden}.mfe-blog-theme-default-doc .doc-demo-box-toggle i{font-size:24px;line-height:24px}.mfe-blog-theme-default-doc .doc-demo-box-toggle span{position:absolute;top:0;right:20px;transform:translateX(200%);transition:transform .3s ease-in-out;font-weight:500}.mfe-blog-theme-default-doc .doc-demo-box-toggle:hover{background:#fafafa;i:,span;color:#256fa3}.mfe-blog-theme-default-doc .doc-demo-box-toggle.is-stricky{position:fixed;bottom:0}.mfe-blog-theme-default-doc .doc-demo-box-code-operate{position:absolute;top:0;right:0;z-index:100;padding:10px 0;cursor:pointer}.mfe-blog-theme-default-doc .doc-demo-box-code-operate i{float:right;margin-right:10px;font-size:16px;color:#ccc;transition:all .3s}.mfe-blog-theme-default-doc .doc-demo-box-code-operate i:active,.mfe-blog-theme-default-doc .doc-demo-box-code-operate i:focus,.mfe-blog-theme-default-doc .doc-demo-box-code-operate i:visited{box-shadow:none;outline:none}@media (max-width:1500px){.doc-demo-box-preview-box{max-width:400px!important}.doc-demo-box-preview-box .md-example-child{zoom:.533!important}}@media (max-width:1200px){.doc-demo-box-preview-box{max-width:350px!important}.doc-demo-box-preview-box .md-example-child{zoom:.467!important}}@media (max-width:1000px){.default-doc-demo-list{width:100%!important;margin-right:0!important}.default-doc-demo-list .doc-demo-box-preview-box{width:100%!important}.default-doc-demo-list .doc-demo-box-code{position:static;float:left;width:100%;border-left:none!important}.mfe-blog-theme-default-doc{padding-right:0!important}.default-doc-toc{display:none}}@media (max-width:750px){.mfe-blog-theme-default-doc{padding:0}.mfe-blog-theme-default-doc .default-doc-content{padding:15px 15px 100px!important}.mfe-blog-theme-default-doc .default-doc-content .doc-content-title{font-size:22px!important}.mfe-blog-theme-default-doc .default-doc-content .doc-content-qrcode i.icon-qr-code{font-size:16px!important}.mfe-blog-theme-default-doc .default-doc-content .doc-content-bottom{padding:20px 15px!important}}","",{version:3,sources:["/Users/moyu/Repo/mand-mobile/site/theme/default/components/Doc.vue"],names:[],mappings:"AACA,kDACE,eAAgB,AAChB,SAAU,AACV,OAAS,CACV,AACD,4BACE,kBAAmB,AAGnB,kBAAmB,AACnB,6BAA+B,CAEhC,AACD,+NANE,WAAY,AACZ,WAAY,AAGZ,qBAAuB,CASxB,AACD,6CACE,kBAAoB,CACrB,AACD,gEACE,eAAgB,AAChB,gBAAiB,AACjB,aAAe,CAChB,AACD,iIAEE,WAAY,AACZ,aAAe,CAChB,AACD,iEACE,kBAAmB,AACnB,eAAgB,AAChB,gBAAkB,CACnB,AACD,gFACE,eAAgB,AAChB,UAAY,CACb,AACD,uFACE,aAAe,CAChB,AACD,sEACE,kBAAmB,AACnB,WAAY,AACZ,SAAU,AACV,UAAW,AACX,YAAa,AACb,kBAAmB,AACnB,sBAAuB,AACvB,gBAAiB,AACjB,qCAAuC,AACvC,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,wEACE,qBAAsB,AACtB,WAAY,AACZ,kBAAmB,AACnB,eAAgB,AAChB,WAAY,AACZ,iBAAmB,CACpB,AACD,mEACE,eAAgB,AAChB,gBAAiB,AACjB,WAAY,AACZ,eAAiB,CAClB,AACD,gDACE,WAAY,AACZ,WAAY,AACZ,kBAAmB,AACnB,OAAQ,AACR,SAAU,AACV,kBAAmB,AACnB,qBAAuB,CACxB,AACD,kDACE,oBAAsB,CACvB,AACD,oDACE,WAAY,AACZ,eAAgB,AAChB,iBAAmB,CACpB,AACD,oDACE,eAAgB,AAChB,cAAe,AACf,cAAgB,CACjB,AACD,uDACE,WAAY,AACZ,eAAiB,CAClB,AACD,uDACE,YAAa,AACb,gBAAkB,CACnB,AACD,iDACE,kBAAmB,AACnB,iBAAkB,AAClB,mBAAqB,CACtB,AACD,wDACE,WAAY,AACZ,UAAY,CACb,AACD,mDACE,WAAY,AACZ,SAAW,CACZ,AACD,iEACE,eAAiB,CAClB,AACD,kOAKE,WAAY,AACZ,WAAY,AACZ,qBAAuB,CACxB,AACD,8CACE,kBAAoB,CACrB,AACD,iEACE,YAAc,CACf,AACD,iFACE,aAAc,AACd,mBAAoB,AACpB,eAAgB,AAChB,eAAiB,CAClB,AACD,oFACE,gBAAiB,AACjB,WAAY,AACZ,eAAgB,AAChB,eAAiB,CAClB,AACD,mFACE,qBAAsB,AACtB,WAAY,AACZ,sBAAuB,AACvB,+BAAiC,AACjC,YAAa,AACb,cAAe,AACf,gBAAiB,AACjB,gCAAkC,AAClC,kBAAmB,AACnB,eAAiB,CAClB,AACD,0CACE,kBAAmB,AACnB,oBAAqB,AACrB,6BAA8B,AAC9B,gGAAgH,AAChH,kBAAmB,AACnB,mBAAqB,AACrB,eAAiB,CAClB,AACD,0EACE,uBAAyB,CAC1B,AACD,0IAEE,aAAe,CAChB,AACD,8CACE,WAAY,AACZ,YAAa,AACb,+9BAAg+B,AACh+B,uBAAyB,CAC1B,AACD,gDACE,WAAY,AACZ,WAAY,AACZ,YAAa,AACb,QAAU,CACX,AACD,kDACE,kBAAmB,AACnB,WAAY,AACZ,WAAY,AACZ,eAAgB,AAChB,sBAAuB,AACvB,6BAA8B,AAC9B,kBAAoB,CACrB,AACD,4EACE,kBAAmB,AACnB,WAAY,AACZ,gBAAiB,AACjB,cAAe,AACf,eAAiB,CAClB,AACD,8FACE,OAAU,CACX,AACD,kFACE,yBAA4B,CAC7B,AACD,+CACE,kBAAmB,AACnB,aAAc,AACd,WAAY,AACZ,gBAAiB,AACjB,sBAAuB,AACvB,6BAA+B,CAChC,AACD,mDACE,gBAAiB,AACjB,iBAAkB,AAClB,gBAAiB,AACjB,kBAAqB,CACtB,AACD,8DACE,SAAU,AACV,oBAAuB,CACxB,AACD,iDACE,kBAAmB,AACnB,SAAU,AACV,OAAQ,AACR,QAAS,AACT,aAAc,AACd,WAAY,AACZ,YAAa,AACb,6BAA8B,AAC9B,eAAgB,AAChB,kBAAmB,AACnB,iBAAkB,AAClB,eAAgB,AAChB,WAAY,AACZ,0BAA4B,AAC5B,gBAAiB,AACjB,eAAiB,CAClB,AACD,mDACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,sDACE,kBAAmB,AACnB,MAAO,AACP,WAAY,AACZ,2BAA4B,AAC5B,qCAAuC,AACvC,eAAiB,CAClB,AACD,uDACE,mBAAoB,AACpB,QAAU,AACV,aAAe,CAChB,AACD,4DACE,eAAgB,AAChB,QAAU,CACX,AACD,uDACE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,YAAa,AACb,eAAgB,AAChB,cAAgB,CACjB,AACD,yDACE,YAAa,AACb,kBAAmB,AACnB,eAAgB,AAChB,WAAY,AACZ,kBAAqB,CACtB,AACD,gMAGE,gBAAiB,AACjB,YAAc,CACf,AACD,0BACA,0BACI,yBAA4B,CAC/B,AACD,4CACI,mBAAuB,CAC1B,CACA,AACD,0BACA,0BACI,yBAA4B,CAC/B,AACD,4CACI,mBAAuB,CAC1B,CACA,AACD,0BACA,uBACI,qBAAuB,AACvB,wBAA2B,CAC9B,AACD,iDACI,oBAAuB,CAC1B,AACD,0CACI,gBAAiB,AACjB,WAAY,AACZ,WAAY,AACZ,0BAA6B,CAChC,AACD,4BACI,yBAA4B,CAC/B,AACD,iBACI,YAAc,CACjB,CACA,AACD,yBACA,4BACI,SAAW,CACd,AACD,iDACI,iCAAyC,CAC5C,AACD,oEACI,wBAA2B,CAC9B,AACD,oFACI,wBAA2B,CAC9B,AACD,qEACI,2BAA8B,CACjC,CACA",file:"Doc.vue",sourcesContent:["\n.default-content-wrapper.stricky .default-doc-toc {\n position: fixed;\n top: 20px;\n right: 0;\n}\n.mfe-blog-theme-default-doc {\n position: relative;\n float: left;\n width: 100%;\n padding-right: 12%;\n border-left: solid 1px #e8e8e8;\n box-sizing: border-box;\n}\n.mfe-blog-theme-default-doc .doc-content-top,\n.mfe-blog-theme-default-doc .doc-content-describe,\n.mfe-blog-theme-default-doc .default-doc-content,\n.mfe-blog-theme-default-doc .doc-content-paragraph {\n float: left;\n width: 100%;\n box-sizing: border-box;\n}\n.mfe-blog-theme-default-doc .doc-content-top {\n margin-bottom: 20px;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-title {\n font-size: 28px;\n font-weight: 500;\n color: #1f2f3d;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-title,\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode {\n float: left;\n line-height: 1;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode {\n position: relative;\n margin-top: 4px;\n margin-left: 10px;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode i.icon-qr-code {\n font-size: 22px;\n color: #999;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode i.icon-qr-code.active {\n color: #3ca0e6;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode span {\n position: absolute;\n left: -61px;\n top: 30px;\n z-index: 2;\n width: 150px;\n padding: 10px 15px;\n box-sizing: border-box;\n background: #fff;\n box-shadow: 0 4px 8px rgba(0,0,0,0.08);\n border-radius: 4px;\n border: solid 1px #f0f0f0;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-qrcode span i {\n display: inline-block;\n width: 100%;\n text-align: center;\n font-size: 12px;\n color: #999;\n font-style: normal;\n}\n.mfe-blog-theme-default-doc .doc-content-top .doc-content-describe {\n font-size: 16px;\n font-weight: 400;\n color: #666;\n margin-top: 20px;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom {\n float: left;\n width: 100%;\n position: absolute;\n left: 0;\n bottom: 0;\n padding: 20px 64px;\n box-sizing: border-box;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom a {\n text-decoration: none;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom a i {\n color: #999;\n font-size: 12px;\n font-style: normal;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom a p {\n margin-top: 5px;\n color: #2f86f6;\n font-size: 14px;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom a.prev {\n float: left;\n text-align: left;\n}\n.mfe-blog-theme-default-doc .doc-content-bottom a.next {\n float: right;\n text-align: right;\n}\n.mfe-blog-theme-default-doc .default-doc-content {\n position: relative;\n min-height: 800px;\n padding: 0 64px 87px;\n}\n.mfe-blog-theme-default-doc .default-doc-demo-container {\n float: left;\n width: 100%;\n}\n.mfe-blog-theme-default-doc .default-doc-demo-list {\n float: left;\n width: 49%;\n}\n.mfe-blog-theme-default-doc .default-doc-demo-list:first-of-type {\n margin-right: 2%;\n}\n.mfe-blog-theme-default-doc .default-doc-demo,\n.mfe-blog-theme-default-doc .doc-demo-box-info,\n.mfe-blog-theme-default-doc .doc-demo-title,\n.mfe-blog-theme-default-doc .doc-demo-describe,\n.mfe-blog-theme-default-doc .doc-demo-box {\n float: left;\n width: 100%;\n box-sizing: border-box;\n}\n.mfe-blog-theme-default-doc .default-doc-demo {\n margin-bottom: 20px;\n}\n.mfe-blog-theme-default-doc .default-doc-demo .doc-demo-box-info {\n padding: 15px;\n}\n.mfe-blog-theme-default-doc .default-doc-demo .doc-demo-box-info .doc-demo-title {\n display: flex;\n align-items: center;\n font-size: 14px;\n font-weight: 500;\n}\n.mfe-blog-theme-default-doc .default-doc-demo .doc-demo-box-info .doc-demo-describe {\n margin-top: 10px;\n color: #999;\n font-size: 14px;\n font-weight: 400;\n}\n.mfe-blog-theme-default-doc .default-doc-demo .doc-demo-box-info .doc-demo-message {\n display: inline-block;\n width: 100%;\n box-sizing: border-box;\n border-left: 0.3em solid #2f86f6;\n padding: 1em;\n margin-left: 0;\n margin-top: 10px;\n background: rgba(252,145,83,0.05);\n border-radius: 4px;\n font-weight: 400;\n}\n.mfe-blog-theme-default-doc .doc-demo-box {\n position: relative;\n padding-bottom: 24px;\n border-top: solid 1px #efefef;\n box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.08), 0px 1px 1px 0px rgba(0,0,0,0.1), 0px 1px 3px 0px rgba(0,0,0,0.1);\n border-radius: 2px;\n transition: all 0.3s;\n overflow: hidden;\n}\n.mfe-blog-theme-default-doc .doc-demo-box:hover .doc-demo-box-toggle span {\n transform: translateX(0);\n}\n.mfe-blog-theme-default-doc .doc-demo-box.active .doc-demo-box-code,\n.mfe-blog-theme-default-doc .doc-demo-box.active .doc-demo-box-toggle {\n display: block;\n}\n.mfe-blog-theme-default-doc .demo-codesandbox {\n width: 16px;\n height: 16px;\n background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAsCAMAAAAgsQpJAAAAh1BMVEUAAADMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwrRDr0AAAALHRSTlMA++Lla1M79+mNGhII793RXTIM2cXCn30grqV0SikjA764smVF81jHhZeVkzsH/ogAAAG8SURBVDjLnZTZloIwDECDsssiIIuioAIuY/7/+wZbUoVWnDP3iQO3TZOGgIx7Siv4TuxoiNrPCuapdRsZXenNefsEBYvLR83c4Ihwr9SKHUqcD4ocUEnmjr3SR0RNZVo3DwSXgGtWmqVCcOgotk45hMhJMtODiGd0X70lFxi9Vm2Rb7fcXniVjQBPQxLrBXLSCIJnGET/VBbiDlsPiFwbNgWfbXh1IlDjZky1YckP3IAair5g4nNN0qq0NmGfSSxYQkcpenTEnm0hRKrErpDvdGMCCPEVxBF9uHLYgfYAExHq5tmKPu9DT/fZndQwFjnxzRr60AjYLccAU5HiZay5ttQ3siiojsg4HgBmROqR0AT4KkKDaIBaHK/Xp6JLIv0bajF2LBKp0kqRVZeLHKusFWIbIAqRWMtifcW/iZD+Q7RnRTFkluDPiPUhwAEfjAU9b9yJ6DY7jSL3b7y8Q46Wv4urvUPn73KP1/5BC5drEr0oDxE1DcfjtzjjwNVkYqWfesdi11tJPxxnlyM+Mn/QUlMeyyEKbBb148zVqaZMo3mnIi67l2blMXzGdagAdxdmoHlJA3KeKExMkPgFSQZ1ZV06NgQAAAAASUVORK5CYII=\") no-repeat;\n background-size: contain;\n}\n.mfe-blog-theme-default-doc .demo-codesandbox a {\n float: left;\n width: 100%;\n height: 100%;\n margin: 0;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-preview {\n position: relative;\n float: left;\n width: 100%;\n padding: 10px 0;\n box-sizing: border-box;\n border-top: solid 1px #ebebeb;\n background: #f9fafb;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-preview .doc-demo-box-preview-box {\n position: relative;\n width: 100%;\n max-width: 450px;\n margin: 0 auto;\n overflow: hidden;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-preview .doc-demo-box-preview-box .md-example-child {\n zoom: 0.6;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-preview .doc-demo-box-preview-box ul>li {\n list-style: none !important;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-code {\n position: relative;\n display: none;\n width: 100%;\n overflow: hidden;\n box-sizing: border-box;\n border-top: dashed 1px #ebebeb;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-code pre {\n margin-bottom: 0;\n padding-bottom: 0;\n background: #fff;\n transition: all 0.3s;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-code pre code:after {\n left: 5px;\n right: auto !important;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-toggle {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 1102;\n width: 100%;\n height: 24px;\n border-top: solid 1px #ebebeb;\n cursor: pointer;\n text-align: center;\n line-height: 24px;\n font-size: 12px;\n color: #ccc;\n transition: background 0.3s;\n background: #fff;\n overflow: hidden;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-toggle i {\n font-size: 24px;\n line-height: 24px;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-toggle span {\n position: absolute;\n top: 0;\n right: 20px;\n transform: translateX(200%);\n transition: transform 0.3s ease-in-out;\n font-weight: 500;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-toggle:hover {\n background: #fafafa;\n i: , span;\n color: #256fa3;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-toggle.is-stricky {\n position: fixed;\n bottom: 0;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-code-operate {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 100;\n padding: 10px 0;\n cursor: pointer;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-code-operate i {\n float: right;\n margin-right: 10px;\n font-size: 16px;\n color: #ccc;\n transition: all 0.3s;\n}\n.mfe-blog-theme-default-doc .doc-demo-box-code-operate i:active,\n.mfe-blog-theme-default-doc .doc-demo-box-code-operate i:visited,\n.mfe-blog-theme-default-doc .doc-demo-box-code-operate i:focus {\n box-shadow: none;\n outline: none;\n}\n@media (max-width: 1500px) {\n.doc-demo-box-preview-box {\n max-width: 400px !important;\n}\n.doc-demo-box-preview-box .md-example-child {\n zoom: 0.533 !important;\n}\n}\n@media (max-width: 1200px) {\n.doc-demo-box-preview-box {\n max-width: 350px !important;\n}\n.doc-demo-box-preview-box .md-example-child {\n zoom: 0.467 !important;\n}\n}\n@media (max-width: 1000px) {\n.default-doc-demo-list {\n width: 100% !important;\n margin-right: 0 !important;\n}\n.default-doc-demo-list .doc-demo-box-preview-box {\n width: 100% !important;\n}\n.default-doc-demo-list .doc-demo-box-code {\n position: static;\n float: left;\n width: 100%;\n border-left: none !important;\n}\n.mfe-blog-theme-default-doc {\n padding-right: 0 !important;\n}\n.default-doc-toc {\n display: none;\n}\n}\n@media (max-width: 750px) {\n.mfe-blog-theme-default-doc {\n padding: 0;\n}\n.mfe-blog-theme-default-doc .default-doc-content {\n padding: 15px 15px 100px 15px !important;\n}\n.mfe-blog-theme-default-doc .default-doc-content .doc-content-title {\n font-size: 22px !important;\n}\n.mfe-blog-theme-default-doc .default-doc-content .doc-content-qrcode i.icon-qr-code {\n font-size: 16px !important;\n}\n.mfe-blog-theme-default-doc .default-doc-content .doc-content-bottom {\n padding: 20px 15px !important;\n}\n}"],sourceRoot:""}])},"33cD":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("7+lM"),a=o.n(i);for(var n in i)"default"!==n&&function(e){o.d(t,e,function(){return i[e]})}(n);var d=o("pUwL"),s=o("VU/8"),l=s(a.a,d.a,!1,null,null,null);t["default"]=l.exports},"3IRH":function(e){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],!e.children&&(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"3rno":function(e,t,o){var i=o("Ndae");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o("rjj0")("f6fad412",i,!0,{})},"4USm":function(e,t,o){"use strict";function i(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}Object.defineProperty(t,"__esModule",{value:!0});var a=o("oqv+"),n=function(e){return e&&e.__esModule?e:{default:e}}(a);t.default={name:"image-viewer-demo",message:"\u8BF7\u5728\u79FB\u52A8\u8BBE\u5907\u4E2D\u626B\u7801\u9884\u89C8",messageEnUS:"Please scan QR code and preview on mobile device",height:500,components:i({},n.default.name,n.default),data:function(){return{isViewerShow:!1,viewerIndex:0,imgs:["http://img-hxy021.didistatic.com/static/strategymis/insurancePlatform_spu/uploads/27fb7f097ca218d743f816836bc7ea4a","http://manhattan.didistatic.com/static/manhattan/insurancePlatform_spu/uploads/c2912793a222eb24b606a582fd849ab7","http://img-hxy021.didistatic.com/static/strategymis/insurancePlatform_spu/uploads/6ee5a0ba9340ca452cbc827902e76be0","http://img-hxy021.didistatic.com/static/strategymis/insurancePlatform_spu/uploads/d751dd4487e265de3b8587f504eee2c3"]}},methods:{showViewer:function(e){this.viewerIndex=e,this.isViewerShow=!0}}}},"6VUO":function(e,t,o){var i,a,n;(function(){(function(d,s){a=[t,o("U6ik"),o("3rno")],i=s,n="function"==typeof i?i.apply(t,a):i,!(void 0!==n&&(e.exports=n))})(this,function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"md-swiper-item",computed:{swiperWidth:function(){return this.$parent.isVertical?"auto":this.$parent.dimension+"px"},swiperHeight:function(){return this.$parent.isVertical?this.$parent.dimension+"px":"auto"}},mounted:function(){return this.$parent&&this.$parent.swiperItemCreated(this)},destroyed:function(){return this.$parent&&this.$parent.swiperItemDestroyed(this)}}})})(),e.exports.__esModule&&(e.exports=e.exports.default);var d="function"==typeof e.exports?e.exports.options:e.exports;d.render=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"md-swiper-item",style:{width:e.swiperWidth,height:e.swiperHeight}},[e._t("default")],2)},d.staticRenderFns=[]},"7+lM":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("LLIv"),a=function(e){return e&&e.__esModule?e:{default:e}}(i),n=o("I+uV"),d=o("ldO6");t.default={name:"mfe-blog-theme-default-doc-container",data:function(){return{info:n.info,body:n.body,toc:n.toc,demos:d.demos}},components:{MbDocer:a.default}}},"8K01":function(e,t,o){var i=o("0MS6");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o("rjj0")("62434e57",i,!0,{})},"9WrN":function(e,t,o){t=e.exports=o("FZ+f")(!0),t.push([e.i,".md-example-child-image-reader[data-v-4a0474fb],.md-example-child-image-reader ul[data-v-4a0474fb]{float:left;width:100%}.md-example-child-image-reader ul li[data-v-4a0474fb]{position:relative;float:left;width:22%;padding-bottom:22%;margin-left:2%;margin-top:2%;border-sizing:border-box;border-radius:2px;overflow:hidden;list-style:none}.md-example-child-image-reader ul li .img[data-v-4a0474fb]{position:absolute;width:100%;height:100%}","",{version:3,sources:["/Users/moyu/Repo/mand-mobile/site/public/en-US/docs/components/basic/image-viewer/demo0.vue"],names:[],mappings:"AAKA,mGACE,WAAY,AACZ,UAAY,CACb,AACD,sDACE,kBAAmB,AACnB,WAAY,AACZ,UAAW,AACX,mBAAoB,AACpB,eAAgB,AAChB,cAAe,AACf,yBAA0B,AAC1B,kBAAmB,AACnB,gBAAiB,AACjB,eAAiB,CAClB,AACD,2DACE,kBAAmB,AACnB,WAAY,AACZ,WAAa,CACd",file:"demo0.vue",sourcesContent:["\n.md-example-child-image-reader[data-v-4a0474fb] {\n float: left;\n width: 100%;\n}\n.md-example-child-image-reader ul[data-v-4a0474fb] {\n float: left;\n width: 100%;\n}\n.md-example-child-image-reader ul li[data-v-4a0474fb] {\n position: relative;\n float: left;\n width: 22%;\n padding-bottom: 22%;\n margin-left: 2%;\n margin-top: 2%;\n border-sizing: border-box;\n border-radius: 2px;\n overflow: hidden;\n list-style: none;\n}\n.md-example-child-image-reader ul li .img[data-v-4a0474fb] {\n position: absolute;\n width: 100%;\n height: 100%;\n}"],sourceRoot:""}])},BdOb:function(e,t,o){var i,a,n;(function(d,s){a=[t,o("xnBM")],i=s,n="function"==typeof i?i.apply(t,a):i,!(void 0!==n&&(e.exports=n))})(this,function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.warn=void 0;e.warn=function(e){var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"error";t.isProd||console[o]("[Mand-Mobile]: "+e)}})},CNMd:function(e,t,o){var i=o("1LLx");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o("rjj0")("4929916d",i,!0,{})},CY7M:function(e,t,o){var i,a,n;(function(d,s){a=[t,o("xnBM")],i=s,n="function"==typeof i?i.apply(t,a):i,!(void 0!==n&&(e.exports=n))})(this,function(e,t){"use strict";function o(){}function i(e,t){var o=document,i=o.head||o.getElementsByTagName("head")[0],a=o.createElement("script"),n="onload"in a,d=function(){a=null,"function"==typeof t&&t()};n?a.onload=d:a.onreadystatechange=function(){/loaded|complete/.test(a.readyState)&&d()},a.async=!0,a.crossOrigin=!0,a.charset="utf-8",a.src=e,i.appendChild(a)}Object.defineProperty(e,"__esModule",{value:!0}),e.noop=o,e.requireRemoteScript=i,e.getDpr=function(){var e=function(e,t){var o=new RegExp("(^|,)"+e+"=([^,]*)(,|$)","i"),i=t.match(o);return null==i?null:i[2]},o=t.inBrowser?document.querySelector("meta[name=viewport]"):null;if(!o)return 1;var i=o.getAttribute("content"),a=+(e("initial-scale",i)||1),n=+(e("maximum-scale",i)||1),d=+(e("minimum-scale",i)||1);return 1/Math.min(a,n,d)},e.functionToUrl=function(e){var t=new Blob(["("+e.toString()+")(null)"],{type:"application/javascript"});return URL.createObjectURL(t)},e.randomId=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:8;return e+"-"+parseInt(Math.random()*Math.pow(10,t))},e.transformCamelCase=function(e){var t=/-(\w)/g;return e.replace(t,function(e,t){return t.toUpperCase()})},e.debounce=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:o,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300,i=null;return function(){var o=this;i&&clearTimeout(i),i=setTimeout(function(){e.apply(o,arguments)},t)}},e.throttle=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:o,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300,i=0;return function(){var o=this,a=Date.now();a-i>t&&(i=a,e.apply(o,arguments))}}})},E1bj:function(e,t){"use strict";t.a={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"mfe-blog-theme-default-doc doc-template"},[o("div",{staticClass:"default-doc-content"},[o("div",{staticClass:"doc-content-top"},[e.info.title?o("p",{staticClass:"doc-content-title",domProps:{innerHTML:e._s(e.info.title)}}):e._e(),e._v(" "),e.info.preview?o("p",{staticClass:"doc-content-qrcode",on:{mouseover:function(){e.isQrcodeShow=!0},mouseleave:function(){e.isQrcodeShow=!1}}},[o("i",{staticClass:"icon-qr-code",class:{active:e.isQrcodeShow}}),e._v(" "),o("transition",{attrs:{name:"slide-fade"}},[o("span",{directives:[{name:"show",rawName:"v-show",value:e.isQrcodeShow,expression:"isQrcodeShow"}],staticClass:"qrcode-box"},["en-US"===e.lang?o("i",[e._v("Scan QR code to preview")]):o("i",[e._v("\u626B\u7801\u9884\u89C8")]),e._v(" "),o("qr-code",{attrs:{text:e.info.preview}})],1)])],1):e._e()]),e._v(" "),e.info.describe?o("div",{staticClass:"doc-content-describe",domProps:{innerHTML:e._s(e.info.describe)}}):e._e(),e._v(" "),o("div",{staticClass:"doc-content-paragraph head",domProps:{innerHTML:e._s(e.bodyHead)}}),e._v(" "),e.demos&&e.demos.length?[o("div",{staticClass:"default-doc-demo-container"},[o("div",{staticClass:"default-doc-demo-list"},[e._l(e.demos,function(t,i){return[0==i%2?o("div",{key:i,staticClass:"default-doc-demo"},[o("div",{staticClass:"doc-demo-box",class:["doc-demo-box-"+i,e.demoBoxShowStat[i]?"active":""]},[o("div",{staticClass:"doc-demo-box-info"},["en-US"===e.lang?[o("h4",{staticClass:"doc-demo-title",domProps:{innerHTML:e._s(t.component.titleEnUS||t.component.title||"Basic")}}),e._v(" "),t.component.describeEnUS||t.component.describe?o("h5",{staticClass:"doc-demo-describe",domProps:{innerHTML:e._s(t.component.describeEnUS||t.component.describe)}}):e._e(),e._v(" "),t.component.messageEnUS||t.component.message?o("h5",{staticClass:"doc-demo-message",domProps:{innerHTML:e._s(t.component.messageEnUS||t.component.message)}}):e._e()]:[o("h4",{staticClass:"doc-demo-title",domProps:{innerHTML:e._s(t.component.title||"\u57FA\u672C")}}),e._v(" "),t.component.describe?o("h5",{staticClass:"doc-demo-describe",domProps:{innerHTML:e._s(t.component.describe)}}):e._e(),e._v(" "),t.component.message?o("h5",{staticClass:"doc-demo-message",domProps:{innerHTML:e._s(t.component.message)}}):e._e()]],2),e._v(" "),o("div",{staticClass:"doc-demo-box-preview"},[o("div",{staticClass:"doc-demo-box-preview-box",style:{minHeight:t.component.height+"px"}},[o(t.component,{tag:"component"})],1)]),e._v(" "),o("div",{staticClass:"doc-demo-box-code"},[o("div",{staticClass:"doc-demo-box-code-operate"},[o("i",{staticClass:"icon-hollowError",on:{click:function(){return e.toggleDemoBox(i)}}}),e._v(" "),"en-US"===e.lang?[o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:e.isCopySuccess?"Copied":"Copy Code",offset:5},expression:"{content: isCopySuccess ? 'Copied' : 'Copy Code', offset: 5}"},{name:"clipboard",rawName:"v-clipboard:copy",value:decodeURI(t.raw),expression:"decodeURI(demo.raw)",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.onCopySuccess,expression:"onCopySuccess",arg:"success"}],class:e.isCopySuccess?"icon-question":"icon-paper"}),e._v(" "),t.component.codeSandBox?o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"Open in CodeSandBox",offset:5},expression:"{content: 'Open in CodeSandBox', offset: 5}"}],staticClass:"demo-codesandbox"},[o("a",{attrs:{href:t.component.codeSandBox,target:"_blank"}})]):e._e(),e._v(" "),o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"Edit this page on Github",offset:5},expression:"{content: 'Edit this page on Github', offset: 5}"}],staticClass:"icon-edit",on:{click:function(){return e.goToDemo(i)}}})]:[o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:e.isCopySuccess?"\u590D\u5236\u4EE3\u7801\u6210\u529F":"\u590D\u5236\u4EE3\u7801",offset:5},expression:"{content: isCopySuccess ? '\u590D\u5236\u4EE3\u7801\u6210\u529F' : '\u590D\u5236\u4EE3\u7801', offset: 5}"},{name:"clipboard",rawName:"v-clipboard:copy",value:decodeURI(t.raw),expression:"decodeURI(demo.raw)",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.onCopySuccess,expression:"onCopySuccess",arg:"success"}],class:e.isCopySuccess?"icon-question":"icon-paper"}),e._v(" "),t.component.codeSandBox?o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"\u5728CodeSandBox\u6253\u5F00",offset:5},expression:"{content: '\u5728CodeSandBox\u6253\u5F00', offset: 5}"}],staticClass:"demo-codesandbox"},[o("a",{attrs:{href:t.component.codeSandBox,target:"_blank"}})]):e._e(),e._v(" "),o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"\u5728Github\u4E0A\u7F16\u8F91\u6B64\u9875",offset:5},expression:"{content: '\u5728Github\u4E0A\u7F16\u8F91\u6B64\u9875', offset: 5}"}],staticClass:"icon-edit",on:{click:function(){return e.goToDemo(i)}}})]],2),e._v(" "),o("pre",[e._v(" "),o("code",{staticClass:"lang-vue",domProps:{innerHTML:e._s(t.code)}}),e._v("\n ")])]),e._v(" "),o("div",{staticClass:"doc-demo-box-toggle",on:{click:function(){return e.toggleDemoBox(i)}}},[e.demoBoxShowStat[i]?[o("i",{staticClass:"icon-triangle-up"}),e._v(" "),"en-US"===e.lang?o("span",[e._v("Hide Code")]):o("span",[e._v("\u4EE3\u7801\u6536\u8D77")])]:[o("i",{staticClass:"icon-triangle-down"}),e._v(" "),"en-US"===e.lang?o("span",[e._v("Show Code")]):o("span",[e._v("\u4EE3\u7801\u5C55\u793A")])]],2)])]):e._e()]})],2),e._v(" "),o("div",{staticClass:"default-doc-demo-list"},[e._l(e.demos,function(t,i){return[0==i%2?e._e():o("div",{key:i,staticClass:"default-doc-demo"},[o("div",{staticClass:"doc-demo-box",class:["doc-demo-box-"+i,e.demoBoxShowStat[i]?"active":""]},[o("div",{staticClass:"doc-demo-box-info"},["en-US"===e.lang?[o("h4",{staticClass:"doc-demo-title",domProps:{innerHTML:e._s(t.component.titleEnUS||t.component.title||"Basic")}}),e._v(" "),t.component.describeEnUS||t.component.describe?o("h5",{staticClass:"doc-demo-describe",domProps:{innerHTML:e._s(t.component.describeEnUS||t.component.describe)}}):e._e(),e._v(" "),t.component.messageEnUS||t.component.message?o("h5",{staticClass:"doc-demo-message",domProps:{innerHTML:e._s(t.component.messageEnUS||t.component.message)}}):e._e()]:[o("h4",{staticClass:"doc-demo-title",domProps:{innerHTML:e._s(t.component.title||"\u57FA\u672C")}}),e._v(" "),t.component.describe?o("h5",{staticClass:"doc-demo-describe",domProps:{innerHTML:e._s(t.component.describe)}}):e._e(),e._v(" "),t.component.message?o("h5",{staticClass:"doc-demo-message",domProps:{innerHTML:e._s(t.component.message)}}):e._e()]],2),e._v(" "),o("div",{staticClass:"doc-demo-box-preview"},[o("div",{staticClass:"doc-demo-box-preview-box",style:{minHeight:t.component.height+"px"}},[o(t.component,{tag:"component"})],1)]),e._v(" "),o("div",{staticClass:"doc-demo-box-code"},[o("div",{staticClass:"doc-demo-box-code-operate"},[o("i",{staticClass:"icon-hollowError",on:{click:function(){return e.toggleDemoBox(i)}}}),e._v(" "),"en-US"===e.lang?[o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:e.isCopySuccess?"Copied":"Copy Code",offset:5},expression:"{content: isCopySuccess ? 'Copied' : 'Copy Code', offset: 5}"},{name:"clipboard",rawName:"v-clipboard:copy",value:decodeURI(t.raw),expression:"decodeURI(demo.raw)",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.onCopySuccess,expression:"onCopySuccess",arg:"success"}],class:e.isCopySuccess?"icon-question":"icon-paper"}),e._v(" "),t.component.codeSandBox?o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"Open in CodeSandBox",offset:5},expression:"{content: 'Open in CodeSandBox', offset: 5}"}],staticClass:"demo-codesandbox"},[o("a",{attrs:{href:t.component.codeSandBox,target:"_blank"}})]):e._e(),e._v(" "),o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"Edit this page on Github",offset:5},expression:"{content: 'Edit this page on Github', offset: 5}"}],staticClass:"icon-edit",on:{click:function(){return e.goToDemo(i)}}})]:[o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:e.isCopySuccess?"\u590D\u5236\u4EE3\u7801\u6210\u529F":"\u590D\u5236\u4EE3\u7801",offset:5},expression:"{content: isCopySuccess ? '\u590D\u5236\u4EE3\u7801\u6210\u529F' : '\u590D\u5236\u4EE3\u7801', offset: 5}"},{name:"clipboard",rawName:"v-clipboard:copy",value:decodeURI(t.raw),expression:"decodeURI(demo.raw)",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.onCopySuccess,expression:"onCopySuccess",arg:"success"}],class:e.isCopySuccess?"icon-question":"icon-paper"}),e._v(" "),t.component.codeSandBox?o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"\u5728CodeSandBox\u6253\u5F00",offset:5},expression:"{content: '\u5728CodeSandBox\u6253\u5F00', offset: 5}"}],staticClass:"demo-codesandbox"},[o("a",{attrs:{href:t.component.codeSandBox,target:"_blank"}})]):e._e(),e._v(" "),o("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:"\u5728Github\u4E0A\u7F16\u8F91\u6B64\u9875",offset:5},expression:"{content: '\u5728Github\u4E0A\u7F16\u8F91\u6B64\u9875', offset: 5}"}],staticClass:"icon-edit",on:{click:function(){return e.goToDemo(i)}}})]],2),e._v(" "),o("pre",[e._v(" "),o("code",{staticClass:"lang-vue",domProps:{innerHTML:e._s(t.code)}}),e._v("\n ")])]),e._v(" "),o("div",{staticClass:"doc-demo-box-toggle",on:{click:function(){return e.toggleDemoBox(i)}}},[e.demoBoxShowStat[i]?[o("i",{staticClass:"icon-triangle-up"}),e._v(" "),"en-US"===e.lang?o("span",[e._v("Hide Code")]):o("span",[e._v("\u4EE3\u7801\u6536\u8D77")])]:[o("i",{staticClass:"icon-triangle-down"}),e._v(" "),"en-US"===e.lang?o("span",[e._v("Show Code")]):o("span",[e._v("\u4EE3\u7801\u5C55\u793A")])]],2)])])]})],2)])]:e._e(),e._v(" "),e.bodyTail?o("div",{staticClass:"doc-content-paragraph tail",domProps:{innerHTML:e._s(e.bodyTail)}}):e._e(),e._v(" "),o("div",{staticClass:"doc-content-bottom"},[e.prevRoute?o("router-link",{staticClass:"prev",attrs:{to:e.prevRoute.path}},[o("i",[e._v("Prev")]),e._v(" "),o("p",{domProps:{innerHTML:e._s(e.prevRoute.meta.text)}})]):e._e(),e._v(" "),e.nextRoute?o("router-link",{staticClass:"next",attrs:{to:e.nextRoute.path}},[o("i",[e._v("Next")]),e._v(" "),o("p",{domProps:{innerHTML:e._s(e.nextRoute.meta.text)}})]):e._e()],1)],2),e._v(" "),e.hiddenToc?e._e():o("div",{staticClass:"default-doc-toc",domProps:{innerHTML:e._s(e.toc)}})])},staticRenderFns:[]}},"I+uV":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=t.info={title:"ImageViewer",preview:"https://didi.github.io/mand-mobile/examples/#/image-viewer"},i=t.body="<p>For browsing multiple pictures and swiping to switch pictures</p>\n<h3 id=\"Import\">Import<a href=\"javascript:jumpAnchor('Import')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><pre><code class=\"language-javascript\"><span class=\"hljs-keyword\">import</span> { ImageViewer } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'mand-mobile'</span>\n\nVue.component(ImageViewer.name, ImageViewer)</code></pre>\n<h3 id=\"Code Examples\">Code Examples<a href=\"javascript:jumpAnchor('Code Examples')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><!-- DEMO -->\n\n<h3 id=\"API\">API<a href=\"javascript:jumpAnchor('API')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><h4 id=\"ImageViewer Props\">ImageViewer Props<a href=\"javascript:jumpAnchor('ImageViewer Props')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><table>\n<thead>\n<tr>\n<th>Props</th>\n<th>Description</th>\n<th>Type</th>\n<th>Default</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>v-model</td>\n<td>viewer display</td>\n<td>Boolean</td>\n<td><code>false</code></td>\n<td></td>\n</tr>\n<tr>\n<td>list</td>\n<td>show picture list</td>\n<td>Array<String></td>\n<td><code>[]</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td>initial-index</td>\n<td>initialize the index of displayed image</td>\n<td>Number</td>\n<td><code>0</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td>has-dots</td>\n<td>display the index of picture</td>\n<td>Boolean</td>\n<td><code>true</code></td>\n<td>-</td>\n</tr>\n</tbody></table>\n",a=t.toc="<a href=\"javascript:jumpAnchor('Import')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">Import</a><a href=\"javascript:jumpAnchor('Code Examples')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">Code Examples</a><a href=\"javascript:jumpAnchor('API')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">API</a><a href=\"javascript:jumpAnchor('ImageViewer Props')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">ImageViewer Props</a>"},LLIv:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("tyZS"),a=o.n(i);for(var n in i)"default"!==n&&function(e){o.d(t,e,function(){return i[e]})}(n);var d=o("E1bj"),s=o("VU/8"),l=s(a.a,d.a,!1,function(){o("CNMd")},null,null);t["default"]=l.exports},LeDR:function(e,t,o){var i,a,n;(function(d,s){a=[t,o("CY7M")],i=s,n="function"==typeof i?i.apply(t,a):i,!(void 0!==n&&(e.exports=n))})(this,function(e,t){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}function a(e,t){for(var o in t)e[o]=t[o];return e}Object.defineProperty(e,"__esModule",{value:!0}),e.extend=a,e.traverse=function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:t.noop;if(e){"function"==typeof a&&(n=a,a=[]);var d=0,s=[],i=function e(t){for(var l=0,i=t.length;l<i;l++){var r=Array.isArray(t[l]),c=Array.isArray(a)?a[d]:a;if(r||t[l]&&t[l][c])d++,s.push(l),e(r?t[l]:t[l][c]);else if(d>=a.length){var m=n(t[l],d,[].concat(o(s),[l]));if(1===m)continue;else if(2===m)break}else continue}d=0,s=[]};i(e)}},e.toObject=function(e){for(var t={},o=0;o<e.length;o++)e[o]&&a(t,e[o]);return t},e.toArray=function(e,t){t=t||0;for(var o=e.length-t,i=[];o--;)i.unshift(e[o+t]);return i},e.inArray=function(e,t){return Array.isArray(e)?!!~e.indexOf(t):t===e},e.toNumber=function(e){var t=parseFloat(e);return isNaN(t)?e:t},e.toString=function(e){return null==e?"":"object"===("undefined"==typeof e?"undefined":i(e))?JSON.stringify(e,null,2):e+""},e.compareObjects=function(e,t){var o=!0;return e&&t?"object"!==("undefined"==typeof e?"undefined":i(e))||"object"!==("undefined"==typeof t?"undefined":i(t))?o=!1:JSON.stringify(e)!==JSON.stringify(t)&&(o=!1):o=!1,o},e.isEmptyObject=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0};var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}})},Ndae:function(e,t,o){t=e.exports=o("FZ+f")(!0),t.push([e.i,".md-swiper-item{position:relative;width:100%;-webkit-flex-shrink:0;flex-shrink:0}","",{version:3,sources:["/Users/moyu/Repo/mand-mobile/site/node_modules/mand-mobile/lib/swiper/style/swiper-item.css"],names:[],mappings:"AAAA,gBAAgB,kBAAkB,WAAW,sBAAsB,aAAa,CAAC",file:"swiper-item.css",sourcesContent:[".md-swiper-item{position:relative;width:100%;-webkit-flex-shrink:0;flex-shrink:0}"],sourceRoot:""}])},"Ome+":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("ukR+"),a=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default={props:{text:{type:String,required:!0},size:{type:Number,required:!1,default:256},color:{type:String,required:!1,default:"#000"},bgColor:{type:String,required:!1,default:"#FFF"},errorLevel:{type:String,validator:function(e){return"L"===e||"M"===e||"Q"===e||"H"===e},required:!1,default:"H"}},watch:{text:function(){this.clear(),this.makeCode(this.text)}},data:function(){return{qrCode:{}}},mounted:function(){this.qrCode=new a.default(this.$el,{text:this.text,width:this.size,height:this.size,colorDark:this.color,colorLight:this.bgColor,correctLevel:a.default.CorrectLevel[this.errorLevel]})},methods:{clear:function(){this.qrCode.clear()},makeCode:function(e){this.qrCode.makeCode(e)}}}},Svgr:function(e,t,o){var i,a,n;(function(d,s){a=[t,o("xnBM")],i=s,n="function"==typeof i?i.apply(t,a):i,!(void 0!==n&&(e.exports=n))})(this,function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.render=void 0;e.render=function(e){if(!t.inBrowser)return function(e,t,o){e.style.marginLeft=t?-t+"px":"",e.style.marginTop=o?-o+"px":""};var o=document.documentElement.style,i=void 0;e.opera&&"[object Opera]"===Object.prototype.toString.call(opera)?i="presto":"MozAppearance"in o?i="gecko":"WebkitAppearance"in o?i="webkit":"string"==typeof navigator.cpuClass&&(i="trident");var a={trident:"ms",gecko:"Moz",webkit:"Webkit",presto:"O"}[i],n=document.createElement("div"),d=a+"Transform";return void 0===n.style[a+"Perspective"]?void 0===n.style[d]?function(e,t,o,i){e.style.marginLeft=t?-t+"px":"",e.style.marginTop=o?-o+"px":"",e.style.zoom=i||""}:function(e,t,o){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:1;e.style[d]="translate("+-t+"px,"+-o+"px) scale("+i+")"}:function(e,t,o){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:1,a=!(4<arguments.length&&void 0!==arguments[4])||arguments[4];e.style[d]=a?"translate3d("+-t+"px,"+-o+"px,0) scale("+i+")":"translate("+-t+"px,"+-o+"px) scale("+i+")"}}(t.root)})},U6ik:function(e,t,o){var i=o("jJhs");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o("rjj0")("20e0057a",i,!0,{})},dgYx:function(e,t,o){var i,a,n;(function(d,s){a=[t,o("BdOb"),o("xnBM"),o("LeDR"),o("CY7M"),o("/AJx")],i=s,n="function"==typeof i?i.apply(t,a):i,!(void 0!==n&&(e.exports=n))})(this,function(e,t,o,i,a,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(t).forEach(function(o){"default"===o||"__esModule"===o||Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[o]}})}),Object.keys(o).forEach(function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})}),Object.keys(i).forEach(function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})}),Object.keys(a).forEach(function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return a[t]}})}),Object.keys(n).forEach(function(t){"default"===t||"__esModule"===t||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})})},dznq:function(e,t,o){var i,a,n,d=Math.pow;(function(d,s){a=[t,o("xnBM")],i=s,n="function"==typeof i?i.apply(t,a):i,!(void 0!==n&&(e.exports=n))})(this,function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.easeInOutCubic=e.easeOutCubic=void 0;var o=function(e){var t=Date.now||function(){return+new Date},o=60,i=1e3,a={},n=1;return{requestAnimationFrame:function(){var t=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame,o=!!t;if(t&&!/requestAnimationFrame\(\)\s*\{\s*\[native code\]\s*\}/i.test(t.toString())&&(o=!1),o)return function(e,o){t(e,o)};var i={},a=0,n=1,d=null,s=+new Date;return function(e){var t=n++;return i[t]=e,a++,null===d&&(d=setInterval(function(){var e=+new Date,t=i;for(var o in i={},a=0,t)t.hasOwnProperty(o)&&(t[o](e),s=e);2500<e-s&&(clearInterval(d),d=null)},1e3/60)),t}}(),stop:function(e){var t=null!=a[e];return t&&(a[e]=null),t},isRunning:function(e){return null!=a[e]},start:function(e,d,s,l,r,c){var m=this,p=t(),A=p,g=0,u=0,f=n++;if(c||(c=document.body),0==f%20){var h={};for(var b in a)h[b]=!0;a=h}var x=function n(h){var b=!0!==h,x=t();if(!a[f]||d&&!d(f))return a[f]=null,void(s&&s(o-u/((x-p)/i),f,!1));if(b)for(var C=Math.round((x-A)/(i/o))-1,_=0;_<Math.min(C,4);_++)n(!0),u++;l&&(g=(x-p)/l,1<g&&(g=1));var w=r?r(g):g;w=isNaN(w)?0:w,(!1===e(w,x,b)||1==g)&&b?(a[f]=null,s&&s(o-u/((x-p)/i),f,1==g||null==l)):b&&(A=x,m.requestAnimationFrame(n,c))};return a[f]=!0,this.requestAnimationFrame(x,c),f}}}(t.root),i=e.easeOutCubic=function(e){return d(e-1,3)+1},a=e.easeInOutCubic=function(e){return 1>(e/=.5)?.5*d(e,3):.5*(d(e-2,3)+2)};e.default=o})},iX8o:function(e,t,o){var i=o("9WrN");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o("rjj0")("c4765194",i,!0,{})},j1OB:function(e,t,o){t=e.exports=o("FZ+f")(!0),t.push([e.i,".md-swiper-box{overflow:hidden;will-change:tranform}.md-swiper,.md-swiper-box{width:100%;height:100%;position:relative}.md-swiper-box.disabled,.md-swiper.disabled{visibility:hidden}.md-swiper-box.md-swiper-fade .md-swiper-item,.md-swiper.md-swiper-fade .md-swiper-item{position:absolute;opacity:0;top:0;left:0}.md-swiper-box.md-swiper-vertical .md-swiper-container,.md-swiper.md-swiper-vertical .md-swiper-container{width:100%;height:auto;-webkit-box-orient:vertical;box-orient:vertical;-webkit-flex-direction:column;flex-direction:column}.md-swiper-box.md-swiper-vertical .md-swiper-indicators,.md-swiper.md-swiper-vertical .md-swiper-indicators{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;right:20px;left:auto;bottom:auto;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.md-swiper-box.md-swiper-vertical .md-swiper-indicators.disabled,.md-swiper.md-swiper-vertical .md-swiper-indicators.disabled{visibility:hidden}.md-swiper-box.md-swiper-vertical .md-swiper-indicators .md-swiper-indicator,.md-swiper.md-swiper-vertical .md-swiper-indicators .md-swiper-indicator{width:4px;height:16px;margin:2.5px 0}.md-swiper-container{height:100%;width:auto;position:relative;box-sizing:initial}.md-swiper-container,.md-swiper-indicators{display:-webkit-box;display:-webkit-flex;display:flex}.md-swiper-indicators{position:absolute;bottom:20px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.md-swiper-indicator{width:16px;height:4px;display:inline-block;background:#ddd;margin:0 3px}.md-swiper-indicator.md-swiper-indicator-active{background:#2f86f6}","",{version:3,sources:["/Users/moyu/Repo/mand-mobile/site/node_modules/mand-mobile/lib/swiper/style/index.css"],names:[],mappings:"AAAA,eAAe,gBAAgB,oBAAoB,CAAC,0BAA0B,WAAW,YAAY,iBAAiB,CAAC,4CAA4C,iBAAiB,CAAC,wFAAwF,kBAAkB,UAAU,MAAM,MAAM,CAAC,0GAA0G,WAAW,YAAY,4BAA4B,oBAAoB,8BAA8B,qBAAqB,CAAC,4GAA4G,4BAA4B,6BAA6B,8BAA8B,sBAAsB,WAAW,UAAU,YAAY,QAAQ,mCAAmC,0BAA0B,CAAC,8HAA8H,iBAAiB,CAAC,sJAAsJ,UAAU,YAAY,cAAc,CAAC,qBAAqB,YAAY,WAAW,kBAAkB,kBAAkB,CAAC,2CAA2C,oBAAoB,qBAAqB,YAAY,CAAC,sBAAsB,kBAAkB,YAAY,SAAS,mCAAmC,0BAA0B,CAAC,qBAAqB,WAAW,WAAW,qBAAqB,gBAAgB,YAAY,CAAC,gDAAgD,kBAAkB,CAAC",file:"index.css",sourcesContent:[".md-swiper-box{overflow:hidden;will-change:tranform}.md-swiper,.md-swiper-box{width:100%;height:100%;position:relative}.md-swiper-box.disabled,.md-swiper.disabled{visibility:hidden}.md-swiper-box.md-swiper-fade .md-swiper-item,.md-swiper.md-swiper-fade .md-swiper-item{position:absolute;opacity:0;top:0;left:0}.md-swiper-box.md-swiper-vertical .md-swiper-container,.md-swiper.md-swiper-vertical .md-swiper-container{width:100%;height:auto;-webkit-box-orient:vertical;box-orient:vertical;-webkit-flex-direction:column;flex-direction:column}.md-swiper-box.md-swiper-vertical .md-swiper-indicators,.md-swiper.md-swiper-vertical .md-swiper-indicators{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;right:20px;left:auto;bottom:auto;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.md-swiper-box.md-swiper-vertical .md-swiper-indicators.disabled,.md-swiper.md-swiper-vertical .md-swiper-indicators.disabled{visibility:hidden}.md-swiper-box.md-swiper-vertical .md-swiper-indicators .md-swiper-indicator,.md-swiper.md-swiper-vertical .md-swiper-indicators .md-swiper-indicator{width:4px;height:16px;margin:2.5px 0}.md-swiper-container{height:100%;width:auto;position:relative;box-sizing:initial}.md-swiper-container,.md-swiper-indicators{display:-webkit-box;display:-webkit-flex;display:flex}.md-swiper-indicators{position:absolute;bottom:20px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.md-swiper-indicator{width:16px;height:4px;display:inline-block;background:#ddd;margin:0 3px}.md-swiper-indicator.md-swiper-indicator-active{background:#2f86f6}"],sourceRoot:""}])},jJhs:function(e,t,o){t=e.exports=o("FZ+f")(!0),t.push([e.i,"body{font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,\u5FAE\u8F6F\u96C5\u9ED1,Arial,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}li,ol{list-style:none}","",{version:3,sources:["/Users/moyu/Repo/mand-mobile/site/node_modules/mand-mobile/lib/_style/global.css"],names:[],mappings:"AAAA,KAAK,wGAAwG,wCAAwC,mCAAmC,iCAAiC,CAAC,MAAM,eAAe,CAAC",file:"global.css",sourcesContent:["body{font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,\u5FAE\u8F6F\u96C5\u9ED1,Arial,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}li,ol{list-style:none}"],sourceRoot:""}])},ldO6:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.demos=void 0;var i=o("mNwD"),a=function(e){return e&&e.__esModule?e:{default:e}}(i),n=t.demos=[{component:a.default,code:"<template>\n <<span class=\"hljs-selector-tag\">div</span> class=<span class=\"hljs-string\">\"md-example-child md-example-child-image-reader\"</span>>\n <div>\n <ul>\n <template v-<span class=\"hljs-keyword\">for</span>=<span class=\"hljs-string\">\"(item, index) in imgs\"</span>>\n <<span class=\"hljs-selector-tag\">li</span> @click=<span class=\"hljs-string\">\"showViewer(index, $event)\"</span> :key=<span class=\"hljs-string\">\"index\"</span>>\n <<span class=\"hljs-selector-tag\">div</span> class=<span class=\"hljs-string\">\"img\"</span>\n :style=<span class=\"hljs-string\">\"`background: url(${item}) center no-repeat;background-size:cover;`\"</span>>\n </div>\n </li>\n </template>\n </ul>\n </div>\n <md-image-viewer\n v-model=<span class=\"hljs-string\">\"isViewerShow\"</span>\n :list=<span class=\"hljs-string\">\"imgs\"</span>\n :has-dots=<span class=\"hljs-string\">\"true\"</span>\n :<span class=\"hljs-attribute\">initial</span>-index=<span class=\"hljs-string\">\"viewerIndex\"</span>>\n </md-image-viewer>\n </div>\n</template>\n\n<script>\rimport {ImageViewer} from <span class=\"hljs-string\">'mand-mobile'</span>\n\nexport default {\n name: <span class=\"hljs-string\">'image-viewer-demo'</span>,\n components: {\n [ImageViewer.name]: ImageViewer,\n },\n data() {\n return {\n isViewerShow: false,\n viewerIndex: <span class=\"hljs-number\">0</span>,\n imgs: [\n <span class=\"hljs-string\">'http://img-hxy021.didistatic.com/static/strategymis/insurancePlatform_spu/uploads/27fb7f097ca218d743f816836bc7ea4a'</span>,\n <span class=\"hljs-string\">'http://manhattan.didistatic.com/static/manhattan/insurancePlatform_spu/uploads/c2912793a222eb24b606a582fd849ab7'</span>,\n <span class=\"hljs-string\">'http://img-hxy021.didistatic.com/static/strategymis/insurancePlatform_spu/uploads/6ee5a0ba9340ca452cbc827902e76be0'</span>,\n <span class=\"hljs-string\">'http://img-hxy021.didistatic.com/static/strategymis/insurancePlatform_spu/uploads/d751dd4487e265de3b8587f504eee2c3'</span>,\n ],\n }\n },\n methods: {\n showViewer(index) {\n this<span class=\"hljs-selector-class\">.viewerIndex</span> = index\n this<span class=\"hljs-selector-class\">.isViewerShow</span> = true\n },\n },\n}\n\r</script>\n\n<style lang=<span class=\"hljs-string\">\"stylus\"</span> scoped>\n<span class=\"hljs-selector-class\">.md-example-child-image-reader</span>\n <span class=\"hljs-attribute\">float</span> left\n <span class=\"hljs-attribute\">width</span> <span class=\"hljs-number\">100%</span>\n <span class=\"hljs-selector-tag\">ul</span>\n <span class=\"hljs-attribute\">float</span> left\n <span class=\"hljs-attribute\">width</span> <span class=\"hljs-number\">100%</span>\n <span class=\"hljs-selector-tag\">li</span>\n <span class=\"hljs-attribute\">position</span> relative\n <span class=\"hljs-attribute\">float</span> left\n <span class=\"hljs-attribute\">width</span> <span class=\"hljs-number\">22%</span>\n <span class=\"hljs-attribute\">padding-bottom</span> <span class=\"hljs-number\">22%</span>\n <span class=\"hljs-attribute\">margin-left</span> <span class=\"hljs-number\">2%</span>\n <span class=\"hljs-attribute\">margin-top</span> <span class=\"hljs-number\">2%</span>\n <span class=\"hljs-attribute\">border</span>-sizing border-box\n <span class=\"hljs-attribute\">border-radius</span> <span class=\"hljs-number\">2px</span>\n <span class=\"hljs-attribute\">overflow</span> hidden\n <span class=\"hljs-attribute\">list-style</span> none\n <span class=\"hljs-selector-class\">.img</span>\n <span class=\"hljs-attribute\">position</span> absolute\n <span class=\"hljs-attribute\">width</span> <span class=\"hljs-number\">100%</span>\n <span class=\"hljs-attribute\">height</span> <span class=\"hljs-number\">100%</span>\n</style>\n",raw:"%3Ctemplate%3E%0A%20%20%3Cdiv%20class=%22md-example-child%20md-example-child-image-reader%22%3E%0A%20%20%20%20%3Cdiv%3E%0A%20%20%20%20%20%20%3Cul%3E%0A%20%20%20%20%20%20%20%20%3Ctemplate%20v-for=%22(item,%20index)%20in%20imgs%22%3E%0A%20%20%20%20%20%20%20%20%20%20%3Cli%20@click=%22showViewer(index,%20$event)%22%20:key=%22index%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class=%22img%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20:style=%22%60background:%20url($%7Bitem%7D)%20center%20no-repeat;background-size:cover;%60%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/div%3E%0A%20%20%20%20%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%20%20%3C/template%3E%0A%20%20%20%20%20%20%3C/ul%3E%0A%20%20%20%20%3C/div%3E%0A%20%20%20%20%3Cmd-image-viewer%0A%20%20%20%20%20%20v-model=%22isViewerShow%22%0A%20%20%20%20%20%20:list=%22imgs%22%0A%20%20%20%20%20%20:has-dots=%22true%22%0A%20%20%20%20%20%20:initial-index=%22viewerIndex%22%3E%0A%20%20%20%20%3C/md-image-viewer%3E%0A%20%20%3C/div%3E%0A%3C/template%3E%0A%0A%3Cscript%3E%0Dimport%20%7BImageViewer%7D%20from%20'mand-mobile'%0A%0Aexport%20default%20%7B%0A%20%20name:%20'image-viewer-demo',%0A%20%20/*%20DELETE%20*/%0A%20%20message:%20'%E8%AF%B7%E5%9C%A8%E7%A7%BB%E5%8A%A8%E8%AE%BE%E5%A4%87%E4%B8%AD%E6%89%AB%E7%A0%81%E9%A2%84%E8%A7%88',%0A%20%20messageEnUS:%20'Please%20scan%20QR%20code%20and%20preview%20on%20mobile%20device',%0A%20%20height:%20500,%0A%20%20/*%20DELETE%20*/%0A%20%20components:%20%7B%0A%20%20%20%20%5BImageViewer.name%5D:%20ImageViewer,%0A%20%20%7D,%0A%20%20data()%20%7B%0A%20%20%20%20return%20%7B%0A%20%20%20%20%20%20isViewerShow:%20false,%0A%20%20%20%20%20%20viewerIndex:%200,%0A%20%20%20%20%20%20imgs:%20%5B%0A%20%20%20%20%20%20%20%20'http://img-hxy021.didistatic.com/static/strategymis/insurancePlatform_spu/uploads/27fb7f097ca218d743f816836bc7ea4a',%0A%20%20%20%20%20%20%20%20'http://manhattan.didistatic.com/static/manhattan/insurancePlatform_spu/uploads/c2912793a222eb24b606a582fd849ab7',%0A%20%20%20%20%20%20%20%20'http://img-hxy021.didistatic.com/static/strategymis/insurancePlatform_spu/uploads/6ee5a0ba9340ca452cbc827902e76be0',%0A%20%20%20%20%20%20%20%20'http://img-hxy021.didistatic.com/static/strategymis/insurancePlatform_spu/uploads/d751dd4487e265de3b8587f504eee2c3',%0A%20%20%20%20%20%20%5D,%0A%20%20%20%20%7D%0A%20%20%7D,%0A%20%20methods:%20%7B%0A%20%20%20%20showViewer(index)%20%7B%0A%20%20%20%20%20%20this.viewerIndex%20=%20index%0A%20%20%20%20%20%20this.isViewerShow%20=%20true%0A%20%20%20%20%7D,%0A%20%20%7D,%0A%7D%0A%0D%3C/script%3E%0A%0A%3Cstyle%20lang=%22stylus%22%20scoped%3E%0A.md-example-child-image-reader%0A%20%20float%20left%0A%20%20width%20100%25%0A%20%20ul%0A%20%20%20%20float%20left%0A%20%20%20%20width%20100%25%0A%20%20%20%20li%0A%20%20%20%20%20%20position%20relative%0A%20%20%20%20%20%20float%20left%0A%20%20%20%20%20%20width%2022%25%0A%20%20%20%20%20%20padding-bottom%2022%25%0A%20%20%20%20%20%20margin-left%202%25%0A%20%20%20%20%20%20margin-top%202%25%0A%20%20%20%20%20%20border-sizing%20border-box%0A%20%20%20%20%20%20border-radius%202px%0A%20%20%20%20%20%20overflow%20hidden%0A%20%20%20%20%20%20list-style%20none%0A%20%20%20%20%20%20.img%0A%20%20%20%20%20%20%20%20position%20absolute%0A%20%20%20%20%20%20%20%20width%20100%25%0A%20%20%20%20%20%20%20%20height%20100%25%0A%3C/style%3E%0A"}]},lwwV:function(e,t){"use strict";t.a={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div")},staticRenderFns:[]}},mNwD:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("4USm"),a=o.n(i);for(var n in i)"default"!==n&&function(e){o.d(t,e,function(){return i[e]})}(n);var d=o("qQpH"),s=o("VU/8"),l=s(a.a,d.a,!1,function(){o("iX8o")},"data-v-4a0474fb",null);t["default"]=l.exports},o9V8:function(e,t,o){var i,a,n,d=Math.ceil,s=Math.floor,l=Math.abs,r=Math.max,c=Math.round,m=Math.min;(function(d,s){a=[t,o("dgYx"),o("dznq")],i=s,n="function"==typeof i?i.apply(t,a):i,!(void 0!==n&&(e.exports=n))})(this,function(e,t,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var a=function(e){return e&&e.__esModule?e:{default:e}}(o),n=function(){function e(e,t){for(var o,a=0;a<t.length;a++)o=t[a],o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),p=function(){function e(){var o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:t.noop,a=arguments[1];i(this,e),this.options={scrollingX:!0,scrollingY:!0,animating:!0,animationDuration:250,inRequestAnimationFrame:!1,bouncing:!0,locking:!0,paging:!1,snapping:!1,snappingVelocity:4,zooming:!1,minZoom:.5,maxZoom:3,speedMultiplier:1,scrollingComplete:t.noop,penetrationDeceleration:.03,penetrationAcceleration:.08},(0,t.extend)(this.options,a),this._callback=o}return n(e,[{key:"setDimensions",value:function(e,t,o,i){e===+e&&(this._clientWidth=e),t===+t&&(this._clientHeight=t),o===+o&&(this._contentWidth=o),i===+i&&(this._contentHeight=i),this._computeScrollMax(),this.scrollTo(this._scrollLeft,this._scrollTop,!0)}},{key:"setPosition",value:function(e,t){this._clientLeft=e||0,this._clientTop=t||0}},{key:"setSnapSize",value:function(e,t){this._snapWidth=e,this._snapHeight=t}},{key:"getValues",value:function(){return{left:this._scrollLeft,top:this._scrollTop,zoom:this._zoomLevel}}},{key:"getScrollMax",value:function(){return{left:this._maxScrollLeft,top:this._maxScrollTop}}},{key:"activatePullToRefresh",value:function(e,t,o,i){this._refreshHeight=e,this._refreshActivate=t,this._refreshDeactivate=o,this._refreshStart=i}},{key:"triggerPullToRefresh",value:function(){this._publish(this._scrollLeft,-this._refreshHeight,this._zoomLevel,!0),this._refreshStart&&this._refreshStart()}},{key:"finishPullToRefresh",value:function(){this._refreshActive=!1,this._refreshDeactivate&&this._refreshDeactivate(),this.scrollTo(this._scrollLeft,this._scrollTop,!0)}},{key:"scrollTo",value:function(e,o,i){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:1;this._isDecelerating&&(a.default.stop(this._isDecelerating),this._isDecelerating=!1),null!=n&&n!==this._zoomLevel?(!this.options.zooming&&(0,t.warn)("Zooming is not enabled!"),n=n?n:1,e*=n,o*=n,this._computeScrollMax(n)):n=this._zoomLevel,this.options.scrollingX?this.options.paging?e=c(e/this._clientWidth)*this._clientWidth:this.options.snapping&&(e=c(e/this._snapWidth)*this._snapWidth):e=this._scrollLeft,this.options.scrollingY?this.options.paging?o=c(o/this._clientHeight)*this._clientHeight:this.options.snapping&&(o=c(o/this._snapHeight)*this._snapHeight):o=this._scrollTop,e=r(m(this._maxScrollLeft,e),0),o=r(m(this._maxScrollTop,o),0),e===this._scrollLeft&&o===this._scrollTop&&(i=!1),this._isTracking||this._publish(e,o,n,i)}},{key:"zoomTo",value:function(e,o,i,n,d){this.options.zooming||(0,t.warn)("Zooming is not enabled!"),d&&(this._zoomComplete=d),this._isDecelerating&&(a.default.stop(this._isDecelerating),this._isDecelerating=!1);var s=this._zoomLevel;null==i&&(i=this._clientWidth/2),null==n&&(n=this._clientHeight/2),e=r(m(e,this.options.maxZoom),this.options.minZoom),this._computeScrollMax(e);var l=(i+this._scrollLeft)*e/s-i,c=(n+this._scrollTop)*e/s-n;l>this._maxScrollLeft?l=this._maxScrollLeft:0>l&&(l=0),c>this._maxScrollTop?c=this._maxScrollTop:0>c&&(c=0),this._publish(l,c,e,o)}},{key:"doTouchStart",value:function(e,o){null==e.length&&(0,t.warn)("Invalid touch list: "+e),o instanceof Date&&(o=o.valueOf()),"number"!=typeof o&&(0,t.warn)("Invalid timestamp value: "+o),this._interruptedAnimation=!0,this._isDecelerating&&(a.default.stop(this._isDecelerating),this._isDecelerating=!1,this._interruptedAnimation=!0),this._isAnimating&&(a.default.stop(this._isAnimating),this._isAnimating=!1,this._interruptedAnimation=!0);var i=1===e.length,n=void 0,d=void 0;i?(n=e[0].pageX,d=e[0].pageY):(n=l(e[0].pageX+e[1].pageX)/2,d=l(e[0].pageY+e[1].pageY)/2),this._initialTouchLeft=n,this._initialTouchTop=d,this._zoomLevelStart=this._zoomLevel,this._lastTouchLeft=n,this._lastTouchTop=d,this._lastTouchMove=o,this._lastScale=1,this._enableScrollX=!i&&this.options.scrollingX,this._enableScrollY=!i&&this.options.scrollingY,this._isTracking=!0,this._didDecelerationComplete=!1,this._isDragging=!i,this._isSingleTouch=i,this._positions=[]}},{key:"doTouchMove",value:function(e,o,i){if(null==e.length&&(0,t.warn)("Invalid touch list: "+e),o instanceof Date&&(o=o.valueOf()),"number"!=typeof o&&(0,t.warn)("Invalid timestamp value: "+o),!!this._isTracking){var a,n;2===e.length?(a=l(e[0].pageX+e[1].pageX)/2,n=l(e[0].pageY+e[1].pageY)/2):(a=e[0].pageX,n=e[0].pageY);var d=this._positions;if(this._isDragging){var s=a-this._lastTouchLeft,c=n-this._lastTouchTop,p=this._scrollLeft,A=this._scrollTop,g=this._zoomLevel;if(null!=i&&this.options.zooming){var u=g;if(g=g/this._lastScale*i,g=r(m(g,this.options.maxZoom),this.options.minZoom),u!==g){var f=a-this._clientLeft,h=n-this._clientTop;p=(f+p)*g/u-f,A=(h+A)*g/u-h,this._computeScrollMax(g)}}if(this._enableScrollX){p-=s*this.options.speedMultiplier;var b=this._maxScrollLeft;(p>b||0>p)&&(this.options.bouncing?p+=s/2*this.options.speedMultiplier:p>b?p=b:p=0)}if(this._enableScrollY){A-=c*this.options.speedMultiplier;var x=this._maxScrollTop;(A>x||0>A)&&(this.options.bouncing?(A+=c/2*this.options.speedMultiplier,!this._enableScrollX&&null!=this._refreshHeight&&(!this._refreshActive&&A<=-this._refreshHeight?(this._refreshActive=!0,this._refreshActivate&&this._refreshActivate()):this._refreshActive&&A>-this._refreshHeight&&(this._refreshActive=!1,this._refreshDeactivate&&this._refreshDeactivate()))):A>x?A=x:A=0)}60<d.length&&d.splice(0,30),d.push(p,A,o),this._publish(p,A,g)}else{var C=this.options.locking?3:0,_=5,w=l(a-this._initialTouchLeft),v=l(n-this._initialTouchTop);this._enableScrollX=this.options.scrollingX&&w>=C,this._enableScrollY=this.options.scrollingY&&v>=C,d.push(this._scrollLeft,this._scrollTop,o),this._isDragging=(this._enableScrollX||this._enableScrollY)&&(w>=_||v>=_),this._isDragging&&(this._interruptedAnimation=!1)}this._lastTouchLeft=a,this._lastTouchTop=n,this._lastTouchMove=o}}},{key:"doTouchEnd",value:function(e){if(e instanceof Date&&(e=e.valueOf()),"number"!=typeof e&&(0,t.warn)("Invalid timestamp value: "+e),!!this._isTracking){if(this._isTracking=!1,this._isDragging)if(this._isDragging=!1,this._isSingleTouch&&this.options.animating&&100>=e-this._lastTouchMove){for(var o=this._positions,a=o.length-1,n=a,d=a;0<d&&o[d]>this._lastTouchMove-100;d-=3)n=d;if(n!==a){var i=o[a]-o[n],s=this._scrollLeft-o[n-2],r=this._scrollTop-o[n-1];this._decelerationVelocityX=s/i*(1e3/60),this._decelerationVelocityY=r/i*(1e3/60);var c=this.options.paging||this.options.snapping?this.options.snappingVelocity:.01;l(this._decelerationVelocityX)>c||l(this._decelerationVelocityY)>c?!this._refreshActive&&this._startDeceleration(e):this.options.scrollingComplete()}else this.options.scrollingComplete()}else 100<e-this._lastTouchMove&&(this.options.snapping||this.options.scrollingComplete());this._isDecelerating||(this._refreshActive&&this._refreshStart?(this._publish(this._scrollLeft,-this._refreshHeight,this._zoomLevel,!0),this._refreshStart&&this._refreshStart()):((this._interruptedAnimation||this._isDragging)&&this.options.scrollingComplete(),this.scrollTo(this._scrollLeft,this._scrollTop,!0,this._zoomLevel),this._refreshActive&&(this._refreshActive=!1,this._refreshDeactivate&&this._refreshDeactivate()))),this._positions.length=0}}},{key:"_publish",value:function(e,t){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1,d=!!(3<arguments.length&&void 0!==arguments[3])&&arguments[3],s=this._isAnimating;if(s&&(a.default.stop(s),this._isAnimating=!1),d&&this.options.animating){this._scheduledLeft=e,this._scheduledTop=t,this._scheduledZoom=n;var l=this._scrollLeft,r=this._scrollTop,c=this._zoomLevel,m=function(o,a,d){d&&(i._scrollLeft=l+(e-l)*o,i._scrollTop=r+(t-r)*o,i._zoomLevel=c+(n-c)*o,i._callback&&i._callback(i._scrollLeft,i._scrollTop,i._zoomLevel))},p=function(e){return i._isAnimating===e},A=function(e,t,o){t===i._isAnimating&&(i._isAnimating=!1),(i._didDecelerationComplete||o)&&i.options.scrollingComplete(),i.options.zooming&&(i._computeScrollMax(),i._zoomComplete&&(i._zoomComplete(),i._zoomComplete=null))},g=function(){i._isAnimating=a.default.start(m,p,A,i.options.animationDuration,s?o.easeOutCubic:o.easeInOutCubic)};this.options.inRequestAnimationFrame?a.default.requestAnimationFrame(function(){g()}):g()}else this._scheduledLeft=this._scrollLeft=e,this._scheduledTop=this._scrollTop=t,this._scheduledZoom=this._zoomLevel=n,this._callback&&this._callback(e,t,n),this.options.zooming&&(this._computeScrollMax(),this._zoomComplete&&(this._zoomComplete(),this._zoomComplete=null))}},{key:"_computeScrollMax",value:function(e){null==e&&(e=this._zoomLevel),this._maxScrollLeft=r(this._contentWidth*e-this._clientWidth,0),this._maxScrollTop=r(this._contentHeight*e-this._clientHeight,0)}},{key:"_startDeceleration",value:function(){var e=this;if(this.options.paging){var t=r(m(this._scrollLeft,this._maxScrollLeft),0),o=r(m(this._scrollTop,this._maxScrollTop),0),i=this._clientWidth,n=this._clientHeight;this._minDecelerationScrollLeft=s(t/i)*i,this._minDecelerationScrollTop=s(o/n)*n,this._maxDecelerationScrollLeft=d(t/i)*i,this._maxDecelerationScrollTop=d(o/n)*n}else this._minDecelerationScrollLeft=0,this._minDecelerationScrollTop=0,this._maxDecelerationScrollLeft=this._maxScrollLeft,this._maxDecelerationScrollTop=this._maxScrollTop;var c=this.options.snapping?this.options.snappingVelocity:.01;this._isDecelerating=a.default.start(function(t,o,i){e._stepThroughDeceleration(i)},function(){var t=l(e._decelerationVelocityX)>=c||l(e._decelerationVelocityY)>=c;return t||(e._didDecelerationComplete=!0),t},function(){e._isDecelerating=!1,e.scrollTo(e._scrollLeft,e._scrollTop,e.options.snapping)})}},{key:"_stepThroughDeceleration",value:function(e){var t=this._scrollLeft+this._decelerationVelocityX,o=this._scrollTop+this._decelerationVelocityY;if(!this.options.bouncing){var i=r(m(this._maxDecelerationScrollLeft,t),this._minDecelerationScrollLeft);i!==t&&(t=i,this._decelerationVelocityX=0);var a=r(m(this._maxDecelerationScrollTop,o),this._minDecelerationScrollTop);a!==o&&(o=a,this._decelerationVelocityY=0)}if(e?this._publish(t,o,this._zoomLevel):(this._scrollLeft=t,this._scrollTop=o),!this.options.paging){var n=.95;this._decelerationVelocityX*=n,this._decelerationVelocityY*=n}if(this.options.bouncing){var d=0,s=0,l=this.options.penetrationDeceleration,c=this.options.penetrationAcceleration;t<this._minDecelerationScrollLeft?d=this._minDecelerationScrollLeft-t:t>this._maxDecelerationScrollLeft&&(d=this._maxDecelerationScrollLeft-t),o<this._minDecelerationScrollTop?s=this._minDecelerationScrollTop-o:o>this._maxDecelerationScrollTop&&(s=this._maxDecelerationScrollTop-o),0!=d&&(0>=d*this._decelerationVelocityX?this._decelerationVelocityX+=d*l:this._decelerationVelocityX=d*c),0!=s&&(0>=s*this._decelerationVelocityY?this._decelerationVelocityY+=s*l:this._decelerationVelocityY=s*c)}}}]),e}();e.default=p,(0,t.extend)(p.prototype,{_isSingleTouch:!1,_isTracking:!1,_didDecelerationComplete:!1,_isGesturing:!1,_isDragging:!1,_isDecelerating:!1,_isAnimating:!1,_clientLeft:0,_clientTop:0,_clientWidth:0,_clientHeight:0,_contentWidth:0,_contentHeight:0,_snapWidth:100,_snapHeight:100,_refreshHeight:null,_refreshActive:!1,_refreshActivate:null,_refreshDeactivate:null,_refreshStart:null,_zoomLevel:1,_scrollLeft:0,_scrollTop:0,_maxScrollLeft:0,_maxScrollTop:0,_scheduledLeft:0,_scheduledTop:0,_lastTouchLeft:null,_lastTouchTop:null,_lastTouchMove:null,_positions:null,_minDecelerationScrollLeft:null,_minDecelerationScrollTop:null,_maxDecelerationScrollLeft:null,_maxDecelerationScrollTop:null,_decelerationVelocityX:null,_decelerationVelocityY:null})})},oCGI:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("Ome+"),a=o.n(i);for(var n in i)"default"!==n&&function(e){o.d(t,e,function(){return i[e]})}(n);var d=o("lwwV"),s=o("VU/8"),l=s(a.a,d.a,!1,null,null,null);t["default"]=l.exports},"oqv+":function(e,t,o){var i,a,n;(function(){(function(d,s){a=[t,o("rZMw"),o("6VUO"),o("U6ik"),o("8K01")],i=s,n="function"==typeof i?i.apply(t,a):i,!(void 0!==n&&(e.exports=n))})(this,function(e,t,o){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,"__esModule",{value:!0});var a=i(t),n=i(o),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.default={name:"md-image-viewer",components:{Swiper:a.default,SwiperItem:n.default},props:{value:{type:Boolean,default:!1},show:{type:Boolean,default:!1},list:{type:Array,default:function(){return[]}},initialIndex:{type:Number,default:0},hasDots:{type:Boolean,default:!0}},data:function(){return{isViewerShow:!1,innerList:[],imgs:[],currentImgIndex:0}},computed:{},watch:{show:function(e){var t=this;this.currentImgIndex=this.initialIndex,this.isViewerShow=e,this.$nextTick(function(){t.$_imgsInit()})},value:function(e){var t=this;this.currentImgIndex=this.initialIndex,this.isViewerShow=e,this.$nextTick(function(){t.$_imgsInit()})},isViewerShow:function(e){this.$emit("input",e),e||this.$emit("update:show",e)}},mounted:function(){this.isViewerShow=this.value||this.show},methods:{$_imgsInit:function(){var e=this.list,t=[];e.map(function(e){var o="object"===("undefined"==typeof e?"undefined":d(e))?e:{url:e};t.push(o)}),this.imgs=t},$_afterChange:function(e,t){this.currentImgIndex=t},$_viewerClick:function(){this.isViewerShow=!1},publicMethod:function(){}}}})})(),e.exports.__esModule&&(e.exports=e.exports.default);var d="function"==typeof e.exports?e.exports.options:e.exports;d.render=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{directives:[{name:"show",rawName:"v-show",value:e.isViewerShow,expression:"isViewerShow"}],staticClass:"md-image-viewer",on:{click:e.$_viewerClick}},[o("div",{staticClass:"viewer-container"},[e.isViewerShow?o("swiper",{ref:"swiper",attrs:{autoplay:0,"default-index":e.currentImgIndex,"has-dots":!1,"is-prevent":!1},on:{"after-change":e.$_afterChange}},e._l(e.imgs,function(t,i){return o("swiper-item",{key:i,staticClass:"viewer-item-wrap",class:t.cls},[o("div",{staticClass:"item"},[t.url?o("img",{attrs:{src:t.url,alt:t.alt}}):e._e()])])}),1):e._e(),e._v(" "),e.hasDots?o("div",{staticClass:"viewer-index"},[e._v(e._s(e.currentImgIndex+1)+"/"+e._s(e.list.length))]):e._e()],1)])},d.staticRenderFns=[]},pUwL:function(e,t){"use strict";t.a={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"mfe-blog-theme-default-doc-container"},[o("mb-docer",{attrs:{info:e.info,body:e.body,toc:e.toc,demos:e.demos}})],1)},staticRenderFns:[]}},qQpH:function(e,t){"use strict";t.a={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"md-example-child md-example-child-image-reader"},[o("div",[o("ul",[e._l(e.imgs,function(t,i){return[o("li",{key:i,on:{click:function(t){return e.showViewer(i,t)}}},[o("div",{staticClass:"img",style:"background: url("+t+") center no-repeat;background-size:cover;"})])]})],2)]),e._v(" "),o("md-image-viewer",{attrs:{list:e.imgs,"has-dots":!0,"initial-index":e.viewerIndex},model:{value:e.isViewerShow,callback:function(t){e.isViewerShow=t},expression:"isViewerShow"}})],1)},staticRenderFns:[]}},rZMw:function(e,t,o){var i,a,n,d=Math.abs,s=Math.max,l=Math.min;(function(){(function(d,s){a=[t,o("o9V8"),o("Svgr"),o("dgYx"),o("U6ik"),o("uloy")],i=s,n="function"==typeof i?i.apply(t,a):i,!(void 0!==n&&(e.exports=n))})(this,function(e,t,o,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(e){return e&&e.__esModule?e:{default:e}}(t),n=.5;e.default={name:"md-swiper",props:{autoplay:{type:Number,default:3e3,validator:function(e){return 0===e||500<=e}},transition:{type:String,default:"slide",validator:function(e){return-1<["slide","slideY","fade"].indexOf(e)}},transitionDuration:{type:Number,default:250},defaultIndex:{type:Number,default:0,validator:function(e){return-1<e}},hasDots:{type:Boolean,default:!0},isPrevent:{type:Boolean,default:!0},isLoop:{type:Boolean,default:!0},dragable:{type:Boolean,default:!0},useNativeDriver:{type:Boolean,default:!0}},data:function(){return{ready:!1,dragging:!1,userScrolling:!1,isInitial:!1,index:0,fromIndex:0,toIndex:0,firstIndex:0,lastIndex:0,oItemCount:0,rItemCount:0,dimension:0,dragState:{},timer:null,noDrag:!1,scroller:null,isStoped:!1,$swiper:null,transitionEndHandler:null}},computed:{isLastItem:function(){return this.index===this.rItemCount-1},isFirstItem:function(){return 0===this.index},realIndex:function(){return this.getIndex()},isSlide:function(){return-1<this.transition.toLowerCase().indexOf("slide")},isVertical:function(){return"slideY"===this.transition}},mounted:function(){var e=this;this.ready=!0,this.$swiper=this.$el.querySelector(".md-swiper-container"),this.$swiperBox=this.$el.querySelector(".md-swiper-box"),this.$nextTick(function(){e.$_reInitItems(),e.$_startPlay(),window.addEventListener("resize",e.$_resize)})},destroyed:function(){this.ready=!1,this.$_clearTimer(),window.removeEventListener("resize",this.$_resize),this.__resizeTimeout__&&clearTimeout(this.__resizeTimeout__)},methods:{$_resize:function(){var e=this;this.__resizeTimeout__&&clearTimeout(this.__resizeTimeout__),this.__resizeTimeout__=setTimeout(function(){e.$_reInitItems()},300)},$_onDragStart:function(t){this.transitionEndHandler&&this.transitionEndHandler(),this.isPrevent&&t.preventDefault(),this.dragging=!0,this.userScrolling=!1,this.$_doOnTouchStart(t)},$_onDragMove:function(t){this.isPrevent&&t.preventDefault(),this.dragging&&this.$_doOnTouchMove(t)},$_onDragEnd:function(t){return this.isPrevent&&t.preventDefault(),this.userScrolling?(this.dragging=!1,void(this.dragState={})):void(!this.dragging||(this.$_doOnTouchEnd(t),this.dragging=!1))},$_getDimension:function(){this.dimension=this.isVertical?this.$el.clientHeight:this.$el.clientWidth},$_initScroller:function(){var e=this,t=new a.default(function(t,i){(0,o.render)(e.$swiper,t,i,1,e.useNativeDriver)},{scrollingY:this.isVertical,scrollingX:!this.isVertical,snapping:!1,bouncing:!1,animationDuration:this.transitionDuration,scrollingComplete:function(){e.transitionEndHandler&&e.transitionEndHandler()}}),i=this.$swiperBox,n=this.isVertical?i.clientWidth:i.clientWidth*this.rItemCount,d=this.isVertical?i.clientHeight*this.rItemCount:i.clientHeight;t.setPosition(i.clientLeft,i.clientTop),t.setDimensions(i.clientWidth,i.clientHeight,n,d),this.scroller=t},$_backupItem:function(e){var t=e[0].$el.cloneNode(!0),o=e[e.length-1].$el.cloneNode(!0);if(1<e.length&&this.isLoop){var i=this.$swiper.querySelector(".md-swiper-item-first-copy"),a=this.$swiper.querySelector(".md-swiper-item-last-copy");i&&this.$swiper.removeChild(i),a&&this.$swiper.removeChild(a),t.className+=" md-swiper-item-first-copy",o.className+=" md-swiper-item-last-copy",this.isVertical?(t.style.height=this.dimension+"px",o.style.height=this.dimension+"px"):(t.style.width=this.dimension+"px",o.style.width=this.dimension+"px"),this.$swiper.appendChild(t),this.$swiper.insertBefore(o,this.$swiper.childNodes[0]),this.firstIndex++,this.lastIndex++,this.index++,this.rItemCount+=2}},$_translate:function(e,t){var o=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];if(!e)return void(0,i.warn)("[md-swiper] no element for translate");var a=this.isVertical?0:-t,n=this.isVertical?-t:0;this.scroller.scrollTo(a,n,o)},$_opacity:function(){var e=this,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],o=arguments[1];if("undefined"!=typeof o){var i=0,a=this.toIndex,n=this.rItemCount;0<o?0<a?i=a-1:0===a&&(i=n-1):a<n-1?i=a+1:a===n-1&&(i=0);var s=this.$children[a].$el,l=this.$children[i].$el;return s.style.opacity=1-d(o),s.style.transition=t?"opacity 300ms ease":"",void(l.style.opacity=d(o))}var r=this.$children[this.fromIndex].$el,c=this.$children[this.toIndex].$el;r.style.opacity=0,r.style.transition=t?"opacity 500ms ease":"",c.style.opacity=1,t&&setTimeout(function(){e.$emit("after-change",e.fromIndex,e.toIndex)},500)},$_initState:function(e){this.oItemCount=e.length,this.rItemCount=e.length,this.noDrag=1===e.length||!this.dragable,this.index=0<=this.defaultIndex&&this.defaultIndex<e.length?parseInt(this.defaultIndex):0,this.firstIndex=0,this.lastIndex=e.length-1,this.fromIndex=this.index===this.firstIndex?this.lastIndex:this.index+1,this.toIndex=this.index},$_reInitItems:function(){var e=this.$children;e&&e.length&&(this.$_getDimension(),this.$_initState(e),this.isSlide?(this.$_backupItem(e),this.$_initScroller(),this.$_translate(this.$swiper,-this.dimension*this.index,!1)):this.$_opacity(!1),this.isInitial=!0)},$_startPlay:function(){var e=this;0<this.autoplay&&1<this.oItemCount&&this.isLoop&&(this.$_clearTimer(),this.timer=setInterval(function(){return!e.isLoop&&e.index>=e.rItemCount-1?e.$_clearTimer():void(!e.dragging&&e.next())},this.autoplay))},$_clearTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)},$_isScroll:function(e,t){var o=this.isVertical;return!!(!o&&(5>e||5<=e&&t>=1.73*e))||!!(o&&(5>t||5<=t&&e>=1.73*t))},$_calcDisplayIndex:function(e){return this.isLoop&&this.isSlide&&0<this.oItemCount?0>e-1?this.oItemCount-1:e-1>this.oItemCount-1?0:e-1:e},$_calcuRealIndex:function(e){return 0>e?e=0:0<this.oItemCount&&e>this.oItemCount-1&&(e=this.oItemCount-1),this.isLoop&&this.isSlide?e+1:e},$_doTransition:function(e,t){var o=this;if(0!==this.oItemCount&&(t||!(2>this.oItemCount))){var i=this.index,a=this.rItemCount,n=this.index;if(e)return t&&void 0!==t.index?this.index=t.index:"prev"===e?0<i?this.index=i-1:this.isSlide||0!==i?this.isLoop&&0===i&&(this.index=a-1):this.index=a-1:"next"==e&&(i<a-1?this.index=i+1:this.isSlide||i!==a-1?this.isLoop&&i===a-1&&(this.index=1):this.index=0),this.isLoop&&this.isSlide?(this.fromIndex=this.$_calcDisplayIndex(n),this.toIndex=this.$_calcDisplayIndex(this.index)):(this.fromIndex=this.toIndex,this.toIndex=this.index),this.$emit("before-change",this.fromIndex,this.toIndex),this.isSlide?void setTimeout(function(){var e=o.isFirstItem&&o.isLoop,t=o.isLastItem&&o.isLoop;o.transitionEndHandler=function(){if(t){var i=o.isVertical?0:o.firstIndex*o.dimension,a=o.isVertical?o.firstIndex*o.dimension:0;o.scroller.scrollTo(i,a,!1)}if(e){var n=o.isVertical?0:o.lastIndex*o.dimension,d=o.isVertical?o.lastIndex*o.dimension:0;o.scroller.scrollTo(n,d,!1)}o.$emit("after-change",o.fromIndex,o.toIndex),o.transitionEndHandler=null},o.$_translate(o.$swiper,-o.dimension*o.index),e?o.index=o.lastIndex:t&&(o.index=o.firstIndex)},10):void this.$_opacity()}},$_doOnTouchStart:function(e){if(!this.noDrag){this.stop();var t=this.$el,o=this.dragState,i=e.changedTouches?e.changedTouches[0]:e;o.startTime=new Date,o.startLeft=i.pageX,o.startTop=i.pageY,o.itemWidth=t.offsetWidth,o.itemHeight=t.offsetHeight}},$_doOnTouchMove:function(e){if(!this.noDrag){var t=this.dragState,o=e.changedTouches?e.changedTouches[0]:e;t.currentLeft=o.pageX,t.currentTop=o.pageY;var i=t.currentLeft-t.startLeft,a=t.currentTop-t.startTop,n=d(i),r=d(a);if(this.userScrolling=this.$_isScroll(n,r),!this.userScrolling){e.preventDefault();var c=l(s(-t.itemWidth+1,i),t.itemWidth-1),m=l(s(-t.itemHeight+1,a),t.itemHeight-1),p=this.isVertical?m-t.itemHeight*this.index:c-t.itemWidth*this.index;this.isSlide?this.$_translate(this.$swiper,p):this.$_opacity(!1,i/t.itemWidth)}}},$_doOnTouchEnd:function(){if(!this.noDrag){var e=this.dragState,t=null,o=new Date-e.startTime,i=e.currentLeft-e.startLeft,a=e.currentTop-e.startTop,s=e.itemWidth,l=e.itemHeight,r=this.index,c=this.rItemCount,m=o<300;return m&&void 0===e.currentLeft?void this.play(this.autoplay):void(this.isVertical?d(a)>l*n||m?t=0>a?"next":"prev":this.$_translate(this.$swiper,-this.dimension*r,!0):d(i)>s*n||m?t=0>i?"next":"prev":this.isSlide?this.$_translate(this.$swiper,-this.dimension*r,!0):this.$_opacity(!0,0),!this.isLoop&&(0===r&&"prev"===t||r===c-1&&"next"===t)&&(t=null),this.$_doTransition(t),this.dragState={},this.play(this.autoplay))}},next:function(){this.$_doTransition("next")},prev:function(){this.$_doTransition("prev")},goto:function(e){if(!isNaN(e)){e=parseInt(e);var t=this.$_calcuRealIndex(e),o=t>this.index?"next":"pre";this.$_doTransition(o,{index:t}),this.play(this.autoplay)}},getIndex:function(){return this.$_calcDisplayIndex(this.index)},play:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:3e3;this.$_clearTimer(),500>e||(this.autoplay=e||this.autoplay,this.$_startPlay(),this.isStoped=!1)},stop:function(){this.$_clearTimer(),this.isStoped=!0},swiperItemCreated:function(){var e=this;this.ready&&this.$nextTick(function(){e.$_clearTimer(),e.$_reInitItems(),0<e.autoplay&&!e.isStoped&&e.$_startPlay()})},swiperItemDestroyed:(0,i.debounce)(function(){var e=this;this.ready&&this.$nextTick(function(){e.$_clearTimer(),e.$_reInitItems(),0<e.autoplay&&!e.isStoped&&e.$_startPlay()})},50)}}})})(),e.exports.__esModule&&(e.exports=e.exports.default);var r="function"==typeof e.exports?e.exports.options:e.exports;r.render=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"md-swiper",class:{"md-swiper-vertical":e.isVertical,"md-swiper-fade":!e.isSlide,disabled:!e.isInitial},on:{mousedown:e.$_onDragStart,mousemove:e.$_onDragMove,mouseup:e.$_onDragEnd,mouseleave:e.$_onDragEnd,touchstart:e.$_onDragStart,touchmove:e.$_onDragMove,touchend:e.$_onDragEnd,touchcancel:e.$_onDragEnd}},[o("div",{staticClass:"md-swiper-box"},[o("div",{staticClass:"md-swiper-container"},[e._t("default")],2)]),e._v(" "),1<e.oItemCount&&e.hasDots?o("div",{staticClass:"md-swiper-indicators",class:{disabled:!e.hasDots}},[e._l(e.oItemCount,function(t){return[o("div",{key:t,staticClass:"md-swiper-indicator",class:{"md-swiper-indicator-active":t-1===e.realIndex}})]})],2):e._e()])},r.staticRenderFns=[]},tyZS:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o("oCGI"),a=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default={components:{"qr-code":a.default},props:["info","body","toc","demos"],data:function(){return{demoBoxShowStat:[],activeDemoBoxZoonPos:{},isTocStricky:!1,isQrcodeShow:!1,isCopySuccess:!1}},computed:{bodyHead:function(){return this.body.split("<!-- DEMO -->")[0]},bodyTail:function(){return this.body.split("<!-- DEMO -->")[1]},demoBox:function(){return $(".doc-demo-box")},previewBox:function(){return $(".doc-demo-box-preview")},codeBox:function(){return $(".doc-demo-box-code")},curRouteIndex:function(){return this.$route.meta.index},prevRoute:function(){return this.findRoute(this.curRouteIndex-1,-1)},nextRoute:function(){return this.findRoute(this.curRouteIndex+1,1)},lang:function(){return~this.$route.path.indexOf("zh-CN")?"zh-CN":"en-US"},hiddenToc:function(){return"hidden"===this.info.toc}},mounted:function(){if(location.hash){var e=location.hash.substr(1);location.hash="",location.hash=e}},methods:{findRoute:function(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1,o=window.$routes[this.lang];0<=e&&e<=o.length-1&&(!o[e].meta.src&&!o[e].meta.markdown||o[e].redirect);)e+=t;return o[e]},toggleDemoBox:function(e){var t=$(".doc-demo-box-"+e),o=t.find(".doc-demo-box-toggle"),i=!this.demoBoxShowStat[e];i?o.addClass("active"):o.removeClass("active"),this.$set(this.demoBoxShowStat,e,i)},goToDemo:function(e){var t=this.info.preview.split("#")[1];t&&window.open("https://github.com/didi/mand-mobile/edit/master/components/"+t+"/demo/cases/demo"+e+".vue")},onCopySuccess:function(){var e=this;this.isCopySuccess=!0,setTimeout(function(){e.isCopySuccess=!1},1e3)}}}},"ukR+":function(e,t,o){var i=Math.ceil,a=Math.floor,n=Math.max,d=Math.round;(function(e){var t;(function(){function e(e){this.mode=A.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,o=this.data.length;t<o;t++){var i=[],a=this.data.charCodeAt(t);65536<a?(i[0]=240|(1835008&a)>>>18,i[1]=128|(258048&a)>>>12,i[2]=128|(4032&a)>>>6,i[3]=128|63&a):2048<a?(i[0]=224|(61440&a)>>>12,i[1]=128|(4032&a)>>>6,i[2]=128|63&a):128<a?(i[0]=192|(1984&a)>>>6,i[1]=128|63&a):i[0]=a,this.parsedData.push(i)}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(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function s(e,t){if(void 0==e.length)throw new Error(e.length+"/"+t);for(var o=0;o<e.length&&0==e[o];)o++;this.num=Array(e.length-o+t);for(var a=0;a<e.length-o;a++)this.num[a]=e[a+o]}function l(e,t){this.totalCount=e,this.dataCount=t}function r(){this.buffer=[],this.length=0}function c(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=!0;var o=t.toString().match(/android ([0-9]\.[0-9])/i);o&&o[1]&&(e=parseFloat(o[1]))}return e}function m(e,t){for(var o,a=1,n=p(e),d=0,i=x.length;d<=i&&(o=0,t===g.L?o=x[d][0]:t===g.M?o=x[d][1]:t===g.Q?o=x[d][2]:t===g.H?o=x[d][3]:void 0,!(n<=o));d++)a++;if(a>x.length)throw new Error("Too long data");return a}function p(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length==e?0:3)}e.prototype={getLength:function(){return this.parsedData.length},write:function(e){for(var t=0,o=this.parsedData.length;t<o;t++)e.put(this.parsedData[t],8)}},o.prototype={addData:function(t){var o=new e(t);this.dataList.push(o),this.dataCache=null},isDark:function(e,t){if(0>e||this.moduleCount<=e||0>t||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++){this.modules[i]=Array(this.moduleCount);for(var a=0;a<this.moduleCount;a++)this.modules[i][a]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),7<=this.typeNumber&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=o.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(e,t){for(var o=-1;7>=o;o++)if(!(-1>=e+o||this.moduleCount<=e+o))for(var i=-1;7>=i;i++)-1>=t+i||this.moduleCount<=t+i||(this.modules[e+o][t+i]=!!(0<=o&&6>=o&&(0==i||6==i)||0<=i&&6>=i&&(0==o||6==o)||2<=o&&4>=o&&2<=i&&4>=i))},getBestMaskPattern:function(){for(var e=0,t=0,o=0;8>o;o++){this.makeImpl(!0,o);var i=f.getLostPoint(this);(0==o||e>i)&&(e=i,t=o)}return t},createMovieClip:function(e,t,o){var i=e.createEmptyMovieClip(t,o),a=1;this.make();for(var n,d=0;d<this.modules.length;d++){n=d*a;for(var s=0;s<this.modules[d].length;s++){var l=s*a,r=this.modules[d][s];r&&(i.beginFill(0,100),i.moveTo(l,n),i.lineTo(l+a,n),i.lineTo(l+a,n+a),i.lineTo(l,n+a),i.endFill())}}return i},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=0==e%2);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=0==t%2)},setupPositionAdjustPattern:function(){for(var e=f.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var o=0;o<e.length;o++){var i=e[t],a=e[o];if(null==this.modules[i][a])for(var n=-2;2>=n;n++)for(var d=-2;2>=d;d++)this.modules[i+n][a+d]=-2==n||2==n||-2==d||2==d||0==n&&0==d}},setupTypeNumber:function(e){for(var t,o=f.getBCHTypeNumber(this.typeNumber),n=0;18>n;n++)t=!e&&1==(1&o>>n),this.modules[a(n/3)][n%3+this.moduleCount-8-3]=t;for(var t,n=0;18>n;n++)t=!e&&1==(1&o>>n),this.modules[n%3+this.moduleCount-8-3][a(n/3)]=t},setupTypeInfo:function(e,t){for(var o,a=this.errorCorrectLevel<<3|t,n=f.getBCHTypeInfo(a),d=0;15>d;d++)o=!e&&1==(1&n>>d),6>d?this.modules[d][8]=o:8>d?this.modules[d+1][8]=o:this.modules[this.moduleCount-15+d][8]=o;for(var o,d=0;15>d;d++)o=!e&&1==(1&n>>d),8>d?this.modules[8][this.moduleCount-d-1]=o:9>d?this.modules[8][15-d-1+1]=o:this.modules[8][15-d-1]=o;this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var o=-1,i=this.moduleCount-1,a=7,n=0,d=this.moduleCount-1;0<d;d-=2)for(6==d&&d--;;){for(var s=0;2>s;s++)if(null==this.modules[i][d-s]){var l=!1;n<e.length&&(l=1==(1&e[n]>>>a));var r=f.getMask(t,i,d-s);r&&(l=!l),this.modules[i][d-s]=l,a--,-1==a&&(n++,a=7)}if(i+=o,0>i||this.moduleCount<=i){i-=o,o=-o;break}}}},o.PAD0=236,o.PAD1=17,o.createData=function(e,t,a){for(var n,d=l.getRSBlocks(e,t),s=new r,c=0;c<a.length;c++)n=a[c],s.put(n.mode,4),s.put(n.getLength(),f.getLengthInBits(n.mode,e)),n.write(s);for(var i=0,c=0;c<d.length;c++)i+=d[c].dataCount;if(s.getLengthInBits()>8*i)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*i+")");for(s.getLengthInBits()+4<=8*i&&s.put(0,4);0!=s.getLengthInBits()%8;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*i)&&(s.put(o.PAD0,8),!(s.getLengthInBits()>=8*i));)s.put(o.PAD1,8);return o.createBytes(s,d)},o.createBytes=function(e,t){for(var o=0,a=0,d=0,l=Array(t.length),c=Array(t.length),m=0;m<t.length;m++){var r=t[m].dataCount,p=t[m].totalCount-r;a=n(a,r),d=n(d,p),l[m]=Array(r);for(var A=0;A<l[m].length;A++)l[m][A]=255&e.buffer[A+o];o+=r;var i=f.getErrorCorrectPolynomial(p),g=new s(l[m],i.getLength()-1),u=g.mod(i);c[m]=Array(i.getLength()-1);for(var h,A=0;A<c[m].length;A++)h=A+u.getLength()-c[m].length,c[m][A]=0<=h?u.get(h):0}for(var b=0,A=0;A<t.length;A++)b+=t[A].totalCount;for(var x=Array(b),C=0,A=0;A<a;A++)for(var m=0;m<t.length;m++)A<l[m].length&&(x[C++]=l[m][A]);for(var A=0;A<d;A++)for(var m=0;m<t.length;m++)A<c[m].length&&(x[C++]=c[m][A]);return x};for(var A={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},g={L:1,M:0,Q:3,H:2},u={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},f={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;0<=f.getBCHDigit(t)-f.getBCHDigit(f.G15);)t^=f.G15<<f.getBCHDigit(t)-f.getBCHDigit(f.G15);return(e<<10|t)^f.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;0<=f.getBCHDigit(t)-f.getBCHDigit(f.G18);)t^=f.G18<<f.getBCHDigit(t)-f.getBCHDigit(f.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return f.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,o){switch(e){case u.PATTERN000:return 0==(t+o)%2;case u.PATTERN001:return 0==t%2;case u.PATTERN010:return 0==o%3;case u.PATTERN011:return 0==(t+o)%3;case u.PATTERN100:return 0==(a(t/2)+a(o/3))%2;case u.PATTERN101:return 0==t*o%2+t*o%3;case u.PATTERN110:return 0==(t*o%2+t*o%3)%2;case u.PATTERN111:return 0==(t*o%3+(t+o)%2)%2;default:throw new Error("bad maskPattern:"+e);}},getErrorCorrectPolynomial:function(e){for(var t=new s([1],0),o=0;o<e;o++)t=t.multiply(new s([1,h.gexp(o)],0));return t},getLengthInBits:function(e,t){if(1<=t&&10>t)switch(e){case A.MODE_NUMBER:return 10;case A.MODE_ALPHA_NUM:return 9;case A.MODE_8BIT_BYTE:return 8;case A.MODE_KANJI:return 8;default:throw new Error("mode:"+e);}else if(27>t)switch(e){case A.MODE_NUMBER:return 12;case A.MODE_ALPHA_NUM:return 11;case A.MODE_8BIT_BYTE:return 16;case A.MODE_KANJI:return 10;default:throw new Error("mode:"+e);}else if(41>t)switch(e){case A.MODE_NUMBER:return 14;case A.MODE_ALPHA_NUM:return 13;case A.MODE_8BIT_BYTE:return 16;case A.MODE_KANJI:return 12;default:throw new Error("mode:"+e);}else throw new Error("type:"+t)},getLostPoint:function(e){for(var t=e.getModuleCount(),o=0,i=0;i<t;i++)for(var a=0;a<t;a++){for(var n=0,d=e.isDark(i,a),s=-1;1>=s;s++)if(!(0>i+s||t<=i+s))for(var l=-1;1>=l;l++)0>a+l||t<=a+l||(0!=s||0!=l)&&d==e.isDark(i+s,a+l)&&n++;5<n&&(o+=3+n-5)}for(var i=0;i<t-1;i++)for(var r,a=0;a<t-1;a++)r=0,e.isDark(i,a)&&r++,e.isDark(i+1,a)&&r++,e.isDark(i,a+1)&&r++,e.isDark(i+1,a+1)&&r++,(0==r||4==r)&&(o+=3);for(var i=0;i<t;i++)for(var a=0;a<t-6;a++)e.isDark(i,a)&&!e.isDark(i,a+1)&&e.isDark(i,a+2)&&e.isDark(i,a+3)&&e.isDark(i,a+4)&&!e.isDark(i,a+5)&&e.isDark(i,a+6)&&(o+=40);for(var a=0;a<t;a++)for(var i=0;i<t-6;i++)e.isDark(i,a)&&!e.isDark(i+1,a)&&e.isDark(i+2,a)&&e.isDark(i+3,a)&&e.isDark(i+4,a)&&!e.isDark(i+5,a)&&e.isDark(i+6,a)&&(o+=40);for(var c=0,a=0;a<t;a++)for(var i=0;i<t;i++)e.isDark(i,a)&&c++;var m=Math.abs(100*c/t/t-50)/5;return o+=10*m,o}},h={glog:function(e){if(1>e)throw new Error("glog("+e+")");return h.LOG_TABLE[e]},gexp:function(e){for(;0>e;)e+=255;for(;256<=e;)e-=255;return h.EXP_TABLE[e]},EXP_TABLE:Array(256),LOG_TABLE:Array(256)},b=0;8>b;b++)h.EXP_TABLE[b]=1<<b;for(var b=8;256>b;b++)h.EXP_TABLE[b]=h.EXP_TABLE[b-4]^h.EXP_TABLE[b-5]^h.EXP_TABLE[b-6]^h.EXP_TABLE[b-8];for(var b=0;255>b;b++)h.LOG_TABLE[h.EXP_TABLE[b]]=b;s.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(t){for(var e=Array(this.getLength()+t.getLength()-1),o=0;o<this.getLength();o++)for(var i=0;i<t.getLength();i++)e[o+i]^=h.gexp(h.glog(this.get(o))+h.glog(t.get(i)));return new s(e,0)},mod:function(t){if(0>this.getLength()-t.getLength())return this;for(var e=h.glog(this.get(0))-h.glog(t.get(0)),o=Array(this.getLength()),a=0;a<this.getLength();a++)o[a]=this.get(a);for(var a=0;a<t.getLength();a++)o[a]^=h.gexp(h.glog(t.get(a))+e);return new s(o,0).mod(t)}},l.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]],l.getRSBlocks=function(e,t){var o=l.getRsBlockTable(e,t);if(void 0==o)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var a=o.length/3,n=[],d=0;d<a;d++)for(var i=o[3*d+0],s=o[3*d+1],r=o[3*d+2],c=0;c<i;c++)n.push(new l(s,r));return n},l.getRsBlockTable=function(e,t){return t===g.L?l.RS_BLOCK_TABLE[4*(e-1)+0]:t===g.M?l.RS_BLOCK_TABLE[4*(e-1)+1]:t===g.Q?l.RS_BLOCK_TABLE[4*(e-1)+2]:t===g.H?l.RS_BLOCK_TABLE[4*(e-1)+3]:void 0},r.prototype={get:function(e){var t=a(e/8);return 1==(1&this.buffer[t]>>>7-e%8)},put:function(e,t){for(var o=0;o<t;o++)this.putBit(1==(1&e>>>t-o-1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=a(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var x=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],C=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){function t(e,t){var o=document.createElementNS("http://www.w3.org/2000/svg",e);for(var i in t)t.hasOwnProperty(i)&&o.setAttribute(i,t[i]);return o}var o=this._htOption,i=this._el,n=e.getModuleCount(),d=a(o.width/n),s=a(o.height/n);this.clear();var l=t("svg",{viewBox:"0 0 "+(n+" ")+(n+""),width:"100%",height:"100%",fill:o.colorLight});l.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),i.appendChild(l),l.appendChild(t("rect",{fill:o.colorLight,width:"100%",height:"100%"})),l.appendChild(t("rect",{fill:o.colorDark,width:"1",height:"1",id:"template"}));for(var r=0;r<n;r++)for(var c=0;c<n;c++)if(e.isDark(r,c)){var m=t("use",{x:r+"",y:c+""});m.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),l.appendChild(m)}},e.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},e}(),_="svg"===document.documentElement.tagName.toLowerCase(),w=_?C:function(){return"undefined"!=typeof CanvasRenderingContext2D}()?function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.setProperty("display","block","important"),this._elCanvas.style.setProperty("display","none","important")}function t(e,t){var o=this;if(o._fFail=t,o._fSuccess=e,null===o._bSupportDataURI){var i=document.createElement("img"),a=function(){o._bSupportDataURI=!1,o._fFail&&o._fFail.call(o)},n=function(){o._bSupportDataURI=!0,o._fSuccess&&o._fSuccess.call(o)};return i.onabort=a,i.onerror=a,i.onload=n,void(i.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===o._bSupportDataURI&&o._fSuccess?o._fSuccess.call(o):!1===o._bSupportDataURI&&o._fFail&&o._fFail.call(o)}if(this._android&&2.1>=this._android){var o=1/window.devicePixelRatio,n=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,t,a,d,s,l,r,c){if("nodeName"in e&&/img/i.test(e.nodeName))for(var m=arguments.length-1;1<=m;m--)arguments[m]*=o;else"undefined"==typeof c&&(arguments[1]*=o,arguments[2]*=o,arguments[3]*=o,arguments[4]*=o);n.apply(this,arguments)}}var s=function(e,t){this._bIsPainted=!1,this._android=c(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.setProperty("display","none","important"),this._el.appendChild(this._elImage),this._bSupportDataURI=null};return s.prototype.draw=function(e){var t=this._elImage,o=this._oContext,n=this._htOption,s=e.getModuleCount(),l=n.width/s,r=n.height/s,c=d(l),m=d(r);t.style.setProperty("display","none","important"),this.clear();for(var p=0;p<s;p++)for(var A=0;A<s;A++){var g=e.isDark(p,A),u=A*l,f=p*r;o.strokeStyle=g?n.colorDark:n.colorLight,o.lineWidth=1,o.fillStyle=g?n.colorDark:n.colorLight,o.fillRect(u,f,l,r),o.strokeRect(a(u)+.5,a(f)+.5,c,m),o.strokeRect(i(u)-.5,i(f)-.5,c,m)}this._bIsPainted=!0},s.prototype.makeImage=function(){this._bIsPainted&&t.call(this,e)},s.prototype.isPainted=function(){return this._bIsPainted},s.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},s.prototype.round=function(e){return e?a(1e3*e)/1e3:e},s}():function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){for(var t=this._htOption,o=this._el,i=e.getModuleCount(),n=a(t.width/i),d=a(t.height/i),s=["<table style=\"border:0;border-collapse:collapse;\">"],l=0;l<i;l++){s.push("<tr>");for(var r=0;r<i;r++)s.push("<td style=\"border:0;border-collapse:collapse;padding:0;margin:0;width:"+n+"px;height:"+d+"px;background-color:"+(e.isDark(l,r)?t.colorDark:t.colorLight)+";\"></td>");s.push("</tr>")}s.push("</table>"),o.innerHTML=s.join("");var c=o.childNodes[0],m=(t.width-c.offsetWidth)/2,p=(t.height-c.offsetHeight)/2;0<m&&0<p&&(c.style.margin=p+"px "+m+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}();t=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:g.H},"string"==typeof t&&(t={text:t}),t)for(var o in t)this._htOption[o]=t[o];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(w=C),this._android=c(),this._el=e,this._oQRCode=null,this._oDrawing=new w(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},t.prototype.makeCode=function(e){this._oQRCode=new o(m(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},t.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||3<=this._android)&&this._oDrawing.makeImage()},t.prototype.clear=function(){this._oDrawing.clear()},t.CorrectLevel=g})(),e&&e.exports&&(e.exports=t)}).call(t,o("3IRH")(e))},uloy:function(e,t,o){var i=o("j1OB");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o("rjj0")("f1c9a26a",i,!0,{})},xnBM:function(e,t,o){(function(i){var a,n,d;(function(i,s){n=[t,o("7+uW")],a=s,d="function"==typeof a?a.apply(t,n):a,!(void 0!==d&&(e.exports=d))})(this,function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.root=e.isIOS=e.isAndroid=e.UA=e.inBrowser=e.isProd=void 0;var o=function(e){return e&&e.__esModule?e:{default:e}}(t),a=e.isProd=!0,n=e.inBrowser=!o.default.prototype.$isServer||"undefined"!=typeof window,d=e.UA=n&&window.navigator.userAgent.toLowerCase(),s=e.isAndroid=d&&0<d.indexOf("android"),l=e.isIOS=d&&/iphone|ipad|ipod|ios/.test(d),r=e.root="undefined"==typeof window?i:window})}).call(t,o("DuR2"))}});