← Back
Editing: index-legacy117.js
!function(){function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return n};var e,n={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,r,e){t[r]=e.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{f({},"")}catch(e){f=function(t,r,e){return t[r]=e}}function p(t,r,e,n){var o=r&&r.prototype instanceof b?r:b,i=Object.create(o.prototype),c=new N(n||[]);return a(i,"_invoke",{value:_(t,e,c)}),i}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}n.wrap=p;var d="suspendedStart",y="suspendedYield",v="executing",m="completed",g={};function b(){}function w(){}function x(){}var O={};f(O,u,(function(){return this}));var j=Object.getPrototypeOf,k=j&&j(j(T([])));k&&k!==o&&i.call(k,u)&&(O=k);var L=x.prototype=b.prototype=Object.create(O);function S(t){["next","throw","return"].forEach((function(r){f(t,r,(function(t){return this._invoke(r,t)}))}))}function E(r,e){function n(o,a,c,u){var l=h(r[o],r,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==t(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function _(t,r,n){var o=d;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var l=h(t,r,n);if("normal"===l.type){if(o=n.done?m:y,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function P(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=h(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function I(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function G(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function T(r){if(r||""===r){var n=r[u];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function t(){for(;++o<r.length;)if(i.call(r,o))return t.value=r[o],t.done=!1,t;return t.value=e,t.done=!0,t};return a.next=a}}throw new TypeError(t(r)+" is not iterable")}return w.prototype=x,a(L,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:w,configurable:!0}),w.displayName=f(x,s,"GeneratorFunction"),n.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===w||"GeneratorFunction"===(r.displayName||r.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,f(t,s,"GeneratorFunction")),t.prototype=Object.create(L),t},n.awrap=function(t){return{__await:t}},S(E.prototype),f(E.prototype,l,(function(){return this})),n.AsyncIterator=E,n.async=function(t,r,e,o,i){void 0===i&&(i=Promise);var a=new E(p(t,r,e,o),i);return n.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(L),f(L,s,"Generator"),f(L,u,(function(){return this})),f(L,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},n.values=T,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(G),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=r,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),g},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),G(e),g}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;G(e)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},n}function e(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function n(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach((function(r){o(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function o(r,e,n){return(e=function(r){var e=function(r,e){if("object"!=t(r)||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var o=n.call(r,e||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(r)}(r,"string");return"symbol"==t(e)?e:e+""}(e))in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function i(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}System.register(["./base-lib-legacy.js?v=VERSION_NUMBER","./utils-lib-legacy.js?v=VERSION_NUMBER","./validator-legacy.js?v=VERSION_NUMBER"],(function(e,o){"use strict";var a,c,u,l,s,f,p,h,d,y,v,m,g,b,w,x,O,j,k,L,S,E,_;return{setters:[function(t){a=t.c,c=t.r,u=t.aG,l=t.q,s=t.v,f=t.y,p=t.M,h=t.C,d=t.z,y=t.A,v=t.B,m=t.F,g=t.a_,b=t.x,w=t.e,x=t.D,O=t.f,j=t.J},function(t){k=t.V,L=t.d,S=t.e},function(t){E=t.k,_=t.p}],execute:function(){var o={class:"product-introduce"},P={class:"flex items-start"},I={class:"flex items-start flex-col"},G={class:"product-introduce-title"},N={class:"product-introduce-ps"},T={class:"product-introduce-groupBtn"},C={key:0,class:"product-introduce-hr"},D={class:"product-introduce-ul"},F={class:"flex justify-center"},A={key:0,class:"product-introduce-tab"},B=["onClick"],Y={class:"max-h-[112rem] overflow-auto"},q=a({__name:"index",props:{data:{default:function(){return{name:"",imgSrc:"",title:"",ps:"",source:0,desc:[],tabImgs:[],isInstall:!1,isSkipPay:!1,productSrc:"",pluginInfo:{}}}}},setup:function(e){var a=e,S=c(0),q=c(""),z=function(){var t,e=(t=r().mark((function t(e){var o,i,c;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a.data.pluginInfo||a.data.name){t.next=2;break}return t.abrupt("return");case 2:c=(null===(o=a.data)||void 0===o?void 0:o.name)||"",k(a.data.pluginInfo,"name")&&(c=null===(i=a.data.pluginInfo)||void 0===i?void 0:i.name),E({name:c,type:"i",softData:n(n({},a.data.pluginInfo||{}),{},{name:c,callBack:function(){window.location.reload()}})});case 5:case"end":return t.stop()}}),t)})),function(){var r=this,e=arguments;return new Promise((function(n,o){var a=t.apply(r,e);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)}))});return function(t){return e.apply(this,arguments)}}(),J=function(){_({sourceId:a.data.source})},M=function(){window.open(a.data.productSrc,"_blank","noopener,noreferrer")};return u((function(){var t;q.value=null!==(t=a.data)&&void 0!==t&&t.tabImgs[S.value]?"string"!=typeof a.data.tabImgs[S.value]?a.data.tabImgs[S.value].imgSrc:a.data.tabImgs:""})),function(r,e){var n,i,c=L,u=x,k=O;return l(),s("div",o,[f("div",P,[r.data.imgSrc?(l(),p(c,{key:0,src:r.data.imgSrc,class:"w-[7rem] mr-[1.4rem]"},null,8,["src"])):h("",!0),f("div",I,[f("p",G,d(r.data.title),1),f("p",N,d(r.data.ps),1),f("div",T,[r.data.productSrc?(l(),p(u,{key:0,type:"default",onClick:M},{default:y((function(){return e[0]||(e[0]=[v(" 产品预览 ")])})),_:1})):h("",!0),null!==(n=r.data.pluginInfo)&&void 0!==n&&n.setup&&r.data.isInstall||!((null===(i=r.data.pluginInfo)||void 0===i?void 0:i.endtime)>=0||r.data.isSkipPay)?r.data.isSkipPay?h("",!0):(l(),p(u,{key:2,type:"primary",onClick:J},{default:y((function(){return e[2]||(e[2]=[v(" 立即购买 ")])})),_:1})):(l(),p(u,{key:1,type:"primary",onClick:z},{default:y((function(){return e[1]||(e[1]=[v(" 立即安装 ")])})),_:1}))])])]),54!=r.data.source?(l(),s("div",C)):h("",!0),f("ul",D,[(l(!0),s(m,null,g(r.data.desc,(function(t,r){return l(),s("li",{key:r},[e[3]||(e[3]=f("span",{class:"product-introduce-ul-icon"},null,-1)),f("span",null,d(t),1)])})),128))]),f("div",F,["string"!=t(r.data.tabImgs[b(S)])?(l(),s("ul",A,[(l(!0),s(m,null,g(r.data.tabImgs,(function(t,r){return l(),s("li",{key:r,class:j(["whitespace-nowrap",r===b(S)?"on":""]),onClick:function(t){return function(t){S.value=t,q.value=a.data.tabImgs[t].imgSrc}(r)}},d(t.title),11,B)})),128))])):h("",!0),f("div",Y,[w(k,{src:b(q),class:"flex-1"},null,8,["src"])])])])}}});e("_",S(q,[["__scopeId","data-v-94f3f270"]]))}}}))}();
Save File
Cancel