|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-common-richText~pages-integral-detail~pages-mall-detail~pages-mall-my-richText~pages-mall-spik~165e019a"],{"02ca":function(t,n,r){"use strict";r.r(n);var e=r("2c88"),i=r.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){r.d(n,t,(function(){return e[t]}))}(s);n["default"]=i.a},"0cb7":function(t,n,r){var e=r("24fb");n=e(!1),n.push([t.i,"\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/* a 标签默认效果 */._a[data-v-c06477e0]{padding:1.5px 0 1.5px 0;color:#366092;word-break:break-all}\r\n/* a 标签点击态效果 */._hover[data-v-c06477e0]{text-decoration:underline;opacity:.7}\r\n/* 图片默认效果 */._img[data-v-c06477e0]{max-width:100%;-webkit-touch-callout:none}\r\n/* 内部样式 */._b[data-v-c06477e0],\r\n._strong[data-v-c06477e0]{font-weight:700}._code[data-v-c06477e0]{font-family:monospace}._del[data-v-c06477e0]{text-decoration:line-through}._em[data-v-c06477e0],\r\n._i[data-v-c06477e0]{font-style:italic}._h1[data-v-c06477e0]{font-size:2em}._h2[data-v-c06477e0]{font-size:1.5em}._h3[data-v-c06477e0]{font-size:1.17em}._h5[data-v-c06477e0]{font-size:.83em}._h6[data-v-c06477e0]{font-size:.67em}._h1[data-v-c06477e0],\r\n._h2[data-v-c06477e0],\r\n._h3[data-v-c06477e0],\r\n._h4[data-v-c06477e0],\r\n._h5[data-v-c06477e0],\r\n._h6[data-v-c06477e0]{display:block;font-weight:700}._image[data-v-c06477e0]{height:1px}._ins[data-v-c06477e0]{text-decoration:underline}._li[data-v-c06477e0]{display:list-item}._ol[data-v-c06477e0]{list-style-type:decimal}._ol[data-v-c06477e0],\r\n._ul[data-v-c06477e0]{display:block;padding-left:40px;margin:1em 0}._q[data-v-c06477e0]::before{content:'\"'}._q[data-v-c06477e0]::after{content:'\"'}._sub[data-v-c06477e0]{font-size:smaller;vertical-align:sub}._sup[data-v-c06477e0]{font-size:smaller;vertical-align:super}._thead[data-v-c06477e0],\r\n._tbody[data-v-c06477e0],\r\n._tfoot[data-v-c06477e0]{display:table-row-group}._tr[data-v-c06477e0]{display:table-row}._td[data-v-c06477e0],\r\n._th[data-v-c06477e0]{display:table-cell;vertical-align:middle}._th[data-v-c06477e0]{font-weight:700;text-align:center}._ul[data-v-c06477e0]{list-style-type:disc}._ul ._ul[data-v-c06477e0]{margin:0;list-style-type:circle}._ul ._ul ._ul[data-v-c06477e0]{list-style-type:square}._abbr[data-v-c06477e0],\r\n._b[data-v-c06477e0],\r\n._code[data-v-c06477e0],\r\n._del[data-v-c06477e0],\r\n._em[data-v-c06477e0],\r\n._i[data-v-c06477e0],\r\n._ins[data-v-c06477e0],\r\n._label[data-v-c06477e0],\r\n._q[data-v-c06477e0],\r\n._span[data-v-c06477e0],\r\n._strong[data-v-c06477e0],\r\n._sub[data-v-c06477e0],\r\n._sup[data-v-c06477e0]{display:inline}\r\n\r\n",""]),t.exports=n},"119a":function(t,n,r){"use strict";r.r(n);var e=r("7053"),i=r.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){r.d(n,t,(function(){return e[t]}))}(s);n["default"]=i.a},"14c1":function(t,n,r){"use strict";r.r(n);var e=r("7ca7"),i=r.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){r.d(n,t,(function(){return e[t]}))}(s);n["default"]=i.a},"1d10":function(t,n,r){"use strict";r.r(n);var e=r("d349"),i=r("02ca");for(var s in i)["default"].indexOf(s)<0&&function(t){r.d(n,t,(function(){return i[t]}))}(s);r("7cc8");var a=r("f0c5"),o=Object(a["a"])(i["default"],e["b"],e["c"],!1,null,"8d99e61c",null,!1,e["a"],void 0);n["default"]=o.exports},"2c31":function(t,n,r){"use strict";r("7a82");var e=r("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,r("14d9"),r("e25e"),r("caad"),r("2532");var i=e(r("92fc")),s={name:"node",data:function(){return{ctrl:{}}},props:{name:String,attrs:{type:Object,default:function(){return{}}},childs:Array,opts:Array},components:{node:i.default},mounted:function(){var t=this;for(this.root=this.$parent;"mp-html"!=this.root.$options.name;this.root=this.root.$parent);if(this.opts[0]){for(var n=this.childs.length;n--;)if("img"==this.childs[n].name)break;-1!=n&&(this.observer=uni.createIntersectionObserver(this).relativeToViewport({top:500,bottom:500}),this.observer.observe("._img",(function(n){n.intersectionRatio&&(t.$set(t.ctrl,"load",1),t.observer.disconnect())})))}},beforeDestroy:function(){this.observer&&this.observer.disconnect()},methods:{play:function(t){if(this.root.pauseVideo){for(var n=!1,r=t.target.id,e=this.root._videos.length;e--;)this.root._videos[e].id==r?n=!0:this.root._videos[e].pause();if(!n){var i=uni.createVideoContext(r,this);i.id=r,this.root._videos.push(i)}}},imgTap:function(t){var n=this.childs[t.currentTarget.dataset.i];if(n.a)return this.linkTap(n.a);n.attrs.ignore||(n.attrs.src=n.attrs.src||n.attrs["data-src"],this.root.$emit("imgtap",n.attrs),this.root.previewImg&&uni.previewImage({current:parseInt(n.attrs.i),urls:this.root.imgList}))},imgLongTap:function(t){},imgLoad:function(t){var n=t.currentTarget.dataset.i;(this.opts[1]&&!this.ctrl[n]||-1==this.ctrl[n])&&this.$set(this.ctrl,n,1)},linkTap:function(t){var n=t.currentTarget?this.childs[t.currentTarget.dataset.i].attrs:t,r=n.href;this.root.$emit("linktap",n),r&&("#"==r[0]?this.root.navigateTo(r.substring(1)).catch((function(){})):r.includes("://")?this.root.copyLink&&window.open(r):uni.navigateTo({url:r,fail:function(){uni.switchTab({url:r,fail:function(){}})}}))},mediaError:function(t){var n=t.currentTarget.dataset.i,r=this.childs[n];if("video"==r.name||"audio"==r.name){var e=(this.ctrl[n]||0)+1;if(e>r.src.length&&(e=0),e<r.src.length)return this.$set(this.ctrl,n,e)}else"img"==r.name&&this.opts[2]&&this.$set(this.ctrl,n,-1);this.root&&this.root.$emit("error",{source:r.name,attrs:r.attrs,errMsg:t.detail.errMsg})}}};n.default=s},"2c88":function(t,n,r){"use strict";r("7a82");var e=r("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,r("14d9"),r("d3b7"),r("e25e"),r("ac1f"),r("5319"),r("99af");var i=e(r("92fc")),s=[],a=r("8796"),o={name:"mp-html",data:function(){return{nodes:[]}},props:{content:String,copyLink:{type:Boolean,default:!0},domain:String,errorImg:{type:String,default:""},lazyLoad:{type:Boolean,default:!1},loadingImg:{type:String,default:""},pauseVideo:{type:Boolean,default:!0},previewImg:{type:Boolean,default:!0},scrollTable:Boolean,selectable:Boolean,setTitle:{type:Boolean,default:!0},showImgMenu:{type:Boolean,default:!0},tagStyle:Object,useAnchor:null},components:{node:i.default},watch:{content:function(t){this.setContent(t)}},created:function(){this.plugins=[];for(var t=s.length;t--;)this.plugins.push(new s[t](this))},mounted:function(){this.content&&!this.nodes.length&&this.setContent(this.content)},beforeDestroy:function(){this._hook("onDetached"),clearInterval(this._timer)},methods:{in:function(t,n,r){t&&n&&r&&(this._in={page:t,selector:n,scrollTop:r})},navigateTo:function(t,n){var r=this;return new Promise((function(e,i){if(!r.useAnchor)return i("Anchor is disabled");n=n||parseInt(r.useAnchor)||0;var s=uni.createSelectorQuery().in(r._in?r._in.page:r).select((r._in?r._in.selector:"._root")+(t?"".concat(" ","#").concat(t):"")).boundingClientRect();r._in?s.select(r._in.selector).scrollOffset().select(r._in.selector).boundingClientRect():s.selectViewport().scrollOffset(),s.exec((function(t){if(!t[0])return i("Label not found");var s=t[1].scrollTop+t[0].top-(t[2]?t[2].top:0)+n;r._in?r._in.page[r._in.scrollTop]=s:uni.pageScrollTo({scrollTop:s,duration:300}),e()}))}))},getText:function(){var t="";return function n(r){for(var e=0;e<r.length;e++){var i=r[e];if("text"==i.type)t+=i.text.replace(/&/g,"&");else if("br"==i.name)t+="\n";else{var s="p"==i.name||"div"==i.name||"tr"==i.name||"li"==i.name||"h"==i.name[0]&&i.name[1]>"0"&&i.name[1]<"7";s&&t&&"\n"!=t[t.length-1]&&(t+="\n"),i.children&&n(i.children),s&&"\n"!=t[t.length-1]?t+="\n":"td"!=i.name&&"th"!=i.name||(t+="\t")}}}(this.nodes),t},getRect:function(){var t=this;return new Promise((function(n,r){uni.createSelectorQuery().in(t).select("#_root").boundingClientRect().exec((function(t){return t[0]?n(t[0]):r("Root label not found")}))}))},setContent:function(t,n){var r=this;n&&this.imgList||(this.imgList=[]);var e,i=new a(this).parse(t);this.$set(this,"nodes",n?(this.nodes||[]).concat(i):i),this._videos=[],this.$nextTick((function(){r._hook("onLoad"),r.$emit("load")})),clearInterval(this._timer),this._timer=setInterval((function(){r.getRect().then((function(t){t.height==e&&(r.$emit("ready",t),clearInterval(r._timer)),e=t.height})).catch((function(){}))}),350)},_hook:function(t){for(var n=s.length;n--;)this.plugins[n][t]&&this.plugins[n][t]()}}};n.default=o},"3cef":function(t,n,r){"use strict";r.r(n);var e=r("c372"),i=r("7591");for(var s in i)["default"].indexOf(s)<0&&function(t){r.d(n,t,(function(){return i[t]}))}(s);var a=r("f0c5"),o=Object(a["a"])(i["default"],e["b"],e["c"],!1,null,"9eb4c0ae",null,!1,e["a"],void 0);n["default"]=o.exports},4852:function(t,n,r){var e=r("24fb");n=e(!1),n.push([t.i,"\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/* 根节点样式 */._root[data-v-93d32346]{overflow:auto;-webkit-overflow-scrolling:touch}\r\n/* 长按复制 */._select[data-v-93d32346]{-webkit-user-select:text;user-select:text}\r\n",""]),t.exports=n},"48a5":function(t,n,r){"use strict";r.d(n,"b",(function(){return e})),r.d(n,"c",(function(){return i})),r.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("v-uni-view",{class:"_"+t.name+" "+t.attrs.class,style:t.attrs.style,attrs:{id:t.attrs.id}},[t._l(t.childs,(function(n,e){return["img"==n.name&&(t.opts[1]&&!t.ctrl[e]||t.ctrl[e]<0)?r("v-uni-image",{key:e+"_0",staticClass:"_img",style:n.attrs.style,attrs:{src:t.ctrl[e]<0?t.opts[2]:t.opts[1],mode:"widthFix"}}):t._e(),"img"==n.name?r("img",{key:e+"_1",class:"_img "+n.attrs.class,style:(-1==t.ctrl[e]?"display:none;":"")+n.attrs.style,attrs:{id:n.attrs.id,src:n.attrs.src||(t.ctrl.load?n.attrs["data-src"]:""),"data-i":e},on:{load:function(n){arguments[0]=n=t.$handleEvent(n),t.imgLoad.apply(void 0,arguments)},error:function(n){arguments[0]=n=t.$handleEvent(n),t.mediaError.apply(void 0,arguments)},longpress:function(n){arguments[0]=n=t.$handleEvent(n),t.imgLongTap.apply(void 0,arguments)},click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.imgTap.apply(void 0,arguments)}}}):"text"==n.type?r("v-uni-text",{attrs:{decode:!0}},[t._v(t._s(n.text))]):"br"==n.name?r("v-uni-text",[t._v("\\n")]):"a"==n.name?r("v-uni-view",{class:(n.attrs.href?"_a ":"")+n.attrs.class,style:"display:inline;"+n.attrs.style,attrs:{id:n.attrs.id,"hover-class":"_hover","data-i":e},on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.linkTap.apply(void 0,arguments)}}},[r("node",{staticStyle:{display:"inherit"},attrs:{name:"span",childs:n.children,opts:t.opts}})],1):"video"==n.name?r("v-uni-video",{class:n.attrs.class,style:n.attrs.style,attrs:{id:n.attrs.id,autoplay:n.attrs.autoplay,controls:n.attrs.controls,loop:n.attrs.loop,muted:n.attrs.muted,poster:n.attrs.poster,src:n.src[t.ctrl[e]||0],"data-i":e},on:{play:function(n){arguments[0]=n=t.$handleEvent(n),t.play.apply(void 0,arguments)},error:function(n){arguments[0]=n=t.$handleEvent(n),t.mediaError.apply(void 0,arguments)}}}):"iframe"==n.name?r("iframe",{style:n.attrs.style,attrs:{allowfullscreen:n.attrs.allowfullscreen,frameborder:n.attrs.frameborder,src:n.attrs.src}}):"embed"==n.name?r("embed",{style:n.attrs.style,attrs:{src:n.attrs.src}}):"audio"==n.name?r("v-uni-audio",{class:n.attrs.class,style:n.attrs.style,attrs:{id:n.attrs.id,author:n.attrs.author,controls:n.attrs.controls,loop:n.attrs.loop,name:n.attrs.name,poster:n.attrs.poster,src:n.src[t.ctrl[e]||0],"data-i":e},on:{play:function(n){arguments[0]=n=t.$handleEvent(n),t.play.apply(void 0,arguments)},error:function(n){arguments[0]=n=t.$handleEvent(n),t.mediaError.apply(void 0,arguments)}}}):"table"==n.name&&n.c||"li"==n.name?r("v-uni-view",{class:"_"+n.name+" "+n.attrs.class,style:n.attrs.style,attrs:{id:n.attrs.id}},["li"==n.name?r("node",{attrs:{childs:n.children,opts:t.opts}}):t._l(n.children,(function(n,e){return r("v-uni-view",{key:e,class:"_"+n.name+" "+n.attrs.class,style:n.attrs.style},["td"==n.name||"th"==n.name?r("node",{attrs:{childs:n.children,opts:t.opts}}):t._l(n.children,(function(n,e){return["td"==n.name||"th"==n.name?r("v-uni-view",{key:e+"_0",class:"_"+n.name+" "+n.attrs.class,style:n.attrs.style},[r("node",{attrs:{childs:n.children,opts:t.opts}})],1):r("v-uni-view",{class:"_"+n.name+" "+n.attrs.class,style:n.attrs.style},t._l(n.children,(function(n,e){return r("v-uni-view",{key:e,class:"_"+n.name+" "+n.attrs.class,style:n.attrs.style},[r("node",{attrs:{childs:n.children,opts:t.opts}})],1)})),1)]}))],2)}))],2):t.handler.use(n)?r("v-uni-rich-text",{style:n.f,attrs:{id:n.attrs.id,nodes:[n]}}):2==n.c?r("v-uni-view",{class:"_"+n.name+" "+n.attrs.class,style:n.f+";"+n.attrs.style,attrs:{id:n.attrs.id}},t._l(n.children,(function(n,e){return r("node",{key:e,style:n.f,attrs:{name:n.name,attrs:n.attrs,childs:n.children,opts:t.opts}})})),1):r("node",{style:n.f,attrs:{name:n.name,attrs:n.attrs,childs:n.children,opts:t.opts}})]}))],2)},i=[]},"54fa":function(t,n,r){"use strict";var e=r("932d"),i=r.n(e);i.a},"5c8b":function(t,n,r){"use strict";n["a"]=function(t){(t.options.wxs||(t.options.wxs={}))["handler"]=function(t){var n={abbr:!0,b:!0,big:!0,code:!0,del:!0,em:!0,i:!0,ins:!0,label:!0,q:!0,small:!0,span:!0,strong:!0,sub:!0,sup:!0};return t.exports={use:function(t){return!n[t.name]&&-1==(t.attrs.style||"").indexOf("display:inline")&&!t.c}},t.exports}({exports:{}})}},"63ab":function(t,n,r){"use strict";r.d(n,"b",(function(){return e})),r.d(n,"c",(function(){return i})),r.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("v-uni-view",{class:"_"+t.name+" "+t.attrs.class,style:t.attrs.style,attrs:{id:t.attrs.id}},[t._l(t.childs,(function(n,e){return["img"==n.name&&(t.opts[1]&&!t.ctrl[e]||t.ctrl[e]<0)?r("v-uni-image",{key:e+"_0",staticClass:"_img",style:n.attrs.style,attrs:{src:t.ctrl[e]<0?t.opts[2]:t.opts[1],mode:"widthFix"}}):t._e(),"img"==n.name?r("img",{key:e+"_1",class:"_img "+n.attrs.class,style:(-1==t.ctrl[e]?"display:none;":"")+n.attrs.style,attrs:{id:n.attrs.id,src:n.attrs.src||(t.ctrl.load?n.attrs["data-src"]:""),"data-i":e},on:{load:function(n){arguments[0]=n=t.$handleEvent(n),t.imgLoad.apply(void 0,arguments)},error:function(n){arguments[0]=n=t.$handleEvent(n),t.mediaError.apply(void 0,arguments)},longpress:function(n){arguments[0]=n=t.$handleEvent(n),t.imgLongTap.apply(void 0,arguments)},click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.imgTap.apply(void 0,arguments)}}}):"text"==n.type?r("v-uni-text",{attrs:{decode:!0}},[t._v(t._s(n.text))]):"br"==n.name?r("v-uni-text",[t._v("\\n")]):"a"==n.name?r("v-uni-view",{class:(n.attrs.href?"_a ":"")+n.attrs.class,style:"display:inline;"+n.attrs.style,attrs:{id:n.attrs.id,"hover-class":"_hover","data-i":e},on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.linkTap.apply(void 0,arguments)}}},[r("node",{staticStyle:{display:"inherit"},attrs:{name:"span",childs:n.children,opts:t.opts}})],1):"video"==n.name?r("v-uni-video",{class:n.attrs.class,style:n.attrs.style,attrs:{id:n.attrs.id,autoplay:n.attrs.autoplay,controls:n.attrs.controls,loop:n.attrs.loop,muted:n.attrs.muted,poster:n.attrs.poster,src:n.src[t.ctrl[e]||0],"data-i":e},on:{play:function(n){arguments[0]=n=t.$handleEvent(n),t.play.apply(void 0,arguments)},error:function(n){arguments[0]=n=t.$handleEvent(n),t.mediaError.apply(void 0,arguments)}}}):"iframe"==n.name?r("iframe",{style:n.attrs.style,attrs:{allowfullscreen:n.attrs.allowfullscreen,frameborder:n.attrs.frameborder,src:n.attrs.src}}):"embed"==n.name?r("embed",{style:n.attrs.style,attrs:{src:n.attrs.src}}):"audio"==n.name?r("v-uni-audio",{class:n.attrs.class,style:n.attrs.style,attrs:{id:n.attrs.id,author:n.attrs.author,controls:n.attrs.controls,loop:n.attrs.loop,name:n.attrs.name,poster:n.attrs.poster,src:n.src[t.ctrl[e]||0],"data-i":e},on:{play:function(n){arguments[0]=n=t.$handleEvent(n),t.play.apply(void 0,arguments)},error:function(n){arguments[0]=n=t.$handleEvent(n),t.mediaError.apply(void 0,arguments)}}}):"table"==n.name&&n.c||"li"==n.name?r("v-uni-view",{class:"_"+n.name+" "+n.attrs.class,style:n.attrs.style,attrs:{id:n.attrs.id}},["li"==n.name?r("node",{attrs:{childs:n.children,opts:t.opts}}):t._l(n.children,(function(n,e){return r("v-uni-view",{key:e,class:"_"+n.name+" "+n.attrs.class,style:n.attrs.style},["td"==n.name||"th"==n.name?r("node",{attrs:{childs:n.children,opts:t.opts}}):t._l(n.children,(function(n,e){return["td"==n.name||"th"==n.name?r("v-uni-view",{key:e+"_0",class:"_"+n.name+" "+n.attrs.class,style:n.attrs.style},[r("node",{attrs:{childs:n.children,opts:t.opts}})],1):r("v-uni-view",{class:"_"+n.name+" "+n.attrs.class,style:n.attrs.style},t._l(n.children,(function(n,e){return r("v-uni-view",{key:e,class:"_"+n.name+" "+n.attrs.class,style:n.attrs.style},[r("node",{attrs:{childs:n.children,opts:t.opts}})],1)})),1)]}))],2)}))],2):t.handler.use(n)?r("v-uni-rich-text",{style:n.f,attrs:{id:n.attrs.id,nodes:[n]}}):2==n.c?r("v-uni-view",{class:"_"+n.name+" "+n.attrs.class,style:n.f+";"+n.attrs.style,attrs:{id:n.attrs.id}},t._l(n.children,(function(n,e){return r("node",{key:e,style:n.f,attrs:{name:n.name,attrs:n.attrs,childs:n.children,opts:t.opts}})})),1):r("node",{style:n.f,attrs:{name:n.name,attrs:n.attrs,childs:n.children,opts:t.opts}})]}))],2)},i=[]},"645a":function(t,n,r){"use strict";var e=r("fe27"),i=r.n(e);i.a},6633:function(t,n,r){"use strict";r.r(n);var e=r("2c31"),i=r.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){r.d(n,t,(function(){return e[t]}))}(s);n["default"]=i.a},"6d50":function(t,n,r){var e=r("a3d8");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=r("4f06").default;i("769dce98",e,!0,{sourceMap:!1,shadowMode:!1})},"6fa8":function(t,n,r){var e=r("4852");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=r("4f06").default;i("3c372428",e,!0,{sourceMap:!1,shadowMode:!1})},7053:function(t,n,r){"use strict";r("7a82");var e=r("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,r("14d9"),r("d3b7"),r("e25e"),r("ac1f"),r("5319"),r("99af");var i=e(r("737d")),s=[],a=r("9451"),o={name:"mp-html",data:function(){return{nodes:[]}},props:{content:String,copyLink:{type:Boolean,default:!0},domain:String,errorImg:{type:String,default:""},lazyLoad:{type:Boolean,default:!1},loadingImg:{type:String,default:""},pauseVideo:{type:Boolean,default:!0},previewImg:{type:Boolean,default:!0},scrollTable:Boolean,selectable:Boolean,setTitle:{type:Boolean,default:!0},showImgMenu:{type:Boolean,default:!0},tagStyle:Object,useAnchor:null},components:{node:i.default},watch:{content:function(t){this.setContent(t)}},created:function(){this.plugins=[];for(var t=s.length;t--;)this.plugins.push(new s[t](this))},mounted:function(){this.content&&!this.nodes.length&&this.setContent(this.content)},beforeDestroy:function(){this._hook("onDetached"),clearInterval(this._timer)},methods:{in:function(t,n,r){t&&n&&r&&(this._in={page:t,selector:n,scrollTop:r})},navigateTo:function(t,n){var r=this;return new Promise((function(e,i){if(!r.useAnchor)return i("Anchor is disabled");n=n||parseInt(r.useAnchor)||0;var s=uni.createSelectorQuery().in(r._in?r._in.page:r).select((r._in?r._in.selector:"._root")+(t?"".concat(" ","#").concat(t):"")).boundingClientRect();r._in?s.select(r._in.selector).scrollOffset().select(r._in.selector).boundingClientRect():s.selectViewport().scrollOffset(),s.exec((function(t){if(!t[0])return i("Label not found");var s=t[1].scrollTop+t[0].top-(t[2]?t[2].top:0)+n;r._in?r._in.page[r._in.scrollTop]=s:uni.pageScrollTo({scrollTop:s,duration:300}),e()}))}))},getText:function(){var t="";return function n(r){for(var e=0;e<r.length;e++){var i=r[e];if("text"==i.type)t+=i.text.replace(/&/g,"&");else if("br"==i.name)t+="\n";else{var s="p"==i.name||"div"==i.name||"tr"==i.name||"li"==i.name||"h"==i.name[0]&&i.name[1]>"0"&&i.name[1]<"7";s&&t&&"\n"!=t[t.length-1]&&(t+="\n"),i.children&&n(i.children),s&&"\n"!=t[t.length-1]?t+="\n":"td"!=i.name&&"th"!=i.name||(t+="\t")}}}(this.nodes),t},getRect:function(){var t=this;return new Promise((function(n,r){uni.createSelectorQuery().in(t).select("#_root").boundingClientRect().exec((function(t){return t[0]?n(t[0]):r("Root label not found")}))}))},setContent:function(t,n){var r=this;n&&this.imgList||(this.imgList=[]);var e,i=new a(this).parse(t);this.$set(this,"nodes",n?(this.nodes||[]).concat(i):i),this._videos=[],this.$nextTick((function(){r._hook("onLoad"),r.$emit("load")})),clearInterval(this._timer),this._timer=setInterval((function(){r.getRect().then((function(t){t.height==e&&(r.$emit("ready",t),clearInterval(r._timer)),e=t.height})).catch((function(){}))}),350)},_hook:function(t){for(var n=s.length;n--;)this.plugins[n][t]&&this.plugins[n][t]()}}};n.default=o},"737d":function(t,n,r){"use strict";r.r(n);var e=r("48a5"),i=r("14c1");for(var s in i)["default"].indexOf(s)<0&&function(t){r.d(n,t,(function(){return i[t]}))}(s);r("645a");var a=r("f0c5"),o=r("a4c0"),l=Object(a["a"])(i["default"],e["b"],e["c"],!1,null,"c06477e0",null,!1,e["a"],void 0);"function"===typeof o["a"]&&Object(o["a"])(l),n["default"]=l.exports},7591:function(t,n,r){"use strict";r.r(n);var e=r("d0f9"),i=r.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){r.d(n,t,(function(){return e[t]}))}(s);n["default"]=i.a},"7ca7":function(t,n,r){"use strict";r("7a82");var e=r("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,r("14d9"),r("e25e"),r("caad"),r("2532");var i=e(r("737d")),s={name:"node",data:function(){return{ctrl:{}}},props:{name:String,attrs:{type:Object,default:function(){return{}}},childs:Array,opts:Array},components:{node:i.default},mounted:function(){var t=this;for(this.root=this.$parent;"mp-html"!=this.root.$options.name;this.root=this.root.$parent);if(this.opts[0]){for(var n=this.childs.length;n--;)if("img"==this.childs[n].name)break;-1!=n&&(this.observer=uni.createIntersectionObserver(this).relativeToViewport({top:500,bottom:500}),this.observer.observe("._img",(function(n){n.intersectionRatio&&(t.$set(t.ctrl,"load",1),t.observer.disconnect())})))}},beforeDestroy:function(){this.observer&&this.observer.disconnect()},methods:{play:function(t){if(this.root.pauseVideo){for(var n=!1,r=t.target.id,e=this.root._videos.length;e--;)this.root._videos[e].id==r?n=!0:this.root._videos[e].pause();if(!n){var i=uni.createVideoContext(r,this);i.id=r,this.root._videos.push(i)}}},imgTap:function(t){var n=this.childs[t.currentTarget.dataset.i];if(n.a)return this.linkTap(n.a);n.attrs.ignore||(n.attrs.src=n.attrs.src||n.attrs["data-src"],this.root.$emit("imgtap",n.attrs),this.root.previewImg&&uni.previewImage({current:parseInt(n.attrs.i),urls:this.root.imgList}))},imgLongTap:function(t){},imgLoad:function(t){var n=t.currentTarget.dataset.i;(this.opts[1]&&!this.ctrl[n]||-1==this.ctrl[n])&&this.$set(this.ctrl,n,1)},linkTap:function(t){var n=t.currentTarget?this.childs[t.currentTarget.dataset.i].attrs:t,r=n.href;this.root.$emit("linktap",n),r&&("#"==r[0]?this.root.navigateTo(r.substring(1)).catch((function(){})):r.includes("://")?this.root.copyLink&&window.open(r):uni.navigateTo({url:r,fail:function(){uni.switchTab({url:r,fail:function(){}})}}))},mediaError:function(t){var n=t.currentTarget.dataset.i,r=this.childs[n];if("video"==r.name||"audio"==r.name){var e=(this.ctrl[n]||0)+1;if(e>r.src.length&&(e=0),e<r.src.length)return this.$set(this.ctrl,n,e)}else"img"==r.name&&this.opts[2]&&this.$set(this.ctrl,n,-1);this.root&&this.root.$emit("error",{source:r.name,attrs:r.attrs,errMsg:t.detail.errMsg})}}};n.default=s},"7cc8":function(t,n,r){"use strict";var e=r("6d50"),i=r.n(e);i.a},8796:function(t,n,r){"use strict";r("c975"),r("e25e"),r("caad"),r("2532"),r("99af"),r("acd8"),r("498a"),r("baa5"),r("ac1f"),r("5319"),r("14d9"),r("d401"),r("d3b7"),r("25f0"),r("a434");var e={trustTags:o("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),blockTags:o("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),ignoreTags:o("area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr"),voidTags:o("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),entities:{lt:"<",gt:">",quot:'"',apos:"'",ensp:" ",emsp:" ",nbsp:" ",semi:";",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}},i=uni.getSystemInfoSync().windowWidth,s=o(" ,\r,\n,\t,\f"),a=0;function o(t){for(var n=Object.create(null),r=t.split(","),e=r.length;e--;)n[r[e]]=!0;return n}function l(t,n){var r=t.indexOf("&");while(-1!=r){var i=t.indexOf(";",r+3),s=void 0;if(-1==i)break;"#"==t[r+1]?(s=parseInt(("x"==t[r+2]?"0":"")+t.substring(r+2,i)),isNaN(s)||(t=t.substr(0,r)+String.fromCharCode(s)+t.substr(i+1))):(s=t.substring(r+1,i),(e.entities[s]||"amp"==s&&n)&&(t=t.substr(0,r)+(e.entities[s]||"&")+t.substr(i+1))),r=t.indexOf("&",r+1)}return t}function c(t){this.options=t||{},this.tagStyle=Object.assign(e.tagStyle,this.options.tagStyle),this.imgList=t.imgList||[],this.plugins=t.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[]}function h(t){this.handler=t}e.ignoreTags.iframe=void 0,e.trustTags.iframe=!0,e.ignoreTags.embed=void 0,e.trustTags.embed=!0,c.prototype.parse=function(t){for(var n=this.plugins.length;n--;)this.plugins[n].onUpdate&&(t=this.plugins[n].onUpdate(t,e)||t);new h(this).parse(t);while(this.stack.length)this.popNode();return this.nodes},c.prototype.expose=function(){for(var t=this.stack.length;t--;){var n=this.stack[t];if("a"==n.name||n.c)return;n.c=1}},c.prototype.hook=function(t){for(var n=this.plugins.length;n--;)if(this.plugins[n].onParse&&0==this.plugins[n].onParse(t,this))return!1;return!0},c.prototype.getUrl=function(t){var n=this.options.domain;return"/"==t[0]?"/"==t[1]?t=(n?n.split("://")[0]:"http")+":"+t:n&&(t=n+t):!n||t.includes("data:")||t.includes("://")||(t=n+"/"+t),t},c.prototype.parseStyle=function(t){var n=t.attrs,r=(this.tagStyle[t.name]||"").split(";").concat((n.style||"").split(";")),e={},a="";n.id&&(this.options.useAnchor?this.expose():"img"!=t.name&&"a"!=t.name&&"video"!=t.name&&"audio"!=t.name&&(n.id=void 0)),n.width&&(e.width=parseFloat(n.width)+(n.width.includes("%")?"%":"px"),n.width=void 0),n.height&&(e.height=parseFloat(n.height)+(n.height.includes("%")?"%":"px"),n.height=void 0);for(var o=0,l=r.length;o<l;o++){var c=r[o].split(":");if(!(c.length<2)){var h=c.shift().trim().toLowerCase(),d=c.join(":").trim();if("-"==d[0]&&d.lastIndexOf("-")>0||d.includes("safe"))a+=";".concat(h,":").concat(d);else if(!e[h]||d.includes("import")||!e[h].includes("import")){if(d.includes("url")){var u=d.indexOf("(")+1;if(u){while('"'==d[u]||"'"==d[u]||s[d[u]])u++;d=d.substr(0,u)+this.getUrl(d.substr(u))}}else d.includes("rpx")&&(d=d.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*i/750+"px"})));e[h]=d}}}return t.attrs.style=a,e},c.prototype.onTagName=function(t){this.tagName=this.xml?t:t.toLowerCase(),"svg"==this.tagName&&(this.xml=!0)},c.prototype.onAttrName=function(t){t=this.xml?t:t.toLowerCase(),"data-"==t.substr(0,5)?"data-src"!=t||this.attrs.src?"img"==this.tagName||"a"==this.tagName?this.attrName=t:this.attrName=void 0:this.attrName="src":(this.attrName=t,this.attrs[t]="T")},c.prototype.onAttrVal=function(t){var n=this.attrName||"";"style"==n||"href"==n?this.attrs[n]=l(t,!0):n.includes("src")?this.attrs[n]=this.getUrl(l(t,!0)):n&&(this.attrs[n]=t)},c.prototype.onOpenTag=function(t){var n=Object.create(null);n.name=this.tagName,n.attrs=this.attrs,this.attrs=Object.create(null);var r=n.attrs,s=this.stack[this.stack.length-1],o=s?s.children:this.nodes,l=this.xml?t:e.voidTags[n.name];if("embed"==n.name&&this.expose(),"video"!=n.name&&"audio"!=n.name||("video"!=n.name||r.id||(r.id="v"+a++),r.controls||r.autoplay||(r.controls="T"),n.src=[],r.src&&(n.src.push(r.src),r.src=void 0),this.expose()),l){if(!this.hook(n)||e.ignoreTags[n.name])return void("base"!=n.name||this.options.domain?"source"==n.name&&s&&("video"==s.name||"audio"==s.name)&&r.src&&s.src.push(r.src):this.options.domain=r.href);var c=this.parseStyle(n);if("img"==n.name){if(r.src&&(r.src.includes("webp")&&(n.webp="T"),r.src.includes("data:")&&!r["original-src"]&&(r.ignore="T"),!r.ignore||n.webp||r.src.includes("cloud://"))){for(var h=this.stack.length;h--;){var d=this.stack[h];if("a"==d.name){n.a=d.attrs;break}d.c=1}r.i=this.imgList.length.toString();var u=r["original-src"]||r.src;this.imgList.push(u),this.options.lazyLoad&&(r["data-src"]=r.src,r.src=void 0)}"inline"==c.display&&(c.display=""),r.ignore&&(c["max-width"]=c["max-width"]||"100%",r.style+=";-webkit-touch-callout:none"),parseInt(c.width)>i&&(c.height=void 0),c.width&&(c.width.includes("auto")?c.width="":(n.w="T",c.height&&!c.height.includes("auto")&&(n.h="T")))}else if("svg"==n.name)return o.push(n),this.stack.push(n),void this.popNode();for(var f in c)c[f]&&(r.style+=";".concat(f,":").concat(c[f].replace(" !important","")));r.style=r.style.substr(1)||void 0}else("pre"==n.name||(r.style||"").includes("white-space")&&r.style.includes("pre"))&&(this.pre=n.pre=!0),n.children=[],this.stack.push(n);o.push(n)},c.prototype.onCloseTag=function(t){var n;for(t=this.xml?t:t.toLowerCase(),n=this.stack.length;n--;)if(this.stack[n].name==t)break;if(-1!=n)while(this.stack.length>n)this.popNode();else if("p"==t||"br"==t){var r=this.stack.length?this.stack[this.stack.length-1].children:this.nodes;r.push({name:t,attrs:{}})}},c.prototype.popNode=function(){var t=this.stack.pop(),n=t.attrs,r=t.children,s=this.stack[this.stack.length-1],a=s?s.children:this.nodes;if(!this.hook(t)||e.ignoreTags[t.name])return"title"==t.name&&r.length&&"text"==r[0].type&&this.options.setTitle&&uni.setNavigationBarTitle({title:r[0].text}),void a.pop();if(t.pre){t.pre=this.pre=void 0;for(var o=this.stack.length;o--;)this.stack[o].pre&&(this.pre=!0)}var l={};if("svg"==t.name){var c="",h=n.style;return n.style="",n.xmlns="http://www.w3.org/2000/svg",function t(n){for(var r in c+="<"+n.name,n.attrs){var e=n.attrs[r];e&&("viewbox"==r&&(r="viewBox"),c+=" ".concat(r,'="').concat(e,'"'))}if(n.children){c+=">";for(var i=0;i<n.children.length;i++)t(n.children[i]);c+="</"+n.name+">"}else c+="/>"}(t),t.name="img",t.attrs={src:"data:image/svg+xml;utf8,"+c.replace(/#/g,"%23"),style:h,ignore:"T"},t.children=void 0,void(this.xml=!1)}if(n.align&&("table"==t.name?"center"==n.align?l["margin-inline-start"]=l["margin-inline-end"]="auto":l["float"]=n.align:l["text-align"]=n.align,n.align=void 0),"font"==t.name&&(n.color&&(l.color=n.color,n.color=void 0),n.face&&(l["font-family"]=n.face,n.face=void 0),n.size)){var d=parseInt(n.size);isNaN(d)||(d<1?d=1:d>7&&(d=7),l["font-size"]=["xx-small","x-small","small","medium","large","x-large","xx-large"][d-1]),n.size=void 0}if((n["class"]||"").includes("align-center")&&(l["text-align"]="center"),Object.assign(l,this.parseStyle(t)),parseInt(l.width)>i&&(l["max-width"]="100%",l["box-sizing"]="border-box"),e.blockTags[t.name]?t.name="div":e.trustTags[t.name]||this.xml||(t.name="span"),"a"==t.name||"ad"==t.name||"iframe"==t.name)this.expose();else if("ul"!=t.name&&"ol"!=t.name||!t.c){if("table"==t.name){var u=parseFloat(n.cellpadding),f=parseFloat(n.cellspacing),p=parseFloat(n.border);if(t.c&&(isNaN(u)&&(u=2),isNaN(f)&&(f=2)),p&&(n.style+=";border:"+p+"px solid gray"),t.flag&&t.c){l.display="grid",f?(l["grid-gap"]=f+"px",l.padding=f+"px"):p&&(n.style+=";border-left:0;border-top:0");var v=[],m=[],g=[],y={};(function t(n){for(var r=0;r<n.length;r++)"tr"==n[r].name?m.push(n[r]):t(n[r].children||[])})(r);for(var b=1;b<=m.length;b++){for(var x=1,_=0;_<m[b-1].children.length;_++,x++){var w=m[b-1].children[_];if("td"==w.name||"th"==w.name){while(y[b+"."+x])x++;var k=w.attrs.style||"",T=k.indexOf("width")?k.indexOf(";width"):0;if(-1!=T){var O=k.indexOf(";",T+6);-1==O&&(O=k.length),w.attrs.colspan||(v[x]=k.substring(T?T+7:6,O)),k=k.substr(0,T)+k.substr(O)}if(k+=(p?";border:".concat(p,"px solid gray")+(f?"":";border-right:0;border-bottom:0"):"")+(u?";padding:".concat(u,"px"):""),w.attrs.colspan&&(k+=";grid-column-start:".concat(x,";grid-column-end:").concat(x+parseInt(w.attrs.colspan)),w.attrs.rowspan||(k+=";grid-row-start:".concat(b,";grid-row-end:").concat(b+1)),x+=parseInt(w.attrs.colspan)-1),w.attrs.rowspan){k+=";grid-row-start:".concat(b,";grid-row-end:").concat(b+parseInt(w.attrs.rowspan)),w.attrs.colspan||(k+=";grid-column-start:".concat(x,";grid-column-end:").concat(x+1));for(var N=1;N<w.attrs.rowspan;N++)y[b+N+"."+x]=1}k&&(w.attrs.style=k),g.push(w)}}if(1==b){for(var I="",$=1;$<x;$++)I+=(v[$]?v[$]:"auto")+" ";l["grid-template-columns"]=I}}t.children=g}else t.c&&(l.display="table"),isNaN(f)||(l["border-spacing"]=f+"px"),(p||u)&&function t(n){for(var r=0;r<n.length;r++){var e=n[r];"th"==e.name||"td"==e.name?(p&&(e.attrs.style="border:".concat(p,"px solid gray;").concat(e.attrs.style||"")),u&&(e.attrs.style="padding:".concat(u,"px;").concat(e.attrs.style||""))):e.children&&t(e.children)}}(r);if(this.options.scrollTable&&!(n.style||"").includes("inline")){var C=Object.assign({},t);t.name="div",t.attrs={style:"overflow:auto"},t.children=[C],n=C.attrs}}else if("td"!=t.name&&"th"!=t.name||!n.colspan&&!n.rowspan){if("ruby"==t.name){t.name="span";for(var S=0;S<r.length-1;S++)"text"==r[S].type&&"rt"==r[S+1].name&&(r[S]={name:"div",attrs:{style:"display:inline-block"},children:[{name:"div",attrs:{style:"font-size:50%;text-align:start"},children:r[S+1].children},r[S]]},r.splice(S+1,1))}else if(t.c){t.c=2;for(var L=t.children.length;L--;)t.children[L].c&&"table"!=t.children[L].name||(t.c=1)}}else for(var z=this.stack.length;z--;)if("table"==this.stack[z].name){this.stack[z].flag=1;break}}else{var j={a:"lower-alpha",A:"upper-alpha",i:"lower-roman",I:"upper-roman"};j[n.type]&&(n.style+=";list-style-type:"+j[n.type],n.type=void 0);for(var A=r.length;A--;)"li"==r[A].name&&(r[A].c=1)}if((l.display||"").includes("flex")&&!t.c)for(var E=r.length;E--;){var M=r[E];M.f&&(M.attrs.style=(M.attrs.style||"")+M.f,M.f=void 0)}var q=s&&(s.attrs.style||"").includes("flex")&&!t.c;for(var V in q&&(t.f=";max-width:100%"),l)if(l[V]){var B=";".concat(V,":").concat(l[V].replace(" !important",""));q&&(V.includes("flex")&&"flex-direction"!=V||"align-self"==V||"-"==l[V][0]||"width"==V&&B.includes("%"))?(t.f+=B,"width"==V&&(n.style+=";width:100%")):n.style+=B}n.style=n.style.substr(1)||void 0},c.prototype.onText=function(t){if(!this.pre){for(var n,r="",e=0,i=t.length;e<i;e++)s[t[e]]?(" "!=r[r.length-1]&&(r+=" "),"\n"!=t[e]||n||(n=!0)):r+=t[e];if(" "==r&&n)return;t=r}var a=Object.create(null);if(a.type="text",a.text=l(t),this.hook(a)){var o=this.stack.length?this.stack[this.stack.length-1].children:this.nodes;o.push(a)}},h.prototype.parse=function(t){this.content=t||"",this.i=0,this.start=0,this.state=this.text;for(var n=this.content.length;-1!=this.i&&this.i<n;)this.state()},h.prototype.checkClose=function(t){var n="/"==this.content[this.i];return!!(">"==this.content[this.i]||n&&">"==this.content[this.i+1])&&(t&&this.handler[t](this.content.substring(this.start,this.i)),this.i+=n?2:1,this.start=this.i,this.handler.onOpenTag(n),"script"==this.handler.tagName?(this.i=this.content.indexOf("</",this.i),-1!=this.i&&(this.i+=2,this.start=this.i),this.state=this.endTag):this.state=this.text,!0)},h.prototype.text=function(){if(this.i=this.content.indexOf("<",this.i),-1!=this.i){var t=this.content[this.i+1];if(t>="a"&&t<="z"||t>="A"&&t<="Z")this.start!=this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"==t||"!"==t||"?"==t){this.start!=this.i&&this.handler.onText(this.content.substring(this.start,this.i));var n=this.content[this.i+2];if("/"==t&&(n>="a"&&n<="z"||n>="A"&&n<="Z"))return this.i+=2,this.start=this.i,this.state=this.endTag;var r="--\x3e";"!"==t&&"-"==this.content[this.i+2]&&"-"==this.content[this.i+3]||(r=">"),this.i=this.content.indexOf(r,this.i),-1!=this.i&&(this.i+=r.length,this.start=this.i)}else this.i++}else this.start<this.content.length&&this.handler.onText(this.content.substring(this.start,this.content.length))},h.prototype.tagName=function(){if(s[this.content[this.i]]){this.handler.onTagName(this.content.substring(this.start,this.i));while(s[this.content[++this.i]]);this.i<this.content.length&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)}else this.checkClose("onTagName")||this.i++},h.prototype.attrName=function(){var t=this.content[this.i];if(s[t]||"="==t){this.handler.onAttrName(this.content.substring(this.start,this.i));var n="="==t,r=this.content.length;while(++this.i<r)if(t=this.content[this.i],!s[t]){if(this.checkClose())return;if(n)return this.start=this.i,this.state=this.attrVal;if("="!=this.content[this.i])return this.start=this.i,this.state=this.attrName;n=!0}}else this.checkClose("onAttrName")||this.i++},h.prototype.attrVal=function(){var t=this.content[this.i],n=this.content.length;if('"'==t||"'"==t){if(this.start=++this.i,this.i=this.content.indexOf(t,this.i),-1==this.i)return;this.handler.onAttrVal(this.content.substring(this.start,this.i))}else for(;this.i<n;this.i++){if(s[this.content[this.i]]){this.handler.onAttrVal(this.content.substring(this.start,this.i));break}if(this.checkClose("onAttrVal"))return}while(s[this.content[++this.i]]);this.i<n&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)},h.prototype.endTag=function(){var t=this.content[this.i];if(s[t]||">"==t||"/"==t){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!=t&&(this.i=this.content.indexOf(">",this.i),-1==this.i))return;this.start=++this.i,this.state=this.text}else this.i++},t.exports=c},"92fc":function(t,n,r){"use strict";r.r(n);var e=r("63ab"),i=r("6633");for(var s in i)["default"].indexOf(s)<0&&function(t){r.d(n,t,(function(){return i[t]}))}(s);r("54fa");var a=r("f0c5"),o=r("5c8b"),l=Object(a["a"])(i["default"],e["b"],e["c"],!1,null,"76f1899b",null,!1,e["a"],void 0);"function"===typeof o["a"]&&Object(o["a"])(l),n["default"]=l.exports},"932d":function(t,n,r){var e=r("a1b3");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=r("4f06").default;i("744c9133",e,!0,{sourceMap:!1,shadowMode:!1})},9451:function(t,n,r){"use strict";r("c975"),r("e25e"),r("caad"),r("2532"),r("99af"),r("acd8"),r("498a"),r("baa5"),r("ac1f"),r("5319"),r("14d9"),r("d401"),r("d3b7"),r("25f0"),r("a434");var e={trustTags:o("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),blockTags:o("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),ignoreTags:o("area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr"),voidTags:o("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),entities:{lt:"<",gt:">",quot:'"',apos:"'",ensp:" ",emsp:" ",nbsp:" ",semi:";",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}},i=uni.getSystemInfoSync().windowWidth,s=o(" ,\r,\n,\t,\f"),a=0;function o(t){for(var n=Object.create(null),r=t.split(","),e=r.length;e--;)n[r[e]]=!0;return n}function l(t,n){var r=t.indexOf("&");while(-1!=r){var i=t.indexOf(";",r+3),s=void 0;if(-1==i)break;"#"==t[r+1]?(s=parseInt(("x"==t[r+2]?"0":"")+t.substring(r+2,i)),isNaN(s)||(t=t.substr(0,r)+String.fromCharCode(s)+t.substr(i+1))):(s=t.substring(r+1,i),(e.entities[s]||"amp"==s&&n)&&(t=t.substr(0,r)+(e.entities[s]||"&")+t.substr(i+1))),r=t.indexOf("&",r+1)}return t}function c(t){this.options=t||{},this.tagStyle=Object.assign(e.tagStyle,this.options.tagStyle),this.imgList=t.imgList||[],this.plugins=t.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[]}function h(t){this.handler=t}e.ignoreTags.iframe=void 0,e.trustTags.iframe=!0,e.ignoreTags.embed=void 0,e.trustTags.embed=!0,c.prototype.parse=function(t){for(var n=this.plugins.length;n--;)this.plugins[n].onUpdate&&(t=this.plugins[n].onUpdate(t,e)||t);new h(this).parse(t);while(this.stack.length)this.popNode();return this.nodes},c.prototype.expose=function(){for(var t=this.stack.length;t--;){var n=this.stack[t];if("a"==n.name||n.c)return;n.c=1}},c.prototype.hook=function(t){for(var n=this.plugins.length;n--;)if(this.plugins[n].onParse&&0==this.plugins[n].onParse(t,this))return!1;return!0},c.prototype.getUrl=function(t){var n=this.options.domain;return"/"==t[0]?"/"==t[1]?t=(n?n.split("://")[0]:"http")+":"+t:n&&(t=n+t):!n||t.includes("data:")||t.includes("://")||(t=n+"/"+t),t},c.prototype.parseStyle=function(t){var n=t.attrs,r=(this.tagStyle[t.name]||"").split(";").concat((n.style||"").split(";")),e={},a="";n.id&&(this.options.useAnchor?this.expose():"img"!=t.name&&"a"!=t.name&&"video"!=t.name&&"audio"!=t.name&&(n.id=void 0)),n.width&&(e.width=parseFloat(n.width)+(n.width.includes("%")?"%":"px"),n.width=void 0),n.height&&(e.height=parseFloat(n.height)+(n.height.includes("%")?"%":"px"),n.height=void 0);for(var o=0,l=r.length;o<l;o++){var c=r[o].split(":");if(!(c.length<2)){var h=c.shift().trim().toLowerCase(),d=c.join(":").trim();if("-"==d[0]&&d.lastIndexOf("-")>0||d.includes("safe"))a+=";".concat(h,":").concat(d);else if(!e[h]||d.includes("import")||!e[h].includes("import")){if(d.includes("url")){var u=d.indexOf("(")+1;if(u){while('"'==d[u]||"'"==d[u]||s[d[u]])u++;d=d.substr(0,u)+this.getUrl(d.substr(u))}}else d.includes("rpx")&&(d=d.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*i/750+"px"})));e[h]=d}}}return t.attrs.style=a,e},c.prototype.onTagName=function(t){this.tagName=this.xml?t:t.toLowerCase(),"svg"==this.tagName&&(this.xml=!0)},c.prototype.onAttrName=function(t){t=this.xml?t:t.toLowerCase(),"data-"==t.substr(0,5)?"data-src"!=t||this.attrs.src?"img"==this.tagName||"a"==this.tagName?this.attrName=t:this.attrName=void 0:this.attrName="src":(this.attrName=t,this.attrs[t]="T")},c.prototype.onAttrVal=function(t){var n=this.attrName||"";"style"==n||"href"==n?this.attrs[n]=l(t,!0):n.includes("src")?this.attrs[n]=this.getUrl(l(t,!0)):n&&(this.attrs[n]=t)},c.prototype.onOpenTag=function(t){var n=Object.create(null);n.name=this.tagName,n.attrs=this.attrs,this.attrs=Object.create(null);var r=n.attrs,s=this.stack[this.stack.length-1],o=s?s.children:this.nodes,l=this.xml?t:e.voidTags[n.name];if("embed"==n.name&&this.expose(),"video"!=n.name&&"audio"!=n.name||("video"!=n.name||r.id||(r.id="v"+a++),r.controls||r.autoplay||(r.controls="T"),n.src=[],r.src&&(n.src.push(r.src),r.src=void 0),this.expose()),l){if(!this.hook(n)||e.ignoreTags[n.name])return void("base"!=n.name||this.options.domain?"source"==n.name&&s&&("video"==s.name||"audio"==s.name)&&r.src&&s.src.push(r.src):this.options.domain=r.href);var c=this.parseStyle(n);if("img"==n.name){if(r.src&&(r.src.includes("webp")&&(n.webp="T"),r.src.includes("data:")&&!r["original-src"]&&(r.ignore="T"),!r.ignore||n.webp||r.src.includes("cloud://"))){for(var h=this.stack.length;h--;){var d=this.stack[h];if("a"==d.name){n.a=d.attrs;break}d.c=1}r.i=this.imgList.length.toString();var u=r["original-src"]||r.src;this.imgList.push(u),this.options.lazyLoad&&(r["data-src"]=r.src,r.src=void 0)}"inline"==c.display&&(c.display=""),r.ignore&&(c["max-width"]=c["max-width"]||"100%",r.style+=";-webkit-touch-callout:none"),parseInt(c.width)>i&&(c.height=void 0),c.width&&(c.width.includes("auto")?c.width="":(n.w="T",c.height&&!c.height.includes("auto")&&(n.h="T")))}else if("svg"==n.name)return o.push(n),this.stack.push(n),void this.popNode();for(var f in c)c[f]&&(r.style+=";".concat(f,":").concat(c[f].replace(" !important","")));r.style=r.style.substr(1)||void 0}else("pre"==n.name||(r.style||"").includes("white-space")&&r.style.includes("pre"))&&(this.pre=n.pre=!0),n.children=[],this.stack.push(n);o.push(n)},c.prototype.onCloseTag=function(t){var n;for(t=this.xml?t:t.toLowerCase(),n=this.stack.length;n--;)if(this.stack[n].name==t)break;if(-1!=n)while(this.stack.length>n)this.popNode();else if("p"==t||"br"==t){var r=this.stack.length?this.stack[this.stack.length-1].children:this.nodes;r.push({name:t,attrs:{}})}},c.prototype.popNode=function(){var t=this.stack.pop(),n=t.attrs,r=t.children,s=this.stack[this.stack.length-1],a=s?s.children:this.nodes;if(!this.hook(t)||e.ignoreTags[t.name])return"title"==t.name&&r.length&&"text"==r[0].type&&this.options.setTitle&&uni.setNavigationBarTitle({title:r[0].text}),void a.pop();if(t.pre){t.pre=this.pre=void 0;for(var o=this.stack.length;o--;)this.stack[o].pre&&(this.pre=!0)}var l={};if("svg"==t.name){var c="",h=n.style;return n.style="",n.xmlns="http://www.w3.org/2000/svg",function t(n){for(var r in c+="<"+n.name,n.attrs){var e=n.attrs[r];e&&("viewbox"==r&&(r="viewBox"),c+=" ".concat(r,'="').concat(e,'"'))}if(n.children){c+=">";for(var i=0;i<n.children.length;i++)t(n.children[i]);c+="</"+n.name+">"}else c+="/>"}(t),t.name="img",t.attrs={src:"data:image/svg+xml;utf8,"+c.replace(/#/g,"%23"),style:h,ignore:"T"},t.children=void 0,void(this.xml=!1)}if(n.align&&("table"==t.name?"center"==n.align?l["margin-inline-start"]=l["margin-inline-end"]="auto":l["float"]=n.align:l["text-align"]=n.align,n.align=void 0),"font"==t.name&&(n.color&&(l.color=n.color,n.color=void 0),n.face&&(l["font-family"]=n.face,n.face=void 0),n.size)){var d=parseInt(n.size);isNaN(d)||(d<1?d=1:d>7&&(d=7),l["font-size"]=["xx-small","x-small","small","medium","large","x-large","xx-large"][d-1]),n.size=void 0}if((n["class"]||"").includes("align-center")&&(l["text-align"]="center"),Object.assign(l,this.parseStyle(t)),parseInt(l.width)>i&&(l["max-width"]="100%",l["box-sizing"]="border-box"),e.blockTags[t.name]?t.name="div":e.trustTags[t.name]||this.xml||(t.name="span"),"a"==t.name||"ad"==t.name||"iframe"==t.name)this.expose();else if("ul"!=t.name&&"ol"!=t.name||!t.c){if("table"==t.name){var u=parseFloat(n.cellpadding),f=parseFloat(n.cellspacing),p=parseFloat(n.border);if(t.c&&(isNaN(u)&&(u=2),isNaN(f)&&(f=2)),p&&(n.style+=";border:"+p+"px solid gray"),t.flag&&t.c){l.display="grid",f?(l["grid-gap"]=f+"px",l.padding=f+"px"):p&&(n.style+=";border-left:0;border-top:0");var v=[],m=[],g=[],y={};(function t(n){for(var r=0;r<n.length;r++)"tr"==n[r].name?m.push(n[r]):t(n[r].children||[])})(r);for(var b=1;b<=m.length;b++){for(var x=1,_=0;_<m[b-1].children.length;_++,x++){var w=m[b-1].children[_];if("td"==w.name||"th"==w.name){while(y[b+"."+x])x++;var k=w.attrs.style||"",T=k.indexOf("width")?k.indexOf(";width"):0;if(-1!=T){var O=k.indexOf(";",T+6);-1==O&&(O=k.length),w.attrs.colspan||(v[x]=k.substring(T?T+7:6,O)),k=k.substr(0,T)+k.substr(O)}if(k+=(p?";border:".concat(p,"px solid gray")+(f?"":";border-right:0;border-bottom:0"):"")+(u?";padding:".concat(u,"px"):""),w.attrs.colspan&&(k+=";grid-column-start:".concat(x,";grid-column-end:").concat(x+parseInt(w.attrs.colspan)),w.attrs.rowspan||(k+=";grid-row-start:".concat(b,";grid-row-end:").concat(b+1)),x+=parseInt(w.attrs.colspan)-1),w.attrs.rowspan){k+=";grid-row-start:".concat(b,";grid-row-end:").concat(b+parseInt(w.attrs.rowspan)),w.attrs.colspan||(k+=";grid-column-start:".concat(x,";grid-column-end:").concat(x+1));for(var N=1;N<w.attrs.rowspan;N++)y[b+N+"."+x]=1}k&&(w.attrs.style=k),g.push(w)}}if(1==b){for(var I="",$=1;$<x;$++)I+=(v[$]?v[$]:"auto")+" ";l["grid-template-columns"]=I}}t.children=g}else t.c&&(l.display="table"),isNaN(f)||(l["border-spacing"]=f+"px"),(p||u)&&function t(n){for(var r=0;r<n.length;r++){var e=n[r];"th"==e.name||"td"==e.name?(p&&(e.attrs.style="border:".concat(p,"px solid gray;").concat(e.attrs.style||"")),u&&(e.attrs.style="padding:".concat(u,"px;").concat(e.attrs.style||""))):e.children&&t(e.children)}}(r);if(this.options.scrollTable&&!(n.style||"").includes("inline")){var C=Object.assign({},t);t.name="div",t.attrs={style:"overflow:auto"},t.children=[C],n=C.attrs}}else if("td"!=t.name&&"th"!=t.name||!n.colspan&&!n.rowspan){if("ruby"==t.name){t.name="span";for(var S=0;S<r.length-1;S++)"text"==r[S].type&&"rt"==r[S+1].name&&(r[S]={name:"div",attrs:{style:"display:inline-block"},children:[{name:"div",attrs:{style:"font-size:50%;text-align:start"},children:r[S+1].children},r[S]]},r.splice(S+1,1))}else if(t.c){t.c=2;for(var L=t.children.length;L--;)t.children[L].c&&"table"!=t.children[L].name||(t.c=1)}}else for(var z=this.stack.length;z--;)if("table"==this.stack[z].name){this.stack[z].flag=1;break}}else{var j={a:"lower-alpha",A:"upper-alpha",i:"lower-roman",I:"upper-roman"};j[n.type]&&(n.style+=";list-style-type:"+j[n.type],n.type=void 0);for(var A=r.length;A--;)"li"==r[A].name&&(r[A].c=1)}if((l.display||"").includes("flex")&&!t.c)for(var E=r.length;E--;){var M=r[E];M.f&&(M.attrs.style=(M.attrs.style||"")+M.f,M.f=void 0)}var q=s&&(s.attrs.style||"").includes("flex")&&!t.c;for(var V in q&&(t.f=";max-width:100%"),l)if(l[V]){var B=";".concat(V,":").concat(l[V].replace(" !important",""));q&&(V.includes("flex")&&"flex-direction"!=V||"align-self"==V||"-"==l[V][0]||"width"==V&&B.includes("%"))?(t.f+=B,"width"==V&&(n.style+=";width:100%")):n.style+=B}n.style=n.style.substr(1)||void 0},c.prototype.onText=function(t){if(!this.pre){for(var n,r="",e=0,i=t.length;e<i;e++)s[t[e]]?(" "!=r[r.length-1]&&(r+=" "),"\n"!=t[e]||n||(n=!0)):r+=t[e];if(" "==r&&n)return;t=r}var a=Object.create(null);if(a.type="text",a.text=l(t),this.hook(a)){var o=this.stack.length?this.stack[this.stack.length-1].children:this.nodes;o.push(a)}},h.prototype.parse=function(t){this.content=t||"",this.i=0,this.start=0,this.state=this.text;for(var n=this.content.length;-1!=this.i&&this.i<n;)this.state()},h.prototype.checkClose=function(t){var n="/"==this.content[this.i];return!!(">"==this.content[this.i]||n&&">"==this.content[this.i+1])&&(t&&this.handler[t](this.content.substring(this.start,this.i)),this.i+=n?2:1,this.start=this.i,this.handler.onOpenTag(n),"script"==this.handler.tagName?(this.i=this.content.indexOf("</",this.i),-1!=this.i&&(this.i+=2,this.start=this.i),this.state=this.endTag):this.state=this.text,!0)},h.prototype.text=function(){if(this.i=this.content.indexOf("<",this.i),-1!=this.i){var t=this.content[this.i+1];if(t>="a"&&t<="z"||t>="A"&&t<="Z")this.start!=this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"==t||"!"==t||"?"==t){this.start!=this.i&&this.handler.onText(this.content.substring(this.start,this.i));var n=this.content[this.i+2];if("/"==t&&(n>="a"&&n<="z"||n>="A"&&n<="Z"))return this.i+=2,this.start=this.i,this.state=this.endTag;var r="--\x3e";"!"==t&&"-"==this.content[this.i+2]&&"-"==this.content[this.i+3]||(r=">"),this.i=this.content.indexOf(r,this.i),-1!=this.i&&(this.i+=r.length,this.start=this.i)}else this.i++}else this.start<this.content.length&&this.handler.onText(this.content.substring(this.start,this.content.length))},h.prototype.tagName=function(){if(s[this.content[this.i]]){this.handler.onTagName(this.content.substring(this.start,this.i));while(s[this.content[++this.i]]);this.i<this.content.length&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)}else this.checkClose("onTagName")||this.i++},h.prototype.attrName=function(){var t=this.content[this.i];if(s[t]||"="==t){this.handler.onAttrName(this.content.substring(this.start,this.i));var n="="==t,r=this.content.length;while(++this.i<r)if(t=this.content[this.i],!s[t]){if(this.checkClose())return;if(n)return this.start=this.i,this.state=this.attrVal;if("="!=this.content[this.i])return this.start=this.i,this.state=this.attrName;n=!0}}else this.checkClose("onAttrName")||this.i++},h.prototype.attrVal=function(){var t=this.content[this.i],n=this.content.length;if('"'==t||"'"==t){if(this.start=++this.i,this.i=this.content.indexOf(t,this.i),-1==this.i)return;this.handler.onAttrVal(this.content.substring(this.start,this.i))}else for(;this.i<n;this.i++){if(s[this.content[this.i]]){this.handler.onAttrVal(this.content.substring(this.start,this.i));break}if(this.checkClose("onAttrVal"))return}while(s[this.content[++this.i]]);this.i<n&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)},h.prototype.endTag=function(){var t=this.content[this.i];if(s[t]||">"==t||"/"==t){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!=t&&(this.i=this.content.indexOf(">",this.i),-1==this.i))return;this.start=++this.i,this.state=this.text}else this.i++},t.exports=c},"952f":function(t,n,r){"use strict";r.d(n,"b",(function(){return e})),r.d(n,"c",(function(){return i})),r.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("v-uni-view",{class:(t.selectable?"_select ":"")+"_root",attrs:{id:"_root"}},[t.nodes[0]?r("node",{attrs:{childs:t.nodes,opts:[t.lazyLoad,t.loadingImg,t.errorImg,t.showImgMenu]}}):t._t("default")],2)},i=[]},a1b3:function(t,n,r){var e=r("24fb");n=e(!1),n.push([t.i,"\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/* a 标签默认效果 */._a[data-v-76f1899b]{padding:1.5px 0 1.5px 0;color:#366092;word-break:break-all}\r\n/* a 标签点击态效果 */._hover[data-v-76f1899b]{text-decoration:underline;opacity:.7}\r\n/* 图片默认效果 */._img[data-v-76f1899b]{max-width:100%;-webkit-touch-callout:none}\r\n/* 内部样式 */._b[data-v-76f1899b],\r\n._strong[data-v-76f1899b]{font-weight:700}._code[data-v-76f1899b]{font-family:monospace}._del[data-v-76f1899b]{text-decoration:line-through}._em[data-v-76f1899b],\r\n._i[data-v-76f1899b]{font-style:italic}._h1[data-v-76f1899b]{font-size:2em}._h2[data-v-76f1899b]{font-size:1.5em}._h3[data-v-76f1899b]{font-size:1.17em}._h5[data-v-76f1899b]{font-size:.83em}._h6[data-v-76f1899b]{font-size:.67em}._h1[data-v-76f1899b],\r\n._h2[data-v-76f1899b],\r\n._h3[data-v-76f1899b],\r\n._h4[data-v-76f1899b],\r\n._h5[data-v-76f1899b],\r\n._h6[data-v-76f1899b]{display:block;font-weight:700}._image[data-v-76f1899b]{height:1px}._ins[data-v-76f1899b]{text-decoration:underline}._li[data-v-76f1899b]{display:list-item}._ol[data-v-76f1899b]{list-style-type:decimal}._ol[data-v-76f1899b],\r\n._ul[data-v-76f1899b]{display:block;padding-left:40px;margin:1em 0}._q[data-v-76f1899b]::before{content:'\"'}._q[data-v-76f1899b]::after{content:'\"'}._sub[data-v-76f1899b]{font-size:smaller;vertical-align:sub}._sup[data-v-76f1899b]{font-size:smaller;vertical-align:super}._thead[data-v-76f1899b],\r\n._tbody[data-v-76f1899b],\r\n._tfoot[data-v-76f1899b]{display:table-row-group}._tr[data-v-76f1899b]{display:table-row}._td[data-v-76f1899b],\r\n._th[data-v-76f1899b]{display:table-cell;vertical-align:middle}._th[data-v-76f1899b]{font-weight:700;text-align:center}._ul[data-v-76f1899b]{list-style-type:disc}._ul ._ul[data-v-76f1899b]{margin:0;list-style-type:circle}._ul ._ul ._ul[data-v-76f1899b]{list-style-type:square}._abbr[data-v-76f1899b],\r\n._b[data-v-76f1899b],\r\n._code[data-v-76f1899b],\r\n._del[data-v-76f1899b],\r\n._em[data-v-76f1899b],\r\n._i[data-v-76f1899b],\r\n._ins[data-v-76f1899b],\r\n._label[data-v-76f1899b],\r\n._q[data-v-76f1899b],\r\n._span[data-v-76f1899b],\r\n._strong[data-v-76f1899b],\r\n._sub[data-v-76f1899b],\r\n._sup[data-v-76f1899b]{display:inline}\r\n\r\n",""]),t.exports=n},a3d8:function(t,n,r){var e=r("24fb");n=e(!1),n.push([t.i,"\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/* 根节点样式 */._root[data-v-8d99e61c]{overflow:auto;-webkit-overflow-scrolling:touch}\r\n/* 长按复制 */._select[data-v-8d99e61c]{-webkit-user-select:text;user-select:text}\r\n",""]),t.exports=n},a4c0:function(t,n,r){"use strict";n["a"]=function(t){(t.options.wxs||(t.options.wxs={}))["handler"]=function(t){var n={abbr:!0,b:!0,big:!0,code:!0,del:!0,em:!0,i:!0,ins:!0,label:!0,q:!0,small:!0,span:!0,strong:!0,sub:!0,sup:!0};return t.exports={use:function(t){return!n[t.name]&&-1==(t.attrs.style||"").indexOf("display:inline")&&!t.c}},t.exports}({exports:{}})}},b510:function(t,n,r){"use strict";r.r(n);var e=r("952f"),i=r("119a");for(var s in i)["default"].indexOf(s)<0&&function(t){r.d(n,t,(function(){return i[t]}))}(s);r("b667");var a=r("f0c5"),o=Object(a["a"])(i["default"],e["b"],e["c"],!1,null,"93d32346",null,!1,e["a"],void 0);n["default"]=o.exports},b667:function(t,n,r){"use strict";var e=r("6fa8"),i=r.n(e);i.a},c372:function(t,n,r){"use strict";r.d(n,"b",(function(){return i})),r.d(n,"c",(function(){return s})),r.d(n,"a",(function(){return e}));var e={mpHtml:r("1d10").default},i=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("v-uni-view",{staticClass:"text_rich_text_cn"},[r("mp-html",{attrs:{content:t.html},on:{imgtap:function(n){arguments[0]=n=t.$handleEvent(n),t.imgtap.apply(void 0,arguments)},linktap:function(n){arguments[0]=n=t.$handleEvent(n),t.linktap.apply(void 0,arguments)}}})],1)},s=[]},d0f9:function(t,n,r){"use strict";r("7a82");var e=r("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,r("caad"),r("2532");var i=e(r("b510")),s={components:{mpHtml:i.default},props:{html:{type:String,default:""}},data:function(){return{}},methods:{imgtap:function(t){t["data-flag"]&&wx.previewImage({urls:[t.src]})},linktap:function(t){t.href.includes(".doc")?uni.downloadFile({url:t.href,success:function(t){uni.hideLoading(),uni.openDocument({filePath:t.tempFilePath})},fail:function(t){uni.hideLoading(),uni.showModal({title:"失败",content:t.errMsg,showCancel:!1})}}):t.href.includes("xxx.com")?(uni.setStorageSync("webview_url",t.href),uni.navigateTo({url:"/pages/common/webview"})):t["data-appid"]&&uni.navigateToMiniProgram({appId:t["data-appid"]})}}};n.default=s},d349:function(t,n,r){"use strict";r.d(n,"b",(function(){return e})),r.d(n,"c",(function(){return i})),r.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("v-uni-view",{class:(t.selectable?"_select ":"")+"_root",attrs:{id:"_root"}},[t.nodes[0]?r("node",{attrs:{childs:t.nodes,opts:[t.lazyLoad,t.loadingImg,t.errorImg,t.showImgMenu]}}):t._t("default")],2)},i=[]},fe27:function(t,n,r){var e=r("0cb7");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=r("4f06").default;i("e035c434",e,!0,{sourceMap:!1,shadowMode:!1})}}]); |