(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-c23ef13a"],{"0f0e":function(t,e,a){"use strict";a("d81d"),a("4de4"),a("d3b7"),a("a434"),a("e9c4");var i=a("c4c8"),r={name:"userLabel",props:{},data:function(){return{labelList:[],dataLabel:[],isUser:!1}},mounted:function(){},methods:{inArray:function(t,e){for(var a in e)if(e[a].id==t)return!0;return!1},userLabel:function(t){var e=this;this.dataLabel=t,Object(i.A)().then((function(t){t.data.map((function(t){t.children&&(e.isUser=!0,t.children.map((function(t){e.inArray(t.id,e.dataLabel)?t.disabled=!0:t.disabled=!1})))})),e.labelList=t.data})).catch((function(t){e.$Message.error(t.msg)}))},selectLabel:function(t){var e;t.disabled?(e=this.dataLabel.indexOf(this.dataLabel.filter((function(e){return e.id==t.id}))[0]),this.dataLabel.splice(e,1),t.disabled=!1):(this.dataLabel.push({label_name:t.label_name,id:t.id}),t.disabled=!0)},subBtn:function(){this.$emit("activeData",JSON.parse(JSON.stringify(this.dataLabel)))},cancel:function(){this.$emit("close")}}};a("b8f2"),a=a("2877"),a=Object(a.a)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"label-wrapper"},[a("div",{staticClass:"list-box"},[t._l(t.labelList,(function(e,i){return t.isUser?a("div",{key:i,staticClass:"label-box"},[e.children?a("div",{staticClass:"title"},[t._v(t._s(e.label_name))]):t._e(),e.children&&e.children.length?a("div",{staticClass:"list"},t._l(e.children,(function(e,i){return a("div",{key:i,staticClass:"label-item",class:{on:e.disabled},on:{click:function(a){return t.selectLabel(e)}}},[t._v("\n "+t._s(e.label_name)+"\n ")])})),0):t._e()]):t._e()})),t.isUser?t._e():a("div",[t._v("暂无标签")])],2),a("div",{staticClass:"footer"},[a("Button",{staticClass:"btns",attrs:{type:"primary"},on:{click:t.subBtn}},[t._v("确定")]),a("Button",{staticClass:"btns",attrs:{type:"primary",ghost:""},on:{click:t.cancel}},[t._v("取消")])],1)])}),[],!1,null,"2ef182e9",null);e.a=a.exports},2755:function(t,e,a){"use strict";var i=a("677c");a.n(i).a},"2c3e":function(t,e,a){var i=a("da84"),r=a("83ab"),o=a("9f7f").MISSED_STICKY,s=a("c6b6"),n=a("edd0"),l=a("69f3").get,c=RegExp.prototype,d=i.TypeError;r&&o&&n(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===s(this))return!!l(this).sticky;throw d("Incompatible receiver, RegExp required")}}})},"2c66":function(t,e,a){"use strict";var i=a("8f6c");a.n(i).a},"4d63":function(t,e,a){var i=a("83ab"),r=a("da84"),o=a("e330"),s=a("94ca"),n=a("7156"),l=a("9112"),c=a("241c").f,d=a("3a9b"),u=a("44e7"),m=a("577e"),p=a("90d8"),f=a("9f7f"),h=a("aeb0"),v=a("cb2d"),_=a("d039"),g=a("1a2d"),b=a("69f3").enforce,y=a("2626"),V=a("b622"),k=a("fce3"),x=a("107c"),w=V("match"),C=r.RegExp,F=C.prototype,I=r.SyntaxError,$=o(F.exec),B=o("".charAt),T=o("".replace),N=o("".indexOf),S=o("".slice),L=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,O=/a/g,D=(a=new C(M)!==M,f.MISSED_STICKY),R=f.UNSUPPORTED_Y;V=i&&(!a||D||k||x||_((function(){return O[w]=!1,C(M)!=M||C(O)==O||"/a/i"!=C(M,"i")})));if(s("RegExp",V)){function P(t,e){var a,i,r=d(F,this),o=u(t),s=void 0===e,c=[],f=t;if(!r&&o&&s&&t.constructor===P)return t;if((o||d(F,t))&&(t=t.source,s&&(e=p(f))),t=void 0===t?"":m(t),e=void 0===e?"":m(e),f=t,o=e=k&&"dotAll"in M&&(a=!!e&&-1"===e&&l:if(""===d||g(s,d))throw new I("Invalid capture group name");s[d]=!0,l=!(o[o.length]=[d,c]),d="";continue}l?d+=e:r+=e}return[r,o]}(t))[0],c=s[1]),s=n(C(t,e),r?this:F,P),(a||i||c.length)&&(e=b(s),a&&(e.dotAll=!0,e.raw=P(function(t){for(var e,a=t.length,i=0,r="",o=!1;i<=a;i++)"\\"===(e=B(t,i))?r+=e+B(t,++i):o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),r+=e):r+="[\\s\\S]";return r}(t),o)),i&&(e.sticky=!0),c.length&&(e.groups=c)),t!==f)try{l(s,"source",""===f?"(?:)":f)}catch(t){}return s}for(var E=c(C),j=0;E.length>j;)h(P,C,E[j++]);(F.constructor=P).prototype=F,v(r,"RegExp",P,{constructor:!0})}y("RegExp")},"61f7":function(t,e,a){"use strict";a.d(e,"a",(function(){return o})),a.d(e,"c",(function(){return l})),a.d(e,"b",(function(){return c}));var i=a("fc11"),r=a("f3f3");function o(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var a,i,r={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(a in r)new RegExp("(".concat(a,")")).test(e)&&(i=r[a]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?i:("00"+i).substr(i.length)));return e}a("ac1f"),a("00b4"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("25f0"),a("498a"),a("d3b7"),a("b64b"),a("99af");var s={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function n(t,e){t.message=function(t){return e.replace("%s",t||"")}}function l(t){var e=1=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l=a("f3f3"),c=(a("fb6a"),a("d81d"),a("a9e3"),a("a434"),a("99af"),a("a4d3"),a("e01a"),a("4ec9"),a("d3b7"),a("3ca3"),a("ddb0"),a("4de4"),a("b0c0"),a("25f0"),a("498a"),a("159b"),a("caad"),a("e9c4"),a("ac1f"),a("5319"),a("0f0e")),d=a("2f62"),u=a("310e"),m=(u=a.n(u),a("b0e7")),p=a("5334"),f=a("e449"),h=a("6fd3"),v=a("c4ad"),_=(a("00b4"),a("c4c8")),g={name:"taoBao",data:function(){return{soure_link:"",spinShow:!1,grid:{xl:8,lg:8,md:12,sm:24,xs:24},grid2:{xl:12,lg:12,md:12,sm:24,xs:24},copyConfig:{copy_type:2,copy_num:0},artFrom:{type:"taobao",url:""}}},computed:{},created:function(){},mounted:function(){this.getCopyConfig()},methods:{mealPay:function(t){this.$router.push({path:this.$routeProStr+"/setting/sms/sms_pay/index",query:{type:t}})},getCopyConfig:function(){var t=this;Object(_.g)().then((function(e){t.copyConfig.copy_type=e.data.copy_type,t.copyConfig.copy_num=e.data.copy_num}))},add:function(){var t=this;if(this.soure_link){if(!/(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?/.test(this.soure_link))return this.$Message.warning("请输入以http开头的地址!");this.spinShow=!0,this.artFrom.url=this.soure_link,Object(_.h)(this.artFrom).then((function(e){e=e.data.productInfo,t.$emit("on-close",e),t.spinShow=!1})).catch((function(e){t.spinShow=!1,t.$Message.error(e.msg)}))}else this.$Message.warning("请输入链接地址!")}}},b=(a("8ec4"),a("2877")),y=(g=Object(b.a)(g,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{staticClass:"Box"},[e("Card",[e("div",[t._v("\n 生成的商品默认是没有上架的,请手动上架商品!\n "),2==t.copyConfig.copy_type?e("a",{attrs:{href:"http://help.crmeb.net/crmeb-v4/1863579",target:"_blank"}},[t._v("如何配置密钥")]):e("span",[t._v("您当前剩余"+t._s(t.copyConfig.copy_num)+"条采集次数,"),e("span",{staticClass:"add",on:{click:function(e){return t.mealPay("copy")}}},[t._v("增加采集次数")])])]),e("div",[t._v("商品采集设置:设置 > 系统设置 > 第三方接口设置 > 采集商品配置")])]),e("Form",{ref:"formValidate",staticClass:"formValidate mt20",attrs:{"label-width":120,"label-position":"right"},nativeOn:{submit:function(t){t.preventDefault()}}},[e("Row",{attrs:{gutter:24,type:"flex"}},[e("Col",{attrs:{span:"18"}},[e("FormItem",{attrs:{label:"链接地址:"}},[e("Input",{staticClass:"numPut",attrs:{search:"","enter-button":"确定",placeholder:"请输入链接地址"},on:{"on-search":t.add},model:{value:t.soure_link,callback:function(e){t.soure_link=e},expression:"soure_link"}})],1)],1)],1)],1),t.spinShow?e("Spin",{attrs:{size:"large",fix:""}}):t._e()],1)}),[],!1,null,"4b26ed14",null).exports,a("a069")),V=a("c24f"),k=a("d708"),x=a("c276"),w=a("0e5c");function C(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */C=function(){return t};var t={},e=Object.prototype,a=e.hasOwnProperty,r=Object.defineProperty||function(t,e,a){t[e]=a.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",n=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(t,e,a){return Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(e){c=function(t,e,a){return t[e]=a}}function d(t,e,a,i){var o,s,n,l;e=e&&e.prototype instanceof p?e:p,e=Object.create(e.prototype),i=new k(i||[]);return r(e,"_invoke",{value:(o=t,s=a,n=i,l="suspendedStart",function(t,e){if("executing"===l)throw new Error("Generator is already running");if("completed"===l){if("throw"===t)throw e;return w()}for(n.method=t,n.arg=e;;){var a=n.delegate;if(a&&(a=function t(e,a){var i=a.method,r=e.iterator[i];return void 0===r?(a.delegate=null,"throw"===i&&e.iterator.return&&(a.method="return",a.arg=void 0,t(e,a),"throw"===a.method)||"return"!==i&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+i+"' method")),m):(i=u(r,e.iterator,a.arg),"throw"===i.type?(a.method="throw",a.arg=i.arg,a.delegate=null,m):(r=i.arg,r?r.done?(a[e.resultName]=r.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=void 0),a.delegate=null,m):r:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,m)))}(a,n),a)){if(a===m)continue;return a}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===l)throw l="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);if(l="executing",a=u(o,s,n),"normal"===a.type){if(l=n.done?"completed":"suspendedYield",a.arg===m)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(l="completed",n.method="throw",n.arg=a.arg)}})}),e}function u(t,e,a){try{return{type:"normal",arg:t.call(e,a)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var m={};function p(){}function f(){}function h(){}o={};var v=(c(o,s,(function(){return this})),Object.getPrototypeOf),_=(v=v&&v(v(x([]))),v&&v!==e&&a.call(v,s)&&(o=v),h.prototype=p.prototype=Object.create(o));function g(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var o;r(this,"_invoke",{value:function(r,s){function n(){return new e((function(o,n){!function r(o,s,n,l){var c;o=u(t[o],t,s);if("throw"!==o.type)return(s=(c=o.arg).value)&&"object"==Object(i.a)(s)&&a.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,n,l)}),(function(t){r("throw",t,n,l)})):e.resolve(s).then((function(t){c.value=t,n(c)}),(function(t){return r("throw",t,n,l)}));l(o.arg)}(r,s,o,n)}))}return o=o?o.then(n,n):n()}})}function y(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function V(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(y,this),this.reset(!0)}function x(t){if(t){var e,i=t[s];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(i=function i(){for(;++e]*>/gi,(function(t,e){return(t=(t=t.replace(/style="[^"]+"/gi,"").replace(/style='[^']+'/gi,"")).replace(/width="[^"]+"/gi,"").replace(/width='[^']+'/gi,"")).replace(/height="[^"]+"/gi,"").replace(/height='[^']+'/gi,"")})),(t=(t=t.replace(/style="[^"]+"/gi,(function(t,e){return t.replace(/width:[^;]+;/gi,"max-width:100%;").replace(/width:[^;]+;/gi,"max-width:100%;")}))).replace(/]*\/>/gi,"")).replace(/\