@xysfe/actui 1.7.11 → 1.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/common/scrollZoom/index.js"],e):"object"==typeof exports?exports.GoldReadTerms=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):t.GoldReadTerms=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/common/scrollZoom/index.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1609)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),o=n(24),i=n(0).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),o=n(2),i=n(17),s=n(5),c=n(7),a=function(t,e,n){var u,f,l,d=t&a.F,h=t&a.G,p=t&a.S,m=t&a.P,v=t&a.B,x=t&a.W,y=h?o:o[e]||(o[e]={}),g=y.prototype,T=h?r:p?r[e]:(r[e]||{}).prototype;h&&(n=e);for(u in n)(f=!d&&T&&void 0!==T[u])&&c(y,u)||(l=f?T[u]:n[u],y[u]=h&&"function"!=typeof T[u]?n[u]:v&&f?i(l,r):x&&T[u]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):m&&"function"==typeof l?i(Function.call,l):l,m&&((y.virtual||(y.virtual={}))[u]=l,t&a.R&&g&&!g[u]&&s(g,u,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},1078:function(t,e,n){"use strict";var r=n(1612),o=n.n(r),i=n(112),s=n.n(i),c=n(138),a=n.n(c),u=n(651),f=n.n(u),l=n(32),d=n.n(l);e.a={name:"ActGoldReadTerms",mixins:[d.a],components:{scrollZoom:f.a,ActGoldLayer:a.a},data:function(){return{curIndex:1,readState:[],termsInfo:[],readTimer:null,countdown:0}},computed:{readTermsLength:function(){return this.readTerms.length},bookTitle:function(){var t=this.termsInfo[this.curIndex-1]&&this.termsInfo[this.curIndex-1].title;return t?"《"+t+"》":""},comfirmText:function(){var t=this.confirmButtonText||"已完整阅读并确认"+this.bookTitle,e=void 0;return this.readTimer&&(e=(this.confirmButtonText?this.confirmButtonText:"已完整阅读并确认")+"("+this.countdown+"s)"),e||t}},props:{readTerms:{type:Array,default:function(){return[]}},forceRead:{type:Boolean,default:!0},forceReadTime:{type:Number,default:0},confirmButtonText:{type:String,default:""},cancelButtonText:{type:String,default:"暂不同意"},brandColor:{type:String,default:"#8c7fee"},beforeClose:{type:Function,default:null},beforePreOrNext:{type:Function,default:null}},methods:{getTerms:function(t){for(var e=[],n=t,r=Array.isArray(n),o=0,n=r?n:s()(n);;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if(o=n.next(),o.done)break;i=o.value}var c=i,a={type:Number(c.type),title:c.title,urls:c.urls,innerHTML:c.innerHTML||"",souceFile:c.src,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!0,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(a)}this.termsInfo=e},showDoc:function(t){var e=this;this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},changeHeaderBtnsColor:function(t){var e=this,n=this.$refs,r=n.prevbtn,o=n.nextbtn,i=function(){e.readTimer?o.style.color="":o.style.color=e.brandColor};1==~~t&&~~t<this.readTermsLength?(r&&(r.style.color=""),o&&i()):~~t>1&&~~t<this.readTermsLength?(r&&(r.style.color=this.brandColor),o&&i()):~~t>1&&~~t===this.readTermsLength&&(r&&(r.style.color=this.brandColor),o&&(o.style.color=""))},handleActionBeforePreOrNext:function(t,e){function n(t){o.curIndex>1&&(o.curIndex=i-1)}function r(t){o.curIndex<o.readTermsLength&&o.next(t)}var o=this,i=~~this.curIndex,s=this.termsInfo[i-1];this.beforePreOrNext?this.beforePreOrNext({action:t,next:function(o){!1!==o&&("prevClick"===t&&n(e),"nextClick"===t&&r(e))},curTermsInfo:s,curIndex:o.curIndex,readTermsLength:o.readTermsLength,isLast:o.curIndex===o.readTermsLength,curIsReadEnd:o.readState[o.curIndex-1].readEnd}):("prevClick"===t&&n(e),"nextClick"===t&&r(e))},handlePrev:function(t){this.readTimer&&this.resetReadTimer(),this.handleActionBeforePreOrNext("prevClick",t)},handleNext:function(t){this.readTimer||this.handleActionBeforePreOrNext("nextClick",t)},beforeShowDoc:function(t){+this.forceReadTime>0&&!this.readState[this.curIndex-1].readEnough&&this.setReadTimer(),this.changeHeaderBtnsColor(t),this.getCurTermInfo({curIndex:t,isReadEnd:this.readState[t-1].readEnd,totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[t-1]}),!this.forceRead&&!this.forceReadTime&&1==~~this.readTermsLength&&this.canINext(!0)},setReadTimer:function(){var t=this;this.readTimer&&this.resetReadTimer();var e=this.curIndex;this.countdown=o()(this.forceReadTime),this.readTimer=setInterval(function(){if(t.countdown<=0)return t.resetReadTimer(),t.readState[e-1].readEnough=!0,void t.changeHeaderBtnsColor(e);t.countdown=t.countdown-1},1e3),this.changeHeaderBtnsColor()},resetReadTimer:function(){clearInterval(this.readTimer),this.readTimer=null},next:function(t){var e=~~this.curIndex;!this.forceRead&&this.canINext(!0),this.forceRead&&this.readState[e-1].readEnd||!this.forceRead?e<this.readTermsLength&&(this.curIndex=e+1,this.showDoc(e)):this.forceRead&&!this.readState[e-1].readEnd&&this.showToast("请观看至页面底部,完整阅读全部内容")},getCurTermInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.$emit("getCurTermInfo",t)},canINext:function(t){this.readTermsLength&&(this.readState[this.curIndex-1].readEnd=t,this.getCurTermInfo({curIndex:this.curIndex,isReadEnd:this.readState[this.curIndex-1].readEnd,totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[this.curIndex-1]}))},confirm:function(t){if(!this.readTimer){this.forceRead&&!this.readState[this.readTermsLength-1].readEnd&&this.curIndex<=this.readTermsLength||!this.forceRead&&this.curIndex<this.readTermsLength?this.next(t):this.handleAction("confirm",t)}},cancel:function(t){this.handleAction("cancel",t)},handleAction:function(t,e){var n=this,r=~~this.curIndex,o=this.termsInfo[r-1];this.beforeClose?this.beforeClose(t,function(r){!1!==r&&(n.hide(),n.$emit(t,e))},o):(this.hide(),this.$emit(t,e))},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast()),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()},preventMove:function(t){t._prevent=!0},reset:function(){this.curIndex=1,this.readState=new Array(this.readTermsLength).fill(void 0).map(function(t){return{readEnd:!1,readEnough:!1}})}},mounted:function(){this.changeHeaderBtnsColor(this.curIndex)},watch:{isVisible:function(t){t&&(this.reset(),this.getTerms(this.readTerms),this.beforeShowDoc(this.curIndex),this.showDoc(0)),!1==!!t&&this.resetReadTimer()},curIndex:function(t){this.beforeShowDoc(t)}}}},1079:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},11:function(t,e){t.exports={}},112:function(t,e,n){t.exports={default:n(118),__esModule:!0}},118:function(t,e,n){n(50),n(47),t.exports=n(119)},119:function(t,e,n){var r=n(4),o=n(52);t.exports=n(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},12:function(t,e,n){var r=n(30),o=n(15);t.exports=function(t){return r(o(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},138:function(t,e){t.exports=n},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},16:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},1609:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(22),o=n.n(r),i=n(1610);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldReadTerms=o()(i.a,t)},e.default=i.a},1610:function(t,e,n){"use strict";function r(t){c||n(1611)}var o=n(1078),i=n(1617),s=n(8),c=!1,a=r,u=Object(s.a)(o.a,i.a,i.b,!1,a,"data-v-21ba486f",null);u.options.__file="src\\components\\GoldReadTerms\\src\\index.vue",e.a=u.exports},1611:function(t,e){},1612:function(t,e,n){t.exports={default:n(1613),__esModule:!0}},1613:function(t,e,n){n(1614),t.exports=n(2).Number.parseInt},1614:function(t,e,n){var r=n(10),o=n(1615);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},1615:function(t,e,n){var r=n(0).parseInt,o=n(1616).trim,i=n(1079),s=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(s.test(n)?16:10))}:r},1616:function(t,e,n){var r=n(10),o=n(15),i=n(13),s=n(1079),c="["+s+"]",a="
",u=RegExp("^"+c+c+"*"),f=RegExp(c+c+"*$"),l=function(t,e,n){var o={},c=i(function(){return!!s[t]()||a[t]()!=a}),u=o[t]=c?e(d):s[t];n&&(o[n]=u),r(r.P+r.F*c,"String",o)},d=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(f,"")),t};t.exports=l},1617:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("act-gold-layer",{attrs:{visible:t.isVisible,center:!1}},[n("div",{staticClass:"readterms-title",attrs:{slot:"header"},slot:"header"},[t.$slots.myheader?[t._t("myheader")]:[t.readTermsLength>1?n("span",{ref:"prevbtn",staticClass:"prev h-btn",on:{click:t.handlePrev}},[t._v("上一页")]):t._e(),t._v(" "),n("span",[t._v("请阅读以下内容"),t.readTermsLength>1?n("span",[t._v("("+t._s(t.curIndex)+"/"+t._s(t.readTermsLength)+")")]):t._e()]),t._v(" "),t.readTermsLength>1?n("span",{ref:"nextbtn",staticClass:"next h-btn",on:{click:t.handleNext}},[t._v("下一页")]):t._e()]],2),t._v(" "),t.isVisible?n("scroll-zoom",{ref:"scrollZoom",staticClass:"scroll-zoom",attrs:{termsInfo:t.termsInfo,forceRead:t.forceRead,docIndex:t.curIndex-1,brandColor:t.brandColor},on:{canINext:t.canINext}}):t._e(),t._v(" "),t.$slots.footer?n("div",[t._t("footer")],2):[n("div",{staticClass:"bottom-btn-placeholder"}),t._v(" "),n("div",{staticClass:"readterms-btns"},[n("div",{staticClass:"f-btn left",on:{click:t.cancel}},[n("p",[t._v(t._s(t.cancelButtonText))])]),t._v(" "),n("div",{staticClass:"f-btn right",class:{disabled:t.readTimer},style:{background:t.readTimer?"#f2f2f2":t.brandColor},on:{click:t.confirm}},[n("p",[t._v(t._s(t.comfirmText))]),t._v(" "),t.$slots.fIcon?t._t("fIcon"):t._e()],2)])]],2)},o=[];r._withStripped=!0},17:function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var r=n(27)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},21:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},22:function(e,n){e.exports=t},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,o=n(7),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(38),o=n(28);t.exports=Object.keys||function(t){return r(t,o)}},27:function(t,e,n){var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(15);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(16),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},32:function(t,n){t.exports=e},33:function(t,e,n){"use strict";var r=n(18),o=n(10),i=n(51),s=n(5),c=n(11),a=n(56),u=n(25),f=n(58),l=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,m,v,x){a(n,e,p);var y,g,T,b=function(t){if(!d&&t in L)return L[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",I="values"==m,S=!1,L=t.prototype,C=L[l]||L["@@iterator"]||m&&L[m],w=C||b(m),j=m?I?b("entries"):w:void 0,O="Array"==e?L.entries||C:C;if(O&&(T=f(O.call(new t)))!==Object.prototype&&T.next&&(u(T,_,!0),r||"function"==typeof T[l]||s(T,l,h)),I&&C&&"values"!==C.name&&(S=!0,w=function(){return C.call(this)}),r&&!x||!d&&!S&&L[l]||s(L,l,w),c[e]=w,c[_]=h,m)if(y={values:I?w:b("values"),keys:v?w:b("keys"),entries:j},x)for(g in y)g in L||i(L,g,y[g]);else o(o.P+o.F*(d||S),e,y);return y}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},37:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},38:function(t,e,n){var r=n(7),o=n(12),i=n(45)(!1),s=n(19)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,u=[];for(n in c)n!=s&&r(c,n)&&u.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(u,n)||u.push(n));return u}},39:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},44:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},45:function(t,e,n){var r=n(12),o=n(31),i=n(46);t.exports=function(t){return function(e,n,s){var c,a=r(e),u=o(a.length),f=i(s,u);if(t&&n!=n){for(;u>f;)if((c=a[f++])!=c)return!0}else for(;u>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},46:function(t,e,n){var r=n(16),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},47:function(t,e,n){"use strict";var r=n(55)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},49:function(t,e,n){var r=n(4),o=n(57),i=n(28),s=n(19)("IE_PROTO"),c=function(){},a=function(){var t,e=n(21)("iframe"),r=i.length;for(e.style.display="none",n(39).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[s]=t):n=a(),void 0===e?n:o(n,e)}},5:function(t,e,n){var r=n(9),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){n(64);for(var r=n(0),o=n(5),i=n(11),s=n(1)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<c.length;a++){var u=c[a],f=r[u],l=f&&f.prototype;l&&!l[s]&&o(l,s,u),i[u]=i.Array}},51:function(t,e,n){t.exports=n(5)},52:function(t,e,n){var r=n(44),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},55:function(t,e,n){var r=n(16),o=n(15);t.exports=function(t){return function(e,n){var i,s,c=String(o(e)),a=r(n),u=c.length;return a<0||a>=u?t?"":void 0:(i=c.charCodeAt(a),i<55296||i>56319||a+1===u||(s=c.charCodeAt(a+1))<56320||s>57343?t?c.charAt(a):i:t?c.slice(a,a+2):s-56320+(i-55296<<10)+65536)}}},56:function(t,e,n){"use strict";var r=n(49),o=n(23),i=n(25),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},57:function(t,e,n){var r=n(9),o=n(4),i=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),c=s.length,a=0;c>a;)r.f(t,n=s[a++],e[n]);return t}},58:function(t,e,n){var r=n(7),o=n(29),i=n(19)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},59:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},64:function(t,e,n){"use strict";var r=n(65),o=n(59),i=n(11),s=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},65:function(t,e){t.exports=function(){}},651:function(t,e){t.exports=r},7:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},8:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,c){t=t||{};var a=typeof t.default;"object"!==a&&"function"!==a||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i);var f;if(s?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=f):o&&(f=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(u.functional){u._injectStyles=f;var l=u.render;u.render=function(t,e){return f.call(e),l(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,f):[f]}return{exports:t,options:u}}e.a=r},9:function(t,e,n){var r=n(4),o=n(37),i=n(34),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/common/scrollZoom/index.js"],e):"object"==typeof exports?exports.GoldReadTerms=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):t.GoldReadTerms=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/common/scrollZoom/index.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1609)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),o=n(24),i=n(0).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),o=n(2),i=n(17),s=n(5),c=n(7),a=function(t,e,n){var u,f,l,d=t&a.F,h=t&a.G,p=t&a.S,m=t&a.P,v=t&a.B,x=t&a.W,y=h?o:o[e]||(o[e]={}),g=y.prototype,T=h?r:p?r[e]:(r[e]||{}).prototype;h&&(n=e);for(u in n)(f=!d&&T&&void 0!==T[u])&&c(y,u)||(l=f?T[u]:n[u],y[u]=h&&"function"!=typeof T[u]?n[u]:v&&f?i(l,r):x&&T[u]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):m&&"function"==typeof l?i(Function.call,l):l,m&&((y.virtual||(y.virtual={}))[u]=l,t&a.R&&g&&!g[u]&&s(g,u,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},1078:function(t,e,n){"use strict";var r=n(1612),o=n.n(r),i=n(112),s=n.n(i),c=n(138),a=n.n(c),u=n(651),f=n.n(u),l=n(32),d=n.n(l);e.a={name:"ActGoldReadTerms",mixins:[d.a],components:{scrollZoom:f.a,ActGoldLayer:a.a},data:function(){return{curIndex:1,readState:[],termsInfo:[],readTimer:null,countdown:0}},computed:{readTermsLength:function(){return this.readTerms.length},bookTitle:function(){var t=this.termsInfo[this.curIndex-1]&&this.termsInfo[this.curIndex-1].title;return t?"《"+t+"》":""},comfirmText:function(){var t=this.confirmButtonText||"已完整阅读并确认"+this.bookTitle,e=void 0;return this.readTimer&&(e=(this.confirmButtonText?this.confirmButtonText:"已完整阅读并确认")+"("+this.countdown+"s)"),e||t},curForceReadToPageEnd:function(){return this.termsInfo[this.curIndex-1].forceReadToPageEnd||this.forceRead||!1},curForceReadSeconds:function(){return this.termsInfo[this.curIndex-1].forceReadSeconds||this.forceReadTime||0}},props:{readTerms:{type:Array,default:function(){return[]}},forceRead:{type:Boolean,default:!0},forceReadTime:{type:Number,default:0},confirmButtonText:{type:String,default:""},cancelButtonText:{type:String,default:"暂不同意"},brandColor:{type:String,default:"#8c7fee"},beforeClose:{type:Function,default:null},beforePreOrNext:{type:Function,default:null}},methods:{getTerms:function(t){for(var e=[],n=t,r=Array.isArray(n),o=0,n=r?n:s()(n);;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if(o=n.next(),o.done)break;i=o.value}var c=i,a={type:Number(c.type),title:c.title,urls:c.urls,innerHTML:c.innerHTML||"",souceFile:c.src,forceReadToPageEnd:!!+c.forceReadToPageEnd||!1,forceReadSeconds:+c.forceReadSeconds||0,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!0,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(a)}this.termsInfo=e},showDoc:function(t){var e=this;this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},changeHeaderBtnsColor:function(t){var e=this,n=this.$refs,r=n.prevbtn,o=n.nextbtn,i=function(){e.readTimer?o.style.color="":o.style.color=e.brandColor};1==~~t&&~~t<this.readTermsLength?(r&&(r.style.color=""),o&&i()):~~t>1&&~~t<this.readTermsLength?(r&&(r.style.color=this.brandColor),o&&i()):~~t>1&&~~t===this.readTermsLength&&(r&&(r.style.color=this.brandColor),o&&(o.style.color=""))},handleActionBeforePreOrNext:function(t,e){function n(t){o.curIndex>1&&(o.curIndex=i-1)}function r(t){o.curIndex<o.readTermsLength&&o.next(t)}var o=this,i=~~this.curIndex,s=this.termsInfo[i-1];this.beforePreOrNext?this.beforePreOrNext({action:t,next:function(o){!1!==o&&("prevClick"===t&&n(e),"nextClick"===t&&r(e))},curTermsInfo:s,curIndex:o.curIndex,readTermsLength:o.readTermsLength,isLast:o.curIndex===o.readTermsLength,curIsReadEnd:o.readState[o.curIndex-1].readEnd}):("prevClick"===t&&n(e),"nextClick"===t&&r(e))},handlePrev:function(t){this.readTimer&&this.resetReadTimer(),this.handleActionBeforePreOrNext("prevClick",t)},handleNext:function(t){this.readTimer||this.handleActionBeforePreOrNext("nextClick",t)},beforeShowDoc:function(t){+this.curForceReadSeconds>0&&!this.readState[t-1].readEnough&&this.setReadTimer(),this.changeHeaderBtnsColor(t),this.getCurTermInfo({curIndex:t,isReadEnd:this.readState[t-1].readEnd,totalLegth:this.readTermsLength,curTerm:this.termsInfo[t-1]}),!this.curForceReadToPageEnd&&!this.curForceReadSeconds&&1==~~this.readTermsLength&&this.canINext(!0)},setReadTimer:function(){var t=this;this.readTimer&&this.resetReadTimer();var e=this.curIndex;this.countdown=o()(this.curForceReadSeconds),this.readTimer=setInterval(function(){if(t.countdown<=0)return t.resetReadTimer(),t.readState[e-1].readEnough=!0,void t.changeHeaderBtnsColor(e);t.countdown=t.countdown-1},1e3),this.changeHeaderBtnsColor()},resetReadTimer:function(){clearInterval(this.readTimer),this.readTimer=null},next:function(t){var e=~~this.curIndex;!this.curForceReadToPageEnd&&this.canINext(!0),this.curForceReadToPageEnd&&this.readState[e-1].readEnd||!this.curForceReadToPageEnd?e<this.readTermsLength&&(this.curIndex=e+1,this.showDoc(e)):this.curForceReadToPageEnd&&!this.readState[e-1].readEnd&&this.showToast("请观看至页面底部,完整阅读全部内容")},getCurTermInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.$emit("getCurTermInfo",t)},canINext:function(t){this.readTermsLength&&(this.readState[this.curIndex-1].readEnd=t,this.getCurTermInfo({curIndex:this.curIndex,isReadEnd:this.readState[this.curIndex-1].readEnd,totalLegth:this.readTermsLength,curTerm:this.termsInfo.length&&this.termsInfo[this.curIndex-1]}))},confirm:function(t){if(!this.readTimer){this.curForceReadToPageEnd&&!this.readState[this.readTermsLength-1].readEnd&&this.curIndex<=this.readTermsLength||!this.curForceReadToPageEnd&&this.curIndex<this.readTermsLength?this.next(t):this.handleAction("confirm",t)}},cancel:function(t){this.handleAction("cancel",t)},handleAction:function(t,e){var n=this,r=this.termsInfo[this.curIndex-1];this.beforeClose?this.beforeClose(t,function(r){!1!==r&&(n.hide(),n.$emit(t,e))},r):(this.hide(),this.$emit(t,e))},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast()),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()},preventMove:function(t){t._prevent=!0},reset:function(){this.curIndex=1,this.readState=new Array(this.readTermsLength).fill(void 0).map(function(t){return{readEnd:!1,readEnough:!1}})}},mounted:function(){this.changeHeaderBtnsColor(this.curIndex)},watch:{isVisible:function(t){t&&(this.reset(),this.getTerms(this.readTerms),this.beforeShowDoc(this.curIndex),this.showDoc(0)),!1==!!t&&this.resetReadTimer()},curIndex:function(t){this.beforeShowDoc(t)}}}},1079:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},11:function(t,e){t.exports={}},112:function(t,e,n){t.exports={default:n(118),__esModule:!0}},118:function(t,e,n){n(50),n(47),t.exports=n(119)},119:function(t,e,n){var r=n(4),o=n(52);t.exports=n(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},12:function(t,e,n){var r=n(30),o=n(15);t.exports=function(t){return r(o(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},138:function(t,e){t.exports=n},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},16:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},1609:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(22),o=n.n(r),i=n(1610);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldReadTerms=o()(i.a,t)},e.default=i.a},1610:function(t,e,n){"use strict";function r(t){c||n(1611)}var o=n(1078),i=n(1617),s=n(8),c=!1,a=r,u=Object(s.a)(o.a,i.a,i.b,!1,a,"data-v-21ba486f",null);u.options.__file="src\\components\\GoldReadTerms\\src\\index.vue",e.a=u.exports},1611:function(t,e){},1612:function(t,e,n){t.exports={default:n(1613),__esModule:!0}},1613:function(t,e,n){n(1614),t.exports=n(2).Number.parseInt},1614:function(t,e,n){var r=n(10),o=n(1615);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},1615:function(t,e,n){var r=n(0).parseInt,o=n(1616).trim,i=n(1079),s=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(s.test(n)?16:10))}:r},1616:function(t,e,n){var r=n(10),o=n(15),i=n(13),s=n(1079),c="["+s+"]",a="
",u=RegExp("^"+c+c+"*"),f=RegExp(c+c+"*$"),l=function(t,e,n){var o={},c=i(function(){return!!s[t]()||a[t]()!=a}),u=o[t]=c?e(d):s[t];n&&(o[n]=u),r(r.P+r.F*c,"String",o)},d=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(f,"")),t};t.exports=l},1617:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("act-gold-layer",{attrs:{visible:t.isVisible,center:!1}},[n("div",{staticClass:"readterms-title",attrs:{slot:"header"},slot:"header"},[t.$slots.myheader?[t._t("myheader")]:[t.readTermsLength>1?n("span",{ref:"prevbtn",staticClass:"prev h-btn",on:{click:t.handlePrev}},[t._v("上一页")]):t._e(),t._v(" "),n("span",[t._v("请阅读以下内容"),t.readTermsLength>1?n("span",[t._v("("+t._s(t.curIndex)+"/"+t._s(t.readTermsLength)+")")]):t._e()]),t._v(" "),t.readTermsLength>1?n("span",{ref:"nextbtn",staticClass:"next h-btn",on:{click:t.handleNext}},[t._v("下一页")]):t._e()]],2),t._v(" "),t.isVisible?n("scroll-zoom",{ref:"scrollZoom",staticClass:"scroll-zoom",attrs:{termsInfo:t.termsInfo,forceRead:t.curForceReadToPageEnd,docIndex:t.curIndex-1,brandColor:t.brandColor},on:{canINext:t.canINext}}):t._e(),t._v(" "),t.$slots.footer?n("div",[t._t("footer")],2):[n("div",{staticClass:"bottom-btn-placeholder"}),t._v(" "),n("div",{staticClass:"readterms-btns"},[n("div",{staticClass:"f-btn left",on:{click:t.cancel}},[n("p",[t._v(t._s(t.cancelButtonText))])]),t._v(" "),n("div",{staticClass:"f-btn right",class:{disabled:t.readTimer},style:{background:t.readTimer?"#f2f2f2":t.brandColor},on:{click:t.confirm}},[n("p",[t._v(t._s(t.comfirmText))]),t._v(" "),t.$slots.fIcon?t._t("fIcon"):t._e()],2)])]],2)},o=[];r._withStripped=!0},17:function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var r=n(27)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},21:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},22:function(e,n){e.exports=t},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,o=n(7),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(38),o=n(28);t.exports=Object.keys||function(t){return r(t,o)}},27:function(t,e,n){var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(15);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(16),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},32:function(t,n){t.exports=e},33:function(t,e,n){"use strict";var r=n(18),o=n(10),i=n(51),s=n(5),c=n(11),a=n(56),u=n(25),f=n(58),l=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,m,v,x){a(n,e,p);var y,g,T,b=function(t){if(!d&&t in L)return L[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",S="values"==m,I=!1,L=t.prototype,R=L[l]||L["@@iterator"]||m&&L[m],C=R||b(m),w=m?S?b("entries"):C:void 0,E="Array"==e?L.entries||R:R;if(E&&(T=f(E.call(new t)))!==Object.prototype&&T.next&&(u(T,_,!0),r||"function"==typeof T[l]||s(T,l,h)),S&&R&&"values"!==R.name&&(I=!0,C=function(){return R.call(this)}),r&&!x||!d&&!I&&L[l]||s(L,l,C),c[e]=C,c[_]=h,m)if(y={values:S?C:b("values"),keys:v?C:b("keys"),entries:w},x)for(g in y)g in L||i(L,g,y[g]);else o(o.P+o.F*(d||I),e,y);return y}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},37:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},38:function(t,e,n){var r=n(7),o=n(12),i=n(45)(!1),s=n(19)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,u=[];for(n in c)n!=s&&r(c,n)&&u.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(u,n)||u.push(n));return u}},39:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},44:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},45:function(t,e,n){var r=n(12),o=n(31),i=n(46);t.exports=function(t){return function(e,n,s){var c,a=r(e),u=o(a.length),f=i(s,u);if(t&&n!=n){for(;u>f;)if((c=a[f++])!=c)return!0}else for(;u>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},46:function(t,e,n){var r=n(16),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},47:function(t,e,n){"use strict";var r=n(55)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},49:function(t,e,n){var r=n(4),o=n(57),i=n(28),s=n(19)("IE_PROTO"),c=function(){},a=function(){var t,e=n(21)("iframe"),r=i.length;for(e.style.display="none",n(39).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[s]=t):n=a(),void 0===e?n:o(n,e)}},5:function(t,e,n){var r=n(9),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){n(64);for(var r=n(0),o=n(5),i=n(11),s=n(1)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<c.length;a++){var u=c[a],f=r[u],l=f&&f.prototype;l&&!l[s]&&o(l,s,u),i[u]=i.Array}},51:function(t,e,n){t.exports=n(5)},52:function(t,e,n){var r=n(44),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},55:function(t,e,n){var r=n(16),o=n(15);t.exports=function(t){return function(e,n){var i,s,c=String(o(e)),a=r(n),u=c.length;return a<0||a>=u?t?"":void 0:(i=c.charCodeAt(a),i<55296||i>56319||a+1===u||(s=c.charCodeAt(a+1))<56320||s>57343?t?c.charAt(a):i:t?c.slice(a,a+2):s-56320+(i-55296<<10)+65536)}}},56:function(t,e,n){"use strict";var r=n(49),o=n(23),i=n(25),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},57:function(t,e,n){var r=n(9),o=n(4),i=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),c=s.length,a=0;c>a;)r.f(t,n=s[a++],e[n]);return t}},58:function(t,e,n){var r=n(7),o=n(29),i=n(19)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},59:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},64:function(t,e,n){"use strict";var r=n(65),o=n(59),i=n(11),s=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},65:function(t,e){t.exports=function(){}},651:function(t,e){t.exports=r},7:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},8:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,c){t=t||{};var a=typeof t.default;"object"!==a&&"function"!==a||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i);var f;if(s?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=f):o&&(f=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(u.functional){u._injectStyles=f;var l=u.render;u.render=function(t,e){return f.call(e),l(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,f):[f]}return{exports:t,options:u}}e.a=r},9:function(t,e,n){var r=n(4),o=n(37),i=n(34),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}}})});
|
|
Binary file
|
|
Binary file
|