cloud-business 0.1.120-7 → 0.1.120-8

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.
@@ -14,7 +14,7 @@
14
14
  */
15
15
  !function(){var t={}.hasOwnProperty;function n(){for(var e="",t=0;arguments.length>t;t++){var n=arguments[t];n&&(e=r(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!(""+e.toString).includes("[native code]"))return""+e;var a="";for(var i in e)t.call(e,i)&&e[i]&&(a=r(a,i));return a}function r(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):window.classNames=n}()})),nt=l.default.createContext({});function at(e){return l.default.createElement(nt.Provider,{value:e.value},e.children)}function rt(){return t.useContext(nt)}var it=["checkedProduct","productId","outerId","price","stock","shopName","onlineTime","sku"],ot=[10,20,30,50,100],lt=["YDH","PDD","REDBOOK","WEIMOB","VIP"],st=["TAOBAO","JOS","YOUZAN"],ut={platCode:{field:"platCode",operator:"EQ",operatorName:"等于",desc:"平台名称",rules:"defalut"},shopId:{field:"shopId",operator:"EQ",operatorName:"等于",desc:"店铺名称",rules:"defalut"},prod_product_id:{field:"prod.product_id",operator:"EQ",operatorName:"等于",desc:"商品ID",rules:"defalut"},prod_product_name:{field:"prod.product_name",operator:"LIKE",operatorName:"内容包含",desc:"商品名称",rules:"split"},prod_category_tree:{field:"prod.category_id",operator:"EQ",operatorName:"等于",desc:"标准类目",rules:"normal"},prod_seller_tree:{field:"prod.seller_cid",operator:"EQ",operatorName:"等于",desc:"自定义类目",rules:"normal"},prod_status:{field:"prod.status",operator:"EQ",operatorName:"等于",desc:"商品状态",rules:"defalut"},prod_stock:{field:"prod.stock",operator:"BETWEEN_CLOSE",operatorName:"介于(闭区间)",desc:"库存",rules:"between"},prod_outer_id:{field:"prod.outer_id",operator:"SUB_PATTERN",operatorName:"符合模式(截断)",desc:"商品商家编码",rules:"sub_pattern"},prod_price:{field:"prod.price",operator:"BETWEEN_CLOSE",operatorName:"介于(闭区间)",desc:"价格",rules:"between"},prod_online_time:{field:"prod.online_time",operator:"BETWEEN_CLOSE",operatorName:"介于(闭区间)",desc:"上架时间",rules:"between"},sku_flag:{field:"sku_flag",operator:"EQ",operatorName:"等于",desc:"是否有SKU",rules:"default"},sku_sku_id:{field:"sku.sku_id",operator:"EQ",operatorName:"等于",desc:"SKU ID",rules:"default"},sku_outer_id:{field:"sku.outer_id",operator:"SUB_PATTERN",operatorName:"符合模式(截断)",desc:"SKU商家编码",rules:"sub_pattern"},sku_specification:{field:"sku.specification",operator:"LIKE",operatorName:"内容包含",desc:"SKU名称",rules:"default"}},ct=[{labelKey:"商品标题",valueKey:"productName",isSku:!1},{labelKey:"商品ID",valueKey:"productId",isSku:!1},{labelKey:"商品商家编码",valueKey:"outerId",isSku:!1},{labelKey:"SKU ID",valueKey:"skuId",isSku:!0},{labelKey:"SKU商家编码",valueKey:"outerSkuId",isSku:!0},{labelKey:"SKU名称",valueKey:"skuDetail",isSku:!0}],dt={SHOP_ID:"shopId",PLAT_CODE:"platCode",PROD_PRICE:"prod.price",PROD_STOCK:"prod.stock",PROD_STATUS:"prod.status",PROD_OUTER_ID:"prod.outer_id",PROD_SELLER_ID:"prod.seller_cid",PROD_PRODUCT_ID:"prod.product_id",PROD_CATEGORY_ID:"prod.category_id",PROD_ONLINE_TIME:"prod.online_time",PROD_PRODUCT_NAME:"prod.product_name",SKU_FLAG:"sku_flag",SKU_PRICE:"sku.price",SKU_STOCK:"sku.stock",SKU_SKU_ID:"sku.sku_id",SKU_STATUS:"sku.status",SKU_OUTER_ID:"sku.outer_id",SKU_SPECIFICATION:"sku.specification"},ft={EQ:"EQ",LT:"LT",GT:"GT",LIKE:"LIKE",END_LIKE:"END_LIKE",BEGIN_LIKE:"BEGIN_LIKE",SUB_PATTERN:"SUB_PATTERN",BETWEEN_OPEN:"BETWEEN_OPEN",BETWEEN_CLOSE:"BETWEEN_CLOSE",ISNULL:"ISNULL",NONULL:"NONULL",NOT_EQ:"NOT_EQ",TAG_ISNULL:"TAG_ISNULL",TAG_NONULL:"TAG_NONULL"},pt=["query"],ht={flexGrow:1,display:"flex",flexFlow:"column nowrap",position:"relative",height:"380px"},mt={zIndex:2,width:"100%",height:"100%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",background:"rgba(250, 250, 250,.4)"};function vt(e){var n=e.query,r=void 0===n?{}:n,i=x(e,pt),o=r.prod_product_name,s=void 0===o?"":o,u=r.sku_detail,c=void 0===u?"":u,d=t.useCallback((function(e){return""!==s.trim()?e.replace(RegExp("(".concat(s.replace(/,\s*/g,"|"),")"),"gi"),(function(e){return'<span style="background: yellow;">'.concat(e,"</span>")})):e}),[s]),f=t.useCallback((function(e){return""!==c.trim()?e.replace(RegExp("(".concat(c.replace(/,\s*/g,"|"),")"),"gi"),(function(e){return'<span style="background: yellow;">'.concat(e,"</span>")})):e}),[c]),p=function(e,t,n){t||n||(a.Modal.warning({body:"商品不存在"}),e.preventDefault())},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[{key:"checkedProduct",text:"商品",width:250,template:function(e,t){var n=function(e){var t=!1,n=i.selectObj[e.uniProductId];return e.skuId?n&&n.skus.forEach((function(n){e.skuId===n.skuId&&(t=!0)})):t=n&&!n.rowExpandable||!1,t}(t);return l.default.createElement("div",{className:"table-goods-details"},l.default.createElement("p",null,l.default.createElement(a.Checkbox,{checked:n,onChange:function(){i.toggleChecked(t)},disabled:t.rowExpandable})),l.default.createElement("div",null,l.default.createElement(a.Tooltip,{content:t.productName},l.default.createElement("a",{className:"table-link",href:t.detailUrl,target:"_Blank",rel:"noopener noreferrer",onClickCapture:function(e){return p(e,t.detailUrl,!!t.skuId)}},t.picUrl?l.default.createElement("img",{src:t.picUrl,alt:""}):l.default.createElement("div",{className:"unknown-img"}),l.default.createElement("p",t.productName?{className:"goods-title",dangerouslySetInnerHTML:{__html:d(t.productName)}}:{className:"goods-sku-title",dangerouslySetInnerHTML:{__html:f(t.skuDetail)}})))))}},{key:"product",text:"商品",width:250,template:function(e,t){return l.default.createElement("div",{className:"table-goods-details"},l.default.createElement("div",null,l.default.createElement(a.Tooltip,{content:t.productName},l.default.createElement("a",{className:"table-link",href:t.detailUrl,target:"_Blank",rel:"noopener noreferrer",onClickCapture:function(e){return p(e,t.detailUrl,!!t.skuId)}},t.picUrl?l.default.createElement("img",{src:t.picUrl,alt:""}):l.default.createElement("div",{className:"unknown-img"}),l.default.createElement("p",t.productName?{className:"goods-title",dangerouslySetInnerHTML:{__html:d(t.productName)}}:{className:"goods-sku-title",dangerouslySetInnerHTML:{__html:f(t.skuDetail)}})))))}},{key:"productId",text:"商品ID".concat(i.supportSku?"/SKU ID":""),width:130,template:function(e,t){return l.default.createElement("span",null,t.productId||t.skuId)}},{key:"outerId",text:"商品".concat(i.supportSku?"/SKU":"","商家编码"),width:130,template:function(e,t){return l.default.createElement("span",null,t.outerId||t.outerSkuId)}},{key:"price",text:"价格(元)",align:"right",template:function(e,t){return l.default.createElement("span",null,t.price&&"".concat(t.price))}},{key:"stock",text:"库存",template:function(e,t){return null===t.stock?"--":l.default.createElement("span",null,t.stock)}},{key:"shopName",text:"上架店铺"},{key:"onlineTime",text:"上架时间"},{key:"sku",text:"选择SKU",template:function(e,t){var n=t.skus,a=t.rowExpandable;return Array.isArray(n)&&n.length?l.default.createElement("span",{className:"accent-color",onClick:function(){i.toggleSku(t)}},a?"取消选择SKU":"选择SKU"):""}},{key:"skuNum",text:"SKU数",template:function(e,t){return l.default.createElement("span",null,t.skus&&t.skuTotal)}},{key:"remove",text:"操作",template:function(e,t){return(t.skuId||0===t.skus.length)&&l.default.createElement("span",{className:"accent-color",onClick:function(){i.removeSelect(t)}},"移除")}}],n=[];return!e||e.length?e.forEach((function(e){n.push.apply(n,N(t.filter((function(t){return e===t.key}))))})):it.forEach((function(e){n.push.apply(n,N(t.filter((function(t){return e===t.key}))))})),n}(i.columnConfig),m=Object.keys(i.dataSource).map((function(e){return i.dataSource[e]}));return l.default.createElement("div",{className:"goods-selector-pro-table-container",style:ht},i.loading&&l.default.createElement("div",{style:mt},l.default.createElement(a.Loading,null)),l.default.createElement(a.TableLite,{columnData:h,dataSource:m,expandable:i.expandable,childrenKey:i.childrenKey}),i.showPage&&l.default.createElement(a.TablePagination,{showPageSizeOptions:!0,pageSizeOptions:ot,total:i.total,current:i.page,pageSize:i.pageSize,checkedTotal:i.checkedTotal,onChange:i.onPageChange}))}vt.propTypes={loading:et.bool,page:et.number,pageSize:et.number,total:et.number,onPageChange:et.func,columnConfig:et.array,dataSource:et.any,selectObj:et.object,supportSku:et.bool,showPage:et.bool},vt.defaultProps={loading:!1,page:1,pageSize:20,total:0,onPageChange:function(){},columnConfig:[],dataSource:{},selectObj:{},supportSku:!0,showPage:!0};var gt=function(){function e(){y(this,e),this.queryCondition=[],this.originCondition=[],this.settingQuery=[]}var t,n,r,i,o,l,s,u,c,d,h,m,v,b,k,E;return w(e,[{key:"getGoodsCategory",value:(E=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/cate/std_cate?tenant=").concat(n),e.abrupt("return",ye.post(r,a));case 2:case"end":return e.stop()}}),e)}))),function(e,t,n){return E.apply(this,arguments)})},{key:"bury",value:function(e,t){return ye.post("".concat(e,"/product-selector/2.0/statistic/tenant/use"),t)}},{key:"getGoodsDefaultCategory",value:(k=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/cate/user_defined_cate?tenant=").concat(n),e.abrupt("return",ye.post(r,a));case 2:case"end":return e.stop()}}),e)}))),function(e,t,n){return k.apply(this,arguments)})},{key:"configBizzKey",value:function(e,t,n){return e?"".concat(n,"&bizzKey=").concat(e):t?"".concat(n,"&bizzKey=10001"):n}},{key:"saveQueryCondition",value:(b=g(p().mark((function e(t,n,a,r,i){var o,l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(t,"/product-selector/2.0/custom/saveUserCustom?tenant=").concat(n),l=this.configBizzKey(r,i,o),e.abrupt("return",ye.post(l,a));case 3:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a,r){return b.apply(this,arguments)})},{key:"fetchAllquery",value:(v=g(p().mark((function e(t,n,a,r,i){var o,l,s,u;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(n,"/product-selector/2.0/custom/getCustom?tenant=").concat(a),l=this.configBizzKey(i,t,o),e.next=4,ye.get(l);case 4:return u=(s=e.sent).data.data,this.originCondition=s.data.data,t||(u=u.filter((function(e){return!1===["sku_sku_id","sku_specification","sku_outer_id","sku_flag"].includes(e.itemId)}))),r||(u=u.filter((function(e){return!e.groupName}))),this.queryCondition=u.map((function(e){return f(f({},e),{},{value:e.itemId,label:e.itemName,status:3===e.status?4:e.status})})),e.abrupt("return",this.queryCondition);case 11:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a,r){return v.apply(this,arguments)})},{key:"fetchSettingQuery",value:(m=g(p().mark((function e(t,n,a,r){var i,o,l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(n,"/product-selector/2.0/condition/setting?tenant=").concat(a),e.next=3,ye.get(i);case 3:return l=(o=e.sent).data.data,r||(l=o.data.data.filter((function(e){return!e.groupName}))),this.settingQuery=l,e.abrupt("return",this.settingQuery||[]);case 8:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a){return m.apply(this,arguments)})},{key:"getGoods",value:(h=g(p().mark((function e(t,n,r,i){var o,l,s,u,c=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=c.length>4&&void 0!==c[4]?c[4]:{},l="".concat(t,"/product-selector/2.0/items/base?tenant=").concat(n,"&pageNo=").concat(r.page.pageNo,"&pageSize=").concat(r.page.pageSize),e.next=4,ye.post(l,r.parameter);case 4:if((s=e.sent).data.success){e.next=8;break}return a.Message.error("服务出错"),e.abrupt("return",{data:{},pageNum:r.page.pageNo,pageSize:r.page.pageSize,total:0});case 8:return u={},s.data.data.data.forEach((function(e){Object.assign(e,{rowExpandable:!1}),i.forEach((function(t){e.shopId===t.shopId&&Object.assign(e,{shopName:t.shopName})})),o[e.uniProductId]&&o[e.uniProductId].skus.length&&Object.assign(e,{rowExpandable:!0}),u[e.uniProductId]=e})),s.data.data.data=u,e.abrupt("return",s.data.data);case 12:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return h.apply(this,arguments)})},{key:"batchImport",value:(d=g(p().mark((function e(t,n,a,r){var i,o;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/product-selector/2.0/batch/import?tenant=").concat(n),e.next=3,ye.post(i,a);case 3:return(o=e.sent).data.success&&o.data.data.data.forEach((function(e){Object.assign(e,{rowExpandable:!!a["sku.outer_ids"],checked:!a["sku.outer_ids"]}),e.skus.forEach((function(e){Object.assign(e,{checked:!!a["sku.outer_ids"]})})),r.forEach((function(t){e.shopId===t.shopId&&Object.assign(e,{shopName:t.shopName})}))})),e.abrupt("return",o.data);case 6:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return d.apply(this,arguments)})},{key:"queryAllGoods",value:(c=g(p().mark((function e(t,n,a,r,i,o){var l,s,u;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l="".concat(t,"/product-selector/2.0/items/all?tenant=").concat(n,"&limit=").concat(r),e.next=3,ye.post(l,a);case 3:if((s=e.sent).data.success){e.next=7;break}return s.data.data=[],e.abrupt("return",s.data);case 7:return u=[],s.data.data.length&&("goods"===i?s.data.data.forEach((function(e){o.forEach((function(t){e.shopId===t.shopId&&Object.assign(e,{shopName:t.shopName})})),Object.assign(e,{rowExpandable:!1}),u.push(e)})):"skus"===i&&s.data.data.forEach((function(e){e.skus.length&&(Object.assign(e,{rowExpandable:!0}),u.push(e))}))),s.data.data=u,e.abrupt("return",s.data);case 11:case"end":return e.stop()}}),e)}))),function(e,t,n,a,r,i){return c.apply(this,arguments)})},{key:"conditionFindAll",value:(u=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/product-selector/2.0/condition/findAll?tenant=").concat(n),e.next=3,ye.post(a,{});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return u.apply(this,arguments)})},{key:"validationConditionName",value:(s=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/name/check?tenant=").concat(n),e.next=3,ye.post(r,{conditionName:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return s.apply(this,arguments)})},{key:"saveCondition",value:(l=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/save/manual?tenant=").concat(n),e.next=3,ye.post(r,a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return l.apply(this,arguments)})},{key:"deleteCondition",value:(o=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/delete?tenant=").concat(n),e.next=3,ye.post(r,{id:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return o.apply(this,arguments)})},{key:"renameCondition",value:(i=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/rename?tenant=").concat(n),e.next=3,ye.post(r,a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return i.apply(this,arguments)})},{key:"autoSaveCondition",value:(r=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/save/auto?tenant=").concat(n),e.next=3,ye.post(r,a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"findConditionCount",value:(n=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/product-selector/2.0/condition/count?tenant=").concat(n),e.next=3,ye.post(a,{});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"getShoppingGold",value:(t=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/cate/std_cate_card?tenant=").concat(n),e.abrupt("return",ye.post(r,a));case 2:case"end":return e.stop()}}),e)}))),function(e,n,a){return t.apply(this,arguments)})}]),e}(),yt=new gt,bt=Ae((function(e,t){!function(){var t={};function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=function(e,t){return JSON.stringify(e)===JSON.stringify(t)},r=function(e){return{"[object String]":"string","[object Boolean]":"boolean","[object Undefined]":"undefined","[object Number]":"number","[object Object]":"object","[object Error]":"error","[object Function]":"function","[object Date]":"date","[object Array]":"array","[object RegExp]":"regexp","[object Null]":"null","[object NodeList]":"nodeList","[object Arguments]":"arguments","[object Window]":"window","[object HTMLDocument]":"document"}[Object.prototype.toString.call(e)]||(e instanceof Element?"element":"")};function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(r)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);t>n;n++)a[n]=e[n];return a}var c=function(e,t,n,a){var r={percentile:{digits:100,sign:"%"},thousands:{digits:1e3,sign:"‰"}}[e],i=Math.pow(10,n),o=parseInt(t*r.digits*i,10)/i;return a?Number(o).toFixed(n)+r.sign:o+r.sign};function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;t.length>n;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var p=function(){function e(t){switch(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),d(t)){case"number":if(13===(""+t).length)return void this.parseDate(new Date(t));this.parseStr(""+t);break;case"string":this.parseStr(t);break;case"object":this.parseDate(t.constructor===Date?t:new Date);break;default:this.parseDate(new Date)}}return function(e,t,n){t&&f(e.prototype,t),n&&f(e,n)}(e,[{key:"parseStr",value:function(e){var t=e.replace(/\D/g,""),n={fullYear_str:t.substr(0,4),year_str:t.substr(2,4),month_str:t.substr(4,2),date_str:t.substr(6,2),hour_str:t.substr(8,2),minute_str:t.substr(10,2),second_str:t.substr(12,2)};if(n.fullYear_str&&n.month_str&&n.date_str){var a="".concat(n.fullYear_str,"/").concat(n.month_str,"/").concat(n.date_str," ").concat(n.hour_str||"00",":").concat(n.minute_str||"00",":").concat(n.second_str||"00");this.parseDate(new Date(a))}else this.parseDate(new Date)}},{key:"parseDate",value:function(e){this.fullYear=e.getFullYear(),this.year=parseInt((""+e.getFullYear()).substr(2,2)),this.month=e.getMonth()+1,this.date=e.getDate(),this.hour=e.getHours(),this.minute=e.getMinutes(),this.second=e.getSeconds(),this.day=e.getDay()}},{key:"format",value:function(e){return e.replace(/YYYY/i,this.fullYear).replace(/YY/i,10>this.year?"0".concat(this.year):this.year).replace(/MM/,10>this.month?"0".concat(this.month):this.month).replace(/DD/i,10>this.date?"0".concat(this.date):this.date).replace(/HH/i,10>this.hour?"0".concat(this.hour):this.hour).replace(/mm/,10>this.minute?"0".concat(this.minute):this.minute).replace(/ss/i,10>this.second?"0".concat(this.second):this.second)}}]),e}(),h={copyText:function(e){var t=document.createElement("input");t.style.cssText="position:absolute;top:0;z-index: -999;",t.value=e,document.body.appendChild(t),t.select();var n=document.execCommand("copy");return t.remove(),n},getTextWidth:function(e){var t=document.createElement("div");t.style.display="inline-block",t.style.opacity="0",t.innerText=e,document.body.appendChild(t);var n=window.getComputedStyle(t).width;return document.body.removeChild(t),parseInt(n,10)},moment:function(e){return new p(e)},equal:a,index:function(e,t){var n=-1;return e.some((function(e,r){return a(e,t)&&(n=r),a(e,t)})),n},clone:function(e){return JSON.parse(JSON.stringify(e))},isEmpty:function(e){var t=!0;for(var n in e)e.hasOwnProperty(n)&&(t=!1);return t},type:r,trim:function(e){return"string"==typeof e?e.trim():Object.keys(e).reduce((function(t,n){var a=e[n];return"undefined"===r(a)||"null"===r(a)||(t[n]=a),t}),{})},toQueryString:function(e){var t="";for(var a in e){var r=e[a];r="object"===n(r)?JSON.stringify(r):r,t="".concat(t,"&").concat(a,"=").concat(r)}return t.replace("&","")},toHump:function(e){return e.replace(/-\w/g,(function(e){return e.split("-")[1].toUpperCase()}))},toHyphen:function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()},toFormData:function(e){return e.replace(/^\?/,"").split("&").reduce((function(e,t){var n=s(t.split("="),2),a=n[0],r=n[1],i=void 0===r?"":r;return o(o({},e),{},l({},a,i))}),{})},toPercentile:function(e,t){return c("percentile",e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])},toThousands:function(e,t){return c("thousands",e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])},download:function(e,t){var n=Blob.prototype,a=null;if(Object.getPrototypeOf(e)===n&&(a=e),e.data&&Object.getPrototypeOf(e.data)===n&&(a=e.data),!a||Object.getPrototypeOf(a)!==n)return!1;var r=document.createElement("a");r.addEventListener("click",(function(){r.download=t,r.href=Window.URL.createObjectURL(a)}));var i=document.createEvent("MouseEvents");return i.initEvent("click",!1,!1),r.dispatchEvent(i),!0}};t.default=h,e.exports=t=h}()})),wt={ISNULL:{label:"为空",value:"ISNULL"},NONULL:{label:"不为空",value:"NONULL"}},kt={TAG_ISNULL:{label:"为空",value:"TAG_ISNULL"},TAG_NONULL:{label:"不为空",value:"TAG_NONULL"}},Et=RegExp("'","g"),Ct=["ISNULL","NONULL"];function St(e,t){var n={};return e.forEach((function(e){if(e.groupName){var a={};if("NO_VALUE"!==e.moduleType)a=function(e,t){switch(e){case"SELECT":return{operator:"EQ",operatorName:"等于",rules:"defalut"};case"INPUT":return{operator:"SINGLE"===t?"EQ":"LIKE",operatorName:"SINGLE"===t?"等于":"内容包含",rules:"SINGLE"===t?"defalut":"split"};case"SELECT_TREE":return{operator:"EQ",operatorName:"等于",rules:"normal"};case"SELECT_INPUT":return{operator:"SUB_PATTERN",operatorName:"符合模式(截断)",rules:"sub_pattern"};case"NUMBER":return{operator:"BETWEEN_CLOSE",operatorName:"介于(闭区间)",rules:"between"};case"DATE":return{operator:"DATE_M"===t?"EQ":"BETWEEN_CLOSE",operatorName:"DATE_M"===t?"等于":"介于(闭区间)",rules:"DATE_M"===t?"defalut":"between"}}return null}(e.moduleType,e.type);else if(t[e.itemId]){var r=t[e.itemId];a.operator=kt[r].value,a.operatorName=kt[r].label,a.rules="noValue"}n=f(f({},n),{},k({},e.itemId,f({field:e.itemId,desc:e.itemName,tagsFlag:"tags",type:e.type,moduleType:e.moduleType,dataSource:e.configs,status:e.status},a)))}else n=f(f({},n),{},k({},e.itemId,f(f({},ut[e.itemId]),{},{type:e.type,moduleType:e.moduleType,dataSource:e.configs,status:e.status,tagsFlag:null})))})),n}function _t(e,t,n){var a=n.platCode,r=n.shopId,i=e[0]&&e[0].platCode,o=e.find((function(e){return e.platCode===a}))?a:i,l=(t.find((function(e){return e.platCode===o}))||{}).shopId;return{shopId:t.find((function(e){return e.shopId===r}))?r:l,platCode:o}}function xt(e,t){var n=[];return Object.keys(t).forEach((function(a){if(e[a]){var r={field:e[a].field,fieldName:e[a].desc,configName:a,tagsFlag:e[a].tagsFlag,operator:e[a].operator,operatorName:e[a].operatorName};switch(e[a].rules){case"normal":if(t[a])if("SINGLE"===e[a].type)r.value=[t[a].value],r.semantic=[t[a].label];else{var i=[],o=[];t[a].forEach((function(e){i.push(e.id),o.push(e.name)})),r.semantic=o,r.value=e[a].tagsFlag?o:i}break;case"between":t[a].start="".concat(t[a].start),t[a].end="".concat(t[a].end),t[a].datetype&&(r.relative=t[a].datetype),t[a].dateUnit&&(r.timeUnit=t[a].dateUnit),(t[a].start||t[a].end)&&(r.value=[t[a].start,t[a].end],r.semantic=[t[a].start,t[a].end]);break;case"split":if(t[a]){var l=t[a].replace(Et,"\\'");r.value=l.split(","),r.semantic=t[a].split(",")}break;case"sub_pattern":if(t[a]&&"string"==typeof t[a]){var s=t[a].replace(Et,"\\'");r.value=[s];var u=t[a].split(":");u.length>1?r.semantic=["截取".concat(u[0],"至").concat(u[1],"位,字符是").concat(u[2])]:(r.operatorName="等于",r.semantic=[t[a]])}break;default:if(t[a])if("platCode"===e[a].field)t.platList.forEach((function(e){e.platCode===t[a]&&(r.semantic=[e.platName],r.value=[t[a]])}));else if("shopId"===e[a].field)t.shopList.forEach((function(e){e.shopId===t[a]&&(r.semantic=[e.shopName],r.value=[t[a]])}));else if("SELECT"===e[a].moduleType||"DATE"===e[a].moduleType)if("SINGLE"===e[a].type){var c=e[a].dataSource.filter((function(e){return e.value===t[a]}));r.semantic=[c[0].label],r.value=e[a].tagsFlag?[c[0].label]:[c[0].value]}else if("MULTIPLE"===e[a].type||"DATE_M"===e[a].type){var d=t[a]&&t[a].map((function(t){return(e[a].dataSource.find((function(e){return e.value===t}))||{}).label}));r.value=d,r.semantic=d}else"N0_VALUE"===e[a].moduleType?(r.semantic=wt[t[a]].label,r.value=[t[a]],r.operator=wt[t[a]].value,r.operatorName=wt[t[a]].label):(r.semantic=[t[a]],r.value=[t[a]]);else{r.semantic=[t[a]];var f=t[a].replace(Et,"\\'");r.value=[f]}}n.push(r)}})),n.filter((function(e){return e.value&&e.value.length>=1}))}function At(e){var t=[],n=["shopId","prod.outer_id","sku.outer_id","prod.product_id","sku.sku_id"];return e.forEach((function(e){var a={field:"",fieldName:"",operator:"",operatorName:"",semantic:[],value:[]};if(a.tagsFlag=e.field.groupName?"tags":null,a.field=e.field.field,a.fieldName=e.field.desc,a.operator=e.operator.value,a.operatorName=e.operator.label,n.includes(e.field.field))switch(e.field.field){case"shopId":e.value&&(t.push({field:"platCode",fieldName:"平台名称",operator:e.operator.value,operatorName:"等于",semantic:[e.value.plat.label],value:[e.value.plat.value]}),a.semantic=e.value.shops.map((function(e){return e.label})),a.value=e.value.shops.map((function(e){return e.value})));break;case"prod.outer_id":case"sku.outer_id":e.value?"SUB_PATTERN"===e.operator.value?(a.value=["".concat(e.value.begin,":").concat(e.value.end,":").concat(e.value.value.replace(Et,"\\'"))],a.semantic=["截取".concat(e.value.begin,"至").concat(e.value.end,"位,字符是").concat(e.value.value)]):Array.isArray(e.value)?(a.semantic=e.value.filter((function(e){return""!==e})),a.value=e.value.filter((function(e){return""!==e})).map((function(e){return e.replace(Et,"\\'")}))):(a.semantic=[e.value],a.value=[e.value.replace(Et,"\\'")]):Ct.includes(e.operator.value)&&(a.value=[wt[e.operator.value].value],a.semantic=[wt[e.operator.value].label]);break;case"prod.product_id":case"sku.sku_id":e.value&&(Array.isArray(e.value)?(a.semantic=e.value.filter((function(e){return""!==e})),a.value=e.value.filter((function(e){return""!==e})).map((function(e){return e.replace(Et,"\\'")}))):(a.semantic=[e.value],a.value=[e.value.replace(Et,"\\'")]))}else switch(e.field.type){case"NO_VALUE":a.semantic=[e.operator.label],a.value=[e.operator.value];break;case"DATE_YMD":case"DATE_MD":e.value?"BETWEEN_CLOSE"===e.operator.value||"BETWEEN_OPEN"===e.operator.value?(a.value=e.value?[e.value.start||"",e.value.end||""]:[e.value],a.semantic=e.value?[e.value.start||"",e.value.end||""]:[e.value]):Ct.includes(e.operator.value)?(a.value=[wt[e.operator.value].value],a.semantic=[wt[e.operator.value].label]):(a.value=e.value?[e.value]:[""],a.semantic=e.value?[e.value]:[""]):Ct.includes(e.operator.value)&&(a.value=[wt[e.operator.value].value],a.semantic=[wt[e.operator.value].label]);break;case"DATE_M":e.value?(a.value=e.value,a.semantic=e.value.map((function(t){return(e.field.dataSource.find((function(e){return Number(e.value)===Number(t)}))||{}).label}))):Ct.includes(e.operator.value)&&(a.value=[wt[e.operator.value].value],a.semantic=[wt[e.operator.value].label]);break;case"CATEGORY_SELECT_TREE":if(a.field=e.field.field,a.fieldName=e.field.desc,a.operator=e.operator.value,a.operatorName=e.operator.label,e.value){var r=[],i=[];e.value.categories.forEach((function(e){r.push(e.id),i.push(e.name)})),a.semantic=i,a.value=r}else"ISNULL"===e.operator.value?(a.semantic=["为空"],a.value=["ISNULL"]):"NONULL"===e.operator.value&&(a.semantic=["不为空"],a.value=["NONULL"]);break;case"SELECT_MULTIPLE_TREE":if(e.value){var o=[],l=[];e.value.forEach((function(e){o.push(e.id),l.push(e.name)})),a.semantic=l,a.value=l}else Ct.includes(e.operator.value)&&(a.value=[wt[e.operator.value].label],a.semantic=[wt[e.operator.value].label]);break;case"SELECT_TREE":e.value?(a.semantic=[e.field.label],a.value=[e.field.label]):Ct.includes(e.operator.value)&&(a.value=[wt[e.operator.value].value],a.semantic=[wt[e.operator.value].label]);break;case"MULTIPLE_SELECT":if(e.value){var s,u=null===(s=e.value)||void 0===s?void 0:s.map((function(t){return(e.field.dataSource.find((function(e){return e.value===t}))||{}).label}));a.value=u,a.semantic=u}else Ct.includes(e.operator.value)&&(a.value=[wt[e.operator.value].value],a.semantic=[wt[e.operator.value].label]);break;case"SELECT":if(e.value){a.value=[e.value];var c=e.field.dataSource.filter((function(t){return t.value===e.value}));a.semantic=[c[0].label]}else Ct.includes(e.operator.value)&&(a.value=[wt[e.operator.value].value],a.semantic=[wt[e.operator.value].label]);break;case"NUMBER_INT":case"NUMBER_DECIMAL":e.value||0===e.value?(a.semantic=Array.isArray(e.value)?e.value:[e.value],a.value=Array.isArray(e.value)?e.value:[e.value]):Ct.includes(e.operator.value)&&(a.value=[wt[e.operator.value].value],a.semantic=[wt[e.operator.value].label]);break;case"STRING":e.value?"LIKE"===e.operator.value?(a.value=e.value.value.map((function(e){return e.replace(Et,"\\'")})),a.multiText=e.value.relation?"AND":"OR",a.semantic=e.value):Array.isArray(e.value)?(a.semantic=e.value.filter((function(e){return""!==e})),a.value=e.value.filter((function(e){return""!==e})).map((function(e){return e.replace(Et,"\\'")}))):(a.semantic=[e.value],a.value=[e.value.replace(Et,"\\'")]):Ct.includes(e.operator.value)&&(a.value=[wt[e.operator.value].value],a.semantic=[wt[e.operator.value].label])}t.push(a)})),t}function It(e){return function(){bt.copyText(e.join(",")),a.Message.success("复制成功")}}function Nt(e){var t=dt.PROD_PRODUCT_ID,n=dt.PROD_OUTER_ID,a=dt.SKU_SKU_ID,r=dt.SKU_OUTER_ID,i={str:[],title:[],value:e};return e.forEach((function(e){var o,s,u=e.operator,c=e.fieldName,d=e.field,f=e.operatorName,p=e.relative,h=e.semantic,m=e.timeUnit;switch(u){case ft.TAG_ISNULL:case ft.TAG_NONULL:case ft.ISNULL:case ft.NONULL:i.str.push("".concat(c,":").concat(f)),i.title.push("".concat(c,":").concat(f));break;case ft.BETWEEN_CLOSE:case ft.BETWEEN_OPEN:"prod.online_time"===d&&p?(i.str.push("".concat(c,":").concat(f,"过去").concat(h[0],"-").concat(h[1]).concat(m?"月":"天")),i.title.push("".concat(c,":").concat(f,"过去").concat(h[0],"-").concat(h[1]).concat(m?"月":"天"))):(i.str.push("".concat(c,":").concat(f).concat(h[0],"-").concat(h[1])),i.title.push("".concat(c,":").concat(f).concat(h[0],"-").concat(h[1])));break;case ft.LIKE:var v={OR:"或",AND:"和"}[e.multiText]||",";i.str.push("".concat(c,":").concat(f).concat(null===(o=h.value)||void 0===o?void 0:o.join(v))),i.title.push("".concat(c,":").concat(f).concat(null===(s=h.value)||void 0===s?void 0:s.join(v)));break;default:i.str.push([t,n,a,r].includes(d)&&u===ft.EQ?[c,"=",l.default.createElement("span",{key:""+h,onClick:It(e.semantic),style:{padding:"0 4px",cursor:"pointer"}},h.length),"个"]:"".concat(c,":").concat(f).concat(h.join(","))),i.title.push("".concat(c,":").concat(f).concat(h.join(",")))}})),i.str=i.str.reduce((function(e,t,n){return n>0&&e.push(", "),e.push(t),e}),[]),i}function Dt(e){var t=0;return Array.isArray(e)?e.forEach((function(e){t+=e.rowExpandable?e.skus.length:1})):Object.keys(e).forEach((function(n){t+=e[n].rowExpandable?e[n].skus.length:1})),t}var Tt=2,Ot=3,Mt=4,Ft=function(e){return e.filter((function(e){return e.status===Mt}))},Lt=function(e,t){return e.filter((function(e){return e.status===Ot||e.status===Mt||t.itemId===e.itemId}))},Pt=function(e){return e.filter((function(e){return e.status===Tt}))},Bt=function(e){return e.filter((function(e){return e.status===Tt||e.status===Ot}))},Rt=function(e){return e.filter((function(e){return 1===e.status||e.status===Tt||e.status===Ot}))},zt=function(e){return e.filter((function(e){return 1===e.status||e.status===Tt}))},jt=function(e){var t=e.map((function(e){return f(f({},e),{},{groupName:e.groupName||"商品基本属性"})})),n={};return t.reduce((function(e,t){var a=t.groupName;if(a in n){var r=e.find((function(e){return e.label===t.groupName}));r.children.push(f(f({},t),{},{label:t.itemName}))}else n[a]=t,e.push({label:a,value:a,children:[f(f({},t),{},{label:t.itemName})]});return e}),[])};function Vt(e){var n=e.index,r=e.allQuery,i=e.valueField,o=e.isDefault,s=e.onChangeField,u=e.onRemoveField,c=e.onAddField,d=e.onHandleDefaultField,f=I(t.useState((function(){return Ft(r).length})),2),p=f[0],h=f[1],m=I(t.useState((function(){return Bt(r).length})),2),v=m[0],g=m[1],y=I(t.useState((function(){var e=Lt(r,i);return e=jt(e)})),2),b=y[0],w=y[1];t.useEffect((function(){var e=Lt(r,i);e=jt(e),w(e);var t=Bt(r);g(t.length);var n=Ft(r);h(n.length)}),[r]);var k=function(e){var t=r.findIndex((function(e){return e.itemId===i.itemId}));"cancel"===e&&d(Ot,t),"ok"===e&&d(Tt,t)};return l.default.createElement("div",{style:{marginTop:10,display:"flex",alignItems:"center"}},o?l.default.createElement("span",{className:"default-flag"},"默认"):l.default.createElement("span",{className:"isnotdefault-flag"}),l.default.createElement(a.TreeSelect,{style:{width:400},searchable:!0,value:i,searchPlaceholder:"搜索一个选项",dataSource:b,onChange:function(e){s(e,i,n)}}),o?l.default.createElement("span",{className:"opr-btn",onClick:function(){return k("cancel")}},"取消默认"):l.default.createElement("span",{className:"opr-btn",onClick:function(){return k("ok")}},"设为默认"),p&&v===n+1?l.default.createElement("span",{className:"common-btn",onClick:function(){var e=Ft(r);c(e[0])}},"+"):"",(v>1||1===v&&(3===i.status||2===i.status))&&l.default.createElement("span",{className:tt("common-btn",{"common-disabled-btn":1===v&&(3===i.status||2===i.status)}),onClick:function(){u(i)}},"-"))}function Ut(e){var n=e.supportSku,r=e.allQuery,i=e.setAllQuery,o=e.displayStatus,s=I(t.useState([]),2),u=s[0],c=s[1],d=I(t.useState([]),2),f=d[0],p=d[1],h=I(t.useState(o),2),m=h[0],v=h[1];t.useEffect((function(){v(!0);var e=g(),t=e.map((function(e){return e.order}));c(t),p(e)}),[]);var g=function(){var e=m?Bt(N(r)):Pt(N(r));return e=e.sort((function(e,t){var n=u.findIndex((function(t){return t===e.order})),a=u.findIndex((function(e){return e===t.order}));return n-a})),e};t.useEffect((function(){var e=g();p(e),i(r)}),[r]);var y=function(e,t){var n=N(r),a=r.findIndex((function(t){return t.itemId===e.itemId})),o=r.findIndex((function(e){return e.itemId===t.itemId}));n[a].status=t.status,n[o].status=Mt;var l=u.findIndex((function(e){return e===t.order}));u[l]=e.order,c(u),i(n)},b=function(e){var t=r.findIndex((function(t){return t.itemId===e.itemId})),n=N(r);n[t].status=Mt;var a=u.filter((function(t){return t!==e.order}));c(a),i(n)},w=function(e){var t=r.findIndex((function(t){return t.itemId===e.itemId})),n=N(r);n[t].status=Ot;var a=N(u);a.push(e.order),c(a),i(n)},k=function(e,t){var n=N(r);n[t].status=e,i(n)};return l.default.createElement("div",{className:"add-condition"},l.default.createElement(a.Tips,{msg:"可将常用的搜索条件设为默认,默认的搜索条件将被固定在商品搜索条件的界面上。"}),f.length?f.map((function(e,t){return l.default.createElement(Vt,{key:e.itemId,index:t,valueField:e,initStatus:o,isDefault:e.status===Tt,allQuery:r,usedFields:f,onAddField:w,onChangeField:y,onRemoveField:b,onHandleDefaultField:k,supportSku:n})})):l.default.createElement(a.Button,{type:"primary",size:"small",style:{marginTop:10},onClick:function(){if(Ft(r).length){var e=Ft(r);w(e[0])}}},"添加搜索条件+"))}function Ht(e){var t=e.labelName,n=e.groupName,r=n?"".concat(n,"-").concat(t):null;return l.default.createElement(a.Tooltip,{content:r},l.default.createElement("span",{className:"goods-form-item-label"},t,":"))}function qt(e){var n=e.name,r=e.itemId,i=e.dataSource,o=e.queryObj,s=e.type,u=e.groupName,c=e.supportClearPlatShop,d=I(t.useState((function(){return"platCode"===r?"platName":"shopId"===r?"shopName":"label"})),1)[0],f=I(t.useState((function(){return"platCode"===r||"shopId"===r?r:"value"})),1)[0];return l.default.createElement("div",{className:"goods-form-item"},l.default.createElement(Ht,{labelName:n,groupName:u}),l.default.createElement(a.Select,{allowClear:"platCode"!==r&&"shopId"!==r||c,placeholder:n,multiple:"MULTIPLE"===s,dataSource:i,labelKey:d,valueKey:f,onChange:function(t){e.onChange(t)},value:o[r]}))}var Wt=t.memo(qt);function Gt(e){var n=e.name,r=e.dataSource,i=e.queryObj,o=e.itemId,s=e.type,u=e.groupName,c="MULTIPLE"===s?s.toLowerCase():"default",d=function(){var e=!1;return"prod_seller_tree"===o&&(e=!st.includes(i.platCode)),"prod_category_tree"===o&&(e=lt.includes(i.platCode)),e},f=I(t.useState((function(){return d()})),2),p=f[0],h=f[1];t.useEffect((function(){h((function(){return d()}))}),[i]);var m=function(t,n){e.onChange("MULTIPLE"===s?n:t)};return l.default.createElement("div",{className:"goods-form-item"},l.default.createElement(Ht,{labelName:n,groupName:u}),l.default.createElement(a.TreeSelect,{type:c,isUnfold:!0,allowClear:!0,searchable:!0,hasConfirmButton:!0,style:{height:30,width:150},dropdownStyle:{width:r.length?230:150},placeholder:n,dataSource:r,onChange:m,onOk:m,footerTypes:["ok","reset"],value:i[o],disabled:p}))}var Kt=t.memo(Gt);function Yt(e){var t=e.name,n=e.itemId,r=e.queryObj,i=e.type;return l.default.createElement("div",{className:"goods-form-item"},l.default.createElement(Ht,{labelName:t,groupName:e.groupName}),l.default.createElement(a.Input,{className:"goods-form-item-input",value:r[n],placeholder:"MULTIPLE"===i?"多个关键字英文逗号分隔":t,onChange:function(t){e.onChange(t.target.value)}}))}var Qt=t.memo(Yt),Jt=a.Select.Option;function Xt(e){var n=e.value,r=e.onChange,i=e.name,o=null!==n?n.split(":"):[""],s=I(t.useState((function(){return null!==n&&o.length>1})),2),u=s[0],c=s[1],d=I(t.useState(o[0]||""),2),f=d[0],p=d[1],h=I(t.useState(o[1]||""),2),m=h[0],v=h[1],g=I(t.useState(o[2]||""),2),y=g[0],b=g[1];t.useEffect((function(){null===n&&(c(!1),p(""),v(""),b(""),r(""))}),[n]),t.useEffect((function(){u?[f,m,y].filter((function(e){return e})).length?r([f,m,y].join(":")):r(""):r(y)}),[f,m,y]);var w=t.useMemo((function(){return Math.min(""!==m?m:1/0,125)}),[m]);return l.default.createElement("div",null,l.default.createElement(a.Select,{value:u,onChange:function(e){c(e),p(""),v(""),b(""),r("")},className:"goods-form-outerid",style:{width:u?"87px":"150px"}},l.default.createElement(Jt,{value:!0},"截取"),l.default.createElement(Jt,{value:!1},"不截取")),u&&l.default.createElement(l.default.Fragment,null,l.default.createElement(a.InputNumber,{min:1,max:w,value:f,onChange:function(e){Number.isNaN(Number(e))||p(e)},precision:0,noStep:!0,placeholder:"",style:{width:40}}),"  位   -  ",l.default.createElement(a.InputNumber,{value:m,min:f,onChange:function(e){Number.isNaN(Number(e))||v(e)},precision:0,noStep:!0,placeholder:"",style:{width:40}}),"  位   "),l.default.createElement(a.Input,{value:y,style:{width:u?150:240},onChange:function(e){b(e.target.value)},maxLength:50,placeholder:i}))}function Zt(e){var t=e.name,n=e.itemId,a=e.queryObj;return l.default.createElement("div",{className:"goods-form-item"},l.default.createElement(Ht,{labelName:t,groupName:e.groupName}),l.default.createElement(Xt,{name:t,onChange:function(t){e.onChange(t)},value:a[n],placeholder:e.title}))}Xt.propTypes={value:et.string},Xt.defaultProps={value:""};var $t=t.memo(Zt);var en={DATE_YMD:a.Datepicker,DATE_MD:a.Datepicker.MonthDayPicker},tn={DATE_YMD:"年/月/日",DATE_MD:"月/日"},nn={DATE_YMD:"YYYY/MM/DD",DATE_MD:"MM/DD"},an={DATE_YMD:{minDate:new Date(1900,1,1),maxDate:new Date(2121,11,31)},DATE_MD:{min:"01/01",max:"12/31"}},rn=[{label:"绝对时间",value:null},{label:"相对时间",value:"relative"}],on=[{label:"天",value:null},{label:"月",value:"month"}];function ln(e){var n=e.name,r=e.queryObj,i=e.itemId,o=e.type,s=e.groupName,u=I(t.useState(null),2),c=u[0],d=u[1],p=I(t.useState(null),2),h=p[0],m=p[1],v={start:"",end:""},g=I(t.useState(v),2),y=g[0],b=g[1],w=function(t,n){"start"===n?d(t):m(t),b("datetype"===n?f(f({},v),{},k({},n,t)):"dateUnit"===n?f(f({},v),{},k(k({},n,t),"datetype","relative")):f(f({},y),{},k({},n,t))),e.onChange(f(f({},y),{},k({},n,t)),"datetype"===n,"dateUnit"===n)},E=en[o],C=tt({"online-time":"prod_online_time"===e.itemId,"not-online-time":"prod_online_time"!==e.itemId});return l.default.createElement("div",{className:"goods-form-item"},l.default.createElement(Ht,{labelName:n,groupName:s}),l.default.createElement("span",{className:C},"prod_online_time"===e.itemId&&l.default.createElement(a.Select,{dataSource:rn,defaultValue:null,value:r[i].datetype,style:{marginRight:10,width:107},onChange:function(e){return w(e,"datetype")}}),!r[i].datetype&&l.default.createElement(l.default.Fragment,null,l.default.createElement(E,{minDate:an[o].minDate||"",maxDate:h||an[o].maxDate||"",min:an[o].min||"",max:h||an[o].max||"",placeholder:tn[o],onChange:function(e){return w(e,"start")},value:r[i].start||"",format:nn[o]})," - ",l.default.createElement(E,{minDate:c||an[o].minDate||"",maxDate:an[o].maxDate||"",min:c||an[o].min||"",max:an[o].max||"",placeholder:tn[o],onChange:function(e){return w(e,"end")},value:r[i].end||"",format:nn[o]})),r[i].datetype&&l.default.createElement(l.default.Fragment,null,"过去 ",l.default.createElement(a.InputNumber,{className:"goods-form-item-range",value:r[i].start,precision:0,max:r[i].dateUnit?999:99999,min:r[i].end||0,onChange:function(e){return w(e,"start")}})," -  过去 ",l.default.createElement(a.InputNumber,{className:"goods-form-item-range",value:r[i].end,precision:0,min:0,max:r[i].start,onChange:function(e){return w(e,"end")}}),l.default.createElement(a.Select,{className:"goods-form-data-unit",dataSource:on,defaultValue:null,value:r[i].dateUnit,style:{marginLeft:10,width:51},onChange:function(e){return w(e,"dateUnit")}}))))}var sn=t.memo(ln);function un(e){var t=e.itemId,n=e.dataSource,r=e.queryObj;return l.default.createElement("div",{className:"goods-form-item"},l.default.createElement(Ht,{labelName:e.name,groupName:e.groupName}),l.default.createElement(a.Select,{allowClear:!0,placeholder:"请选择月份",dataSource:n,value:r[t],multiple:!0,onChange:function(t){e.onChange(t)}}))}var cn=t.memo(un);function dn(e){var t=e.name,n=e.itemId,r=e.dataSource,i=e.queryObj;return l.default.createElement("div",{className:"goods-form-item"},l.default.createElement(Ht,{labelName:t,groupName:e.groupName}),l.default.createElement(a.Select,{placeholder:t,dataSource:r,onChange:function(t){e.onChange(t)},value:i[n]}))}var fn={SELECT:Wt,SELECT_TREE:Kt,SELECT_INPUT:$t,INPUT:Qt,NUMBER:function(e){var t,n,r=e.itemId,i=e.type,o=e.queryObj[r],s=o.start,u=o.end,c="INT"===i?0:2;"prod_price"===r?(t=0,n=999999999.99):"prod_stock"===r?(t=0,n=999999999):(t="INT"===i?-999999999:-999999999.99,n="INT"===i?999999999:999999999.99);var d=function(t,n){e.onChange(k({},t,n))};return l.default.createElement("div",{className:"goods-form-item"},l.default.createElement(Ht,{labelName:e.name,groupName:e.groupName}),l.default.createElement(a.InputNumber,{className:"goods-form-item-range",value:s,precision:c,min:t,max:Number(u)||n,onChange:function(e){return d("start",e)}}),l.default.createElement("span",{style:{color:"rgb(151, 151, 151)"}}," - "),l.default.createElement(a.InputNumber,{className:"goods-form-item-range",value:u,precision:c,min:Number(s)||t,max:n,onChange:function(e){return d("end",e)}}))},NO_VALUE:t.memo(dn),DATE:function(e){return l.default.createElement("DATE_M"===e.type?cn:sn,e)}},pn={width:580,minWidth:580},hn={overflowX:"hidden",paddingTop:10,height:424};function mn(e){var n=I(t.useState(!0),2),r=n[0],i=n[1],o=I(t.useState(!1),2),s=o[0],u=o[1],c=I(t.useState(!1),2),d=c[0],h=c[1],v=I(t.useState(e.allQuery),2),y=v[0],b=v[1],w=I(t.useState(e.allQuery),2),E=w[1],C=I(t.useState(JSON.parse(JSON.stringify(e.allQuery))),2),S=C[0],_=C[1],x=I(t.useState(e.allQuery),2),A=x[0],D=x[1],T=I(t.useState(e.allQuery),2),O=T[0],M=T[1],F=function(e,n,a,r,i,o){var l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){},s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],u=t.useState((function(){var t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},n={},a=[];return e.forEach((function(e){var r=t(e);r in n||(a.push(e),n[r]=null)})),a}(e,(function(e){return e.platCode})),a=_t(t,[],n).platCode,r=e.filter((function(e){return e.shopId&&e.shopName&&e.platCode===a})),o={};return yt.queryCondition.length&&yt.queryCondition.forEach((function(e){if("SELECT"===e.moduleType)if("platCode"===e.itemId)o=f(f({},o),{},{platCode:_t(t,r,n).platCode});else if("shopId"===e.itemId)o=f(f({},o),{},{shopId:_t(t,r,n).shopId});else{var a="SINGLE"===e.type?"":[];o=f(f({},o),{},k({},e.itemId,a)),i&&(o.sku_flag="Y")}if("SELECT_TREE"===e.moduleType){var l="SINGLE"===e.type?null:[];o=f(f({},o),{},k({},e.itemId,l))}if("INPUT"!==e.moduleType&&"SELECT_INPUT"!==e.moduleType||(o=f(f({},o),{},k({},e.itemId,""))),"NUMBER"===e.moduleType&&(o=f(f({},o),{},k({},e.itemId,{start:"",end:""}))),"DATE"===e.moduleType){var s="DATE_M"===e.type?[]:{start:"",end:""};o=f(f({},o),{},k({},e.itemId,s))}return"NO_VALUE"===e.moduleType&&(o=f(f({},o),{},k({},e.itemId,""))),o})),f({allData:e,platList:t,shopList:r,cateList:[],cateDefaultList:[]},o)})),c=I(u,2),d=c[0],h=c[1],m=function(){var e=g(p().mark((function e(){var t,n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,yt.getShoppingGold(o,r,{platCode:d.platCode,shopId:d.shopId});case 2:return n=[],a=function e(t){t.forEach((function(t){t.children.length?e(t.children):n.push({id:t.id,name:t.name,pId:t.pId})}))},a((t=e.sent).data.data),e.abrupt("return",{data:t,arr:n});case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return t.useEffect((function(){s?m().then((function(e){d.prod_category_tree=e.arr,e.arr.length&&l(d)})):l(d)}),[]),t.useEffect((function(){function e(){return(e=g(p().mark((function e(){var t,n,a,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t={},!s){e.next=9;break}return e.next=4,m();case 4:t=(n=e.sent).data,d.prod_category_tree=n.arr,e.next=12;break;case 9:return e.next=11,yt.getGoodsCategory(o,r,{platCode:d.platCode,shopId:d.shopId});case 11:t=e.sent;case 12:return e.next=14,yt.getGoodsDefaultCategory(o,r,{platCode:d.platCode,shopId:d.shopId});case 14:a=e.sent,i={cateList:[],cateDefaultList:[]},t.data.success&&(i.cateList=t.data.data),t.data.success&&(i.cateDefaultList=a.data.data),h(f(f({},d),i));case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[d.shopId]),[d,h]}(e.platShopList,e.platShop,e.supportSku,e.extraQuery,e.hasSku,e.server,e.onSearch,e.openGold),L=I(F,2),P=L[0],B=L[1];t.useEffect((function(){var t,n,a,r=N(y),i=(t=["sku_outer_id","sku_flag","sku_sku_id","sku_specification"],n=[],a=[],r.forEach((function(e){t.includes(e.itemId)?a.push(e):n.push(e)})),[].concat(n,a)),o=d?Rt(i):zt(i),l=y.length?o:[];e.openGold&&l.forEach((function(e){"prod_category_tree"===e.itemId&&Object.assign(e,{value:P.cateList})})),M(Rt(l))}),[y,d,P]);var R=function(){var e=["prod_outer_id","sku_outer_id"],t=N(y),n=JSON.parse(JSON.stringify(P));t.forEach((function(t){3!==t.status&&4!==t.status||(n[t.itemId]="object"===m(n[t.itemId])&&null!==n[t.itemId]?Array.isArray(n[t.itemId])?[]:{start:"",end:""}:e.includes(t.itemId)?null:"")})),B(n)},z=function(){var t=g(p().mark((function t(n){var a,r,i,o,l,s,u,c,d;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a={},r=["allData","platList","shopList","platCode","shopId","cateList","cateDefaultList"],i=["prod_outer_id","sku_outer_id"],Object.keys(n).forEach((function(e){r.includes(e)||(a[e]="object"===m(n[e])&&null!==n[e]?Array.isArray(n[e])?[]:{start:"",end:""}:i.includes(e)?null:"")})),B(f(f({},n),a)),o=n.allData.filter((function(t){return t.platCode===e.platShopList[0].platCode})),!e.openGold){t.next=16;break}return t.next=9,yt.getShoppingGold(e.server,e.extraQuery,{platCode:e.platShopList[0].platCode,shopId:o[0].shopId});case 9:u=[],c=function e(t){t.forEach((function(t){t.children.length?e(t.children):u.push({id:t.id,name:t.name,pId:t.pId})}))},c((s=t.sent).data.data),B(f(f({},n),{},{shopList:o,platCode:e.platShopList[0].platCode,shopId:null===(l=o[0])||void 0===l?void 0:l.shopId,prod_category_tree:s,prod_seller_tree:[]},a)),t.next=17;break;case 16:B(f(f({},n),{},{shopList:o,platCode:e.platShopList[0].platCode,shopId:null===(d=o[0])||void 0===d?void 0:d.shopId,prod_category_tree:[],prod_seller_tree:[]},a));case 17:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),j=function(){var t=g(p().mark((function t(){var n;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.onChange(y),b(A),u(!1),h(!0),R(),_(Rt(A)),n=y.map((function(e){return f(f({},e),{},{status:3===e.status?4:e.status})})),t.next=9,yt.saveQueryCondition(e.server,e.extraQuery,n,e.bizzKey,e.supportSku);case 9:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),V=function(){var e=[];JSON.parse(JSON.stringify(y)).forEach((function(t){JSON.parse(JSON.stringify(S)).find((function(e){return e.itemId===t.itemId}))?e.push(JSON.parse(JSON.stringify(S)).find((function(e){return e.itemId===t.itemId}))):e.push(f(f({},t),{},{newStatus:4}))})),D([].concat(e)),E([].concat(e)),u(!1)};t.useImperativeHandle(e.forwardRef,(function(){return{queryConditions:P}}));return l.default.createElement("section",{className:"goods-selector-pro-form"},r&&O.length&&O.map((function(t){var n=t.itemId,a=t.itemName,r=t.type,i=t.moduleType,o=t.groupName,s=fn[i],u=function(e){return"platCode"===e.itemId?P.platList:"shopId"===e.itemId?P.shopList:"prod_category_tree"===e.itemId?P.cateList:"prod_seller_tree"===e.itemId?P.cateDefaultList:e.configs||[]}(t);return l.default.createElement(s,{key:n,name:a,itemId:n,type:r,groupName:o,queryObj:P,dataSource:u,supportClearPlatShop:e.supportClearPlatShop,moduleType:i,onChange:function(e,t,a){return function(e,t,n,a,r,i){if("platCode"===n){var o,l=P.allData.filter((function(e){return e.platCode===a}));B(f(f({},P),{},{shopList:l,platCode:a,shopId:null===(o=l[0])||void 0===o?void 0:o.shopId,prod_category_tree:[],prod_seller_tree:[]}))}else B(f(f({},P),{},"shopId"===n?{shopId:a,prod_category_tree:[],prod_seller_tree:[]}:k({},n,"prod_online_time"===n?r?a.datetype?{start:"",end:"",datetype:a.datetype}:{start:"",end:""}:i?{start:"",end:"",datetype:"relative",dateUnit:a.datetype?a.dateUnit:null}:f(f({},a),{},{dateUnit:a.datetype?a.dateUnit:null}):"NUMBER"===e?Object.assign(P[n],a):a)))}(i,0,n,e,t,a)}})})),l.default.createElement("div",{className:"operator-area"},r&&l.default.createElement(l.default.Fragment,null,l.default.createElement(a.Button,{type:"primary",onClick:function(){e.openGold?P.prod_category_tree.length?e.onSearch(P):a.Message.error("请至少选择一个购物金分类"):e.onSearch(P)},style:{marginLeft:"10px"},disabled:e.loading},"搜索"),l.default.createElement("span",{className:"search-reset",onClick:function(){z(P)}},"重置"),e.supportConditions&&!e.readonly&&l.default.createElement("span",{className:"search-toggle",onClick:e.saveConditions},"添加为查询条件",l.default.createElement(a.Tooltip,{content:"将搜索条件保存为查询条件,查询商品时,可根据条件动态查找商品。",placement:"top"},l.default.createElement(a.Icon,{className:"test",type:"question-circle",style:{fontSize:"14px",color:"rgb(49, 159, 225)",marginLeft:"2px",fontWeight:"bold"}})))),!e.readonly&&l.default.createElement("span",{className:"search-toggle",onClick:function(){u(!0)}},"更多搜索条件"),l.default.createElement("span",{className:"search-toggle",onClick:function(){i(!r)}},r?"收起":"展开",l.default.createElement(a.Icon,{type:r?"up-solid":"down-solid",style:{fontSize:12,marginRight:2}}))),s&&l.default.createElement(a.Modal,{title:"更多商品查询条件",visible:s,modalStyle:pn,bodyStyle:hn,onOk:j,onCancel:V,onClose:V},l.default.createElement(Ut,{supportSku:e.supportSku,allQuery:A,displayStatus:d,setAllQuery:D,readonly:e.readonly})))}var vn={"prod.product_ids":"商品ID","prod.outer_ids":"商品商家编码","sku.outer_ids":"SKU商家编码"},gn={enter:{name:"回行",rules:"\n"},comma:{name:"逗号",rules:","},semicolon:{name:"分号",rules:";"},quotes:{name:"引号",rules:"'"},other:{name:"其他",rules:""}},yn={maxWidth:"608px",overflow:"auto"},bn={maxWidth:"608px"};function wn(e){var n=e.visible,r=e.onOk,i=e.onClose,o=e.isSelectedLength,s=e.supportSku,u=I(t.useState("prod.product_ids"),2),c=u[0],d=u[1],f=I(t.useState("enter"),2),h=f[0],m=f[1],v=I(t.useState(""),2),y=v[0],b=v[1],w=I(t.useState(""),2),k=w[0],E=w[1],C=function(){d("prod.product_ids"),m("enter"),b(""),E("")},S=function(){var t=g(p().mark((function t(){var n,i;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("other"!==h||y){t.next=3;break}return a.Message.error("请输入分隔符"),t.abrupt("return");case 3:if(n=k.split("other"===h?y:gn[h].rules).map((function(e){return e.trim()})),0!==n.filter((function(e){return e})).length){t.next=8;break}return a.Message.error("匹配数据不能为空"),t.abrupt("return");case 8:if(n.length+o<=e.limit){t.next=11;break}return a.Message.error("最多支持勾选".concat(e.limit,"条数据,请修改导入源数据")),t.abrupt("return");case 11:return(i={value:vn[c]})[c]=n.filter((function(e){return e})),t.next=15,r(i);case 15:E(""),C();case 17:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),_=function(){E(""),i(),C()};return l.default.createElement(a.Modal,{modalStyle:bn,bodyStyle:yn,title:"批量匹配",visible:n,onOk:S,onCancel:_,showConfirmLoading:e.showConfirmLoading,onClose:_},l.default.createElement("div",{className:"batch-add-content"},s&&l.default.createElement(a.Tips,{msg:"根据输入的数据类型,精准查询匹配的商品或SKU。",style:{color:"#999"}}),l.default.createElement(a.Form,{layout:"horizontal",labelCol:{span:4}},l.default.createElement(a.Form.Item,{label:"数据类型"},l.default.createElement(a.Radio.Group,{value:c,onChange:function(e){d(e),E("")}},l.default.createElement(a.Radio,{value:"prod.product_ids",key:"prod.product_ids"},"商品ID"),l.default.createElement(a.Radio,{value:"prod.outer_ids",key:"prod.outer_ids"},"商品商家编码"),s&&l.default.createElement(a.Radio,{value:"sku.outer_ids",key:"sku.outer_ids"},"SKU商家编码"))),l.default.createElement(a.Form.Item,{label:"选择分隔符"},l.default.createElement("div",null,l.default.createElement(a.Radio.Group,{value:h,onChange:function(e){m(e),E(""),b("")}},Object.entries(gn).map((function(e){var t=I(e,2),n=t[0];return l.default.createElement(a.Radio,{value:n,key:n},t[1].name)}))),l.default.createElement(a.Input,{className:"other-input",value:y,onChange:function(e){b(e.target.value)},disabled:"other"!==h,style:{width:90}}))),l.default.createElement(a.Form.Item,{label:"输入匹配数据"},l.default.createElement(a.Input.Textarea,{className:"cloud-batch-add-text",placeholder:"可输入".concat(e.limit,"条数据"),rows:12,value:k,onChange:function(e){E(e.target.value)}})))))}var kn=null;function En(e){var n=e.children,r=e.list,i=e.visible,o=I(t.useState(i),2),s=o[0],u=o[1];function c(e){e.stopPropagation(),e.nativeEvent.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}function d(e){c(e);var t=!s;u(t);var n=Se();n.removeEventListener("click",kn),t&&n.addEventListener("click",kn)}kn||(kn=function(){u(!1),Se().removeEventListener("click",kn)});return t.useEffect((function(){u(i)}),[i]),l.default.createElement(l.default.Fragment,null,l.default.createElement("span",{onClick:d},n),s?l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"goods-failure-tip",onClick:c},l.default.createElement("div",{className:"copy-goods-operate"},l.default.createElement("span",{className:"account-name",onClick:function(){!function(e){bt.copyText(e),u(!1);var t=Se();a.Message.success("复制成功",{contextContainer:t.querySelector(".goods-selector-pro-node"),className:"goods-error"}),t.removeEventListener("click",kn)}(r.join(","))}},"复制所有ID"),l.default.createElement("span",{onClick:d},"收起")),l.default.createElement("div",{className:"copy-goods-ids"},r.map((function(e){return l.default.createElement("p",{key:e,title:e},e)}))))):null)}En.propTypes={list:et.array},En.defaultProps={list:[]};var Cn={position:"absolute",right:40,color:"#0083ba",cursor:"pointer"};function Sn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(/:/g.test(e)){var n=I(e.split(":"),3),a=n[0],r=n[1],i=n[2],o=void 0===i?"":i;return""===a||""===r?{err:"".concat(t,"商家编码截断位不能为空"),value:e}:o?o.length!==r-a+1?{err:"".concat(t,"商家编码长度必须和位数匹配"),value:e}:{value:"".concat(a,":").concat(r,":").concat(o)}:{err:"".concat(t,"商家编码内容不能为空"),value:e}}return{value:e}}function _n(e){var n=I(t.useState({pageSize:10,pageNum:1,total:0}),2),r=n[0],i=n[1],o=I(t.useState(!1),2),s=o[0],u=o[1],c=I(t.useState({query:[]}),2),d=c[0],h=c[1],m=I(t.useState({}),2),v=m[0],y=m[1],b=I(t.useState(!1),2),w=b[0],k=b[1],C=I(t.useState(!1),2),S=C[0],_=C[1],x=I(t.useState({goods:!1,sku:!1}),2),A=x[0],N=x[1],D=function(){var e=I(t.useState(!1),2),n=e[0],a=e[1],r=I(t.useState(""),2),i=r[0],o=r[1],l=I(t.useState(""),2);return{batchVisible:n,setBatchVisible:a,platCode:i,setPlatCode:o,shopId:l[0],setShopId:l[1]}}(),T=D.batchVisible,O=D.setBatchVisible,M=D.platCode,F=D.setPlatCode,L=D.shopId,P=D.setShopId,B=rt(),R=I(t.useState(!1),2),z=R[0],j=R[1],V=I(t.useState(!1),2),U=V[0],H=V[1],q=I(t.useState(!1),2),W=q[0],G=q[1],K=I(t.useState(!1),2),Y=K[0],Q=K[1],J=I(t.useState([]),2),X=J[0],Z=J[1],$=function(){var t=g(p().mark((function t(){var n,a,r,i,o,l,s;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.supportSku,a=e.server,r=e.extraQuery,i=e.supportTags,o=e.bizzKey,l=e.openGold,t.next=3,yt.fetchAllquery(n,a,r,i,o);case 3:return s=t.sent,l&&s.forEach((function(e){"SELECT_TREE"===e.moduleType&&Object.assign(e,{defaultValue:[]})})),Z(s),t.abrupt("return",s);case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t.useEffect((function(){$()}),[]),t.useEffect((function(){var e=B.globalSelect,t=B.globalTableList;if(!z&&!U){var n={allGoodsLength:Object.keys(t).map((function(e){return!t[e].rowExpandable})).length,selectGoodsLength:0,allSkuLength:0,selectSkuLength:0};if(Object.keys(t).forEach((function(a){n.allSkuLength+=t[a].skuTotal,e[t[a].uniProductId]&&(e[t[a].uniProductId].rowExpandable||(n.selectGoodsLength+=1),t[a].skus.forEach((function(r){e[t[a].uniProductId].skus.forEach((function(e){r.skuId===e.skuId&&(n.selectSkuLength+=1)}))})))})),!n.allSkuLength&&!n.allGoodsLength)return Q(!1),void G(!1);n.allSkuLength&&n.selectSkuLength>=n.allSkuLength?(G(!1),Q(n.allSkuLength&&n.selectSkuLength>=n.allSkuLength)):(Q(!1),G(n.allGoodsLength&&n.selectGoodsLength>=n.allGoodsLength))}}),[B.globalSelect,B.globalTableList,z,U]);var ee=t.useRef(),te=function(){var t=g(p().mark((function t(n,a,o){var l;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u(!0),t.next=3,yt.getGoods(e.server,e.extraQuery,{page:{pageNo:a,pageSize:o},parameter:n},e.platShopList,B.globalSelect);case 3:l=t.sent,w&&Object.keys(l.data).forEach((function(e){Object.assign(l.data[e],{rowExpandable:!0})})),u(!1),j(!1),H(!1),B.setGlobalTableList(f({},l.data)),i(f(f({},r),{},{pageNum:a,pageSize:o,total:l.total}));case 10:case"end":return t.stop()}}),t)})));return function(e,n,a){return t.apply(this,arguments)}}(),ne=function(){O(!1)},ae=function(){var t=g(p().mark((function t(n){var o,s,u,c;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return _(!0),t.next=3,yt.batchImport(e.server,e.extraQuery,f(f({},n),{},{platCode:M,shopId:L}),e.platShopList);case 3:o=t.sent,_(!1),o.success?(s=l.default.createElement("div",null,l.default.createElement("span",null,"成功匹配商品".concat(o.data.data.length,"个,匹配失败").concat(o.data.notKeys.length,"个")),l.default.createElement(En,{list:o.data.notKeys},l.default.createElement("span",{style:Cn},"查看未成功明细"))),Dt(o.data.data)+Dt(B.globalSelect)>e.limit&&a.Message.error("匹配结果已超过商品可选上限,已自动选择".concat(e.limit-Dt(B.globalSelect),"件商品"),{duration:3e3}),o.data.notKeys.length?a.Message.error(s,{contextContainer:Se().querySelector(".goods-selector-pro-node"),duration:0,className:"goods-error"}):a.Message.success("成功匹配商品".concat(o.data.data.length,"个")),u=e.limit-Dt(B.globalSelect),c=o.data.data.slice(0,u),B.setAllGlobalSelect(c,!0),B.setAllGlobalSearch(c),i(f(f({},r),{},{pageNum:1,pageSize:o.data.data.length||10,total:o.data.data.length}))):a.Message.error("服务错误,匹配失败"),ne();case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),re=function(){var t=g(p().mark((function t(n){var r,i,o;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(z||U||W)){t.next=3;break}return a.Message.error("请先取消其他全选状态"),t.abrupt("return");case 3:if(r=0,i=Object.keys(B.globalTableList).map((function(e){return B.globalTableList[e]})),o=i.filter((function(e){return e.skus.length})),i.forEach((function(e){e.skus.forEach((function(e){r+=1}))})),r){t.next=10;break}return a.Message.error("当前页没有sku请重新筛选数据"),t.abrupt("return");case 10:if(Dt(B.globalSelect)+r<=e.limit||!n){t.next=13;break}return a.Message.error("最多可选".concat(e.limit,"条数据")),t.abrupt("return");case 13:B.setSkuToggleStatus(i,n),Q(n),B.setAllGlobalSelect(o,n);case 16:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ie=function(){var t=g(p().mark((function t(n){var r;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(Y||U||W)){t.next=3;break}return a.Message.error("请先取消其他全选状态"),t.abrupt("return");case 3:return N(f(f({},A),{},{goods:!0})),t.next=6,yt.queryAllGoods(e.server,e.extraQuery,d.query,e.limit,"goods",e.platShopList);case 6:if(r=t.sent,N(f(f({},A),{},{goods:!1})),r.success){t.next=11;break}return a.Message.error(r.msg),t.abrupt("return");case 11:if(Dt(B.globalSelect),Dt(B.globalSelect)+r.data.length<=e.limit||!n){t.next=15;break}return a.Message.error("最多可选".concat(e.limit,"条数据")),t.abrupt("return");case 15:k(!1),B.setSkuToggleStatus(r.data,!1),j(n),B.setAllGlobalSelect(r.data,n);case 19:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),oe=function(){var t=g(p().mark((function t(n){var r,i;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(Y||z||W)){t.next=3;break}return a.Message.error("请先取消其他全选状态"),t.abrupt("return");case 3:return N(f(f({},A),{},{sku:!0})),t.next=6,yt.queryAllGoods(e.server,e.extraQuery,d.query,e.limit,"skus",e.platShopList);case 6:if(r=t.sent,N(f(f({},A),{},{goods:!1})),r.success){t.next=11;break}return a.Message.error(r.msg),t.abrupt("return");case 11:if(i=0,r.data.forEach((function(e){e.skus.forEach((function(e){i+=1}))})),i){t.next=16;break}return a.Message.error("当前条件没有sku商品"),t.abrupt("return");case 16:if(i+Dt(B.globalSelect)<=e.limit){t.next=19;break}return a.Message.error("最多可选".concat(e.limit,"条数据")),t.abrupt("return");case 19:Object.keys(B.globalTableList).forEach((function(e){Object.assign(B.globalTableList[e],{rowExpandable:!0})})),B.setGlobalTableList(f({},B.globalTableList)),H(n),B.setAllGlobalSelect(r.data,n);case 23:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),le=t.useMemo((function(){var e=B.globalSelect,t=B.limit,n=0,a=Object.keys(e).map((function(t){return e[t]}));a.forEach((function(e){e.skus.forEach((function(e){n+=1}))}));var r=n?" ,包含sku(".concat(n,")种"):"";return"已选商品".concat(a.length,"/").concat(t,"件").concat(r)}),[B.globalSelect]);return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"goods-table-wrap"},X.length?l.default.createElement(mn,E({},e,{allQuery:X,onSearch:function(e){if(!s)if(5<e.prod_product_name.split(",").length)a.Message.error("商品名称最多设置5个关键字");else if(""+e.prod_stock.end&&e.prod_stock.start>e.prod_stock.end)a.Message.error("库存填写不正确,请检查");else if(""+e.prod_price.end&&e.prod_price.start>e.prod_price.end)a.Message.error("价格填写不正确,请检查");else{var t=f({},e),n=t.prod_outer_id,r=void 0===n?"":n,i=t.sku_outer_id,o=void 0===i?"":i;if(r||o){var l=Sn(r,"商品"),u=l.err,c=l.value,p=Sn(o,"SKU"),m=p.err,v=p.value;if(u||m)return void a.Message.error(u||m);r&&Object.assign(t,{prod_outer_id:c}),o&&Object.assign(t,{sku_outer_id:v})}var g=xt(St(X,t),t);y(t),h(f(f({},d),{},{query:g})),te(g,1,10)}},onChange:function(t){e.changeCondition(t)},forwardRef:ee,saveConditions:function(){var t=f({},ee.current.queryConditions);if(5<t.prod_product_name.split(",").length)a.Message.error("商品名称最多设置5个关键字");else if(""+t.prod_stock.end&&t.prod_stock.start>t.prod_stock.end)a.Message.error("库存填写不正确,请检查");else if(""+t.prod_price.end&&t.prod_price.start>t.prod_price.end)a.Message.error("价格填写不正确,请检查");else{var n=t.prod_outer_id,r=void 0===n?"":n,i=t.sku_outer_id,o=void 0===i?"":i;if(r||o){var l=Sn(r,"商品"),s=l.err,u=l.value,c=Sn(o,"SKU"),p=c.err,m=c.value;if(s||p)return void a.Message.error(s||p);r&&Object.assign(t,{prod_outer_id:u}),o&&Object.assign(t,{sku_outer_id:m})}var v=xt(St(X,t),t);if(v.length||a.Message.error("无效条件,请检查"),h(f(f({},d),{},{query:v})),e.conditionLen>B.globalConditions.length){var g=Nt(v);B.appendGlobalConditions(g),a.Message.success("添加成功")}else a.Message.error("最多添加".concat(e.conditionLen,"个查询条件"))}},loading:s})):l.default.createElement(a.Loading,null),l.default.createElement("div",{className:"goods-table-batch"},l.default.createElement("div",null,e.limit>1&&!e.readonly&&l.default.createElement(l.default.Fragment,null,l.default.createElement(a.Checkbox,{checked:z,onChange:function(e){ie(e)},disabled:A.goods},A.goods?"数据获取中":"全选商品"),"  ",e.supportSku&&l.default.createElement(l.default.Fragment,null,l.default.createElement(a.Checkbox,{checked:U,onChange:function(e){oe(e)},disabled:A.sku},A.sku?"数据获取中":"全选SKU"),"  "),l.default.createElement(a.Checkbox,{checked:W,onChange:function(t){!function(t){if(z||U||Y)a.Message.error("请先取消其他全选状态");else{var n=Object.keys(B.globalTableList).map((function(e){return B.globalTableList[e]}));Dt(B.globalSelect)+n.length>e.limit&&t?a.Message.error("最多可选".concat(e.limit,"条数据")):(k(!1),B.setSkuToggleStatus(n,!1),G(t),B.setAllGlobalSelect(n,t))}}(t)}},"全选当前页商品"),"  ",e.supportSku&&l.default.createElement(a.Checkbox,{checked:Y,onChange:function(e){re(e)}},"全选当页SKU"))),l.default.createElement("div",null,e.supportBatch&&e.limit>1&&!e.readonly&&l.default.createElement("span",{className:"goods-table-btn",onClick:function(){P(ee.current.queryConditions.shopId),F(ee.current.queryConditions.platCode),O(!0)}},"批量匹配"),e.supportSku&&l.default.createElement("span",{className:"goods-table-btn",onClick:function(){var e={};w||Object.keys(B.globalSelect).forEach((function(t){B.globalSelect[t].skus.length&&(e[t]=B.globalSelect[t])}));var t=Object.keys(B.globalTableList).map((function(e){return B.globalTableList[e]}));B.setSkuToggleStatus(t,!w),B.setGlobalSelect(e),j(!1),H(!1),G(!1),Q(!1),k(!w)}},w?"收起全部SKU":"展开全部SKU",l.default.createElement(a.Tooltip,{content:"如果只想选择特定sku,请点击商品后面的选择sku可选择当下商品的sku",placement:"top"},l.default.createElement(a.Icon,{className:"test",type:"question-circle",style:{fontSize:"14px",color:"rgb(49, 159, 225)",marginLeft:"2px",fontWeight:"bold"}}))))),l.default.createElement(vt,{dataSource:B.globalTableList,expandable:!0,checkedTotal:le,total:r.total,childrenKey:"skus",query:v,page:r.pageNum,pageSize:r.pageSize,toggleSku:function(e){j(!1),H(!1),G(!1),Q(!1),B.setSkuToggleStatus([e],!e.rowExpandable)},toggleChecked:function(t){var n=!0;n=t.skuId?!!B.globalSelect[t.uniProductId]&&!!B.globalSelect[t.uniProductId].skus.filter((function(e){return e.skuId===t.skuId})).length:!!B.globalSelect[t.uniProductId],n||Dt(B.globalSelect)<e.limit?B.setGlobalSelectItem([t]):a.Message.error("最多可选".concat(e.limit,"条数据"))},onPageChange:function(e,t){i(f(f({},i),{},{pageNum:e,pageSize:t})),te(d.query,e,t)},loading:s,selectObj:B.globalSelect,supportSku:e.supportSku,columnConfig:e.allColumn}),T&&l.default.createElement(wn,{supportSku:e.supportSku,visible:T,onClose:ne,onOk:ae,limit:e.limit,showConfirmLoading:S,isSelectedLength:B.globalSelect.length})))}var xn=null;function An(e){var n=rt(),r=function(){var e=I(t.useState({pageSize:10,pageNum:1}),2),n=e[0],a=e[1],r=I(t.useState(""),2),i=r[0],o=r[1],l=I(t.useState("productName"),2);return{selectPageData:n,setSelectPageData:a,searckKey:i,setSearckKey:o,selectValue:l[0],setSelectValue:l[1]}}(),i=r.selectPageData,o=r.setSelectPageData,s=r.searckKey,u=r.setSearckKey,c=r.selectValue,d=r.setSelectValue,h=function(){var e=I(t.useState({auto:[],manual:[]}),2);return{conditionList:e[0],setConditionList:e[1]}}(),m=h.conditionList,v=h.setConditionList,y=I(t.useState(!1),2),b=y[0],w=y[1],k=I(t.useState(!1),2),E=k[0],C=k[1],S=I(t.useState(!1),2),_=S[0],x=S[1],A=I(t.useState(""),2),D=A[0],T=A[1],O=I(t.useState(0),2),M=O[0],F=O[1],L=I(t.useState({newName:"",id:"",index:0}),2),P=L[0],B=L[1],R=[];t.useEffect((function(){var e=Se(),t=function(){return C(!1)};return e.addEventListener("click",t,!1),function(){return e.removeEventListener("click",t,!1)}}),[]);!function(){var e=Object.keys(n.globalSelect).map((function(e){return n.globalSelect[e]}));if(s)switch(c){case"productName":R=e.filter((function(e){var t;return!!e.productName&&-1!==(null===(t=e.productName)||void 0===t?void 0:t.search(RegExp(s,"i")))}));break;case"productId":R=e.filter((function(e){return e.productId===s}));break;case"outerId":R=e.filter((function(e){return e.outerId===s}));break;case"skuId":R=e.filter((function(e){var t=f({},e),n=e.skus.filter((function(e){return e.skuId===s}));return t.skus=n,t.skus.length}));break;case"outerSkuId":R=e.filter((function(e){var t=f({},e),n=e.skus.filter((function(e){return e.outerSkuId===s}));return t.skus=n,t.skus.length}));break;case"skuDetail":R=e.filter((function(e){var t=f({},e),n=e.skus.filter((function(e){return-1!==e.skuDetail.search(RegExp(s,"i"))}));return t.skus=n,t.skus.length}))}else R=e}();var z=R.slice((i.pageNum-1)*i.pageSize,i.pageNum*i.pageSize),j=function(e){var t=[];e.forEach((function(e){if(e.skus){if(!e.skus.length)return void t.push(e);e.skus.forEach((function(e){t.push(e)}))}})),n.setGlobalSelectItem(t)},V=function(){var t=g(p().mark((function t(n,r){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a.Modal.confirm({isShowIcon:!1,body:"确定删除常用查询条件吗?",onOk:function(){var t=g(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,yt.deleteCondition(e.server,e.extraQuery,n.id);case 2:if(t.sent.success){t.next=6;break}return a.Message.error("服务出错"),t.abrupt("return");case 6:C(!1),m.manual.splice(r,1),v(f(f({},m),{},{manual:N(m.manual)}));case 9:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),onCancel:function(){}});case 1:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),U=function(){var t=g(p().mark((function t(n,a){var r;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return B(f(f({},P),{},{id:n.id,index:a})),T(n.conditionName),w(!0),t.next=5,yt.findConditionCount(e.server,e.extraQuery);case 5:(r=t.sent).success&&F(r.data.count);case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),H=function(){w(!1)},q=function(){var t=g(p().mark((function t(n){var r,i,o;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.nativeEvent.stopImmediatePropagation(),E){t.next=10;break}return t.next=4,yt.conditionFindAll(e.server,e.extraQuery);case 4:(r=t.sent).success||a.Message.error("请求错误"),i=[],o=[],r.data.forEach((function(e){"manual"===e.conditionType?i.push(e):"auto"===e.conditionType&&o.push(e)})),v(f(f({},m),{},{manual:i,auto:o}));case 10:C(!E);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),W=function(){var t=g(p().mark((function t(){var n;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,yt.findConditionCount(e.server,e.extraQuery);case 2:(n=t.sent).success&&F(n.data.count),w(!0),T("");case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),G=function(){var t=g(p().mark((function t(){var r,i,o,l,s,u,c;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(C(!1),!P.id){t.next=24;break}return x(!0),t.next=5,yt.validationConditionName(e.server,e.extraQuery,D);case 5:if(!(r=t.sent).data.status){t.next=10;break}return a.Message.error(r.data.msg),x(!1),t.abrupt("return");case 10:return t.next=12,yt.renameCondition(e.server,e.extraQuery,{id:P.id,conditionName:P.newName});case 12:if(i=t.sent,x(!1),i.success){t.next=17;break}return a.Message.error(i.msg),t.abrupt("return");case 17:m.manual[P.index].conditionName=P.newName,v(f(f({},m),{},{manual:N(m.manual)})),B(f(f({},P),{},{index:0,id:"",newName:""})),a.Message.success("修改成功"),w(!1),t.next=51;break;case 24:if(D){t.next=27;break}return a.Message.error("查询条件名称不能为空"),t.abrupt("return");case 27:return x(!0),t.next=30,yt.validationConditionName(e.server,e.extraQuery,D);case 30:if(!(o=t.sent).data.status){t.next=35;break}return a.Message.error(o.data.msg),x(!1),t.abrupt("return");case 35:if(l=n.globalConditions.map((function(e){return e.value})),s=[],u=[],Object.keys(n.globalSelect).forEach((function(e){s.push(n.globalSelect[e].uniProductId),n.globalSelect[e].skus.forEach((function(e){u.push(e.skuId)}))})),l.length||s.length){t.next=43;break}return a.Message.error("没有查询条件或商品信息"),x(!1),t.abrupt("return");case 43:return t.next=45,yt.saveCondition(e.server,e.extraQuery,{conditionName:D,conditions:l,productIds:s,skuIds:u});case 45:if(c=t.sent,x(!1),c.success){t.next=50;break}return a.Message.error(c.msg),t.abrupt("return");case 50:a.Message.success("保存成功");case 51:w(!1);case 52:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),K=function(){var t=g(p().mark((function t(a){var r,i,o;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=a.conditions.map((function(e){return Nt(e)})),a.productIds.length){t.next=5;break}return n.setGlobalSelect({}),n.setGlobalConditions(r),t.abrupt("return");case 5:return t.next=7,yt.batchImport(e.server,e.extraQuery,{"prod.uni_product_ids":a.productIds,"sku.sku_ids":a.skuIds},e.platShopList);case 7:(i=t.sent).data.data.forEach((function(e){a.skuIds.length||Object.assign(e,{skus:[]}),e.skus.length&&Object.assign(e,{rowExpandable:!0})})),o={},i.data.data.forEach((function(e){o[e.uniProductId]=e})),n.setGlobalConditions(r),n.setGlobalSelect(f({},o));case 13:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Y=t.useMemo((function(){var e=n.globalSelect,t=n.limit,a=0,r=Object.keys(e).map((function(t){return e[t]}));r.forEach((function(e){e.skus.forEach((function(){a+=1}))}));var i=a?" ,包含sku(".concat(a,")种"):"";return"已选商品".concat(r.length,"/").concat(t,"件").concat(i)}),[n.globalSelect]);return l.default.createElement("div",{className:"cloud-select-tab-wrap goods-table-wrap"},l.default.createElement(a.Tips,{msg:"商品查询结果为已选商品、已选条件所查的商品之和。",style:{marginBottom:10}}),l.default.createElement("div",{className:"justify-between goods-form-pro"},l.default.createElement("div",{className:"history-list-wrap"},e.supportConditions&&l.default.createElement(a.Button,{type:"link",className:"f-szie-12",style:{paddingLeft:0},onClick:q},"常用查询条件"),l.default.createElement("div",{className:"history-list-container",style:{display:E?"block":"none"},onClick:function(e){return e.nativeEvent.stopImmediatePropagation()}},m.auto.length||m.manual.length?l.default.createElement(l.default.Fragment,null,m.auto.length?l.default.createElement("dl",null,l.default.createElement("dt",null,"最近"),m.auto.map((function(e,t){return l.default.createElement("dd",{key:""+t,title:"创建人:".concat(e.userName,",创建时间:").concat(e.insertTime),onClick:function(){K(e)}},"".concat(e.conditionName).concat(t+1))}))):"",m.manual.length?l.default.createElement("dl",{className:"scroll-container"},l.default.createElement("dt",null,"已保存的查询条件"),m.manual.map((function(e,t){return l.default.createElement("dd",{key:""+t,title:e.str},l.default.createElement("p",{onClick:function(){return K(e)},title:"创建人:".concat(e.userName,",创建时间:").concat(e.insertTime)},e.conditionName),l.default.createElement("div",{className:"pop-wrap"},l.default.createElement(a.Icon,{type:"edit",onClick:function(){return U(e,t)}}),l.default.createElement(a.Icon,{type:"delete",onClick:function(){return V(e,t)}})))}))):null):l.default.createElement("p",null,"暂无数据")))),e.supportConditions&&l.default.createElement("div",{className:"justify-between"},l.default.createElement("b",null,"已选商品")),l.default.createElement("div",{className:"justify-between"},l.default.createElement("div",{className:"remove-box"},!e.readonly&&l.default.createElement(l.default.Fragment,null,l.default.createElement("span",{onClick:function(){j(z)}},"移除当前页"),l.default.createElement("span",{onClick:function(){j(R)}},"移除全部"))),l.default.createElement("div",{className:"goods-form-item"},l.default.createElement(a.Select,{dataSource:e.supportSku?ct:ct.filter((function(e){return!e.isSku})),labelKey:"labelKey",valueKey:"valueKey",onChange:function(e){d(e)},value:"productName",width:"120px"}),l.default.createElement(a.Input,{onChange:function(e){var t=e.target.value;clearTimeout(xn),xn=setTimeout((function(){u(t),o(f(f({},i),{},{pageNum:1}))}),1e3)},placeholder:"输入内容后按回车进行搜索"}))),l.default.createElement(vt,{dataSource:z,expandable:!0,checkedTotal:Y,childrenKey:"skus",columnConfig:e.selectedColumn,removeSelect:function(e){n.setGlobalSelectItem([e])},total:R.length,page:i.pageNum,pageSize:i.pageSize,onPageChange:function(e,t){o(f(f({},i),{},{pageNum:e,pageSize:t}))},query:{prod_product_name:"productName"===c?s:"",sku_detail:"skuDetail"===c?s:""},supportSku:e.supportSku}),e.supportConditions&&l.default.createElement("div",{className:"query-list-wrap"},l.default.createElement("p",{style:{marginTop:"10px"}},l.default.createElement("b",null,"已选条件")),l.default.createElement("div",{className:"conditions-details"},0>=n.globalConditions.length&&l.default.createElement("div",{className:"none-box"},l.default.createElement(a.Icon,{type:"warning-circle-solid"}),"暂无数据"),n.globalConditions.length>0&&l.default.createElement("ul",null,n.globalConditions.map((function(t,a){return l.default.createElement("li",{key:""+a,title:""+t.title},l.default.createElement("p",null,t.str),!e.readonly&&l.default.createElement("span",{onClick:function(){!function(e){n.removeGlobalConditions(e)}(a)}},"移除"))})))),!e.readonly&&l.default.createElement(a.Button,{type:"primary",size:"small",onClick:W},"保存为常用查询条件")),b&&l.default.createElement(a.Modal,{title:"创建常用查询条件",visible:b,showConfirmLoading:_,onOk:G,onCancel:H,onClose:H,modalStyle:{maxWidth:"570px"}},l.default.createElement("div",{className:"".concat(Ce,"-goods-selector-pro-create-history")},l.default.createElement("ul",null,l.default.createElement("li",null,"1.可创建和保存最近的30个商品查询条件;超过30个时,系统将按从早及晚规则删除。"),l.default.createElement("li",null,"2.保存成功后,可点击【常用查询条件】找到保存过的查询条件。")),l.default.createElement("div",null,l.default.createElement("div",{className:"input-info"},l.default.createElement("p",null,"查询条件名称:"),l.default.createElement(a.Input,{placeholder:"请输入查询条件名称",value:D,onChange:function(e){T(e.target.value),P.id&&B(f(f({},P),{},{newName:e.target.value}))},maxLength:20})),l.default.createElement("div",{className:"input-info"},l.default.createElement("p",null,"已保存:"),l.default.createElement("span",null,M,"条"))))))}function In(e){var t=e.help,n=void 0===t?"":t,r=e.children,i=e.disabled,o=e.entryText,s=void 0===o?"":o,u=e.entryAction,c=void 0===u?function(){}:u;return l.default.createElement("div",{className:"condition-widget-box","data-disabled":void 0!==i&&i},l.default.createElement("div",{className:"condition-widget-box-content"},void 0===r?null:r),l.default.createElement("div",{className:"condition-widget-box-action"},n&&l.default.createElement(a.Tooltip,{content:n},l.default.createElement("div",{className:"condition-widget-box-action-help"},l.default.createElement(a.Icon,{type:"question-circle"}))),s&&l.default.createElement("span",{onClick:c},s)))}var Nn=["platCode","shopId","fetcher"];var Dn=["value","context","mode"];function Tn(e){var n=e.value,r=void 0===n?{}:n,i=e.context,o=e.mode,s=x(e,Dn),u=k(k({},dt.PROD_CATEGORY_ID,yt.getGoodsCategory),dt.PROD_SELLER_ID,yt.getGoodsDefaultCategory)[o],c=I(t.useState(r.shop?r.shop.value:""),2),d=c[0],h=c[1],m=I(t.useState(r.plat?r.plat.value:""),2),v=m[0],y=m[1],b=i.platShopList,w=function(e){var n=e.platCode,a=e.shopId,r=e.fetcher,i=x(e,Nn),o=i.extraQuery,l=i.server,s=I(t.useState(!1),2),u=s[0],c=s[1],d=I(t.useState([]),2),h=d[0],m=d[1],v=function(){var e=g(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(e){return e.map((function(e){var n=e.children||[];return n.length&&(n=t(n)),f(f({},e),{},{children:t(e.children),value:e.id,label:e.name})}))},n&&a){e.next=4;break}return m([]),e.abrupt("return");case 4:if(!u){e.next=6;break}return e.abrupt("return");case 6:return c(!0),e.next=9,r(l,o,{platCode:n,shopId:a});case 9:m(t(e.sent.data.data||[])),c(!1);case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return t.useEffect((function(){v()}),[n,a]),{categories:h,loading:u}}(f({platCode:v,shopId:d,fetcher:u},i)),C=w.categories,S=w.loading,_=I(t.useState(r.categories||[]),2),A=_[0],D=_[1],T=t.useState(b.reduce((function(e,t){return e.map((function(e){return e.value})).includes(t.platCode)||e.push({value:t.platCode,label:t.platName}),e}),[])),O=I(T,1)[0],M=t.useState(b.reduce((function(e,t){return e[t.platCode]=e[t.platCode]||[],e[t.platCode].push({label:t.shopName,value:t.shopId}),e}),[])),F=I(M,1)[0],L=v?F[v]:[];t.useEffect((function(){var e=v||O[0].value,t=d||F[e][0].value;setTimeout((function(){h(t),y(e)}),300)}),[]);var P=function(e,t){D(t)},B=0>=C.length;return l.default.createElement(a.Modal,E({title:"选择类目",modalStyle:{width:500},bodyStyle:{height:275}},s,{onOk:function(){s.onOk({plat:O.find((function(e){return[v].includes(e.value)})),shop:L.find((function(e){return[d].includes(e.value)})),categories:N(A)})}}),l.default.createElement(a.Form,{layout:"horizontal",labelCol:{span:5},wrapperCol:{span:15}},l.default.createElement(a.Form.Item,{label:"选择店铺"},l.default.createElement(a.Select,{style:{marginRight:8,width:80},dataSource:O,placeholder:"选择平台",value:v,onChange:function(e){var t=F[e][0].value;P(0,[]),y(e),h(t)}}),l.default.createElement(a.Select,{style:{width:190},dataSource:L,placeholder:"选择店铺",value:d,onChange:function(e){h(e),D([])}})),l.default.createElement(a.Form.Item,{label:"选择类目"},l.default.createElement(a.Loading,{loading:S,size:"small",className:"category-loading-wrapper"},l.default.createElement(a.TreeSelect,{type:"multiple",style:{width:278},value:A,disabled:B,searchable:!0,dataSource:C,placeholder:B?"暂无类目数据":"选择类目",hasConfirmButton:!0,onOk:P})))))}function On(e){var n=e.help,r=e.value,i=e.onChange,o=rt(),s=I(t.useState({}),2),u=s[0],c=s[1];t.useEffect((function(){c({})}),[r.field.field]);var d=function(e){var t;e.stopPropagation(),(t={context:o,mode:r.field.field,value:u},a.Modal.createModal(Tn).open(t)).then((function(e){c(e),i(e)}))};return l.default.createElement(In,{help:n,entryText:"选择类目",entryAction:d},l.default.createElement("div",{className:"condition-widget-category",onClick:d},function(){var e=u.shop,t=u.categories;return e&&t.length?"".concat(e.label," > ").concat(""+t.map((function(e){return e.label}))):null}()))}var Mn=["context","platInfo"];function Fn(e){var n=e.context,r=e.platInfo,i=x(e,Mn),o=n.platShopList,s=t.useState(o.reduce((function(e,t){return e.map((function(e){return e.value})).includes(t.platCode)||e.push({value:t.platCode,label:t.platName}),e}),[])),u=I(s,1)[0],c=t.useState(o.reduce((function(e,t){return e[t.platCode]=e[t.platCode]||[],e[t.platCode].push({label:t.shopName,value:t.shopId}),e}),[])),d=I(c,1)[0],f=I(t.useState(""),2),p=f[0],h=f[1],m=I(t.useState([]),2),v=m[0],g=m[1],y=p?d[p]:[];t.useEffect((function(){r.plat?setTimeout((function(){var e=r.shops;h(r.plat.value),g(e.map((function(e){return e.value})))}),150):h(u[0].value)}),[u,r]),t.useEffect((function(){g([])}),[p]);return l.default.createElement(a.Modal,E({title:"选择店铺",modalStyle:{width:530},bodyStyle:{height:200}},i,{onOk:function(){var e={plat:u.find((function(e){return e.value===p})),shops:y.filter((function(e){return v.includes(e.value)}))};JSON.stringify(r)===JSON.stringify(e)?i.onCancel():i.onOk(e)}}),l.default.createElement(a.Form,{layout:"inline"},l.default.createElement(a.Form.Item,{label:"平台"},l.default.createElement(a.Select,{style:{width:80},value:p,onChange:function(e){h(e)},dataSource:u})),l.default.createElement(a.Form.Item,{label:"店铺"},l.default.createElement(a.Select,{multiple:!0,value:v,style:{width:220,marginLeft:10},dataSource:y,onChange:function(e){g(e)},placeholder:"选择店铺"}))))}function Ln(e){var n=e.help,r=e.field,i=e.onChange,o=rt(),s=I(t.useState({}),2),u=s[0],c=s[1],d=(r.getValue(dt.SHOP_ID)||{value:{}}).value,f=void 0===d?{}:d,p=f.shops,h=void 0===p?[]:p,m=f.plat,v=""+h.map((function(e){return e.value})),g=function(e){var t;e.stopPropagation(),(t={context:o,platInfo:u},a.Modal.createModal(Fn).open(t)).then((function(e){i(e),c(e)}))};t.useEffect((function(){m&&c({plat:m,shops:h})}),[v]);var y=t.useMemo((function(){var e=u.plat,t=u.shops,n=[],a=[];return e&&n.push(e.label),t&&a.push.apply(a,N(t.map((function(e){return e.label})))),n.concat(a.join(", ")).join(" > ")}),[u]);return l.default.createElement(In,{help:n,entryText:"选择店铺",entryAction:g},l.default.createElement("div",{className:"condition-widget-shop-selector",onClick:g},y))}function Pn(e){var n=e.help,r=e.name,i=e.operator,o=e.value,s=e.onChange,u=o.value,c=o.field.type,d=I(t.useState(Array.isArray(u)?u[0]:u),2),f=d[0],p=d[1];t.useEffect((function(){p("")}),[r,i]);return l.default.createElement(In,{help:n},l.default.createElement(a.Form.Nexus,null,l.default.createElement(a.InputNumber,{max:999999999,min:0,value:f,onChange:function(e){s(e),p(e)},precision:"NUMBER_INT"===c?0:2})))}function Bn(e){return e.map((function(e){return Number.isNaN(Number(e))?"":e}))}function Rn(e){var n=e.help,r=e.name,i=e.operator,o=e.value,s=e.onChange,u=o.value,c=o.field.type,d=I(Array.isArray(u)?u:[u],2),f=d[0],p=d[1],h=void 0===p?void 0:p,m=I(t.useState(void 0===f?void 0:f),2),v=m[0],g=m[1],y=I(t.useState(h),2),b=y[0],w=y[1];t.useEffect((function(){Array.isArray(u)||k(u)}),[o]),t.useEffect((function(){g(""),w("")}),[r,i]);var k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";g(e),s(Bn([e,b]))};return l.default.createElement(In,{help:n},l.default.createElement(a.Form.Nexus,null,l.default.createElement(a.InputNumber,{max:b||999999999,min:0,value:v,onChange:k,style:{width:"calc((100% - 20px) / 2)"},precision:"NUMBER_INT"===c?0:2}),l.default.createElement("span",{style:{display:"inline-block",width:20,textAlign:"center"}}," - "),l.default.createElement(a.InputNumber,{max:999999999,min:v||0,value:b,onChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";w(e),s(Bn([v,e]))},onHandleMin:!0,style:{width:"calc((100% - 20px) / 2)"},precision:"NUMBER_INT"===c?0:2})))}var zn=["value"],jn=[{label:"回车",value:"\n"},{label:"英文逗号",value:/[,,]/g},{label:"英文分号",value:";"},{label:"英文引号",value:/['"]/g}];function Vn(e){var t=e.value,n=x(e,zn),r=a.Field.useField(),i=r.init;return l.default.createElement(a.Modal,E({title:"批量输入",modalStyle:{width:530,fontSize:"12px"}},n,{onOk:function(){r.validate((function(e,t){var r=t.symbol,i=t.data;if(!e){var o=[],l=jn.find((function(e){return e.value===r}));if(o=l&&l.match?i.match(r)||[]:i.split(r),o=N(new Set(o.filter((function(e){return e})))),o.length>n.limit)a.Message.error("批量输入不能超过".concat(n.limit,"个"));else if(""!==i&&0===o.length);else{var s=o.join(",").replace(/\s*/g,"").split(",");n.onOk(s)}}}))}}),l.default.createElement(a.Form,{layout:"horizontal",field:r,labelCol:{span:5}},l.default.createElement(a.Form.Item,{label:"选择分隔符"},l.default.createElement(a.Select,E({style:{width:150},dataSource:jn},i("symbol",{initValue:"\n"})))),l.default.createElement(a.Form.Item,{label:"输入匹配数据"},l.default.createElement("p",{style:{color:"#999999"}},"可输入",n.limit,"条数据"),l.default.createElement(a.Input.Textarea,E({rows:6},i("data",{initValue:t&&Array.isArray(t)?t.join("\n"):""}))))))}var Un=dt.PROD_PRODUCT_ID,Hn=dt.PROD_OUTER_ID,qn=dt.PROD_PRODUCT_NAME,Wn=dt.SKU_SPECIFICATION,Gn=dt.SKU_SKU_ID,Kn=ft.EQ,Yn=ft.LINK,Qn=ft.SUB_PATTERN,Jn=ft.ISNULL,Xn=ft.NONULL,Zn=/,\s*/g;function $n(e){var n=e.help,r=e.name,i=e.operator,o=e.onChange,s=e.limit,u=e.value.field.groupName,c=I(t.useState([]),2),d=c[0],f=c[1];t.useEffect((function(){f([])}),[r,i]);var p=function(e){var t=e.split(Zn);![qn,Wn].includes(r)&&"商品基本属性"===u||[Kn,Yn].includes(i)||5>=t.length?t.length>s&&(t.length=s):t.length=5;var n=t.join(",").replace(/\s*/g,"").split(",");o(n),f(n)},h=t.useMemo((function(){return[Un,Hn,Gn].includes(r)&&![Qn,Jn,Xn].includes(i)?"支持输入".concat(s,"个,英文逗号分隔"):![qn,Wn].includes(r)&&"商品基本属性"===u||[Kn,Yn].includes(i)?"":"支持5个关键字,英文逗号分隔,多个关键字为或者的关系"}),[r,i]);return l.default.createElement(In,{help:n,entryText:i===ft.EQ||i===ft.NOT_EQ?"批量输入":"",entryAction:function(){var e;(e={value:d,limit:s},a.Modal.createModal(Vn).open(e)).then((function(e){o(e),f(e)}))}},l.default.createElement(a.Input,{value:""+d.map((function(e){return e.replace(/[\n\t\r]/g,"")})),onChange:function(e){return p(e.target.value)},placeholder:h}))}var ea=["value","relation"];function ta(e){var n=e.value,r=e.relation,i=x(e,ea),o=a.Field.useField(),s=o.init,u=I(t.useState(n||[]),2),c=u[0],d=u[1],f=I(t.useState(""),2),p=f[0],h=f[1],m=c.length>=5;return l.default.createElement(a.Modal,E({title:"设置文本查询规则",modalStyle:{width:530,fontSize:"12px"}},i,{onOk:function(){o.validate((function(e,t){i.onOk({relation:t.relation,value:N(c)})}))}}),l.default.createElement(a.Form,{layout:"horizontal",field:o,labelCol:{span:5}},l.default.createElement(a.Form.Item,{label:"关键字关系",required:!0},l.default.createElement(a.Radio.Group,s("relation",{initValue:r||0}),l.default.createElement(a.Radio,{value:0},"或者"),l.default.createElement(a.Radio,{value:1},"并且"))),l.default.createElement(a.Form.Item,{label:"关键字"},l.default.createElement("div",{className:"match-key"},c.length?c.map((function(e){return l.default.createElement(a.Tag,{key:e,checked:!0,closable:!0,onClose:function(){return t=e,void d(c.filter((function(e){return e!==t})));var t}},e)})):l.default.createElement("div",{style:{color:"#999999"}},"暂无信息")),l.default.createElement("div",{className:"match-key-add"},l.default.createElement(a.Input,{value:p,style:{marginRight:10,width:"80%"},disabled:m,onChange:function(e){return h(e.target.value)},maxLength:50,placeholder:m?"最多5个关键字":""}),l.default.createElement(a.Button,{type:"primary",onClick:function(){var e=p.trim();c.includes(e)?a.Message.error("不能添加重复关键字"):(d([].concat(N(c),[e])),h(""))},disabled:!p||m},"添加")))))}function na(e){var n=e.help,r=e.name,i=e.operator,o=e.onChange,s=I(t.useState([]),2),u=s[0],c=s[1],d=I(t.useState(0),2),f=d[0],p=d[1];t.useEffect((function(){c([])}),[r,i]);var h=function(e){var t;e.stopPropagation(),(t={value:u,relation:f},a.Modal.createModal(ta).open(t)).then((function(e){c(e.value),p(e.relation),o({relation:e.relation,value:e.value})}))};return l.default.createElement(In,{help:n,entryText:u.length?"高级":"",entryAction:h},l.default.createElement("div",{className:"condition-widget-match",onClick:h},1===f?u.map((function(e){return'"'.concat(e,'"')})).join(" 和 "):u.join(", ")))}var aa=["value"];function ra(e){var n=e.value,r=void 0===n?{}:n,i=x(e,aa),o=I(t.useState("number"==typeof r.begin?r.begin:""),2),s=o[0],u=o[1],c=I(t.useState("number"==typeof r.end?r.end:""),2),d=c[0],f=c[1],p=I(t.useState(r.value),2),h=p[0],m=p[1],v=t.useMemo((function(){return Math.min(""!==d?d:1/0,125)}),[d]);return l.default.createElement(a.Modal,E({title:"设置字符模式规则",modalStyle:{width:580,fontSize:"12px",color:"#3D3D3D"}},i,{onOk:function(){""!==s&&""!==d?""!==h.trim()?h.length===d-s+1?i.onOk({begin:s,end:d,value:h}):a.Message.error("字符截断长度必须和位数匹配"):a.Message.error("匹配文本不能为空"):a.Message.error("字符位数不能为空")}}),l.default.createElement(a.Tips,{msg:"可设置一个字符的规则,查询时,若数据符合以下模式的规则,则视作符合条件。"}),l.default.createElement(a.Form,{layout:"horizontal",labelCol:{span:5}},l.default.createElement(a.Form.Item,{label:"规则预览"},l.default.createElement("p",null,"第 ",s||"0"," 位-第 ",d||"0"," 位数据为 ",h||"-"," 时,视为符合条件")),l.default.createElement(a.Form.Item,{label:"字符位数"},l.default.createElement("div",null,l.default.createElement(a.InputNumber,{min:1,max:v,value:s,onChange:function(e){u(e)},precision:0,placeholder:""}),l.default.createElement("span",null," - "),l.default.createElement(a.InputNumber,{min:s,value:d,onChange:function(e){f(e)},precision:0,placeholder:""}))),l.default.createElement(a.Form.Item,{label:"匹配文本"},l.default.createElement(a.Input,{maxLength:50,value:h,onChange:function(e){m(e.target.value)},onBlur:function(){setTimeout((function(){if(h){var e=h.length;s>e&&u(e),d>e&&f(e)}}),100)}}))))}function ia(e){var n=e.help,r=e.onChange,i=I(t.useState(null),2),o=i[0],s=i[1],u=I(t.useState(null),2),c=u[0],d=u[1],f=I(t.useState(""),2),p=f[0],h=f[1],m=function(e){var t;e.stopPropagation(),(t={value:{begin:o,end:c,value:p}},a.Modal.createModal(ra).open(t)).then((function(e){s(e.begin),d(e.end),h(e.value),r(e)}))};return l.default.createElement(In,{help:n,entryText:"设置规则",entryAction:m},l.default.createElement("div",{className:"condition-widget-pattern",onClick:m},p?"第".concat(o,"-第").concat(c,"位,数据为 ").concat(p):""))}function oa(e){var n=e.help,r=e.name,i=e.operator,o=e.onChange,s=I(t.useState(""),2),u=s[0],c=s[1];t.useEffect((function(){c("")}),[r,i]);var d=function(e){if(e.split(/,\s*/g).length>500){var t=e.split(/,\s*/g);t.length=500,o(t=""+t),c(t)}else o(e),c(e)};return l.default.createElement(In,{help:n},l.default.createElement(a.Input,{value:u,onChange:function(e){return d(e.target.value)}}))}function la(e){var n=e.help,r=e.value,i=e.onChange,o=r.field,s=o.type,u=o.dataSource,c=I(t.useState(r.value),2),d=c[1];return l.default.createElement(In,{help:n},l.default.createElement(a.Select,{multiple:"MULTIPLE_SELECT"===s||"DATE_M"===s,style:{width:"100%",maxWidth:"auto"},dataSource:u,placeholder:"点击选择",value:c[0],allowClear:!0,onChange:function(e){i(e),d(e)}}))}var sa="SELECT_MULTIPLE_TREE";function ua(e){var n=e.help,r=e.value,i=e.onChange,o=r.field,s=o.type,u=o.dataSource,c=I(t.useState(r.value),2),d=c[1];return l.default.createElement(In,{help:n},l.default.createElement(a.TreeSelect,{key:o.field,multiple:s===sa,style:{width:"100%",maxWidth:"100%"},dropdownStyle:{width:"100%",maxWidth:"100%"},dataSource:u,placeholder:"点击选择",isUnfold:!0,value:c[0],allowClear:!0,onChange:function(e,t){s===sa?(i(t),d(t)):(i(e),d(e))}}))}function ca(e){var n=e.help,r=e.name,i=e.operator,o=e.onChange,s=e.value.value,u=I(t.useState("string"==typeof s?s:""),2),c=u[0],d=u[1];t.useEffect((function(){d("")}),[r,i]);return l.default.createElement(In,{help:n},l.default.createElement(a.Form.Nexus,null,l.default.createElement(a.Datepicker,{value:c,onChange:function(e){o(e),d(e)},minDate:new Date(1900,1,1),format:"YYYY/MM/DD"})))}function da(e){var n=e.help,r=e.name,i=e.operator,o=e.onChange,s=e.value.value,u=I(t.useState("object"===m(s)?s:{}),2),c=u[0],d=u[1];t.useEffect((function(){d({})}),[r,i]);return l.default.createElement(In,{help:n},l.default.createElement(a.Form.Nexus,null,l.default.createElement(a.Datepicker.RangePicker,{value:c,position:"auto",minDate:new Date(1900,1,1),onChange:function(e){var t=Object.assign({},c||{},e);o(t),d(t)},format:"YYYY/MM/DD"})))}function fa(e){var n=e.help,r=e.name,i=e.operator,o=e.onChange,s=e.value.value,u=I(t.useState("string"==typeof s?s:""),2),c=u[0],d=u[1];t.useEffect((function(){d("")}),[r,i]);return l.default.createElement(In,{help:n},l.default.createElement(a.Form.Nexus,null,l.default.createElement(a.Datepicker.MonthDayPicker,{value:c,position:"auto",onChange:function(e){o(e),d(e)},min:"01/01",max:"12/31",placeholder:"月/日",format:"MM/DD"})))}function pa(e){var n=e.help,r=e.name,i=e.operator,o=e.onChange,s=e.value.value,u=I(t.useState("object"===m(s)?s:{}),2),c=u[0],d=u[1];t.useEffect((function(){d({})}),[r,i]);var p=function(e,t){var n=f({},c);n[t]=e,o(n),d(n)};return l.default.createElement(In,{help:n},l.default.createElement(a.Form.Nexus,null,l.default.createElement("div",null,l.default.createElement(a.Datepicker.MonthDayPicker,{value:c.start,position:"auto",min:"01-01",max:c.end,placeholder:"月/日",format:"MM/DD",onChange:function(e){return p(e,"start")}})," - ",l.default.createElement(a.Datepicker.MonthDayPicker,{value:c.end,position:"auto",min:c.start,max:"12-31",placeholder:"月/日",format:"MM/DD",onChange:function(e){return p(e,"end")}}))))}var ha=function(){function e(){y(this,e)}return w(e,[{key:"get",value:function(e,t){switch(e.type){case"BATCH_ADD":return this.getBatchAdd(t);case"DATE_YMD":return this.getDate(t);case"DATE_MD":return this.getMonthDayRange(t);case"STRING":return this.getString(t);case"CODING":return this.getCoding(t,e.field);case"SELECT":case"MULTIPLE_SELECT":case"DATE_M":return this.getSelect(t);case"CATEGORY_SELECT_TREE":return this.getCategorySelectTree(t);case"SELECT_TREE":case"SELECT_MULTIPLE_TREE":return this.getSelectTree(t);case"SHOP_SELECTOR":return Ln;case"NUMBER_INT":case"NUMBER_DECIMAL":return this.getNum(t);case"NO_VALUE":return null}return null}},{key:"getBatchAdd",value:function(e){return e===ft.EQ?$n:null}},{key:"getDate",value:function(e){switch(e){case ft.GT:case ft.LT:case ft.EQ:case ft.NOT_EQ:return ca;case ft.BETWEEN_OPEN:case ft.BETWEEN_CLOSE:return da;default:return null}}},{key:"getMonthDayRange",value:function(e){switch(e){case ft.GT:case ft.LT:case ft.EQ:case ft.NOT_EQ:return fa;case ft.BETWEEN_OPEN:case ft.BETWEEN_CLOSE:return pa;default:return null}}},{key:"getString",value:function(e){switch(e){case ft.EQ:case ft.NOT_EQ:return oa;case ft.BEGIN_LIKE:case ft.END_LIKE:return $n;case ft.LIKE:return na;default:return null}}},{key:"getCoding",value:function(e,t){switch(e){case ft.EQ:case ft.NOT_EQ:case ft.BEGIN_LIKE:case ft.END_LIKE:return $n;case ft.BEGIN_LIKE:case ft.END_LIKE:return na;case ft.SUB_PATTERN:return ia;default:return null}}},{key:"getCategorySelectTree",value:function(e){switch(e){case ft.EQ:case ft.NOT_EQ:return On;default:return null}}},{key:"getSelect",value:function(e){switch(e){case ft.EQ:case ft.NOT_EQ:return la;default:return null}}},{key:"getSelectTree",value:function(e){switch(e){case ft.EQ:case ft.NOT_EQ:return ua;default:return null}}},{key:"getNum",value:function(e){switch(e){case ft.GT:case ft.LT:case ft.EQ:case ft.NOT_EQ:return Pn;case ft.BETWEEN_OPEN:case ft.BETWEEN_CLOSE:return Rn;default:return null}}}]),e}(),ma=new ha,va="setting-conditions",ga=va,ya="".concat(va,"-item"),ba="".concat(va,"-field"),wa="".concat(va,"-operator"),ka="".concat(va,"-action"),Ea={conditions:ga,item:ya,field:ba,operator:wa,help:"".concat(va,"-help"),remove:"".concat(va,"-remove"),action:ka},Ca=k(k(k(k(k(k(k(k(k(k({},dt.SHOP_ID,"\n\t\t<div>1. 数据来源:平台生成的商品唯一标识。</div>\n\t\t<div>2. 同步机制:淘宝实时更新;京东、有赞平台每2小时更新一次;抖音平台每天更新一次;苏宁平台每1小时更新一次;线下平台按接入需求同步。</div>\n\t\t<div>3. 京东自营平台商品根据订单实时更新。</div>\n\t"),dt.PROD_OUTER_ID,"\n\t\t<div>1. 数据来源:商家后台发布商品时,维护的商品商家编码;建议在商家后台维护您ERP的商品编码。</div>\n\t\t<div>2. 不支持京东自营店铺。</div>\n\t"),dt.PROD_CATEGORY_ID,"\n\t\t<div>1. 不支持京东自营店铺、有赞、苏宁。</div>\n\t\t<div>2. 同步机制:淘宝、京东POP每天更新一次,抖音平台每2天更新一次;线下平台按接入需求同步。</div>\n\t"),dt.PROD_SELLER_ID,"\n\t\t<div>1. 不支持京东自营店铺、抖音、线下平台。</div>\n\t\t<div>2. 同步机制:淘宝、京东POP、有赞、苏宁每天更新一次。</div>\n\t"),dt.PROD_STOCK,"\n\t\t<div>1. 不支持京东自营店铺。</div>\n\t"),dt.PROD_PRICE,"\n\t\t<div>1. 数据来源:淘宝、京东POP为商品原价;抖音平台该价格为折后商品价格;</div>\n\t"),dt.PROD_ONLINE_TIME,"\n\t\t<div>1. 不支持有赞、抖音、京东自营、苏宁。</div>\n\t"),dt.SKU_SKU_ID,"\n\t\t<div>1. 数据来源:平台生成的SKU唯一标识。</div>\n\t\t<div>2. 不支持京东自营。</div>\n\t\t<div>3. 同步机制:淘宝、抖音每天更新一次;京东、有赞每2小时更新一次;苏宁每小时更新一次。线下平台按接入需求同步。</div>\n\t"),dt.SKU_OUTER_ID,"\n\t\t<div>1. 不支持线下平台、京东自营。</div>\n\t"),dt.SKU_STATUS,"\n\t\t<div>1. 不支持线下平台、京东自营。</div>\n\t"),Sa=null,_a=a.Select.Option;function xa(e){var n=e.field,r=e.fields,i=e.formField,o=e.usedFields,s=e.onChangeField,u=e.onRemoveField,c=e.getFieldByValue,d=e.getOperatorByField,p=e.limit;i.init("usedFields",{initValue:o});var h=I(t.useState(n.value.field),2),m=h[0],v=h[1],g=I(t.useState(n.value.operator),2),y=g[0],b=g[1],w=I(t.useState([]),2),k=w[0],E=w[1],C=I(t.useState([]),2),S=C[0],_=C[1];t.useEffect((function(){var e=o.filter((function(e){return e.value&&e.value.field!==m})).map((function(e){return e.value.field}));E(r.filter((function(t){return!e.includes(t.value)}))),i.setValue("usedFields",o)}),[r,o]),t.useEffect((function(){m&&(_(d(m)),b(c(m).operator[0].value))}),[m]),t.useEffect((function(){m&&x(m,y)}),[m,y]);var x=function(e,t){var a=c(e);s({id:n.id,source:a,value:{field:e,operator:t}}),i.setValue(a.value,f(f({},i.getValue(a.value)||{}),{},{field:a,operator:a.operator.find((function(e){return e.value===t}))})),clearTimeout(Sa),Sa=setTimeout((function(){i.onChange(null,null,i.getValues())}),300)},A=t.useCallback((function(){if(!y||!m)return null;var e=ma.get(n.source,y),t=i.init(m,{initValue:{field:r.find((function(e){return e.value===m})),operator:d(m).find((function(e){return e.value===y}))}}),a=t.onChange;return e?l.default.createElement(e,{name:m,operator:y,value:t.value,onChange:function(e){a({value:e,field:r.find((function(e){return e.value===m})),operator:d(m).find((function(e){return e.value===y}))})},field:i,limit:p,help:Ca[m]||""}):null}),[n]);return l.default.createElement("div",{className:Ea.item},l.default.createElement(a.Select,{className:Ea.field,searchable:!0,value:m,onChange:function(e){i.remove([m]),v(e)}},k.map((function(e,t){return l.default.createElement(_a,{value:e.value,key:t},l.default.createElement(a.Tooltip,{content:e.label,placement:"top-left"},l.default.createElement("p",null,e.label)))}))),l.default.createElement(a.Select,{className:Ea.operator,dataSource:S,value:y,onChange:function(e){b(e),i.reset([m])}}),A(),l.default.createElement(a.Icon,{type:"delete",className:Ea.remove,onClick:function(){u(n.id)}}))}var Aa=t.memo(xa),Ia=t.createContext({onReset:function(){}}),Na=["sku_flag","sku.sku_id","sku.outer_id","sku.specification","sku.status","sku.price","sku.stock"];var Da=["onClick","children"],Ta=["onClick","children"],Oa=["onClick","children"];function Ma(e){var n=e.children,r=e.onReset,i=e.onSubmit,o=e.onValidate,s=e.supportSku,u=e.allQuery,c=e.limit,d=function(e,n){var a=I(t.useState([]),2),r=a[0],i=a[1];t.useEffect((function(){var t=n;e||(t=n.filter((function(e){return!1===Na.includes(e.field)})));var a=t.map((function(e){return f(f({},e),{},{label:e.desc,value:e.field,operator:e.value})}));i(a)}),[]);var o=t.useCallback((function(e,t){var n=r.find((function(t){return t.value===e}));return n?N(n.operator):void 0!==t?t:[]}),[r]);return{fields:r,getFieldByValue:function(e){return r.find((function(t){return t.value===e}))},getNotUseFields:function(e){var t=e.map((function(e){return e.value.field}));return r.filter((function(e){return!t.includes(e.value)}))},getOperatorByField:o}}(s,N(u)),p=d.fields,h=d.getNotUseFields,m=d.getFieldByValue,v=d.getOperatorByField,g=I(t.useState([]),2),y=g[0],b=g[1],w=a.Field.useField({onChange:function(e,t,n){k(n)}}),k=function(e,t){var n=(t||e.usedFields).map((function(t,n){return e[t.source.value]}));return n},E=function(){b(p.slice(0,4).map((function(e){return Fa(e)})))};t.useEffect((function(){E()}),[p]);return l.default.createElement(Ia.Provider,{value:{fields:p,formField:w,usedFields:y,supportSku:s,allQuery:u,getFieldByValue:m,getOperatorByField:v,limit:c,onReset:function(){w.reset(Object.keys(w.getValues())),E(),r&&r()},onSubmit:function(){i&&i(k(w.getValues()))},onValidate:function(){o&&o(k(w.getValues()))},onAddField:function(){b([].concat(N(y),[Fa(h(y).shift())]))},onHandleField:function(e){b(y.map((function(t){return t.id===e.id?e:t})))},onRemoveField:function(e){var t=N(y),n=t.find((function(t){return t.id===e})),a=t.filter((function(t){return t.id!==e}));w.remove([n.source.field]),b(a)}}},n)}function Fa(e){return{id:"FIELD_ID_".concat(Math.random()),source:e,value:{field:e.value,operator:e.operator[0].value}}}function La(e){var n=function(){var e=I(t.useState(!1),2),n=e[0],a=e[1],r=I(t.useState([]),2),i=r[0],o=r[1],l=I(t.useState({pageSize:10,pageNum:1,total:0}),2),s=l[0],u=l[1],c=I(t.useState([]),2);return{queryData:i,setQueryData:o,pageData:s,setPageData:u,listData:c[0],setListData:c[1],loading:n,setLoading:a}}(),r=n.queryData,i=n.setQueryData,o=n.pageData,s=n.setPageData,u=n.listData,c=n.setListData,d=n.loading,h=n.setLoading;u.forEach((function(e){Object.assign(e,{rowExpandable:!0})}));var m=I(t.useState(!1),2),v=m[0],y=m[1],b=rt(),w=I(t.useState([]),2),k=w[0],E=w[1],C=function(){var t=g(p().mark((function t(n,a,r){var i;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h(!0),t.next=3,yt.getGoods(e.server,e.extraQuery,{page:{pageNo:n,pageSize:a},parameter:r},e.platShopList);case 3:c(N(Object.keys((i=t.sent).data).map((function(e){return i.data[e]})))),s(f(f({},o),{},{total:i.total,pageNum:n,pageSize:a})),h(!1);case 7:case"end":return t.stop()}}),t)})));return function(e,n,a){return t.apply(this,arguments)}}();t.useEffect((function(){var t=function(){var t=g(p().mark((function t(){var n;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,yt.fetchSettingQuery(e.supportSku,e.server,e.extraQuery,e.supportTags);case 2:n=(n=t.sent).filter((function(e){return"platCode"!==e.field})),E(n);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[]);var S=function(e){var t=e.find((function(e){return e.field.value===dt.SHOP_ID})),n=e.filter((function(e){return!(![dt.PROD_CATEGORY_ID,dt.PROD_SELLER_ID].includes(e.field.value)||!e.value)}));if(t&&t.value&&n.length){if(t.value.shops.length>1)return!1;var a=I(t.value.shops,1);return t=a[0],!n.some((function(e){return e.value.shop.value!==t.value}))}return!0};return l.default.createElement(l.default.Fragment,null,0!==k.length?l.default.createElement(Ma,{onSubmit:function(e){if(void 0!==e[0]){var t=At(e).filter((function(e){return e.value.length||"ISNULL"===e.operator||"NONULL"===e.operator}));t.length?(t.forEach((function(e){if("BETWEEN_OPEN"===e.operator||"BETWEEN_CLOSE"===e.operator){if(""===e.value[0]||""===e.value[1])throw a.Message.error("".concat(e.fieldName,"填写错误")),Error("".concat(e.fieldName,"填写错误"));if(e.value[0]>e.value[1])throw a.Message.error("".concat(e.fieldName,"填写错误")),Error("".concat(e.fieldName,"填写错误"))}})),S(e)?(y(!0),i(t),C(1,10,t)):a.Modal.confirm({body:"您添加的上架店铺条件与类目条件不一致,查出来的数据可能不准确",okText:"仍要执行",cancelText:"修改条件",onOk:function(){i(t),y(!0),C(1,10,t)}})):a.Message.error("没有有效条件,请检查")}else a.Message.error("没有有效条件,请检查")},onValidate:function(t){if(void 0!==t[0])if(e.conditionLen>b.globalConditions.length){var n=At(t).filter((function(e){return e.value.length||"ISNULL"===e.operator||"NONULL"===e.operator}));n.length?(n.forEach((function(e){if("BETWEEN_OPEN"===e.operator||"BETWEEN_CLOSE"===e.operator){if(""===e.value[0]||""===e.value[1])throw a.Message.error("".concat(e.fieldName,"填写错误")),Error("".concat(e.fieldName,"填写错误"));if(e.value[0]>e.value[1])throw a.Message.error("".concat(e.fieldName,"填写错误")),Error("".concat(e.fieldName,"填写错误"))}})),S(t)?(b.appendGlobalConditions(Nt(n)),a.Message.success("添加成功")):a.Modal.confirm({body:"您添加的上架店铺条件与类目条件不一致,查出来的数据可能不准确",okText:"仍要执行",cancelText:"修改条件",onOk:function(){b.appendGlobalConditions(Nt(n)),a.Message.success("添加成功")}})):a.Message.error("没有有效条件,请检查")}else a.Message.error("最多添加".concat(e.conditionLen,"个查询条件"));else a.Message.error("没有有效条件,请检查")},supportSku:e.supportSku,limit:e.limit,allQuery:k},l.default.createElement("div",{className:"condition-tab-wrap goods-table-wrap"},l.default.createElement("p",{style:{margin:"5px 0",paddingLeft:"10px"}},l.default.createElement("strong",null,"编辑查询条件")),e.supportSku&&l.default.createElement(a.Tips,{msg:"查询时,根据以下条件,动态查询。条件中不包含SKU时,根据商品查询;条件中包含SKU时,根据SKU查询。"}),l.default.createElement(Ma.Form,null),l.default.createElement("div",{className:"justify-between"},l.default.createElement("div",null,l.default.createElement(Ma.Submit,{disabled:d},"预览查询结果"),l.default.createElement("span",null,"根据查询条件,查找到",o.total,"个结果")),l.default.createElement("div",null,e.supportConditions&&!e.readonly&&l.default.createElement(Ma.Validate,null,"添加为查询条件"),l.default.createElement(Ma.Reset,{type:"link",style:{color:"#666"}}))),l.default.createElement(vt,{dataSource:u,expandable:!0,columnConfig:e.findColumn,total:o.total,childrenKey:"skus",page:o.pageNum,pageSize:o.pageSize,onPageChange:function(e,t){C(e,t,r)},loading:d,supportSku:e.supportSku,showPage:v}))):null)}function Pa(e){var n,r=e.activeTab,i=e.platShopList,o=e.bizzKey,s=e.supportBatch,u=e.limit,c=e.supportSku,d=e.hasSku,h=e.supportConditions,m=e.selectedGoods,v=e.server,y=e.allColumn,b=e.findColumn,w=e.selectedColumn,k=e.supportClearPlatShop,E=e.extraQuery,C=e.platShop,S=e.conditionLen,_=e.tabList,x=e.showConditions,A=e.readonly,D=e.supportTags,T=e.openGold,O=function(){var e=I(t.useState({}),2),n=e[0],a=e[1],r=I(t.useState({}),2),i=r[0],o=r[1],l=t.useCallback((function(e){e.forEach((function(e){var t=i[e.uniProductId];if(e.skuId){var a=!1;if(t&&f({},t).skus.forEach((function(t){t.skuId===e.skuId&&(a=!0)})),a){var r=f({},t);r.skus=r.skus.filter((function(t){return t.skuId!==e.skuId})),r.skus.length?i[e.uniProductId]=r:delete i[e.uniProductId]}else{var o=f({},n[e.uniProductId]);o.skus=n[e.uniProductId].skus.filter((function(t){return t.skuId===e.skuId})),t?i[e.uniProductId].skus=[].concat(N(i[e.uniProductId].skus),N(o.skus)):i[e.uniProductId]=o}}else if(t)delete i[e.uniProductId];else{var l=f({},e);l.skus=[],i[e.uniProductId]=l}})),o(f({},i))}),[i,n]),s=t.useCallback((function(e,t){e.forEach((function(e){if(t){var n=f({},e);n.rowExpandable||(n.skus=[]),i[e.uniProductId]=n}else delete i[e.uniProductId]})),o(f({},i))}),[i]),u=t.useCallback((function(e){var t={};e.forEach((function(e){t[e.uniProductId]=e})),a(f({},t))}),[n]),c=t.useCallback((function(e,t){e.forEach((function(e){var a=n[e.uniProductId];a&&(a.rowExpandable=t,delete i[e.uniProductId])})),o(f({},i)),a(f({},n))}),[n,i]);return{globalTableList:n,setGlobalTableList:a,setAllGlobalSelect:s,setGlobalSelectItem:l,setSkuToggleStatus:c,globalSelect:i,setGlobalSelect:o,setAllGlobalSearch:u}}(),M=O.globalTableList,F=O.setGlobalTableList,L=O.globalSelect,P=O.setGlobalSelect,B=O.setAllGlobalSelect,R=O.setGlobalSelectItem,z=O.setSkuToggleStatus,j=O.setAllGlobalSearch,V=function(){var e=I(t.useState([]),2),n=e[0],a=e[1],r=t.useCallback((function(e){a([].concat(N(n),[e]))}),[n]),i=t.useCallback((function(e){n.splice(e,1),a(N(n))}),[n]);return{globalConditions:n,setGlobalConditions:a,appendGlobalConditions:r,removeGlobalConditions:i}}(),U=V.globalConditions,H=V.appendGlobalConditions,q=V.removeGlobalConditions,W=V.setGlobalConditions,G=(n=I(t.useState(),2),{allQueryCondition:yt.queryCondition,setAllQueryCondition:n[1]}),K=G.allQueryCondition,Y=G.setAllQueryCondition,Q={limit:u,globalTableList:M,setGlobalTableList:F,globalSelect:L,setGlobalSelect:P,setAllGlobalSelect:B,setGlobalSelectItem:R,setSkuToggleStatus:z,setAllGlobalSearch:j,server:v,extraQuery:E,platShopList:i,platShop:C,globalConditions:U,appendGlobalConditions:H,removeGlobalConditions:q,setGlobalConditions:W,allQueryCondition:K,setAllQueryCondition:Y,openGold:T};t.useImperativeHandle(e.forwardRef,(function(){return{globalSelect:L,globalConditions:U,allQueryCondition:K}}));var J=Dt(L),X=0;_.includes("selected")&&(X+=115),_.includes("all")&&(X+=77),_.includes("find")&&(X+=125),h||(X-=35),t.useEffect((function(){function e(){return e=g(p().mark((function e(){var t,n,a,r,o,l,s,u,c,d,f;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(x.length&&(t=x.map((function(e){return Nt(e.value)})),W(t)),!Object.keys(m).length){e.next=24;break}if(n=[],a=[],Object.keys(m).forEach((function(e){-1===e.indexOf("|")?a.push(e):n.push(e)})),r=[],o=[],n.forEach((function(e){Array.isArray(m[e])&&(o=o.concat(m[e]))})),a.forEach((function(e){Array.isArray(m[e])&&(r=r.concat(m[e]))})),l=[],s=[],!n.length){e.next=17;break}return u={"prod.uni_product_ids":n,"sku.sku_ids":o},e.next=15,yt.batchImport(v,E,u,i);case 15:(c=e.sent).success&&c.data.data.length&&(c.data.data.forEach((function(e){null===m[e.uniProductId]&&Object.assign(e,{skus:[]}),e.skus.length&&Object.assign(e,{rowExpandable:!0})})),s=c.data.data);case 17:if(!a.length){e.next=23;break}return d={"prod.product_ids":a,"sku.sku_ids":r},e.next=21,yt.batchImport(v,E,d,i);case 21:(f=e.sent).success&&f.data.data.length&&(f.data.data.forEach((function(e){null===m[e.productId]&&Object.assign(e,{skus:[]}),e.skus.length&&Object.assign(e,{rowExpandable:!0})})),l=f.data.data);case 23:B([].concat(N(s),N(l)),!0);case 24:case"end":return e.stop()}}),e)}))),e.apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);I(t.useState(r),2);return l.default.createElement("div",{className:"".concat(Ce,"-goods-selector-pro-container")},1>J&&1>U.length?"":l.default.createElement("span",{className:tt("".concat(Ce,"-goods-selector-pro-num")),style:{left:X}},J+U.length),l.default.createElement(at,{value:Q},l.default.createElement(a.Tabs,{defaultActiveKey:"1",className:"".concat(Ce,"-goods-selector-pro"),activeKey:r,mode:"remain"},_.includes("all")&&l.default.createElement(a.Tabs.Panel,{tab:"全部商品",key:"all",className:"".concat(Ce,"-goods-selector-pro-panel")},l.default.createElement(_n,{server:v,extraQuery:E,platShop:C,supportClearPlatShop:k,platShopList:i,limit:u,hasSku:d,conditionLen:S,supportBatch:s,supportConditions:h,supportSku:c,bizzKey:o,allColumn:y,readonly:A,supportTags:D,changeCondition:function(e){Y(e)},openGold:T})),h&&_.includes("find")&&l.default.createElement(a.Tabs.Panel,{tab:"设置查询条件",key:"find",className:"".concat(Ce,"-goods-selector-pro-panel")},l.default.createElement(La,{server:v,extraQuery:E,platShop:C,readonly:A,platShopList:i,limit:u,conditionLen:S,supportConditions:h,supportTags:D,supportSku:c,findColumn:b})),_.includes("selected")&&l.default.createElement(a.Tabs.Panel,{tab:h?"已选商品和条件":"已选商品",key:"selected",className:"".concat(Ce,"-goods-selector-pro-panel")},l.default.createElement(An,{server:v,extraQuery:E,platShopList:i,supportConditions:h,supportSku:c,selectedColumn:w,readonly:A})))))}Ma.Form=function(){var e=t.useContext(Ia),n=e.fields,r=e.formField,i=e.usedFields,o=e.onAddField,s=e.onHandleField,u=e.onRemoveField,c=e.supportSku,d=e.allQuery,f=e.getFieldByValue,p=e.getOperatorByField,h=e.limit,m=i.length>=n.length;return l.default.createElement("section",{className:Ea.conditions},i.length?i.map((function(e){return l.default.createElement(Aa,k({key:e.id,field:e,fields:n,formField:r,usedFields:i,onChangeField:s,onRemoveField:u,supportSku:c,limit:h,allQuery:d,getFieldByValue:f,getOperatorByField:p},"limit",h))})):l.default.createElement("div",{className:Ea.item},"没有条件"),l.default.createElement("div",{className:Ea.item},l.default.createElement(a.Button,{type:"link",onClick:o,disabled:m,size:"small",style:{paddingLeft:0,paddingRight:0,lineHeight:"14px"}},l.default.createElement(a.Icon,{type:"plus",style:{fontSize:12}})," 添加条件")))},Ma.Submit=function(e){var n=e.onClick,r=e.children,i=x(e,Da),o=t.useContext(Ia);return l.default.createElement(a.Button,E({onClick:function(e){o.onSubmit&&o.onSubmit(e),n&&n(e)},type:"primary"},i),r||"提交")},Ma.Reset=function(e){var n=e.onClick,r=e.children,i=x(e,Ta),o=t.useContext(Ia);return l.default.createElement(a.Button,E({onClick:function(e){o.onReset&&o.onReset(e),n&&n(e)}},i),r||"重置")},Ma.Validate=function(e){var n=e.onClick,r=e.children,i=x(e,Oa),o=t.useContext(Ia),s=function(e){n&&n(e),o.onValidate&&o.onValidate()};return t.isValidElement(r)?t.cloneElement(r,f({onClick:s},i)):l.default.createElement(a.Button,E({type:"primary",onClick:s},i),r||"校验")};var Ba="".concat(Ce.toUpperCase(),"_GOODS_SELECTOR_PRO");function Ra(e){var t=e.container,n=e.onCancel,a=e.onClose,r=e.onOk;function i(){setTimeout((function(){s.default.unmountComponentAtNode(t),Se().body.removeChild(t)}))}return l.default.createElement(yr,{visible:!0,onOk:function(e){r(e),i()},onCancel:function(){n("cancel"),i()},onClose:function(){a("close"),i()}})}var za="WAIT",ja="BEFORE_EVALUATE",Va="SUPPORT",Ua="OPPOSE",Ha="SUPPORT_EVALUATED",qa="OPPOSE_EVALUATED",Wa=[{label:"内容清晰易懂",value:"内容清晰易懂"},{label:"信息布局合理",value:"信息布局合理"},{label:"功能简单易学",value:"功能简单易学"},{label:"系统反应迅速",value:"系统反应迅速"},{label:"数据精准无误",value:"数据精准无误"},{label:"操作顺畅便捷",value:"操作顺畅便捷"},{label:"界面整洁美观",value:"界面整洁美观"}],Ga=[{label:"内容看不懂",value:"内容看不懂"},{label:"信息展示混乱",value:"信息展示混乱"},{label:"操作复杂繁琐",value:"操作复杂繁琐"},{label:"系统加载缓慢",value:"系统加载缓慢"},{label:"数据不准确",value:"数据不准确"},{label:"界面不够美观",value:"界面不够美观"}],Ka=function(){return window.sessionStorage.getItem("GOODS_NEW_FIRST_ID")||20230910100},Ya=function(){return window.sessionStorage.getItem("GOODS_NEW_OPERATE_ID")||20230910200},Qa=function(){return window.sessionStorage.getItem("GOODS_OLD_OPERATE_ID")||20230910300},Ja="".concat(Ce,"-satisfaction-survey-popup");function Xa(e){var t=e.style;return l.default.createElement("div",{className:Ja,style:void 0===t?{}:t},e.children)}Xa.propTyes={children:et.string.isRequired,style:et.object},Xa.defaultProps={style:{}};var Za="".concat(Ce,"-satisfaction-survey-reason");function $a(e){var n=e.style,a=e.title,i=e.reasonList,o=e.onJump,s=e.onSubmit,u=e.showMoreReason,c=void 0!==u&&u,d=I(t.useState(!0),2),f=d[0],p=d[1],h=I(t.useState(i),2),m=h[0],v=h[1],g=I(t.useState(""),2),y=g[0],b=g[1];return f&&l.default.createElement(Xa,{style:n},l.default.createElement("div",{className:Za},l.default.createElement("p",{className:"".concat(Za,"-title")},a),l.default.createElement("ul",{className:"".concat(Za,"-list")},m.map((function(e){return l.default.createElement("li",{key:e.value,className:"".concat(Za,"-item ").concat(e.checked&&"active"),onClick:function(){return function(e){e.checked=!e.checked,v(N(m))}(e)}},e.label)}))),c&&l.default.createElement(r.Input.Textarea,{placeholder:"请输入其他原因",style:{marginBottom:12,height:52},value:y,onChange:function(e){b(e.target.value)}}),l.default.createElement("div",{className:"".concat(Za,"-operate")},l.default.createElement(r.Button,{type:"primary",size:"small",onClick:function(){p(!1),s(m.filter((function(e){return e.checked})).map((function(e){return e.value})),y)}},"提交"),l.default.createElement(r.Button,{type:"normal",size:"small",onClick:function(){p(!1),o()}},"跳过"))))}$a.propTyes={title:et.string.isRequired,reasonList:et.array.isRequired,onSubmit:et.func.isRequired,onJump:et.func.isRequired,style:et.object,showMoreReason:et.bool},$a.defaultProps={style:{},showMoreReason:!1};var er="data:image/png;base64,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",tr="data:image/png;base64,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",nr="".concat(Ce,"-satisfaction-survey-result-list");function ar(e){var t=e.style,n=e.isSupport,a=void 0===n||n,r=e.resultList,i=void 0===r?[]:r,o=e.extraReason,s=void 0===o?"":o;return l.default.createElement(Xa,{style:void 0===t?{}:t},l.default.createElement("div",{className:nr},l.default.createElement("div",{className:"".concat(nr,"-title")},l.default.createElement("img",{width:20,alt:"",src:a?er:tr}),l.default.createElement("p",null,a?"赞一个":"踩一下")),(null==i?void 0:i.length)||(null==s?void 0:s.trim())?l.default.createElement("ul",{className:"".concat(nr,"-list")},i.map((function(e){return l.default.createElement("li",{key:e,className:"".concat(nr,"-item ").concat(nr,"-one-line")},e)})),(null==s?void 0:s.trim())&&l.default.createElement("div",{className:"".concat(nr,"-extra-container")},l.default.createElement("li",{className:"".concat(nr,"-item ").concat(nr,"-extra-item")},s))):null))}function rr(e){var t=e.size,n=void 0===t?26:t;return l.default.createElement("div",{style:{width:n,height:n},className:"".concat(Ce,"-flash-line")})}ar.propTyes={isSupport:et.bool,resultList:et.array,extraReason:et.string,style:et.object},ar.defaultProps={isSupport:!0,resultList:[],extraReason:"",style:{}};var ir=ve.create(),or=function(){var e=sessionStorage.getItem("__FF2E__CACHE__");if(e){var t,n=(null===(t=JSON.parse(e))||void 0===t?void 0:t.common)||{},a=n.user,r=n.tenant;return{tenantId:null==r?void 0:r.tenantId,userName:null==a?void 0:a.name,menuData:n.menuData}}return{tenantId:"qiushi6",userName:"mly",menuData:[]}},lr=function(e){var t=e.domain,n=e.contentId,a=or(),r=a.tenantId,i=a.userName;return ir.get("".concat(t,"/notice/1.0/announce/").concat(r,"/").concat(i,"?contentId=").concat(n))},sr=function(e){var t=e.domain,n=e.contentId,a=or(),r=a.tenantId,i=a.userName;return ir.post("".concat(t,"/notice/1.0/announce/").concat(r,"/").concat(i,"?contentId=").concat(n))},ur=function(e){var t,n,a,r,i,o,l,s,u,c,d=e.domain,p=e.params,h=or(),m=h.tenantId,v=h.userName,g=h.menuData.find((function(e){return window.location.hash.includes(e.url)})),y=(u=null===(t=document)||void 0===t||null===(n=t.querySelector(".newCloud-menu .newCloud-cmenu-item.newCloud-cmenu-item-selected"))||void 0===n?void 0:n.textContent,c=null===(a=document)||void 0===a||null===(r=a.querySelector(".menu-container .menu-list a.active"))||void 0===r||null===(i=r.textContent)||void 0===i||null===(o=i.replaceAll("\n",""))||void 0===o?void 0:o.replaceAll(" ",""),(null===(l=document)||void 0===l||null===(s=l.querySelector(".cloud-cc-menu .cloud-menu-container li.item.active"))||void 0===s?void 0:s.textContent)||u||c);return ir.post("".concat(d.replace("ual.shuyun.com","cual.shuyun.com"),"/boss-meta/v1/frontComponet/evaluations"),f(f({},p),{},{tenantId:m,userName:v,domainName:m,productModuleName:y?"".concat(null==g?void 0:g.name,"-").concat(y):null==g?void 0:g.name}))},cr="data:image/png;base64,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",dr="".concat(Ce,"-satisfaction-survey");function fr(e){var t=e.title,n=e.onClick,a=void 0===n?function(){}:n;return l.default.createElement("div",{className:"".concat(dr,"-question"),onClick:a},l.default.createElement("img",{alt:"",src:cr,width:14}),l.default.createElement("p",null,t),l.default.createElement(rr,null))}function pr(e){var n,a=e.hasOperated,i=e.serverName,o=e.firstId,s=e.operateId,u=e.supportReasonList,c=e.opposeReasonList,d=e.style,h=e.title,m=e.onlyShowOpposeReason,v=e.opposeTitle,y=e.onlyShowSupportReason,b=e.supportTitle,w=e.componentName,k=I(t.useState(za),2),E=k[0],C=k[1],S=I(t.useState([]),2),_=S[0],x=S[1],A=I(t.useState([]),2),D=A[0],T=A[1],O=I(t.useState([]),2),M=O[0],F=O[1],L=I(t.useState(""),2),P=L[0],B=L[1],R=I(t.useState(!1),2),z=R[0],j=R[1],V=I(t.useState(!1),2),U=V[0],H=V[1],q="https:".concat(null==i||null===(n=i.match(/\/\/qa-ual.shuyun.com|\/\/qa-cual.shuyun.com|\/\/ual.shuyun.com|\/\/cual.shuyun.com/))||void 0===n?void 0:n[0]);t.useEffect((function(){x(N((null==u?void 0:u.length)?u:Wa)),T(N((null==c?void 0:c.length)?c:Ga))}),[u,c]),t.useEffect((function(){!o&&s&&lr({domain:q,contentId:s}).then((function(e){var t,n;j(!(null==e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.readStatus))})),o&&s&&Promise.all([lr({domain:q,contentId:o}),lr({domain:q,contentId:s})]).then((function(e){var t,n,a,r,i,o;j((null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(a=n.data)||void 0===a?void 0:a.readStatus)&&!(null==e||null===(r=e[1])||void 0===r||null===(i=r.data)||void 0===i||null===(o=i.data)||void 0===o?void 0:o.readStatus))})),o||s||j(!0)}),[o,s]),t.useEffect((function(){a&&o&&sr({domain:q,contentId:o})}),[o,a]);var W=function(e){e.target.classList.contains("".concat(dr,"-view-estimate"))||H(!1)};t.useEffect((function(){return window.addEventListener("click",W),function(){window.removeEventListener("click",W)}}),[]);var G=function(){C(Va),x(_.map((function(e){return f(f({},e),{},{checked:!1})})))},K=function(){C(Ua),T(D.map((function(e){return f(f({},e),{},{checked:!1})})))},Y=function(){var e=g(p().mark((function e(){var t,n,a=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]?a[0]:[],n=a.length>1&&void 0!==a[1]?a[1]:"",C(E===Va?Ha:qa),F(t),B(n),!s){e.next=10;break}return e.next=8,sr({domain:q,contentId:s});case 8:return e.next=10,ur({domain:q,params:{componentName:w,result:E===Va?"赞一个":"踩一下",content:null==t?void 0:t.join(","),remark:n}});case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return z?l.default.createElement("div",{className:dr,style:d,onMouseMove:function(){E===za&&C(ja)},onMouseLeave:function(){E===ja&&C(za)}},E===za&&l.default.createElement(fr,{title:h}),(E===ja||E===Va||E===Ua)&&l.default.createElement(l.default.Fragment,null,y||m?l.default.createElement(fr,{title:h,onClick:function(){y&&G(),m&&K()}}):l.default.createElement("div",{className:"".concat(dr,"-evaluate")},l.default.createElement("p",{className:"".concat(dr,"-support ").concat(E===Va?"active":""),onClick:G},l.default.createElement("img",{alt:"",src:er,width:14}),l.default.createElement("span",null,"赞一个")),E===ja&&l.default.createElement("p",{className:"".concat(dr,"-split")}),l.default.createElement("p",{className:"".concat(dr,"-oppose ").concat(E===Ua?"active":""),onClick:K},l.default.createElement("img",{alt:"",src:tr,width:14}),l.default.createElement("span",null,"踩一下")))),(E===Ha||E===qa)&&l.default.createElement("div",{className:"".concat(dr,"-result")},l.default.createElement(r.Icon,{className:"".concat(dr,"-success-fill"),type:"success-fill"}),l.default.createElement("p",null,"感谢您的评价"),l.default.createElement("p",{className:"".concat(dr,"-view-estimate"),onClick:function(){H(!U)}},"查看评价"),U&&l.default.createElement(ar,{style:(null==M?void 0:M.length)||(null==P?void 0:P.trim())?{width:192,top:36}:{width:42,top:36,left:90},isSupport:E===Ha,resultList:M,extraReason:P})),E===Va&&l.default.createElement($a,{title:b,style:{width:294,top:36,left:-118},reasonList:_,onJump:Y,onSubmit:Y}),E===Ua&&l.default.createElement($a,{title:v,style:{width:294,top:36,left:-42},reasonList:D,onJump:Y,onSubmit:Y,showMoreReason:!0})):null}pr.propTyes={componentName:et.bool.isRequired,serverName:et.string.isRequired,firstId:et.number.isRequired,operateId:et.number.isRequired,hasOperated:et.bool,title:et.string.isRequired,supportReasonList:et.array,opposeReasonList:et.array,onlyShowOpposeReason:et.bool,opposeTitle:et.string,onlyShowSupportReason:et.bool,supportTitle:et.string},pr.defaultProps={hasOperated:!1,supportReasonList:[],opposeReasonList:[],onlyShowOpposeReason:!1,opposeTitle:"请选择您觉得不满意的原因",onlyShowSupportReason:!1,supportTitle:"请选择您觉得满意的原因"};var hr=["visible","onOk","onCancel","readonly","v2Open","onClose"],mr=function(){},vr={maxWidth:"1100px",height:"72vh",overflow:"auto",paddingBottom:0,paddingTop:"15px"},gr={maxWidth:"1100px",top:"10%"};function yr(e){var n=e.visible,r=e.onOk,i=e.onCancel,o=e.readonly,s=e.v2Open,u=e.onClose,c=(x(e,hr),t.useRef()),d=I(t.useState(),2),f=d[0],h=d[1],m=I(t.useState(!1),2),v=m[0],y=m[1];function b(){return b=g(p().mark((function t(){var n,a,i,l,u,d,f,h,m,v,g;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(l=e.server,u=e.extraQuery,e.bizzKey,e.supportSku,!e.supportConditions){t.next=9;break}if(!c.current.globalConditions.length&&!Object.keys(c.current.globalSelect).length){t.next=9;break}return d=c.current.globalConditions.map((function(e){return e.value})),f=Object.keys(c.current.globalSelect),h=[],Object.keys(c.current.globalSelect).forEach((function(e){c.current.globalSelect[e].skus.forEach((function(e){h.push(e.skuId)}))})),t.next=9,yt.autoSaveCondition(l,u,{conditions:d,productIds:f,skuIds:h});case 9:if(o||!s){t.next=14;break}if((m=c.current).allQueryCondition,g=m.globalSelect,0===(void 0===(v=m.globalConditions.value)?[]:v).length&&0===Object.keys(g).length){t.next=14;break}return t.next=14,yt.bury(l,{tenant:u,version:"V1",action:"CONFIRM"});case 14:(null==c||null===(n=c.current)||void 0===n?void 0:n.globalSelect)&&(null===(a=Object.keys((null==c||null===(i=c.current)||void 0===i?void 0:i.globalSelect)||{}))||void 0===a?void 0:a.length)&&y(!0),r(c.current);case 16:case"end":return t.stop()}}),t)}))),b.apply(this,arguments)}return t.useEffect((function(){return function(){ke()}}),[]),l.default.createElement(a.Modal,{title:l.default.createElement("div",{style:{display:"flex",alignItems:"center",gap:16}},l.default.createElement("p",null,"商品选择"),s&&l.default.createElement(pr,{componentName:"商品选择器(旧)",hasOperated:v,serverName:e.server,operateId:Qa(),title:"您切换旧版本的原因?",onlyShowOpposeReason:!0,opposeTitle:"请选择您切换旧版的原因"})),visible:n,ref:h,onOk:function(){return b.apply(this,arguments)},hasFooter:!o,modalStyle:gr,bodyStyle:vr,onClose:u,onCancel:i,className:"goods-selector-pro-node"},n&&l.default.createElement(Pa,E({modalRef:f,forwardRef:c},e)))}yr.open=function(e){var t=Se(),n=t.getElementById(Ba);return n||((n=t.createElement("div")).id=Ba,t.body.appendChild(n)),new Promise((function(t,a){s.default.render(l.default.createElement(Ra,E({},e,{container:n,onOk:t,onCancel:a,onClose:a})),n)}))},yr.close=function(){var e=Se(),t=e.getElementById(Ba);t&&(s.default.unmountComponentAtNode(t),e.body.removeChild(t))},yr.propTypes={selectedGoods:et.object,visible:et.bool,supportSku:et.bool,hasSku:et.bool,supportBatch:et.bool,supportConditions:et.bool,supportTags:et.bool,server:et.string,extraQuery:et.string,limit:et.number,conditionLen:et.number,showConditions:et.array,activeTab:et.oneOf(["all","find","selected"]),tabList:et.array,readonly:et.bool,platShop:et.object,platShopList:et.any,onCancel:et.func,onClose:et.func,onOk:et.func,allColumn:et.array,findColumn:et.array,selectedColumn:et.array,openGold:et.bool,bizzKey:et.string,v2Open:et.bool,supportClearPlatShop:et.bool},yr.defaultProps={selectedGoods:{},visible:!1,supportSku:!0,hasSku:!1,supportBatch:!0,supportConditions:!0,supportTags:!1,openGold:!1,server:"https://qa-ual.shuyun.com",extraQuery:"",limit:500,conditionLen:1,showConditions:[],activeTab:"all",tabList:["all","find","selected"],readonly:!1,platShop:{platCode:"uni_weixin"},platShopList:[],onCancel:mr,onClose:mr,onOk:mr,allColumn:[],findColumn:[],selectedColumn:[],supportClearPlatShop:!0,bizzKey:"",v2Open:!1};var br={TAOBAO:"top",UNI:"unification",JD:"jos"},wr=k(k(k({},br.TAOBAO,"TB_CCMS_COMPONENTS_AREA_SELECTOR_DATA"),br.UNI,"UNIFICATION_CCMS_COMPONENTS_AREA_SELECTOR_DATA"),br.JD,"JD_CCMS_COMPONENTS_AREA_SELECTOR_DATA");function kr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e?e.map((function(e){var a=e.children,r=[e].concat(N(n)),i=Array.isArray(a)?kr(a,t,r):void 0;return t(f(f({},e),{},{children:i}),r)||e})):null}function Er(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e?e.map((function(e){var a=e.children,r=[e].concat(N(n)),i=t(e,r)||e;return Array.isArray(a)?Er(a,t,r):i})):null}function Cr(e){var t=e.reduceRight((function(e,t){return"".concat(e,">").concat(t.name)}),"");return t=t.slice(1)}function Sr(e){var t={};return Er(e,(function(e,n){t[e.id]=n})),t}function _r(e,t,n,a){var r=[],i=[],o=a[t.id],l=kr(e,(function(e){if(t.id===e.id){var a=e.children,l=f(f({},e),{},{checked:n,indeterminate:void 0});return a&&(l.children=kr(a,(function(e){return f(f({},e),{},{checked:n,indeterminate:void 0})}))),l}if(o&&o.slice(1).find((function(t){return t.id===e.id}))){var s=e.children,u=s.every((function(e){return!e.checked})),c=s.every((function(e){return e.checked}));if(s.some((function(e){return e.checked||e.indeterminate}))&&!c){var d=e.children.filter((function(e){return e.checked}));return r.push.apply(r,N(d)),i.push(e),f(f({},e),{},{indeterminate:!0,checked:void 0})}if(u)return f(f({},e),{},{indeterminate:void 0,checked:!1});if(c)return r.push(e),f(f({},e),{},{indeterminate:void 0,checked:!0})}return e}));return{newSource:l,extraList:r,splitList:i}}function xr(e){var n=e.pathMap,r=e.onSelectItem,i=I(t.useState([]),2),o=i[0],s=i[1],u=I(t.useState(!1),2),c=u[0],d=u[1],f=t.useRef(null),p=t.useRef(null),h=t.useCallback((function(){clearTimeout(f.current),f.current=null}),[]),m=t.useCallback((function(){setTimeout((function(){d(!1)}),250)}),[]),v=t.useCallback((function(){f.current||(f.current=setTimeout((function(){var e=p.current?p.current.inputRef.current.value:"";if(!e)return h(),m();var t=[];return Object.values(n).forEach((function(n){if(n[0].name.includes(e)&&10>t.length){var a=Cr(n);t.push({path:n,pathStr:a})}})),s(t),d(!0),h()}),500))}),[h,m,n]);return l.default.createElement("div",{className:"search-wrapper"},l.default.createElement(a.Input,{ref:p,type:"text",onChange:v,onFocus:v,onBlur:m,placeholder:"请输入区域名称",style:{width:"250px"},suffix:l.default.createElement(a.Icon,{type:"search",style:{color:"#dbdbdb",cursor:"pointer"},onClick:v})}),c&&l.default.createElement("ul",{className:"search-result"},o.length>0?o.map((function(e){return l.default.createElement("li",{className:"search-result-item",key:e.pathStr,onClick:r(e),role:"presentation"},e.pathStr)})):l.default.createElement("li",{className:"search-result-item",role:"presentation"},"没有匹配")))}xr.propTypes={pathMap:et.object,onSelectItem:et.func},xr.defaultProps={pathMap:{},onSelectItem:Ee};var Ar={province:"省",city:"市",county:"区县"},Ir=function(e){return e&&e instanceof window.Event||e&&e.nativeEvent&&e.nativeEvent instanceof window.Event};function Nr(e){var n=e.data,r=e.isDisableArea,i=e.selectedData,o=e.onCheckItem,s=e.onSelectItem,u=e.onRemoveItem,c=e.forwardRef,d=t.useMemo((function(){return Sr(n)}),[n]),p=I(t.useState(n),2),h=p[0],m=p[1],v=I(t.useState({province:{},city:{},county:{}}),2),g=v[0],y=v[1],b=t.useState((function(){return i.map((function(e){var t=e.id,n=e.name,r=(void 0===t?e:t).split(",").pop(),i=d[r];if(!Array.isArray(i)||!i.length){var o="当前id: ".concat(r,", 没有找到对应的地址值,请确认平台是否正确,id是否正确");throw a.Message.error(o),Error(o)}return n||(n=i.reduceRight((function(e,t){return[].concat(N(e),[t.name])}),[]).join(">")),{path:i,pathStr:n}}))})),w=I(b,2),E=w[0],C=w[1],S=t.useRef([]);t.useImperativeHandle(c,(function(){var e=E.map((function(e){var t=e.pathStr;return{id:e.path.reduceRight((function(e,t){return"".concat(e,",").concat(t.id)}),"").slice(1),name:t}}));return e}),[E]),t.useEffect((function(){var e=i.reduce((function(e,t){var n=t.id,a=(void 0===n?t:n).split(",").pop();return _r(e,d[a][0],!0,d).newSource}),n);m(e)}),[n,i,d]);var _=t.useCallback((function(e){var t;switch(e){case"province":return h;case"city":return t=h.find((function(e){return e.id===g.province.id}))||{},S.current=t.children||[],S.current;case"county":return(S.current.find((function(e){return e.id===g.city.id}))||{}).children||[];default:return[]}}),[g,h]),x=function(e){return function(t){var n=e.path,a=e.pathStr;C((function(t){if(t.some((function(e){return a.startsWith(e.pathStr)})))return t;var n=t.filter((function(e){return!e.pathStr.startsWith(a)}));return[e].concat(N(n))})),Ir(t)&&D(n[0])(!0)}},A=function(e){return function(t){var n=e.path,a=e.pathStr;C((function(e){return e.filter((function(e){return e.pathStr!==a}))})),Ir(t)&&D(n[0])(!1),u(e)}},D=function(e){return function(t){var n=d[e.id],a=_r(h,e,t,d),r=a.extraList,i=a.splitList;m(a.newSource);var l={path:n,pathStr:Cr(n)};t?x(l)():A(l)(),i.length>0&&i.forEach((function(e){var t=d[e.id],n=Cr(t);E.find((function(e){return e.pathStr===n}))&&A({path:t,pathStr:n})()})),r.forEach((function(e){var t=d[e.id];x({path:t,pathStr:Cr(t)})()})),o(e,n,t)}},T=t.useCallback((function(e,t){return function(){var n=f(f({},g),{},k({},e,t));"county"!==e&&("province"===e&&(n.city=t.children||[]),"city"===e&&(n.county=t.children||[]),y(n),s(t,e))}}),[g]),O=function(e){var t=_(e),n=function(e){var t=[0,0,0];return kr(e,(function(e,n){(e.checked||e.indeterminate)&&(t[n.length-1]+=1)})),{province:t[0],city:t[1],county:t[2]}}(h);return l.default.createElement("div",{className:"area-container",key:e},l.default.createElement("div",{className:"area-title"},Ar[e],"选择( ",n[e]," )"),l.default.createElement("ul",{className:"area-content"},t.map((function(t){var n=tt("area-item",{selected:t.id===g[e].id}),i=t.children&&t.children.length>0;return r&&"city"===e&&(i=!1),l.default.createElement("li",{className:n,key:t.id,onClick:T(e,t),role:"presentation"},l.default.createElement(a.Checkbox,{checked:!0===t.checked,indeterminate:t.indeterminate,onChange:D(t)}),l.default.createElement("span",{className:"area-item-title"},t.name),i?l.default.createElement(a.Icon,{type:"right",className:"area-next-icon"}):null)}))))},M=["province","city"].concat(r?[]:["county"]);return l.default.createElement("section",{className:tt("".concat(Ce,"-area-selector-container"))},l.default.createElement(xr,{pathMap:d,onSelectItem:x}),l.default.createElement("div",{className:"result-wrapper"},l.default.createElement("span",{className:"result-title"},"已选:"),l.default.createElement("div",{className:"result-content"},E.map((function(e){return l.default.createElement("span",{className:"result-item",key:e.pathStr},e.pathStr,l.default.createElement(a.Icon,{type:"close",className:"result-item-close",onClick:A(e)}))})))),l.default.createElement("div",null,"常用区域:"),l.default.createElement("div",{className:tt("".concat(Ce,"-area-selector"))},M.map((function(e){return O(e)}))))}Nr.propTypes={data:et.arrayOf(et.shape({id:et.string,name:et.string,children:et.array})).isRequired,selectedData:et.array,onCheckItem:et.func,onSelectItem:et.func,onRemoveItem:et.func},Nr.defaultProps={selectedData:[],onCheckItem:Ee,onSelectItem:Ee,onRemoveItem:Ee};var Dr=l.default.forwardRef((function(e,t){return l.default.createElement(Nr,E({},e,{forwardRef:t}))}));function Tr(e){var n=e.platform,r=e.server,i=e.isDisableArea,o=e.selectedData,s=e.visible,u=e.dataHandler,c=e.onOk,d=e.onCancel,f=e.onClose,h=e.onCheckItem,m=e.onSelectItem,v=e.onRemoveItem,y=I(t.useState([]),2),b=y[0],w=y[1],k=I(t.useState(!0),2),E=k[0],C=k[1],S=t.useRef(),_=function(e){var t=JSON.parse(JSON.stringify(e));return Array.isArray(t)&&t.forEach((function(e){Array.isArray(e.children)&&e.children.length&&e.children.forEach((function(e){Array.isArray(e.children)&&e.children.length&&e.children.forEach((function(e){Array.isArray(e.children)&&e.children.length&&(e.children=[])}))}))})),t};t.useEffect((function(){function e(){return e=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.fetch(t,{credentials:"include",method:"GET",mode:"cors"});case 2:if((n=e.sent).ok){e.next=5;break}return e.abrupt("return",null);case 5:return e.next=7,n.json();case 7:if(Array.isArray(a=e.sent)){e.next=10;break}return e.abrupt("return",null);case 10:return e.abrupt("return",a);case 11:case"end":return e.stop()}}),e)}))),e.apply(this,arguments)}C(!0);var t="unification"===n?"&showall=true":"",a="".concat(r,"?platform=").concat(n).concat(t),i=function(e){var t=wr[e];try{var n=localStorage.getItem(t);return JSON.parse(n)}catch(e){return null}}(n);i?(w((function(){return _(u(i)||i)})),C(!1)):function(t){return e.apply(this,arguments)}(a).then((function(e){e&&(w((function(){return _(u(e)||e)})),C(!1),function(e,t){localStorage.setItem(wr[e],JSON.stringify(t))}(n,e))}))}),[n,r]);var x=t.useCallback((function(){c(S.current)}),[]);return l.default.createElement(a.Modal,{title:"地区选择",visible:s,modalStyle:{width:i?"460px":"700px",maxWidth:"none"},onOk:x,onClose:f,onCancel:d},E?l.default.createElement(a.Loading,null):l.default.createElement(Dr,{data:b,ref:S,isDisableArea:i,selectedData:o,onCheckItem:h,onSelectItem:m,onRemoveItem:v}))}Tr.platforms=br,Tr.propTypes={platform:et.oneOf([br.TAOBAO,br.UNI,br.JD]),server:et.string,isDisableArea:et.bool,selectedData:et.array,visible:et.bool,dataHandler:et.func,onOk:et.func,onCancel:et.func,onClose:et.func,onCheckItem:et.func,onSelectItem:et.func,onRemoveItem:et.func},Tr.defaultProps={platform:Tr.platforms.UNI,server:"https://qa-ual.shuyun.com/hd-dataservice/1.0/area",isDisableArea:!1,selectedData:[],visible:!1,dataHandler:function(e){return e},onOk:function(e){return console.log("地址选择器的输出:",e)},onCancel:Ee,onClose:Ee,onCheckItem:Ee,onSelectItem:Ee,onRemoveItem:Ee};var Or={TAOBAO:"top",UNI:"unification",JD:"jos"},Mr=k(k(k({},Or.TAOBAO,"TB_CCMS_COMPONENTS_AREA_SELECTOR_DATA"),Or.UNI,"UNIFICATION_CCMS_COMPONENTS_AREA_SELECTOR_DATA"),Or.JD,"JD_CCMS_COMPONENTS_AREA_SELECTOR_DATA"),Fr=["北京","上海","天津","重庆"];function Lr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e?e.map((function(e){var a=e.children,r=[e].concat(N(n)),i=Array.isArray(a)?Lr(a,t,r):void 0;return t(f(f({},e),{},{children:i}),r)||e})):null}function Pr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e?e.map((function(e){var a=e.children,r=[e].concat(N(n)),i=t(e,r)||e;return Array.isArray(a)?Pr(a,t,r):i})):null}function Br(e){var t=e.reduceRight((function(e,t){return"".concat(e,"/").concat(t.name)}),"");return t=t.slice(1)}function Rr(e){var t={};return Pr(e,(function(e,n){t[e.id]=n})),t}function zr(e,t,n,a){var r=[],i=[],o=a[t.id],l=Lr(e,(function(e){if(t.id===e.id){var a=e.children,l=f(f({},e),{},{checked:n,indeterminate:void 0});return a&&(l.children=Lr(a,(function(e){return f(f({},e),{},{checked:n,indeterminate:void 0})}))),l}if(o&&o.slice(1).find((function(t){return t.id===e.id}))){var s=e.children,u=s.every((function(e){return!e.checked})),c=s.every((function(e){return e.checked}));if(s.some((function(e){return e.checked||e.indeterminate}))&&!c){var d=e.children.filter((function(e){return e.checked}));return r.push.apply(r,N(d)),i.push(e),f(f({},e),{},{indeterminate:!0,checked:void 0})}if(u)return f(f({},e),{},{indeterminate:void 0,checked:!1});if(c)return r.push(e),f(f({},e),{},{indeterminate:void 0,checked:!0})}return e}));return{newSource:l,extraList:r,splitList:i}}function jr(e){return!e&&0!==e&&""!==e||(!(!Array.prototype.isPrototypeOf(e)||0!==e.length)||!(!Object.prototype.isPrototypeOf(e)||0!==Object.keys(e).length))}function Vr(e){if(!String.prototype.localeCompare)return null;var t,n="*ABCDEFGHJKLMNOPQRSTWXYZ".split(""),a="阿八嚓哒妸发旮哈讥咔垃痳拏噢妑七呥扨它穵夕丫帀".split(""),r=[];return n.forEach((function(n,i){t={letter:n,data:[]},e.forEach((function(e){a[i-1]&&a[i-1].localeCompare(e.name,"zh-Hans-CN")>0||-1!=e.name.localeCompare(a[i],"zh-Hans-CN")||t.data.push(e)})),t.data.length&&(r.push(t),t.data.sort((function(e,t){return e.name.localeCompare(t.name,"zh-Hans-CN")})))})),r.map((function(e){return e.data})).flat()}var Ur="data:image/png;base64,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";function Hr(e){var n=e.pathMap,a=e.onSelectItem,i=I(t.useState([]),2),o=i[0],s=i[1],u=I(t.useState(!1),2),c=u[0],d=u[1],f=I(t.useState(!1),2),p=f[0],h=f[1],m=t.useRef(null),v=t.useRef(null),g=t.useCallback((function(){clearTimeout(m.current),m.current=null}),[]),y=t.useCallback((function(){setTimeout((function(){h(!1)}),250)}),[]),b=t.useCallback((function(){m.current||(m.current=setTimeout((function(){d(!0);var e=v.current?v.current.inputRef.current.value.replace(/(^\s*)|(\s*$)/g,""):"",t=[];return e&&Object.values(n).forEach((function(n){if(n[0].name&&n[0].name.includes(e)&&10>t.length){var a=Br(n);t.push({path:n,pathStr:a})}})),s(t),h(!0),d(!1),g()}),500))}),[g,y,n]);return l.default.createElement("div",{className:"search-wrapper"},l.default.createElement(r.Input,{ref:v,type:"text",onChange:b,onFocus:function(){h(!0)},onBlur:y,placeholder:"请输入区域名称",style:{width:"220px"},suffix:l.default.createElement(r.Icon,{type:"search",style:{color:"#dbdbdb",cursor:"pointer"},onClick:b})}),l.default.createElement("div",{className:tt("search-result-area",{show:p,hide:!p})},o.length>0?c?l.default.createElement(r.Loading,null):l.default.createElement("ul",{className:"search-result"},o.map((function(e){var t=v.current?v.current.inputRef.current.value:"",n=e.pathStr.replace(/ /g,"").replace(/\//gi," / ");return t&&(n=n.replace(RegExp(t,"gi"),(function(e){return"<span style='color:#0066CC'>".concat(e,"</span>")}))),l.default.createElement("li",{className:"search-result-item",key:e.pathStr,onClick:a(e),role:"presentation",dangerouslySetInnerHTML:{__html:n}})}))):l.default.createElement("div",{className:"empty"},l.default.createElement("img",{alt:"",src:Ur,width:64,height:64}),l.default.createElement("span",null,"暂无搜索结果"))))}Hr.propTypes={pathMap:et.object,onSelectItem:et.func},Hr.defaultProps={pathMap:{},onSelectItem:Ee};var qr={province:"省",city:"市",county:"区"},Wr={province:"",city:"省",county:"市"},Gr=function(e){return e&&e instanceof window.Event||e&&e.nativeEvent&&e.nativeEvent instanceof window.Event};function Kr(e){return l.default.createElement("span",{className:"empty",style:e.style},e.content)}function Yr(e){var n=e.data,a=e.isDisableArea,i=e.selectedData,o=e.onCheckItem,s=e.onSelectItem,u=e.onRemoveItem,c=e.forwardRef,d=t.useMemo((function(){return Rr(n)}),[n]),p=I(t.useState(n),2),h=p[0],m=p[1],v=I(t.useState({province:{},city:{},county:{}}),2),g=v[0],y=v[1],b=t.useState((function(){return(i||[]).map((function(e){var t=e.id,n=e.name,a=(void 0===t?e:t).split(",").pop(),i=d[a];if(!Array.isArray(i)||!i.length){var o="当前id: ".concat(a,", 没有找到对应的地址值,请确认平台是否正确,id是否正确");throw r.Message.error(o),Error(o)}return n||(n=i.reduceRight((function(e,t){return[].concat(N(e),[t.name])}),[]).join(">")),{path:i,pathStr:n}}))})),w=I(b,2),E=w[0],C=w[1],S=t.useRef([]);t.useImperativeHandle(c,(function(){var e=E.map((function(e){var t=e.pathStr;return{id:e.path.reduceRight((function(e,t){return"".concat(e,",").concat(t.id)}),"").slice(1),name:t}}));return e}),[E]),t.useEffect((function(){var e=(i||[]).reduce((function(e,t){var n=t.id,a=(void 0===n?t:n).split(",").pop();return zr(e,d[a][0],!0,d).newSource}),n);m(e)}),[n,i,d]);var _=t.useCallback((function(e){var t,n;switch(e){case"province":return h;case"city":return t=h.find((function(e){return e.id===g.province.id}))||{},S.current=jr(g[e])?[]:t.children||[],S.current;case"county":return n=S.current.find((function(e){return e.id===g.city.id}))||{},jr(g[e])?[]:n.children||[]||[];default:return[]}}),[g,h]),x=function(e){return function(t){var n=e.path,a=e.pathStr;C((function(t){if(t.some((function(e){return a.startsWith(e.pathStr)})))return t;var n=t.filter((function(e){return!e.pathStr.startsWith(a)}));return[e].concat(N(n))})),Gr(t)&&(T(n[0])(!0),A(n))}},A=function(e){var t=f({},g),n=N(e).reverse(),a=["province","city","county"];a.forEach((function(e,a){t[e]=2!==a?n[a]||{}:n[1]?n[1].children:[]})),y(t),setTimeout((function(){n.forEach((function(e,t){var n=document.getElementById("area-content-".concat(a[t])),r=document.getElementById(e.id);r&&n.scrollTo({top:r.offsetTop>n.clientHeight?r.offsetTop-n.clientHeight:0,behavior:"smooth"})}))}))},D=function(e){return function(t){var n=e.path,a=e.pathStr;C((function(e){return e.filter((function(e){return(1!==e.path.length||!a.startsWith(e.pathStr))&&e.pathStr!==a}))})),Gr(t)&&T(n[0])(!1),u(e)}},T=function(e){return function(t){var n=d[e.id],a=zr(h,e,t,d),r=a.extraList,i=a.splitList;m(a.newSource);var l={path:n,pathStr:Br(n)};t?x(l)():D(l)(),i.length>0&&i.forEach((function(e){var t=d[e.id],n=Br(t);E.find((function(e){return e.pathStr===n}))&&D({path:t,pathStr:n})()})),r.reverse().forEach((function(e){var t=d[e.id];x({path:t,pathStr:Br(t)})()})),o(e,n,t)}},O=function(){var e=E.reduce((function(e,t){return zr(e,t.path[0],!1,d).newSource}),n);C([]),m(e)},M=t.useCallback((function(e,t){return function(n){var a=f(f({},g),{},k({},e,t)),r={province:"city",city:"county"}[e];("county"!==e||t.checked)&&(a[r]=t.checked&&n.target.className.includes("checkbox")?[]:t.children||[],y(a),s(t,e))}}),[g]),F=["province","city"].concat(a?[]:["county"]);return l.default.createElement("section",{className:tt("".concat(Ce,"-new-area-selector-container"))},l.default.createElement("div",{className:"leftArea"},l.default.createElement(Hr,{pathMap:d,onSelectItem:x}),l.default.createElement("div",{className:tt("".concat(Ce,"-new-area-selector"))},F.map((function(e){return n=_(t=e),l.default.createElement("div",{className:"area-container",key:t},l.default.createElement("div",{className:"area-title"},"选择",qr[t]),0===n.length&&l.default.createElement(Kr,{content:"请先选择".concat(Wr[t]),style:{marginTop:-47}}),l.default.createElement("ul",{className:"area-content",id:"area-content-".concat(t)},n.map((function(e){var n=tt("area-item",{selected:e.id===g[t].id}),i=e.children&&e.children.length>0;a&&"city"===t&&(i=!1);var o=l.default.createElement("span",{className:"area-item-title"},e.name);return l.default.createElement("li",{className:n,key:e.id,role:"presentation",onClick:M(t,e),id:e.id},l.default.createElement(r.Checkbox,{checked:!0===e.checked,indeterminate:e.indeterminate,onChange:T(e)}),e.name.length>8?l.default.createElement(r.Tooltip,{content:e.name,placement:"top"},o):o,i?l.default.createElement(r.Icon,{type:"right",className:"area-next-icon"}):null)}))));var t,n})))),l.default.createElement("div",{className:"result-wrapper"},l.default.createElement("div",{className:"result-header"},l.default.createElement("span",{className:"result-title"},"已选"),E.length?l.default.createElement("span",{className:"result-clear-all",onClick:O},"清空"):null),l.default.createElement("div",{className:"result-content"},E.map((function(e){return l.default.createElement("span",{className:"result-item",key:e.pathStr},e.pathStr,l.default.createElement(r.Icon,{type:"close",className:"result-item-close",onClick:D(e)}))})),0===E.length&&l.default.createElement(Kr,{content:"暂无已选地区"}))))}Yr.propTypes={data:et.arrayOf(et.shape({id:et.string,name:et.string,children:et.array})).isRequired,selectedData:et.array,onCheckItem:et.func,onSelectItem:et.func,onRemoveItem:et.func},Yr.defaultProps={selectedData:[],onCheckItem:Ee,onSelectItem:Ee,onRemoveItem:Ee};var Qr=l.default.forwardRef((function(e,t){return l.default.createElement(Yr,E({},e,{forwardRef:t}))}));function Jr(e){var n=e.platform,a=e.server,i=e.isDisableArea,o=e.selectedData,s=e.visible,u=e.dataHandler,c=e.onOk,d=e.onCancel,f=e.onClose,h=e.onCheckItem,m=e.onSelectItem,v=e.onRemoveItem,y=I(t.useState([]),2),b=y[0],w=y[1],k=I(t.useState(!0),2),E=k[0],C=k[1],S=t.useRef(),_=I(t.useState(!1),2),x=_[0],A=_[1],D=function(e){var t=Vr(JSON.parse(JSON.stringify(e)));return N(Fr).reverse().forEach((function(e){var n=t.findIndex((function(t){return t.name.includes(e)}));if(-1!==n){var a=t[n];t.splice(n,1),t.unshift(a)}})),Array.isArray(t)&&t.forEach((function(e){Array.isArray(e.children)&&e.children.length&&(e.children=Vr(JSON.parse(JSON.stringify(e.children))),e.children.forEach((function(e){Array.isArray(e.children)&&e.children.length&&(e.children=Vr(JSON.parse(JSON.stringify(e.children))),e.children.forEach((function(e){Array.isArray(e.children)&&e.children.length&&(e.children=[])})))})))})),t};t.useEffect((function(){function e(){return e=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.fetch(t,{credentials:"include",method:"GET",mode:"cors"});case 2:if((n=e.sent).ok){e.next=5;break}return e.abrupt("return",null);case 5:return e.next=7,n.json();case 7:if(Array.isArray(a=e.sent)){e.next=10;break}return e.abrupt("return",null);case 10:return e.abrupt("return",a);case 11:case"end":return e.stop()}}),e)}))),e.apply(this,arguments)}C(!0);var t="unification"===n?"&showall=true":"",r="".concat(a,"?platform=").concat(n).concat(t),i=function(e){var t=Mr[e];try{var n=localStorage.getItem(t);return JSON.parse(n)}catch(e){return null}}(n);i?(w((function(){return D(u(i)||i)})),C(!1)):function(t){return e.apply(this,arguments)}(r).then((function(e){e&&(w((function(){return D(u(e)||e)})),C(!1),function(e,t){localStorage.setItem(Mr[e],JSON.stringify(t))}(n,e))}))}),[n,a]);var T=t.useCallback((function(){var e;(null==S||null===(e=S.current)||void 0===e?void 0:e.length)&&A(!0),c(S.current)}),[]);return l.default.createElement(r.Modal,{className:"area-modal",title:l.default.createElement("div",{style:{display:"flex",alignItems:"center",gap:16}},l.default.createElement("p",null,"选择地区"),l.default.createElement(pr,{componentName:"地址选择器",hasOperated:x,serverName:e.server,firstId:window.sessionStorage.getItem("AREA_NEW_FIRST_ID")||20230910600,operateId:window.sessionStorage.getItem("AREA_NEW_OPERATE_ID")||20230910700,title:"您对新版本评价如何呢?"})),visible:s,modalStyle:{width:i?"660px":"900px",maxWidth:"none"},bodyStyle:{height:"484px",maxHeight:"initial",padding:0},footer:l.default.createElement("div",null,l.default.createElement(r.Button,{type:"primary",onClick:T},"确定"),l.default.createElement(r.Button,{onClick:d,className:"cancel",style:{marginLeft:16}},"取消")),onClose:f},E?l.default.createElement(r.Loading,null):l.default.createElement(Qr,{data:b,ref:S,isDisableArea:i,selectedData:o,onCheckItem:h,onSelectItem:m,onRemoveItem:v}))}Jr.platforms=Or,Jr.propTypes={platform:et.oneOf([Or.TAOBAO,Or.UNI,Or.JD]),server:et.string,isDisableArea:et.bool,selectedData:et.array,visible:et.bool,dataHandler:et.func,onOk:et.func,onCancel:et.func,onClose:et.func,onCheckItem:et.func,onSelectItem:et.func,onRemoveItem:et.func},Jr.defaultProps={platform:Jr.platforms.UNI,server:"https://qa-ual.shuyun.com/hd-dataservice/1.0/area",isDisableArea:!1,selectedData:[],visible:!1,dataHandler:function(e){return e},onOk:function(e){return console.log("地址选择器的输出:",e)},onCancel:Ee,onClose:Ee,onCheckItem:Ee,onSelectItem:Ee,onRemoveItem:Ee};var Xr={black:[{label:"手机黑名单",value:"MOBILE",childLabel:"手机号"},{label:"客户黑名单",value:"CUSTOMER",childLabel:"平台账号"},{label:"邮箱黑名单",value:"EMAIL",childLabel:"邮箱地址"}],red:[{label:"客户红名单",value:"RED_CUSTOMER",childLabel:"平台账号"}]},Zr={black:{title:"选择屏蔽黑名单",tips:"可在“数据管理”菜单下查看并维护黑名单分组和明细数据。"},red:{title:"选择红名单分组",tips:"选择为红名单的客户将始终收到短信或邮件,名单可在数据管理中维护。"}},$r={ajaxType:"GET",supportAjaxPage:!0,supportAutoOrder:!1,currentPageKey:"pageNum",pageSizeKey:"pageSize",disableLine:!0,supportDrag:!1,textConfig:{"checked-info":{"zh-cn":"已选 {0} 条"}},checkboxConfig:{useRowCheck:!0,key:"groupId"},supportCheckbox:!0,dataKey:"list",totalsKey:"totals"},ei={modalStyle:{maxWidth:"890px"},bodyStyle:{maxWidth:"890px",maxHeight:"410px",height:"410px",padding:"10px 20px",fontSize:"12px"}},ti="blacklist/1.0",ni=function(){function e(){y(this,e)}var t,n;return w(e,[{key:"getTableData",value:(n=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(ti,"/checklist/group/list"),e.next=3,ye.get(a,{params:n});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"getTypeAllData",value:(t=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(ti,"/checklist/group/all?types=").concat(n),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 6:case"end":return e.stop()}}),e)}))),function(e,n){return t.apply(this,arguments)})}]),e}(),ai="black-list-grid",ri=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).store=new ni,n.allTypeList=Xr[n.props.type],n.params={types:n.allTypes,onlyCreatedByMe:!1,query:""},n.columnData=[{key:"type",text:"分组类型",align:"left",width:"100px",template:function(e){return l.default.createElement("span",null,(n.allTypeList.find((function(t){return t.value===e}))||{}).label||"其他类型")}},{key:"groupId",text:"分组ID",align:"left"},{key:"groupName",text:"分组名称",align:"left",width:"150px",template:function(e){return l.default.createElement(a.Tooltip,{content:e},e||"--")}},{key:"checklistQuantity",text:"当前数据量(条)",align:"right",width:"160px",template:function(e){return l.default.createElement("span",{style:{paddingRight:10}},0>+e?"--":(""+e).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g,"$1,"))}},{key:"creatorName",text:"创建人",align:"left",width:"150px",template:function(e){return l.default.createElement(a.Tooltip,{content:e},e)}},{key:"created",text:"创建时间",align:"left",width:"150px",template:function(e){return l.default.createElement("span",null,e?e.split("-").join("/"):"--")}}],n.getAllData=g(p().mark((function e(){var t,r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.store.getTypeAllData(n.props.serverName,n.allTypes);case 3:n.oldValue=e.sent.data.filter((function(e){return n.allTypeList.map((function(e){return e.value})).includes(e.type)})),n.setAllDataList(n.oldValue),n.updateSelectedValue(),t=A(n),n.updateCheckedAllStatus(r=t.selectedAllValue),n.handleSelectData(r),n.setCheckedData(ai,r),n.setState({isLoading:!1}),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(0),a.Message.error(e.t0.message||"数据获取失败,全选时数据可能会有误,请重新打开进行选择");case 18:case"end":return e.stop()}}),e,null,[[0,15]])}))),n.updateSelectedValue=function(){n.props.isCheckAll&&!n.selectedAllValue.length&&(n.selectedAllValue=n.oldValue);var e=n.props.defaultCheckedConfig;if(e&&e.length){var t=e.map((function(e){var t=e.key,a=e.regExpFun,r=e.types;return n.oldValue.filter((function(e){return r.includes(e.type)&&a(e[t])}))})).reduce((function(e,t){return e.concat(t)}));t.forEach((function(e){n.selectedAllValue.find((function(t){return t.groupId===e.groupId}))||n.selectedAllValue.push(e)}))}var a=A(n).selectedAllValue;if(a.length){var r=I(a,1)[0],i=(void 0===r?{}:r).groupId;i||0===i||(n.selectedAllValue=n.oldValue.filter((function(e){return a.indexOf(e.groupId)>-1})))}},n.setAllDataList=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(e){n["all".concat(e.type,"List")]&&n["all".concat(e.type,"List")].push(e)}))},n.searchData=function(){a.Table.setQuery(ai,n.params)},n.setCheckedData=function(e,t){a.Table.setCheckedData(e,t)},n.handleSelectType=function(e){n.params.types=e||n.allTypes,n.searchData()},n.handleChangeMe=function(e){n.params.onlyCreatedByMe=e,n.searchData()},n.inputQuery=function(e){n.params.query=e.target.value},n.calcTotal=function(e){var t=e.map((function(e){return e.checklistQuantity}));return t.length&&t.reduce((function(e,t){return e+t}))},n.handleSelectData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=n.getCheckedByTypes(e),a={dataList:e};n.allTypeList.forEach((function(e){var r=e.value,i=t[r];Object.assign(a,k(k({},"".concat(r.toLowerCase(),"GroupCount"),i.length),"".concat(r.toLowerCase(),"Count"),n.calcTotal(i)))})),n.selectedAllValue=e,n.props.onSelectedData(a)},n.getCheckedByTypes=function(e){var t={};return n.allTypeList.forEach((function(e){t[e.value]=[]})),e.forEach((function(e){t[e.type]&&t[e.type].push(e)})),t},n.updateCheckedAllStatus=function(e){var t=n.getCheckedByTypes(e);n.allTypeList.forEach((function(e){var a=e.value,r=t[a];n["isCheckedAll".concat(a)]=r.length&&r.length===n["all".concat(a,"List")].length}))},n.handleCheckAll=function(e,t){n["isCheckedAll".concat(e)]=t,t?n.handleSelectedAll(e,n.oldValue):n.handleCancelAll(e)},n.handleSelectedAll=function(e,t){var a=t.filter((function(t){return t.type===e}));n.selectedAllValue=n.selectedAllValue.concat(a);var r=[],i={};n.selectedAllValue.forEach((function(e,t){i[n.selectedAllValue[t].groupId]||(r.push(n.selectedAllValue[t]),i[n.selectedAllValue[t].groupId]=!0)})),n.setCheckedData(ai,r||[]),n.handleSelectData(r)},n.handleCancelAll=function(e){n.selectedAllValue=n.selectedAllValue.filter((function(t){return t.type!==e||n.isRowNotCancel(t)})),n.setCheckedData(ai,n.selectedAllValue||[]),n.handleSelectData(n.selectedAllValue)},n.ajaxData=function(e,t){return n.store.getTableData(n.props.serverName,f(f({},t),n.params))},n.rowRenderHandler=function(e){var t=n.props,a=t.readOnly,r=t.selectedType;return n.isRowNotCancel(e)&&Object.assign(e,{gm_checkbox_disabled:!0}),a&&Object.assign(e,{gm_checkbox_disabled:!0}),r&&e.type===r&&Object.assign(e,{gm_checkbox:!0}),e},n.isRowNotCancel=function(e){var t=n.props.defaultCheckedConfig;return!(!t||!t.length)&&t.find((function(t){var n=t.key,a=t.regExpFun;return t.types.includes(e.type)&&a(e[n])}))},n.handleGridCheckedAfter=function(e){n.updateCheckedAllStatus(e),n.handleSelectData(e)},n.renderSearchArea=function(){var e=A(n),t=e.typeList,r=e.handleCheckAll,i=e.handleChangeMe,o=e.handleSelectType,s=e.inputQuery,u=e.searchData,c=n.state.isLoading,d=n.props.readOnly;return l.default.createElement("div",{className:"search-area"},t.map((function(e){return e.value&&l.default.createElement(a.Checkbox,{key:e.value,checked:n["isCheckedAll".concat(e.value)],disabled:d||c,onChange:function(t){return r(e.value,t)}},"全部",e.label)})),l.default.createElement("span",{className:"selected-me"},l.default.createElement(a.Checkbox,{onChange:i,disabled:c},"只显示我创建的"),t.length>1&&l.default.createElement(a.Select,{disabled:c,defaultValue:t[0].value,onChange:o,dataSource:t,labelKey:"label",valueKey:"value"}),l.default.createElement(a.Input,{disabled:c,placeholder:"请输入分组ID/名称",onChange:s,onEnter:u,suffix:l.default.createElement(a.Icon,{type:"search",style:{color:"#DBDBDB"},onClick:u})})))},n.state={isLoading:!0};var r=A(n).allTypeList;r.forEach((function(e){n["all".concat(e.value,"List")]=[],n["isCheckedAll".concat(e.value)]=!1}));var i=e.showTypes?N(r).filter((function(t){return e.showTypes.includes(t.value)})):N(r);return i.length>1&&i.unshift({label:"全部分组",value:""}),n.typeList=i,1===i.length&&(n.params.types=n.typeList[0].value),n.selectedAllValue=e.hasSelectedList||[],n.getAllData(),n}return C(t,e),w(t,[{key:"allTypes",get:function(){var e=this;return this.props.showTypes?this.allTypeList.filter((function(t){return e.props.showTypes.includes(t.value)})).map((function(e){return e.value})).join(","):this.allTypeList.map((function(e){return e.value})).join(",")}},{key:"render",value:function(){var e=this.columnData,t=this.handleGridCheckedAfter,n=this.ajaxData,r=this.rowRenderHandler,i=this.state.isLoading;return l.default.createElement(l.default.Fragment,null,this.renderSearchArea(),l.default.createElement(a.Loading,{layer:!0,size:"large",loading:i},l.default.createElement(a.Table,E({height:"290px",gridManagerName:"black-list-grid",ajaxData:n,checkedAfter:t,checkedAllAfter:t,rowRenderHandler:r},$r,{columnData:e}))))}}]),t}(t.Component),ii=["dataList"];function oi(e){var t=e.selectedData,n=Xr[e.type].map((function(e){var n=t["".concat(e.value.toLowerCase(),"GroupCount")];return n?f(f({},e),{},{groupCount:n,idCount:t["".concat(e.value.toLowerCase(),"Count")]}):null})).filter(Boolean);return l.default.createElement("p",{className:"selected-count"},n.length?n.map((function(e,t){return l.default.createElement("span",{key:e.value},"".concat(e.groupCount,"个").concat(e.label,"分组(").concat(e.idCount,"个").concat(e.childLabel,")").concat(t===n.length-1?"。":","))})):"暂未选择任何数据。")}var li=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).allTypeList=Xr[n.props.type],n.save=function(){n.props.onOk(n.state.selectedData,n.state.selectedCount),n.resetData()},n.resetData=function(e){var t=n.props,a=t.onClose;"cancel"===e&&(0,t.onCancel)(),"close"===e&&a(),n.setState({selectedCount:n.initSelectedCount(),selectedData:[]})},n.initSelectedCount=function(){var e={};return n.allTypeList.forEach((function(t){e["".concat(t.value.toLowerCase(),"GroupCount")]=0,e["".concat(t.value.toLowerCase(),"Count")]=0})),e},n.onSelectedData=function(e){var t=e.dataList,a=x(e,ii);n.setState({selectedCount:a,selectedData:t})},n.state={selectedCount:n.initSelectedCount(),selectedData:[]},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.visible,r=t.option,i=t.type,o=t.defaultCheckedConfig,s=r.isReadOnly,u=r.selectedList,c=r.serverName,d=r.isCheckAll;return n&&!c?(a.Message.error("blackList 缺少 serverName 参数"),""):l.default.createElement(a.Modal,{title:Zr[i].title,visible:n,modalStyle:ei.modalStyle,bodyStyle:ei.bodyStyle,onClose:function(){return e.resetData("close")},onCancel:function(){return e.resetData("cancel")},onOk:this.save,clickMaskCanClose:!1,hasFooter:!s},l.default.createElement("div",{className:tt("".concat(Ce,"-black-selector"))},l.default.createElement(a.Tips,{msg:Zr[i].tips}),l.default.createElement(ri,{onSelectedData:this.onSelectedData,showTypes:r.showTypes,readOnly:s,serverName:c,isCheckAll:d,type:i,defaultCheckedConfig:o,hasSelectedList:u}),l.default.createElement(oi,{selectedData:this.state.selectedCount,type:i})))}}]),t}(t.Component);li.propTyes={option:et.shape({serverName:et.string.isRequired,selectedList:et.array,showTypes:et.array,isReadOnly:et.bool,isCheckAll:et.bool}),onClose:et.func,onCancel:et.func,visible:et.bool,type:et.string,defaultCheckedConfig:et.array},li.defaultProps={option:{serverName:"https://qa-ual.shuyun.com",selectedList:[],isReadOnly:!1,showTypes:Xr.black.map((function(e){return e.value})),isCheckAll:!0},type:"black",visible:!1,defaultCheckedConfig:[{types:["EMAIL","MOBILE"],key:"isSystem",regExpFun:function(e){return e}}]};var si={black:[{label:"手机黑名单",value:"MOBILE",childLabel:"手机号"},{label:"客户黑名单",value:"CUSTOMER",childLabel:"平台账号"},{label:"邮箱黑名单",value:"EMAIL",childLabel:"邮箱地址"}],red:[{label:"客户红名单",value:"RED_CUSTOMER",childLabel:"平台账号"}]},ui={black:{title:"选择屏蔽黑名单",tips:"可在“数据管理”菜单下查看并维护黑名单分组和明细数据。"},red:{title:"选择红名单分组",tips:"选择为红名单的客户将始终收到短信或邮件,名单可在数据管理中维护。"}},ci={modalStyle:{maxWidth:"990px"},bodyStyle:{maxWidth:"990px",maxHeight:"460px",height:"460px",padding:"10px 20px",fontSize:"12px"}},di="blacklist/1.0",fi=function(){function e(){y(this,e),this.tableList=[],this.info={current:1,pageSize:10,pageTotal:10,total:0}}var t,n;return w(e,[{key:"getTableData",value:(n=g(p().mark((function e(t,n){var a,r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(di,"/checklist/group/list"),e.next=3,ye.get(a,{params:n});case 3:return this.tableList=(i=(r=e.sent).data).list,this.info={current:i.pageNum,pageSize:i.pageSize,pageTotal:i.totalPages,total:i.totals},e.abrupt("return",r.data);case 8:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"getTypeAllData",value:(t=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(di,"/checklist/group/all?types=").concat(n),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 6:case"end":return e.stop()}}),e)}))),function(e,n){return t.apply(this,arguments)})}]),e}(),pi=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).store=new fi,n.tableRef=l.default.createRef(),n.allTypeList=si[n.props.type],n.params={types:n.allTypes,onlyCreatedByMe:!1,query:""},n.columnData=[{dataIndex:"type",title:"分组类型",align:"left",width:100,render:function(e){return l.default.createElement("span",null,(n.allTypeList.find((function(t){return t.value===e}))||{}).label||"其他类型")}},{dataIndex:"groupId",title:"分组ID",align:"left"},{dataIndex:"groupName",title:"分组名称",align:"left",ellipsis:!0,width:150,render:function(e){return l.default.createElement(r.Tooltip,{content:e},e||"--")}},{dataIndex:"checklistQuantity",title:"当前数据量(条)",align:"right",width:160,render:function(e){return l.default.createElement("span",{style:{paddingRight:10}},0>+e?"--":(""+e).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g,"$1,"))}},{dataIndex:"creatorName",title:"创建人",align:"left",ellipsis:!0,width:150,render:function(e){return l.default.createElement(r.Tooltip,{content:e},e)}},{dataIndex:"created",title:"创建时间",align:"left",width:180,render:function(e){return l.default.createElement("span",null,e?e.split("-").join("/"):"--")}}],n.getAllData=g(p().mark((function e(){var t,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.store.getTypeAllData(n.props.serverName,n.allTypes);case 3:n.oldValue=e.sent.data.filter((function(e){return n.allTypeList.map((function(e){return e.value})).includes(e.type)})),n.setAllDataList(n.oldValue),n.updateSelectedValue(),t=A(n),n.updateCheckedAllStatus(a=t.selectedAllValue),n.handleSelectData(a),n.setCheckedData(a),n.setState({isLoading:!1}),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(0),r.Message.error(e.t0.message||"数据获取失败,全选时数据可能会有误,请重新打开进行选择");case 18:case"end":return e.stop()}}),e,null,[[0,15]])}))),n.updateSelectedValue=function(){n.props.isCheckAll&&!n.selectedAllValue.length&&(n.selectedAllValue=n.oldValue);var e=n.props.defaultCheckedConfig;if(e&&e.length){var t=e.map((function(e){var t=e.key,a=e.regExpFun,r=e.types;return n.oldValue.filter((function(e){return r.includes(e.type)&&a(e[t])}))})).reduce((function(e,t){return e.concat(t)}));t.forEach((function(e){n.selectedAllValue.find((function(t){return t.groupId===e.groupId}))||n.selectedAllValue.push(e)}))}var a=A(n).selectedAllValue;if(a.length){var r=I(a,1)[0],i=(void 0===r?{}:r).groupId;i||0===i||(n.selectedAllValue=n.oldValue.filter((function(e){return a.indexOf(e.groupId)>-1})))}},n.setAllDataList=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(e){n["all".concat(e.type,"List")]&&n["all".concat(e.type,"List")].push(e)}))},n.searchData=function(){n.tableRef.current.refreshTable(!0,n.params)},n.setCheckedData=function(e){n.setState({selectedAllValue:e})},n.handleSelectType=function(e){n.params.types=e||n.allTypes,n.searchData()},n.handleChangeMe=function(e){n.params.onlyCreatedByMe=e,n.searchData()},n.inputQuery=function(e){n.params.query=e.target.value},n.calcTotal=function(e){var t=e.map((function(e){return e.checklistQuantity}));return t.length&&t.reduce((function(e,t){return e+t}))},n.handleSelectData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=n.getCheckedByTypes(e),a={dataList:e};n.allTypeList.forEach((function(e){var r=e.value,i=t[r];Object.assign(a,k(k({},"".concat(r.toLowerCase(),"GroupCount"),i.length),"".concat(r.toLowerCase(),"Count"),n.calcTotal(i)))})),n.selectedAllValue=e,n.props.onSelectedData(a)},n.getCheckedByTypes=function(e){var t={};return n.allTypeList.forEach((function(e){t[e.value]=[]})),e.forEach((function(e){t[e.type]&&t[e.type].push(e)})),t},n.updateCheckedAllStatus=function(e){var t=n.getCheckedByTypes(e);n.allTypeList.forEach((function(e){var a=e.value,r=t[a];n["isCheckedAll".concat(a)]=r.length&&r.length===n["all".concat(a,"List")].length}))},n.handleCheckAll=function(e,t){n["isCheckedAll".concat(e)]=t,t?n.handleSelectedAll(e,n.oldValue):n.handleCancelAll(e)},n.handleSelectedAll=function(e,t){var a=t.filter((function(t){return t.type===e}));n.selectedAllValue=n.selectedAllValue.concat(a);var r=[],i={};n.selectedAllValue.forEach((function(e,t){i[n.selectedAllValue[t].groupId]||(r.push(n.selectedAllValue[t]),i[n.selectedAllValue[t].groupId]=!0)})),n.setCheckedData(r||[]),n.handleSelectData(r)},n.handleCancelAll=function(e){n.selectedAllValue=n.selectedAllValue.filter((function(t){return t.type!==e||n.isRowNotCancel(t)})),n.setCheckedData(n.selectedAllValue||[]),n.handleSelectData(n.selectedAllValue)},n.ajaxData=function(){var e=g(p().mark((function e(t){var a,r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.pageNum,r=t.pageSize,e.next=3,n.store.getTableData(n.props.serverName,f({pageNum:a,pageSize:r},n.params));case 3:return e.abrupt("return",{totals:n.store.info.total,data:n.store.tableList});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),n.rowRenderHandler=function(e){var t=n.props.readOnly;n.isRowNotCancel(e)&&Object.assign(e,{disabled:!0}),t&&Object.assign(e,{disabled:!0})},n.isRowNotCancel=function(e){var t=n.props.defaultCheckedConfig;return!(!t||!t.length)&&t.find((function(t){var n=t.key,a=t.regExpFun;return t.types.includes(e.type)&&a(e[n])}))},n.handleGridCheckedAfter=function(e){n.updateCheckedAllStatus(e),n.handleSelectData(e)},n.renderSearchArea=function(){var e=A(n),t=e.typeList,a=e.handleCheckAll,i=e.handleChangeMe,o=e.handleSelectType,s=e.inputQuery,u=e.searchData,c=n.state.isLoading,d=n.props.readOnly;return l.default.createElement("div",{className:"search-area"},t.map((function(e){return e.value&&l.default.createElement(r.Checkbox,{className:"checkbox",key:e.value,checked:n["isCheckedAll".concat(e.value)]||!1,disabled:d||c,onChange:function(t){return a(e.value,t)}},"全部",e.label)})),l.default.createElement("span",{className:"selected-me"},l.default.createElement(r.Checkbox,{className:"checkbox",onChange:i,disabled:c},"只显示我创建的"),t.length>1&&l.default.createElement(r.Select,{className:"select",disabled:c,defaultValue:t[0].value,onChange:o,dataSource:t,labelKey:"label",valueKey:"value"}),l.default.createElement(r.Input,{className:"input-group",disabled:c,placeholder:"请输入分组ID/名称",onChange:s,onEnter:u,suffix:l.default.createElement(r.Icon,{type:"search",style:{color:"#DBDBDB"},onClick:u})})))},n.state={isLoading:!0,selectedAllValue:[]};var a=A(n).allTypeList;a.forEach((function(e){n["all".concat(e.value,"List")]=[],n["isCheckedAll".concat(e.value)]=!1}));var i=e.showTypes?N(a).filter((function(t){return e.showTypes.includes(t.value)})):N(a);return i.length>1&&i.unshift({label:"全部分组",value:""}),n.typeList=i,1===i.length&&(n.params.types=n.typeList[0].value),n.selectedAllValue=e.hasSelectedList||[],n.getAllData(),n}return C(t,e),w(t,[{key:"allTypes",get:function(){var e=this;return this.props.showTypes?this.allTypeList.filter((function(t){return e.props.showTypes.includes(t.value)})).map((function(e){return e.value})).join(","):this.allTypeList.map((function(e){return e.value})).join(",")}},{key:"render",value:function(){var e=this.columnData,t=this.ajaxData,n=this.handleGridCheckedAfter,a=this.rowRenderHandler,i=this.state.isLoading;return l.default.createElement(l.default.Fragment,null,this.renderSearchArea(),l.default.createElement(r.CTable,{ref:this.tableRef,loading:i,style:{width:"100%",height:320},supportPage:!0,showTotal:!0,rowKey:"groupId",columnData:e,ajaxData:t,pageOpts:{pageSize:10,pageSizeOptions:[10,20,30,50,100],type:"small",showQuickJumper:!1},supportCheckbox:!0,checkedData:this.state.selectedAllValue,onCheckedAfter:n,onCheckedAllAfter:n,onRow:a}))}}]),t}(t.Component),hi=["dataList"];function mi(e){var t=e.selectedData,n=si[e.type].map((function(e){var n=t["".concat(e.value.toLowerCase(),"GroupCount")];return n?f(f({},e),{},{groupCount:n,idCount:t["".concat(e.value.toLowerCase(),"Count")]}):null})).filter(Boolean);return l.default.createElement("p",{className:"selected-count"},n.length?n.map((function(e,t){return l.default.createElement("span",{key:e.value},"".concat(e.groupCount,"个").concat(e.label,"分组(").concat(e.idCount,"个").concat(e.childLabel,")").concat(t===n.length-1?"。":","))})):"暂未选择任何数据。")}var vi=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).allTypeList=si[n.props.type],n.save=function(){n.props.onOk(n.state.selectedData,n.state.selectedCount),n.resetData()},n.resetData=function(e){var t=n.props,a=t.onClose;"cancel"===e&&(0,t.onCancel)(),"close"===e&&a(),n.setState({selectedCount:n.initSelectedCount(),selectedData:[]})},n.initSelectedCount=function(){var e={};return n.allTypeList.forEach((function(t){e["".concat(t.value.toLowerCase(),"GroupCount")]=0,e["".concat(t.value.toLowerCase(),"Count")]=0})),e},n.onSelectedData=function(e){var t=e.dataList,a=x(e,hi);n.setState({selectedCount:a,selectedData:t})},n.state={selectedCount:n.initSelectedCount(),selectedData:[]},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.visible,a=t.option,i=t.type,o=t.defaultCheckedConfig,s=a.isReadOnly,u=a.selectedList,c=a.serverName,d=a.isCheckAll;return n&&!c?(r.Message.error("blackList 缺少 serverName 参数"),""):l.default.createElement(r.Modal,{title:ui[i].title,visible:n,modalStyle:ci.modalStyle,bodyStyle:ci.bodyStyle,onClose:function(){return e.resetData("close")},onCancel:function(){return e.resetData("cancel")},onOk:this.save,clickMaskCanClose:!1,hasFooter:!s},l.default.createElement("div",{className:tt("".concat(Ce,"-new-black-selector"))},l.default.createElement(r.Tips,{msg:ui[i].tips}),l.default.createElement(pi,{onSelectedData:this.onSelectedData,showTypes:a.showTypes,readOnly:s,serverName:c,isCheckAll:d,type:i,defaultCheckedConfig:o,hasSelectedList:u}),l.default.createElement(mi,{selectedData:this.state.selectedCount,type:i})))}}]),t}(t.Component);vi.propTyes={option:et.shape({serverName:et.string.isRequired,selectedList:et.array,showTypes:et.array,isReadOnly:et.bool,isCheckAll:et.bool}),onClose:et.func,onCancel:et.func,visible:et.bool,type:et.string,defaultCheckedConfig:et.array},vi.defaultProps={option:{serverName:"https://qa-ual.shuyun.com",selectedList:[],isReadOnly:!1,showTypes:si.black.map((function(e){return e.value})),isCheckAll:!0},type:"black",visible:!1,defaultCheckedConfig:[{types:["EMAIL","MOBILE"],key:"isSystem",regExpFun:function(e){return e}}]};var gi=l.default.createContext(null),yi=[],bi={TAOBAO:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M814.8 97H209.2C147.2 97 97 147 97 208.7v602.7C97 873 147.2 923 209.2 923h53.1c13.1 1.6 26.3 3.2 40 3.5 6.2 0.2 11.6 0.2 24.9 0.3 12.6 0.2 23 0.2 30.4 0.2h308.3c7.6 0 17.9 0 30.4-0.2 13.2-0.2 18.7-0.2 24.9-0.3 13.7-0.2 26.9-1.9 40-3.5h53.5c62 0 112.2-50 112.2-111.7V208.7C927 147 876.8 97 814.8 97z",fill:"#FF4401"}),l.default.createElement("path",{d:"M380.8 451.2c16.6-16.8 31.4-33.6 44.2-50.3 13.2-5.7 26-11.3 38.4-16.3-15.3 27.7-40 69.6-64.9 96.1l34.9 30.8s23.8-23.1 49.7-50.9h30V512H397.7v41.2h115.4v98.6c-1.3 0-2.9 0-4.3-0.2-12.6-0.8-32.5-2.9-40.3-15.2-9.4-15.1-2.6-42.8-1.9-59.8h-79.9l-2.9 1.4S354.6 710.2 468 707.2c106.3 3 167.1-29.8 196.4-52.5l11.6 43.8 65.5-27.6L697 561.2 643.9 578l9.9 37.4c-13.6 10.3-29.2 18.1-46.2 23.6v-86h112.9v-41.2h-113v-51.4h113.2v-41.2H519.4c14.7-17.8 26-34.1 28.9-44.4l-34.9-9.7c150.5-54.4 234.2-45 233.5 44.2v234.8s8.9 80.7-82.6 74.8l-49.6-10.6-11.6 47.6s213.8 61.8 231.3-104.2c17.4-166.2-4.1-272.1-4.1-272.1s-19.6-153.2-351.5-58.2c14.3-24.9 21-41.2 21-41.2l-83.1-23.5s-33.5 110.2-93.1 161.6c0 0.1 57.9 33.7 57.2 32.9z",fill:"#FFFFFF"}),l.default.createElement("path",{d:"M346.1 588.2c15.9-49.8 19.4-87.8-7.7-115.6-34.9-35.5-38.7-38.7-90.5-77.7l-37.5 58 68.9 43.3s46.1 23.6 24.2 68c-20.4 42.2-120.7 134.3-120.7 134.3l89.6 56.6c62.1-136.2 58.1-118.1 73.7-166.9zM296.8 373.3c32.5 0 59-23.9 59-53.6 0-29.7-26.5-53.6-59-53.6-32.8 0-59.1 23.8-59.3 53.6 0 29.5 26.5 53.6 59.3 53.6z",fill:"#FFFFFF"})),JOS:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M904.7 142.7c-6.6-8.9-14.4-16.8-23.4-23.4-18.6-13.8-41.5-22.3-66.5-22.3H209.2c-25 0-47.9 8.5-66.6 22.3-8.9 6.6-16.8 14.4-23.4 23.4-13.7 18.6-22.2 41.5-22.2 66.5v605.6c0 25 8.5 47.9 22.3 66.6 6.6 8.9 14.4 16.8 23.4 23.4 18.7 13.8 41.5 22.3 66.6 22.3h605.6c25 0 47.9-8.5 66.6-22.3 8.9-6.6 16.8-14.4 23.4-23.4 13.8-18.7 22.3-41.5 22.3-66.6V209.2c-0.2-25-8.7-47.9-22.5-66.5z",fill:"#C9121C"}),l.default.createElement("path",{d:"M392.3 587.5h1.9V259.3h-59.7v326.4c0 67.1-54.1 119.4-119.4 119.4H186v59.7h29.1c97-0.1 177.2-78.4 177.2-177.3zM838 511.1c0-138-98.8-251.8-221.9-251.8H466.9v505.4h149.2c123.1 0 221.9-115.6 221.9-253.6zM526.6 319h89.5c89.5 0 162.3 87.7 164.1 194 0 106.3-74.6 192.1-164.1 192.1h-89.5V319z",fill:"#FFFFFF"})),YHD:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M814.3 100.4H212c-61.6 0-111.6 50-111.6 111.6v602.3c0 61.6 50 111.6 111.6 111.6h602.3c61.6 0 111.6-50 111.6-111.6V212c0-61.6-50-111.6-111.6-111.6z",fill:"#FFFFFF"}),l.default.createElement("path",{d:"M814.3 928.3H212c-62.9 0-114-51.1-114-114V212c0-62.9 51.1-114 114-114h602.3c62.9 0 114 51.1 114 114v602.3c0 62.9-51.1 114-114 114zM212 102.8c-60.2 0-109.2 49-109.2 109.2v602.3c0 60.2 49 109.2 109.2 109.2h602.3c60.2 0 109.2-49 109.2-109.2V212c0-60.2-49-109.2-109.2-109.2H212z",fill:"#999999"}),l.default.createElement("path",{d:"M333.6 407.6l-0.1-129.8L171.8 433l49.3-0.7v316.2h112.6V407.6z",fill:"#F01514"}),l.default.createElement("path",{d:"M482.7 464.1c50.2 0 90.9-40.7 90.9-90.9s-40.7-90.9-90.9-90.9-90.9 40.7-90.9 90.9 40.7 90.9 90.9 90.9z m0-148c31.6 0 57.2 25.6 57.2 57.2s-25.6 57.2-57.2 57.2-57.2-25.6-57.2-57.2c0-31.7 25.6-57.2 57.2-57.2zM593.2 515.8v-40.7H373.4v40.7h94.3V562c4.8-1 9.8-1.5 14.9-1.5h0.6c6.2 0.1 12.1 0.9 17.9 2.3 33 8.3 57.4 38 57.4 73.5 0 41.9-34 75.9-75.9 75.9-41.5 0-75.1-33.3-75.8-74.6h-32.5c0 59.8 48.5 108.3 108.3 108.3s108.3-48.5 108.3-108.3c0-53.5-38.8-97.7-89.8-106.5v-15.3h92.1z",fill:"#221E1F"}),l.default.createElement("path",{d:"M725.8 282.3h35.5v25.6h-35.5zM758.6 526.5V458h79.7v-31h-79.7v-71h92.8v-31H634.8v192h31V356h61.8v170.5c-54 7.6-95.5 53.9-95.5 110 0 61.4 49.8 111.2 111.2 111.2 61.4 0 111.2-49.8 111.2-111.2 0-56.2-41.7-102.5-95.9-110z m-15.3 183.3c-40.4 0-73.2-32.8-73.2-73.2s32.8-73.2 73.2-73.2 73.2 32.8 73.2 73.2-32.7 73.2-73.2 73.2z",fill:"#221E1F"})),SUNING:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M984.2688 447.2832L888.832 352.0512v-134.7584c0-48.128-39.1168-87.2448-87.2448-87.2448h-134.7584L571.5968 34.816c-16.384-16.384-37.6832-24.9856-59.1872-25.6h-4.9152c-21.504 0.6144-42.8032 9.216-59.1872 25.6l-95.232 95.232h-134.7584C169.984 130.048 131.072 169.1648 131.072 217.2928v134.7584l-95.232 95.232C18.8416 464.2816 10.24 486.6048 10.24 509.1328c0 22.3232 8.6016 44.6464 25.6 61.6448L131.072 666.0096V800.768c0 48.128 39.1168 87.2448 87.2448 87.2448h134.7584l95.232 95.232c34.2016 33.9968 89.2928 33.9968 123.4944 0l95.232-95.232h134.7584c48.128 0 87.2448-39.1168 87.2448-87.2448v-134.7584l95.232-95.232c33.9968-33.9968 33.9968-89.2928 0-123.4944z",fill:"#F7B400"}),l.default.createElement("path",{d:"M657.408 579.1744c-8.8064-73.9328-71.68-131.2768-148.0704-131.2768-76.1856 0-139.0592 57.344-147.8656 131.2768-61.6448 1.8432-111.2064 52.6336-111.2064 114.688 0 63.488 51.4048 114.688 114.8928 114.688h289.792c63.488 0 114.688-51.4048 114.688-114.688 0-62.464-49.9712-113.2544-112.2304-114.688z",fill:"#FFFFFF","p-id":"4192"}),l.default.createElement("path",{d:"M628.3264 443.8016c0 20.48 16.5888 37.0688 37.0688 37.0688 20.48 0 37.0688-16.5888 37.0688-37.0688 0-20.48-16.5888-37.0688-37.0688-37.0688-20.48 0-37.0688 16.5888-37.0688 37.0688zM316.2112 443.8016c0 20.48 16.5888 37.0688 37.0688 37.0688 20.48 0 37.0688-16.5888 37.0688-37.0688 0-20.48-16.5888-37.0688-37.0688-37.0688-20.48 0-37.0688 16.5888-37.0688 37.0688zM599.6544 579.1744h-180.6336c-16.7936 0-31.744 22.7328-7.3728 40.7552l59.5968 44.6464s16.384 11.8784 37.888 11.6736c21.504 0.2048 37.888-11.6736 37.888-11.6736l59.5968-44.6464c24.576-18.0224 9.8304-40.7552-6.9632-40.7552z",fill:"","p-id":"4193"})),DD:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M814.8 927H209.2C147.2 927 97 876.8 97 814.8V209.2C97 147.2 147.2 97 209.2 97h605.6c62 0 112.2 50.2 112.2 112.2v605.6c0 62-50.2 112.2-112.2 112.2z",fill:"#FF1810"}),l.default.createElement("path",{d:"M187.1 336.5c0 24.8 20.1 44.9 44.9 44.9 24.8 0 44.9-20.1 44.9-44.9 0-24.8-20.1-44.9-44.9-44.9-24.8 0.1-44.9 20.2-44.9 44.9zM246.8 632.4c25.7 36.7 70.5 61.1 121.6 61.1 79.8 0 140.6-59.5 140.6-133s-60.8-133-140.6-133c-52.2 0-98 25.5-123.4 63.7 0 0-18.1 16.5-36.5 1.7-21.2-19.6-1.2-51.5-1.2-51.5 32-36.6 78.3-62.1 131.2-69.1l-0.5-78.5s8.9-20.4 30.1-20.3c21.2 0.2 29.8 20.4 29.8 20.4l0.1 78.3c100.1 13.2 169.3 92.5 169.3 188.3 0 105-84.6 190.2-198.7 190.2-67.5 0-127.4-29.8-165.1-75.8 0 0-13.4-30.2 5.3-42.8 18.3-12.8 38 0.3 38 0.3z",fill:"#FFFFFF"}),l.default.createElement("path",{d:"M468 336.5c0 24.8 20.1 44.9 44.9 44.9 24.8 0 44.9-20.1 44.9-44.9 0-24.8-20.1-44.9-44.9-44.9-24.8 0.1-44.9 20.2-44.9 44.9zM745.4 336.5c0 24.8 20.1 44.9 44.9 44.9 24.8 0 44.9-20.1 44.9-44.9 0-24.8-20.1-44.9-44.9-44.9-24.8 0.1-44.9 20.2-44.9 44.9zM446.9 563.2c0 16.1-13.1 29.3-29.3 29.3H198.9c-16.1 0-29.3-13.1-29.3-29.3 0-16.1 13.1-29.3 29.3-29.3h218.7c16.1 0.1 29.3 13.2 29.3 29.3z",fill:"#FFFFFF"}),l.default.createElement("path",{d:"M577.2 672.2c22.6 13.4 49.5 21.3 78.4 21.3 79.8 0 140.6-59.5 140.6-133s-60.8-133-140.6-133c-28.8 0-55.7 7.8-78.2 21.1l-32.5-48.7c24-14 51.4-23.7 80.7-27.6l-0.5-78.6s8.9-20.4 30.1-20.3c21.2 0.2 29.8 20.4 29.8 20.4l0.1 78.3c100.3 13.1 169.4 92.4 169.4 188.3 0 105-84.6 190.2-198.7 190.2-39.7 0-76.8-10.3-108.2-28.1l29.6-50.3z",fill:"#FFFFFF"}),l.default.createElement("path",{d:"M607 534h97.8c16.1 0 29.3 13.1 29.3 29.3 0 16.1-13.1 29.3-29.3 29.3h-97.4L607 534z",fill:"#FFFFFF"})),OFFLINE:l.default.createElement("svg",{viewBox:"0 0 1025 1024"},l.default.createElement("path",{d:"M842.269 98.211l-7.383-11.426h-634.395l-7.383 9.756c-161.631 212.607-139.307 341.982-111.622 400.254 27.773 58.359 84.023 96.153 143.349 96.153h5.362c74.883-3.076 124.629-41.396 150.908-69.082 23.731 27.773 68.291 64.776 138.076 64.776 72.773 0 118.125-40.342 140.888-68.379 31.729 26.631 93.691 70.313 158.643 70.313 42.627 0 79.102-18.018 108.809-53.438 110.215-132.099-77.256-426.445-85.254-438.925v0 0zM889.467 504.089c-19.951 24.082-43.154 35.596-70.839 35.596-62.578 0-127.617-58.359-142.119-72.247v-175.166c0-0.528 0.263-0.879 0.263-1.318 0-14.151-11.162-25.664-24.873-25.664-13.711 0-24.873 11.513-24.873 25.664h-0.263v190.372c-13.536 19.073-47.988 56.338-107.578 56.338-67.325 0-102.393-47.373-111.885-62.49v-184.219c0-14.151-11.162-25.664-24.873-25.664s-24.873 11.513-24.873 25.664v183.34c-12.217 16.348-54.141 64.688-129.375 67.852h-3.34v-0.088c-33.223 0-76.553-20.918-98.701-67.676-22.237-46.582-38.32-151.963 98.701-336.533h583.067c51.768 84.287 149.942 284.502 81.563 366.24v0zM844.378 622.127c-13.799 0-25.049 11.513-25.049 25.752v185.977c0 28.565-22.5 51.68-50.185 51.68h-514.161c-27.685 0-50.185-23.115-50.185-51.68v-185.977c0-14.239-11.25-25.84-25.049-25.84s-25.049 11.513-25.049 25.84v191.075c0 54.317 42.627 98.262 95.273 98.262h524.268c52.646 0 95.273-43.945 95.273-98.262v-191.162c-0.088-14.151-11.338-25.664-25.137-25.664v0z"})),MGJ:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M923.477333 4.693333H99.584C46.165333 4.693333 2.816 48.042667 2.816 101.461333v823.978667c0 53.418667 43.349333 96.768 96.768 96.768h823.893333c53.418667 0 96.768-43.349333 96.768-96.768V101.461333c0-53.418667-43.349333-96.768-96.768-96.768zM659.882667 771.328c-8.448 81.92-81.664 141.568-163.584 133.12-81.92-8.448-141.568-81.664-133.12-163.584s81.664-141.568 163.584-133.12 141.568 81.664 133.12 163.584z m108.458666-91.477333c-108.202667 0-120.917333-111.018667-257.194666-111.018667-134.997333 0-169.984 113.237333-271.189334 113.237333s-133.973333-80.469333-127.914666-175.872c11.093333-174.933333 155.136-365.909333 399.104-365.909333s401.152 213.077333 400.384 373.589333c-7.594667 98.133333-34.986667 165.973333-143.189334 165.973334z",fill:"#FF0077","p-id":"4047"})),YOUZAN:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M0 0h1024v1024H0z",fill:"#6690FF","p-id":"2717"}),l.default.createElement("path",{d:"M745.2928 389.2992c-37.376 4.5312-74.7264 9.2928-112.0768 13.568-22.3232 2.6112-36.096-9.856-34.816-31.4624 1.1776-21.376 3.328-42.6496 4.8128-64 1.9712-27.2896 4.5056-54.5792 5.5296-81.92 1.536-39.9104-21.4528-68.6336-58.88-75.1872-31.4112-5.504-54.2208 13.0304-59.52 45.312a2942.3616 2942.3616 0 0 1-27.648 148.7616c-8.7552 40.064-22.4512 78.848-42.7264 114.6112-12.4928 22.0928-26.9824 42.7264-50.3296 53.8112-8.0128 3.8144-9.984 8.2688-9.984 16.5888 0.256 105.2928 0.1536 210.688 0.1536 315.9808v11.1616c5.3248-0.64 8.96-1.0496 12.5952-1.6128 120.6272-18.8672 241.1776-37.7344 361.8048-56.4992 31.8208-4.9408 51.712-30.4384 47.9744-63.1296-1.5104-13.3632 0.0768-25.728 6.0928-37.7088 9.984-20.0704 11.392-41.0368 8.1408-63.4624-2.048-13.824-2.3552-29.6192 2.2272-42.3936 10.8288-30.1312 12.9024-59.0848 5.7856-90.6496-3.584-16.0256 0.9472-34.6368 4.4288-51.5584 8.2176-38.2976-12.032-64-50.2784-61.5936a246.7072 246.7072 0 0 0-13.312 1.3824zM325.12 524.928c-5.0688 0.8192-8.064 1.2288-11.0848 1.792-24.448 4.6848-48.9984 9.216-73.4464 14.2336-17.7408 3.6608-27.2384 15.616-27.2384 34.0736-0.0768 89.4464-0.0768 178.944 0.0768 268.3904 0 21.12 13.312 33.5104 33.664 30.8992 22.4-2.816 44.544-7.1936 66.8672-9.856 9.4208-1.152 11.3152-5.3504 11.264-14.336-0.256-103.7568-0.1792-207.6672-0.1024-311.5008v-13.696z",fill:"#FFFFFF","p-id":"2718"})),WEIXIN:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M904.7 142.7c-6.6-8.9-14.4-16.8-23.4-23.4-18.6-13.8-41.5-22.3-66.5-22.3H209.2c-25 0-47.9 8.5-66.6 22.3-8.9 6.6-16.8 14.4-23.4 23.4-13.7 18.6-22.2 41.5-22.2 66.5v605.6c0 25 8.5 47.9 22.3 66.6 6.6 8.9 14.4 16.8 23.4 23.4 18.7 13.8 41.5 22.3 66.6 22.3h605.6c25 0 47.9-8.5 66.6-22.3 8.9-6.6 16.8-14.4 23.4-23.4 13.8-18.7 22.3-41.5 22.3-66.6V209.2c-0.2-25-8.7-47.9-22.5-66.5z",fill:"#51C333"}),l.default.createElement("path",{d:"M414.4 587.8c0-105.1 100.6-190.5 224.4-190.5 6.4 0 12.7 0.3 18.9 0.7-20.6-92.7-118.1-162.8-235.4-162.8-132.3 0-239.5 89.3-239.5 199.5 0 62.5 26.6 112.8 80.9 149.3 10.5 7.1-10.5 88.5-10.5 88.5s65.2-41.3 94.6-43.6c20.9-1.6 50.7 4.9 73.3 5.1-4.5-14.9-6.7-30.2-6.7-46.2z m97.1-247.4c16.5 0 30 13.5 30 30s-13.5 30-30 30c-16.6 0-30-13.5-30-30s13.4-30 30-30z m-177.6 60c-16.6 0-30-13.5-30-30 0-16.6 13.4-30 30-30 16.5 0 29.9 13.5 29.9 30 0 16.6-13.4 30-29.9 30z",fill:"#FFFFFF"}),l.default.createElement("path",{d:"M436.5 587.8c0 93.1 90.6 168.5 202.3 168.5 19.1 0 45-5.8 63-4.4 24.8 1.9 79.9 36.9 79.9 36.9s-17.8-68.8-9-74.8c45.8-30.9 68.4-73.3 68.4-126.3 0-93-90.6-168.5-202.3-168.5-111.7 0.1-202.3 75.6-202.3 168.6z m251.7-54.1c0-13.9 11.3-25.3 25.3-25.3 14.1 0 25.4 11.3 25.4 25.3s-11.3 25.5-25.4 25.5c-13.9-0.1-25.3-11.5-25.3-25.5z m-150.1 0c0-13.9 11.4-25.3 25.4-25.3 14 0 25.3 11.3 25.3 25.3s-11.3 25.5-25.3 25.5c-14-0.1-25.4-11.5-25.4-25.5z",fill:"#FFFFFF"})),DOUYIN:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M199.111111 0h625.777778c109.795556 0 199.111111 89.315556 199.111111 199.111111v625.777778c0 109.795556-89.315556 199.111111-199.111111 199.111111H199.111111c-109.795556 0-199.111111-89.315556-199.111111-199.111111V199.111111c0-109.795556 89.315556-199.111111 199.111111-199.111111z",fill:"#170B1A","p-id":"4999"}),l.default.createElement("path",{d:"M511.431111 302.08c0.568889-64.284444 0-128.568889 0.568889-192.853333h131.413333c-0.568889 11.377778 1.137778 22.755556 2.844445 33.564444h-96.711111v522.24c0.568889 22.186667-5.12 44.373333-15.928889 63.715556a107.861333 107.861333 0 0 1-83.057778 52.906666c-21.617778 1.706667-43.804444-2.275556-63.146667-13.084444-14.791111-7.964444-27.306667-19.342222-36.977777-32.995556 33.564444 18.773333 77.368889 17.066667 109.795555-3.982222 31.288889-19.342222 51.768889-55.751111 51.768889-93.297778-0.568889-112.071111-0.568889-224.142222-0.568889-336.213333z m216.746667-36.977778c18.204444 11.377778 38.684444 20.48 59.733333 25.031111 12.515556 2.844444 25.031111 3.982222 38.115556 3.982223v29.582222a187.335111 187.335111 0 0 1-97.848889-58.595556z",fill:"#25F4EE","p-id":"5000"}),l.default.createElement("path",{d:"M274.773333 428.942222a238.023111 238.023111 0 0 1 159.288889-33.564444V426.666667c-14.791111 0.568889-29.013333 2.275556-43.804444 5.12a249.457778 249.457778 0 0 0-97.848889 43.804444c-31.288889 23.324444-55.182222 55.182222-71.68 90.453333a243.427556 243.427556 0 0 0-23.324445 108.088889c0 40.96 11.377778 80.782222 30.72 116.622223 9.102222 16.497778 19.342222 32.426667 32.995556 45.511111-27.875556-19.342222-51.2-45.511111-68.266667-75.093334-23.324444-39.253333-34.702222-85.333333-33.564444-131.413333 1.706667-42.097778 13.653333-83.626667 35.84-120.035556a240.355556 240.355556 0 0 1 79.644444-80.782222z",fill:"#25F4EE","p-id":"5001"}),l.default.createElement("path",{d:"M549.546667 142.791111h97.28c3.413333 18.773333 10.24 36.408889 18.773333 53.475556 13.653333 26.168889 32.995556 49.493333 58.026667 64.853333 1.706667 1.137778 2.844444 2.275556 3.982222 3.982222 25.6 29.013333 60.302222 50.062222 98.417778 58.595556 0.568889 34.133333 0 68.835556 0 102.968889-64.284444 0.568889-128.568889-19.911111-180.906667-57.457778 0 81.92 0 163.84 0.568889 245.76 0 10.808889 0.568889 21.617778 0 32.995555a268.8 268.8 0 0 1-35.271111 113.777778c-17.066667 30.151111-40.391111 56.888889-68.266667 77.368889a219.306667 219.306667 0 0 1-124.586667 42.666667c-22.755556 0.568889-45.511111-0.568889-67.697777-5.688889-31.288889-6.826667-60.871111-19.911111-87.04-38.115556l-1.706667-1.706666c-13.084444-13.084444-23.893333-29.013333-32.995556-45.511111-19.342222-35.271111-30.72-75.662222-30.72-116.622223-0.568889-36.977778 7.395556-74.524444 23.324445-108.088889 16.497778-35.271111 40.96-67.128889 71.68-90.453333a249.457778 249.457778 0 0 1 97.848889-43.804444c14.222222-2.844444 29.013333-4.551111 43.804444-5.12 0.568889 13.084444 0 26.168889 0.568889 38.684444v66.56c-16.497778-5.688889-34.702222-5.688889-51.768889-1.706667-20.48 4.551111-39.822222 13.653333-55.751111 27.306667-9.671111 8.533333-18.204444 18.773333-23.893333 30.151111-10.24 19.342222-13.653333 42.097778-11.377778 63.715556 2.275556 21.048889 11.377778 41.528889 25.031111 57.457778 9.102222 11.377778 21.048889 19.911111 32.995556 27.875555 9.671111 13.653333 22.186667 25.031111 36.977777 32.995556 19.342222 10.24 41.528889 14.791111 63.146667 13.084444 34.133333-2.275556 65.991111-23.324444 83.057778-52.906667 10.808889-19.342222 16.497778-41.528889 15.928889-63.715555 1.137778-175.217778 0.568889-349.297778 0.568889-523.377778z",fill:"#FFFFFF","p-id":"5002"}),l.default.createElement("path",{d:"M646.826667 142.791111c11.377778 0.568889 22.755556 0 34.702222 0 0 38.115556 11.946667 76.231111 34.133333 107.52 2.844444 3.982222 5.688889 7.395556 8.533334 10.808889-25.031111-15.36-44.942222-38.684444-58.026667-64.853333-8.533333-16.497778-15.36-34.702222-19.342222-53.475556z m179.2 180.906667c12.515556 2.844444 25.031111 3.982222 38.115555 3.982222v132.551111c-64.853333 0.568889-129.706667-21.048889-182.613333-59.164444v262.826666c0.568889 19.911111-1.137778 39.822222-5.688889 59.164445a244.309333 244.309333 0 0 1-96.711111 147.342222c-26.168889 18.773333-55.751111 31.857778-86.471111 38.684444-37.546667 8.533333-76.8 7.964444-113.777778-1.706666a239.786667 239.786667 0 0 1-115.484444-69.404445c26.168889 18.773333 55.751111 31.288889 87.04 38.115556 22.186667 5.12 44.942222 6.257778 67.697777 5.688889a219.306667 219.306667 0 0 0 124.586667-42.666667c27.875556-20.48 50.631111-47.217778 68.266667-77.368889a268.8 268.8 0 0 0 35.271111-113.777778c0.568889-10.808889 0.568889-21.617778 0-32.995555-0.568889-81.92-0.568889-163.84-0.568889-245.76 52.337778 37.546667 116.622222 58.026667 180.906667 57.457778-0.568889-34.133333 0-68.835556-0.568889-102.968889z",fill:"#FE2C55","p-id":"5003"}),l.default.createElement("path",{d:"M434.631111 426.097778c12.515556 0 25.6 0.568889 38.115556 2.275555v135.964445c-18.204444-6.257778-38.684444-6.826667-57.457778-2.275556-35.84 7.964444-65.991111 35.271111-78.506667 69.973334-12.515556 34.133333-7.395556 73.955556 14.222222 102.968888-12.515556-7.395556-23.893333-16.497778-32.995555-27.875555-13.653333-15.928889-22.755556-36.408889-25.031111-57.457778-2.275556-21.617778 1.137778-44.373333 11.377778-63.715555 5.688889-11.377778 14.222222-21.617778 23.893333-30.151112 15.928889-13.653333 35.84-22.186667 55.751111-27.306666 17.066667-3.982222 35.271111-3.982222 51.768889 1.706666V463.644444c-1.137778-11.377778-0.568889-24.462222-1.137778-37.546666z",fill:"#FE2C55","p-id":"5004"})),WEIMOB:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M704.4096 555.52s58.7776-47.8208 58.2144-69.4272h67.8912l-4.8128 24.2176-36.3008 1.28c0-0.1024 16.9984 24.7296 11.52 42.7008l-96.512 1.2288z m92.8768 86.784h-38.9632l15.0016-52.1216h38.9632l-15.0016 52.1216z m-71.9872 0h-39.0144l15.0016-52.1216h39.0144l-15.0016 52.1216z m-71.9872 0h-39.0144l15.0016-52.1216h39.0144l-15.0016 52.1216z m131.1744-204.5952h67.7376l-6.0416 24.8832H776.192l8.2944-24.8832z m14.6944-55.7056h66.816l-7.3216 30.8736H790.528l8.704-30.8736z m-118.3744 51.4048l-48.4864 0.6144 3.6864-34.7136h50.2784l-5.4784 34.0992z m-17.8176 52.736L614.4 484.7616l4.096-33.4336h49.92l-5.4272 34.7136z m173.568 59.9552l33.6384-17.6128 32.2048-181.0944h-144.1792c-3.5328 77.312-24.5248 135.68-49.7152 156.8256l27.904-150.7328-134.2976-0.6656c3.4816 35.9936-30.8224 160.768-30.8224 160.768l124.6208-2.6624c-2.9184 7.3728-24.5248 12.1856-24.5248 12.1856 12.032 0 23.0912 26.368 23.0912 26.368l-103.5776-2.6624-16.0768 90.1632h-41.984l-8.448 40.0384s343.0912-11.3152 344.9856 0l10.5472-40.0384h-45.568l16.9472-90.1632-14.6944-0.7168z m-616.7552 96.768c5.7856 5.5296 9.728 7.3216 13.5168 12.9536 2.56 3.6864 5.7856 9.216 9.728 16.4864 19.2512-24.5248 32.1536-44.6976 38.656-60.6208 5.2224-13.4656 7.68-28.16 7.68-44.0832h23.1936c0 12.1856-3.8912 25.088-11.5712 38.6048a12.3904 12.3904 0 0 1-5.7856 5.4784l3.8912 36.7104 61.9008-38.6048 5.7856-34.8672-23.1936 12.8512 9.728-55.0912H262.3488c-1.28 24.5248-5.2224 44.6976-11.6224 60.6208-9.6768 23.9104-23.296 42.2912-30.976 49.6128z m28.9792-295.5776c-11.5712 13.5168-22.5792 25.088-32.8704 34.9184-15.5136 14.6944-26.112 22.272-30.9248 25.7024-4.7616 3.3792-7.68 3.6864-15.4624 5.4784l11.5712 49.6128L273.92 382.208 256.512 459.264l-15.5136-18.432a145.408 145.408 0 0 1-19.3024 25.7024 599.04 599.04 0 0 1-58.0096 44.1344c-11.5712 7.2704-17.408 10.3936-17.408 9.216l9.728 49.5616 27.136-18.432-27.136 139.6224h46.3872l32.9216-187.2896 32.8704-33.0752-5.7856-5.5296 131.4816 1.792-13.4656 14.6944L266.24 479.488l-9.728 39.5264h118.016l7.68-28.5184 9.728 18.432 42.496-40.448h17.408c-7.68 39.2192-13.5168 63.744-17.408 73.5232a225.28 225.28 0 0 1-15.4624 31.232l-1.9456-58.88-34.816 7.3216c0 22.016 0.6656 38.6048 1.9456 49.664 1.28 10.9568 4.5056 25.6512 9.728 44.032-1.3312 4.9152-9.0112 11.008-23.2448 18.432a990.208 990.208 0 0 1-59.904 27.4944l23.1936 33.0752 77.312-45.8752 44.544 45.8752 38.656-44.032c-6.4 0-14.7968-3.1232-25.088-9.216a111.104 111.104 0 0 1-28.9792-25.7024c19.3024-30.6176 31.5904-53.9136 36.6592-69.8368 7.68-23.9104 17.408-62.4128 17.408-67.8912l19.3024-1.792 11.6224-40.448H459.7248l36.6592-78.9504-46.3872-7.3216-46.3872 110.2336 13.4656-82.6368h-42.496L364.9024 430.08h-7.9872l11.776-79.0016h-36.8128L316.416 430.08h-11.52l7.68-56.832-38.656 1.7408-25.088-27.648zM153.6 0h716.8a153.6 153.6 0 0 1 153.6 153.6v716.8a153.6 153.6 0 0 1-153.6 153.6H153.6a153.6 153.6 0 0 1-153.6-153.6V153.6a153.6 153.6 0 0 1 153.6-153.6z",fill:"#2788FE","p-id":"12516"})),KUAISHOU:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M0 0m219.428571 0l585.142858 0q219.428571 0 219.428571 219.428571l0 585.142858q0 219.428571-219.428571 219.428571l-585.142858 0q-219.428571 0-219.428571-219.428571l0-585.142858q0-219.428571 219.428571-219.428571Z",fill:"#FF3000","p-id":"2490"}),l.default.createElement("path",{d:"M835.291429 649.289143v103.570286c0 71.972571-58.88 130.413714-131.657143 130.413714H510.025143a131.584 131.584 0 0 1-125.074286-89.819429l-115.419428 57.270857a64.146286 64.146286 0 0 1-85.723429-28.16 62.902857 62.902857 0 0 1-6.802286-28.379428v-185.782857a63.634286 63.634286 0 0 1 63.926857-63.268572c10.020571 0 19.894857 2.340571 28.891429 6.802286l114.834286 57.636571a131.657143 131.657143 0 0 1 125.366857-90.697142H703.634286c72.777143 0 131.657143 58.368 131.657143 130.413714zM512 585.874286a65.536 65.536 0 0 0-65.828571 64.146285v100.864c0 35.620571 28.891429 64.585143 64.731428 65.097143l190.902857 0.146286a65.609143 65.609143 0 0 0 65.828572-64.219429V651.190857a65.462857 65.462857 0 0 0-64.804572-65.170286H512z m-267.190857 57.417143v116.809142a17.554286 17.554286 0 0 0 25.088 15.506286l0.292571-0.146286 108.251429-54.710857v-38.692571l-108.397714-53.906286a17.408 17.408 0 0 0-25.234286 15.140572z m178.102857-508.123429c66.779429 0 125.001143 36.425143 155.501714 90.258286a153.088 153.088 0 0 1 103.936-40.374857c84.48 0 152.941714 67.803429 152.941715 151.478857a152.210286 152.210286 0 0 1-152.868572 151.552c-50.834286 0-95.817143-24.576-123.684571-62.317715a178.322286 178.322286 0 0 1-135.826286 62.317715A177.298286 177.298286 0 0 1 244.809143 311.588571c0-97.426286 79.725714-176.420571 178.102857-176.420571z m0 70.948571a106.057143 106.057143 0 0 0-106.496 105.545143c0 58.221714 47.689143 105.472 106.496 105.472a106.057143 106.057143 0 0 0 106.496-105.472 106.057143 106.057143 0 0 0-106.496-105.545143z m259.437714 49.883429c-44.909714 0-81.334857 36.132571-81.334857 80.530286 0 44.544 36.425143 80.603429 81.334857 80.603428 44.909714 0 81.334857-36.059429 81.334857-80.603428 0-44.397714-36.425143-80.530286-81.334857-80.530286z",fill:"#FFFFFF","p-id":"2491"})),REDBOOK:l.default.createElement("svg",{viewBox:"0 0 1024 1024"},l.default.createElement("path",{fill:"#ea4149",d:"M822.272 128C862.848 128 896 161.152 896 201.728v620.544c0 40.576-33.152 73.728-73.728 73.728H201.728A73.92 73.92 0 0 1 128 822.272V201.728C128 161.152 161.152 128 201.728 128zM623.424 415.36H519.424v44.032h28.8v141.12h-46.08l-21.824 43.2h161.344v-43.008h-46.72V458.816h28.48v-43.52z m-327.424-17.664h-44.992v208h-29.952l28.544 37.824h27.2s19.2 0 18.752-27.776l0.448-218.048zM479.488 597.76h-71.68l-23.168 45.76h50.112l15.744-0.128c2.752-0.192 6.592-2.304 7.808-4.608l5.12-9.472 16.064-31.552z m252.032-200.064h-44.992V416h-29.44v43.52h28.992v38.848h-43.776v45.888h44.992v98.56h44.544v-99.2h41.984c6.72 0 13.44 0 20.032 0.192 9.984 0.128 15.36 6.4 15.68 16.256l0.192 15.616-0.192 29.824-44.992-0.128 17.344 37.312h41.984c3.84 0 26.88-1.28 30.72-24.704l0.576-6.912V532.48c0-26.368-16.128-34.048-54.08-33.92l-0.32-51.136c-0.128-27.136-23.744-30.784-31.04-31.232l-37.888-0.128-0.32-18.368z m-512.64 62.912h-47.296c3.84 59.456-13.312 112-13.312 113.792l26.88 47.36c28.544-40.128 33.024-120.32 33.664-149.824l0.128-11.328z m153.6-0.256h-44.352c-0.32 83.648 11.328 140.032 32.832 158.912l5.376-14.784c8.32-21.952 17.024-41.28 17.024-41.28l-3.52-16.896c-3.584-18.56-8.512-49.536-7.808-76.992l0.448-8.96z m114.56-62.72h-44.992l-26.432 53.632c-4.352 8.96-8.64 17.92-12.736 27.008-7.68 17.216-1.344 25.664 17.216 26.432h21.632l-7.04 15.808c-6.016 13.248-12.48 26.24-17.856 39.68-4.48 10.688 0 19.456 11.392 20.672 15.808 1.728 31.808 1.28 47.616 1.28 1.664 0 4.288-2.048 5.184-3.712l17.088-33.216-8.64-0.768-8.96-0.256c-8.576-0.512-10.496-2.048-8.064-8.448l5.248-11.2 32.512-65.6-54.336 3.072c3.904-10.432 8.96-21.056 14.4-31.744l16.768-32.64z m274.88 61.76v39.04h-29.76l-0.32-39.04h30.08z m61.44-41.92a23.936 23.936 0 0 0-10.752 15.552l-0.448 4.864V460.8h23.936a24.192 24.192 0 0 0 20.736-36.736l-3.392-4.352-0.64-0.576c-10.368-9.92-21.44-6.72-29.44-1.664z","p-id":"53741"}))},wi=[{label:"男",value:"M"},{label:"女",value:"F"}],ki={ajaxType:"GET",supportAjaxPage:!0,supportAutoOrder:!1,supportCheckbox:!1,currentPageKey:"pageNum",pageSizeKey:"pageSize",disableLine:!0,dataKey:"list",totalsKey:"totals"},Ei={mobile:/^(?:(?:\+|00)86)?1[3-9]\d{9}$/i,email:/\w[-\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\.)+[A-Za-z]{2,14}/,labelValueNumberDec:/^(-?\d{0,15})(\.\d{1,2})?$/i,labelValueNumberInt:/^(-?\d{0,15})?$/i,labelValueString:/^[\u4e00-\u9fa5_.\-a-zA-Z0-9]+$/i},Ci={top:"TAOBAO_AREA_SELECTOR_DATA",unification:"UNIFICATION_CCMS_COMPONENTS_AREA_SELECTOR_DATA",jos:"JD_AREA_SELECTOR_DATA"},Si=[{label:"不限",value:""},{label:"营销",value:"marketing"},{label:"互动",value:"interaction"},{label:"订单",value:"trades"},{label:"售后",value:"refunds"},{label:"评价",value:"rates"}],_i={marketing:"营销",interaction:"互动",trades:"订单",refunds:"售后",rates:"评价"},xi=[{label:"不限",value:""},{label:"人群营销",value:"SY_CCMS"},{label:"事件营销",value:"SY_EVENT_MARKETING"},{label:"数据管理",value:"SY_DATA_MANAGE"},{label:"场景营销",value:"SY_SCENE_MARKETING"},{label:"私域赢家",value:"SY_SYYJ"}],Ai=[{label:"不限",value:""},{label:"互动赢家",value:"SY_WINNER"},{label:"互动赢家-微信端",value:"SY_WINNER_WEIXIN"},{label:"私域赢家",value:"SY_SYYJ"},{label:"微信小程序",value:"WX_MINIPROGRAM"},{label:"微信公众号",value:"WX_OFFICIAL_ACCOUNTS"},{label:"企业微信",value:"WX_QYWX"},{label:"微信会员中心",value:"WX_WXHYZX"}],Ii=[{label:"全渠道标签",value:"all"},{label:"平台级标签",value:"platform"},{label:"店铺级标签",value:"shop"}];!function(e){var t,n,a,r,i,o='<svg><symbol id="icon-JOS02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M575.488 258.304c95.744 0 169.984 20.672 220.288 64.256 50.24 41.344 76.608 107.904 76.608 190.592-2.368 82.624-28.736 149.248-76.608 190.592C745.472 744.96 671.232 768 575.488 768H462.912V258.304h112.576zM403.072 256v330.624c0 59.712-19.2 105.6-55.04 135.488-35.968 29.824-93.44 43.584-167.68 43.584h-11.968v-73.472h9.6c26.304 0 47.872-2.304 64.64-6.848 16.768-4.608 33.536-11.52 45.44-20.672 9.6-6.912 16.832-18.368 21.568-29.888 4.8-13.76 7.232-36.736 7.232-71.168V256h86.208zM584.96 334.08h-38.272v360.448h38.272c67.072 0 117.376-16.064 153.28-43.648 33.536-29.824 50.24-75.712 50.24-135.424s-16.704-107.904-50.24-135.488c-35.904-32.128-86.208-45.888-153.28-45.888z" fill="#E41F1E" ></path></symbol><symbol id="icon-JOS01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E41F1E" ></path><path d="M568.064 258.304c97.536 0 173.12 20.672 224.32 64.256 51.2 41.344 78.016 107.904 78.016 190.592-2.432 82.624-29.248 149.248-78.016 190.592C741.184 744.96 665.6 768 568.064 768h-114.56V258.304h114.56zM392.512 256v330.624c0 59.712-19.456 105.6-56.064 135.488-36.544 29.824-95.104 43.584-170.688 43.584H153.6v-73.472h9.728c26.88 0 48.768-2.304 65.856-6.848 17.088-4.608 34.112-11.52 46.336-20.672 9.728-6.912 17.024-18.368 21.952-29.888 4.864-13.76 7.296-36.736 7.296-71.168V256h87.744zM577.92 334.08h-39.04v360.448h39.04c68.224 0 119.424-16.064 156.032-43.648 34.112-29.824 51.2-75.712 51.2-135.424s-17.088-107.904-51.2-135.488c-36.608-32.128-87.808-45.888-156.032-45.888z" fill="#FFFFFF" ></path></symbol><symbol id="icon-JOS03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM575.488 258.304H462.912V768h112.576c95.744 0 169.984-22.976 220.288-64.256 47.872-41.344 74.24-107.968 76.608-190.592 0-82.688-26.368-149.248-76.608-190.592-50.304-43.584-124.544-64.256-220.288-64.256zM403.072 256H316.8v307.648c0 34.432-2.432 57.408-7.232 71.168-4.736 11.52-11.968 22.976-21.504 29.888-11.968 9.152-28.8 16-45.504 20.672-16.768 4.544-38.336 6.848-64.64 6.848h-9.6v73.472h11.968c74.24 0 131.712-13.76 167.68-43.584 35.84-29.888 55.04-75.776 55.04-135.488V256zM584.96 334.08c67.072 0 117.376 13.76 153.28 45.888 33.536 27.52 50.24 75.776 50.24 135.488s-16.704 105.6-50.24 135.424c-35.904 27.52-86.208 43.648-153.28 43.648h-38.272V334.08z" fill="#D9D9D9" ></path></symbol><symbol id="icon-KUAISHOU01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#F64806" ></path><path d="M465.6 547.008c3.2-0.192 230.656-18.752 245.76-16.384 15.104 2.432 75.648 0.64 78.72 24.192 2.944 23.36 0 46.016 0 46.016s-134.4 23.616-137.472 26.688c-3.008 3.008-13.888 13.888-13.248 30.208 0.64 16.384 0.64 80 1.152 81.792 0.64 1.792 3.648 13.888 26.688 11.52 18.112-1.92 36.16-8.384 43.136-11.008a4.096 4.096 0 0 0 2.624-4.224l-1.28-16.384a4.288 4.288 0 0 0-4.992-3.84l-34.688 6.912v-65.408l112.32-20.288a3.968 3.968 0 0 1 4.672 3.84l3.712 110.72s6.4 27.52-40.832 37.184c-47.168 9.728-160.32 38.144-171.264 38.72-10.88 0.64-29.056 0.64-47.808-4.224a374.272 374.272 0 0 1-37.952-12.928 4.672 4.672 0 0 1-2.048-7.104l41.344-56.128a11.712 11.712 0 0 0 2.304-7.04v-61.952c0-3.2-1.28-6.208-3.456-8.512L444.608 576.384A11.264 11.264 0 0 1 441.6 567.04c1.024-7.36 5.76-19.008 23.936-20.032z" fill="#FFFFFF" ></path><path d="M405.76 584.96a10.112 10.112 0 0 0-5.76-2.88L241.152 558.72a10.624 10.624 0 0 0-6.592 0.768c-6.912 3.2-22.016 12.736-26.88 36.288v186.624s2.176 37.248 53.504 54.464c51.328 17.28 113.92 32.704 113.92 32.704s34.944 6.784 49.088-21.76c14.08-28.672 81.28-110.336 81.28-110.336v-49.472L405.76 584.96z m-41.472 222.528c-16.384-0.448-82.944-9.6-103.936-28.672-19.072-17.216-9.536-152.96-9.536-152.96s0.384-15.808 9.536-14.08l105.792 19.008s13.12 7.68 13.12 18.624v146.624c0 0.128 1.408 11.904-14.976 11.456z m452.096-434.112c0-72.448-55.936-131.2-124.992-131.2-39.296 0-74.432 19.072-97.344 48.96C575.68 212.096 510.08 153.6 432 153.6c-92.288 0-167.04 81.6-167.04 182.272s74.752 182.272 167.04 182.272c4.8 0 9.6-0.256 14.4-0.768l249.728-12.864 3.264-0.128 3.52-0.256h-0.064c63.616-6.144 113.536-62.336 113.536-130.752zM463.936 438.272c-46.72 0-84.608-43.52-84.608-97.28s37.888-97.28 84.608-97.28c46.72 0 84.48 43.52 84.48 97.28s-37.76 97.28-84.48 97.28z m247.296-4.48c-30.784 0-55.808-28.672-55.808-64.192 0-35.456 24.96-64.192 55.808-64.192 30.784 0 55.808 28.736 55.808 64.192 0 35.52-24.96 64.192-55.808 64.192z" fill="#FFFFFF" ></path></symbol><symbol id="icon-KUAISHOU02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M465.6 547.008c3.2-0.192 230.656-18.752 245.76-16.384 15.104 2.432 75.648 0.64 78.72 24.192 2.944 23.36 0 46.016 0 46.016s-134.4 23.616-137.472 26.688c-3.008 3.008-13.888 13.888-13.248 30.208 0.64 16.384 0.64 80 1.152 81.792 0.64 1.792 3.648 13.888 26.688 11.52 18.112-1.92 36.16-8.384 43.136-11.008a4.096 4.096 0 0 0 2.624-4.224l-1.28-16.384a4.288 4.288 0 0 0-4.992-3.84l-34.688 6.912v-65.408l112.32-20.288a3.968 3.968 0 0 1 4.672 3.84l3.712 110.72s6.4 27.52-40.832 37.184c-47.168 9.728-160.32 38.144-171.264 38.72-10.88 0.64-29.056 0.64-47.808-4.224a374.272 374.272 0 0 1-37.952-12.928 4.672 4.672 0 0 1-2.048-7.104l41.344-56.128a11.712 11.712 0 0 0 2.304-7.04v-61.952c0-3.2-1.28-6.208-3.456-8.512L444.608 576.384A11.264 11.264 0 0 1 441.6 567.04c1.024-7.36 5.76-19.008 23.936-20.032z" fill="#F64806" ></path><path d="M405.76 584.96a10.112 10.112 0 0 0-5.76-2.88L241.152 558.72a10.624 10.624 0 0 0-6.592 0.768c-6.912 3.2-22.016 12.736-26.88 36.288v186.624s2.176 37.248 53.504 54.464c51.328 17.28 113.92 32.704 113.92 32.704s34.944 6.784 49.088-21.76c14.08-28.672 81.28-110.336 81.28-110.336v-49.472L405.76 584.96z m-41.472 222.528c-16.384-0.448-82.944-9.6-103.936-28.672-19.072-17.216-9.536-152.96-9.536-152.96s0.384-15.808 9.536-14.08l105.792 19.008s13.12 7.68 13.12 18.624v146.624c0 0.128 1.408 11.904-14.976 11.456z m452.096-434.112c0-72.448-55.936-131.2-124.992-131.2-39.296 0-74.432 19.072-97.344 48.96C575.68 212.096 510.08 153.6 432 153.6c-92.288 0-167.04 81.6-167.04 182.272s74.752 182.272 167.04 182.272c4.8 0 9.6-0.256 14.4-0.768l249.728-12.864 3.264-0.128 3.52-0.256h-0.064c63.616-6.144 113.536-62.336 113.536-130.752zM463.936 438.272c-46.72 0-84.608-43.52-84.608-97.28s37.888-97.28 84.608-97.28c46.72 0 84.48 43.52 84.48 97.28s-37.76 97.28-84.48 97.28z m247.296-4.48c-30.784 0-55.808-28.672-55.808-64.192 0-35.456 24.96-64.192 55.808-64.192 30.784 0 55.808 28.736 55.808 64.192 0 35.52-24.96 64.192-55.808 64.192z" fill="#F64806" ></path></symbol><symbol id="icon-KUAISHOU03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M465.6 547.008c3.2-0.192 230.656-18.752 245.76-16.384 15.104 2.432 75.648 0.64 78.72 24.192 2.944 23.36 0 46.016 0 46.016s-134.4 23.616-137.472 26.688c-3.008 3.008-13.888 13.888-13.248 30.208 0.64 16.384 0.64 80 1.152 81.792 0.64 1.792 3.648 13.888 26.688 11.52 18.112-1.92 36.16-8.384 43.136-11.008a4.096 4.096 0 0 0 2.624-4.224l-1.28-16.384a4.288 4.288 0 0 0-4.992-3.84l-34.688 6.912v-65.408l112.32-20.288a3.968 3.968 0 0 1 4.672 3.84l3.712 110.72s6.4 27.52-40.832 37.184c-47.168 9.728-160.32 38.144-171.264 38.72-10.88 0.64-29.056 0.64-47.808-4.224a374.272 374.272 0 0 1-37.952-12.928 4.672 4.672 0 0 1-2.048-7.104l41.344-56.128a11.712 11.712 0 0 0 2.304-7.04v-61.952c0-3.2-1.28-6.208-3.456-8.512L444.608 576.384A11.264 11.264 0 0 1 441.6 567.04c1.024-7.36 5.76-19.008 23.936-20.032z" fill="#FFFFFF" ></path><path d="M405.76 584.96a10.112 10.112 0 0 0-5.76-2.88L241.152 558.72a10.624 10.624 0 0 0-6.592 0.768c-6.912 3.2-22.016 12.736-26.88 36.288v186.624s2.176 37.248 53.504 54.464c51.328 17.28 113.92 32.704 113.92 32.704s34.944 6.784 49.088-21.76c14.08-28.672 81.28-110.336 81.28-110.336v-49.472L405.76 584.96z m-41.472 222.528c-16.384-0.448-82.944-9.6-103.936-28.672-19.072-17.216-9.536-152.96-9.536-152.96s0.384-15.808 9.536-14.08l105.792 19.008s13.12 7.68 13.12 18.624v146.624c0 0.128 1.408 11.904-14.976 11.456z m452.096-434.112c0-72.448-55.936-131.2-124.992-131.2-39.296 0-74.432 19.072-97.344 48.96C575.68 212.096 510.08 153.6 432 153.6c-92.288 0-167.04 81.6-167.04 182.272s74.752 182.272 167.04 182.272c4.8 0 9.6-0.256 14.4-0.768l249.728-12.864 3.264-0.128 3.52-0.256h-0.064c63.616-6.144 113.536-62.336 113.536-130.752zM463.936 438.272c-46.72 0-84.608-43.52-84.608-97.28s37.888-97.28 84.608-97.28c46.72 0 84.48 43.52 84.48 97.28s-37.76 97.28-84.48 97.28z m247.296-4.48c-30.784 0-55.808-28.672-55.808-64.192 0-35.456 24.96-64.192 55.808-64.192 30.784 0 55.808 28.736 55.808 64.192 0 35.52-24.96 64.192-55.808 64.192z" fill="#FFFFFF" ></path></symbol><symbol id="icon-MGJ03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M389.504 718.272a119.488 119.488 0 1 0 238.976 0 119.488 119.488 0 0 0-238.976 0z" fill="#FFFFFF" ></path><path d="M821.12 410.56c-38.592-89.6-138.88-210.24-309.44-210.24-96.192 0-222.208 42.432-293.888 169.088-71.68 126.592-32.256 235.328 40.64 264 72.832 28.672 133.184-17.92 158.848-39.424 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.992 90.816 29.568c23.744 16.64 44.8 52.48 131.712 43.008 89.408-9.728 125.376-135.36 86.848-224.96zM374.208 365.44c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path></symbol><symbol id="icon-MGJ02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M389.504 718.272a119.488 119.488 0 1 0 238.976 0 119.488 119.488 0 0 0-238.976 0z" fill="#FF2462" ></path><path d="M821.12 410.56c-38.592-89.6-138.88-210.24-309.44-210.24-96.192 0-222.208 42.432-293.888 169.088-71.68 126.592-32.256 235.328 40.64 264 72.832 28.672 133.184-17.92 158.848-39.424 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.992 90.816 29.568c23.744 16.64 44.8 52.48 131.712 43.008 89.408-9.728 125.376-135.36 86.848-224.96zM374.208 365.44c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FF2462" ></path><path d="M622.848 682.048a119.552 119.552 0 1 0-200.32 118.656 409.152 409.152 0 0 0 200.32-118.656z" fill="#FF2462" ></path></symbol><symbol id="icon-MGJ01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF2462" ></path><path d="M389.504 718.272a119.488 119.488 0 1 0 238.976 0 119.488 119.488 0 0 0-238.976 0z" fill="#FFFFFF" ></path><path d="M821.12 410.56c-38.592-89.6-138.88-210.24-309.44-210.24-96.192 0-222.208 42.432-293.888 169.088-71.68 126.592-32.256 235.328 40.64 264 72.832 28.672 133.184-17.92 158.848-39.424 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.992 90.816 29.568c23.744 16.64 44.8 52.48 131.712 43.008 89.408-9.728 125.376-135.36 86.848-224.96zM374.208 365.44c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path><path d="M217.792 369.28c-71.68 126.72-32.256 235.392 40.64 264.064 72.832 28.672 133.184-17.92 158.848-39.36 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.928 90.816 29.568c15.232 10.624 29.44 29.248 60.8 38.656a407.104 407.104 0 0 0 68.992-227.392c0-48.32-8.448-94.656-23.808-137.6A318.336 318.336 0 0 0 511.744 200.32c-96.256-0.064-222.272 42.368-293.952 168.96z m156.48-3.904c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path><path d="M622.848 682.048a119.552 119.552 0 1 0-200.32 118.656 409.152 409.152 0 0 0 200.32-118.656zM217.792 369.28c-71.68 126.72-32.256 235.392 40.64 264.064 72.832 28.672 133.184-17.92 158.848-39.36 19.264-16.128 38.528-25.6 65.088-29.248A408 408 0 0 0 618.24 217.728a326.656 326.656 0 0 0-106.624-17.408c-96.192 0-222.208 42.432-293.888 168.96z m156.48-3.904c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path><path d="M374.272 365.376c-0.896 0.64-50.24 36.992-65.216 101.312a23.808 23.808 0 0 1-1.344 4.16A409.728 409.728 0 0 0 508.096 200.32c-95.68 1.024-219.52 43.904-290.304 168.96-30.464 53.888-40.832 104.384-37.12 147.008a405.568 405.568 0 0 0 92.544-28.224 28.992 28.992 0 0 1-20.608-34.56A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path></symbol><symbol id="icon-SUNING01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E31419" ></path><path d="M851.2 465.6l-66.688-66.624V304.96c0-36.224-29.248-65.472-65.472-65.472H625.024L558.464 172.8c-25.664-25.664-67.2-25.664-92.864 0L398.976 239.36H304.96c-36.224 0-65.472 29.312-65.472 65.536v94.016L172.8 465.536c-25.664 25.664-25.664 67.2 0 92.864l66.56 66.624v94.016c0 36.224 29.312 65.472 65.536 65.472h94.016l66.56 66.624c25.664 25.664 67.2 25.664 92.864 0l66.624-66.56h94.016c36.224 0 65.472-29.312 65.472-65.536V625.024l66.624-66.56c25.664-25.664 25.664-67.2 0-92.864z m-228.352-24.32c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.344 25.408 25.472 25.472 0 0 1-25.408-25.408 25.6 25.6 0 0 1 25.408-25.344z m-227.2 0c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.408 25.408 25.472 25.472 0 0 1-25.344-25.408 25.6 25.6 0 0 1 25.344-25.344z m223.808 293.12H401.728c-45.696 0-84.736-35.712-85.568-81.472a83.584 83.584 0 0 1 54.912-80.32c4.16-1.664 12.288-2.752 19.52-3.584a17.728 17.728 0 0 0 15.616-14.528 105.792 105.792 0 1 1 208.512-0.256 17.728 17.728 0 0 0 15.936 14.528c5.248 0.512 10.88 1.088 13.632 1.92 35.712 10.048 61.632 43.52 60.48 82.816-1.088 45.44-39.872 80.832-85.312 80.832z" fill="#F7B62C" ></path><path d="M597.44 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0zM370.24 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0z" fill="#030304" ></path><path d="M644.544 570.688a72.32 72.32 0 0 0-13.632-1.92 17.792 17.792 0 0 1-15.872-14.528 105.792 105.792 0 1 0-208.512 0.256 17.728 17.728 0 0 1-15.68 14.528c-7.232 0.832-15.36 1.92-19.52 3.584-32.64 11.712-55.744 43.52-54.912 80.32 1.088 45.76 39.872 81.408 85.568 81.408h217.792c45.44 0 84.16-35.392 85.312-80.832a83.648 83.648 0 0 0-60.544-82.816z m-61.568 22.848l-43.264 34.048a53.184 53.184 0 0 1-66.048 0l-43.2-34.048a14.528 14.528 0 0 1 8.96-25.92h134.336c13.952 0 20.096 17.6 9.216 25.92z" fill="#FFFFFF" ></path><path d="M430.464 593.536l43.2 34.048c19.52 15.36 46.848 15.36 66.048 0l43.264-34.048a14.528 14.528 0 0 0-8.96-25.92h-134.4c-13.888 0-20.032 17.6-9.152 25.92z" fill="#030304" ></path></symbol><symbol id="icon-SUNING02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M851.2 465.6l-66.688-66.624V304.96c0-36.224-29.248-65.472-65.472-65.472H625.024L558.464 172.8c-25.664-25.664-67.2-25.664-92.864 0L398.976 239.36H304.96c-36.224 0-65.472 29.312-65.472 65.536v94.016L172.8 465.536c-25.664 25.664-25.664 67.2 0 92.864l66.56 66.624v94.016c0 36.224 29.312 65.472 65.536 65.472h94.016l66.56 66.624c25.664 25.664 67.2 25.664 92.864 0l66.624-66.56h94.016c36.224 0 65.472-29.312 65.472-65.536V625.024l66.624-66.56c25.664-25.664 25.664-67.2 0-92.864z m-228.352-24.32c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.344 25.408 25.472 25.472 0 0 1-25.408-25.408 25.6 25.6 0 0 1 25.408-25.344z m-227.2 0c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.408 25.408 25.472 25.472 0 0 1-25.344-25.408 25.6 25.6 0 0 1 25.344-25.344z m223.808 293.12H401.728c-45.696 0-84.736-35.712-85.568-81.472a83.584 83.584 0 0 1 54.912-80.32c4.16-1.664 12.288-2.752 19.52-3.584a17.728 17.728 0 0 0 15.616-14.528 105.792 105.792 0 1 1 208.512-0.256 17.728 17.728 0 0 0 15.936 14.528c5.248 0.512 10.88 1.088 13.632 1.92 35.712 10.048 61.632 43.52 60.48 82.816-1.088 45.44-39.872 80.832-85.312 80.832z" fill="#FFA602" ></path><path d="M597.44 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0zM370.24 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0z" fill="#030304" ></path><path d="M644.544 570.688a72.32 72.32 0 0 0-13.632-1.92 17.792 17.792 0 0 1-15.872-14.528 105.792 105.792 0 1 0-208.512 0.256 17.728 17.728 0 0 1-15.68 14.528c-7.232 0.832-15.36 1.92-19.52 3.584-32.64 11.712-55.744 43.52-54.912 80.32 1.088 45.76 39.872 81.408 85.568 81.408h217.792c45.44 0 84.16-35.392 85.312-80.832a83.648 83.648 0 0 0-60.544-82.816z m-61.568 22.848l-43.264 34.048a53.184 53.184 0 0 1-66.048 0l-43.2-34.048a14.528 14.528 0 0 1 8.96-25.92h134.336c13.952 0 20.096 17.6 9.216 25.92z" fill="#FFFFFF" ></path><path d="M430.464 593.536l43.2 34.048c19.52 15.36 46.848 15.36 66.048 0l43.264-34.048a14.528 14.528 0 0 0-8.96-25.92h-134.4c-13.888 0-20.032 17.6-9.152 25.92z" fill="#030304" ></path></symbol><symbol id="icon-SUNING03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M851.2 465.6l-66.688-66.624V304.96c0-36.224-29.248-65.472-65.472-65.472H625.024L558.464 172.8c-25.664-25.664-67.2-25.664-92.864 0L398.976 239.36H304.96c-36.224 0-65.472 29.312-65.472 65.536v94.016L172.8 465.536c-25.664 25.664-25.664 67.2 0 92.864l66.56 66.624v94.016c0 36.224 29.312 65.472 65.536 65.472h94.016l66.56 66.624c25.664 25.664 67.2 25.664 92.864 0l66.624-66.56h94.016c36.224 0 65.472-29.312 65.472-65.536V625.024l66.624-66.56c25.664-25.664 25.664-67.2 0-92.864z m-228.352-24.32c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.344 25.408 25.472 25.472 0 0 1-25.408-25.408 25.6 25.6 0 0 1 25.408-25.344z m-227.2 0c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.408 25.408 25.472 25.472 0 0 1-25.344-25.408 25.6 25.6 0 0 1 25.344-25.344z m223.808 293.12H401.728c-45.696 0-84.736-35.712-85.568-81.472a83.584 83.584 0 0 1 54.912-80.32c4.16-1.664 12.288-2.752 19.52-3.584a17.728 17.728 0 0 0 15.616-14.528 105.792 105.792 0 1 1 208.512-0.256 17.728 17.728 0 0 0 15.936 14.528c5.248 0.512 10.88 1.088 13.632 1.92 35.712 10.048 61.632 43.52 60.48 82.816-1.088 45.44-39.872 80.832-85.312 80.832z" fill="#FFFFFF" ></path><path d="M597.44 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0zM370.24 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0z" fill="#030304" ></path><path d="M644.544 570.688a72.32 72.32 0 0 0-13.632-1.92 17.792 17.792 0 0 1-15.872-14.528 105.792 105.792 0 1 0-208.512 0.256 17.728 17.728 0 0 1-15.68 14.528c-7.232 0.832-15.36 1.92-19.52 3.584-32.64 11.712-55.744 43.52-54.912 80.32 1.088 45.76 39.872 81.408 85.568 81.408h217.792c45.44 0 84.16-35.392 85.312-80.832a83.648 83.648 0 0 0-60.544-82.816z m-61.568 22.848l-43.264 34.048a53.184 53.184 0 0 1-66.048 0l-43.2-34.048a14.528 14.528 0 0 1 8.96-25.92h134.336c13.952 0 20.096 17.6 9.216 25.92z" fill="#D9D9D9" ></path><path d="M430.464 593.536l43.2 34.048c19.52 15.36 46.848 15.36 66.048 0l43.264-34.048a14.528 14.528 0 0 0-8.96-25.92h-134.4c-13.888 0-20.032 17.6-9.152 25.92z" fill="#030304" ></path></symbol><symbol id="icon-TAOBAO01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF5F17" ></path><path d="M224.448 384.896l-40.704 62.912 75.072 46.784s49.984 25.728 26.048 74.048c-22.144 45.632-131.264 145.728-131.264 145.728l97.664 61.44c67.776-147.712 63.168-128 80.128-181.12 17.472-53.952 21.312-95.36-8.256-125.568-38.016-38.4-42.24-41.984-98.688-84.224z m633.856-16.512s-21.312-166.208-382.528-63.296c15.488-27.136 22.784-44.608 22.784-44.608l-90.112-25.6s-36.48 119.744-101.44 175.488c0 0 63.04 36.608 62.336 35.456 17.152-17.088 33.152-35.328 48-54.4 14.528-6.528 28.352-12.416 41.856-17.92-16.768 30.272-43.584 75.712-70.528 104.32l37.952 33.536s25.984-25.152 54.208-55.296h32.192V512H387.264v44.544h125.76v106.944l-4.8-0.128c-13.888-0.64-35.392-3.008-43.904-16.512-10.176-16.512-2.624-46.4-2.176-64.96H375.296l-3.2 1.792s-31.872 143.552 91.84 140.416c115.52 3.136 181.888-32.64 213.76-57.28l12.672 47.616 71.36-30.08-48.32-118.976-57.792 18.304 10.688 40.64a171.264 171.264 0 0 1-50.048 25.728v-93.44h122.624v-44.8H616.256v-55.808h123.008v-44.608H520.448c15.872-19.392 28.096-37.12 31.36-48.256l-38.208-10.496c163.712-59.136 254.976-49.024 254.272 47.872v255.168s9.6 87.488-89.984 81.28l-53.952-11.648-12.48 51.584s232.64 67.2 251.648-113.088c18.88-180.288-4.8-295.36-4.8-295.36z" fill="#FFFFFF" ></path><path d="M277.824 361.216c35.52 0 64.32-25.856 64.32-57.792 0-32.192-28.8-58.048-64.32-58.048-35.776 0-64.384 26.048-64.384 58.048 0.192 31.808 28.672 57.792 64.384 57.792z" fill="#FFEC0F" ></path></symbol><symbol id="icon-TAOBAO03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM408.384 211.52s-35.84 124.48-99.648 182.4c0 0 61.888 38.016 61.248 36.864 16.832-17.792 32.576-36.736 47.168-56.64 14.208-6.72 27.84-12.864 41.088-18.56-16.512 31.424-42.88 78.72-69.312 108.416l37.248 34.88s25.6-26.176 53.312-57.472h31.616v58.048h-123.52v46.336h123.52v111.168l-4.736-0.128c-13.696-0.704-34.752-3.2-43.136-17.216-9.984-17.152-2.56-48.192-2.112-67.52H375.808l-3.136 1.92-0.32 1.856-0.896 5.312c-4.416 29.888-13.888 141.504 91.392 138.688 113.472 3.264 178.688-33.92 209.984-59.52l12.416 49.472 70.08-31.296-47.488-123.52-56.768 18.944 10.56 42.24a165.12 165.12 0 0 1-49.216 26.752V545.792h120.448v-46.464H612.416v-58.112h120.832V394.88H518.4c15.552-20.16 27.52-38.592 30.848-50.176l-37.632-10.88c160.832-61.44 250.432-50.944 249.728 49.792v265.152s9.472 91.008-88.32 84.544l-52.992-12.16-12.288 53.632s228.48 69.76 247.168-117.568c18.56-187.392-4.736-306.944-4.736-306.944s-20.928-172.8-375.68-65.792c15.232-28.16 22.4-46.336 22.4-46.336L408.32 211.52zM227.648 367.424l-40 65.408 73.792 48.64s49.088 26.752 25.6 76.928c-21.824 47.488-128.96 151.488-128.96 151.488l95.936 63.808c66.56-153.472 62.016-133.12 78.72-188.288 17.152-56.064 20.864-99.136-8.128-130.432-37.312-39.936-41.536-43.648-96.96-87.552z m52.48-145.024c-35.2 0-63.296 27.072-63.296 60.352 0.192 33.024 28.16 60.096 63.232 60.096 34.88 0 63.168-26.88 63.168-60.096 0-33.472-28.288-60.352-63.168-60.352z" fill="#D9D9D9" ></path></symbol><symbol id="icon-TAOBAO02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M187.648 432.832l73.792 48.64s49.088 26.752 25.6 76.928c-21.824 47.488-128.96 151.488-128.96 151.488l95.936 63.808c66.56-153.472 62.016-133.12 78.72-188.288 17.152-56.064 20.864-99.136-8.128-130.432-37.312-39.936-41.536-43.648-96.96-87.552l-40 65.408z m155.52-150.08c0-33.472-28.16-60.352-63.104-60.352-35.072 0-63.232 27.072-63.232 60.352 0.192 33.024 28.16 60.096 63.232 60.096 34.88 0 63.168-26.88 63.168-60.096z m131.328 1.728c15.232-28.16 22.4-46.336 22.4-46.336L408.32 211.52s-35.84 124.48-99.648 182.4c0 0 61.888 38.016 61.248 36.864 16.832-17.792 32.576-36.736 47.168-56.64 14.208-6.72 27.84-12.864 41.088-18.56-16.512 31.424-42.88 78.72-69.312 108.416l37.248 34.88s25.6-26.176 53.312-57.472h31.616v58.048h-123.52v46.336h123.52v111.168l-4.736-0.128c-13.696-0.704-34.752-3.2-43.136-17.216-9.984-17.152-2.56-48.192-2.112-67.52H375.808l-3.136 1.92s-31.36 149.12 90.176 145.92c113.472 3.2 178.688-33.92 209.984-59.52l12.416 49.408 70.08-31.296-47.488-123.52-56.768 18.944 10.56 42.24a165.12 165.12 0 0 1-49.216 26.752V545.792h120.448v-46.464H612.416v-58.112h120.832V394.88H518.4c15.552-20.16 27.52-38.592 30.848-50.176l-37.632-10.88c160.832-61.44 250.432-50.944 249.728 49.792v265.152s9.472 91.008-88.32 84.544l-52.992-12.16-12.288 53.632s228.48 69.76 247.168-117.568c18.56-187.392-4.736-306.944-4.736-306.944s-20.928-172.8-375.68-65.792z" fill="#FE5D0B" ></path></symbol><symbol id="icon-DOUYIN03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64z m-313.92 159.808H536.768c-8.96 0.256-8.96 1.664-8.96 12.864v456.64c0 6.08 0 12.16-0.64 17.536-4.288 38.592-24 67.008-60.608 82.56-36.608 16.192-72.512 12.8-104.96-11.52-38.656-28.416-51.328-77.12-32.32-119.04 19.008-41.92 65.472-64.96 113.344-56.832 5.632 0.64 11.264 2.048 16.896 3.392V418.24c-19.712-4.096-54.912-4.096-78.848 0.64-122.496 23.68-202.816 129.28-186.624 249.6 15.488 120.448 138.048 221.248 283.072 189.44 106.304-23.68 180.992-114.304 180.992-219.84V400.64c53.504 33.856 110.528 52.096 173.888 51.392V328.32a312 312 0 0 1-27.52-2.688 170.752 170.752 0 0 1-147.072-155.584c-0.704-8.768-3.584-10.176-11.328-10.176z" fill="#D9D9D9" ></path></symbol><symbol id="icon-DOUYIN01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#000000" ></path><path d="M491.264 435.392V547.84c-70.464-24.32-161.92 53.568-100.608 147.648 15.488 15.488 55.04 26.624 118.72 33.472l69.376-47.36V520.064l3.904-321.92h85.12c22.784 67.712 52.864 112.64 90.24 134.784 15.168 8.96 51.904 19.968 70.464 24.192 0.32 1.28 0.384 82.24 0 94.208-44.992 1.984-97.792-11.648-158.528-40.832v235.136c0 124.48-149.184 279.808-359.296 127.808-41.6-50.24-53.248-106.56-34.816-168.832L353.152 475.52l100.992-40.192h37.12z" fill="#F71550" ></path><path d="M733.888 315.392c12.8 7.744 33.92 11.584 63.36 11.584v24.768l-42.24-13.76-21.12-22.592z" fill="#4BFAF4" ></path><path d="M459.712 431.872v86.08C384.768 500.032 277.76 596.48 385.856 691.2c15.424 15.488 46.08 25.344 91.968 29.632l69.376-47.36V512l3.904-321.92h82.752l4.544 8.32c20.864 64.256 73.728 114.432 158.528 150.656 0.32 1.216 0.384 70.784 0 82.816-44.928 1.984-97.792-14.08-158.528-48.128V637.44c0 121.792-163.328 254.272-330.752 133.12a268.8 268.8 0 0 1-63.36-174.08l63.36-124.8 131.84-46.592 20.224 6.72z" fill="#FFFFFF" ></path><path d="M459.712 405.952c-177.664-24.96-345.536 190.272-149.056 367.552C193.28 638.72 257.28 444.224 459.712 431.872v-25.92zM528.704 169.984h106.368l3.328 28.416H561.088v443.904c0 34.048-18.368 85.184-78.208 86.336-41.6 0-72.32-11.072-92.16-33.152 65.536 19.904 109.44 2.176 131.84-53.184 8.32-21.952 10.368-179.392 6.144-472.32z" fill="#4BFAF4" ></path></symbol><symbol id="icon-DOUYIN02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M491.264 435.392V547.84c-70.464-24.32-161.92 53.568-100.608 147.648 15.488 15.488 55.04 26.624 118.72 33.472l69.376-47.36V520.064l3.904-321.92h85.12c22.784 67.712 52.864 112.64 90.24 134.784 15.168 8.96 51.904 19.968 70.464 24.192 0.32 1.28 0.384 82.24 0 94.208-44.992 1.984-97.792-11.648-158.528-40.832v235.136c0 124.48-149.184 279.808-359.296 127.808-41.6-50.24-53.248-106.56-34.816-168.832L353.152 475.52l100.992-40.192h37.12z" fill="#F71550" ></path><path d="M733.888 315.392c12.8 7.744 33.92 11.584 63.36 11.584v24.768l-42.24-13.76-21.12-22.592z" fill="#4BFAF4" ></path><path d="M459.712 431.872v86.08C384.768 500.032 277.76 596.48 385.856 691.2c15.424 15.488 46.08 25.344 91.968 29.632l69.376-47.36V512l3.904-321.92h82.752l4.544 8.32c20.864 64.256 73.728 114.432 158.528 150.656 0.32 1.216 0.384 70.784 0 82.816-44.928 1.984-97.792-14.08-158.528-48.128V637.44c0 121.792-163.328 254.272-330.752 133.12a268.8 268.8 0 0 1-63.36-174.08l63.36-124.8 131.84-46.592 20.224 6.72z" fill="#000000" ></path><path d="M459.712 405.952c-177.664-24.96-345.536 190.272-149.056 367.552C193.28 638.72 257.28 444.224 459.712 431.872v-25.92zM528.704 169.984h106.368l3.328 28.416H561.088v443.904c0 34.048-18.368 85.184-78.208 86.336-41.6 0-72.32-11.072-92.16-33.152 65.536 19.904 109.44 2.176 131.84-53.184 8.32-21.952 10.368-179.392 6.144-472.32z" fill="#4BFAF4" ></path></symbol><symbol id="icon-WEIXIN01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#20BF64" ></path><path d="M726.4 571.776a29.632 29.632 0 0 0 29.248-29.248 29.184 29.184 0 0 0-29.248-29.248 29.184 29.184 0 0 0-29.248 29.248c0 16.32 13.056 29.248 29.248 29.248z m-144.128 0a29.632 29.632 0 0 0 29.248-29.248 29.184 29.184 0 0 0-29.248-29.248 29.12 29.12 0 0 0-29.312 29.248c0 16.32 12.992 29.248 29.312 29.248zM796.16 736a11.328 11.328 0 0 0-5.632 12.096c0 1.536 0 3.136 0.832 4.736 3.2 13.632 9.6 35.2 9.6 36.032 0 2.432 0.768 4.032 0.768 5.632a7.168 7.168 0 0 1-7.168 7.168c-1.664 0-2.432-0.768-4.032-1.536l-47.232-27.264a26.048 26.048 0 0 0-11.2-3.2c-2.368 0-4.736 0-6.4 0.768-22.4 6.4-45.568 9.6-70.4 9.6-119.232 0-215.232-80-215.232-179.328 0-99.264 96-179.392 215.232-179.392s215.232 80.128 215.232 179.392c0 53.632-28.8 102.528-74.368 135.36z m-131.776-347.072a296.64 296.64 0 0 0-9.088-0.128c-136 0-247.808 93.184-247.808 211.904 0 18.112 2.56 35.52 7.424 52.16h-2.88a324.608 324.608 0 0 1-84.224-11.968C325.44 640 323.072 640 320.64 640a27.136 27.136 0 0 0-13.632 4.032l-56.96 32.704c-1.6 0.832-3.2 1.664-4.8 1.664a8.896 8.896 0 0 1-8.768-8.832c0-2.368 0.768-3.968 1.536-6.4 0.832-0.768 8.064-27.2 12.032-43.136 0-1.664 0.832-4.032 0.832-5.632a18.112 18.112 0 0 0-7.232-14.4c-55.36-39.168-89.856-97.472-89.856-162.24 0-119.04 116.352-215.04 259.072-215.04 122.624 0 225.792 70.72 251.584 166.144zM496.64 402.56a33.664 33.664 0 0 0 33.408-33.408 33.152 33.152 0 0 0-33.408-33.408 33.152 33.152 0 0 0-33.472 33.408c0 18.688 14.72 33.408 33.472 33.408z m-171.392 0a33.664 33.664 0 0 0 33.472-33.408 33.216 33.216 0 0 0-33.472-33.408 33.216 33.216 0 0 0-33.472 33.408c0 18.688 14.848 33.408 33.472 33.408z" fill="#FFFFFF" ></path></symbol><symbol id="icon-WEIXIN03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M751.168 546.112a28.8 28.8 0 0 0-28.736-29.12 28.8 28.8 0 0 0-28.736 29.12c0 16.192 12.8 29.12 28.8 29.12a29.312 29.312 0 0 0 28.672-29.12z m-170.304 29.12a29.312 29.312 0 0 0 28.736-29.12 28.8 28.8 0 0 0-28.8-29.12 28.8 28.8 0 0 0-28.672 29.12c0 16.192 12.8 29.12 28.736 29.12z m204.608 175.36c0 1.6 0 3.2 0.832 4.8 3.136 13.504 9.408 35.072 9.408 35.84 0 2.368 0.768 3.968 0.768 5.568 0 1.92-0.768 3.712-2.048 5.12a7.04 7.04 0 0 1-4.992 2.048c-1.6 0-2.368-0.768-3.968-1.536l-46.336-27.136a25.344 25.344 0 0 0-11.008-3.2c-2.368 0-4.736 0-6.272 0.832-22.016 6.4-44.8 9.536-69.12 9.536-117.12 0-211.456-79.68-211.456-178.496 0-98.752 94.272-178.496 211.392-178.496 117.12 0 211.392 79.744 211.392 178.56 0 53.376-28.288 101.952-73.088 134.656a11.264 11.264 0 0 0-5.504 11.904z m-132.8-357.504c-133.568 0-243.392 92.8-243.392 210.944 0 17.92 2.56 35.328 7.296 51.84h-2.88a314.944 314.944 0 0 1-82.688-11.904c-2.368-0.832-4.736-0.832-7.04-0.832a26.368 26.368 0 0 0-13.44 3.968l-55.936 32.64c-1.6 0.768-3.2 1.6-4.736 1.6a8.768 8.768 0 0 1-8.64-8.768c0-2.368 0.768-3.968 1.6-6.4 0.768-0.768 7.872-27.008 11.776-42.88 0-1.664 0.768-4.032 0.768-5.632a18.112 18.112 0 0 0-7.04-14.272C193.92 564.352 160 506.24 160 441.856c0-118.4 114.24-213.888 254.4-213.888 120.512 0 221.76 70.336 247.168 165.248a441.152 441.152 0 0 0-8.96-0.128z m-155.968 13.76a33.28 33.28 0 0 0 32.832-33.28 32.768 32.768 0 1 0-65.664 0c0 18.56 14.464 33.28 32.832 33.28z m-168.32 0a33.28 33.28 0 0 0 0-66.56 32.832 32.832 0 0 0-32.832 33.28c0 18.56 14.528 33.28 32.832 33.28z" fill="#FFFFFF" ></path></symbol><symbol id="icon-WEIXIN02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M751.168 546.112a28.8 28.8 0 0 0-28.736-29.12 28.8 28.8 0 0 0-28.736 29.12c0 16.192 12.8 29.12 28.8 29.12a29.312 29.312 0 0 0 28.672-29.12z m-170.304 29.12a29.312 29.312 0 0 0 28.736-29.12 28.8 28.8 0 0 0-28.8-29.12 28.8 28.8 0 0 0-28.672 29.12c0 16.192 12.8 29.12 28.736 29.12z m204.608 175.36c0 1.6 0 3.2 0.832 4.8 3.136 13.504 9.408 35.072 9.408 35.84 0 2.368 0.768 3.968 0.768 5.568 0 1.92-0.768 3.712-2.048 5.12a7.04 7.04 0 0 1-4.992 2.048c-1.6 0-2.368-0.768-3.968-1.536l-46.336-27.136a25.344 25.344 0 0 0-11.008-3.2c-2.368 0-4.736 0-6.272 0.832-22.016 6.4-44.8 9.536-69.12 9.536-117.12 0-211.456-79.68-211.456-178.496 0-98.752 94.272-178.496 211.392-178.496 117.12 0 211.392 79.744 211.392 178.56 0 53.376-28.288 101.952-73.088 134.656a11.264 11.264 0 0 0-5.504 11.904z m-132.8-357.504c-133.568 0-243.392 92.8-243.392 210.944 0 17.92 2.56 35.328 7.296 51.84h-2.88a314.944 314.944 0 0 1-82.688-11.904c-2.368-0.832-4.736-0.832-7.04-0.832a26.368 26.368 0 0 0-13.44 3.968l-55.936 32.64c-1.6 0.768-3.2 1.6-4.736 1.6a8.768 8.768 0 0 1-8.64-8.768c0-2.368 0.768-3.968 1.6-6.4 0.768-0.768 7.872-27.008 11.776-42.88 0-1.664 0.768-4.032 0.768-5.632a18.112 18.112 0 0 0-7.04-14.272C193.92 564.352 160 506.24 160 441.856c0-118.4 114.24-213.888 254.4-213.888 120.512 0 221.76 70.336 247.168 165.248a441.152 441.152 0 0 0-8.96-0.128z m-155.968 13.76a33.28 33.28 0 0 0 32.832-33.28 32.768 32.768 0 1 0-65.664 0c0 18.56 14.464 33.28 32.832 33.28z m-168.32 0a33.28 33.28 0 0 0 0-66.56 32.832 32.832 0 0 0-32.832 33.28c0 18.56 14.528 33.28 32.832 33.28z" fill="#20BF64" ></path></symbol><symbol id="icon-WEIMOB03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M772.544 234.88a51.2 51.2 0 0 1 95.424 36.608l-2.112 5.632-231.616 512c-19.968 44.16-83.2 37.888-95.744-6.592l-1.408-6.016-60.16-358.08-187.84 372.608c-22.4 44.48-87.424 33.536-96-13.184l-0.832-6.016-38.528-512a51.2 51.2 0 0 1 101.312-13.632l0.832 5.952 24.64 328.256 175.232-347.52c21.376-42.24 82.56-34.88 94.912 8.704l1.28 5.888 58.24 346.24L772.48 234.88z" fill="#FFFFFF" ></path></symbol><symbol id="icon-WEIMOB02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M772.544 234.88a51.2 51.2 0 0 1 95.424 36.608l-2.112 5.632-231.616 512c-19.968 44.16-83.2 37.888-95.744-6.592l-1.408-6.016-60.16-358.08-187.84 372.608c-22.4 44.48-87.424 33.536-96-13.184l-0.832-6.016-38.528-512a51.2 51.2 0 0 1 101.312-13.632l0.832 5.952 24.64 328.256 175.232-347.52c21.376-42.24 82.56-34.88 94.912 8.704l1.28 5.888 58.24 346.24L772.48 234.88z" fill="#008DFE" ></path></symbol><symbol id="icon-WEIMOB01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#008DFE" ></path><path d="M772.544 234.88a51.2 51.2 0 0 1 95.424 36.608l-2.112 5.632-231.616 512c-19.968 44.16-83.2 37.888-95.744-6.592l-1.408-6.016-60.16-358.08-187.84 372.608c-22.4 44.48-87.424 33.536-96-13.184l-0.832-6.016-38.528-512a51.2 51.2 0 0 1 101.312-13.632l0.832 5.952 24.64 328.256 175.232-347.52c21.376-42.24 82.56-34.88 94.912 8.704l1.28 5.888 58.24 346.24L772.48 234.88z" fill="#FFFFFF" ></path></symbol><symbol id="icon-OFFLINE03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M428.224 586.88l3.072 3.84a98.048 98.048 0 0 0 152.96 0.064l4.864-5.76c16.768-17.856 44.8-18.688 62.656-1.92l9.6 9.088a121.408 121.408 0 0 0 143.36 17.28l4.8-3.2v133.632a55.296 55.296 0 0 1-49.28 54.976l-6.016 0.32H261.76a55.296 55.296 0 0 1-55.04-49.28l-0.256-6.016-0.128-134.656 5.184 3.008a123.52 123.52 0 0 0 142.72-17.536l11.712-10.688a44.288 44.288 0 0 1 62.272 6.848z m302.336-393.92c22.976 0 43.52 14.208 51.712 35.648l70.4 184.768c19.072 50.176-1.28 106.816-48 133.376a121.408 121.408 0 0 1-143.36-17.28l-9.6-8.96a44.288 44.288 0 0 0-62.592 1.792l-4.864 5.76a98.048 98.048 0 0 1-152.96 0l-3.072-3.84a44.288 44.288 0 0 0-62.272-6.912l-11.712 10.688a123.52 123.52 0 0 1-142.72 17.6 106.56 106.56 0 0 1-48.64-131.584l70.592-185.408a55.296 55.296 0 0 1 51.712-35.648z" fill="#FFFFFF" ></path></symbol><symbol id="icon-OFFLINE01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF6B17" ></path><path d="M431.04 606.656l3.136 3.84a99.84 99.84 0 0 0 155.712 0.128l4.928-5.952a45.12 45.12 0 0 1 63.808-1.856l9.728 9.216a123.648 123.648 0 0 0 145.984 17.536l4.928-3.2v136.064a56.32 56.32 0 0 1-50.176 56l-6.08 0.32H261.504a56.32 56.32 0 0 1-56-50.176l-0.32-6.144-0.128-137.088 5.312 3.072c47.296 25.728 105.664 18.56 145.28-17.92l11.968-10.88a45.12 45.12 0 0 1 63.36 7.04z m307.84-401.088a56.32 56.32 0 0 1 52.608 36.288l71.68 188.096c19.456 51.072-1.28 108.8-48.832 135.808a123.648 123.648 0 0 1-145.92-17.536l-9.792-9.216a45.12 45.12 0 0 0-63.808 1.856l-4.928 5.952a99.84 99.84 0 0 1-155.712-0.128l-3.2-3.84a45.12 45.12 0 0 0-63.36-7.04l-11.968 10.88a125.824 125.824 0 0 1-145.28 17.92 108.544 108.544 0 0 1-49.536-134.016l71.936-188.8a56.32 56.32 0 0 1 52.608-36.224z" fill="#FFFFFF" ></path></symbol><symbol id="icon-OFFLINE02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M428.224 586.88l3.072 3.84a98.048 98.048 0 0 0 152.96 0.064l4.864-5.76c16.768-17.856 44.8-18.688 62.656-1.92l9.6 9.088a121.408 121.408 0 0 0 143.36 17.28l4.8-3.2v133.632a55.296 55.296 0 0 1-49.28 54.976l-6.016 0.32H261.76a55.296 55.296 0 0 1-55.04-49.28l-0.256-6.016-0.128-134.656 5.184 3.008a123.52 123.52 0 0 0 142.72-17.536l11.712-10.688a44.288 44.288 0 0 1 62.272 6.848z m302.336-393.92c22.976 0 43.52 14.208 51.712 35.648l70.4 184.768c19.072 50.176-1.28 106.816-48 133.376a121.408 121.408 0 0 1-143.36-17.28l-9.6-8.96a44.288 44.288 0 0 0-62.592 1.792l-4.864 5.76a98.048 98.048 0 0 1-152.96 0l-3.072-3.84a44.288 44.288 0 0 0-62.272-6.912l-11.712 10.688a123.52 123.52 0 0 1-142.72 17.6 106.56 106.56 0 0 1-48.64-131.584l70.592-185.408a55.296 55.296 0 0 1 51.712-35.648z" fill="#FF6B17" ></path></symbol><symbol id="icon-REDBOOK01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF2442" ></path><path d="M396.8 602.688c3.2 3.008 7.296 4.48 11.52 4.16h72.512l-29.312 58.752H382.976a17.152 17.152 0 0 1-13.824-6.528z m253.76-225.664v59.968h-35.2v171.776h53.312v56.64H480.896l26.56-56.64h52.864V436.992h-35.84v-59.968h126.08zM264.192 358.4v262.912s-1.664 44.096-37.952 44.096H208s-35.52-3.904-35.52-48.32h36.032V358.4h55.68z m513.28 0v18.24h21.568c34.304 0 62.08 29.44 62.08 65.792v38.784h6.656c29.696 0 53.76 25.472 53.824 56.96v77.696c0 27.328-20.928 49.472-46.72 49.472h-14.08a45.44 45.44 0 0 1-33.088-14.464 50.944 50.944 0 0 1-13.696-35.008h51.84v-61.824a13.632 13.632 0 0 0-13.184-13.952H777.6v125.312H723.2V540.096h-54.528v-58.88h54.528v-45.76h-34.24v-58.816h34.112V358.4h54.4zM172.608 436.992v3.712c-0.128 25.216-2.56 177.024-39.616 193.92L102.4 575.104a429.76 429.76 0 0 0 13.184-138.176h56.96z m184.96-0.192a429.76 429.76 0 0 0 13.184 138.24l-30.528 59.328c-37.12-16.768-39.488-168.64-39.68-193.856v-3.52h56.96zM489.28 358.4l-38.4 77.504a5.824 5.824 0 0 0 0.128 5.44 5.184 5.184 0 0 0 4.48 2.624h3.52l3.328-6.976h53.376l-46.08 95.424a5.76 5.76 0 0 0 0.192 5.44 5.12 5.12 0 0 0 4.48 2.624h30.72l-24.576 47.36h-61.632c-26.368-1.216-9.92-35.52-9.92-35.52l28.352-61.184h-37.12c-26.432-1.024-9.92-35.52-9.92-35.52L435.84 358.4h53.376z m307.968 77.056h-19.584v45.76h28.096v-36.736c0-4.992-3.84-8.96-8.512-8.96z m96.576-58.432c14.848 0 26.944 12.8 26.944 28.544a29.44 29.44 0 0 1-7.872 20.288 26.24 26.24 0 0 1-19.072 8.32h-27.008v-28.608c0-15.744 12.096-28.544 27.008-28.544z" fill="#FFFFFF" ></path></symbol><symbol id="icon-REDBOOK03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM396.8 602.688l-27.648 56.32 2.88 2.88c3.136 2.496 6.976 3.84 10.944 3.712h68.48l29.376-58.752H408.256l-4.096-0.256a15.232 15.232 0 0 1-7.36-3.84z m253.76-225.664h-126.08v59.968h35.84v171.776h-52.864l-26.56 56.64h187.776v-56.64h-53.376V436.992h35.2v-59.968zM264.192 358.4H208.64v258.688h-36.032l0.448 8.32c4.16 36.544 35.072 40 35.072 40h18.176l7.232-0.64c29.312-5.44 30.72-43.52 30.72-43.52V358.4z m513.28 0h-54.4v18.24h-34.112v58.88h34.24v45.696h-54.528v58.88h54.528v125.312h54.464V540.096h75.008l3.52 0.448c5.568 1.664 9.664 7.04 9.664 13.44v61.888h-51.84l0.64 7.808a50.56 50.56 0 0 0 13.056 27.2 45.44 45.44 0 0 0 33.088 14.464h14.08l6.336-0.448c22.784-3.264 40.384-24 40.384-49.024V538.24l-0.448-7.168c-3.328-28.096-25.92-49.792-53.376-49.792h-6.592v-38.784l-0.448-7.68c-3.584-32.64-29.824-58.048-61.696-58.112h-21.504V358.4zM172.608 436.992h-56.96l0.896 19.968a429.44 429.44 0 0 1-14.08 118.208l30.528 59.392 5.312-3.52c32-28.16 34.176-166.4 34.304-190.336v-3.712z m184.96-0.192v0.192h-56.96v3.52c0.128 25.216 2.56 177.088 39.616 193.92l30.528-59.456-4.608-19.328a430.144 430.144 0 0 1-8.576-118.848zM489.28 358.4H435.84l-45.696 97.28c-2.304 5.056-14.464 34.56 9.92 35.456h37.12l-28.352 61.184c-2.24 5.12-14.464 34.432 9.92 35.456h61.632l24.64-47.296h-30.72l-1.792-0.32a5.312 5.312 0 0 1-2.752-2.304 5.76 5.76 0 0 1-0.192-5.44l46.08-95.36h-53.376l-3.328 6.912h-3.52l-1.728-0.32a5.312 5.312 0 0 1-2.752-2.304 5.824 5.824 0 0 1-0.192-5.44l38.4-77.504z m307.968 77.056c4.672 0 8.512 4.032 8.512 8.96v36.8h-28.096v-45.76z m96.576-58.432c-14.912 0-27.008 12.8-27.008 28.544v28.672h27.008l5.248-0.576a26.496 26.496 0 0 0 13.824-7.808 29.44 29.44 0 0 0 7.872-20.288l-0.448-5.12a27.456 27.456 0 0 0-26.496-23.424z" fill="#D9D9D9" ></path></symbol><symbol id="icon-REDBOOK02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M396.8 602.688c3.2 3.008 7.296 4.48 11.52 4.16h72.512l-29.312 58.752H382.976a17.152 17.152 0 0 1-13.824-6.528z m253.76-225.664v59.968h-35.2v171.776h53.312v56.64H480.896l26.56-56.64h52.864V436.992h-35.84v-59.968h126.08zM264.192 358.4v262.912s-1.664 44.096-37.952 44.096H208s-35.52-3.904-35.52-48.32h36.032V358.4h55.68z m513.28 0v18.24h21.568c34.304 0 62.08 29.44 62.08 65.792v38.784h6.656c29.696 0 53.76 25.472 53.824 56.96v77.696c0 27.328-20.928 49.472-46.72 49.472h-14.08a45.44 45.44 0 0 1-33.088-14.464 50.944 50.944 0 0 1-13.696-35.008h51.84v-61.824a13.632 13.632 0 0 0-13.184-13.952H777.6v125.312H723.2V540.096h-54.528v-58.88h54.528v-45.76h-34.24v-58.816h34.112V358.4h54.4zM172.608 436.992v3.712c-0.128 25.216-2.56 177.024-39.616 193.92L102.4 575.104a429.76 429.76 0 0 0 13.184-138.176h56.96z m184.96-0.192a429.76 429.76 0 0 0 13.184 138.24l-30.528 59.328c-37.12-16.768-39.488-168.64-39.68-193.856v-3.52h56.96zM489.28 358.4l-38.4 77.504a5.824 5.824 0 0 0 0.128 5.44 5.184 5.184 0 0 0 4.48 2.624h3.52l3.328-6.976h53.376l-46.08 95.424a5.76 5.76 0 0 0 0.192 5.44 5.12 5.12 0 0 0 4.48 2.624h30.72l-24.576 47.36h-61.632c-26.368-1.216-9.92-35.52-9.92-35.52l28.352-61.184h-37.12c-26.432-1.024-9.92-35.52-9.92-35.52L435.84 358.4h53.376z m307.968 77.056h-19.584v45.76h28.096v-36.736c0-4.992-3.84-8.96-8.512-8.96z m96.576-58.432c14.848 0 26.944 12.8 26.944 28.544a29.44 29.44 0 0 1-7.872 20.288 26.24 26.24 0 0 1-19.072 8.32h-27.008v-28.608c0-15.744 12.096-28.544 27.008-28.544z" fill="#FF2442" ></path></symbol><symbol id="icon-YOUZAN03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM296 520.256l-12.992 1.728c-28.8 4.544-57.792 8.96-86.656 13.824-20.8 3.52-32 15.168-32 33.088-0.128 86.784-0.128 173.696 0.064 260.48 0 20.48 15.68 32.512 39.68 30.016 26.368-2.752 52.48-7.04 78.784-9.6 11.136-1.088 13.376-5.12 13.248-13.888-0.256-100.736-0.192-201.6-0.128-302.4V520.32z m194.752-319.616a2408.32 2408.32 0 0 1-32.64 144.32 356.672 356.672 0 0 1-50.304 111.232c-14.72 21.504-31.808 41.536-59.328 52.288-9.408 3.712-11.712 8-11.712 16.128l0.128 153.28v164.16c6.208-0.64 10.56-0.96 14.848-1.536l426.368-54.848c37.504-4.736 60.928-29.568 56.576-61.248a53.504 53.504 0 0 1 7.168-36.608c11.776-19.52 13.44-39.808 9.6-61.568-2.432-13.44-2.816-28.8 2.56-41.216 12.8-29.184 15.232-57.344 6.848-87.936-4.224-15.552 1.088-33.664 5.248-50.048 9.728-37.12-14.144-62.08-59.2-59.776a349.44 349.44 0 0 0-15.744 1.28c-44.032 4.48-88 9.088-132.096 13.248-26.24 2.56-42.496-9.6-40.96-30.528 1.344-20.736 3.84-41.408 5.632-62.08 2.304-26.56 5.312-53.056 6.528-79.552 1.792-38.72-25.28-66.624-69.376-72.96-37.12-5.376-63.936 12.672-70.144 43.968z" fill="#D9D9D9" ></path></symbol><symbol id="icon-YOUZAN01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#ED0402" ></path><path d="M791.936 390.72c-44.8 4.48-89.6 9.216-134.528 13.44-26.752 2.56-43.264-9.792-41.728-31.104 1.408-21.12 3.968-42.176 5.76-63.232 2.368-27.008 5.44-53.952 6.656-80.96 1.792-39.424-25.728-67.84-70.656-74.304-37.76-5.44-65.024 12.864-71.424 44.8-9.536 49.216-20.544 98.24-33.152 146.944-10.24 39.872-27.52 78.08-51.264 113.28-15.04 21.824-32.384 42.24-60.416 53.12-9.6 3.84-11.968 8.256-11.968 16.512 0.32 104 0.192 208.128 0.192 312.192v11.008c6.336-0.64 10.752-0.96 15.104-1.536 144.704-18.688 289.408-37.312 434.176-55.872 38.144-4.864 62.016-30.08 57.6-62.4a54.4 54.4 0 0 1 7.296-37.248c11.968-19.84 13.632-40.512 9.728-62.72-2.496-13.632-2.88-29.248 2.688-41.92 12.992-29.696 15.488-58.368 6.912-89.536-4.288-15.872 1.088-34.24 5.312-50.944 9.92-37.824-14.4-63.232-60.288-60.864a355.84 355.84 0 0 0-16 1.28zM287.744 524.736l-13.184 1.792c-29.44 4.608-58.88 9.152-88.256 14.08-21.248 3.584-32.64 15.424-32.64 33.728-0.128 88.32-0.128 176.768 0.128 265.216 0 20.8 16 33.088 40.32 30.528 26.88-2.816 53.504-7.168 80.32-9.792 11.328-1.152 13.568-5.248 13.44-14.08-0.256-102.592-0.128-205.312-0.128-307.904v-13.568z" fill="#FFFFFF" ></path></symbol><symbol id="icon-YOUZAN02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M791.168 388.608c-44.032 4.416-88 9.024-132.096 13.184-26.24 2.56-42.496-9.6-40.96-30.528 1.344-20.736 3.84-41.408 5.632-62.08 2.304-26.56 5.312-53.056 6.528-79.552 1.792-38.72-25.28-66.624-69.376-72.96-37.12-5.376-63.936 12.672-70.144 43.968a2408.32 2408.32 0 0 1-32.64 144.32 356.672 356.672 0 0 1-50.304 111.232c-14.72 21.504-31.808 41.536-59.328 52.288-9.408 3.712-11.712 8-11.712 16.128 0.256 102.144 0.128 204.416 0.128 306.688v10.752c6.208-0.64 10.56-0.96 14.848-1.536l426.368-54.848c37.504-4.736 60.928-29.568 56.576-61.248a53.504 53.504 0 0 1 7.168-36.608c11.776-19.52 13.44-39.808 9.6-61.568-2.432-13.44-2.816-28.8 2.56-41.216 12.8-29.184 15.232-57.344 6.848-87.936-4.224-15.552 1.088-33.664 5.248-50.048 9.728-37.12-14.144-62.08-59.2-59.776a349.44 349.44 0 0 0-15.744 1.28zM296 520.256l-12.992 1.728c-28.8 4.544-57.792 8.96-86.656 13.824-20.8 3.52-32 15.168-32 33.088-0.128 86.784-0.128 173.696 0.064 260.48 0 20.48 15.68 32.512 39.68 30.016 26.368-2.752 52.48-7.04 78.784-9.6 11.136-1.088 13.376-5.12 13.248-13.888-0.256-100.736-0.192-201.6-0.128-302.4V520.32z" fill="#ED0402" ></path></symbol><symbol id="icon-gongzhonghao" viewBox="0 0 1024 1024"><path d="M508.16 76.8c-69.76 0-176.128 23.424-255.68 117.76-53.12 62.976-71.04 136.704-59.84 210.176 7.68 50.56 36.416 117.12 77.44 159.296 15.488-106.88 72.896-190.848 148.096-252.608 135.872-101.76 280.896-96 386.368-61.12-46.4-93.44-163.648-173.44-296.448-173.504z" fill="#07C160" ></path><path d="M554.048 322.368l12.544 3.84c192 64.192 295.808 268.48 231.808 456.32a353.28 353.28 0 0 1-78.72 129.792c41.408-11.264 83.776-27.328 120.128-54.72 146.24-110.528 175.04-314.24 70.72-446.976-83.136-105.792-226.816-135.424-356.48-88.256z" fill="#07C160" ></path><path d="M423.104 739.264a42.368 42.368 0 0 0-10.24-0.896 44.352 44.352 0 0 0-22.016 7.296l-89.728 56.384a16 16 0 0 1-7.936 2.944 13.952 13.952 0 0 1-14.656-13.248c-0.128-3.456 1.088-6.912 1.856-10.24l15.808-70.592a27.648 27.648 0 0 0-11.392-30.72c-94.464-63.232-159.36-162.56-173.568-264.64-23.744 36.672-36.48 65.792-48.832 108.16-46.208 158.464 54.912 348.16 219.968 401.28 189.76 61.184 370.88-7.424 433.408-165.76 7.616-19.2 15.936-51.84 17.664-78.912-66.496 47.936-136.832 68.16-225.664 68.16-29.184 0-57.472-3.2-84.672-9.216z" fill="#07C160" ></path></symbol><symbol id="icon-xiaochengxu" viewBox="0 0 1024 1024"><path d="M784.448 472.896c-20.416 33.536-54.4 59.2-95.04 71.04l-3.072 0.896a70.208 70.208 0 0 1-19.136 2.88c-28.16 0-44.16-19.072-35.584-42.56 6.272-17.152 22.72-31.68 42.752-38.4 31.04-11.328 52.736-37.12 52.736-67.2 0-40.512-39.424-73.344-88-73.344-48.64 0-88 32.832-88 73.344v224.896c0 54.08-31.36 101.504-78.208 128.32-25.6 14.656-55.68 23.232-88 23.232-91.648 0-166.208-67.968-166.208-151.552 0-26.624 7.552-51.584 20.8-73.344 20.544-33.664 54.72-59.456 95.68-71.168h0.064c6.912-2.176 14.08-3.392 21.12-3.392 28.352 0 44.288 19.136 35.712 42.752-5.76 16-21.504 29.76-39.744 37.12a103.808 103.808 0 0 0-6.4 2.368c-29.056 11.968-49.024 36.864-49.024 65.664 0 40.512 39.36 73.344 88 73.344s88-32.832 88-73.344V399.552c0-54.08 31.36-101.504 78.208-128.32 25.6-14.656 55.68-23.232 88-23.232 91.648 0 166.208 67.968 166.208 151.552 0 26.56-7.616 51.584-20.864 73.344M512 51.2a460.8 460.8 0 1 0 0 921.6A460.8 460.8 0 0 0 512 51.2" fill="#07C160" ></path></symbol><symbol id="icon-qiyeweixin" viewBox="0 0 1024 1024"><path d="M664.96 738.944a12.672 12.672 0 0 0 1.728 19.456c25.024 23.424 42.048 54.08 48.64 87.552a53.44 53.44 0 0 0 90.944 34.432 53.312 53.312 0 0 0-28.8-90.24l-3.264-0.512a163.328 163.328 0 0 1-91.2-50.688 12.608 12.608 0 0 0-18.048 0z" fill="#FB6500" ></path><path d="M881.728 654.656a53.12 53.12 0 0 0-15.36 32.128 163.968 163.968 0 0 1-50.752 91.2 12.8 12.8 0 0 0 17.024 18.944l0.96-0.896a163.584 163.584 0 0 1 89.088-50.496 52.8 52.8 0 0 0 34.496-15.488 53.248 53.248 0 1 0-75.52-75.392z" fill="#0082EF" ></path><path d="M731.264 503.936a53.312 53.312 0 0 0 28.928 90.24l3.2 0.448c35.2 6.528 67.328 24.384 91.264 50.752a12.8 12.8 0 1 0 16.256-19.52 163.904 163.904 0 0 1-48.768-87.552 53.12 53.12 0 0 0-53.184-50.048 53.248 53.248 0 0 0-37.696 15.68z" fill="#2DBC00" ></path><path d="M704.96 587.392L704 588.288a16 16 0 0 0-1.536 1.792l-3.52 3.712a163.84 163.84 0 0 1-84.032 44.992 53.248 53.248 0 1 0 55.232 65.152l0.64-3.2 0.384-3.2c6.528-35.008 24.32-67.072 50.88-91.2a12.736 12.736 0 0 0 0-18.048 12.864 12.864 0 0 0-17.088-0.896z" fill="#FFCC00" ></path><path d="M430.72 128c-15.488 0-31.616 0.896-47.808 2.624-94.848 10.368-181.12 50.88-242.752 114.176a323.52 323.52 0 0 0-58.88 82.88C61.568 367.616 51.2 411.52 51.2 456c0 57.216 17.472 113.792 50.432 163.392 17.28 25.856 45.184 57.728 69.44 79.296l1.344 1.152v1.856l-11.904 92.16-0.896 2.88a14.4 14.4 0 0 0-0.32 2.752l-0.256 1.664-0.128 1.088c0 0.512 0.128 0.96 0.192 1.408l0.128 1.28a25.408 25.408 0 0 0 37.888 19.456l1.984-1.216 111.36-55.808 1.472 0.384c22.208 6.4 45.44 10.88 70.976 13.632 62.08 6.912 124.928 0.32 184.128-19.328a57.28 57.28 0 0 1-29.632-49.92 363.712 363.712 0 0 1-63.872 13.248c-27.776 3.136-55.872 3.2-83.648 0.192l-5.312-0.64-3.136-0.448a361.984 361.984 0 0 1-54.848-11.52 33.6 33.6 0 0 0-26.24 2.752 22.848 22.848 0 0 0-2.112 1.024l-70.272 41.408c-7.168 4.16-13.568-0.384-13.568-6.848l10.624-41.6 5.504-20.864a24.32 24.32 0 0 0-8.704-27.2 312.768 312.768 0 0 1-28.544-24 280.064 280.064 0 0 1-40.448-47.808 239.488 239.488 0 0 1-41.152-132.736c0-36.032 8.32-71.04 24.512-104.128a266.88 266.88 0 0 1 48.512-68.224c51.84-53.248 124.8-87.36 205.184-96.128A369.152 369.152 0 0 1 473.6 188.8c80 9.088 152.512 43.456 203.968 96.64 19.648 20.16 35.904 43.2 48.256 68.352 16.448 33.472 24.704 70.272 24 107.456a57.088 57.088 0 0 1 60.224 8.192 288.704 288.704 0 0 0-29.312-140.8 323.2 323.2 0 0 0-58.496-83.008c-61.184-63.232-146.944-104-241.408-114.752A444.16 444.16 0 0 0 430.784 128" fill="#0082F0" ></path></symbol><symbol id="icon-shipinhao" viewBox="0 0 1024 1024"><path d="M393.92 704.384c-44.16 61.888-74.688 85.568-92.224 94.592a17.792 17.792 0 0 1-22.784-5.696c-19.84-28.928-58.048-105.024-93.248-240-37.568-143.872-50.112-276.288-30.528-321.92a13.44 13.44 0 0 1 18.944-6.144c26.496 15.04 92.48 69.824 217.152 269.376 28.096 44.864 52.288 84.096 66.368 107.072-13.184 24.192-36.032 64-63.68 102.72z m352.512 87.04a20.992 20.992 0 0 1-28.16 5.952c-37.312-22.4-98.688-95.36-152-195.456 14.08-22.976 38.336-62.272 66.496-107.328 125.056-200.128 191.104-254.72 217.408-269.504a12.992 12.992 0 0 1 18.624 6.08c19.648 45.824 7.104 178.24-30.464 322.112-34.56 132.288-71.872 208.064-91.904 238.208zM871.04 128.32c-80.96-5.76-176.32 89.728-319.68 319.104l-39.424 63.36-39.424-63.36C329.216 217.92 233.408 122.496 152.832 128.256 131.2 129.856 91.264 140.8 67.392 196.416 34.432 273.28 59.2 423.36 76.8 506.048c26.752 124.8 69.76 249.152 109.632 316.8 26.496 44.928 52.992 67.84 83.392 72.128 4.864 0.64 9.856 1.024 14.72 1.024C374.4 896 459.904 783.04 512 696.96 564.096 783.04 649.6 896 739.392 896c4.864 0 9.856-0.32 14.72-1.024 30.4-4.288 56.896-27.2 83.392-72.192C877.44 755.2 920.384 630.848 947.2 505.984c17.664-82.624 42.432-232.768 9.472-309.568C932.736 140.8 892.864 129.92 871.104 128.256z" fill="#FA9D3B" ></path></symbol><symbol id="icon-DD01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E6252E" ></path><path d="M348.8 224c21.568 0 39.04 18.496 39.04 41.216v78.912c46.208 7.488 88.32 28.416 121.536 60.672 43.776 42.624 67.904 101.504 67.904 165.76 0 64.192-24.128 123.008-67.904 165.632a228.608 228.608 0 0 1-160.64 63.808 216.576 216.576 0 0 1-101.504-25.024 231.872 231.872 0 0 1-78.08-67.008 38.592 38.592 0 0 1 5.824-52.224 34.112 34.112 0 0 1 49.6 6.272 154.24 154.24 0 0 0 124.16 63.552c43.52 0 83.52-15.616 112.768-44.16 14.272-13.696 25.344-30.08 33.088-48.448 8.064-19.2 12.16-40.256 12.16-62.464a160.64 160.64 0 0 0-12.16-62.464 145.216 145.216 0 0 0-33.088-48.512c-29.248-28.416-69.248-44.16-112.704-44.16-48.768 0-94.08 23.296-124.16 63.616a34.112 34.112 0 0 1-49.664 6.272 38.528 38.528 0 0 1-5.824-52.224c20.864-28.096 47.872-51.2 78.08-66.944 19.904-10.432 40.832-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m318.72 0c21.568 0 39.04 18.496 39.04 41.216v78.912a224.768 224.768 0 0 1 121.472 60.672C871.936 447.36 896 506.24 896 570.56c0 64.192-24.064 123.008-67.968 165.632a228.48 228.48 0 0 1-160.512 63.808c-43.328 0-85.44-12.8-121.792-37.056l-4.608-3.072a260.288 260.288 0 0 0 42.496-59.648c25.152 16.64 54.08 25.344 83.84 25.344 43.52 0 83.52-15.616 112.768-44.16 14.208-13.696 25.344-30.08 33.024-48.448 8.128-19.2 12.224-40.256 12.224-62.464 0-22.144-4.096-43.2-12.224-62.464a145.728 145.728 0 0 0-33.024-48.512c-29.248-28.416-69.312-44.16-112.704-44.16-30.272 0-59.136 8.96-83.84 25.344a259.392 259.392 0 0 0-42.56-59.52c8-5.568 16.32-10.688 24.832-15.104 19.84-10.432 40.768-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m54.208 307.2c21.632 0 39.04 18.496 39.04 41.216 0 22.72-17.408 41.152-39.04 41.152h-108.16l-2.176-0.192a258.432 258.432 0 0 0 1.408-82.048l3.072-0.128z m-318.72 1.152c20.992 0 38.016 17.92 38.016 40.064s-17.024 40.064-38.016 40.064H165.952C144.96 612.48 128 594.56 128 572.416c0-22.208 16.96-40.064 37.952-40.064z m107.392-284.8c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56-26.432 0-48-22.592-48-50.56 0-27.968 21.568-50.624 48-50.624z m-313.6 0c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56s-47.936-22.592-47.936-50.56c0-27.968 21.44-50.624 47.936-50.624z m619.264 0c26.56 0 48.064 22.72 48.064 50.688 0 27.968-21.504 50.56-48 50.56s-48-22.592-48-50.56c0-27.968 21.504-50.624 48-50.624z" fill="#FFFFFF" ></path></symbol><symbol id="icon-DD02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M348.8 224c21.568 0 39.04 18.496 39.04 41.216v78.912c46.208 7.488 88.32 28.416 121.536 60.672 43.776 42.624 67.904 101.504 67.904 165.76 0 64.192-24.128 123.008-67.904 165.632a228.608 228.608 0 0 1-160.64 63.808 216.576 216.576 0 0 1-101.504-25.024 231.872 231.872 0 0 1-78.08-67.008 38.592 38.592 0 0 1 5.824-52.224 34.112 34.112 0 0 1 49.6 6.272 154.24 154.24 0 0 0 124.16 63.552c43.52 0 83.52-15.616 112.768-44.16 14.272-13.696 25.344-30.08 33.088-48.448 8.064-19.2 12.16-40.256 12.16-62.464a160.64 160.64 0 0 0-12.16-62.464 145.216 145.216 0 0 0-33.088-48.512c-29.248-28.416-69.248-44.16-112.704-44.16-48.768 0-94.08 23.296-124.16 63.616a34.112 34.112 0 0 1-49.664 6.272 38.528 38.528 0 0 1-5.824-52.224c20.864-28.096 47.872-51.2 78.08-66.944 19.904-10.432 40.832-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m318.72 0c21.568 0 39.04 18.496 39.04 41.216v78.912a224.768 224.768 0 0 1 121.472 60.672C871.936 447.36 896 506.24 896 570.56c0 64.192-24.064 123.008-67.968 165.632a228.48 228.48 0 0 1-160.512 63.808c-43.328 0-85.44-12.8-121.792-37.056l-4.608-3.072a260.288 260.288 0 0 0 42.496-59.648c25.152 16.64 54.08 25.344 83.84 25.344 43.52 0 83.52-15.616 112.768-44.16 14.208-13.696 25.344-30.08 33.024-48.448 8.128-19.2 12.224-40.256 12.224-62.464 0-22.144-4.096-43.2-12.224-62.464a145.728 145.728 0 0 0-33.024-48.512c-29.248-28.416-69.312-44.16-112.704-44.16-30.272 0-59.136 8.96-83.84 25.344a259.392 259.392 0 0 0-42.56-59.52c8-5.568 16.32-10.688 24.832-15.104 19.84-10.432 40.768-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m54.208 307.2c21.632 0 39.04 18.496 39.04 41.216 0 22.72-17.408 41.152-39.04 41.152h-108.16l-2.176-0.192a258.432 258.432 0 0 0 1.408-82.048l3.072-0.128z m-318.72 1.152c20.992 0 38.016 17.92 38.016 40.064s-17.024 40.064-38.016 40.064H165.952C144.96 612.48 128 594.56 128 572.416c0-22.208 16.96-40.064 37.952-40.064z m107.392-284.8c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56-26.432 0-48-22.592-48-50.56 0-27.968 21.568-50.624 48-50.624z m-313.6 0c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56s-47.936-22.592-47.936-50.56c0-27.968 21.44-50.624 47.936-50.624z m619.264 0c26.56 0 48.064 22.72 48.064 50.688 0 27.968-21.504 50.56-48 50.56s-48-22.592-48-50.56c0-27.968 21.504-50.624 48-50.624z" fill="#E6252E" ></path></symbol><symbol id="icon-DD03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#D9D9D9" ></path><path d="M348.8 224c21.568 0 39.04 18.496 39.04 41.216v78.912c46.208 7.488 88.32 28.416 121.536 60.672 43.776 42.624 67.904 101.504 67.904 165.76 0 64.192-24.128 123.008-67.904 165.632a228.608 228.608 0 0 1-160.64 63.808 216.576 216.576 0 0 1-101.504-25.024 231.872 231.872 0 0 1-78.08-67.008 38.592 38.592 0 0 1 5.824-52.224 34.112 34.112 0 0 1 49.6 6.272 154.24 154.24 0 0 0 124.16 63.552c43.52 0 83.52-15.616 112.768-44.16 14.272-13.696 25.344-30.08 33.088-48.448 8.064-19.2 12.16-40.256 12.16-62.464a160.64 160.64 0 0 0-12.16-62.464 145.216 145.216 0 0 0-33.088-48.512c-29.248-28.416-69.248-44.16-112.704-44.16-48.768 0-94.08 23.296-124.16 63.616a34.112 34.112 0 0 1-49.664 6.272 38.528 38.528 0 0 1-5.824-52.224c20.864-28.096 47.872-51.2 78.08-66.944 19.904-10.432 40.832-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m318.72 0c21.568 0 39.04 18.496 39.04 41.216v78.912a224.768 224.768 0 0 1 121.472 60.672C871.936 447.36 896 506.24 896 570.56c0 64.192-24.064 123.008-67.968 165.632a228.48 228.48 0 0 1-160.512 63.808c-43.328 0-85.44-12.8-121.792-37.056l-4.608-3.072a260.288 260.288 0 0 0 42.496-59.648c25.152 16.64 54.08 25.344 83.84 25.344 43.52 0 83.52-15.616 112.768-44.16 14.208-13.696 25.344-30.08 33.024-48.448 8.128-19.2 12.224-40.256 12.224-62.464 0-22.144-4.096-43.2-12.224-62.464a145.728 145.728 0 0 0-33.024-48.512c-29.248-28.416-69.312-44.16-112.704-44.16-30.272 0-59.136 8.96-83.84 25.344a259.392 259.392 0 0 0-42.56-59.52c8-5.568 16.32-10.688 24.832-15.104 19.84-10.432 40.768-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m54.208 307.2c21.632 0 39.04 18.496 39.04 41.216 0 22.72-17.408 41.152-39.04 41.152h-108.16l-2.176-0.192a258.432 258.432 0 0 0 1.408-82.048l3.072-0.128z m-318.72 1.152c20.992 0 38.016 17.92 38.016 40.064s-17.024 40.064-38.016 40.064H165.952C144.96 612.48 128 594.56 128 572.416c0-22.208 16.96-40.064 37.952-40.064z m107.392-284.8c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56-26.432 0-48-22.592-48-50.56 0-27.968 21.568-50.624 48-50.624z m-313.6 0c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56s-47.936-22.592-47.936-50.56c0-27.968 21.44-50.624 47.936-50.624z m619.264 0c26.56 0 48.064 22.72 48.064 50.688 0 27.968-21.504 50.56-48 50.56s-48-22.592-48-50.56c0-27.968 21.504-50.624 48-50.624z" fill="#FFFFFF" ></path></symbol><symbol id="icon-pinduoduo01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E6201A" ></path><path d="M323.328 712.896L505.856 832V592.768zM518.144 832l182.528-119.104-182.528-120.128zM128 565.248l182.528-120.128L128 325.12zM128 579.2l182.528 119.104V459.072zM310.528 192L128 311.104l182.528 120.128zM322.752 459.072L505.28 579.2 322.752 698.24zM322.752 192v239.232l182.528-120.128zM701.248 459.072L518.72 579.2l182.528 119.104zM701.248 192L518.72 311.104l182.528 120.128zM713.472 445.12L896 565.248V325.12zM713.472 698.304L896 579.2l-182.528-120.128zM713.472 192v239.232L896 311.104z" fill="#FFFFFF" ></path><path d="M171.776 588.8s0.064 10.048 9.984 10.24c9.92 0.256 88.832-6.784 96.128-7.232 7.296-0.512 14.592-2.432 14.976-4.48 0.384-1.92-0.576-2.432-3.904-2.24-3.392 0.256-80 6.592-85.376 7.552-5.44 0.896-19.84 2.112-23.68 0.704-3.776-1.344-8.128-4.544-8.128-4.544" fill="#E6201A" ></path><path d="M284.608 551.296c-8.576-11.2-13.184-3.328-15.104 4.48-1.92 7.872-10.624 4.032-12.928-4.672-2.368-8.64-9.28-9.088-19.968-4.16-10.624 4.928-48.96 26.432-59.008 34.112-2.688 2.048-3.84 4.736-1.6 8.192 2.304 3.456 9.28 2.432 21.824 1.152l35.072-3.264a24.32 24.32 0 0 0-8.064-16.064 2.048 2.048 0 0 1-0.32-2.88 2.176 2.176 0 0 1 3.008-0.32 28.224 28.224 0 0 1 9.6 18.816l4.48-0.384a23.168 23.168 0 0 0-7.616-15.552 2.048 2.048 0 0 1-0.192-2.88 2.176 2.176 0 0 1 3.008-0.192 27.072 27.072 0 0 1 8.96 18.24l5.056-0.512a21.568 21.568 0 0 0-7.232-13.376 2.048 2.048 0 0 1-0.256-2.88 2.176 2.176 0 0 1 2.944-0.256 25.6 25.6 0 0 1 8.768 16.128l5.12-0.448c-0.704-6.848-7.36-13.568-7.424-13.632a2.048 2.048 0 0 1 0.064-2.944 2.176 2.176 0 0 1 3.008 0c0.32 0.384 7.68 7.872 8.512 16.128a253.44 253.44 0 0 0 4.608-0.448c4.48-0.576 23.552-2.24 23.552-2.24s0.704-18.944-7.872-30.144M384.256 576.768c-2.56 3.84-2.432 8.448 0.32 10.304 2.752 1.856 4.48-1.536 7.04-5.44 2.56-3.84 4.992-6.656 2.24-8.512-2.752-1.856-7.04-0.192-9.6 3.648m28.672 8.32a16.896 16.896 0 1 1-33.792 0 16.896 16.896 0 0 1 33.792 0M374.848 553.856a7.424 7.424 0 0 0-7.232-6.4 7.424 7.424 0 0 0-7.232 6.4h14.464z" fill="#E6201A" ></path><path d="M396.032 608.512a24.32 24.32 0 0 1-24.704-23.872 24.32 24.32 0 0 1 24.704-23.936 24.32 24.32 0 0 1 24.64 23.936 24.32 24.32 0 0 1-24.64 23.872m22.592-51.968H416.64l-5.76-8.832h-27.392l-5.76 8.832H360.32a9.664 9.664 0 0 0-9.856 9.6v36.992c0 5.248 4.416 9.536 9.856 9.536h58.24a9.664 9.664 0 0 0 9.92-9.6v-36.992a9.664 9.664 0 0 0-9.856-9.536M151.424 464.192c1.088 12.032 9.856 12.288 9.856 12.288h57.152s8.768-0.256 9.856-12.288h-76.8zM160.448 425.408h-0.256a1.6 1.6 0 0 0-1.024 0.576l-3.008 3.776c-0.512 0.64-0.384 1.472 0.32 1.92l0.256 0.128a1.728 1.728 0 0 0 1.216 0.256 1.6 1.6 0 0 0 0.96-0.576l3.072-3.776a1.28 1.28 0 0 0 0.256-1.024 1.344 1.344 0 0 0-0.64-0.896l-0.256-0.128a1.664 1.664 0 0 0-0.896-0.256m-3.008 7.936a2.624 2.624 0 0 1-1.536-0.512l-0.192-0.128a2.624 2.624 0 0 1-0.64-3.712l2.688-3.776a2.624 2.624 0 0 1 3.648-0.64l0.256 0.192a2.624 2.624 0 0 1 0.64 3.712l-2.688 3.776a2.624 2.624 0 0 1-2.176 1.088" fill="#E6201A" ></path><path d="M161.6 427.008l-0.192-0.128c-0.896-0.512-1.088-1.536-0.448-2.24l2.432-3.072a2.048 2.048 0 0 1 2.56-0.384l0.256 0.192c0.832 0.512 1.024 1.472 0.448 2.24l-2.496 3.008a2.048 2.048 0 0 1-2.56 0.384M214.016 416.128a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192c-0.704 0.384-0.896 1.28-0.384 1.92l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.448 0 0.832-0.064 1.152-0.32l0.256-0.128c0.704-0.448 0.896-1.28 0.384-1.92l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.256-0.128a2.624 2.624 0 0 1 3.648 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448M220.608 425.088a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192a1.344 1.344 0 0 0-0.64 0.896 1.28 1.28 0 0 0 0.256 1.024l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.384 0 0.832-0.064 1.152-0.32l0.256-0.128a1.344 1.344 0 0 0 0.64-0.896 1.28 1.28 0 0 0-0.256-1.024l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.192-0.128a2.624 2.624 0 0 1 3.712 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448" fill="#E6201A" ></path><path d="M214.4 417.728l0.256-0.128c0.832-0.512 1.024-1.536 0.448-2.24l-2.56-3.008a2.048 2.048 0 0 0-2.56-0.384l-0.192 0.128c-0.832 0.512-1.024 1.536-0.448 2.24l2.496 3.008c0.64 0.768 1.728 0.896 2.56 0.384M194.048 395.584c0 1.92-1.536 3.392-3.456 3.392a3.392 3.392 0 0 1-3.52-3.392c0-1.856 1.6-3.328 3.52-3.328s3.456 1.472 3.456 3.328M220.672 428.8l-3.712-4.864 2.752-1.536 3.648 4.928zM222.848 438.4h6.4v-6.4h-6.4z" fill="#E6201A" ></path><path d="M164.224 421.824l-1.088-0.64 20.096-29.312c0.128-0.128 2.88-3.968 6.4-3.968 3.584 0 6.336 3.84 6.4 3.968l15.36 21.12-1.024 0.768-15.36-21.12c0-0.064-2.496-3.52-5.376-3.52-2.88 0-5.312 3.456-5.376 3.456l-20.032 29.248zM228.224 458.752c-1.472-17.472-3.584-22.72-3.584-22.72H159.616l-5.824 5.12a159.04 159.04 0 0 0-2.432 20.352h76.992c0-0.832 0-1.792-0.128-2.752M159.168 435.84l-6.656 5.76-1.92-2.112 6.656-5.76zM246.528 308.16l-9.92 1.6 7.04 6.912-1.472 9.6 8.96-4.352 8.96 4.352-1.536-9.6 7.04-6.912-9.856-1.6-4.608-8.64-4.608 8.64z m59.456-5.504l-14.4 18.496-13.504-7.424v45.44h-53.888v-45.44l-13.44 7.424-14.464-18.496 33.6-24.96h5.696c1.728 5.312 8.064 9.216 15.552 9.216 7.488 0 13.824-3.904 15.616-9.216h5.632l33.6 24.96zM413.568 330.24c-6.336 3.2-20.992 2.88-26.752 2.56a52.416 52.416 0 0 0-4.8 0c-5.76 0.32-20.416 0.64-26.688-2.56-4.224-2.176-9.728 3.456-5.184 6.016 5.952 3.264 30.08 10.88 32.32 29.824h3.968c2.24-18.944 26.304-26.56 32.32-29.824 4.48-2.56-1.024-8.192-5.184-6.08M384.448 315.136c-10.24 0-19.712-18.56-16.256-27.968 3.456-9.344 16.256-17.408 16.256-17.408s12.8 8.064 16.192 17.408c3.52 9.408-5.952 27.968-16.192 27.968m-10.432-53.632c2.112-3.648 7.616 5.568 7.616 5.568s-9.728-1.92-7.68-5.568m20.928 0c2.112 3.648-7.68 5.568-7.68 5.568s5.504-9.216 7.68-5.568m7.488 23.296s-9.472-13.632-16.256-16.896c0 0 12.16 0.576 12.352-6.144 0.192-6.72-11.136-4.992-14.08 4.16-2.816-9.152-14.144-10.88-14.016-4.16 0.192 6.72 12.416 6.144 12.416 6.144-6.848 3.2-16.256 16.896-16.256 16.896-16.128 10.56-27.648 28.416-13.184 37.056 14.4 8.64 25.408-3.2 25.408-3.2h11.328s11.008 11.84 25.472 3.2c14.464-8.64 2.88-26.496-13.184-37.12M638.272 327.68c2.432 6.848 13.056 11.968 25.792 11.968 12.736 0 23.36-5.12 25.792-12.032h-51.584z" fill="#E6201A" ></path><path d="M667.648 359.488c-2.048-1.088-2.304-5.568-2.304-11.52 0-5.888 1.664-9.472 1.664-9.472l-2.944-0.384-2.944 0.384s1.664 3.584 1.664 9.536c0 5.888-0.256 10.368-2.304 11.456-3.584 1.92-9.984 2.112-9.984 2.112v0.512h27.136V361.6s-6.4-0.128-9.984-2.112M636.032 328.384l-1.088-3.072h11.904a67.2 67.2 0 0 0 0.128-7.68c-1.088-6.08-15.36-20.672-15.36-27.52v-21.12h0.256A1.6 1.6 0 0 0 633.6 267.52v-4.224a1.6 1.6 0 0 0-1.664-1.536h-8.192a1.6 1.6 0 0 0-1.6 1.536v4.224c0 0.832 0.704 1.536 1.6 1.536h0.32v21.12c0 6.848-14.272 21.44-15.36 27.52-0.576 3.2 2.24 44.48 2.24 44.48h33.792l1.536-23.808c-5.12-2.432-8.768-5.824-10.24-9.92m-19.584-6.848c-0.448 5.248 1.728 36.288 1.728 36.288h-2.368s-2.56-31.232-2.56-37.632c0.064-6.4 6.4-11.904 6.4-11.904s-2.56 5.952-3.2 13.248M660.864 317.824a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M665.92 304.32a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M673.088 320a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M675.008 309.76a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M684.736 316.032a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M450.24 744.32h-5.632a3.712 3.712 0 0 1-3.84-3.584v-8.64h-16.192v8.64a3.712 3.712 0 0 1-3.776 3.648h-5.696c-1.664 0-3.2 1.28-3.264 2.88-0.128 1.728 1.28 3.2 3.072 3.2h35.52c1.792 0 3.2-1.472 3.136-3.2-0.064-1.664-1.6-2.88-3.328-2.88M471.424 678.144h-77.44a2.944 2.944 0 0 0-2.944 2.816v45.44c0 1.536 1.28 2.816 2.944 2.816H467.84v-1.6H393.984a1.28 1.28 0 0 1-1.28-1.28v-45.376a1.28 1.28 0 0 1 1.28-1.152h77.44c0.64 0 1.216 0.512 1.216 1.152v32.256h1.728v-32.256a2.88 2.88 0 0 0-2.944-2.816" fill="#E6201A" ></path><path d="M470.592 683.328v29.888h-0.448a2.24 2.24 0 0 0-2.304 2.24v10.176H396.416a1.6 1.6 0 0 1-1.664-1.6v-40.704c0-0.896 0.768-1.6 1.664-1.6h72.576c0.896 0 1.6 0.704 1.6 1.6" fill="#E6201A" ></path><path d="M493.44 754.688c0 1.28-0.96 2.24-2.24 2.24h-21.12a2.304 2.304 0 0 1-2.24-2.24v-39.168c0-1.28 1.024-2.24 2.304-2.24h21.056c1.28 0 2.304 1.024 2.304 2.24v39.168z m-2.24-42.24h-21.12a3.136 3.136 0 0 0-3.072 3.072v39.168c0 1.728 1.408 3.136 3.136 3.136h21.056a3.136 3.136 0 0 0 3.136-3.2v-39.04a3.136 3.136 0 0 0-3.2-3.2z" fill="#E6201A" ></path><path d="M484.8 722.368h-8.256c-0.512 0-0.896-1.472-0.896-3.2 0-1.792 0.384-3.2 0.896-3.2h8.256c0.512 0 0.896 1.408 0.896 3.2 0 1.728-0.384 3.2-0.896 3.2" fill="#E6201A" ></path><path d="M470.272 748.736h20.8v-28.416h-20.8zM485.312 753.536a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M607.744 706.24l7.488 17.152h1.792l-7.872-17.152zM592.448 723.392h2.432l-4.416-17.152h-1.92zM573.312 723.392h5.248l1.152-17.152h-4.224zM549.376 723.392h1.728l5.12-17.152H554.88zM545.216 706.24H544.64l-4.352 9.408h0.64l-3.584 7.68h1.792l3.392-7.68h0.64l3.968-9.408h-0.512zM550.016 706.24h-0.512l-3.712 9.408h0.576l-3.008 7.68h1.792l2.816-7.68h0.64l3.328-9.408h-0.512zM559.744 706.24h-0.576l-2.432 9.408h0.64l-2.048 7.68h1.856l1.792-7.68h0.64l2.112-9.408H561.28zM570.496 706.24H569.6l-1.856 9.408h1.024l-1.408 7.68h2.88l1.216-7.68h0.96l1.28-9.408h-0.832z" fill="#E6201A" ></path><path d="M579.456 706.24h-1.088l0.32 9.408h1.28l0.448 7.68h3.84l-0.832-7.68h1.28l-1.024-9.408h-1.152z" fill="#E6201A" ></path><path d="M584 706.24h-0.832l1.28 9.408h1.024l1.216 7.68h2.88l-1.472-7.68h0.96l-1.856-9.408h-0.896zM593.28 706.24h-0.512l2.176 9.408h0.64l1.792 7.68h1.792l-1.984-7.68h0.64l-2.56-9.408h-0.512zM598.144 706.24h-0.576l2.752 9.408h0.64l2.304 7.68h1.792l-2.56-7.68h0.64l-3.072-9.408h-0.512zM602.88 706.24h-0.512l3.456 9.408h0.64l2.816 7.68h1.728l-3.008-7.68h0.64l-3.776-9.408h-0.512zM565.248 706.24h-0.64l-2.24 9.408h0.768l-1.792 7.68h2.24l1.6-7.68h0.704l1.856-9.408h-0.64z" fill="#E6201A" ></path><path d="M528.064 727.04h98.24v-6.4H528.064z" fill="#E6201A" ></path><path d="M528.064 731.584h98.24v-6.4H528.064zM534.144 710.272h86.144v-16.768H534.144zM620.288 690.816H534.144s1.92-20.928 17.408-22.208c15.552-1.28 20.8 2.944 29.44 8.64 8.704 5.632 16.064 4.48 22.4 4.8 4.992 0.256 15.616 1.984 16.896 8.768" fill="#E6201A" ></path><path d="M613.44 709.568H540.928l-5.504 11.52h83.584l-5.568-11.52z m12.864 11.52H528.064l7.616-13.44h83.072l7.552 13.44zM537.92 748.16H534.4v-18.88h7.68zM616.512 748.16h3.456v-18.88h-7.68zM643.2 552a29.12 29.12 0 1 0 0 58.24 29.12 29.12 0 0 0 0-58.24m21.568 29.12a21.632 21.632 0 1 1-43.2 0 21.632 21.632 0 0 1 43.2 0" fill="#E6201A" ></path><path d="M623.36 560.896l4.608-14.208h2.624v11.008l-4.928 4.736zM662.976 560.896l-4.608-14.208h-2.624v11.008l4.928 4.736zM623.36 599.552l4.608 14.272h2.624V602.88l-4.928-4.8zM662.976 599.552l-4.608 14.272h-2.624V602.88l4.928-4.8zM680.96 575.808v8.896c0 0.896-0.896 1.664-2.048 1.664h-4.352a24.768 24.768 0 0 0 0-12.224h4.352c1.152 0 2.048 0.768 2.048 1.664M653.888 549.44h-21.376v-10.112a3.84 3.84 0 0 1 3.84-3.84h13.632a3.84 3.84 0 0 1 3.84 3.84v10.112zM653.888 611.072h-21.376v10.112a3.84 3.84 0 0 0 3.84 3.776h13.632a3.84 3.84 0 0 0 3.84-3.776v-10.112zM646.016 583.872a0.832 0.832 0 0 1-0.64-0.256l-13.248-15.552a0.832 0.832 0 0 1 0.128-1.152 0.896 0.896 0 0 1 1.152 0.128l13.248 15.488a0.832 0.832 0 0 1-0.128 1.152 0.896 0.896 0 0 1-0.512 0.192" fill="#E6201A" ></path><path d="M641.344 583.936a1.536 1.536 0 0 1-1.024-0.384 1.408 1.408 0 0 1-0.064-2.048l9.536-10.112a1.536 1.536 0 0 1 2.112-0.064c0.64 0.512 0.64 1.472 0.064 2.048l-9.536 10.112a1.536 1.536 0 0 1-1.088 0.448M746.944 557.76c-1.664 0.768-0.448 6.848 2.688 13.568 3.072 6.72 6.976 11.52 8.64 10.752 1.6-0.768 0.448-6.848-2.688-13.504-3.136-6.72-7.04-11.52-8.64-10.816z m60.544-1.28c0 13.888-3.264 21.76-7.68 26.752-4.288 4.992-5.632 16.384-5.632 16.384h-41.216s-1.344-11.392-5.696-16.384c-4.352-4.992-7.68-12.8-7.68-26.688h67.904z" fill="#E6201A" ></path><path d="M805.824 560.256s11.008-3.84 19.84 0.256c8.768 4.096 3.968 15.36-3.456 20.992-7.424 5.76-19.712 14.528-29.568 14.528v-4.352s10.24-0.384 23.552-12.48c13.44-12.16 8.64-18.304 4.096-19.008a24.768 24.768 0 0 0-15.232 3.072l0.768-3.008zM774.4 519.488c-6.464 14.912 15.936 16.128-1.92 30.08 6.08-13.952-14.336-17.92 1.92-30.08M773.568 602.176h-43.328s5.504 6.4 25.92 6.4h34.816c20.416 0 25.92-6.4 25.92-6.4h-43.328zM778.56 455.552a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4m87.552 1.024s6.336-3.392 21.056 0c0 0-7.488-14.592-30.592-5.76 0 0-17.088-11.264-48-12.416-30.144-1.088-39.936 11.2-46.336 13.248-2.24 0.704-4.864 2.816-2.368 3.84 2.56 0.96 7.552 3.264 6.528 3.584-1.024 0.32-4.992 0.32-5.312 0.832-0.256 0.64 2.048 1.28 5.12 1.6 3.008 0.256 7.04 3.2 14.592 3.648 7.552 0.448 16-1.664 15.616-17.792 0 0 3.776 8.768-1.472 17.856 0 0 3.2-0.512 5.44 1.28s11.072 8.64 26.368 4.736c0 0-6.4-4.992-7.68-11.072 0 0 3.328 4.928 11.776 4.224 8.384-0.768 17.856-3.84 22.912-3.072 5.056 0.768 5.44 2.432 12.992 2.816 7.68 0.448 16.192 0.192 16.192 0.192s-2.944-6.784-16.832-7.744" fill="#E6201A" ></path><path d="M841.856 437.76s-12.032-8.96-35.328-12.16c-0.576-2.496-0.192-5.248-0.192-5.248a18.688 18.688 0 0 0-10.432 4.224l-2.56-0.128c-30.912-1.152-40.96 11.52-47.552 13.568-2.24 0.704-4.992 2.88-2.368 3.84 2.624 1.088 7.68 3.456 6.656 3.776-1.024 0.32-5.12 0.256-5.376 0.832-0.32 0.64 2.112 1.28 5.184 1.664 1.92 0.192 4.352 1.408 7.744 2.432a11.072 11.072 0 0 1 3.456-1.792 26.048 26.048 0 0 0 4.672-2.56 67.84 67.84 0 0 1 14.848-7.296 35.648 35.648 0 0 0 0.256-5.312s0.768 1.92 1.152 4.864a76.16 76.16 0 0 1 26.688-3.072c17.152 0.64 30.72 3.648 39.488 6.464a10.24 10.24 0 0 0 6.464 0 30.976 30.976 0 0 1 17.152-0.256s1.344-9.472-29.952-3.84m-79.36-2.304a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4M789.568 335.232c5.76 0.384 10.88-4.032 10.88-4.032s-2.432 1.28-10.944-1.6c-8.576-2.88-8.96 3.968-8.96 3.968 3.2-0.896 3.328 1.344 9.024 1.664m25.92-1.216c0 10.88-8.832 21.632-19.712 21.632-10.88 0-19.712-10.752-19.712-21.632 0-13.888 12.48-8.576 19.712-7.872 7.168-0.704 19.712-6.016 19.712 7.872M753.728 339.392c-5.248-0.384-5.376-2.56-8.32-1.728 0 0 0.256-6.848 8.256-3.968 7.936 2.88 10.176 1.664 10.176 1.664s-4.8 4.352-10.112 4.032m16.32-5.504c0-1.728 0.192-3.392 0.512-4.928-3.648-0.128-7.872 1.152-11.072 1.536-6.72-0.704-18.304-5.632-18.304 7.296 0 10.112 8.192 20.096 18.304 20.096a18.176 18.176 0 0 0 14.976-8.96 28.288 28.288 0 0 1-4.48-15.04M788.992 301.248a39.488 39.488 0 0 1-3.392-11.328v-12.608h-3.712v12.608c0 9.856-8.576 19.52-13.696 23.68a30.912 30.912 0 0 0-8.32 11.776l1.6 0.576c0-0.128 2.56-6.784 7.808-11.072 5.12-4.16 13.504-13.632 14.272-23.616h0.576c0.32 1.92 1.152 5.952 3.328 10.688 3.008 6.4 6.208 14.72 6.272 18.624h1.728c-0.128-5.248-4.992-16.128-6.4-19.328M746.112 308.672s-2.176-15.552 6.016-21.632c8.192-6.08 26.048-4.16 26.048-4.16s-5.248 3.072-7.04 8.448a25.28 25.28 0 0 1-25.024 17.28" fill="#E6201A" ></path><path d="M527.36 457.792l22.464-4.224-2.176-23.168-16.64 3.52-3.584 23.872z m-43.392 4.224l20.288-7.68-3.648-19.712-14.464-4.224-5.76-12.608-6.592 8.384-3.584 23.872L490.496 448l-6.528 14.08z m87.616-7.68l22.4 4.864 8 20.352-27.52 3.52-6.528 42.88-15.232 9.792-9.408-54.784-16.64-1.408-12.288 45.696-15.936 10.496-1.472-52.672-12.992-2.112-5.76-14.72-5.824 7.04-8.704 62.464-34.048-22.464 21.76-6.336-4.352-29.44-11.584 9.792-10.112-33.728 23.872-4.224-3.648-21.76-6.464-2.112-11.584-19.648 17.344-5.632 16.64-33.728 12.288 32.32 13.76 2.112v11.264l20.992-4.224-15.872-40.768 40.512 16.192-10.112 27.392 20.224-4.224 17.408-41.472 28.928 21.12-28.928 21.76h27.52l7.936 21.76-18.816 0.704-5.76 23.872z" fill="#FFFFFF" ></path></symbol><symbol id="icon-pinduoduo02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M323.328 712.896L505.856 832V592.768zM518.144 832l182.528-119.104-182.528-120.128zM128 565.248l182.528-120.128L128 325.12zM128 579.2l182.528 119.104V459.072zM310.528 192L128 311.104l182.528 120.128zM322.752 459.072L505.28 579.2 322.752 698.24zM322.752 192v239.232l182.528-120.128zM701.248 459.072L518.72 579.2l182.528 119.104zM701.248 192L518.72 311.104l182.528 120.128zM713.472 445.12L896 565.248V325.12zM713.472 698.304L896 579.2l-182.528-120.128zM713.472 192v239.232L896 311.104z" fill="#E6201A" ></path><path d="M171.776 588.8s0.064 10.048 9.984 10.24c9.92 0.256 88.832-6.784 96.128-7.232 7.296-0.512 14.592-2.432 14.976-4.48 0.384-1.92-0.576-2.432-3.904-2.24-3.392 0.256-80 6.592-85.376 7.552-5.44 0.896-19.84 2.112-23.68 0.704A40.832 40.832 0 0 1 171.776 588.8" fill="#FEFEFE" ></path><path d="M284.608 551.296c-8.576-11.2-13.184-3.328-15.104 4.48-1.92 7.872-10.624 4.032-12.928-4.672-2.368-8.64-9.28-9.088-19.968-4.16-10.624 4.928-48.96 26.432-59.008 34.112-2.688 2.048-3.84 4.736-1.6 8.192 2.304 3.456 9.28 2.432 21.824 1.152l35.072-3.264a24.32 24.32 0 0 0-8.064-16.064 2.048 2.048 0 0 1-0.32-2.88 2.176 2.176 0 0 1 3.008-0.32 28.224 28.224 0 0 1 9.6 18.816l4.48-0.384a23.168 23.168 0 0 0-7.616-15.552 2.048 2.048 0 0 1-0.192-2.88 2.176 2.176 0 0 1 3.008-0.192 27.072 27.072 0 0 1 8.96 18.24l5.056-0.512a21.568 21.568 0 0 0-7.232-13.376 2.048 2.048 0 0 1-0.256-2.88 2.176 2.176 0 0 1 2.944-0.256 25.6 25.6 0 0 1 8.768 16.128l5.12-0.448c-0.704-6.848-7.36-13.568-7.424-13.632a2.048 2.048 0 0 1 0.064-2.944 2.176 2.176 0 0 1 3.008 0c0.32 0.384 7.68 7.872 8.512 16.128a253.44 253.44 0 0 0 4.608-0.448c4.48-0.576 23.552-2.24 23.552-2.24s0.704-18.944-7.872-30.144M384.256 576.768c-2.56 3.84-2.432 8.448 0.32 10.304 2.752 1.856 4.48-1.536 7.04-5.44 2.56-3.84 4.992-6.656 2.24-8.512-2.752-1.856-7.04-0.192-9.6 3.648m28.672 8.32a16.896 16.896 0 1 1-33.792 0 16.896 16.896 0 0 1 33.792 0M374.848 553.856a7.424 7.424 0 0 0-7.232-6.4 7.424 7.424 0 0 0-7.232 6.4h14.464z" fill="#FEFEFE" ></path><path d="M396.032 608.512a24.32 24.32 0 0 1-24.704-23.872 24.32 24.32 0 0 1 24.704-23.936 24.32 24.32 0 0 1 24.64 23.936 24.32 24.32 0 0 1-24.64 23.872m22.592-51.968H416.64l-5.76-8.832h-27.392l-5.76 8.832H360.32a9.664 9.664 0 0 0-9.856 9.6v36.992c0 5.248 4.416 9.536 9.856 9.536h58.24a9.664 9.664 0 0 0 9.92-9.6v-36.992a9.664 9.664 0 0 0-9.856-9.536M151.424 464.192c1.088 12.032 9.856 12.288 9.856 12.288h57.152s8.768-0.256 9.856-12.288h-76.8zM160.448 425.408H160.192a1.6 1.6 0 0 0-1.024 0.576l-3.008 3.776c-0.512 0.64-0.384 1.472 0.32 1.92l0.256 0.128a1.728 1.728 0 0 0 1.216 0.256 1.6 1.6 0 0 0 0.96-0.576l3.072-3.776a1.28 1.28 0 0 0 0.256-1.024 1.344 1.344 0 0 0-0.64-0.896l-0.256-0.128a1.664 1.664 0 0 0-0.896-0.256M157.44 433.28a2.624 2.624 0 0 1-1.536-0.512l-0.192-0.128a2.624 2.624 0 0 1-0.64-3.712l2.688-3.776a2.624 2.624 0 0 1 3.648-0.64l0.256 0.192a2.624 2.624 0 0 1 0.64 3.712l-2.688 3.776a2.624 2.624 0 0 1-2.176 1.088" fill="#FEFEFE" ></path><path d="M161.6 427.008L161.408 426.88c-0.896-0.512-1.088-1.536-0.448-2.24l2.432-3.072a2.048 2.048 0 0 1 2.56-0.384l0.256 0.192c0.832 0.512 1.024 1.472 0.448 2.24l-2.496 3.008a2.048 2.048 0 0 1-2.56 0.384M214.016 416.128a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192c-0.704 0.384-0.896 1.28-0.384 1.92l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.448 0 0.832-0.064 1.152-0.32l0.256-0.128c0.704-0.448 0.896-1.28 0.384-1.92l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.256-0.128a2.624 2.624 0 0 1 3.648 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448M220.608 425.088a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192a1.344 1.344 0 0 0-0.64 0.896 1.28 1.28 0 0 0 0.256 1.024l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.384 0 0.832-0.064 1.152-0.32l0.256-0.128a1.344 1.344 0 0 0 0.64-0.896 1.28 1.28 0 0 0-0.256-1.024l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.192-0.128a2.624 2.624 0 0 1 3.712 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448" fill="#FEFEFE" ></path><path d="M214.4 417.728l0.256-0.128c0.832-0.512 1.024-1.536 0.448-2.24l-2.56-3.008a2.048 2.048 0 0 0-2.56-0.384l-0.192 0.128c-0.832 0.512-1.024 1.536-0.448 2.24l2.496 3.008c0.64 0.768 1.728 0.896 2.56 0.384M194.048 395.584c0 1.92-1.6 3.392-3.456 3.392a3.392 3.392 0 0 1-3.52-3.392c0-1.856 1.6-3.328 3.52-3.328s3.456 1.472 3.456 3.328M220.672 428.8l-3.712-4.864 2.752-1.536 3.648 4.928z" fill="#FEFEFE" ></path><path d="M222.848 438.4h6.4v-6.4h-6.4zM164.224 421.824l-1.088-0.64 20.096-29.312c0.128-0.128 2.88-3.968 6.4-3.968 3.584 0 6.336 3.84 6.4 3.968l15.36 21.12-1.024 0.768-15.36-21.12c0-0.064-2.496-3.52-5.376-3.52-2.88 0-5.312 3.456-5.376 3.456l-20.032 29.248z" fill="#FEFEFE" ></path><path d="M228.224 458.752c-1.472-17.472-3.584-22.72-3.584-22.72H159.616l-5.824 5.12a159.04 159.04 0 0 0-2.432 20.352h76.992c0-0.832 0-1.792-0.128-2.752M159.168 435.84l-6.656 5.76-1.92-2.112 6.656-5.76zM246.528 308.16l-9.92 1.6 7.04 6.912-1.472 9.6 8.96-4.352 8.96 4.352-1.536-9.6 7.04-6.912-9.856-1.6-4.608-8.64-4.608 8.64z m59.456-5.504l-14.4 18.496-13.504-7.424v45.44h-53.888v-45.44l-13.44 7.424-14.464-18.496 33.6-24.96h5.696c1.728 5.312 8.064 9.216 15.552 9.216 7.488 0 13.824-3.904 15.616-9.216h5.632l33.6 24.96zM413.568 330.24c-6.336 3.2-20.992 2.88-26.752 2.56a52.416 52.416 0 0 0-4.8 0c-5.76 0.32-20.416 0.64-26.688-2.56-4.224-2.176-9.728 3.456-5.184 6.016 5.952 3.264 30.08 10.88 32.32 29.824h3.968c2.24-18.944 26.304-26.56 32.32-29.824 4.48-2.56-1.024-8.192-5.184-6.08M384.448 315.136c-10.24 0-19.712-18.56-16.256-27.968 3.456-9.344 16.256-17.408 16.256-17.408s12.8 8.064 16.192 17.408c3.52 9.408-5.952 27.968-16.192 27.968m-10.432-53.632c2.112-3.648 7.616 5.568 7.616 5.568s-9.728-1.92-7.68-5.568m20.928 0c2.112 3.648-7.68 5.568-7.68 5.568s5.504-9.216 7.68-5.568m7.488 23.296s-9.472-13.632-16.256-16.896c0 0 12.16 0.576 12.352-6.144 0.192-6.72-11.136-4.992-14.08 4.16-2.816-9.152-14.144-10.88-14.016-4.16 0.192 6.72 12.416 6.144 12.416 6.144-6.848 3.2-16.256 16.896-16.256 16.896-16.128 10.56-27.648 28.416-13.248 37.056 14.464 8.64 25.472-3.2 25.472-3.2h11.328s11.008 11.84 25.472 3.2c14.464-8.64 2.88-26.496-13.184-37.12M638.272 327.68c2.432 6.848 13.056 11.968 25.792 11.968 12.736 0 23.36-5.12 25.792-12.032h-51.584z" fill="#FEFEFE" ></path><path d="M667.648 359.488c-2.048-1.088-2.304-5.568-2.304-11.52 0-5.888 1.664-9.472 1.664-9.472l-2.944-0.384-2.944 0.384s1.664 3.584 1.664 9.536c0 5.888-0.256 10.368-2.304 11.456-3.584 1.92-9.984 2.112-9.984 2.112v0.512h27.136V361.6s-6.4-0.128-9.984-2.112M636.032 328.384l-1.088-3.072h11.904a67.2 67.2 0 0 0 0.128-7.68c-1.088-6.08-15.36-20.672-15.36-27.52v-21.12h0.256A1.6 1.6 0 0 0 633.6 267.52v-4.224a1.6 1.6 0 0 0-1.664-1.536h-8.192a1.6 1.6 0 0 0-1.6 1.536v4.224c0 0.832 0.704 1.536 1.6 1.536h0.32v21.12c0 6.848-14.272 21.44-15.36 27.52-0.576 3.2 2.24 44.48 2.24 44.48h33.792l1.536-23.808c-5.12-2.432-8.768-5.824-10.24-9.92m-19.584-6.848c-0.448 5.248 1.728 36.288 1.728 36.288h-2.368s-2.56-31.232-2.56-37.632c0.064-6.4 6.4-11.904 6.4-11.904s-2.56 5.952-3.2 13.248M660.864 317.824a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M665.92 304.32a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M673.088 320a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M675.008 309.76a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M684.736 316.032a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M450.24 744.32h-5.632a3.712 3.712 0 0 1-3.84-3.584v-8.64h-16.192v8.64a3.712 3.712 0 0 1-3.776 3.648h-5.696c-1.664 0-3.2 1.28-3.264 2.88-0.128 1.728 1.28 3.2 3.072 3.2h35.52c1.792 0 3.2-1.472 3.136-3.2-0.064-1.664-1.6-2.88-3.328-2.88M471.424 678.144h-77.44a2.944 2.944 0 0 0-2.944 2.816v45.44c0 1.536 1.28 2.816 2.944 2.816H467.84V727.68H393.984a1.28 1.28 0 0 1-1.28-1.28V680.96a1.28 1.28 0 0 1 1.28-1.152h77.44c0.64 0 1.216 0.512 1.216 1.152v32.256h1.728V680.96a2.88 2.88 0 0 0-2.944-2.816" fill="#FEFEFE" ></path><path d="M470.592 683.328v29.888h-0.448a2.24 2.24 0 0 0-2.304 2.24v10.176H396.416a1.6 1.6 0 0 1-1.664-1.6v-40.704c0-0.896 0.768-1.6 1.664-1.6h72.576c0.896 0 1.6 0.704 1.6 1.6" fill="#FEFEFE" ></path><path d="M493.44 754.688c0 1.28-0.96 2.24-2.24 2.24h-21.12a2.304 2.304 0 0 1-2.24-2.24V715.52c0-1.28 1.024-2.24 2.304-2.24h21.056c1.28 0 2.304 1.024 2.304 2.24v39.168z m-2.24-42.24h-21.12a3.136 3.136 0 0 0-3.072 3.072v39.168c0 1.728 1.408 3.136 3.136 3.136h21.056a3.136 3.136 0 0 0 3.136-3.2v-39.04a3.136 3.136 0 0 0-3.2-3.2z" fill="#FEFEFE" ></path><path d="M484.8 722.368h-8.256c-0.512 0-0.896-1.472-0.896-3.2 0-1.792 0.384-3.2 0.896-3.2h8.256c0.448 0 0.896 1.408 0.896 3.2 0 1.728-0.448 3.2-0.896 3.2" fill="#FEFEFE" ></path><path d="M470.272 748.736h20.8v-28.416h-20.8zM485.312 753.536a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M607.744 706.24l7.488 17.152h1.792l-7.872-17.152zM592.448 723.392h2.432l-4.416-17.152h-1.92zM573.312 723.392h5.248l1.152-17.152h-4.224zM549.376 723.392h1.728l5.12-17.152H554.88zM545.216 706.24H544.64l-4.352 9.408h0.64l-3.584 7.68h1.792l3.392-7.68h0.64l3.968-9.408h-0.512zM550.016 706.24h-0.512l-3.776 9.408h0.64l-3.008 7.68h1.792l2.816-7.68h0.64l3.328-9.408h-0.512zM559.744 706.24h-0.576l-2.432 9.408h0.64l-2.048 7.68h1.856l1.792-7.68h0.64l2.112-9.408H561.28zM570.496 706.24H569.6l-1.856 9.408h1.024l-1.408 7.68h2.88l1.216-7.68h0.96l1.28-9.408h-0.832z" fill="#FEFEFE" ></path><path d="M579.456 706.24h-1.088l0.32 9.408h1.28l0.448 7.68h3.84l-0.832-7.68h1.28l-1.024-9.408h-1.152z" fill="#FEFEFE" ></path><path d="M584 706.24h-0.832l1.28 9.408h1.024l1.216 7.68h2.88l-1.472-7.68h0.96l-1.856-9.408h-0.896zM593.28 706.24h-0.512l2.176 9.408h0.64l1.792 7.68h1.792l-1.984-7.68h0.64l-2.56-9.408h-0.512zM598.144 706.24h-0.576l2.752 9.408h0.64l2.304 7.68h1.792l-2.56-7.68h0.64l-3.072-9.408h-0.512zM602.88 706.24h-0.512l3.456 9.408h0.64l2.816 7.68h1.728l-3.008-7.68h0.64l-3.776-9.408h-0.512zM565.248 706.24h-0.64l-2.24 9.408h0.768l-1.792 7.68h2.24l1.6-7.68h0.704l1.856-9.408h-0.64z" fill="#FEFEFE" ></path><path d="M528.064 727.04h98.24v-6.4H528.064z" fill="#FEFEFE" ></path><path d="M528.064 731.584h98.24v-6.4H528.064zM534.144 710.272h86.144v-16.768H534.144zM620.288 690.816H534.144s1.92-20.928 17.408-22.208c15.552-1.28 20.8 2.944 29.44 8.64 8.704 5.632 16.064 4.48 22.4 4.8 4.992 0.256 15.616 1.984 16.896 8.768" fill="#FEFEFE" ></path><path d="M613.44 709.568H540.928l-5.504 11.52h83.584l-5.568-11.52z m12.864 11.52H528.064l7.616-13.44h83.072l7.552 13.44zM537.92 748.16H534.4v-18.88h7.68zM616.512 748.16h3.456v-18.88h-7.68zM643.2 552a29.12 29.12 0 1 0 0 58.24 29.12 29.12 0 0 0 0-58.24m21.568 29.12a21.632 21.632 0 1 1-43.2 0 21.632 21.632 0 0 1 43.2 0" fill="#FEFEFE" ></path><path d="M623.36 560.896l4.608-14.208h2.624v11.008l-4.928 4.736zM662.976 560.896l-4.608-14.208h-2.624v11.008l4.928 4.736zM623.36 599.552l4.608 14.272h2.624V602.88l-4.928-4.8zM662.976 599.552l-4.608 14.272h-2.624V602.88l4.928-4.8zM680.96 575.808v8.896c0 0.896-0.896 1.664-2.048 1.664H674.56a24.768 24.768 0 0 0 0-12.224h4.352c1.152 0 2.048 0.768 2.048 1.664M653.888 549.44h-21.376v-10.112a3.84 3.84 0 0 1 3.84-3.84h13.632a3.84 3.84 0 0 1 3.84 3.84v10.112zM653.888 611.072h-21.376v10.112a3.84 3.84 0 0 0 3.84 3.776h13.632a3.84 3.84 0 0 0 3.84-3.776v-10.112zM646.016 583.872a0.832 0.832 0 0 1-0.64-0.256l-13.248-15.552a0.832 0.832 0 0 1 0.128-1.152 0.896 0.896 0 0 1 1.152 0.128l13.248 15.488a0.832 0.832 0 0 1-0.128 1.152 0.896 0.896 0 0 1-0.512 0.192" fill="#FEFEFE" ></path><path d="M641.344 583.936a1.536 1.536 0 0 1-1.024-0.384 1.408 1.408 0 0 1-0.064-2.048l9.536-10.112a1.536 1.536 0 0 1 2.112-0.064c0.64 0.512 0.64 1.472 0.064 2.048l-9.536 10.112a1.536 1.536 0 0 1-1.088 0.448M746.944 557.76c-1.664 0.768-0.448 6.848 2.688 13.568 3.072 6.72 6.976 11.52 8.64 10.752 1.6-0.768 0.448-6.848-2.688-13.504-3.136-6.72-7.04-11.52-8.64-10.816z m60.544-1.28c0 13.888-3.264 21.76-7.68 26.752-4.288 4.992-5.632 16.384-5.632 16.384h-41.216s-1.344-11.392-5.696-16.384c-4.352-4.992-7.68-12.8-7.68-26.688h67.904z" fill="#FEFEFE" ></path><path d="M805.824 560.256s11.008-3.84 19.84 0.256c8.768 4.096 3.968 15.36-3.456 20.992-7.424 5.76-19.712 14.528-29.568 14.528v-4.352s10.24-0.384 23.552-12.48c13.44-12.16 8.64-18.304 4.096-19.008a24.768 24.768 0 0 0-15.232 3.072l0.768-3.008zM774.4 519.488c-6.464 14.912 15.936 16.128-1.92 30.08 6.08-13.952-14.336-17.92 1.92-30.08M773.568 602.176H730.24s5.504 6.4 25.92 6.4h34.816c20.416 0 25.92-6.4 25.92-6.4h-43.328zM778.56 455.552a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4m87.552 1.024s6.336-3.392 21.056 0c0 0-7.488-14.592-30.592-5.76 0 0-17.088-11.264-48-12.416-30.144-1.088-39.936 11.2-46.336 13.248-2.24 0.704-4.864 2.816-2.368 3.84 2.56 0.96 7.552 3.264 6.528 3.584-1.024 0.32-4.992 0.32-5.312 0.832-0.256 0.64 2.048 1.28 5.12 1.6 3.008 0.256 7.04 3.2 14.592 3.648 7.552 0.448 16-1.664 15.616-17.792 0 0 3.776 8.768-1.472 17.856 0 0 3.2-0.512 5.44 1.28s11.072 8.64 26.368 4.736c0 0-6.4-4.992-7.68-11.072 0 0 3.328 4.928 11.776 4.224 8.384-0.768 17.856-3.84 22.912-3.072 5.056 0.768 5.44 2.432 12.992 2.816 7.68 0.448 16.192 0.192 16.192 0.192s-2.944-6.784-16.832-7.744" fill="#FEFEFE" ></path><path d="M841.856 437.76s-12.032-8.96-35.328-12.16c-0.576-2.496-0.192-5.248-0.192-5.248a18.688 18.688 0 0 0-10.432 4.224l-2.56-0.128c-30.912-1.152-40.96 11.52-47.552 13.568-2.24 0.704-4.992 2.88-2.368 3.84 2.624 1.088 7.68 3.456 6.656 3.776-1.024 0.32-5.12 0.256-5.376 0.832-0.32 0.64 2.112 1.28 5.184 1.664 1.92 0.192 4.352 1.408 7.744 2.432a11.072 11.072 0 0 1 3.456-1.792 26.048 26.048 0 0 0 4.672-2.56 67.84 67.84 0 0 1 14.848-7.296 35.648 35.648 0 0 0 0.256-5.312s0.768 1.92 1.152 4.864a76.16 76.16 0 0 1 26.688-3.072c17.152 0.64 30.72 3.648 39.488 6.464a10.24 10.24 0 0 0 6.464 0 30.976 30.976 0 0 1 17.152-0.256s1.344-9.472-29.952-3.84m-79.36-2.304a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4M789.568 335.232c5.76 0.384 10.88-4.032 10.88-4.032s-2.432 1.28-10.944-1.6c-8.576-2.88-8.96 3.968-8.96 3.968 3.2-0.896 3.328 1.344 9.024 1.664m25.92-1.216c0 10.88-8.832 21.632-19.712 21.632-10.88 0-19.712-10.752-19.712-21.632 0-13.888 12.48-8.576 19.712-7.872 7.168-0.704 19.712-6.016 19.712 7.872M753.728 339.392c-5.248-0.384-5.376-2.56-8.32-1.728 0 0 0.256-6.848 8.256-3.968 7.936 2.88 10.176 1.664 10.176 1.664s-4.8 4.352-10.112 4.032m16.32-5.504c0-1.728 0.192-3.392 0.512-4.928-3.648-0.128-7.872 1.152-11.072 1.536-6.72-0.704-18.304-5.632-18.304 7.296 0 10.112 8.192 20.096 18.304 20.096a18.176 18.176 0 0 0 14.976-8.96 28.288 28.288 0 0 1-4.48-15.04M788.992 301.248a39.488 39.488 0 0 1-3.392-11.328v-12.608h-3.712v12.608c0 9.856-8.576 19.52-13.696 23.68a30.912 30.912 0 0 0-8.32 11.776l1.6 0.576c0-0.128 2.56-6.784 7.808-11.072 5.12-4.16 13.504-13.632 14.272-23.616h0.576c0.32 1.92 1.152 5.952 3.328 10.688 3.008 6.4 6.208 14.72 6.272 18.624h1.728c-0.128-5.248-4.992-16.128-6.4-19.328M746.112 308.672s-2.176-15.552 6.016-21.632c8.192-6.08 26.048-4.16 26.048-4.16s-5.248 3.072-7.04 8.448a25.28 25.28 0 0 1-25.024 17.28" fill="#FEFEFE" ></path><path d="M527.36 457.792l22.464-4.224-2.176-23.168-16.64 3.52-3.584 23.872z m-43.392 4.224l20.288-7.68-3.648-19.712-14.464-4.224-5.76-12.608-6.592 8.384-3.584 23.872L490.496 448l-6.528 14.08z m87.616-7.68l22.4 4.864 8 20.352-27.52 3.52-6.528 42.88-15.232 9.792-9.408-54.784-16.64-1.408-12.288 45.696-15.936 10.496-1.472-52.672-12.992-2.112-5.76-14.72-5.824 7.04-8.704 62.464-34.048-22.464 21.76-6.336-4.352-29.44-11.584 9.792-10.112-33.728 23.872-4.224-3.648-21.76-6.464-2.112-11.584-19.648 17.344-5.632 16.64-33.728 12.288 32.32 13.76 2.112v11.264l20.992-4.224-15.872-40.768 40.512 16.192-10.112 27.392 20.224-4.224 17.408-41.472 28.928 21.12-28.928 21.76h27.52l7.936 21.76-18.816 0.704-5.76 23.872z" fill="#E6201A" ></path></symbol><symbol id="icon-pinduoduo03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#D9D9D9" ></path><path d="M323.328 712.896L505.856 832V592.768zM518.144 832l182.528-119.104-182.528-120.128zM128 565.248l182.528-120.128L128 325.12zM128 579.2l182.528 119.104V459.072zM310.528 192L128 311.104l182.528 120.128zM322.752 459.072L505.28 579.2 322.752 698.24zM322.752 192v239.232l182.528-120.128zM701.248 459.072L518.72 579.2l182.528 119.104zM701.248 192L518.72 311.104l182.528 120.128zM713.472 445.12L896 565.248V325.12zM713.472 698.304L896 579.2l-182.528-120.128zM713.472 192v239.232L896 311.104z" fill="#FFFFFF" ></path><path d="M171.776 588.8s0.064 10.048 9.984 10.24c9.92 0.256 88.832-6.784 96.128-7.232 7.296-0.512 14.592-2.432 14.976-4.48 0.384-1.92-0.576-2.432-3.904-2.24-3.392 0.256-80 6.592-85.376 7.552-5.44 0.896-19.84 2.112-23.68 0.704-3.776-1.344-8.128-4.544-8.128-4.544" fill="#D9D9D9" ></path><path d="M284.608 551.296c-8.576-11.2-13.184-3.328-15.104 4.48-1.92 7.872-10.624 4.032-12.928-4.672-2.368-8.64-9.28-9.088-19.968-4.16-10.624 4.928-48.96 26.432-59.008 34.112-2.688 2.048-3.84 4.736-1.6 8.192 2.304 3.456 9.28 2.432 21.824 1.152l35.072-3.264a24.32 24.32 0 0 0-8.064-16.064 2.048 2.048 0 0 1-0.32-2.88 2.176 2.176 0 0 1 3.008-0.32 28.224 28.224 0 0 1 9.6 18.816l4.48-0.384a23.168 23.168 0 0 0-7.616-15.552 2.048 2.048 0 0 1-0.192-2.88 2.176 2.176 0 0 1 3.008-0.192 27.072 27.072 0 0 1 8.96 18.24l5.056-0.512a21.568 21.568 0 0 0-7.232-13.376 2.048 2.048 0 0 1-0.256-2.88 2.176 2.176 0 0 1 2.944-0.256 25.6 25.6 0 0 1 8.768 16.128l5.12-0.448c-0.704-6.848-7.36-13.568-7.424-13.632a2.048 2.048 0 0 1 0.064-2.944 2.176 2.176 0 0 1 3.008 0c0.32 0.384 7.68 7.872 8.512 16.128a253.44 253.44 0 0 0 4.608-0.448c4.48-0.576 23.552-2.24 23.552-2.24s0.704-18.944-7.872-30.144M384.256 576.768c-2.56 3.84-2.432 8.448 0.32 10.304 2.752 1.856 4.48-1.536 7.04-5.44 2.56-3.84 4.992-6.656 2.24-8.512-2.752-1.856-7.04-0.192-9.6 3.648m28.672 8.32a16.896 16.896 0 1 1-33.792 0 16.896 16.896 0 0 1 33.792 0M374.848 553.856a7.424 7.424 0 0 0-7.232-6.4 7.424 7.424 0 0 0-7.232 6.4h14.464z" fill="#D9D9D9" ></path><path d="M396.032 608.512a24.32 24.32 0 0 1-24.704-23.872 24.32 24.32 0 0 1 24.704-23.936 24.32 24.32 0 0 1 24.64 23.936 24.32 24.32 0 0 1-24.64 23.872m22.592-51.968H416.64l-5.76-8.832h-27.392l-5.76 8.832H360.32a9.664 9.664 0 0 0-9.856 9.6v36.992c0 5.248 4.416 9.536 9.856 9.536h58.24a9.664 9.664 0 0 0 9.92-9.6v-36.992a9.664 9.664 0 0 0-9.856-9.536M151.424 464.192c1.088 12.032 9.856 12.288 9.856 12.288h57.152s8.768-0.256 9.856-12.288h-76.8zM160.448 425.408h-0.256a1.6 1.6 0 0 0-1.024 0.576l-3.008 3.776c-0.512 0.64-0.384 1.472 0.32 1.92l0.256 0.128a1.728 1.728 0 0 0 1.216 0.256 1.6 1.6 0 0 0 0.96-0.576l3.072-3.776a1.28 1.28 0 0 0 0.256-1.024 1.344 1.344 0 0 0-0.64-0.896l-0.256-0.128a1.664 1.664 0 0 0-0.896-0.256m-3.008 7.936a2.624 2.624 0 0 1-1.536-0.512l-0.192-0.128a2.624 2.624 0 0 1-0.64-3.712l2.688-3.776a2.624 2.624 0 0 1 3.648-0.64l0.256 0.192a2.624 2.624 0 0 1 0.64 3.712l-2.688 3.776a2.624 2.624 0 0 1-2.176 1.088" fill="#D9D9D9" ></path><path d="M161.6 427.008l-0.192-0.128c-0.896-0.512-1.088-1.536-0.448-2.24l2.432-3.072a2.048 2.048 0 0 1 2.56-0.384l0.256 0.192c0.832 0.512 1.024 1.472 0.448 2.24l-2.496 3.008a2.048 2.048 0 0 1-2.56 0.384M214.016 416.128a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192c-0.704 0.384-0.896 1.28-0.384 1.92l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.448 0 0.832-0.064 1.152-0.32l0.256-0.128c0.704-0.448 0.896-1.28 0.384-1.92l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.256-0.128a2.624 2.624 0 0 1 3.648 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448M220.608 425.088a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192a1.344 1.344 0 0 0-0.64 0.896 1.28 1.28 0 0 0 0.256 1.024l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.384 0 0.832-0.064 1.152-0.32l0.256-0.128a1.344 1.344 0 0 0 0.64-0.896 1.28 1.28 0 0 0-0.256-1.024l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.192-0.128a2.624 2.624 0 0 1 3.712 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448" fill="#D9D9D9" ></path><path d="M214.4 417.728l0.256-0.128c0.832-0.512 1.024-1.536 0.448-2.24l-2.56-3.008a2.048 2.048 0 0 0-2.56-0.384l-0.192 0.128c-0.832 0.512-1.024 1.536-0.448 2.24l2.496 3.008c0.64 0.768 1.728 0.896 2.56 0.384M194.048 395.584c0 1.92-1.536 3.392-3.456 3.392a3.392 3.392 0 0 1-3.52-3.392c0-1.856 1.6-3.328 3.52-3.328s3.456 1.472 3.456 3.328M220.672 428.8l-3.712-4.864 2.752-1.536 3.648 4.928zM222.848 438.4h6.4v-6.4h-6.4z" fill="#D9D9D9" ></path><path d="M164.224 421.824l-1.088-0.64 20.096-29.312c0.128-0.128 2.88-3.968 6.4-3.968 3.584 0 6.336 3.84 6.4 3.968l15.36 21.12-1.024 0.768-15.36-21.12c0-0.064-2.496-3.52-5.376-3.52-2.88 0-5.312 3.456-5.376 3.456l-20.032 29.248zM228.224 458.752c-1.472-17.472-3.584-22.72-3.584-22.72H159.616l-5.824 5.12a159.04 159.04 0 0 0-2.432 20.352h76.992c0-0.832 0-1.792-0.128-2.752M159.168 435.84l-6.656 5.76-1.92-2.112 6.656-5.76zM246.528 308.16l-9.92 1.6 7.04 6.912-1.472 9.6 8.96-4.352 8.96 4.352-1.536-9.6 7.04-6.912-9.856-1.6-4.608-8.64-4.608 8.64z m59.456-5.504l-14.4 18.496-13.504-7.424v45.44h-53.888v-45.44l-13.44 7.424-14.464-18.496 33.6-24.96h5.696c1.728 5.312 8.064 9.216 15.552 9.216 7.488 0 13.824-3.904 15.616-9.216h5.632l33.6 24.96zM413.568 330.24c-6.336 3.2-20.992 2.88-26.752 2.56a52.416 52.416 0 0 0-4.8 0c-5.76 0.32-20.416 0.64-26.688-2.56-4.224-2.176-9.728 3.456-5.184 6.016 5.952 3.264 30.08 10.88 32.32 29.824h3.968c2.24-18.944 26.304-26.56 32.32-29.824 4.48-2.56-1.024-8.192-5.184-6.08M384.448 315.136c-10.24 0-19.712-18.56-16.256-27.968 3.456-9.344 16.256-17.408 16.256-17.408s12.8 8.064 16.192 17.408c3.52 9.408-5.952 27.968-16.192 27.968m-10.432-53.632c2.112-3.648 7.616 5.568 7.616 5.568s-9.728-1.92-7.68-5.568m20.928 0c2.112 3.648-7.68 5.568-7.68 5.568s5.504-9.216 7.68-5.568m7.488 23.296s-9.472-13.632-16.256-16.896c0 0 12.16 0.576 12.352-6.144 0.192-6.72-11.136-4.992-14.08 4.16-2.816-9.152-14.144-10.88-14.016-4.16 0.192 6.72 12.416 6.144 12.416 6.144-6.848 3.2-16.256 16.896-16.256 16.896-16.128 10.56-27.648 28.416-13.184 37.056 14.4 8.64 25.408-3.2 25.408-3.2h11.328s11.008 11.84 25.472 3.2c14.464-8.64 2.88-26.496-13.184-37.12M638.272 327.68c2.432 6.848 13.056 11.968 25.792 11.968 12.736 0 23.36-5.12 25.792-12.032h-51.584z" fill="#D9D9D9" ></path><path d="M667.648 359.488c-2.048-1.088-2.304-5.568-2.304-11.52 0-5.888 1.664-9.472 1.664-9.472l-2.944-0.384-2.944 0.384s1.664 3.584 1.664 9.536c0 5.888-0.256 10.368-2.304 11.456-3.584 1.92-9.984 2.112-9.984 2.112v0.512h27.136V361.6s-6.4-0.128-9.984-2.112M636.032 328.384l-1.088-3.072h11.904a67.2 67.2 0 0 0 0.128-7.68c-1.088-6.08-15.36-20.672-15.36-27.52v-21.12h0.256A1.6 1.6 0 0 0 633.6 267.52v-4.224a1.6 1.6 0 0 0-1.664-1.536h-8.192a1.6 1.6 0 0 0-1.6 1.536v4.224c0 0.832 0.704 1.536 1.6 1.536h0.32v21.12c0 6.848-14.272 21.44-15.36 27.52-0.576 3.2 2.24 44.48 2.24 44.48h33.792l1.536-23.808c-5.12-2.432-8.768-5.824-10.24-9.92m-19.584-6.848c-0.448 5.248 1.728 36.288 1.728 36.288h-2.368s-2.56-31.232-2.56-37.632c0.064-6.4 6.4-11.904 6.4-11.904s-2.56 5.952-3.2 13.248M660.864 317.824a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M665.92 304.32a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M673.088 320a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M675.008 309.76a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M684.736 316.032a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M450.24 744.32h-5.632a3.712 3.712 0 0 1-3.84-3.584v-8.64h-16.192v8.64a3.712 3.712 0 0 1-3.776 3.648h-5.696c-1.664 0-3.2 1.28-3.264 2.88-0.128 1.728 1.28 3.2 3.072 3.2h35.52c1.792 0 3.2-1.472 3.136-3.2-0.064-1.664-1.6-2.88-3.328-2.88M471.424 678.144h-77.44a2.944 2.944 0 0 0-2.944 2.816v45.44c0 1.536 1.28 2.816 2.944 2.816H467.84v-1.6H393.984a1.28 1.28 0 0 1-1.28-1.28v-45.376a1.28 1.28 0 0 1 1.28-1.152h77.44c0.64 0 1.216 0.512 1.216 1.152v32.256h1.728v-32.256a2.88 2.88 0 0 0-2.944-2.816" fill="#D9D9D9" ></path><path d="M470.592 683.328v29.888h-0.448a2.24 2.24 0 0 0-2.304 2.24v10.176H396.416a1.6 1.6 0 0 1-1.664-1.6v-40.704c0-0.896 0.768-1.6 1.664-1.6h72.576c0.896 0 1.6 0.704 1.6 1.6" fill="#D9D9D9" ></path><path d="M493.44 754.688c0 1.28-0.96 2.24-2.24 2.24h-21.12a2.304 2.304 0 0 1-2.24-2.24v-39.168c0-1.28 1.024-2.24 2.304-2.24h21.056c1.28 0 2.304 1.024 2.304 2.24v39.168z m-2.24-42.24h-21.12a3.136 3.136 0 0 0-3.072 3.072v39.168c0 1.728 1.408 3.136 3.136 3.136h21.056a3.136 3.136 0 0 0 3.136-3.2v-39.04a3.136 3.136 0 0 0-3.2-3.2z" fill="#D9D9D9" ></path><path d="M484.8 722.368h-8.256c-0.512 0-0.896-1.472-0.896-3.2 0-1.792 0.384-3.2 0.896-3.2h8.256c0.512 0 0.896 1.408 0.896 3.2 0 1.728-0.384 3.2-0.896 3.2" fill="#D9D9D9" ></path><path d="M470.272 748.736h20.8v-28.416h-20.8zM485.312 753.536a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M607.744 706.24l7.488 17.152h1.792l-7.872-17.152zM592.448 723.392h2.432l-4.416-17.152h-1.92zM573.312 723.392h5.248l1.152-17.152h-4.224zM549.376 723.392h1.728l5.12-17.152H554.88zM545.216 706.24H544.64l-4.352 9.408h0.64l-3.584 7.68h1.792l3.392-7.68h0.64l3.968-9.408h-0.512zM550.016 706.24h-0.512l-3.712 9.408h0.576l-3.008 7.68h1.792l2.816-7.68h0.64l3.328-9.408h-0.512zM559.744 706.24h-0.576l-2.432 9.408h0.64l-2.048 7.68h1.856l1.792-7.68h0.64l2.112-9.408H561.28zM570.496 706.24H569.6l-1.856 9.408h1.024l-1.408 7.68h2.88l1.216-7.68h0.96l1.28-9.408h-0.832z" fill="#D9D9D9" ></path><path d="M579.456 706.24h-1.088l0.32 9.408h1.28l0.448 7.68h3.84l-0.832-7.68h1.28l-1.024-9.408h-1.152z" fill="#D9D9D9" ></path><path d="M584 706.24h-0.832l1.28 9.408h1.024l1.216 7.68h2.88l-1.472-7.68h0.96l-1.856-9.408h-0.896zM593.28 706.24h-0.512l2.176 9.408h0.64l1.792 7.68h1.792l-1.984-7.68h0.64l-2.56-9.408h-0.512zM598.144 706.24h-0.576l2.752 9.408h0.64l2.304 7.68h1.792l-2.56-7.68h0.64l-3.072-9.408h-0.512zM602.88 706.24h-0.512l3.456 9.408h0.64l2.816 7.68h1.728l-3.008-7.68h0.64l-3.776-9.408h-0.512zM565.248 706.24h-0.64l-2.24 9.408h0.768l-1.792 7.68h2.24l1.6-7.68h0.704l1.856-9.408h-0.64z" fill="#D9D9D9" ></path><path d="M528.064 727.04h98.24v-6.4H528.064z" fill="#D9D9D9" ></path><path d="M528.064 731.584h98.24v-6.4H528.064zM534.144 710.272h86.144v-16.768H534.144zM620.288 690.816H534.144s1.92-20.928 17.408-22.208c15.552-1.28 20.8 2.944 29.44 8.64 8.704 5.632 16.064 4.48 22.4 4.8 4.992 0.256 15.616 1.984 16.896 8.768" fill="#D9D9D9" ></path><path d="M613.44 709.568H540.928l-5.504 11.52h83.584l-5.568-11.52z m12.864 11.52H528.064l7.616-13.44h83.072l7.552 13.44zM537.92 748.16H534.4v-18.88h7.68zM616.512 748.16h3.456v-18.88h-7.68zM643.2 552a29.12 29.12 0 1 0 0 58.24 29.12 29.12 0 0 0 0-58.24m21.568 29.12a21.632 21.632 0 1 1-43.2 0 21.632 21.632 0 0 1 43.2 0" fill="#D9D9D9" ></path><path d="M623.36 560.896l4.608-14.208h2.624v11.008l-4.928 4.736zM662.976 560.896l-4.608-14.208h-2.624v11.008l4.928 4.736zM623.36 599.552l4.608 14.272h2.624V602.88l-4.928-4.8zM662.976 599.552l-4.608 14.272h-2.624V602.88l4.928-4.8zM680.96 575.808v8.896c0 0.896-0.896 1.664-2.048 1.664h-4.352a24.768 24.768 0 0 0 0-12.224h4.352c1.152 0 2.048 0.768 2.048 1.664M653.888 549.44h-21.376v-10.112a3.84 3.84 0 0 1 3.84-3.84h13.632a3.84 3.84 0 0 1 3.84 3.84v10.112zM653.888 611.072h-21.376v10.112a3.84 3.84 0 0 0 3.84 3.776h13.632a3.84 3.84 0 0 0 3.84-3.776v-10.112zM646.016 583.872a0.832 0.832 0 0 1-0.64-0.256l-13.248-15.552a0.832 0.832 0 0 1 0.128-1.152 0.896 0.896 0 0 1 1.152 0.128l13.248 15.488a0.832 0.832 0 0 1-0.128 1.152 0.896 0.896 0 0 1-0.512 0.192" fill="#D9D9D9" ></path><path d="M641.344 583.936a1.536 1.536 0 0 1-1.024-0.384 1.408 1.408 0 0 1-0.064-2.048l9.536-10.112a1.536 1.536 0 0 1 2.112-0.064c0.64 0.512 0.64 1.472 0.064 2.048l-9.536 10.112a1.536 1.536 0 0 1-1.088 0.448M746.944 557.76c-1.664 0.768-0.448 6.848 2.688 13.568 3.072 6.72 6.976 11.52 8.64 10.752 1.6-0.768 0.448-6.848-2.688-13.504-3.136-6.72-7.04-11.52-8.64-10.816z m60.544-1.28c0 13.888-3.264 21.76-7.68 26.752-4.288 4.992-5.632 16.384-5.632 16.384h-41.216s-1.344-11.392-5.696-16.384c-4.352-4.992-7.68-12.8-7.68-26.688h67.904z" fill="#D9D9D9" ></path><path d="M805.824 560.256s11.008-3.84 19.84 0.256c8.768 4.096 3.968 15.36-3.456 20.992-7.424 5.76-19.712 14.528-29.568 14.528v-4.352s10.24-0.384 23.552-12.48c13.44-12.16 8.64-18.304 4.096-19.008a24.768 24.768 0 0 0-15.232 3.072l0.768-3.008zM774.4 519.488c-6.464 14.912 15.936 16.128-1.92 30.08 6.08-13.952-14.336-17.92 1.92-30.08M773.568 602.176h-43.328s5.504 6.4 25.92 6.4h34.816c20.416 0 25.92-6.4 25.92-6.4h-43.328zM778.56 455.552a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4m87.552 1.024s6.336-3.392 21.056 0c0 0-7.488-14.592-30.592-5.76 0 0-17.088-11.264-48-12.416-30.144-1.088-39.936 11.2-46.336 13.248-2.24 0.704-4.864 2.816-2.368 3.84 2.56 0.96 7.552 3.264 6.528 3.584-1.024 0.32-4.992 0.32-5.312 0.832-0.256 0.64 2.048 1.28 5.12 1.6 3.008 0.256 7.04 3.2 14.592 3.648 7.552 0.448 16-1.664 15.616-17.792 0 0 3.776 8.768-1.472 17.856 0 0 3.2-0.512 5.44 1.28s11.072 8.64 26.368 4.736c0 0-6.4-4.992-7.68-11.072 0 0 3.328 4.928 11.776 4.224 8.384-0.768 17.856-3.84 22.912-3.072 5.056 0.768 5.44 2.432 12.992 2.816 7.68 0.448 16.192 0.192 16.192 0.192s-2.944-6.784-16.832-7.744" fill="#D9D9D9" ></path><path d="M841.856 437.76s-12.032-8.96-35.328-12.16c-0.576-2.496-0.192-5.248-0.192-5.248a18.688 18.688 0 0 0-10.432 4.224l-2.56-0.128c-30.912-1.152-40.96 11.52-47.552 13.568-2.24 0.704-4.992 2.88-2.368 3.84 2.624 1.088 7.68 3.456 6.656 3.776-1.024 0.32-5.12 0.256-5.376 0.832-0.32 0.64 2.112 1.28 5.184 1.664 1.92 0.192 4.352 1.408 7.744 2.432a11.072 11.072 0 0 1 3.456-1.792 26.048 26.048 0 0 0 4.672-2.56 67.84 67.84 0 0 1 14.848-7.296 35.648 35.648 0 0 0 0.256-5.312s0.768 1.92 1.152 4.864a76.16 76.16 0 0 1 26.688-3.072c17.152 0.64 30.72 3.648 39.488 6.464a10.24 10.24 0 0 0 6.464 0 30.976 30.976 0 0 1 17.152-0.256s1.344-9.472-29.952-3.84m-79.36-2.304a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4M789.568 335.232c5.76 0.384 10.88-4.032 10.88-4.032s-2.432 1.28-10.944-1.6c-8.576-2.88-8.96 3.968-8.96 3.968 3.2-0.896 3.328 1.344 9.024 1.664m25.92-1.216c0 10.88-8.832 21.632-19.712 21.632-10.88 0-19.712-10.752-19.712-21.632 0-13.888 12.48-8.576 19.712-7.872 7.168-0.704 19.712-6.016 19.712 7.872M753.728 339.392c-5.248-0.384-5.376-2.56-8.32-1.728 0 0 0.256-6.848 8.256-3.968 7.936 2.88 10.176 1.664 10.176 1.664s-4.8 4.352-10.112 4.032m16.32-5.504c0-1.728 0.192-3.392 0.512-4.928-3.648-0.128-7.872 1.152-11.072 1.536-6.72-0.704-18.304-5.632-18.304 7.296 0 10.112 8.192 20.096 18.304 20.096a18.176 18.176 0 0 0 14.976-8.96 28.288 28.288 0 0 1-4.48-15.04M788.992 301.248a39.488 39.488 0 0 1-3.392-11.328v-12.608h-3.712v12.608c0 9.856-8.576 19.52-13.696 23.68a30.912 30.912 0 0 0-8.32 11.776l1.6 0.576c0-0.128 2.56-6.784 7.808-11.072 5.12-4.16 13.504-13.632 14.272-23.616h0.576c0.32 1.92 1.152 5.952 3.328 10.688 3.008 6.4 6.208 14.72 6.272 18.624h1.728c-0.128-5.248-4.992-16.128-6.4-19.328M746.112 308.672s-2.176-15.552 6.016-21.632c8.192-6.08 26.048-4.16 26.048-4.16s-5.248 3.072-7.04 8.448a25.28 25.28 0 0 1-25.024 17.28" fill="#D9D9D9" ></path><path d="M527.36 457.792l22.464-4.224-2.176-23.168-16.64 3.52-3.584 23.872z m-43.392 4.224l20.288-7.68-3.648-19.712-14.464-4.224-5.76-12.608-6.592 8.384-3.584 23.872L490.496 448l-6.528 14.08z m87.616-7.68l22.4 4.864 8 20.352-27.52 3.52-6.528 42.88-15.232 9.792-9.408-54.784-16.64-1.408-12.288 45.696-15.936 10.496-1.472-52.672-12.992-2.112-5.76-14.72-5.824 7.04-8.704 62.464-34.048-22.464 21.76-6.336-4.352-29.44-11.584 9.792-10.112-33.728 23.872-4.224-3.648-21.76-6.464-2.112-11.584-19.648 17.344-5.632 16.64-33.728 12.288 32.32 13.76 2.112v11.264l20.992-4.224-15.872-40.768 40.512 16.192-10.112 27.392 20.224-4.224 17.408-41.472 28.928 21.12-28.928 21.76h27.52l7.936 21.76-18.816 0.704-5.76 23.872z" fill="#FFFFFF" ></path></symbol><symbol id="icon-zidingyi01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF6B17" ></path><path d="M800 500.672V800a32 32 0 0 1-32 32H256a32 32 0 0 1-32-32V500.672A127.552 127.552 0 0 1 192 416v-192a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v192c0 32.448-12.096 62.08-32 84.672zM576 416a32 32 0 0 1 64 0 64 64 0 1 0 128 0V256H256v160a64 64 0 1 0 128 0 32 32 0 0 1 64 0 64 64 0 1 0 128 0z" fill="#FFFFFF" ></path></symbol><symbol id="icon-zidingyi03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M800 500.672V800a32 32 0 0 1-32 32H256a32 32 0 0 1-32-32V500.672A127.552 127.552 0 0 1 192 416v-192a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v192c0 32.448-12.096 62.08-32 84.672zM576 416a32 32 0 0 1 64 0 64 64 0 1 0 128 0V256H256v160a64 64 0 1 0 128 0 32 32 0 0 1 64 0 64 64 0 1 0 128 0z" fill="#FFFFFF" ></path></symbol><symbol id="icon-zidingyi02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M800 500.672V800a32 32 0 0 1-32 32H256a32 32 0 0 1-32-32V500.672A127.552 127.552 0 0 1 192 416v-192a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v192c0 32.448-12.096 62.08-32 84.672zM576 416a32 32 0 0 1 64 0 64 64 0 1 0 128 0V256H256v160a64 64 0 1 0 128 0 32 32 0 0 1 64 0 64 64 0 1 0 128 0z" fill="#FF6B17" ></path></symbol><symbol id="icon-a-1haodian02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M159.104 321.024L340.544 192l-29.12 450.944H176.32l46.592-321.92z" fill="#C51C1E" ></path><path d="M351.04 452.608c0 52.416 43.392 88.384 96.832 88.384 53.504 0 96.832-35.968 96.832-88.384 0-52.48-43.328-94.912-96.832-94.912-53.44 0-96.832 42.496-96.832 94.912z m36.416 0c0-32.704 27.072-59.264 60.416-59.264 33.408 0 60.416 26.56 60.416 59.264a59.84 59.84 0 0 1-60.416 59.2 59.84 59.84 0 0 1-60.416-59.2zM431.296 612.992v-17.536h130.24v-46.016H340.544v46.016h44.48v46.464h51.904c49.728 0 90.048 34.176 90.048 76.416 0 42.24-40.32 76.48-90.048 76.48h-37.248V832h51.968c63.424 0 114.816-49.024 114.816-109.504 0-60.48-51.392-109.504-114.816-109.504H431.36zM863.104 386.112h-87.04v-26.624h-47.232v26.624H640.64v169.664l-22.208-17.792-40.768 39.936 22.208 18.112 16.64-19.968 24.128 38.144h38.912v-188.8h49.344v145.088a94.336 94.336 0 0 0-57.984 86.656c0 52.16 43.008 94.4 96.128 94.4s96.128-42.24 96.128-94.4c0-49.088-38.208-89.472-87.04-93.952v-53.056h76.224v-36.864h-76.16v-47.808h87.04v-39.36z m-96.128 327.872a57.344 57.344 0 0 1-57.856-56.832c0-31.36 25.856-56.832 57.856-56.832s57.856 25.472 57.856 56.832-25.856 56.832-57.856 56.832z" fill="#221713" ></path></symbol><symbol id="icon-a-1haodian03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M159.104 321.024L340.544 192l-29.12 450.944H176.32l46.592-321.92zM351.04 452.608c0 52.416 43.392 88.384 96.832 88.384 53.504 0 96.832-35.968 96.832-88.384 0-52.48-43.328-94.912-96.832-94.912-53.44 0-96.832 42.496-96.832 94.912z m36.416 0c0-32.704 27.072-59.264 60.416-59.264 33.408 0 60.416 26.56 60.416 59.264a59.84 59.84 0 0 1-60.416 59.2 59.84 59.84 0 0 1-60.416-59.2zM431.296 612.992v-17.536h130.24v-46.016H340.544v46.016h44.48v46.464h51.904c49.728 0 90.048 34.176 90.048 76.416 0 42.24-40.32 76.48-90.048 76.48h-37.248V832h51.968c63.424 0 114.816-49.024 114.816-109.504 0-60.48-51.392-109.504-114.816-109.504H431.36zM863.104 386.112h-87.04v-26.624h-47.232v26.624H640.64v169.664l-22.208-17.792-40.768 39.936 22.208 18.112 16.64-19.968 24.128 38.144h38.912v-188.8h49.344v145.088a94.336 94.336 0 0 0-57.984 86.656c0 52.16 43.008 94.4 96.128 94.4s96.128-42.24 96.128-94.4c0-49.088-38.208-89.472-87.04-93.952v-53.056h76.224v-36.864h-76.16v-47.808h87.04v-39.36z m-96.128 327.872a57.344 57.344 0 0 1-57.856-56.832c0-31.36 25.856-56.832 57.856-56.832s57.856 25.472 57.856 56.832-25.856 56.832-57.856 56.832z" fill="#FFFFFF" ></path></symbol><symbol id="icon-a-1haodian01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#C51C1E" ></path><path d="M159.104 321.024L340.544 192l-29.12 450.944H176.32l46.592-321.92zM351.04 452.608c0 52.416 43.392 88.384 96.832 88.384 53.504 0 96.832-35.968 96.832-88.384 0-52.48-43.328-94.912-96.832-94.912-53.44 0-96.832 42.496-96.832 94.912z m36.416 0c0-32.704 27.072-59.264 60.416-59.264 33.408 0 60.416 26.56 60.416 59.264a59.84 59.84 0 0 1-60.416 59.2 59.84 59.84 0 0 1-60.416-59.2zM431.296 612.992v-17.536h130.24v-46.016H340.544v46.016h44.48v46.464h51.904c49.728 0 90.048 34.176 90.048 76.416 0 42.24-40.32 76.48-90.048 76.48h-37.248V832h51.968c63.424 0 114.816-49.024 114.816-109.504 0-60.48-51.392-109.504-114.816-109.504H431.36zM863.104 386.112h-87.04v-26.624h-47.232v26.624H640.64v169.664l-22.208-17.792-40.768 39.936 22.208 18.112 16.64-19.968 24.128 38.144h38.912v-188.8h49.344v145.088a94.336 94.336 0 0 0-57.984 86.656c0 52.16 43.008 94.4 96.128 94.4s96.128-42.24 96.128-94.4c0-49.088-38.208-89.472-87.04-93.952v-53.056h76.224v-36.864h-76.16v-47.808h87.04v-39.36z m-96.128 327.872a57.344 57.344 0 0 1-57.856-56.832c0-31.36 25.856-56.832 57.856-56.832s57.856 25.472 57.856 56.832-25.856 56.832-57.856 56.832z" fill="#FFFFFF" ></path></symbol><symbol id="icon-offline" viewBox="0 0 1129 1024"><path d="M869.50764603 244.18836318H225.76753771L155.6757115 430.75894446c0 55.84843069 45.56863684 102.20978815 101.64721281 102.20978887s102.7979356-45.1594912 102.7979356-102.20978887c0 55.84843069 45.56863684 102.20978815 101.64721281 102.20978887s102.7979356-45.1594912 102.7979356-102.20978887c0 55.84843069 45.56863684 102.20978815 101.64721209 102.20978887a101.57049796 101.57049796 0 0 0 101.64721281-102.20978887c0 55.84843069 45.56863684 102.20978815 102.7979356 102.20978887 56.07857525 0 102.7979356-45.1594912 102.79793632-102.20978887l-72.41884461-186.57058128h-31.5298145l-1.17629489-1.20186698 1.17629489 1.20186698z m1.73887023 364.13995126c10.97022752 0 21.53130868-1.66215538 31.5298145-4.62846396v229.96563086c0 21.40345107-23.34689449 47.56322373-44.39234196 47.56322373H270.74802783c-21.01987609 0-44.39234268-26.15977338-44.39234268-47.56322373v-230.04234572c9.99850582 3.01745207 20.58515907 4.70517882 31.5553866 4.70517882a110.77628315 110.77628315 0 0 0 102.74679212-69.40139254 109.62555964 109.62555964 0 0 0 101.69835629 69.40139254 110.77628315 110.77628315 0 0 0 102.7723635-69.40139254 109.62555964 109.62555964 0 0 0 101.67278419 69.40139254c46.02892668 0 85.53708801-28.76807908 101.67278419-69.40139254a110.80185453 110.80185453 0 0 0 102.77236422 69.40139254zM272.51247016 212.50511826c-19.8691533 0-35.05869916-15.44526179-35.05869916-35.64684588C237.453771 156.65668757 252.64331686 141.21142578 272.48689806 141.21142578h584.15821979c19.8691533 0 35.03312706 15.44526179 35.03312778 35.6468466 0 20.20158409-15.16397376 35.6468466-35.03312778 35.64684588H272.51247016z" fill="#707070" ></path></symbol><symbol id="icon-suning" viewBox="0 0 1024 1024"><path d="M813.1 99.2H210.9c-61.6 0-111.6 50-111.6 111.6v602.3c0 61.6 50 111.6 111.6 111.6h602.3c61.6 0 111.6-50 111.6-111.6V210.9c0-61.7-50-111.7-111.7-111.7z" fill="#FFFFFF" ></path><path d="M813.1 927.1H210.9c-62.9 0-114-51.1-114-114V210.9c0-62.9 51.1-114 114-114h602.3c62.9 0 114 51.1 114 114v602.3c-0.1 62.8-51.2 113.9-114.1 113.9zM210.9 101.6c-60.2 0-109.2 49-109.2 109.2v602.3c0 60.2 49 109.2 109.2 109.2h602.3c60.2 0 109.2-49 109.2-109.2V210.9c0-60.2-49-109.2-109.2-109.2H210.9z" fill="#999999" ></path><path d="M411.9 493.9c13.1 0 23.7-10.7 23.7-23.7s-10.7-23.6-23.7-23.6-23.6 10.6-23.7 23.6c0 13 10.7 23.7 23.7 23.7zM611.5 493.9c13.1 0 23.7-10.7 23.7-23.7s-10.7-23.6-23.7-23.6-23.6 10.6-23.6 23.6c0 13 10.6 23.7 23.6 23.7z" fill="#111111" ></path><path d="M606.3 556.8c-5.6-47.3-45.8-83.9-94.6-83.9-48.7 0-88.9 36.6-94.5 83.9-39.4 1.2-71.1 33.6-71.1 73.4 0 40.5 32.9 73.4 73.4 73.4h185.3c40.5 0 73.4-32.8 73.3-73.4 0-40-32-72.5-71.8-73.4z m-32.1 26.1L536 611.4s-10.5 7.6-24.3 7.5c-13.8 0.1-24.2-7.5-24.2-7.5l-38.1-28.5c-15.6-11.6-6.1-26.1 4.7-26.1h115.4c10.8 0 20.2 14.5 4.7 26.1z" fill="#FFFFFF" ></path><path d="M569.4 556.8H454.1c-10.8 0-20.2 14.5-4.7 26.1l38.1 28.5s10.4 7.6 24.2 7.5c13.8 0.1 24.3-7.5 24.3-7.5l38.2-28.5c15.5-11.6 6.1-26.1-4.8-26.1z" fill="#111111" ></path><path d="M754.4 411.6v-86.2c0-30.8-25-55.8-55.8-55.8h-86.1l-61-60.9c-21.8-21.8-57.1-21.8-79 0l-60.9 60.9h-86.2c-30.8 0-55.8 25-55.8 55.8v86.2l-61 61c-21.8 21.8-21.8 57.1 0 79l61 60.9v86.2c0 30.8 25 55.8 55.8 55.8h86.2l61 61c21.8 21.8 57.1 21.8 79 0l61-61h86.2c30.8 0 55.8-25 55.8-55.8v-86.2l61-61c21.6-21.8 21.6-57.1-0.1-78.9l-61.1-61z m-142.9 34.9c13 0 23.7 10.6 23.7 23.6 0 13-10.6 23.7-23.7 23.7-13 0-23.6-10.7-23.6-23.7s10.6-23.6 23.6-23.6z m-199.6 0c13 0 23.7 10.6 23.7 23.6 0 13-10.6 23.7-23.7 23.7-13 0-23.7-10.7-23.7-23.7 0.1-13 10.7-23.6 23.7-23.6z m192.9 257.1H419.5c-40.6 0-73.4-32.9-73.4-73.4 0-39.8 31.6-72.1 71.1-73.4 5.6-47.3 45.8-83.9 94.5-83.9 48.8 0 89 36.6 94.6 83.9 39.8 0.9 71.8 33.4 71.8 73.4 0.1 40.6-32.8 73.4-73.3 73.4z" fill="#FFAB00" ></path></symbol><symbol id="icon-jos" viewBox="0 0 1024 1024"><path d="M880.15625 165.78125c-6.1875-8.34375-13.5-15.75-21.9375-21.9375-17.4375-12.9375-38.90625-20.90625-62.34375-20.90625H228.125c-23.4375 0-44.90625 7.96875-62.4375 20.90625-8.34375 6.1875-15.75 13.5-21.9375 21.9375-12.84375 17.4375-20.8125 38.90625-20.8125 62.34375v567.75c0 23.4375 7.96875 44.90625 20.90625 62.4375 6.1875 8.34375 13.5 15.75 21.9375 21.9375 17.53125 12.9375 38.90625 20.90625 62.4375 20.90625h567.75c23.4375 0 44.90625-7.96875 62.4375-20.90625 8.34375-6.1875 15.75-13.5 21.9375-21.9375 12.9375-17.53125 20.90625-38.90625 20.90625-62.4375V228.125c-0.1875-23.4375-8.15625-44.90625-21.09375-62.34375z" fill="#C9121C" ></path><path d="M399.78125 582.78125h1.78125V275.09375h-55.96875v306c0 62.90625-50.71875 111.9375-111.9375 111.9375H206.375v55.96875h27.28125c90.9375-0.09375 166.125-73.5 166.125-166.21875zM817.625 511.15625c0-129.375-92.625-236.0625-208.03125-236.0625H469.71875v473.8125h139.875c115.40625 0 208.03125-108.375 208.03125-237.75zM525.6875 331.0625h83.90625c83.90625 0 152.15625 82.21875 153.84375 181.875 0 99.65625-69.9375 180.09375-153.84375 180.09375h-83.90625V331.0625z" fill="#FFFFFF" ></path></symbol><symbol id="icon-taobao" viewBox="0 0 1024 1024"><path d="M795.875 122.9375H228.125C170 122.9375 122.9375 169.8125 122.9375 227.65624999v565.03125001C122.9375 850.4375 170 897.3125 228.125 897.3125h49.78125001c12.28125001 1.5 24.65625001 3 37.5 3.28125001 5.8125 0.1875 10.875 0.1875 23.34374999 0.28124999 11.8125 0.1875 21.5625 0.1875 28.5 0.1875h289.03125001c7.125 0 16.78125001 0 28.49999998-0.1875 12.375-0.1875 17.53125001-0.1875 23.34375001-0.28124999 12.84375001-0.1875 25.21875001-1.78125001 37.5-3.28125001h50.15625001c58.125 0 105.1875-46.875 105.18749998-104.71875001V227.65624999C901.0625 169.8125 854 122.9375 795.875 122.9375z" fill="#FF4401" ></path><path d="M389 455c15.5625-15.75 29.4375-31.5 41.4375-47.15625001 12.375-5.34375001 24.375-10.59375001 36-15.28124999-14.34375001 25.96875001-37.5 65.25-60.84375001 90.09375001l32.71875001 28.87499998s22.3125-21.65625001 46.59375001-47.71874999h28.125V512H404.84374999v38.625h108.18750002v92.4375c-1.21875001 0-2.71875001 0-4.03125001-0.1875-11.8125-0.75-30.46875001-2.71875001-37.78124999-14.25-8.8125-14.15625001-2.4375-40.125-1.78125001-56.0625h-74.90624999l-2.71875001 1.3125S364.4375 697.8125 470.75 695c99.65625001 2.8125 156.65625001-27.9375 184.125-49.21875001l10.875 41.0625 61.40625001-25.875L685.4375 558.125 635.65625001 573.875l9.28124999 35.0625c-12.75 9.65625001-27.375 16.96875001-43.3125 22.125v-80.625h105.84375001v-38.625h-105.93750002v-48.1875h106.125v-38.625H518.9375c13.78125001-16.6875 24.375-31.96875001 27.09375001-41.625l-32.71875001-9.09375001c141.09375001-51 219.5625-42.1875 218.90625001 41.43750002v220.12499998s8.34375001 75.65625001-77.43750002 70.12500002l-46.5-9.9375-10.875 44.625s200.4375 57.9375 216.84375001-97.6875c16.3125-155.8125-3.84375001-255.09375001-3.84375001-255.09375001s-18.375-143.625-329.53124999-54.5625c13.40625001-23.34375001 19.6875-38.625 19.6875-38.625l-77.90625001-22.03125001s-31.40625001 103.3125-87.28124999 151.50000002c0 0.09375001 54.28125001 31.59375001 53.625 30.84374999z" fill="#FFFFFF" ></path><path d="M356.46874999 583.4375c14.90625001-46.6875 18.1875-82.3125-7.21874999-108.375-32.71875001-33.28125001-36.28125001-36.28125001-84.84375001-72.84375001l-35.15624999 54.37500002 64.59375001 40.59374999s43.21875001 22.125 22.6875 63.75c-19.125 39.5625-113.15625001 125.90625001-113.15625001 125.90625001l84 53.06249998c58.21875001-127.6875 54.46875001-110.71875001 69.09375001-156.46874999zM310.25 381.96874999c30.46875001 0 55.3125-22.40625001 55.3125-50.24999998 0-27.84375001-24.84375001-50.25-55.3125-50.25-30.75 0-55.40625001 22.3125-55.59375001 50.25 0 27.65625001 24.84375001 50.25 55.59375001 50.25z" fill="#FFFFFF" ></path></symbol><symbol id="icon-execute-stop" viewBox="0 0 1024 1024"><path d="M558.08 650.24H419.84c-32.256 0-46.08-13.824-46.08-46.08V419.84c0-32.256 13.824-46.08 46.08-46.08h184.32c32.256 0 46.08 13.824 46.08 46.08v184.32c0 32.256-13.824 46.08-46.08 46.08h-46.08z" fill="#FF1010" ></path><path d="M512 51.2c-253.44 0-460.8 207.36-460.8 460.8s207.36 460.8 460.8 460.8 460.8-207.36 460.8-460.8-207.36-460.8-460.8-460.8m0 834.048c-207.36 0-373.248-165.888-373.248-373.248S304.64 138.752 512 138.752s373.248 165.888 373.248 373.248-165.888 373.248-373.248 373.248" fill="#666666" ></path></symbol><symbol id="icon-wait" viewBox="0 0 1024 1024"><path d="M515.85440749 82.98768981C279.05972221 82.98768981 87.0096802 275.0377318 87.0096802 511.83241706S279.05972221 940.67714431 515.85440749 940.67714431s428.84472724-192.05004197 428.84472724-428.84472725S752.64909276 82.98768981 515.85440749 82.98768981z m187.35771984 573.30121607c-6.20056854 8.04398081-15.58521282 12.23355417-24.96985715 12.23355415-6.70331735 0-13.40663469-2.17857813-19.10445441-6.53573441l-162.38786274-125.18445144-0.5027488-0.50274878c-2.84890987-2.34616108-5.36265388-5.19507094-7.20606612-8.3791467-0.16758294-0.50274881-0.50274881-0.83791468-0.67033176-1.34066346-1.67582932-3.01649281-2.84890987-6.36815149-3.35165867-10.05497603 0-0.50274881-0.16758294-1.00549761-0.16758293-1.5082464-0.16758294-1.00549761-0.33516586-2.0109952-0.33516586-3.18407575V222.41669063c0-17.42862511 14.07696642-31.50559152 31.50559151-31.50559153s31.50559152 14.07696642 31.50559153 31.50559153v273.99809655l150.15430858 115.79980716c13.57421762 10.55772482 16.08796163 30.332511 5.53023682 44.07431154z" fill="#666666" ></path><path d="M488.2032234 526.57971524c-1.67582932-3.18407574-2.84890987-6.5357344-3.35165865-10.05497603 0.50274881 3.51924161 1.67582932 6.87090027 3.35165865 10.05497603zM496.0796213 536.13194244c-3.01649281-2.34616108-5.36265388-5.19507094-7.20606615-8.37914667 1.84341228 3.18407574 4.35715626 6.03298562 7.20606615 8.37914667zM488.87355515 527.75279577c-0.16758294-0.33516586-0.50274881-0.83791468-0.67033175-1.34066347 0.16758294 0.50274881 0.50274881 1.00549761 0.67033175 1.34066347zM484.85156475 516.52473921c0-0.50274881-0.16758294-1.00549761-0.16758294-1.5082464 0 0.50274881 0.16758294 1.00549761 0.16758294 1.5082464z" fill="#666666" ></path></symbol><symbol id="icon-execute" viewBox="0 0 1024 1024"><path d="M870.6791041 124.68656709c13.43283574 0 24.17910469 10.74626894 24.17910468 24.17910469v721.79104482c0 13.43283574-10.74626894 24.17910469-24.17910468 24.17910468H211.57462724v-2.23880625h-62.68656796c-13.43283574 0-24.17910469-10.74626894-24.17910381-24.17910468V148.86567178c0-13.43283574 10.74626894-24.17910469 24.17910381-24.17910469h721.79104482m0-62.68656709H148.88805928C100.52985078 62 62.02238838 100.5074624 62.02238838 148.86567178V867.97014893c0 48.35820938 38.5074624 86.86567178 86.8656709 86.86567177v2.23880625h721.79104482c48.35820938 0 86.86567178-38.5074624 86.86567178-86.86567177V148.86567178C957.54477588 100.5074624 919.03731348 62 870.6791041 62z" fill="#666666" ></path><path d="M692.47014893 472.59701474L444.41044737 328.86567178c-29.99999971-17.01492539-65.37313477 3.58208964-65.3731339 37.164179v285.22388057c0 33.58208935 37.16417901 54.1791044 65.3731339 37.164179l248.05970156-141.94029814c29.99999971-16.11940342 29.99999971-57.31343262 0-73.88059747z" fill="#00AAF1" ></path></symbol><symbol id="icon-A1" viewBox="0 0 1024 1024"><path d="M318.623035 900.104009L36.049377 952.606034 93.018101 673.254257l225.604934 226.849752zM761.924648 0.393582l-101.269595 101.782168L886.259987 329.098726l101.269595-101.782167L761.924648 0.393582zM143.616286 622.363173l225.604934 226.922977 466.513806-469.223115-225.604934-226.996201L143.616286 622.363173zM398.730726 877.550838h146.449162v146.449162H398.730726V877.550838z m224.286892 0h146.449162v146.449162h-146.449162V877.550838z m219.673743 0h144.911446v146.449162H842.691361V877.550838z" fill="#0083BA" ></path></symbol><symbol id="icon-B1" viewBox="0 0 1058 1024"><path d="M57.144223 668.96767l226.595104 228.476433L0 950.955808z" fill="#3089DC" ></path><path d="M107.308807 620.267737L574.604415 152.972129 801.391304 379.759019 334.095697 847.054627zM623.304348 101.794961L725.099309 0l226.786889 226.78689-101.794961 101.794961z" fill="#0083BA" ></path><path d="M767.143813 1024c-160.772566 0-291.103679-130.331113-291.103679-291.103679s130.331113-291.103679 291.103679-291.103679 291.103679 130.331113 291.103679 291.103679-130.331113 291.103679-291.103679 291.103679z m-62.787068-431.206742v277.003986l202.15381-153.940192L704.356745 592.794399z" fill="#64AA44" ></path></symbol><symbol id="icon-B3" viewBox="0 0 1025 1024"><path d="M512.362667 0.479492C229.712254 0.479492 0.603429 229.596444 0.603429 512.23873 0.603429 794.887111 229.71327 1024 512.362667 1024c282.648381 0 511.760254-229.111873 511.760254-511.760254C1024.121905 229.60254 795.011048 0.479492 512.362667 0.479492z m0 930.475683c-231.246222 0-418.711365-187.457016-418.711365-418.709334 0-231.246222 187.465143-418.718476 418.712381-418.718476 231.250286 0 418.708317 187.472254 418.708317 418.718476 0 231.252317-187.458032 418.709333-418.709333 418.709334zM372.794921 721.601016l395.454984-232.616635L372.794921 302.884571v418.716445z" fill="#64AA44" ></path></symbol><symbol id="icon-A5" viewBox="0 0 1425 1024"><path d="M1424.896 142.075139l-868.714937 881.348051L0.928405 460.087089l139.114937-142.086481 417.166582 423.23767L1287.258734 0.57519z" fill="#64AA44" ></path></symbol><symbol id="icon-A2" viewBox="0 0 1024 1024"><path d="M256 256c0 141.385143 114.614857 256 256 256s256-114.614857 256-256S653.385143 0 512 0 256 114.614857 256 256zM593.257143 518.4L512 599.657143l-81.257143-81.257143C186.628571 557.371429 0 768.914286 0 1024h1024c0-255.085714-186.628571-466.628571-430.742857-505.6zM512 950.857143l-87.657143-87.657143L512 600l87.657143 263.314286L512 950.857143z" fill="#0083BA" ></path></symbol><symbol id="icon-A6" viewBox="0 0 1024 1024"><path d="M512.00408604 961.87536934C263.69500537 961.87536934 62.4178206 760.59818369 62.4178206 512.28808174S263.69807011 62.70181631 512.00408604 62.70181631c248.28354141 0 449.58626543 201.27718477 449.58626542 449.58626543 0.00102129 248.31112412-201.30170273 449.5872876-449.58626542 449.5872876zM146.71441513 512.28808174c0 201.7450626 163.54767305 365.29069219 365.28967091 365.29069219 85.67162315 0 164.28830888-29.71940977 226.57934179-79.0845627L225.80102129 285.68422285c-49.36208818 62.31861562-79.08660615 140.9342792-79.08660616 226.6028376v0.00102129zM512.00408604 147.00147559c-85.67162315 0-164.28626543 29.71940977-226.6028376 79.08456269l512.78342783 512.78240654c49.39171435-62.28898945 79.10908067-140.90669737 79.10908066-226.57934179-0.00102129-201.74404042-163.54562959-365.28967089-365.29069219-365.2896709l0.0010213 0.00204345z" fill="#DB0000" ></path></symbol><symbol id="icon-B2" viewBox="0 0 1024 1024"><path d="M256 256c0 141.385143 114.614857 256 256 256s256-114.614857 256-256S653.385143 0 512 0 256 114.614857 256 256zM593.257143 518.4L512 599.657143l-81.257143-81.257143C186.628571 557.371429 0 768.914286 0 1024h1024c0-255.085714-186.628571-466.628571-430.742857-505.6zM512 950.857143l-87.657143-87.657143L512 600l87.657143 263.314286L512 950.857143z" fill="#0083BA" ></path><path d="M737.714286 451.428571C579.602286 451.428571 451.428571 579.602286 451.428571 737.714286S579.602286 1024 737.714286 1024 1024 895.826286 1024 737.714286 895.826286 451.428571 737.714286 451.428571z m-62.205715 423.211429V600.788571l199.131429 121.712L675.508571 874.64z" fill="#64AA44" ></path><path d="M675.508571 874.64V600.788571l199.131429 121.712z" fill="#FFFFFF" ></path></symbol><symbol id="icon-A4" viewBox="0 0 1168 1024"><path d="M1167.449157 964.564732c0 31.791201-24.295416 57.507892-54.184153 57.745209v0.630658H55.720809v-0.630658l-0.500855 0.078668c-30.139165 0-54.685009-25.875339-54.685009-57.823877a60.176061 60.176061 0 0 1 8.932794-31.555196l-0.33303-0.236005L537.947452 26.363083l0.249117 0.236005C547.311611 10.670054 564.790412 0.605746 583.951406 0.25305c19.87032 0 37.152451 11.359713 46.753926 28.163278l0.333029-0.237316 528.730141 906.409137-0.33303 0.236005c5.253736 9.128154 8.00844 19.35242 8.014997 29.74189zM657.805275 346.725613c0-44.143447-32.260589-79.882489-72.112676-79.882489s-72.030074 35.820333-72.030074 79.882489v299.21516c0 44.062156 32.260589 79.801198 72.112676 79.801199s72.112676-35.739042 72.112676-79.801199v-299.21516h-0.082602z m-72.113987 436.507206c-39.769485 0-72.112676 32.280256-72.112676 72.149388 0 39.870443 32.260589 72.075964 72.112676 72.075965s72.112676-32.280256 72.112676-72.075965-32.260589-72.149388-72.112676-72.149388z" fill="#DB0000" ></path></symbol><symbol id="icon-A3" viewBox="0 0 1024 1024"><path d="M754.804503 850.768224c-6.921709-82.559745-10.523082-90.868248-19.031888-122.086963-13.990579-51.414611-64.955529-90.356248-101.192048-115.934786-34.694387-24.485046-64.033725-45.673261-64.033725-86.962331 0-41.279872 27.160527-63.725094 64.033725-96.608575 27.140088-24.217293 58.353693-62.039888 85.622547-100.118994 14.271617-19.917924 27.681725-47.435114 27.681724-74.666156H266.928798c2.595768 24.602571 12.743792 56.360878 23.356807 72.908391 26.584144 41.4301 60.536591 71.144495 92.542211 98.375537 37.199202 31.629541 66.611098 56.213717 66.611098 97.484392 0 42.158754-32.007665 61.482922-66.611098 86.953133-43.253269 25.471234-94.273405 67.63101-105.537405 118.574499-12.11018 28.986762-10.364679 42.158754-17.281277 122.08594h494.795369v-0.005109zM51.509653 927.17988c0-44.791313 10.398403-76.414723 54.498874-76.414722h38.08115c4.307545-80.806068 17.066667-108.06879 24.204008-148.435034 16.216399-91.380248 95.154331-146.677269 143.598115-181.811098 0-2.626427-0.848224-3.503265-2.577373-3.503266-37.215553-27.228998-74.52206-57.905054-111.592495-111.546507-44.245589-64.045988-61.417517-145.82087-64.033724-233.641644H106.007505c-44.964024 0-54.497852-54.448798-54.497852-101.008096v-8.773493C51.508631 16.364583 81.801453 0.562076 127.63414 0.562076h764.714411c44.114778 0 80.448383 15.801485 80.448383 61.483944v8.773493c0 46.558275-18.165269 101.008096-60.550898 101.008096H881.968543c-6.923752 87.822818-19.805509 169.577261-64.879904 233.640623-37.109269 52.745198-79.566435 86.055856-107.251226 113.284854-6.918643 2.644822-3.477717-0.858443-6.054068 1.769006 51.884711 47.428982 110.711569 81.681884 143.582787 181.810076 6.920687 46.551122 17.300695 63.238643 21.644008 148.436056h43.23794c42.383585 0 60.550898 31.622387 60.550898 76.4137v13.173014c0 43.040703-18.165269 83.440671-60.550898 83.440671H106.009549c-44.964024 0-54.497852-40.399968-54.497852-83.440671v-13.175058H51.509653z" fill="#0083BA" ></path></symbol><symbol id="icon-stop" viewBox="0 0 1168 1024"><path d="M1167.449157 964.564732c0 31.791201-24.295416 57.507892-54.184153 57.745209v0.630658H55.720809v-0.630658l-0.500855 0.078668c-30.139165 0-54.685009-25.875339-54.685009-57.823877a60.176061 60.176061 0 0 1 8.932794-31.555196l-0.33303-0.236005L537.947452 26.363083l0.249117 0.236005C547.311611 10.670054 564.790412 0.605746 583.951406 0.25305c19.87032 0 37.152451 11.359713 46.753926 28.163278l0.333029-0.237316 528.730141 906.409137-0.33303 0.236005c5.253736 9.128154 8.00844 19.35242 8.014997 29.74189zM657.805275 346.725613c0-44.143447-32.260589-79.882489-72.112676-79.882489s-72.030074 35.820333-72.030074 79.882489v299.21516c0 44.062156 32.260589 79.801198 72.112676 79.801199s72.112676-35.739042 72.112676-79.801199v-299.21516h-0.082602z m-72.113987 436.507206c-39.769485 0-72.112676 32.280256-72.112676 72.149388 0 39.870443 32.260589 72.075964 72.112676 72.075965s72.112676-32.280256 72.112676-72.075965-32.260589-72.149388-72.112676-72.149388z" fill="#DB0000" ></path></symbol><symbol id="icon-executing" viewBox="0 0 1025 1024"><path d="M512.362667 0.479492C229.712254 0.479492 0.603429 229.596444 0.603429 512.23873 0.603429 794.887111 229.71327 1024 512.362667 1024c282.648381 0 511.760254-229.111873 511.760254-511.760254C1024.121905 229.60254 795.011048 0.479492 512.362667 0.479492z m0 930.475683c-231.246222 0-418.711365-187.457016-418.711365-418.709334 0-231.246222 187.465143-418.718476 418.712381-418.718476 231.250286 0 418.708317 187.472254 418.708317 418.718476 0 231.252317-187.458032 418.709333-418.709333 418.709334zM372.794921 721.601016l395.454984-232.616635L372.794921 302.884571v418.716445z" fill="#64AA44" ></path></symbol><symbol id="icon-youzan" viewBox="0 0 1024 1024"><path d="M116.4921875 116.4921875h791.015625v791.015625H116.4921875z" fill="#cc0000" ></path><path d="M692.21313477 417.21655273c-28.87207031 3.50024414-57.72436523 7.1784668-86.57666016 10.48095704-17.24414063 2.01708984-27.88330078-7.61352539-26.89453125-24.30395508 0.90966797-16.51245117 2.57080078-32.94580078 3.71777344-49.43847657 1.52270508-21.08056641 3.48046875-42.16113281 4.27148437-63.28125 1.18652344-30.82983398-16.57177734-53.01782227-45.48339844-58.08032226-24.2644043-4.25170898-41.88427734 10.06567383-45.9777832 35.00244141a2272.90429688 2272.90429688 0 0 1-21.35742187 114.91479492c-6.76318359 30.94848633-17.34301758 60.90820313-33.00512696 88.53442383-9.65039063 17.06616211-20.84326172 33.00512695-38.87841797 41.56787109-6.18969727 2.9465332-7.71240234 6.38745117-7.71240234 12.81445312 0.19775391 81.33618164 0.11865234 162.75146484 0.11865234 244.08764649v8.62207031c4.11328125-0.49438477 6.92138672-0.81079102 9.72949219-1.24584961 93.18164063-14.57446289 186.30395508-29.14892578 279.4855957-43.64428711 24.58081055-3.81665039 39.94628906-23.51293945 37.05908204-48.76611328-1.16674805-10.32275391 0.05932617-19.87426758 4.70654297-29.12915039 7.71240234-15.50390625 8.80004883-31.69995117 6.28857421-49.02319336-1.58203125-10.67871094-1.81933594-22.88012695 1.72045899-32.74804687 8.36499023-23.27563477 9.96679688-45.64160156 4.46923828-70.02465821-2.76855469-12.37939453 0.73168945-26.75610352 3.42114258-39.82763672 6.34790039-29.58398438-9.29443359-49.43847656-38.83886719-47.57958984a190.57543945 190.57543945 0 0 0-10.28320312 1.06787109zM367.63964844 521.98657227c-3.91552734 0.6328125-6.22924805 0.94921875-8.56274414 1.38427734-18.88549805 3.61889648-37.85009766 7.11914063-56.73559571 10.99511719-13.7043457 2.82788086-21.04101563 12.06298828-21.04101562 26.32104492-0.05932617 69.09521484-0.05932617 138.22998047 0.05932617 207.32519531 0 16.31469727 10.28320313 25.88598633 26.00463867 23.86889649 17.3034668-2.17529297 34.40917969-5.55688477 51.65332032-7.61352539 7.27734375-0.88989258 8.74072266-4.13305664 8.70117187-11.07421875-0.19775391-80.1496582-0.13842773-160.41796875-0.07910156-240.62695313v-10.57983398z" fill="#ffffff" ></path></symbol><symbol id="icon-resume-execute" viewBox="0 0 1024 1024"><path d="M511.9505 961.9989998a449.09950078 449.09950078 0 0 0 449.9994999-449.9994999 451.29949893 451.29949893 0 0 0-449.9994999-449.9994999 451.29949893 451.29949893 0 0 0-449.9994999 449.9994999 449.09950078 449.09950078 0 0 0 449.9994999 449.9994999z m0-69.24992256A379.64957783 379.64957783 0 0 1 131.20092354 511.9994999a379.64957783 379.64957783 0 0 1 380.74957646-380.74957647A379.64957783 379.64957783 0 0 1 892.70007734 511.9994999a381.89957607 381.89957607 0 0 1-380.74957734 380.74957734z m0 0" fill="#707070" ></path><path d="M674.75031875 550.04945732L460.15055791 688.49930411a49.29994511 49.29994511 0 0 1-65.74992715-13.84998487 64.19992852 64.19992852 0 0 1-6.89999238-24.24997266V373.49965391a49.49994463 49.49994463 0 0 1 48.44994609-48.4499461 49.99994473 49.99994473 0 0 1 24.24997266 6.94999248l214.59976172 138.4498459a48.54994627 48.54994627 0 0 1 13.84998487 65.74992715 27.04997021 27.04997021 0 0 1-13.84998487 13.84998398z m0 0" fill="#707070" ></path></symbol><symbol id="icon-C3" viewBox="0 0 1024 1024"><path d="M256 256c0 141.3888 114.6112 256 256 256s256-114.6112 256-256S653.3888 0 512 0 256 114.6112 256 256zM593.2544 518.4L512 599.6544l-81.2544-81.2544C186.624 557.3632 0 768.9216 0 1024h1024c0-255.0784-186.624-466.6368-430.7456-505.6zM512 950.8608l-87.6544-87.6544L512 599.9872l87.6544 263.3216L512 950.8608z" fill="#0083BA" ></path><path d="M738.2528 452.5312C580.4544 452.5312 452.5312 580.4544 452.5312 738.2528c0 157.824 127.9232 285.7472 285.7216 285.7472 157.824 0 285.7472-127.9232 285.7472-285.7472C1024 580.4544 896.0768 452.5312 738.2272 452.5312z" fill="#64AA44" ></path><path d="M640 614.4m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path><path d="M793.6 606.1312m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path></symbol><symbol id="icon-C2" viewBox="0 0 1049 1024"><path d="M55.0656 653.0048l218.368 223.0016L0 928.256z" fill="#3089DC" ></path><path d="M101.888 605.2864L553.0368 151.1168l218.9568 220.416-451.1744 454.1696zM600.448 98.6368L698.4448 0l218.3424 219.776-97.9968 98.6368z" fill="#0083BA" ></path><path d="M746.5216 435.2C588.7232 435.2 460.8 563.1232 460.8 720.9216c0 157.824 127.9232 285.7472 285.7216 285.7472 157.824 0 285.7472-127.9232 285.7472-285.7472C1032.2688 563.1232 904.3456 435.2 746.496 435.2z" fill="#64AA44" ></path><path d="M648.2688 597.0688m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path><path d="M801.8688 588.8m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path></symbol><symbol id="icon-C1" viewBox="0 0 1024 1024"><path d="M512 0C229.2224 0 0 229.2224 0 512s229.2224 512 512 512 512-229.2224 512-512S794.7776 0 512 0z m0 930.9184c-231.3472 0-418.9184-187.5456-418.9184-418.9184 0-231.3472 187.5712-418.9184 418.9184-418.9184 231.3728 0 418.9184 187.5712 418.9184 418.9184 0 231.3728-187.5456 418.9184-418.9184 418.9184z" fill="#64AA44" ></path><path d="M332.8 307.2m51.2 0l0 0q51.2 0 51.2 51.2l0 332.8q0 51.2-51.2 51.2l0 0q-51.2 0-51.2-51.2l0-332.8q0-51.2 51.2-51.2Z" fill="#64AA44" ></path><path d="M588.8 307.2m51.2 0l0 0q51.2 0 51.2 51.2l0 332.8q0 51.2-51.2 51.2l0 0q-51.2 0-51.2-51.2l0-332.8q0-51.2 51.2-51.2Z" fill="#64AA44" ></path></symbol><symbol id="icon-pause" viewBox="0 0 1024 1024"><path d="M512 62a450 450 0 0 0-450 450 450 450 0 1 0 450-450z m0 832.5A382.95 382.95 0 0 1 129.5 512c0-210.85714247 171.51428585-382.5 382.5-382.5 210.85714247 0 382.5 171.51428585 382.5 382.5A383.14285753 383.14285753 0 0 1 512 894.5z" fill="#666666" ></path><path d="M630.15714249 324.47857167c17.48571417 0 31.82142832 18.25714249 31.82142918 40.62857082v293.78571504c0 22.37142833-14.33571415 40.62857168-31.82142918 40.62857079H614.21428585c-17.55 0-31.82142832-18.25714249-31.82142834-40.62857079v-293.78571504c0-22.37142833 14.33571415-40.62857168 31.82142832-40.62857081h15.94285664z m-220.37142832 1e-8c17.48571417 0 31.82142832 18.25714249 31.82142832 40.62857081v293.78571504c0 22.37142833-14.33571415 40.62857168-31.82142832 40.62857079h-15.94285664c-17.55 0-31.82142832-18.25714249-31.8214292-40.62857079v-293.78571504c0-22.37142833 14.33571415-40.62857168 31.8214292-40.62857081h15.94285664z" fill="#666666" ></path></symbol><symbol id="icon-error" viewBox="0 0 1024 1024"><path d="M512.00408604 961.87536934C263.69500537 961.87536934 62.4178206 760.59818369 62.4178206 512.28808174S263.69807011 62.70181631 512.00408604 62.70181631c248.28354141 0 449.58626543 201.27718477 449.58626542 449.58626543 0.00102129 248.31112412-201.30170273 449.5872876-449.58626542 449.5872876zM146.71441513 512.28808174c0 201.7450626 163.54767305 365.29069219 365.28967091 365.29069219 85.67162315 0 164.28830888-29.71940977 226.57934179-79.0845627L225.80102129 285.68422285c-49.36208818 62.31861562-79.08660615 140.9342792-79.08660616 226.6028376v0.00102129zM512.00408604 147.00147559c-85.67162315 0-164.28626543 29.71940977-226.6028376 79.08456269l512.78342783 512.78240654c49.39171435-62.28898945 79.10908067-140.90669737 79.10908066-226.57934179-0.00102129-201.74404042-163.54562959-365.28967089-365.29069219-365.2896709l0.0010213 0.00204345z" fill="#DB0000" ></path></symbol><symbol id="icon-all" viewBox="0 0 1024 1024"><path d="M138.166 303.633h747.642c19.529 0 35.514-15.632 35.514-34.78 0-19.124-15.785-34.756-35.514-34.756H138.166c-19.503 0-35.489 15.632-35.489 34.756 0 19.147 15.986 34.78 35.489 34.78z m747.642 173.7H138.166c-19.503 0-35.489 15.632-35.489 34.755 0 19.148 15.962 34.78 35.489 34.78h747.642c19.529 0 35.514-15.632 35.514-34.78 0-19.123-15.986-34.755-35.514-34.755z m0 243.06H138.166c-19.503 0-35.489 15.481-35.489 34.807 0 19.225 15.962 34.704 35.489 34.704h747.642c19.529 0 35.514-15.481 35.514-34.704 0-19.326-15.986-34.807-35.514-34.807z" fill="#0083BA" ></path></symbol><symbol id="icon-success" viewBox="0 0 1024 1024"><path d="M511.197728 63.61076c246.953462 0 447.150016 200.146413 447.150016 447.038476 0 246.892063-200.196555 447.038476-447.150016 447.038476-246.954485 0-447.150016-200.145389-447.150016-447.038476 0-246.892063 200.195531-447.038476 447.150016-447.038476z" fill="#64AA44" ></path><path d="M722.492038 374.556675L482.385519 682.69259c-0.597611 0.7552-1.457188 1.112334-2.115174 1.787716-0.847298 0.874927-1.341554 1.970888-2.322905 2.747577-0.713244 0.564865-1.582031 0.701988-2.331092 1.186012-1.482771 0.969071-2.989077 1.682315-4.603854 2.342348-1.734504 0.705058-3.40454 1.318018-5.211699 1.656733-1.730411 0.334621-3.405563 0.39295-5.169743 0.397043-1.76418-0.004093-3.439332-0.062422-5.169743-0.397043-1.808182-0.338714-3.478218-0.951675-5.212722-1.656733-1.614777-0.660032-3.121084-1.373277-4.603854-2.342348-0.748037-0.484024-1.617847-0.621147-2.331092-1.186012-0.980327-0.776689-1.475608-1.87265-2.322905-2.747577-0.656963-0.675382-1.51654-1.032516-2.115174-1.787716L299.061236 550.337143c-9.53619-12.041244-7.505951-29.53364 4.535294-39.06983 12.041244-9.53619 29.53364-7.505951 39.06983 4.535293L457.503828 624.51354l221.382063-284.491403c9.53619-12.041244 27.02961-14.072507 39.069831-4.535293 12.042267 9.53619 14.072507 27.028587 4.536316 39.069831z" fill="#FFFFFF" ></path></symbol><symbol id="icon-dingdan1" viewBox="0 0 1024 1024"><path d="M883.776 94.08c41.344 0 76.352 31.936 75.072 71.04v764.8c0 39.04-35.008 71.104-76.352 71.104H137.792c-40.128 0-72.768-32-72.768-71.104V165.12c0-39.104 31.36-71.04 72.768-71.04H296.96c7.616-30.848 37.76-54.592 72.768-54.592h80.256c9.92-23.616 33.792-39.04 61.44-39.04 27.456 0 51.264 15.36 61.312 39.04h78.976c35.2 0 65.28 23.808 72.768 54.592h159.232-0.064z m-141.696 622.72v-23.68c0-14.272-12.608-26.048-27.648-26.048H310.72c-15.04 0-27.584 11.776-27.584 26.048v23.744c0 14.208 12.544 26.048 27.584 26.048h403.648c15.104 0 27.584-11.84 27.584-26.048h0.128z m0-240.384v-23.68c0-14.208-12.608-26.112-27.648-26.112H310.72c-15.04 0-27.584 11.904-27.584 26.048v23.744c0 14.272 12.544 26.048 27.584 26.048h403.648c15.104 0 27.584-11.776 27.584-26.048h0.128z" fill="#3171F5" ></path><path d="M512.64 128.384c33.856 0 60.16 26.048 60.16 56.896 0 32-27.52 56.832-60.16 56.832-33.92 0-60.224-26.048-60.224-56.832 0-30.848 26.432-56.96 60.16-56.96z" fill="#3171F5" ></path></symbol></svg>',l=(l=document.getElementsByTagName("script"))[l.length-1].getAttribute("data-injectcss");if(l&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(e){console&&console.log(e)}}function s(){i||(i=!0,a())}t=function(){var e,t=document.createElement("div");t.innerHTML=o,o=null,(t=t.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",(e=document.body).firstChild?function(e,t){t.parentNode.insertBefore(e,t)}(t,e.firstChild):e.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),t()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(a=t,r=e.document,i=!1,function e(){try{r.documentElement.doScroll("left")}catch(t){return void setTimeout(e,50)}s()}(),r.onreadystatechange=function(){"complete"==r.readyState&&(r.onreadystatechange=null,s())})}(window);var Ni=function(e){function t(){return y(this,t),u(this,t,arguments)}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.style,n='<use xlink:href="#icon-'.concat(e.symbol,'" />');return l.default.createElement("svg",{className:"".concat("customer-view","-icon-svg"),dangerouslySetInnerHTML:{__html:n},style:t})}}]),t}(t.Component),Di=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).container=function(){for(var e="",t=1;3>=t;t+=1)e+=Math.random().toString(32).substr(2);return e.replace(/^\d+/,"")}(),n.onChangeShow=function(){n.setState({visible:!n.state.visible})},n.state={visible:!1},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this.container,t=this.onChangeShow,n=this.state.visible,r=this.props,i=r.platkey,o=r.value,s=r.idKey,u=r.titleKey,c=r.childrenKey,d=r.width,f=r.height,p=function(e){return-1===["DD","DOUYIN","JOS","KUAISHOU","MGJ","OFFLINE","REDBOOK","SUNING","TAOBAO","WEIMOB","WEIXIN","YOUZAN"].indexOf(e)}(this.props.platkey);return l.default.createElement("div",{className:e,style:{position:"relative",cursor:"pointer",display:"inline-block",verticalAlign:"middle",marginRight:"8px"},onMouseEnter:t,onMouseLeave:t},p&&l.default.createElement("div",{style:{width:"20px",height:"20px",backgroundSize:"100% 100%",backgroundImage:"url(src/customer-view/assets/img/customerPlatBorder.svg)"}},l.default.createElement("svg",{width:"16px",height:"16px",viewBox:"0 0 16 16",style:{marginLeft:"2px",marginTop:"2px",backgroundColor:"#FAFAFA"}},l.default.createElement("text",{x:"2",y:"12",fontSize:"14",fill:"#0066cc",fontWeight:"bold"},function(e){var t,n={},a=O(yi);try{for(a.s();!(t=a.n()).done;){var r=t.value;n[r.plat]=r}}catch(e){a.e(e)}finally{a.f()}return n[e]||{}}(i).platName||"数"))),!p&&l.default.createElement("span",null,l.default.createElement(Ni,{symbol:"".concat(i,"02"),style:{width:"20px",height:"20px"}})),n&&l.default.createElement("div",{className:"specialBefore",style:{position:"absolute",top:"24px",left:"-30px",zIndex:"1"}},l.default.createElement(a.Cascade,{width:d,height:f,container:e,onClose:t,visible:n,data:o,idKey:s,childrenKey:c,titleKey:u,isOnlyShow:!0,supportCopy:!0})))}}]),t}(t.Component),Ti=function(){for(var e="",t=1;3>=t;t+=1)e+=Math.random().toString(32).substr(2);return e.replace(/^\d+/,"")},Oi=function(e){function t(){var e;y(this,t);for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];return(e=u(this,t,[].concat(r))).handleCopy=function(e){bt.copyText(e),a.Message.success("复制成功",{contextContainer:document.getElementsByClassName("cloud-modal-body")[0]})},e.handlePlatAndData=function(e){var t=e&&e.reduce((function(e,t){return e[t.uniShopId]?e[t.uniShopId].platAccount="".concat(e[t.uniShopId].platAccount,",").concat(t.platAccount):e[t.uniShopId]=t,e}),{}),n=[];return Object.values(t).forEach((function(e){var t=e.platAccount,a=e.uniShopId,r=e.shopType,i=void 0===r?null:r,o=e.shopTypeDesc,l={id:a,title:e.shopName||"未知",children:[]},s=f({pid:Ti()},l);if(i){var u=n.findIndex((function(e){return e.type===i}));-1!==u?(s.pid=n[u].id,n[u].children.push(s),l=null):(l={id:a,type:i,title:o||"未知",children:[]}).children.push(s)}if(t)if(t.includes(",")){var c=[];t.split(",").forEach((function(e){c.push({id:Ti(),title:e,children:null})})),i?s.children=c:l.children=c}else{var d=[{id:Ti(),title:t,children:null}];i||(l.children=d),i&&(s.children=d)}l&&n.push(l)})),n},e.platRender=function(t){return Object.keys(t).reduce((function(n,a){return n.push(l.default.createElement(Di,{platkey:a,key:a,value:e.handlePlatAndData(t[a]),idKey:"id",titleKey:"title",childrenKey:"children",width:"220px",height:"231px"})),n}),[])},e}return C(t,e),w(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.uniId,r=t.shopAccountMap;return l.default.createElement("div",{className:"account-info-area plat-list"},l.default.createElement("label",{className:"uniId-label"},l.default.createElement("span",null,"全渠道ID:"),l.default.createElement(a.Tooltip,{content:"双击可复制"},l.default.createElement("span",{className:"account-name",onDoubleClick:function(){e.handleCopy(n)}},n))),this.platRender(r))}}]),t}(l.default.Component);Oi.contextType=gi;var Mi=function(e){return Array.isArray(e)&&e.length>0},Fi=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).getAreasFromLocalStorage=function(e,t,a){n.areaList=function(e){var t=Ci[e];try{var n=localStorage.getItem(t);return JSON.parse(n)}catch(e){return null}}("unification"),n.cityList=[],n.districtList=[],n.townList=[],Mi(n.areaList)&&n.areaList.forEach((function(t,a){t.id===e&&(n.cityList=n.areaList[a].children)})),Mi(n.cityList)&&n.cityList.forEach((function(e,a){e.id===t&&(n.districtList=n.cityList[a].children)})),Mi(n.districtList)&&n.districtList.forEach((function(e,t){e.id===a&&(n.townList=n.districtList[t].children)}))},n.handleChangeProvince=function(e){Mi(n.areaList)&&n.areaList.forEach((function(t,a){t.id===e.value&&(n.cityList=n.areaList[a].children||[],n.districtList=[],n.townList=[],n.setState({province:e.value,provinceName:e.label,city:"",cityName:"",district:"",districtName:"",town:"",townName:"",address:""},(function(){n.selectedAllArea(e.label,e.value,n.state.cityName,n.state.city,n.state.districtName,n.state.district,n.state.townName,n.state.town,n.state.address)})))}))},n.handleChangeCity=function(e){Mi(n.cityList)&&n.cityList.forEach((function(t,a){t.id===e.value&&(n.districtList=n.cityList[a].children||[],n.townList=[],n.setState({city:e.value,cityName:e.label,district:"",districtName:"",town:"",townName:"",address:""},(function(){n.selectedAllArea(n.state.provinceName,n.state.province,e.label,e.value,n.state.districtName,n.state.district,n.state.townName,n.state.town,n.state.address)})))}))},n.handleChangeDistrict=function(e){Mi(n.districtList)&&n.districtList.forEach((function(t,a){t.id===e.value&&(n.townList=n.districtList[a].children||[],n.setState({district:e.value,districtName:e.label,town:"",townName:"",address:""},(function(){n.selectedAllArea(n.state.provinceName,n.state.province,n.state.cityName,n.state.city,e.label,e.value,n.state.townName,n.state.town,n.state.address)})))}))},n.handleChangeTown=function(e){n.setState({town:e.value,townName:e.label,address:""},(function(){n.selectedAllArea(n.state.provinceName,n.state.province,n.state.cityName,n.state.city,n.state.districtName,n.state.district,e.label,e.value,n.state.address)}))},n.handleInput=function(e){n.setState({address:e.target.value}),n.selectedAllArea(n.state.provinceName,n.state.province,n.state.cityName,n.state.city,n.state.districtName,n.state.district,n.state.townName,n.state.town,e.target.value)},n.selectedAllArea=function(e,t,a,r,i,o,l,s,u){n.props.selectdArea(e,t,a,r,i,o,l,s,u)};var a=e.addressValue&&e.addressValue.split(","),r=e.addressName&&e.addressName.split(",");return n.state={province:a[0]||"",provinceName:r[0]||"",city:a[1]||"",cityName:r[1]||"",district:a[2]||"",districtName:r[2]||"",town:a[3]||"",townName:r[3]||"",address:a[4]||""},n.getAreasFromLocalStorage(a[0],a[1],a[2]),n}return C(t,e),w(t,[{key:"render",value:function(){var e="name",t="id";return l.default.createElement("div",{className:"area-style"},l.default.createElement(a.Select,{value:this.state.province,labelInValue:!0,onChange:this.handleChangeProvince,dataSource:this.areaList,labelKey:e,valueKey:t}),l.default.createElement(a.Select,{value:this.state.city,labelInValue:!0,disabled:!Mi(this.cityList),onChange:this.handleChangeCity,dataSource:this.cityList,labelKey:e,valueKey:t}),l.default.createElement(a.Select,{value:this.state.district,labelInValue:!0,disabled:!Mi(this.districtList),onChange:this.handleChangeDistrict,dataSource:this.districtList,labelKey:e,valueKey:t}),l.default.createElement(a.Select,{value:this.state.town,labelInValue:!0,disabled:!Mi(this.townList),onChange:this.handleChangeTown,dataSource:this.townList,labelKey:e,valueKey:t}),l.default.createElement(a.Input,{value:this.state.address,onChange:this.handleInput,className:"address-detail"}))}}]),t}(l.default.Component),Li=function(){function e(){y(this,e)}var t,n,a,r,i;return w(e,[{key:"getCustomerInfo",value:(i=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return i.apply(this,arguments)})},{key:"getCustomerItemInfo",value:(r=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customer/decrypt/").concat(a,"/").concat(r),e.next=3,ye.get(i);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return r.apply(this,arguments)})},{key:"saveCustomerItemInfo",value:(a=g(p().mark((function e(t,n,a,r,i){var o;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(t,"/").concat(n,"/customer/").concat(i),e.next=3,ye.put(o,{field:a,value:r});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,r,i){return a.apply(this,arguments)})},{key:"getPlatformList",value:(n=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(n,"/customer/platform"),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"getAddressInfo",value:(t=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/full/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n,a){return t.apply(this,arguments)})}]),e}(),Pi=new Li,Bi=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).mouseEnter=function(){n.setState({showEditBtn:!0})},n.mouseLeave=function(){n.setState({showEditBtn:!1})},n.viewAddressInfo=function(){Pi.getAddressInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){var t=e.city,a=e.district,r=e.town,i=e.address,o=e.stateName,l=e.cityName,s=e.districtName,u=e.townName;n.setState({showAddressSelect:!0,selectedArea:"".concat(e.state||"",",").concat(t||"",",").concat(a||"",",").concat(r||"",",").concat(i||""),selectedAreaName:"".concat(o||"",",").concat(l||"",",").concat(s||"",",").concat(u||"",",").concat(i||"")})}))},n.viewCustomerItemInfo=function(e){Pi.getCustomerItemInfo(n.context.domain,n.context.serverName,n.context.uniId,e).then((function(t){switch(e){case"fullName":n.setState({lawsName:t.data});break;case"mobile":n.setState({lawsMobile:t.data});break;case"email":n.setState({lawsEmail:t.data})}})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},n.editCustomerItemInfo=function(e,t){switch(n.cancelCustomerInfo(e),"email"!==e&&"fullName"!==e&&"mobile"!==e||!t||n.viewCustomerItemInfo(e),"unionAddress"===e&&n.viewAddressInfo(),e){case"fullName":n.setState({showFullNameInput:!0});break;case"gender":n.setState({showGenderSelector:!0});break;case"birthday":n.setState({showDatePicker:!0});break;case"mobile":n.setState({showMobileInput:!0});break;case"email":n.setState({showEmailInput:!0})}},n.saveCustomerItemInfo=function(e,t){if("mobile"!==e||!t||Ei.mobile.test(t)){if("email"===e){if(t&&!Ei.email.test(t))return void a.Message.error("请输入符合规则的邮箱");if(!t)return void a.Message.error("邮箱不能为空")}"fullName"!==e||n.state.lawsName?"gender"!==e||t?"birthday"!==e||t?Pi.saveCustomerItemInfo(n.context.domain,n.context.serverName,e,t,n.context.uniId).then((function(t){switch(n.cancelCustomerInfo(e),e){case"fullName":n.setState({lawsName:t.data});break;case"mobile":n.setState({lawsMobile:t.data});break;case"email":n.setState({lawsEmail:t.data});break;case"gender":n.setState({newGender:t.data,gender:t.data});break;case"birthday":n.setState({newBirthday:t.data,birthday:t.data});break;case"unionAddress":n.setState({selectedArea:t.data})}})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")})):a.Message.error("生日不能为空"):a.Message.error("性别不能为空"):a.Message.error("姓名不能为空")}else a.Message.error("请输入符合规则的手机号")},n.hideCustomerItemInfo=function(e){switch(n.cancelCustomerInfo(e),e){case"fullName":n.setState({lawsName:""});break;case"mobile":n.setState({lawsMobile:""});break;case"email":n.setState({lawsEmail:""})}},n.cancelCustomerInfo=function(e){if("unionAddress"===e&&n.state.selectedAreaName){var t=n.state.selectedAreaName.split(",");n.setState({selectedAreaName:"".concat(t[0],",").concat(t[1],",").concat(t[2],",").concat(t[3]?"**":"",",").concat(t[4]?"**":"")})}n.setState({lawsName:"",lawsMobile:"",lawsEmail:"",newGender:"",newBirthday:"",showFullNameInput:!1,showMobileInput:!1,showEmailInput:!1,showDatePicker:!1,showGenderSelector:!1,showAddressSelect:!1})},n.onChangeInput=function(e,t){switch(e){case"fullName":n.setState({lawsName:t.target.value});break;case"mobile":n.setState({lawsMobile:t.target.value});break;case"email":n.setState({lawsEmail:t.target.value});break;case"gender":n.setState({newGender:t,gender:t});break;case"birthday":n.setState({newBirthday:t&&bt.moment(t).format("YYYYMMDD"),birthday:t&&bt.moment(t).format("YYYYMMDD")})}},n.onSelectedArea=function(e,t,a,r,i,o,l,s,u){var c="".concat(t||"",",").concat(r||"",",").concat(o||"",",").concat(s||"",",").concat(u||""),d="".concat(e||"",",").concat(a||"",",").concat(i||"",",").concat(l||"",",").concat(u||"");n.setState({selectedArea:c,selectedAreaName:d})},n.state={lawsName:"",lawsMobile:"",lawsEmail:"",newGender:"",gender:e.gender,newBirthday:"",birthday:e.birthday,showEditBtn:!1,showFullNameInput:!1,showMobileInput:!1,showEmailInput:!1,showAddressSelect:!1,showGenderSelector:!1,showDatePicker:!1,selectedArea:"".concat(e.state||"",",").concat(e.city||"",",").concat(e.district||"",",").concat(e.town||"",",").concat(e.address||""),selectedAreaName:"".concat(e.stateName||"",",").concat(e.cityName||"",",").concat(e.districtName||"",",").concat(e.townName||"",",").concat(e.address||"")},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.fullName,a=t.birthYear,r=t.mobile,i=t.email,o=t.stateName,s=t.cityName,u=t.districtName,c=t.townName,d=t.address,f=this.state,p=f.birthday,h=f.newBirthday,m=f.gender;return l.default.createElement("div",{className:"account-info-area customer-info ".concat(this.state.showEditBtn&&"mouse-enter"),onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave},l.default.createElement(Ri,{type:"fullName",fullName:n,newName:this.state.lawsName,showFullNameInput:this.state.showFullNameInput,showEditIcon:this.state.showEditBtn,showSaveIcon:this.state.showFullNameInput,handleChange:this.onChangeInput,onEditInfo:this.editCustomerItemInfo,onHideInfo:this.hideCustomerItemInfo,onViewInfo:this.viewCustomerItemInfo,onSaveInfo:this.saveCustomerItemInfo,onCancelInfo:this.cancelCustomerInfo}),l.default.createElement(zi,{type:"gender",gender:m,newGender:this.state.newGender,showEditIcon:this.state.showEditBtn,showSaveIcon:this.state.showGenderSelector,showGenderSelector:this.state.showGenderSelector,onChangeInput:this.onChangeInput,onEditInfo:this.editCustomerItemInfo,onSaveInfo:this.saveCustomerItemInfo,onCancelInfo:this.cancelCustomerInfo}),l.default.createElement(ji,{type:"birthday",birthday:h||p,newBirthday:this.state.newBirthday,showEditIcon:this.state.showEditBtn,showSaveIcon:this.state.showDatePicker,showDatePicker:this.state.showDatePicker,onChangeInput:this.onChangeInput,onEditInfo:this.editCustomerItemInfo,onSaveInfo:this.saveCustomerItemInfo,onCancelInfo:this.cancelCustomerInfo}),l.default.createElement("span",null,l.default.createElement("label",null,"年龄:"),l.default.createElement("label",null,this.state.newBirthday||a?"".concat((new Date).getFullYear()-Number(this.state.newBirthday&&bt.moment(this.state.newBirthday).format("YYYY")||a),"岁"):"--")),l.default.createElement(Vi,{type:"mobile",mobile:r,newMobile:this.state.lawsMobile,showHideIcon:this.state.lawsMobile,showMobileInput:this.state.showMobileInput,showEditIcon:this.state.showEditBtn,showSaveIcon:this.state.showMobileInput,handleChange:this.onChangeInput,onEditInfo:this.editCustomerItemInfo,onHideInfo:this.hideCustomerItemInfo,onViewInfo:this.viewCustomerItemInfo,onSaveInfo:this.saveCustomerItemInfo,onCancelInfo:this.cancelCustomerInfo}),l.default.createElement(Ui,{type:"email",email:i,newEmail:this.state.lawsEmail,showHideIcon:this.state.lawsEmail,showEmailInput:this.state.showEmailInput,showEditIcon:this.state.showEditBtn,showSaveIcon:this.state.showEmailInput,handleChange:this.onChangeInput,onEditInfo:this.editCustomerItemInfo,onHideInfo:this.hideCustomerItemInfo,onViewInfo:this.viewCustomerItemInfo,onSaveInfo:this.saveCustomerItemInfo,onCancelInfo:this.cancelCustomerInfo}),l.default.createElement(Hi,{type:"unionAddress",showAddressSelect:this.state.showAddressSelect,showEmailInput:this.state.showAddressSelect,showEditIcon:this.state.showEditBtn,showSaveIcon:this.state.showAddressSelect,value:this.state.selectedArea,valueName:this.state.selectedAreaName,stateName:o,cityName:s,districtName:u,townName:c,address:d,onSelectedAddress:this.onSelectedArea,onEditInfo:this.editCustomerItemInfo,onViewInfo:this.viewCustomerItemInfo,onSaveInfo:this.saveCustomerItemInfo,onCancelInfo:function(){return e.cancelCustomerInfo("unionAddress")}}))}}]),t}(l.default.Component);function Ri(e){var t=e.type,n=e.fullName,r=e.newName,i=e.handleChange,o=e.showFullNameInput,s=e.showEditIcon,u=e.showSaveIcon,c=e.onEditInfo,d=e.onViewInfo,f=e.onSaveInfo,p=e.onCancelInfo,h=e.onHideInfo;return l.default.createElement("span",null,l.default.createElement("label",null,"姓名:"),!o&&l.default.createElement(a.Tooltip,{content:r||n},l.default.createElement("span",null,r||n||"--")),o&&l.default.createElement(a.Input,{className:"edit-input",value:r,hasClear:!0,onChange:function(e){return i(t,e)}}),l.default.createElement(qi,{type:t,value:r||n,showEditIcon:s,showSaveIcon:u,showHideIcon:r,onEditInfo:c,onHideInfo:h,onViewInfo:d,onSaveInfo:f,onCancelInfo:p}))}function zi(e){var t=e.type,n=e.gender,r=e.newGender,i=e.showGenderSelector,o=e.showEditIcon,s=e.showSaveIcon,u=e.onEditInfo,c=e.onSaveInfo,d=e.onCancelInfo,f=e.onChangeInput;return l.default.createElement("span",null,l.default.createElement("label",null,"性别:"),!i&&l.default.createElement("span",null,"F"===(r||n)?"女":"M"===(r||n)?"男":"未知"),i&&l.default.createElement(a.Select,{className:"edit-input",onChange:function(e){return f(t,e)},value:n,dataSource:wi,labelKey:"label",valueKey:"value"}),l.default.createElement(qi,{type:t,value:r||n,showEditIcon:o,showSaveIcon:s,onEditInfo:u,onSaveInfo:c,onCancelInfo:d}))}function ji(e){var t=e.type,n=e.birthday,r=e.newBirthday,i=e.showDatePicker,o=e.showEditIcon,s=e.showSaveIcon,u=e.onEditInfo,c=e.onSaveInfo,d=e.onCancelInfo,f=e.onChangeInput;return l.default.createElement("span",{className:"customer-date-picker"},l.default.createElement("label",null,"生日:"),l.default.createElement("span",null,!i&&(r||n?bt.moment(r||n).format("YYYY/MM/DD"):"--")),i&&l.default.createElement(a.Datepicker,{className:"date-picker",maxDate:new Date,minYear:1900,value:r&&new Date(bt.moment(r).format("YYYY/MM/DD"))||n&&new Date(bt.moment(n).format("YYYY/MM/DD")),onChange:function(e){return f(t,e)},placeholder:"年月日"}),l.default.createElement(qi,{type:t,value:r||n,showEditIcon:o,showSaveIcon:s,onEditInfo:u,onSaveInfo:c,onCancelInfo:d}))}function Vi(e){var t=e.type,n=e.mobile,r=e.newMobile,i=e.handleChange,o=e.showMobileInput,s=e.showEditIcon,u=e.showSaveIcon,c=e.onEditInfo,d=e.onViewInfo,f=e.onSaveInfo,p=e.onCancelInfo,h=e.onHideInfo;return l.default.createElement("span",null,l.default.createElement("label",null,"最新手机号:"),!o&&l.default.createElement("span",null,r||n||"--"),o&&l.default.createElement(a.Input,{className:"edit-input",hasClear:!0,maxLength:"13",value:r,onChange:function(e){return i(t,e)}}),l.default.createElement(qi,{type:t,value:r||n,showEditIcon:s,showSaveIcon:u,showHideIcon:r,onEditInfo:c,onHideInfo:h,onViewInfo:d,onSaveInfo:f,onCancelInfo:p}))}function Ui(e){var t=e.type,n=e.email,r=e.newEmail,i=e.handleChange,o=e.showEmailInput,s=e.showEditIcon,u=e.showSaveIcon,c=e.onEditInfo,d=e.onViewInfo,f=e.onSaveInfo,p=e.onCancelInfo,h=e.onHideInfo;return l.default.createElement("span",null,l.default.createElement("label",null,"邮箱:"),!o&&l.default.createElement(a.Tooltip,{content:r||n},l.default.createElement("span",null,r||n||"--")),o&&l.default.createElement(a.Input,{className:"edit-input",hasClear:!0,value:r,onChange:function(e){return i(t,e)}}),l.default.createElement(qi,{type:t,value:r||n,showEditIcon:s,showSaveIcon:u,showHideIcon:r,onEditInfo:c,onHideInfo:h,onViewInfo:d,onSaveInfo:f,onCancelInfo:p}))}function Hi(e){var t=e.type,n=e.value,r=e.valueName,i=e.onSelectedAddress,o=e.cityName,s=e.districtName,u=e.townName,c=e.address,d=e.showAddressSelect,f=e.showEditIcon,p=e.showSaveIcon,h=e.onEditInfo,m=e.onViewInfo,v=e.onSaveInfo,g=e.onCancelInfo,y="".concat(e.stateName||""," ").concat(o||""," ").concat(s||""," ").concat(u||""," ").concat(c||"");return l.default.createElement("span",null,l.default.createElement("label",null,"地址:"),!d&&l.default.createElement(a.Tooltip,{content:r.split(",")||y},l.default.createElement("span",{className:"address-label"},r.split(",")||y)),d&&l.default.createElement(Fi,{addressValue:n,addressName:r,address:c,selectdArea:i}),l.default.createElement(qi,{type:t,value:n,showEditIcon:f,showSaveIcon:p,onEditInfo:h,onViewInfo:m,onSaveInfo:v,onCancelInfo:g}))}function qi(e){var t=e.type,n=e.value,r=e.showHideIcon,i=e.showSaveIcon,o=e.onEditInfo,s=e.onViewInfo,u=e.onSaveInfo,c=e.onCancelInfo,d=e.onHideInfo;return l.default.createElement("div",{className:"edit-icon-area"},e.showEditIcon&&!i&&l.default.createElement("span",null,l.default.createElement(a.Icon,{type:"edit",className:"edit-icon",onClick:function(){return o(t,n)}}),("fullName"===t||"email"===t||"mobile"===t)&&n&&l.default.createElement("span",null,!r&&l.default.createElement(a.Icon,{type:"view",className:"edit-icon",onClick:function(){return s(t)}}),r&&l.default.createElement(a.Icon,{type:"hide",className:"edit-icon",onClick:function(){return d(t)}}))),i&&l.default.createElement("span",null,l.default.createElement(a.Icon,{type:"finish",className:"edit-icon save-icon",onClick:function(){return u(t,n)}}),l.default.createElement(a.Icon,{type:"close",className:"edit-icon",onClick:function(){return c()}})))}Bi.contextType=gi;var Wi=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).state={},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.boughtPlatform,n=e.boughtShopName,a=e.totalPurchaseAmount,r=e.firstPurchasePlatform,i=e.firstPurchaseShopName,o=e.totalPurchaseTimes,s=e.lastPurchasePlatform,u=e.lastPurchaseShopName,c=e.averageCustomerPrice;return l.default.createElement("div",{className:"consumption-area"},l.default.createElement("ul",null,l.default.createElement("li",null,l.default.createElement("span",null,"购买过的平台:"),l.default.createElement("span",null,t?t.split(",").map((function(e,n){return yi.map((function(a){return a.plat===e&&l.default.createElement("span",{key:a.platName},"".concat(a.platName," ").concat(t.split(",").length>1&&n<t.split(",").length-1?"、":""))}))})):"--")),l.default.createElement("li",null,l.default.createElement("span",null,"购买过的店铺:"),l.default.createElement("span",null,n?n.split(",").join("、"):"--")),l.default.createElement("li",null,l.default.createElement("span",null,"总购买金额:"),l.default.createElement("span",null,"¥",a||"0.00"))),l.default.createElement("ul",null,l.default.createElement("li",null,l.default.createElement("span",null,"首次购买平台:"),l.default.createElement("span",null,r?r.split(",").map((function(e,t){return yi.map((function(n){return n.plat===e&&l.default.createElement("span",{key:n.platName},"".concat(n.platName," ").concat(r.split(",").length>1&&t<r.split(",").length-1?"、":""))}))})):"--")),l.default.createElement("li",null,l.default.createElement("span",null,"首次购买店铺:"),l.default.createElement("span",null,i?i.split(",").join("、"):"--")),l.default.createElement("li",null,l.default.createElement("span",null,"总购买次数:"),l.default.createElement("span",null,"".concat(+o,"次")||"--"))),l.default.createElement("ul",null,l.default.createElement("li",null,l.default.createElement("span",null,"最后一次购买平台:"),l.default.createElement("span",null,s?s.split(",").map((function(e,t){return yi.map((function(n){return n.plat===e&&l.default.createElement("span",{key:n.platName},"".concat(n.platName," ").concat(s.split(",").length>1&&t<s.split(",").length-1?"、":""))}))})):"--")),l.default.createElement("li",null,l.default.createElement("span",null,"最近一次购买店铺:"),l.default.createElement("span",null,u?u.split(",").join("、"):"--")),l.default.createElement("li",null,l.default.createElement("span",null,"平均客单价:"),l.default.createElement("span",null,"¥",c||"0.00"))))}}]),t}(l.default.Component),Gi=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).state={loading:!0,customerInfo:{}},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){var e=this;Pi.getCustomerInfo(this.context.domain,this.context.serverName,this.context.uniId).then((function(t){var n=t;n.shopAccountMap&&n.shopAccountMap.JOS&&e.dealJosPlatAccount(n),e.setState({customerInfo:n,loading:!1})})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))}},{key:"dealJosPlatAccount",value:function(e){return e.shopAccountMap.JOS=(e.shopAccountMap.JOS||[]).map((function(e){return e.platAccount="".concat((e.platAccount||"").slice(0,-4),"****"),e})),e}},{key:"render",value:function(){var e=this.state.customerInfo,t=e.gender,n=e.platAccountList,r=e.shopAccountMap,i=e.fullName,o=e.birthday,s=e.birthYear,u=e.mobile,c=e.email,d=e.state,f=e.city,p=e.district,h=e.town,m=e.address,v=e.stateName,g=e.cityName,y=e.districtName,b=e.townName,w=e.boughtPlatform,k=e.boughtShopName,E=e.totalPurchaseAmount,C=e.firstPurchasePlatform,S=e.firstPurchaseShopName,_=e.totalPurchaseTimes,x=e.lastPurchasePlatform,A=e.lastPurchaseShopName,I=e.averageCustomerPrice,N=e.wechatId;return this.state.loading?l.default.createElement(a.Loading,null):l.default.createElement("div",{className:"account-area"},l.default.createElement(Ki,{gender:t}),l.default.createElement("div",{className:"customer-account-info"},l.default.createElement(Oi,{uniId:this.context.uniId,platAccountList:n||[],wechatId:N,shopAccountMap:r||[]}),l.default.createElement(Bi,{fullName:i,gender:t,birthday:o,birthYear:s,mobile:u,email:c,state:d,stateName:v,city:f,cityName:g,district:p,districtName:y,town:h,townName:b,address:m})),l.default.createElement(Wi,{boughtPlatform:w,boughtShopName:k,totalPurchaseAmount:E,firstPurchasePlatform:C,firstPurchaseShopName:S,totalPurchaseTimes:_,lastPurchasePlatform:x,lastPurchaseShopName:A,averageCustomerPrice:I}))}}]),t}(l.default.Component);function Ki(e){var t=e.gender;return l.default.createElement("section",{className:"avatar ".concat("F"===t?"f-avatar":"M"===t?"m-avatar":"default-avatar")})}Gi.contextType=gi;var Yi=function(){function e(){y(this,e)}var t,n,a,r,i,o,l,s,u,c,d,f;return w(e,[{key:"getCustomerBenefitList",value:(f=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/preferential/detail"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return f.apply(this,arguments)})},{key:"getCustomerInfo",value:(d=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/data-manage-x/1.0/customer/platform"),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return d.apply(this,arguments)})},{key:"getFirstShopList",value:(c=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/ucenter-interface-service/v1/shops/shopDetails"),e.next=3,ye.get(a,{params:n});case 3:return e.abrupt("return",e.sent.data.list);case 6:case"end":return e.stop()}}),e)}))),function(e,t){return c.apply(this,arguments)})},{key:"getCustomerInteractiveList",value:(u=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/interactive"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return u.apply(this,arguments)})},{key:"getCustomerMarketingList",value:(s=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/marketing/detail"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return s.apply(this,arguments)})},{key:"getCustomerOrderList",value:(l=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/order/detail"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return l.apply(this,arguments)})},{key:"getCustomerViewList",value:(o=g(p().mark((function e(t,n,a){var r,i,o,l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={begin:((r=a.pageNum)-1)*(i=a.pageSize)+1,end:r*i,queryType:a.queryType||void 0,channel:a.channel||void 0,startDate:a.startDate||void 0,endDate:a.endDate||void 0,uniId:a.uniId||void 0,shops:a.shops||void 0},l="".concat(t,"/").concat(n,"/view/all"),e.next=5,ye.get(l,{params:o});case 5:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e,t,n){return o.apply(this,arguments)})},{key:"getCustomerOrderRateList",value:(i=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/order/rate"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return i.apply(this,arguments)})},{key:"getPlatList",value:(r=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(n,"/customer/platform"),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return r.apply(this,arguments)})},{key:"getTypeList",value:(a=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(n,"/customer/platform"),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return a.apply(this,arguments)})},{key:"getShopList",value:(n=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/shops"),e.next=3,ye.get(r,a?{params:{platCode:a}}:"");case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,a){return n.apply(this,arguments)})},{key:"getContentDetail",value:(t=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/contentmanage/v1/content/vsms/get/").concat(n),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n){return t.apply(this,arguments)})}]),e}(),Qi=new Yi,Ji=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).handleChange=function(e){n.setState({shopValue:e.target&&e.target.value})},n.handlePlatformChange=function(e){n.setState({channel:e}),n.props.formFlag&&n.props.channel(e)},n.handleTypeChange=function(e){n.setState({shopType:e})},n.handleSearch=function(){var e=n.props.option,t=e.isSupportedChannel,a=void 0===t||t,r=e.permissionType,i=e.isJosPop,o=void 0!==i&&i,l=e.youzanFlag,s=n.state;n.params={sign:s.shopValue,channel:a&&s.channel,type:a&&s.shopType,permissionType:void 0!==r&&r},o&&(n.params=f(f({},n.params),{},{appId:0})),l&&(n.params=f(f({},n.params),{},{youzanFlag:l})),n.props.formFlag?n.props.searchParams(n.params):n.props.selectedSearchParams(n.params)},n.handleReset=function(){var e=n.props.option.isSupportedChannel;n.setState({shopValue:"",channel:(void 0===e||e)&&n.channelList[0].id,shopType:""}),n.props.onSearchReset&&n.props.onSearchReset()},n.filterPlatform=function(e,t){var n=t.map((function(t){return e.find((function(e){return e.id===t}))}));return n.filter((function(e){return e}))};var a=n.props.option,r=a.platform,i=a.isSupportedChannel,o=void 0===i||i,l=r?n.filterPlatform(n.props.channelList,r):n.props.channelList;return 1>=l.length&&r||(l=[{id:"",name:"不限"}].concat(N(l))),n.channelList=l,n.typeList=l.filter((function(e){return"offline"===e.id})),n.typeList.length&&(n.typeList=n.typeList.map((function(e){return e.filter[0].values}))[0].map((function(e){return{id:parseInt(e.id,10),name:e.name}}))),n.typeList.unshift({id:"",name:"不限"}),n.state={shopValue:"",channel:o&&n.channelList.length&&n.channelList[0].id,shopType:""},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.option.isSupportedChannel,n=void 0===t||t,r=this.props.option.platform,i=this.state.channel,o="offline"!==i?{display:"none"}:{},s=void 0===n||n?{}:{display:"none"};return!n&&r&&e.formFlag&&(r=null,console.warn("您已配置不支持平台,但是平台参数不为空")),l.default.createElement("section",{className:"shop-form"},l.default.createElement("div",{className:"shop-form-item",style:s},l.default.createElement("span",{className:"shop-item-label"},"平台:"),l.default.createElement(a.Select,{className:"shop-form-input selector-background",value:i,labelKey:"name",valueKey:"id",dataSource:this.channelList,onChange:this.handlePlatformChange})),l.default.createElement("div",{className:"shop-form-item",style:o},l.default.createElement("span",{className:"shop-item-label"},"店铺类型:"),l.default.createElement(a.Select,{className:"shop-form-input selector-background",value:this.state.shopType,labelKey:"name",valueKey:"id",dataSource:this.typeList,onChange:this.handleTypeChange})),l.default.createElement("div",{className:"shop-form-item"},l.default.createElement("span",{className:"shop-item-label"},"店铺名称:"),l.default.createElement(a.Input,{size:"default",className:"shop-form-input",placeholder:"请输入店铺名称/ID",value:this.state.shopValue,onChange:this.handleChange})),l.default.createElement("div",{className:"shop-form-search"},l.default.createElement(a.Button,{type:"primary",onClick:this.handleSearch,className:"search-btn"},"搜索"),l.default.createElement(a.Button,{type:"normal",onClick:this.handleReset},"重置")))}}]),t}(t.Component),Xi="ucenter-interface-service/v1",Zi=function(){function e(){y(this,e)}var t,n,a,r;return w(e,[{key:"getShopList",value:(r=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.query,a="".concat(t.serverName,"/").concat(Xi,"/shops/shopDetails"),e.next=4,ye.get(a,{params:n});case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)})},{key:"getShopDetailById",value:(a=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.query,a="".concat(t.serverName,"/").concat(Xi,"/shops/shopDetails"),e.next=4,ye.post(a,n);case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})},{key:"fetchChannelData",value:(n=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tenantId,a="".concat(t.serverName,"/").concat(Xi,"/channel?tenantName=").concat(n),e.next=4,ye.get(a);case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"fetchRegionTree",value:(t=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tenantName,a="".concat(t.serverName,"/").concat(Xi,"/region"),e.next=4,ye.get(a,{params:{tenantName:n}});case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}(),$i=new Zi,eo=function(e){function t(){var e;y(this,t);for(var n=arguments.length,a=Array(n),r=0;n>r;r++)a[r]=arguments[r];return(e=u(this,t,[].concat(a))).selectedNode=function(t){e.props.onSelectTree(t)},e}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props.treeData,t=e[0].children.length;return l.default.createElement("div",{className:"tree-area"},l.default.createElement(a.Tree,{className:t?"tree-list":"tree-list no-tree",treeData:e,onSelectedNode:this.selectedNode}),!t&&l.default.createElement("div",{className:"no-area-tips"},l.default.createElement("p",null,"如果没有为线下设置区域"),l.default.createElement("p",null,"请到系统管理为线下店铺设置区域")))}}]),t}(t.Component);eo.proTypes={treeData:et.array,onSelectTree:et.func};var to=l.default.createContext({}),no="shopAllGrid",ao="row-bg-color",ro=function(e){return"offline"===e},io={gridManagerName:no,height:"calc(400px)",supportAutoOrder:!1,supportAjaxPage:!0,currentPageKey:"pageNum",pageSizeKey:"pageSize",dataKey:"list",totalsKey:"totals",disableLine:!0,supportCheckbox:!0,textConfig:{"checked-info":{"zh-cn":'<span class="table-footer-tips">已选:店铺({0})个</span>'}}},oo=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).onSearch=function(e){var t=n.props.option,r=t.tenantId,i=t.platform,o=t.isSupportedChannel,l=t.shopTypes,s=!e.channel&&(void 0===o||o)?i&&""+i:e.channel;n.queryData.query=f(f({},e),{},{tenantName:r,regionId:n.reginId,channel:s,shopTypes:l}),ro(e.channel)||(n.reginId=null,delete n.queryData.query.regionId),n.fetchAllShopList().then((function(){a.Table.refreshGrid(no,!0)}))},n.onSearchReset=function(){var e=n.props.option.platform;n.setState({channelType:e&&""+e})},n.onChannel=function(e){n.setState({channelType:e})},n.onSelectTreeNode=function(e){n.reginId=e.id;var t=n.props.option,r=n.context.allSelectedShopList,i=f(f({},n.queryData.query),{},{regionId:n.reginId});$i.getShopList({query:i,serverName:t.serverName}).then((function(e){n.setAllShopList(e.list),n.context.changeSelectedShops(r),a.Table.setQuery(no,i)}))},n.onAllCheckedHandle=function(e){n.updateCheckedShopData(n.usableShopList,e)},n.onPageCheckedHandle=function(e){n.updateCheckedShopData(n.state.usableCurrentShopList,e)},n.onChangeDisable=function(e){n.setState({usable:e},(function(){a.Table.refreshGrid(no)}))},n.genColumnData=function(){return[{key:"id",text:"店铺ID",align:"center",width:"200px",template:function(e,t){return l.default.createElement("span",null,t.id)}},{key:"name",text:"店铺名称",align:"center",width:"180px",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.name,placement:"top-left"},l.default.createElement("span",null,t.name))}},{key:"channelName",text:"平台",align:"center",width:"120px",template:function(e,t){var a=n.channelList.filter((function(e){return e.id===t.channel}));return l.default.createElement("span",null,a[0]?a[0].name:"--")}},{key:"typeName",text:"店铺类型",align:"center",width:"100px",template:function(e,t){var a=n.shopTypeList.length&&n.shopTypeList[0].values.filter((function(e){return e.id===t.type}));return l.default.createElement("span",null," ",t.shopTypeDesc||(a[0]&&a[0].name?a[0].name:"--")," ")}},{key:"address",text:"店铺详细地址",align:"center",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.address,placement:"top-left"},l.default.createElement("span",null,t.address?t.address:"---"))}}]},n.ajaxSuccess=function(){var e=n.props.option,t=e.selectedShop,r=void 0===t?[]:t,i=e.heightLightRow,o=void 0===i?[]:i,l=e.isOpenSelectedTab,s=e.disabledRowIdList,u=void 0===s?[]:s,c=e.selectableRowIdList,d=void 0===c?[]:c,f=n.context.allSelectedShopList;if((u.length||o.length)&&n.setTdBackground(o.length?o:u),d.length){var p=n.allShopList.filter((function(e){return!d.includes(e.id)}));n.setTdBackground(p)}r.length&&n.firstStatus&&!l&&n.getSelectedShopDetail(r).then((function(e){var t=f&&f.length?f:e.list;n.context.changeSelectedShops(t),a.Table.setCheckedData(no,t),n.firstStatus=!1}))},n.checkedHandler=function(e){n.context.changeSelectedShops(e)},n.ajaxData=function(e,t){var a=A(n),r=n.state.usable?a.usableShopList:a.allShopList,i=t.pageSize,o=t.pageNum;return new Promise((function(e){n.currentShopList=r.slice((o-1)*i,o*i),n.setCurrentShopList(n.currentShopList),e({list:n.currentShopList,totals:r.length})}))},n.rowRenderHandler=function(e){var t=n.props.option,a=t.disabledRowIdList,r=void 0===a?[]:a,i=t.selectableRowIdList,o=void 0===i?[]:i,l=t.heightLightRow,s=void 0===l?[]:l;r.length&&n.gmDisabledRow(e,r,!0),o.length&&n.gmDisabledRow(e,o);var u=s.map((function(e){return e.id}));return u.includes(e.id)&&Object.assign(e,{gm_row_class_name:ao}),e},n.rowHover=function(e){var t=n.props.option,a=t.disabledRowIdList,r=t.disabledRowHoverOptions,i=t.selectableRowIdList,o=void 0===i?[]:i;return(void 0===a?[]:a).includes(e.id)||o.length&&!o.includes(e.id)?r:null};var r=n.props,i=r.searchParams,o=r.option,s=r.channel,c=o.tenantId,d=o.platform,p=o.permissionType,h=o.isJosPop,m=o.youzanFlag,v=o.shopTypes;return n.firstStatus=!0,n.channelList=s.channelList,n.shopTypeList=s.shopTypeList,n.queryData={serverName:o.serverName,query:f(f({},i),{},{tenantName:c,channel:d&&""+d,permissionType:p,shopTypes:v})},h&&(n.queryData.query=f(f({},n.queryData.query),{},{appId:0})),m&&(n.queryData.query=f(f({},n.queryData.query),{},{youzanFlag:m})),n.state={treeData:[],loading:!0,usable:!0,usableCurrentShopList:[],channelType:d&&""+d},n.allShopList=[],n.usableShopList=[],n.currentShopList=[],n.reginId=null,n}var n,r,i,o;return C(t,e),w(t,[{key:"componentDidMount",value:(o=g(p().mark((function e(){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetchAllShopList();case 2:return e.next=4,this.fetchTreeData();case 4:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"componentDidUpdate",value:function(){var e=this.props.option,t=this.context.allSelectedShopList,n=a.Table.get(no).rendered;void 0!==t&&(e.isOpenSelectedTab&&!n||a.Table.setCheckedData(no,t)),n&&a.Table.resetLayout(no,"100%")}},{key:"getUsableShopList",value:function(e){var t=this.props.option,n=t.disabledRowIdList,a=void 0===n?[]:n,r=t.selectableRowIdList,i=void 0===r?[]:r,o=a.length,l=i.length;return o||l?o?e.filter((function(e){return!a.includes(e.id)})):l?e.filter((function(e){return i.includes(e.id)})):[]:e}},{key:"setAllShopList",value:function(e){this.allShopList=e,this.usableShopList=this.getUsableShopList(e)}},{key:"setCurrentShopList",value:function(e){this.currentShopList=e,this.setState({usableCurrentShopList:this.getUsableShopList(e)})}},{key:"getSelectedShopDetail",value:(i=g(p().mark((function e(t){var n,a,r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=this.props.option).serverName,i={tenantName:n.tenantId,shopIdIn:""+t},(r=n.youzanFlag)&&(i=f(f({},i),{},{youzanFlag:r})),e.next=5,$i.getShopDetailById({query:i,serverName:a});case 5:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"setTdBackground",value:function(e){e.forEach((function(e,t){var n=Se().querySelectorAll("table[grid-manager=shopAllGrid] .".concat(ao))[t];n&&[].forEach.call(n.querySelectorAll("td"),(function(t){t.style.background=e.background||"#eee"}))}))}},{key:"gmDisabledRow",value:function(e,t,n){var a=n?t.includes(e.id):!t.includes(e.id);Object.assign(e,{gm_checkbox_disabled:a}),a&&Object.assign(e,{gm_row_class_name:ao})}},{key:"updateCheckedShopData",value:function(e,t){var n=this.context,r=n.allSelectedShopList,i=void 0===r?[]:r,o=n.changeSelectedShops,l=[];if(i.length){var s=i.map((function(e){return e.id}));if(t){var u=e.filter((function(e){return!s.includes(e.id)}));l=i.concat(u)}if(!t){var c=e.filter((function(e){return s.includes(e.id)}));l=i.filter((function(e){return!c.some((function(t){return e.id===t.id}))}))}}else l=t?e:[];o(l),a.Table.setCheckedData(no,l)}},{key:"getCheckedState",value:function(){var e=this.usableShopList,t=this.state.usableCurrentShopList,n=this.context.allSelectedShopList,a=void 0===n?[]:n;return{isAllChecked:e.length>0&&e.every((function(e){return a.some((function(t){return e.id===t.id}))})),currentPageChecked:t.length>0&&t.every((function(e){return a.some((function(t){return e.id===t.id}))}))}}},{key:"fetchTreeData",value:(r=g(p().mark((function e(){var t,n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={tenantName:(t=this.props.option).tenantId,serverName:t.serverName},e.next=4,$i.fetchRegionTree(n);case 4:this.setState({treeData:e.sent.data,loading:!1});case 6:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"fetchAllShopList",value:(n=g(p().mark((function e(){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$i.getShopList(this.queryData);case 2:this.setAllShopList(e.sent.list);case 4:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"render",value:function(){var e=this,t=this.state,n=t.channelType,r=t.usable,i=t.treeData,o=this.props.option,s=o.disabledRowIdList,u=void 0===s?[]:s,c=o.selectableRowIdList,d=void 0===c?[]:c,f=o.isSingleSelected,p={useRowCheck:!0,useRadio:f};if(t.loading)return l.default.createElement(a.Loading,{className:"loading",size:"large"});var h=this.getCheckedState(),m=h.isAllChecked,v=h.currentPageChecked;return l.default.createElement(l.default.Fragment,null,l.default.createElement(Ji,{option:o,formFlag:!0,searchParams:this.onSearch,onSearchReset:this.onSearchReset,channel:this.onChannel,channelList:this.channelList}),l.default.createElement("div",{className:"all-shops-area"},ro(n)&&l.default.createElement(eo,{treeData:i,onSelectTree:this.onSelectTreeNode}),l.default.createElement("div",{className:ro(n)?"all-shops-offline":"all-shop"},!f&&l.default.createElement("div",{className:"all-shops-operation"},u.length||d.length?l.default.createElement(a.Checkbox,{className:"check-usable",checked:r,onChange:this.onChangeDisable},"仅显示可选项"):null,l.default.createElement(a.Checkbox,{className:"check-all-selected",checked:m,onChange:this.onAllCheckedHandle},"全选全部"),l.default.createElement(a.Checkbox,{className:"check-page-selected",checked:v,onChange:this.onPageCheckedHandle},"全选当页")),l.default.createElement(a.Table,E({},io,{query:this.queryData.query,ajaxData:this.ajaxData,columnData:this.genColumnData(),ajaxSuccess:this.ajaxSuccess,checkedAfter:function(t){return e.checkedHandler(t)},checkboxConfig:p,useRadio:f,rowRenderHandler:this.rowRenderHandler,rowHover:this.rowHover})))))}}]),t}(t.Component);oo.contextType=to,oo.propTyes={option:et.shape({isSingleSelected:et.bool,disabledRowIdList:et.array,selectableRowIdList:et.array,disabledRowHoverOptions:et.object,serverName:et.string.isRequired,tenantId:et.string.isRequired,youzanFlag:et.string}),channel:et.object},oo.defaultProps={option:{isSingleSelected:!1,disabledRowIdList:[],selectableRowIdList:[],serverName:"",tenantId:"",youzanFlag:""},channel:{channelList:[],shopTypeList:[]}};var lo="shopSelectedGrid",so="search",uo=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).onSearch=function(e){n.params=e;var t=n.context.allSelectedShopList;if(t){var r=JSON.parse(JSON.stringify(t)),i=e,o=n.filterSearchMethods();r.forEach((function(e){var t=[];Object.keys(i).forEach((function(n){if("channel"===n||"type"===n)t.push(o.equal(i[n],e[n]));else if("sign"===n){t.push(o.fuzzySearchGroup(["name","id"],i[n],e))}})),e.isHide=-1!==t.indexOf(!1)})),n.filterShopList=r.filter((function(e){return!e.isHide})),a.Table.setQuery(lo,{flag:so})}},n.filterSearchMethods=function(){return{equal:function(e,t){return!e&&0!==e||""===t||(e+"").replace(/\s/g,"")===t+""},fuzzySearchGroup:function(e,t,n){var a=[];return e.map((function(e){return a.push(!t&&0!==t||-1!==(n[e]+"").replace(/\s/g,"").search(t+""))})),-1!==a.indexOf(!0)}}},n.onRemoveHandle=function(e){return function(){var t=n.context.allSelectedShopList.filter((function(t){return t.id!==e.id}));n.context.changeSelectedShops(t)}},n.onRemoveAll=function(){n.context.changeSelectedShops([])},n.onRemovePage=function(){var e=n.context.allSelectedShopList,t=n.pageData.data.map((function(e){return e.id})),a=e.filter((function(e){return-1===t.indexOf(e.id)}));n.context.changeSelectedShops(a)},n.sliceData=function(e,t,n){var a=e.length,r=Math.ceil(a/t),i=Math.min(n,r);return{data:e.slice((i-1)*t,i*t),pageSize:t,pageNum:i,totalCount:a,totalPage:r}},n.ajaxData=function(e,t){var a=n.context.allSelectedShopList;n.pageData=n.sliceData(t.flag===so?n.filterShopList:void 0===a?[]:a,e.pageData.pageSize,e.pageData.pageNum);var r=n.pageData;return Promise.resolve({list:r.data,totals:r.totalCount})},n.ajaxSuccess=function(){var e=n.props.option,t=e.selectedShop,a=void 0===t?[]:t,r=e.isOpenSelectedTab,i=e.serverName,o=e.youzanFlag,l=n.context.allSelectedShopList,s=void 0===l?[]:l;if(n.firstStatus&&a.length){var u={tenantName:e.tenantId,shopIdIn:""+a};o&&(u=f(f({},u),{},{youzanFlag:o})),$i.getShopDetailById({query:u,serverName:i}).then((function(e){n.context.changeSelectedShops(r?e.list:s),n.firstStatus=!1}))}},n.genColumnData=function(){var e=[{key:"id",text:"店铺ID",align:"center",width:"200px"},{key:"name",text:"店铺名称",align:"center",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.name,placement:"top-left"},l.default.createElement("span",null,t.name))}},{key:"channelName",text:"平台",align:"center",template:function(e,t){var a=n.channel.filter((function(e){return e.id===t.channel}));return l.default.createElement("span",null,a[0]?a[0].name:"--")}},{key:"typeName",text:"店铺类型",align:"center",template:function(e,t){var a=n.shopTypeList.length&&n.shopTypeList[0].values.filter((function(e){return e.id===t.type}));return l.default.createElement("span",null," ",t.shopTypeDesc||(a[0]&&a[0].name?a[0].name:"--")," ")}},{key:"address",text:"店铺详细地址",align:"center",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.address,placement:"top-left"},l.default.createElement("span",null,t.address?t.address:"---"))}}];return n.props.option.readonly?e:[].concat(e,[{key:"action",text:"操作",align:"center",template:function(e,t){return l.default.createElement("span",{className:"row-remove",onClick:n.onRemoveHandle(t)},"移除")}}])};var r=n.props.channel;return n.channel=r.channelList,n.shopTypeList=r.shopTypeList,n.params=null,n.firstStatus=!0,n}return C(t,e),w(t,[{key:"componentDidUpdate",value:function(){a.Table.get(lo).rendered&&(a.Table.refreshGrid(lo),this.params&&this.onSearch(this.params))}},{key:"render",value:function(){var e=this.props.option;return l.default.createElement("div",null,l.default.createElement(Ji,{option:e,formFlag:!1,selectedSearchParams:this.onSearch,channelList:this.channel}),!e.isSingleSelected&&!e.readonly&&l.default.createElement("div",{className:"selected-operation"},l.default.createElement("span",{className:"remove",onClick:this.onRemoveAll},"移除全部"),l.default.createElement("span",{className:"remove remove-page",onClick:this.onRemovePage},"移除当页")),l.default.createElement(a.Table,{gridManagerName:lo,height:"calc(400px)",ajaxData:this.ajaxData,ajaxSuccess:this.ajaxSuccess,columnData:this.genColumnData(),supportAjaxPage:!0,supportAutoOrder:!1,currentPageKey:"pageNum",pageSizeKey:"pageSize",dataKey:"list",totalsKey:"totals",disableLine:!0,supportCheckbox:!1}))}}]),t}(t.Component);uo.contextType=to,uo.proTypes={tenantId:et.string.isRequired,option:et.object,channel:et.object},uo.defaultProps={option:{isSingleSelected:!1,disabledRowIdList:[],serverName:"",tenantId:""},channel:{channelList:[],shopTypeList:[]}};var co=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).state={channelConfig:{}},n}var n;return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.channelList()}},{key:"componentWillUnmount",value:function(){this.context.changeSelectedShops(void 0)}},{key:"channelList",value:(n=g(p().mark((function e(){var t,n,a,r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this.props.option).serverName,a=t.tenantId,e.next=3,$i.fetchChannelData({serverName:n,tenantId:a});case 3:i=[],(r=e.sent).forEach((function(e){e.filter.length&&(i=e.filter)})),this.setState({channelConfig:{channelList:r,shopTypeList:i}});case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"render",value:function(){var e=this.state.channelConfig,t=this.props.option,n=t.isOpenSelectedTab,r=t.readonly,i=this.context.allSelectedShopList,o=void 0===i?[]:i,s=[{title:"已选店铺",content:l.default.createElement(uo,{option:t,channel:e}),key:"selected"}],u=r?s:[{title:"全部店铺",content:l.default.createElement(oo,{option:t,channel:e}),key:"all"}].concat(s);return e.channelList?l.default.createElement("div",{className:tt("".concat(Ce,"-shop-selector"))},o.length>0&&l.default.createElement("div",{className:"selected-num ".concat(r?"num-left":"")},o.length),l.default.createElement(a.Tabs,{defaultActiveKey:n?"selected":"all",mode:"remain"},u.map((function(e,t){return l.default.createElement(a.Tabs.Panel,{key:e.key,tab:e.title,className:"shop-selector-panel",index:t},e.content)})))):l.default.createElement(a.Loading,{size:"large",tip:"正在加载..."})}}]),t}(t.Component);co.contextType=to,co.propTyes={option:et.object},co.defaultProps={option:{}};var fo=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).changeSelectedShops=function(e){n.setState({allSelectedShopList:e})},n.ok=function(){n.props.option.limit&&n.state.allSelectedShopList.length>n.props.option.limit?a.Message.error("最多选择".concat(n.props.option.limit,"个店铺")):n.props.onOk(n.state.allSelectedShopList||[])},n.state={allSelectedShopList:void 0},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.visible,n=e.onClose,r=e.onCancel,i=e.option,o=i.isSupportedChannel,s=i.platform,u=i.requiredSelected;if(t){if(!i.tenantId)return console.error("shopSelector 缺少 tenantId 参数"),"";if(o&&s&&!s.length)return console.error("您已配置支持平台,平台数组长度不能为0, 一个平台:platform.length === 1; n个平台:platform.length === n; 不限平台:platform === null"),""}var c=this.state.allSelectedShopList;return l.default.createElement(a.Modal,{title:"请选择店铺",visible:t,onOk:this.ok,modalStyle:{maxWidth:"1040px"},bodyStyle:{height:"512px",maxHeight:"512px"},onClose:n,onCancel:r,disabledOk:(!c||!c.length)&&u,hasFooter:i.hasFooter},l.default.createElement(to.Provider,{value:f(f({},this.state),{},{changeSelectedShops:this.changeSelectedShops})},t&&l.default.createElement(co,{option:i})))}}]),t}(t.Component);fo.propTyes={option:et.shape({hasFooter:et.bool,isSupportedChannel:et.bool,isOpenSelectedTab:et.bool,permissionType:et.bool,isSingleSelected:et.bool,readonly:et.bool,serverName:et.string.isRequired,tenantId:et.string.isRequired,selectedShop:et.array,platform:et.array,heightLightRow:et.array,disabledRowIdList:et.array,selectableRowIdList:et.array,requiredSelected:et.bool,isJosPop:et.bool,youzanFlag:et.string,shopTypes:et.string,limit:et.number}),onClose:et.func,onCancel:et.func,visible:et.bool},fo.defaultProps={option:{hasFooter:!0,isSupportedChannel:!0,isOpenSelectedTab:!1,permissionType:!1,isSingleSelected:!1,readonly:!1,isRequiredSelected:!1,serverName:"",tenantId:"",selectedShop:[],platform:[],heightLightRow:[],disabledRowIdList:[],selectableRowIdList:[],isJosPop:!1,youzanFlag:"",shopTypes:""},visible:!1};var po={isSupportedChannel:!0,youzanFlag:"mainShop",requiredSelected:!0,limit:100},ho=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).ajaxData=function(e,t){if(void 0===n.state.shops||0===n.state.shops.length)return Promise.resolve({list:[],total:0});var a=f(f({},t),{},{uniId:n.context.uniId,uniShopIds:n.state.shops.join(",")});return Qi.getCustomerBenefitList(n.context.domain,n.context.serverName,a).then((function(e){return e}))},n.selectShops=function(e){var t=e.map((function(e){return e.uniShopId.replace("WX|","WEIXIN|")})),r=e.map((function(e){return e.id}));n.setState({shops:t,selectedShop:r,visible:!1},(function(){a.Table.setQuery(n.gridManagerName)}))},n.onClose=function(){n.setState({visible:!1})},n.openSelectShops=function(e){n.setState({visible:!0,isOpenSelectedTab:e||!1})},n.gridManagerName="customer-benefit-list",n.state={preferentialCount:"",lastPreferentialTime:"",loading:!0,visible:!1,shops:[],selectedShop:[],isOpenSelectedTab:!1},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){var e=this;Qi.getCustomerInfo(this.context.domain,this.context.serverName,this.context.uniId).then((function(t){var n=t.map((function(e){return"MGJ"===e.platCode?"mogujie":e.platCode.toLocaleLowerCase()}));e.context.selectUniShops.length>0?e.setState({shops:e.context.selectUniShops,platList:n,selectedShop:e.context.selectShops,loading:!1}):Qi.getFirstShopList(e.context.domain,{tenantName:e.context.tenantId,channel:n.join(","),permissionType:!0,youzanFlag:"mainShop",pageNum:1,pageSize:1}).then((function(t){e.setState(0!==t.length?{shops:[t[0].uniShopId],platList:n,selectedShop:[t[0].id],loading:!1}:{shops:[],platList:n,selectedShop:[],loading:!1})}))})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))}},{key:"render",value:function(){var e=this,t=this.gridManagerName,n=[{text:"发放时间",key:"sendTime",align:"left"},{text:"发放场景",align:"left",key:"sendType"},{text:"权益类型",key:"preferentialType",align:"left"},{text:"平台",key:"platCode",align:"left",template:function(e){return function(e){var t,n={},a=O(yi);try{for(a.s();!(t=a.n()).done;){var r=t.value;n[r.plat]=r}}catch(e){a.e(e)}finally{a.f()}return n[e]}(e).platName}},{text:"店铺",key:"shopName",align:"left",template:function(e){return l.default.createElement(a.Tooltip,{content:e},l.default.createElement("span",null,e))}},{text:"权益名称",align:"left",key:"preferentialName",template:function(e){return l.default.createElement(a.Tooltip,{content:e},l.default.createElement("span",null,e))}},{text:"权益详情",align:"left",key:"preferentialContent",template:function(e){return l.default.createElement(a.Tooltip,{content:e},l.default.createElement("span",null,e))}},{text:"是否核销",align:"left",key:"isVerification"}];return this.state.loading?l.default.createElement(a.Loading,null):l.default.createElement("div",{className:"customer-benefit-area"},l.default.createElement("div",{className:"title-label-tips"},l.default.createElement("label",{className:"title-label-require"},"店铺:"),l.default.createElement(a.Button,{size:"small",type:"link",onClick:function(){return e.openSelectShops(!1)},style:{marginRight:"4px"}},"选择店铺"),this.state.shops.length?l.default.createElement("span",{className:"shop-list title-count"},"已选择",l.default.createElement(a.Button,{size:"small",type:"link",onClick:function(){return e.openSelectShops(!0)}},this.state.shops.length),"个店铺"):l.default.createElement("span",{style:{color:"#f5222d"}}," ","必须选择一个店铺"," "),l.default.createElement("label",null,"90天权益发放量:"),l.default.createElement("span",{className:"title-count"},this.state.preferentialCount||l.default.createElement("span",{className:"empty"},"--")),l.default.createElement("label",null,"最后一次权益发放时间:"),l.default.createElement("span",{className:"title-count"},this.state.lastPreferentialTime||l.default.createElement("span",{className:"empty"},"--"))),l.default.createElement(a.Table,E({gridManagerName:t},ki,{ajaxData:this.ajaxData,columnData:n,ajaxSuccess:function(t){e.setState({preferentialCount:t.benefitCount,lastPreferentialTime:t.lastBenefitTime})}})),l.default.createElement("div",{className:"tips-label"},"列表显示90天内权益发放记录"),this.state.visible&&l.default.createElement(fo,{visible:this.state.visible,onOk:this.selectShops,onClose:this.onClose,onCancel:this.onClose,option:Object.assign({},po,{selectedShop:this.state.selectedShop,serverName:this.context.domain,permissionType:!0,tenantId:this.context.tenantId,platform:this.state.platList,isOpenSelectedTab:this.state.isOpenSelectedTab})}))}}]),t}(l.default.Component);ho.contextType=gi;var mo=function(){function e(){y(this,e)}var t,n,a,r,i;return w(e,[{key:"getCustomerCardInfo",value:(i=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerCard/card/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return i.apply(this,arguments)})},{key:"getCustomerShopCardInfo",value:(r=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerShopMember/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"getPointChangeRecord",value:(a=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerCard/pointChangeRecord/").concat(r),e.next=3,ye.get(i,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,r){return a.apply(this,arguments)})},{key:"getGradeChangeRecord",value:(n=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerCard/gradeChangeRecord/").concat(r),e.next=3,ye.get(i,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,a,r){return n.apply(this,arguments)})},{key:"shopCardGradeChangeRecord",value:(t=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerShopMember/gradeChangeRecord/").concat(r),e.next=3,ye.get(i,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n,a,r){return t.apply(this,arguments)})}]),e}(),vo=new mo,go=[{key:"changeTime",text:"变更时间",align:"left"},{key:"gradeNameBeforeChange",text:"变更前等级",align:"right"},{key:"gradeNameAfterChange",text:"变更后等级",align:"right"},{key:"changeType",text:"变更类型",align:"left"},{key:"changeSource",text:"变更来源",align:"left"},{key:"gradePeriod",text:"等级有效期",align:"left"}],yo=[{key:"changeTime",text:"变更时间",align:"left"},{key:"changeValue",text:'<span class="change-value">积分变更</span>',align:"right",template:function(e){return l.default.createElement("span",{className:"change-value"},e)}},{key:"actionType",text:"行为类型",align:"left"},{key:"source",text:"变更来源",align:"left"}],bo=[{key:"changeTime",text:"变更时间",align:"center",template:function(e){return"<span>".concat(bt.moment(e.changeTime).format("yyyy-MM-dd"),"</span>")}},{key:"beforeGradeName",text:"变更前等级",align:"center"},{key:"afterGradeName",text:"变更后等级",align:"center"}],wo=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).changeModal=function(){n.setState((function(e){return{isPoint:!e.isPoint}}))},n.renderTable=function(e,t){return l.default.createElement(l.default.Fragment,null,l.default.createElement(a.Table,E({gridManagerName:"customerPointInfo",className:e&&"member_shop"!==t?"":"is-hide",ajaxData:function(e,t){return vo.getPointChangeRecord(n.context.domain,n.context.serverName,t,n.context.uniId)},query:n.query,columnData:yo},ki)),l.default.createElement(a.Table,E({gridManagerName:"customerGradeInfo",className:e||"member_shop"===t?"is-hide":"",ajaxData:function(e,t){return vo.getGradeChangeRecord(n.context.domain,n.context.serverName,t,n.context.uniId)},columnData:go,firstLoading:!1},ki)),l.default.createElement(a.Table,E({gridManagerName:"customerShopGradeInfo",className:"member_shop"===t?"":"is-hide",ajaxData:function(e,t){return vo.shopCardGradeChangeRecord(n.context.domain,n.context.serverName,t,n.context.uniId)},query:n.queryShop,columnData:bo,firstLoading:"member_shop"===t},ki)))},n.state={isPoint:!0},n.query={cardPlanId:n.props.cardPlanId},n.queryShop={shopId:n.props.cardPlanId},n}return C(t,e),w(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.cardPlanId;n===e.cardPlanId?"member_card"===t.currentCardSource?a.Table.setQuery(this.state.isPoint?"customerPointInfo":"customerGradeInfo",{cardPlanId:n}):a.Table.setQuery("customerShopGradeInfo",{shopId:n}):this.setState({isPoint:!0})}},{key:"render",value:function(){var e=this.state.isPoint,t=this.props.currentCardSource;return l.default.createElement("div",{className:"grid-container"},l.default.createElement("div",{className:"grid-container-title"},"member_card"===t&&l.default.createElement(a.Button,{type:e?"primary":"normal",className:"integral",onClick:this.changeModal},"积分变更记录"),l.default.createElement(a.Button,{type:e&&"member_shop"!==t?"normal":"primary",className:"member_shop"===t?"borderRadius":"",onClick:this.changeModal},"等级变更记录")),l.default.createElement("div",{className:"customer-card-grid-wrap"},this.renderTable(e,t)))}}]),t}(l.default.Component);wo.contextType=gi;var ko=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).changeCard=function(e,t){var a=n.props,r=a.cardInfoData,i=a.changeCardPlanId;"left"===e&&n.setState({cardFromLeft:!0,isShowIndex:0===t?r.length-1:t-1},(function(){i(0>t-1?r.length-1:t-1)})),"right"===e&&(n.cardFromLeft=!1,n.setState({cardFromLeft:!1,isShowIndex:t===r.length-1?0:t+1},(function(){i(t+1>r.length-1?0:t+1)})))},n.formatDate=function(e){return e?bt.moment(e).format("yyyy/MM/dd"):"-"},n.dealPhone=function(e){return e&&11===(""+e).length?e.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2"):"--"},n.state={cardFromLeft:!1,isShowIndex:0},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.isShowIndex,r=t.cardFromLeft,i=this.props.cardInfoData,o=i[n];return l.default.createElement("ul",{className:"customer-card-info"},l.default.createElement("li",{key:o.cardNumber},l.default.createElement("div",{className:"card-area"},l.default.createElement("div",{className:"change-card ".concat(1!==i.length?"showChangeBtn":""," ").concat(1===i.length?"hideChangeBtn":""),onClick:function(){return e.changeCard("left",n)}},l.default.createElement(a.Icon,{type:"left",className:"icon-jiantouzuo1 cc-icon"})),l.default.createElement("div",{className:"card ".concat(r?"fromLeft":"fromRight"," vip").concat(+o.grade+1)},l.default.createElement("div",{className:"card-circle-small"}),l.default.createElement("div",{className:"card-circle-big"}),l.default.createElement("header",null,l.default.createElement("span",{className:"card-name"},o.cardName)),l.default.createElement("footer",null,l.default.createElement("span",{className:"card-number"},o.cardNumber),l.default.createElement("span",{className:"card-grade"},o.gradeName))),l.default.createElement("div",{className:"change-card ".concat(1!==i.length?"showChangeBtn":""," ").concat(1===i.length?"hideChangeBtn":""),onClick:function(){return e.changeCard("right",n)}},l.default.createElement(a.Icon,{type:"right",className:"icon-jiantouyou1 cc-icon"})),l.default.createElement("br",null),l.default.createElement("div",{className:"card-page"},l.default.createElement("span",null,n+1),l.default.createElement("span",null,"/"),l.default.createElement("span",null,i.length))),"member_card"===o.source&&l.default.createElement("div",{className:"info"},l.default.createElement("dl",{className:"info-area"},l.default.createElement("dt",null,"会员ID:"),l.default.createElement("dd",null,o.memberId)),l.default.createElement("dl",{className:"info-area"},l.default.createElement("dt",null,"会员手机号:"),l.default.createElement("dd",null,o.bindMobile)),l.default.createElement("dl",{className:"info-area"},l.default.createElement("dt",null,"会员等级:"),l.default.createElement("dd",null,o.gradeName)),l.default.createElement("dl",{className:"info-area"},l.default.createElement("dt",null,"等级有效期:"),l.default.createElement("dd",null,this.formatDate(o.gradePeriod))),l.default.createElement("dl",{className:"info-area"},l.default.createElement("dt",null,"可用积分:"),l.default.createElement("dd",null,o.availablePoint||0)),l.default.createElement("dl",{className:"info-area"},l.default.createElement("dt",null,"即将过期积分:"),l.default.createElement("dd",null,o.upcomingExpiredPoint||0)),l.default.createElement("dl",{className:"info-area"},l.default.createElement("dt",null,"累积获得积分:"),l.default.createElement("dd",null,o.totalPoint||0)),l.default.createElement("dl",{className:"info-area"},l.default.createElement("dt",null,"已消耗积分:"),l.default.createElement("dd",null,o.consumedPoint||0)),l.default.createElement("dl",{className:"info-area"},l.default.createElement("dt",null,"已过期积分:"),l.default.createElement("dd",null,o.expiredPoint||0)))))}}]),t}(l.default.Component),Eo=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).getCardInfoList=g(p().mark((function e(){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,vo.getCustomerCardInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){n.memberCardList=e,n.memberCardList.forEach((function(e){Object.assign(e,{source:"member_card"})}))})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}));case 2:return e.next=4,vo.getCustomerShopCardInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){n.shopCardList=e})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}));case 4:n.shopCardList.forEach((function(e){Object.assign(e,{cardName:e.shopName,source:"member_shop",cardPlanId:e.shopId})})),n.customerCardInfo=n.memberCardList.concat(n.shopCardList),1===n.customerCardInfo.length&&"0"===n.customerCardInfo[0].grade&&n.setState({isMember:!1}),n.setState(n.customerCardInfo.length>0?{customerCardInfo:n.customerCardInfo,cardPlanId:n.customerCardInfo[0].cardPlanId,loading:!1,cardSource:n.customerCardInfo[0].source}:{loading:!1});case 8:case"end":return e.stop()}}),e)}))),n.handleChangeCardPlanId=function(e){n.setState({cardPlanId:n.customerCardInfo[e].cardPlanId,cardSource:n.customerCardInfo[e].source})},n.renderCardInfo=function(e){var t=n.state,r=t.cardPlanId,i=t.cardSource,o=t.isMember;return e.length?l.default.createElement("div",{className:"customer-card-container big-table-area"},l.default.createElement(ko,{cardInfoData:e,changeCardPlanId:n.handleChangeCardPlanId}),o&&l.default.createElement(wo,{uniId:n.context.uniId,currentCardSource:i,cardPlanId:r})):l.default.createElement("div",{className:"customer-card-container big-table-area"},l.default.createElement("div",{className:"customer-card-info"},l.default.createElement("div",{className:"empty-area"},l.default.createElement(a.Icon,{className:"warning",type:"warning-circle-solid"}),l.default.createElement("span",{className:"warning-label"},"当前客户未领取任何会员卡"))))},n.state={loading:!0,cardSource:"",customerCardInfo:[],isMember:!0},n.memberCardList=[],n.shopCardList=[],n.customerCardInfo=[],n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.getCardInfoList()}},{key:"render",value:function(){var e=this.state,t=e.customerCardInfo;return e.loading?l.default.createElement(a.Loading,null):this.renderCardInfo(t)}}]),t}(l.default.Component);Eo.contextType=gi;var Co={isSupportedChannel:!0,youzanFlag:"mainShop",requiredSelected:!0,limit:100},So=l.default.createElement("svg",{id:"icon-good-review",viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M157.371 764.163c-17.753 0.176-31.991 14.678-31.816 32.431 0.088 17.665 14.502 31.903 32.255 31.903h0.176c2.813 0 138.16 0.879 221.918 94.656 6.416 7.119 15.205 10.723 23.993 10.723 7.646 0 15.293-2.724 21.444-8.174 13.271-11.865 14.414-32.168 2.549-45.439-103.884-116.275-263.84-116.452-270.519-116.1z"}),l.default.createElement("path",{d:"M833.407 590.409c69.256-117.682 85.163-270.080 39.462-379.414-4.922-11.777-16.347-19.511-29.091-19.775l-9.844-0.088c-62.928 0-121.462 12.129-174.634 36.21-37.792-70.311-79.627-121.725-127.175-156.617-1.318-1.318-2.813-2.461-4.395-3.516-9.141-5.888-20.653-6.855-30.585-2.549-3.164 1.318-6.065 3.164-8.526 5.362-47.371 34.54-90.437 86.745-128.053 155.562-52.117-22.939-109.332-34.54-170.678-34.54l-9.668 0.088c-12.744 0.263-24.169 7.998-29.091 19.775-45.702 109.244-29.794 261.731 39.462 379.326 59.676 101.335 152.135 164.439 261.028 178.413 2.989 0.967 6.153 1.406 9.404 1.406h18.544v159.605c0 17.753 14.414 32.168 32.167 32.168s32.167-14.414 32.167-32.168v-159.429h19.072c3.252 0 6.416-0.528 9.492-1.318 108.805-14.063 201.352-77.254 260.94-178.501z"}),l.default.createElement("path",{d:"M866.453 764.076c-6.153-0.263-162.857-0.352-270.431 115.748-12.129 13.008-11.25 33.397 1.758 45.439 6.24 5.801 14.063 8.614 21.884 8.614 8.614 0 17.314-3.427 23.554-10.372 87.361-94.216 219.984-95.095 222.709-95.095h0.263c17.665 0 31.991-14.239 32.167-31.816 0.175-17.841-14.063-32.343-31.903-32.519z"})),_o=l.default.createElement("svg",{id:"icon-medium-review",viewBox:"0 0 1025 1024"},l.default.createElement("path",{d:"M69.811 771.717c-15.82 17.403-3.252 47.373 0 60.469 121.641-27.070 211.377 42.803 242.93 98.701 15.82-0.175 55.81-4.922 70.049-9.844-2.109-50.273-119.443-168.047-312.979-149.326M537.565 927.459c30.146 10.372 47.109 6.065 65.918 2.637 52.646-85.518 133.682-103.711 248.291-107.754 5.625-18.721 17.578-32.168 11.162-50.801-71.279-2.109-252.95-3.955-325.372 155.918M749.997 286.56c0 0 2.549-165.762-58.887-191.602-61.348-25.84-197.227 86.221-197.227 86.221s-157.588-152.842-176.133-112.325c-45.615 100.195-82.793 177.803-108.984 259.102-28.213 160.489 28.565 281.338 153.896 354.727-2.373 5.273-4.219 12.041-5.537 20.567-3.076 69.609 56.953 216.299 81.036 255.849 31.026 0 79.628 2.901 79.628 2.901s-77.695-141.943-82.354-245.127c144.404 52.207 284.063 2.813 395.771-132.891 50.713-61.7 87.539-144.58 130.166-238.096 15.293-33.75-211.377-59.326-211.377-59.326z"})),xo=l.default.createElement("svg",{id:"icon-poor-review",viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M98.481 783.233c-11.162 0.088-20.127 9.229-20.039 20.391s9.141 20.215 20.303 20.215v0c0.352 0 26.279 0.088 62.753 12.393 48.778 16.348 92.548 45.351 129.901 86.308 4.043 4.395 9.492 6.592 14.942 6.592 4.834 0 9.756-1.758 13.623-5.273 8.262-7.559 8.877-20.391 1.318-28.653-101.863-111.707-217.878-111.971-222.799-111.971v0zM98.481 783.233z"}),l.default.createElement("path",{d:"M893.264 784.815c-8.349-0.528-147.039-8.086-257.253 110.213-7.646 8.174-7.207 21.006 0.967 28.653 3.867 3.604 8.877 5.45 13.799 5.45 5.45 0 10.81-2.197 14.854-6.416 41.308-44.296 91.669-74.091 149.764-88.681 43.153-10.81 73.827-8.789 75.058-8.614 0.528 0 0.967 0.088 1.494 0.088 11.162 0 20.303-9.053 20.303-20.303 0-10.987-8.349-19.776-18.984-20.391v0zM893.264 784.815z"}),l.default.createElement("path",{d:"M944.064 537.671c-28.037-68.378-90.527-131.043-139.92-176.921 47.9-30.762 82.88-72.246 104.061-123.573 3.428-8.174 1.055-17.666-5.801-23.291-59.589-49.746-144.227-92.46-238.267-120.321-98.172-29.092-196.784-38.496-277.643-26.455-87.187 12.92-153.894 50.624-192.917 108.894-0.703 0.791-1.318 1.67-1.934 2.637-5.010 7.998-19.864 40.429-21.533 44.033-3.164 6.943-7.646 16.963-11.162 25.224-1.582 3.867-2.813 6.856-3.604 9.141-0.791 2.109-1.231 4.131-1.583 5.977-7.031 27.070-8.614 55.194-4.922 83.759-0.263 1.318-0.352 2.637-0.352 4.043 0 3.428 1.318 85.957 41.22 202.322 23.379 68.027 55.194 133.68 94.569 195.114 49.218 76.728 110.565 146.951 182.195 208.825 3.867 3.34 8.526 4.922 13.271 4.922 5.713 0 11.338-2.373 15.381-7.031 7.295-8.438 6.416-21.27-2.109-28.565-68.29-59.062-126.824-126.034-173.845-199.070-37.616-58.447-68.027-120.936-90.439-185.71-5.537-16.172-10.372-31.816-14.59-46.845 104.588 139.568 304.010 241.344 444.457 260.856 0.967 0.088 1.846 0.176 2.813 0.176 6.856 0 13.359-3.516 17.138-9.404 36.473-57.216 49.218-117.596 36.738-161.276 126.912 6.504 212.253-19.161 216.12-20.391 5.45-1.67 9.932-5.537 12.393-10.723 2.286-5.185 2.461-11.075 0.263-16.348v0zM944.064 537.671z"})),Ao=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).ajaxData=function(e,t){if(n.query.shopId){var a=f(f({},t),n.query);return Qi.getCustomerOrderRateList(n.context.domain,n.context.serverName,a).then((function(e){return e}))}return Promise.resolve({list:[],total:0})},n.isProductNameOverWidth=function(e){return bt.getTextWidth(e)/2+20>300?e:""},n.reformTime=function(e){return e?bt.moment(e).format("yyyy-MM-dd HH:mm:ss"):"--"},n.handleChangePlat=function(e){Qi.getShopList(n.context.domain,n.context.serverName,e).then((function(t){n.setState({shopList:[{shopId:"",shopName:"不限"}].concat(N(t)),nowShop:"",nowPlat:e}),a.Table.setQuery(n.gridManagerName,{platCode:e})})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},n.handleChangeShop=function(e){n.setState({nowShop:e}),a.Table.setQuery(n.gridManagerName,{platCode:n.state.nowPlat,shopId:e})},n.handleCopy=function(e){bt.copyText(e),a.Message.success("复制成功",{contextContainer:document.getElementsByClassName("cloud-modal-body")[0]})},n.selectShops=function(e){var t=e.map((function(e){return e.uniShopId.replace("WX|","WEIXIN|")})),r=e.map((function(e){return e.id}));n.setState({shops:t,selectedShop:r,visible:!1}),n.query.shopId=t.join(","),a.Table.setQuery(n.gridManagerName,{shopId:t.join(",")})},n.onClose=function(){n.setState({visible:!1})},n.openSelectShops=function(e){n.setState({visible:!0,isOpenSelectedTab:e||!1})},n.gridManagerName="customer-order-rate-list",n.state={platList:[],shopList:[{shopId:"",shopName:"不限"}],nowPlat:"",nowShop:"",loading:!0,visible:!1,shops:[],selectedShop:[],isOpenSelectedTab:!1},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){var e=this;this.query={oneYearLater:!1,uniId:this.context.uniId},Qi.getCustomerInfo(this.context.domain,this.context.serverName,this.context.uniId).then((function(t){var n=t.map((function(e){return"MGJ"===e.platCode?"mogujie":e.platCode.toLocaleLowerCase()}));e.context.selectUniShops.length>0?(e.query.shopId=e.context.selectUniShops.join(","),e.setState({shops:e.context.selectUniShops,platList:n,selectedShop:e.context.selectShops,loading:!1})):Qi.getFirstShopList(e.context.domain,{tenantName:e.context.tenantId,channel:n.join(","),permissionType:!0,youzanFlag:"mainShop",pageNum:1,pageSize:1}).then((function(t){0!==t.length?(e.query.shopId=t[0].uniShopId,e.setState({shops:[t[0].uniShopId],platList:n,selectedShop:[t[0].id],loading:!1})):e.setState({shops:[],platList:n,selectedShop:[],loading:!1})}))})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))}},{key:"render",value:function(){var e=this,t=[{key:"productName",text:"商品评价",align:"left",template:function(t,n){return l.default.createElement("div",{className:"order-list",style:{padding:0}},n.rates.map((function(t){return l.default.createElement("div",{className:"order-item",key:t.detailUrl},l.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:t.detailUrl?t.detailUrl:null},l.default.createElement(Io,{picUrl:t.picUrl})),l.default.createElement("span",{className:"product-name"},l.default.createElement(a.Tooltip,{content:e.isProductNameOverWidth(t.productName)},l.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:t.detailUrl?t.detailUrl:null},t.productName)),l.default.createElement("p",null,l.default.createElement("span",{className:"sku"},t.skuDetail||"--"))),l.default.createElement("div",{className:"rate-area"},l.default.createElement("div",{className:"rate-time"},"评价时间:",e.reformTime(t.estimateTime),"good"===t.estimateResult&&So,"neutral"===t.estimateResult&&_o,"bad"===t.estimateResult&&xo),l.default.createElement("div",{className:"rate-content"},t.estimateContent),l.default.createElement("div",{className:t.estimateReplay?"rate-replay":"hideLabel"},"回复:",t.estimateReplay||"--")))})))}}],n={interval:6,topTemplate:function(t){return l.default.createElement("div",{className:"order-list"},l.default.createElement("span",null,t.platCode," - ",t.shopName),l.default.createElement("span",{className:"order-state-info"},l.default.createElement("span",null,"订单号:",l.default.createElement(a.Tooltip,{content:"双击可复制"},l.default.createElement("span",{onDoubleClick:function(){e.handleCopy(t.orderId)}},t.orderId))),l.default.createElement("span",null,"下单时间:",t.created||"--"," ")))}};return this.state.loading?l.default.createElement(a.Loading,null):l.default.createElement("div",{className:"customer-order-area"},l.default.createElement("div",{className:"title-label-tips"},l.default.createElement("label",{className:"title-label-require"},"店铺:"),l.default.createElement(a.Button,{size:"small",type:"link",onClick:function(){return e.openSelectShops(!1)},style:{marginRight:"4px"}},"选择店铺"),this.state.shops.length?l.default.createElement("span",{className:"shop-list"},"已选择",l.default.createElement(a.Button,{size:"small",type:"link",onClick:function(){return e.openSelectShops(!0)}},this.state.shops.length),"个店铺"):l.default.createElement("span",{style:{color:"#f5222d"}}," 必须选择一个店铺 ")),l.default.createElement(a.Table,E({gridManagerName:this.gridManagerName,ajaxData:this.ajaxData,query:this.query,columnData:t},ki,{fullColumn:n})),this.state.visible&&l.default.createElement(fo,{visible:this.state.visible,onOk:this.selectShops,onClose:this.onClose,onCancel:this.onClose,option:Object.assign({},Co,{selectedShop:this.state.selectedShop,serverName:this.context.domain,permissionType:!0,tenantId:this.context.tenantId,platform:this.state.platList,isOpenSelectedTab:this.state.isOpenSelectedTab})}))}}]),t}(l.default.Component);function Io(e){var n=e.picUrl;return l.default.createElement(t.Fragment,null,n&&l.default.createElement("img",{width:"70px",height:"70px",src:n,alt:""}),!n&&l.default.createElement("div",{className:"default-img"},"暂无图片"))}Ao.contextType=gi;var No=function(){function e(){y(this,e)}var t,n,a,r,i,o,l,s,u;return w(e,[{key:"getCustomerMarkedTagList",value:(u=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/new/tag/?tagType=").concat(r),e.next=3,ye.get(i);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return u.apply(this,arguments)})},{key:"saveDefineTag",value:(s=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/tag"),e.next=3,ye.post(i,r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return s.apply(this,arguments)})},{key:"updateDefineTag",value:(l=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/tag"),e.next=3,ye.put(i,r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return l.apply(this,arguments)})},{key:"getCustomerCanSelectTagList",value:(o=g(p().mark((function e(t,n,a,r,i,o){var l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l="".concat(t,"/").concat(n,"/tagManage/").concat(r,"/groupInfo?platCode=").concat(i,"&shopId=").concat(o),e.next=3,ye.get(l);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a,r,i){return o.apply(this,arguments)})},{key:"DeleteCustomerDefineTag",value:(i=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/tag/").concat(r),e.next=3,ye.delete(i);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return i.apply(this,arguments)})},{key:"getRFMTagsInfo",value:(r=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerRfm/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"getSoloPlatRfmInfo",value:(a=g(p().mark((function e(t,n,a,r,i){var o;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(t,"/").concat(n,"/customerRfm/").concat(a,"?platCode=").concat(r,"&shopId=").concat(i),e.next=3,ye.get(o);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,r,i){return a.apply(this,arguments)})},{key:"getPlatShopList",value:(n=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerTag/plat/shop?uniId=").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,a){return n.apply(this,arguments)})},{key:"getMarkedOutsideTagList",value:(t=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/qw/tag/?tagType=").concat(r),e.next=3,ye.get(i);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n,a,r){return t.apply(this,arguments)})}]),e}(),Do=new No,To=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).getCanSelectedTagList=function(){n.state.platCode&&n.state.shopId?Do.getCustomerCanSelectTagList(n.context.domain,n.context.serverName,n.context.uniId,1,n.state.platCode,n.state.shopId).then((function(e){n.setState({canSelectedList:n.formatCanSelectTagList(e.data,n.param.tagId)})})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")})):n.setState({canSelectedList:[]})},n.getPlatShopList=function(){Do.getPlatShopList(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){n.setState({platShopList:e.filter((function(e){return"unlimited"!==e.platCode&&0===e.shops.length})),platShopTree:n.formatPlatShopList(e)})})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},n.selectLabel=function(e){var t=n.props,a=t.markedDefineTagList,r=t.onSelectedTag,i=t.valueNumberOption,o=[],l=e.tagId,s=e.tagName,u=e.tagType,c=e.optionType;n.param.tagId!==l&&(n.tagValueList=e.tagValue,a.forEach((function(t){t.tagId===e.tagId&&t.tagValue.length&&(o=t.tagValue,n.isUpdate=!0)})),n.param={tagId:l,tagName:s,tagType:u,tagValue:o||[],optionType:c,valueNumberOption:i||e.valueNumberOption,isUpdate:n.isUpdate},r(n.param))},n.onChangeValue=function(e,t){var a=n.props.onSelectedTag,r="",i=[];switch(t){case"monthDate":i=e&&e.split("/"),r="".concat(i[0],"-").concat(i[1]);break;case"date":r=e&&bt.moment(e).format("yyyy-MM-dd");break;case"input":r=e.target.value;break;case"singleSelect":case"multipleSelect":r=e}var o=f(f({},n.param),{},{isUpdate:n.isUpdate,tagValue:"multipleSelect"===t?r:[r]});n.param=f({},o),a(o)},n.selectLevel=function(e){n.props.removeTag(),n.param={tagId:"",tagValue:[],tagType:"",optionType:"",valueNumberOption:"",selectedTag:""},n.setState({labelLevel:e,shopId:"all"===e||"platform"===e?"all":"",platCode:"all"===e?"all":"",selectShop:{}},(function(){n.getCanSelectedTagList()}))},n.selectedPlate=function(e){n.props.removeTag(),n.setState({platCode:e},(function(){n.getCanSelectedTagList()}))},n.selectedShop=function(e){n.props.removeTag();var t=e.shopId;n.setState({shopId:t,platCode:e.platCode,selectShop:{label:e.shopName,value:t}},(function(){n.getCanSelectedTagList()}))},n.formatCanSelectTagList=function(e,t){var a=JSON.parse(JSON.stringify(e));return a.forEach((function(e){var a=e;a.label=e.groupName,a.value=e.groupId,a.children=e.tagList,a.children.forEach((function(e){var t=e;t.label=e.tagName,t.value=e.tagId})),e.tagList.forEach((function(e){e.tagId===t&&(n.tagValueList=e.tagValue)}))})),a.filter((function(e){return e.children.length>0}))},n.formatPlatShopList=function(e){var t=JSON.parse(JSON.stringify(e));return t.forEach((function(e){var t=e;t.label=e.platName,t.value=e.platCode,t.children=e.shops,t.children.forEach((function(t){var n=t;n.label=t.shopName,n.value=t.shopId,n.platCode=e.platCode}))})),t.filter((function(e){return e.children.length>0}))};var r=e.selectedTag,i=r.tagId,o=r.optionType,l=r.valueType,s=r.valueNumberOption,c=r.platCode,d=r.shopId,p=r.shopName;n.param={tagId:i||"",tagValue:r.tagValue||"",tagName:r.tagName||"",tagType:0===l?0:l||"",optionType:0===o?0:o||"",valueNumberOption:0===s?0:s||""};var h="";return"all"===c?h="all":"all"===d?h="platform":d&&(h="shop"),n.state={labelLevel:h||"all",canSelectedList:[],platShopList:[],platCode:c||"all",shopId:d||"all",platShopTree:[],selectShop:d?{label:p,value:d}:{}},n.isUpdate=!!i,n.tagValueList=[],n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.getCanSelectedTagList(),this.getPlatShopList()}},{key:"render",value:function(){var e=this,t=this.param,n=t.tagId,r=t.tagName,i=t.tagType,o=t.optionType,s=t.valueNumberOption,u=this.props.selectedTag,c=this.state,d=c.labelLevel,f=c.platCode,p=c.selectShop;this.tagValueList.forEach((function(e){var t=e;t.value=e.itemVal,t.label=e.itemVal}));var h={value:u.tagId||n,label:u.tagName||r};return l.default.createElement("section",{className:"add-tag-modal"},l.default.createElement("div",{className:"tag-type-area"},l.default.createElement("label",null,"标签层级:"),l.default.createElement(a.Select,{dataSource:Ii,defaultValue:"all",style:{width:"220px"},value:d,onChange:this.selectLevel,disabled:u.tagId})),"platform"===d&&l.default.createElement("div",{className:"tag-type-area"},l.default.createElement("label",null,"平台:"),l.default.createElement(a.Select,{dataSource:this.state.platShopList,labelKey:"platName",valueKey:"platCode",value:f,style:{width:"220px"},onChange:this.selectedPlate,disabled:u.tagId,placeholder:"请选择平台"})),"shop"===d&&l.default.createElement("div",{className:"tag-type-area"},l.default.createElement("label",null,"店铺:"),l.default.createElement(a.TreeSelect,{dataSource:this.state.platShopTree,value:p,defaultOpen:!1,disabled:u.tagId,searchable:!0,onChange:this.selectedShop,placeholder:"请选择店铺",searchPlaceholder:"搜索"})),l.default.createElement("div",{className:"tag-type-area"},l.default.createElement("label",null,"选择标签:"),l.default.createElement(a.TreeSelect,{dataSource:this.state.canSelectedList,value:u&&[h],defaultOpen:!1,searchable:!0,disabled:u.tagId||!this.state.shopId||!this.state.platCode,onChange:this.selectLabel,placeholder:"请选择标签",searchPlaceholder:"搜索"}),l.default.createElement("label",null,"标签类型:"),l.default.createElement("span",null,function(e){var t="";switch(e){case 0:t="日期型";break;case 1:t="字符输入型";break;case 2:t="字符选择型";break;case 3:t=0===o?"数值输入,整数":"数值输入,小数";break;case 4:t="数值选择型";break;case 5:t="生日类型";break;default:t="请选择标签"}return t}(i))),l.default.createElement("div",{className:i||0===i?"tag-type-area":"hide-node"},l.default.createElement("label",null,0===i?"选择日期:":1===i||3===i?"标签值:":"选择标签值:"),0===i&&0===o&&l.default.createElement(a.Datepicker,{minYear:1900,maxYear:2100,width:"220px",defaultValue:""+this.param.tagValue||u.tagValue&&""+u.tagValue,position:"auto",containerEleClass:"cloud-modal-body",onChange:function(t){return e.onChangeValue(t,"date")},placeholder:"请选择年月日"}),0===i&&1===o&&l.default.createElement(a.Datepicker.YearMonthPicker,{min:"1900/01",max:"2100/12",width:"220px",position:"auto",containerEleClass:"cloud-modal-body",defaultValue:""+this.param.tagValue||u.tagValue&&""+u.tagValue,onChange:function(t){return e.onChangeValue(t,"monthDate")},placeholder:"请选择年月"}),1===i&&l.default.createElement(a.Input,{hasClear:!0,maxLength:"20",defaultValue:""+this.param.tagValue||u.tagValue&&""+u.tagValue,placeholder:"请输入字符标签值",onChange:function(t){return e.onChangeValue(t,"input")}}),3===i&&0===o&&l.default.createElement(a.Input,{hasClear:!0,defaultValue:""+this.param.tagValue||u.tagValue&&""+u.tagValue,placeholder:"请输入整数标签值",onChange:function(t){return e.onChangeValue(t,"input")}}),3===i&&1===o&&l.default.createElement(a.Input,{hasClear:!0,defaultValue:""+this.param.tagValue||u.tagValue&&""+u.tagValue,placeholder:"请输入小数标签值",onChange:function(t){return e.onChangeValue(t,"input")}}),1===s&&this.tagValueList.length>0&&l.default.createElement("div",{className:"select-tag-value"},l.default.createElement(a.Checkbox.Group,{value:this.param.tagValue||u.tagValue||[],layout:"h",onChange:function(t){return e.onChangeValue(t,"multipleSelect")}},this.tagValueList.length>0&&this.tagValueList.map((function(e){return l.default.createElement(a.Checkbox,{key:e.itemId,value:e.value},e.value)})))),0===s&&l.default.createElement("div",{className:"select-tag-value"},l.default.createElement(a.Radio.Group,{defaultValue:""+this.param.tagValue||u.tagValue&&""+u.tagValue||null,horizontal:!0,onChange:function(t){return e.onChangeValue(t,"singleSelect")}},this.tagValueList.length>0&&this.tagValueList.map((function(e){return l.default.createElement(a.Radio,{key:e.itemId,value:e.itemVal},e.itemVal)}))))))}}]),t}(t.Component);To.contextType=gi;Se();var Oo=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).getMarkedDefineTagList=function(){Do.getCustomerMarkedTagList(n.context.domain,n.context.serverName,n.context.uniId,1).then((function(e){console.log(e.data);var t=function(e){var t=Object.keys(e).reduce((function(t,n){for(var a=[],r=0;e[n].length>r;r++)for(var i=0;e[n][r].shops.length>i;i++)a.push({title:"all"===n?"全渠道标签":"all"==="".concat(e[n][r].shops[i].shopName)?"".concat(e[n][r].platName):"".concat(e[n][r].platName," | ").concat(e[n][r].shops[i].shopName),shopId:e[n][r].shops[i].shopId,shopName:e[n][r].shops[i].shopName,platCode:e[n][r].platCode,expand:!0,tags:e[n][r].shops[i].tags});return t.concat(a)}),[]);return t}(e.data);n.setState({defineTagList:t},(function(){n.calcTagHeight()}))})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},n.openTagModal=function(e){n.setState({visibleModal:!0,selectedTag:e||{}})},n.deleteTag=function(e){a.Modal.confirm({body:"确认删除该标签吗?",onOk:function(){Do.DeleteCustomerDefineTag(n.context.domain,n.context.serverName,n.context.uniId,e).then((function(){n.getMarkedDefineTagList()})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},onCancel:function(){}})},n.handleOkModal=function(){var e=n.state,t=e.tagId,r=e.tagType,i=e.tagValue,o=e.optionType,l=e.valueNumberOption,s=e.isUpdate,u=e.selectedTag;if(n.checkTagValue({tagId:t||u.tagId,tagType:r,tagValue:i.length>0||1===l?i:u.tagValue,optionType:o,valueNumberOption:l})){var c=[],d=i.length?i:u.tagValue;3===r&&(c=n.numFloat(""+d,o));var f={uniId:n.context.uniId,tagId:t||u.tagId,tagValue:3===r?c:d};n.setState({isLoading:!0}),Do[!t||s?"updateDefineTag":"saveDefineTag"](n.context.domain,n.context.serverName,n.context.uniId,f).then((function(){a.Message.success("保存成功"),n.setState({isLoading:!1},(function(){n.handleCloseModal(),n.getMarkedDefineTagList()}))})).catch((function(e){n.setState({isLoading:!1},(function(){a.Message.error(e.response.data.msg||"打标异常,未能成功打标")}))}))}},n.deleteZero=function(e){if(0==+e)return"0";return e.replace(/^0+(?!\.)/,"")},n.numFloat=function(e,t){var a="";if(e||(a=e),0===t&&(a=n.deleteZero(e)),1===t){var r=n.deleteZero(e),i=r&&(""+r).split(".");1===i.length&&(a="".concat(""+r,".00")),i.length>1&&(2>i[1].length&&(a="".concat(""+r,"0")),a=r)}return[a]},n.checkTagValue=function(e){var t=e.tagType,n=e.tagValue,r=e.optionType;return e.tagId?n&&n.length?1!==t||Ei.labelValueString.test(""+n)?3!==t||1!==r||Ei.labelValueNumberDec.test(""+n)?!(3===t&&0===r&&!Ei.labelValueNumberInt.test(""+n))||(a.Message.error("请输入标签值,支持15位整数"),!1):(a.Message.error("请输入标签值支持15位整数,最多2位小数"),!1):(a.Message.error("字符输入型只支持中文、英文、数字、下划线、减号、."),!1):(a.Message.error("标签值不能为空"),!1):(a.Message.error("请选择标签"),!1)},n.onSelectedTag=function(e){n.setState({tagId:e.tagId,tagType:e.tagType,tagValue:e.tagValue,optionType:e.optionType,valueNumberOption:e.valueNumberOption,isUpdate:e.isUpdate})},n.handleCloseModal=function(){n.setState({tagId:"",tagValue:[],tagType:"",optionType:"",valueNumberOption:"",selectedTag:"",visibleModal:!1})},n.removeTag=function(){n.setState({tagId:"",tagValue:[],tagType:"",optionType:"",valueNumberOption:"",selectedTag:""})},n.calcTagHeight=function(){},n.toggleShowTag=function(e){var t=JSON.parse(JSON.stringify(n.state.defineTagList));t=t.map((function(t){return e.shopId===t.shopId&&e.platCode===t.platCode&&(t.expand=!t.expand),t})),n.setState({defineTagList:t})},n.state={tagId:"",tagType:"",optionType:"",valueNumberOption:"",tagValue:[],selectedTag:"",defineTagList:[],isUpdate:!1,visibleModal:!1,showMoreTag:!1,hideMore:!0,isLoading:!1},n.tagarea="",n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.getMarkedDefineTagList()}},{key:"render",value:function(){var e=this;return l.default.createElement("div",{className:"marked-tag-area"},l.default.createElement("div",{className:"define-area"},l.default.createElement("ul",{className:"tagList",id:"tagList"},l.default.createElement("li",{className:"tag-type-label"},"自定义标签"),l.default.createElement("li",{className:"add-tag",onClick:this.openTagModal},l.default.createElement(a.Icon,{type:"plus",style:{fontSize:"12px"}}),"新增标签")),this.state.hideMore,this.state.defineTagList.map((function(t){return l.default.createElement("div",{className:tt("label-level",t.expand?"expand":""),key:t.title},l.default.createElement("div",{className:"expand-content",onClick:function(){e.toggleShowTag(t)}},l.default.createElement(a.Icon,{type:t.expand?"up":"down",style:{fontSize:12,color:"rgba(0,0,0,0.45)"}})),l.default.createElement("div",{className:"label-content"},l.default.createElement("div",{className:"label-content-title"},t.title),l.default.createElement("div",{className:"label-content-tag-list"},t.tags.map((function(n){return l.default.createElement("div",{className:"label-content-tag",key:n.tagId},l.default.createElement("span",{className:"label-content-label-value",onClick:function(){return e.openTagModal(Object.assign({platCode:t.platCode,shopId:t.shopId,shopName:t.shopName},n))}},"".concat(n.tagName," | ").concat(n.tagValue.join("、"))),l.default.createElement(a.Icon,{type:"close",onClick:function(){return e.deleteTag(n.tagId)}}))})),l.default.createElement("img",{src:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Eicon%2Fbtn%2Fadd-box-fill%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%AE%A2%E6%88%B7%E8%A7%86%E5%9B%BE%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%AE%A2%E6%88%B7%E8%A7%86%E5%9B%BE-%E5%AE%A2%E6%88%B7%E6%A0%87%E7%AD%BE%22%20transform%3D%22translate%28-537.000000%2C%20-488.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22icon%2Fbtn%2Fadd-box-fill%22%20transform%3D%22translate%28536.000000%2C%20487.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2216%22%20height%3D%2216%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M8%2C1%20C11.8659932%2C1%2015%2C4.13400675%2015%2C8%20C15%2C11.8659932%2011.8659932%2C15%208%2C15%20C4.13400675%2C15%201%2C11.8659932%201%2C8%20C1%2C4.13400675%204.13400675%2C1%208%2C1%20Z%20M8%2C2.2%20C4.79674845%2C2.2%202.2%2C4.79674845%202.2%2C8%20C2.2%2C11.2032515%204.79674845%2C13.8%208%2C13.8%20C11.2032515%2C13.8%2013.8%2C11.2032515%2013.8%2C8%20C13.8%2C4.79674845%2011.2032515%2C2.2%208%2C2.2%20Z%20M8.6%2C5.00769836%20L8.6%2C7.407%20L11%2C7.40769836%20L11%2C8.60769836%20L8.6%2C8.607%20L8.6%2C11.0076984%20L7.4%2C11.0076984%20L7.4%2C8.607%20L5%2C8.60769836%20L5%2C7.40769836%20L7.4%2C7.407%20L7.4%2C5.00769836%20L8.6%2C5.00769836%20Z%22%20id%3D%22%E9%87%91%E9%A2%9D%22%20fill-opacity%3D%220.25%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",style:{width:"14px",height:"22px"},onClick:function(){return e.openTagModal({platCode:t.platCode,shopId:t.shopId,shopName:t.shopName})}}))))}))),l.default.createElement(a.Modal,{title:"选择标签",modalStyle:{maxWidth:"540px",maxHeight:"400px",minHeight:"200px",minWidth:"540px"},bodyStyle:{maxWidth:"500px",minHeight:"200px",minWidth:"500px",fontSize:"12px",overflow:"auto"},visible:this.state.visibleModal,clickMaskCanClose:!1,onOk:this.handleOkModal,onCancel:this.handleCloseModal,onClose:this.handleCloseModal},l.default.createElement(a.Loading,{loading:this.state.isLoading,layer:!0},l.default.createElement(To,{markedDefineTagList:this.state.defineTagList,onSelectedTag:this.onSelectedTag,selectedTag:this.state.selectedTag,removeTag:this.removeTag}))))}}]),t}(l.default.Component);Oo.contextType=gi;var Mo=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).getMarkedOutsideTagList=function(){Do.getMarkedOutsideTagList(n.context.domain,n.context.serverName,n.context.uniId,1).then((function(e){var t=function(e){e=e||{};var t=[];for(var n in e)t.push({title:n,tags:e[n],expand:!0});return console.log(t,"arr"),t}(e.data);n.setState({outsideTagList:t})})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},n.toggleShowTag=function(e){var t=JSON.parse(JSON.stringify(n.state.outsideTagList));t=t.map((function(t){return e.shopId===t.shopId&&e.platCode===t.platCode&&(t.expand=!t.expand),t})),n.setState({outsideTagList:t})},n.state={loading:!1,hideMore:!0,outsideTagList:[]},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.getMarkedOutsideTagList()}},{key:"render",value:function(){var e=this;return 0===this.state.outsideTagList.length?null:l.default.createElement("div",{className:"marked-tag-area"},l.default.createElement("div",{className:"define-area"},l.default.createElement("ul",{className:"tagList",id:"tagList"},l.default.createElement("li",{className:"tag-type-label"},"企业微信标签")),this.state.hideMore,this.state.outsideTagList.map((function(t){return l.default.createElement("div",{className:tt("label-level",t.expand?"expand":""),key:t.title},l.default.createElement("div",{className:"expand-content",onClick:function(){e.toggleShowTag(t)}},l.default.createElement(a.Icon,{type:t.expand?"up":"down",style:{fontSize:12,color:"rgba(0,0,0,0.45)"}})),l.default.createElement("div",{className:"label-content"},l.default.createElement("div",{className:"label-content-title"},t.title),l.default.createElement("div",{className:"label-content-tag-list"},t.tags.map((function(e){return l.default.createElement("div",{className:"label-content-tag",key:e.tagId},l.default.createElement("span",{className:"label-content-label-value"},"".concat(e.tagName," | ").concat(e.displayTagValue.join("、"))))})))))}))))}}]),t}(l.default.Component);Mo.contextType=gi;var Fo=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).getRFMTagsInfo=function(){Do.getRFMTagsInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){e.forEach((function(e){e.shopList.unshift({shopName:"不限",shopId:""})})),n.setState({rfmTagList:e})})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},n.getPlat=function(e){var t,n={},a=O(yi);try{for(a.s();!(t=a.n()).done;){var r=t.value;n[r.plat]=r}}catch(e){a.e(e)}finally{a.f()}return n[e]},n.changeShop=function(e,t){n.setState({activeShop:t,activePlat:e});var a=JSON.parse(JSON.stringify(n.state.rfmTagList));Do.getSoloPlatRfmInfo(n.context.domain,n.context.serverName,n.context.uniId,e,encodeURI(t)).then((function(r){a.forEach((function(n,i){var o=n.shopList.find((function(e){return encodeURI(e.shopId)===encodeURI(t)}));n.platCode===e&&o&&o.shopId===t&&(a[i]=f(f({},r[0]),{},{shopList:n.shopList,platCode:e}))})),n.setState({rfmTagList:a})}))},n.setLifeCycle=function(e){return e>365?"".concat(e/365,"年"):"".concat(e,"天")},n.state={rfmTagList:[],activeShop:"",activePlat:""},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.getRFMTagsInfo()}},{key:"render",value:function(){var e=this,t=this.state.rfmTagList;return l.default.createElement("div",{className:"rfm-tag-area"},t&&!t.length?l.default.createElement(Lo,null):l.default.createElement("ul",null,l.default.createElement("li",{className:"tag-type-label"},"RFM标签"),t.map((function(t){return l.default.createElement("li",{key:t.platCode},l.default.createElement("div",{className:"shop-area"},l.default.createElement("span",{className:"shop-icon"},l.default.createElement(Po,{title:e.getPlat(t.platCode).platName,platCode:t.platCode})),l.default.createElement("span",{className:"choose-shop-label"},"选择店铺:"),"OFFLINE"!==t.platCode?l.default.createElement("ul",{className:"shop-list"},t.shopList.map((function(n){return l.default.createElement("li",{role:"presentation",className:e.state.activeShop===n.shopId&&e.state.activePlat===t.platCode?"active-shop":null,key:n.shopId,onClick:function(){return e.changeShop(t.platCode,n.shopId)}},n.shopName)}))):l.default.createElement(a.Select,{onChange:function(t){return e.changeShop("OFFLINE",t)},defaultValue:"",placeholder:"请选择店铺",dataSource:t.shopList,labelKey:"shopName",valueKey:"shopId"})),l.default.createElement("div",{className:"label-list-area ".concat(t.activePhase?"four-col":"three-col")},l.default.createElement("dl",null,l.default.createElement("dt",null,"总购买金额:"),l.default.createElement("dd",null,t.allPayment?"¥".concat(t.allPayment):"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"首次购买日期:"),l.default.createElement("dd",null,t.firstCreated?t.firstCreated.slice(0,10):"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"最近一年购买金额:"),l.default.createElement("dd",null,t.yearPayment?"¥".concat(t.yearPayment):"--")),t.activePhase&&l.default.createElement("dl",null,l.default.createElement("dt",null,"最近".concat(e.setLifeCycle(t.activePhase),"购买金额:")),l.default.createElement("dd",null,t.dayPayment4Period?"¥".concat(t.dayPayment4Period):"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"总购买次数:"),l.default.createElement("dd",null,t.allCountBuy?"".concat(t.allCountBuy,"次"):"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"最近一次购买日期:"),l.default.createElement("dd",null,t.lastCreated?t.lastCreated.slice(0,10):"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"最近一年购买次数:"),l.default.createElement("dd",null,t.yearCountBuy?"".concat(t.yearCountBuy,"次"):"--")),t.activePhase&&l.default.createElement("dl",null,l.default.createElement("dt",null,"最近".concat(e.setLifeCycle(t.activePhase),"购买次数:")),l.default.createElement("dd",null,t.dayBuyTimes4period?"".concat(t.dayBuyTimes4period,"次"):"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"平均客单价:"),l.default.createElement("dd",null,t.allAvgPayment?"¥".concat(t.allAvgPayment):"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"最近一次购买金额:"),l.default.createElement("dd",null,t.lastPayment?"¥".concat(t.lastPayment):"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"最近一年平均客单价:"),l.default.createElement("dd",null,t.yearAvgPayment?"¥".concat(t.yearAvgPayment):"--")),t.activePhase&&l.default.createElement("dl",null,l.default.createElement("dt",null,"最近".concat(e.setLifeCycle(t.activePhase),"平均客单价:")),l.default.createElement("dd",null,t.dayAvgPayment4period?"¥".concat(t.dayAvgPayment4period):"--"))))}))))}}]),t}(l.default.Component);function Lo(){return l.default.createElement("ul",null,l.default.createElement("li",{className:"tag-type-label"},"RFM标签"),l.default.createElement("li",null,l.default.createElement("div",{className:"label-list-area"},l.default.createElement("dl",null,l.default.createElement("dt",null,"总购买金额:"),l.default.createElement("dd",null,"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"首次购买日期:"),l.default.createElement("dd",null,"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"最近一年购买金额:"),l.default.createElement("dd",null,"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"总购买次数:"),l.default.createElement("dd",null,"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"最近一次购买日期:"),l.default.createElement("dd",null,"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"最近一年购买次数:"),l.default.createElement("dd",null,"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"平均客单价:"),l.default.createElement("dd",null,"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"最近一次购买金额:"),l.default.createElement("dd",null,"--")),l.default.createElement("dl",null,l.default.createElement("dt",null,"最近一年平均客单价:"),l.default.createElement("dd",null,"--")))))}function Po(e){return l.default.createElement(l.default.Fragment,null,bi[e.platCode],l.default.createElement("span",{className:"shop-type"},e.title))}Fo.contextType=gi;var Bo=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).state={},n}return C(t,e),w(t,[{key:"render",value:function(){return l.default.createElement("div",{className:"customer-label-area"},l.default.createElement(Oo,null),l.default.createElement(Mo,null),l.default.createElement(Fo,null))}}]),t}(l.default.Component),Ro={isSupportedChannel:!0,youzanFlag:"mainShop",requiredSelected:!0,limit:100},zo=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).ajaxData=function(e,t){if(n.query.shopId){var a=f(f({},t),n.query);return Qi.getCustomerOrderList(n.context.domain,n.context.serverName,a).then((function(e){return e}))}return Promise.resolve({list:[],total:0})},n.isProductNameOverWidth=function(e){return bt.getTextWidth(e)/2+20>300?e:""},n.handleChangePlat=function(e){Qi.getShopList(n.context.domain,n.context.serverName,e).then((function(t){n.setState({shopList:[{shopId:"",shopName:"不限"}].concat(N(t)),nowShop:"",nowPlat:e}),a.Table.setQuery(n.gridManagerName,{platCode:e})})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},n.handleChangeShop=function(e){n.setState({nowShop:e}),a.Table.setQuery(n.gridManagerName,{platCode:n.state.nowPlat,shopId:e})},n.handleCopy=function(e){bt.copyText(e),a.Message.success("复制成功",{contextContainer:document.getElementsByClassName("cloud-modal-body")[0]})},n.selectShops=function(e){var t=e.map((function(e){return e.uniShopId.replace("WX|","WEIXIN|")})),r=e.map((function(e){return e.id}));n.setState({shops:t,selectedShop:r,visible:!1}),n.query.shopId=t.join(","),a.Table.setQuery(n.gridManagerName,{shopId:t.join(",")})},n.onClose=function(){n.setState({visible:!1})},n.openSelectShops=function(e){n.setState({visible:!0,isOpenSelectedTab:e||!1})},n.gridManagerName="customer-order-list",n.state={platList:[],nowPlat:"",nowShop:"",loading:!0,visible:!1,shops:[],selectedShop:[],isOpenSelectedTab:!1},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){var e=this;this.query={oneYearLater:!1,uniId:this.context.uniId},Qi.getCustomerInfo(this.context.domain,this.context.serverName,this.context.uniId).then((function(t){var n=t.map((function(e){return"MGJ"===e.platCode?"mogujie":e.platCode.toLocaleLowerCase()}));e.context.selectUniShops.length>0?(e.query.shopId=e.context.selectUniShops.join(","),e.setState({shops:e.context.selectUniShops,platList:n,selectedShop:e.context.selectShops,loading:!1})):Qi.getFirstShopList(e.context.domain,{tenantName:e.context.tenantId,channel:n.join(","),permissionType:!0,youzanFlag:"mainShop",pageNum:1,pageSize:1}).then((function(t){0!==t.length?(e.query.shopId=t[0].uniShopId,e.setState({shops:[t[0].uniShopId],platList:n,selectedShop:[t[0].id],loading:!1})):e.setState({shops:[],platList:n,selectedShop:[],loading:!1})}))})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))}},{key:"render",value:function(){var e=this,t=[{key:"productName",text:"商品",align:"left",template:function(t,n){return l.default.createElement("div",{className:"order-list",style:{padding:0}},n.orderList.map((function(t){return l.default.createElement("div",{className:"order-item",key:t.orderItemId},l.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:t.detailUrl?t.detailUrl:null},l.default.createElement(jo,{picUrl:t.picUrl})),l.default.createElement("span",{className:"product-name"},l.default.createElement(a.Tooltip,{content:e.isProductNameOverWidth(t.productName)},l.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:t.detailUrl?t.detailUrl:null},t.productName)),l.default.createElement("p",null,l.default.createElement("span",{className:"sku"},t.skuDetail),l.default.createElement("span",{className:"product-refund"},"1"===t.isRefund?"退款成功":""))))})))}},{key:"price",text:"价格",align:"left",width:"100px",template:function(e,t){return l.default.createElement("div",{className:"order-list-price"},t.orderList.map((function(e){return l.default.createElement("div",{className:"order-price",key:e.skuId},"¥ ",e.price)})))}},{key:"productNum",text:"商品数量",align:"left",width:"230px",template:function(e,t){return l.default.createElement("div",{className:"order-list-count"},t.orderList.map((function(e){return l.default.createElement("span",{className:"order-count",key:e.productId},e.productNum)})))}},{key:"tradeDiscountFee",align:"center",text:"优惠金额",width:"190px",template:function(e){return l.default.createElement("div",{className:"order-list-tradeDiscountFee"},"¥",e)}},{key:"payment",text:"订单总金额",align:"center",width:"190px",template:function(e,t){return l.default.createElement("div",{className:"order-list-payment"},l.default.createElement("div",null,"¥",t.payment),l.default.createElement("div",null,"(含运费:¥",t.postFee,")"))}}],n={interval:6,topTemplate:function(t){return l.default.createElement("div",{className:"order-list full-column-div order-list-table-title"},l.default.createElement("span",null,t.platCode," - ",t.shopName),l.default.createElement("span",{className:"order-state-info order-list-table-title-state"},l.default.createElement("span",null,"订单号:",l.default.createElement(a.Tooltip,{content:"双击可复制"},l.default.createElement("span",{onDoubleClick:function(){e.handleCopy(t.orderId)}},t.orderId))),l.default.createElement("span",null,"下单时间:",t.created||"--"),l.default.createElement("span",null,"付款时间:",t.payTime||"--"),l.default.createElement("span",null,"交易状态:",t.orderStatus)))}};return this.state.loading?l.default.createElement(a.Loading,null):l.default.createElement("div",{className:"customer-order-area"},l.default.createElement("div",{className:"title-label-tips"},l.default.createElement("label",{className:"title-label-require"},"店铺:"),l.default.createElement(a.Button,{size:"small",type:"link",onClick:function(){return e.openSelectShops(!1)},style:{marginRight:"4px"}},"选择店铺"),this.state.shops.length?l.default.createElement("span",{className:"shop-list"},"已选择",l.default.createElement(a.Button,{size:"small",type:"link",onClick:function(){return e.openSelectShops(!0)}},this.state.shops.length),"个店铺"):l.default.createElement("span",{style:{color:"#f5222d"}}," 必须选择一个店铺 ")),l.default.createElement(a.Table,E({gridManagerName:this.gridManagerName,ajaxData:this.ajaxData},ki,{query:this.query,columnData:t,fullColumn:n})),this.state.visible&&l.default.createElement(fo,{visible:this.state.visible,onOk:this.selectShops,onClose:this.onClose,onCancel:this.onClose,option:Object.assign({},Ro,{selectedShop:this.state.selectedShop,serverName:this.context.domain,permissionType:!0,tenantId:this.context.tenantId,platform:this.state.platList,isOpenSelectedTab:this.state.isOpenSelectedTab})}))}}]),t}(l.default.Component);function jo(e){var n=e.picUrl;return l.default.createElement(t.Fragment,null,n&&l.default.createElement("img",{width:"70px",height:"70px",src:n,alt:""}),!n&&l.default.createElement("div",{className:"default-img"},"暂无图片"))}zo.contextType=gi;var Vo=l.default.memo((function(e){var t=e.defaultText,n=(e.item.content||{}).previewText;return Array.isArray(n)&&1===n.length&&!n[0]&&(n=t),l.default.createElement("div",{className:tt("messageItem","textMessage")},n&&Array.isArray(n)?n.map((function(e,t){return e.length?l.default.createElement("div",{key:t,dangerouslySetInnerHTML:{__html:e}}):l.default.createElement("div",{key:t},l.default.createElement("br",null))})):n)})),Uo=l.default.memo((function(e){return l.default.createElement("div",{className:"picMessage"},l.default.createElement("img",{className:"pic",src:e.item.content.picUrl,alt:"上传的图片"}))})),Ho=l.default.memo((function(e){return l.default.createElement("div",null,l.default.createElement("div",{className:"defaultPicMessage"},l.default.createElement("img",{className:"pic",src:e.item.content.picUrl,alt:"小程序占位图片"})))})),qo=l.default.memo((function(e){var t=e.item.content,n=t.title,a=t.desc,r=t.picUrl,i=void 0===r?"https://brand-guide.shuyun.com/IAM/c432af879988.jpg":r;return l.default.createElement("div",{className:tt("messageItem","urlMessage")},l.default.createElement("div",{className:"urlTitle"},n),l.default.createElement("div",{className:"urlContent"},l.default.createElement("div",{className:"desc"},a),l.default.createElement("img",{src:i,className:"cover"})))})),Wo=l.default.memo((function(e){var t=e.item.content,n=t.title,a=t.desc,r=t.picUrl,i=void 0===r?"":r,o=t.iconUrl,s=void 0===o?"":o;return l.default.createElement("div",{className:tt("messageItem","appMessage")},l.default.createElement("div",{className:"appHeader"},l.default.createElement("img",{src:s,alt:"小程序",className:"icon"}),l.default.createElement("span",{className:"title"},n)),l.default.createElement("div",{className:"appTitle"},a),l.default.createElement("img",{src:i,alt:"小程序",className:"appCover"}),l.default.createElement("div",{className:"footer"},l.default.createElement("img",{src:"https://brand-guide.shuyun.com/IAM/6d41fdcac9fc.png",alt:"link",className:"link"}),l.default.createElement("span",{className:"desc"},"小程序")))})),Go=l.default.memo((function(e){var t=e.item;return l.default.createElement("div",{className:tt("messageItem")},l.default.createElement("img",{className:"qrCodeMessage",src:t.url,alt:"二维码"}))})),Ko="http://wework.qpic.cn/bizmail/VtA3epsUIvNIEUSja4VNWy3a0tWLCEiajSFOBFicBQRosvss0SyZ7t2w/0",Yo=k(k(k(k(k(k(k({},0,Vo),1,Uo),2,qo),4,Wo),5,Wo),"CODE",Go),"EXAMPLE",Ho),Qo={type:0,content:{previewText:"我通过了你的朋友验证请求,现在我们可以开始聊天了"}},Jo={success:"success-fill",failed:"close-fill-1",sync:"refresh"};function Xo(e){var n=e.style,a=e.className,i=e.content,o=e.type,s=e.showWelcomesText,u=e.defaultText,c=I(t.useState((function(){return"person"===o&&s?[Qo].concat(N(i)):i})),2),d=c[0],p=c[1],h=I(t.useState(i),2),m=h[1];t.useEffect((function(){var e="person"===o&&s?[Qo].concat(N(i)):i;p(e),m(i)}),[s,i]);var v=t.useCallback((function(e,t){var n=Yo[e.type];return l.default.createElement("div",{className:"messageWrapper",key:t},l.default.createElement("img",{className:"userAvatar",src:Ko,alt:"用户头像"}),l.default.createElement(n,{item:e,defaultText:u}),e.status&&!e.msg&&l.default.createElement(r.Icon,{type:Jo[e.status],className:tt("status","".concat(e.status))}),e.status&&e.msg&&l.default.createElement("div",{className:"status"},l.default.createElement(r.Tooltip,{content:e.msg,placement:"top"},l.default.createElement(r.Icon,{type:Jo[e.status],className:tt("".concat(e.status))}))))}),[u]);return l.default.createElement("div",{className:tt("wrapper",a)},l.default.createElement("div",{className:"cloud-business-welcomes-preview-wrapper",style:f({},n)},l.default.createElement("div",{className:"previewArea"},d.map((function(e,t){return v(e,t)})))))}Xo.propTypes={content:et.array,style:et.object,type:et.string,defaultText:et.string,showWelcomesText:et.bool},Xo.defaultProps={content:[],style:{},type:"person",defaultText:"输入欢迎语",showWelcomesText:!0};var Zo=["0:00","1:00","2:00","3:00","4:00","5:00","6:00","7:00","8:00","9:00","10:00","11:00","12:00","13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00","24:00"];function $o(e,t,n,a){var r=parseInt(n,10),i=parseInt(a,10),o=parseInt(e.begin,10),l=parseInt(e.end,10),s=Zo.map((function(e){var n=parseInt(e,10),a=!1;return"begin"===t?n>=o&&i>n||(a=!0):n>r&&l>=n||(a=!0),{label:e,value:e,disabled:a}}));return s}function el(e){return e.split(",").filter((function(e){return e.trim()})).join(",")}var tl=[{label:"关怀通知",value:1},{label:"会员营销",value:2}],nl={text:"文本",image:"图片",video:"视频"},al=function(e){var n=e.visible,a=e.onClose,i=e.onCancel,o=e.onOk,s=e.fetchSmsModels,u=I(t.useState(""),2),c=u[0],d=u[1],f=t.useRef(null),p=I(t.useState(e.smsModel),2),h=p[0],m=p[1];function v(){f.current.refreshTable(!0)}var g={ajaxData:function(e){return s({name:c,pageNum:e.pageNum,pageSize:e.pageSize})},supportRadio:!0,rowKey:"smsModeId",supportPage:!0,checkedData:h?[h]:[],style:{height:310},onCheckedAfter:function(e){var t=I(e,1);return m(t[0])},pageOpts:{type:"small"},columnData:[{title:"模板ID",dataIndex:"cid"},{title:"超级短信ID",dataIndex:"smsModeId"},{title:"超级短信名称",dataIndex:"title"},{title:"包含内容",dataIndex:"componentSet",render:function(){return l.default.createElement("span",null,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(",").map((function(e){return nl[e]})).join(",")||"--")}}]};return l.default.createElement(r.Modal,{title:"选择超级短信模板",className:"super-sms-select-model-modal",modalStyle:{width:680,minWidth:680},visible:n,onClose:a,onCancel:i,onOk:function(){return o(h)}},l.default.createElement("div",{className:"super-sms-select-model"},l.default.createElement(r.Tips,{msg:l.default.createElement("div",null,l.default.createElement("p",null,"1.  超级短信模板可在【内容管理】-【超级短信】-【淘宝超级短信】中创建并提交审核。"),l.default.createElement("p",null,"2.  只有审核通过的短信模板才可以被选中用于事件策略配置。"))}),l.default.createElement("div",{className:"supper-sms-select-query"},l.default.createElement(r.Input,{placeholder:"请输入模板ID或名称",value:c,onEnter:v,onChange:function(e){return d(e.target.value)},suffix:l.default.createElement(r.Icon,{type:"search",onClick:v})})),l.default.createElement(r.CTable,E({ref:f},g))))},rl=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).container=l.default.createRef(),n.wrapper=l.default.createRef(),n.targetContainer=null,n.initAccounts=function(){n.props.fetchAccounts().then((function(e){n.setState({accounts:e.map((function(e){return{value:e}}))})}))},n.onToggle=function(){n.setState((function(e){var t=!e.isExpand;return t?n.addEvent():n.removeEvent(),{isExpand:t}}))},n.onValueChange=function(e){var t=n.props.onChange,a=e.replace(/,/g,",").replace(/|[ ]/g,"");t(a),n.validateTestPhone(a),n.syncCheckAll(a)},n.validate=function(){return n.validateTestPhone(n.props.value)},n.validateTestPhone=function(e){if(console.log(e),!e)return n.setState({errorTip:"请填写测试手机号"}),"请填写测试手机号";var t=/^1\d{10}$/,a=e.split(","),r=null;return a.find((function(e){return!t.test(e)&&(r="请检查手机号是否正确",!0)})),a.length>10&&(r="最多支持10个手机号"),n.setState({errorTip:r}),r},n.onClose=function(e){if(n.wrapper.current){if(n.wrapper.current.contains(e.target))return;n.targetContainer.removeEventListener("click",n.onClose)}setTimeout((function(){n.setState({isExpand:!1})}))},n.addEvent=function(){for(var e=n.container.current;!e.className.toLowerCase().includes("cloud-modal-container");)e=e.parentElement;return n.targetContainer=e,n.targetContainer.addEventListener("click",n.onClose),A(n)},n.removeEvent=function(){return n.targetContainer&&n.targetContainer.removeEventListener("click",n.onClose),A(n)},n.addContent=function(e){var t=n.props,a=t.value,r=void 0===a?"":a,i=t.onChange;if(!r.includes(e)){var o=el("".concat(r,",").concat(e));i(o),n.validateTestPhone(o),n.syncCheckAll(o)}},n.removeContent=function(e){var t=n.props,a=t.value,r=void 0===a?"":a,i=t.onChange;if(r.indexOf(e)>=0){var o=el(r.replace(e,""));i(o),n.validateTestPhone(o),n.syncCheckAll(o)}},n.onAccountSelect=function(e,t){t?n.addContent(e.value):n.removeContent(e.value)},n.onAccountRemove=function(e){n.setState((function(t){return{accounts:t.accounts.filter((function(t){return t.value!==e.value}))}})),n.removeContent(e.value),n.props.onRemoveAccount(e.value)},n.onCheckAll=function(e){console.log(e),n.setState({isCheckedAll:e});var t=n.props.value,a=t;n.state.accounts.forEach(e?function(e){t.includes(e.value)||(a="".concat(a,",").concat(e.value))}:function(e){a=a.replace(e.value,"")}),n.props.onChange(el(a))},n.syncCheckAll=function(e){n.setState({isCheckedAll:n.state.accounts.every((function(t){return e.includes(t.value)}))})},n.state={accounts:[],isCheckedAll:!1,isExpand:!1,errorTip:""},n.initAccounts(),n}return C(t,e),w(t,[{key:"componentWillUnmount",value:function(){this.removeEvent()}},{key:"render",value:function(){var e=this.props.value,t=void 0===e?"":e,n=this.state,a=n.isCheckedAll,i=n.accounts,o=n.isExpand,s=n.errorTip,u=this.onCheckAll,c=this.onAccountRemove,d=this.onToggle,f=this.onAccountSelect,p=this.onValueChange,h=t.split(",")||[];return l.default.createElement("div",{className:"dy-sms-test-account",ref:this.container},l.default.createElement("div",{className:"dy-sms-input-wrapper",onClick:d},l.default.createElement(r.Input,{value:t,onChange:function(e){return p(e.target.value)},placeholder:'最多支持输入10个手机号,不同手机号以英文","隔开',style:{width:320}}),s?l.default.createElement("div",{className:"error-minor-tooltip"},s):null),o?l.default.createElement("div",{className:"dy-sms-drop-wrapper",ref:this.wrapper},l.default.createElement(r.Checkbox,{checked:a,onChange:u},"全选"),l.default.createElement("div",{className:"drop-account-list"},i.map((function(e){return l.default.createElement(r.Tooltip,{key:e.value,content:e.value},l.default.createElement(r.Tag,{checked:h.includes(e.value),onClose:function(){return c(e)},onClick:function(){return f(e,!t.includes(e.value))},closable:!0},e.value))})))):null)}}]),t}(t.Component),il={width:600,minWidth:600},ol=function(e){function t(){var e;y(this,t);for(var n=arguments.length,a=Array(n),i=0;n>i;i++)a[i]=arguments[i];return(e=u(this,t,[].concat(a))).field=new r.Field(A(e)),e.container=l.default.createRef(),e.phoneHistory=l.default.createRef(),e.state={testPhone:""},e.onTestSend=function(){e.field.validate((function(t,n){t||e.phoneHistory.current.validate()||e.props.onTestSend(f(f({},n),{},{testMobile:e.state.testPhone}))}))},e.onTestPhoneChange=function(t){e.setState({testPhone:t})},e}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.hasOrder,n=e.onRemoveAccount,a=e.fetchAccounts,i=e.tips,o=this.field,s=this.onTestSend,u=this.onTestPhoneChange,c=this.container,d=this.phoneHistory,p=this.state.testPhone;return l.default.createElement(r.Modal,{visible:e.visible,onCancel:e.onCancel,onClose:e.onClose,hasFooter:!1,title:"测试发送",modalStyle:f(f({},il),{},{height:t?350:275}),bodyStyle:{overflow:"visible"},ref:c},l.default.createElement(r.Tips,{msg:l.default.createElement("div",{dangerouslySetInnerHTML:{__html:i}})}),l.default.createElement(r.Form,{field:o,layout:"horizontal",style:{marginTop:15},labelCol:{span:6}},l.default.createElement(r.Form.Item,{label:"测试手机号",required:!0},l.default.createElement(rl,{ref:d,container:c,value:p,fetchAccounts:a,onChange:u,onRemoveAccount:n})),t?l.default.createElement(r.Form.Item,{label:"测试订单号"},l.default.createElement(r.Input,E({placeholder:"请输入订单号",style:{width:320,height:30}},o.init("orderId",{rules:[{required:!0,message:"请填写订单号"},{pattern:/^[a-zA-Z0-9]*$/g,message:"请输入英文或数字"}]}),{maxLength:20}))):null,l.default.createElement(r.Button,{type:"primary",onClick:s,style:{marginLeft:"25%"}},"发送")))}}]),t}(t.Component),ll=function(){},sl=function(e){var n=e.visible,a=e.onOk,i=e.onCancel,o=e.onClose,s=e.timeRange,u=e.phoneTypes,c=void 0===u?[]:u,d=e.gateways,p=void 0===d?[]:d,h=e.disabled,m=e.tips,v=void 0===m?null:m,g=e.selectModalTips,y=void 0===g?null:g,b=e.fetchSmsModels,w=void 0===b?ll:b,k=e.testConfig,C=void 0===k?{}:k,S=e.disableSendTime,_=e.disableMobileType,x=r.Field.useField(),A=I(t.useState(e.smsType||tl[0].value),1)[0],N=I(t.useState(e.sendTimeBegin),2),D=N[0],T=N[1],O=I(t.useState(e.sendTimeEnd),2),M=O[0],F=O[1],L=$o(s,"begin",D,M),P=$o(s,"end",D,M),B=I(t.useState(e.sendTimeExcluded||!1),2),R=B[0],z=B[1],j=I(t.useState(e.mobileType||c[0].phoneType),2),V=j[0],U=j[1],H=p.find((function(t){return t.gatewayId===e.gatewayId})),q=I(t.useState(H||(p[0]||{})),2),W=q[0],G=q[1];var K=I(t.useState(e.smsModelId?{smsModeId:e.smsModelId,title:e.title,cid:e.cid,componentSet:e.componentSet}:null),2),Y=K[0],Q=K[1];function J(e){var t=C.onTest;x.setValues({smsModel:Y,mobileType:V,gatewayId:W.gatewayId}),x.validate((function(n,a){n||t(f(f({},e),{},{smsType:A,sendTimeBegin:D,sendTimeEnd:M,sendTimeExcluded:R,mobileType:V,gatewayId:W.gatewayId,gatewayName:W.gatewayName,smsModelId:Y.smsModeId,title:Y.title,componentSet:Y.componentSet,cid:Y.cid}))}))}function X(){x.setValues({smsModel:Y,mobileType:V,gatewayId:W.gatewayId}),x.validate((function(e,t){e||a({smsType:A,sendTimeBegin:D,sendTimeEnd:M,sendTimeExcluded:R,mobileType:V,gatewayId:W.gatewayId,gatewayName:W.gatewayName,smsModelId:Y.smsModeId,title:Y.title,componentSet:Y.componentSet,cid:Y.cid})}))}return l.default.createElement(r.Modal,{title:"淘宝超级短信设置",modalStyle:{width:680,minWidth:680},visible:n,onCancel:i,onClose:o,onOk:X,footer:l.default.createElement("div",{className:"super-sms-selector-footer"},l.default.createElement(r.Button,{onClick:i,className:"cancel",style:{marginLeft:16}},"取消"),l.default.createElement(r.Button,{type:"primary",onClick:X},"确定"))},v?l.default.createElement("div",{className:"super-sms-tip"},l.default.createElement("div",{className:"supper-sms-tip-main",dangerouslySetInnerHTML:{__html:v}})):null,l.default.createElement("div",{className:"super-sms-content"},l.default.createElement(r.Form,{layout:"horizontal",labelCol:{span:4},field:x},l.default.createElement(r.Form.Item,{label:"短信类型",required:!0},l.default.createElement(r.Select,{value:A,disabled:!0,dataSource:tl,style:{width:180}})),l.default.createElement(r.Form.Item,{label:"发送时间",required:!0},l.default.createElement(r.Select,{disabled:h||S,dataSource:L,value:D,onChange:T,style:{width:180}}),l.default.createElement("span",{className:"send-time-spec"},"-"),l.default.createElement(r.Select,{disabled:h||S,dataSource:P,value:M,onChange:F,style:{width:180}})),l.default.createElement(r.Form.Item,{label:"超出发送时间",required:!0},l.default.createElement(r.Radio.Group,E({disabled:h},x.init("sendTimeExcluded",{rules:[{required:!0,message:"请选择超出发送时间"}],initValue:R,onChange:z})),l.default.createElement(r.Radio,{value:!0},"不发送"),l.default.createElement(r.Radio,{value:!1},"下个有效发送时间发送"))),l.default.createElement(r.Form.Item,{label:"发送手机号",required:!0},l.default.createElement(r.Select,E({disabled:h||_,labelKey:"phoneTypeName",valueKey:"phoneType",dataSource:c},x.init("mobileType",{rules:[{required:!0,message:"请选择发送手机号"}],onChange:U,initValue:V}),{style:{width:280}}))),l.default.createElement(r.Form.Item,{label:"短信通道",required:!0},l.default.createElement(r.Select,E({disabled:h,labelKey:"gatewayName",valueKey:"gatewayId",dataSource:p},x.init("gatewayId",{rules:[{required:!0,message:"请选择超级短信通道"}],initValue:W.gatewayId,onChange:function(e){var t=p.find((function(t){return t.gatewayId===e}));G(t||{})}}),{style:{width:280}})),W.gatewayId&&0===W.settlementType?l.default.createElement("span",{className:"extra-tip"},"剩余条数: ",l.default.createElement("span",null,W.quantity)):null),l.default.createElement(r.Form.Item,{label:"超级短信模板",required:!0},l.default.createElement("div",E({className:"super-sms-model"},x.init("smsModel",{rules:[{required:!0,message:"请选择模板"}]})),l.default.createElement(r.Button,{type:"text",disabled:h,size:"small",onClick:function(){r.Modal.createModal(al).open({tips:y,smsModel:Y,fetchSmsModels:w}).then((function(e){x.setValue("smsModel",e),Q(e)}))}},"选择模板"),Y?l.default.createElement("div",{className:"sms-model-name"},l.default.createElement("span",null,"|"),l.default.createElement("span",null,Y.title)):l.default.createElement(r.Button,{size:"small",onClick:function(){window.open("".concat(window.location.pathname,"#/contentManager/vsms/list"),"_blank")},type:"text"},"前往设置"))),C.hidden?null:l.default.createElement(r.Form.Item,{label:C.labelTips?l.default.createElement("div",{className:"super-sms-test-label"},l.default.createElement("span",null,"测试发送"),l.default.createElement(r.Tooltip,{content:C.labelTips,theme:"light",className:"super-sms-test-tips"},l.default.createElement(r.Icon,{type:"question-circle"}))):"测试发送"},l.default.createElement(r.Button,{disabled:h,onClick:function(){r.Modal.createModal(ol).open(f(f({},C),{},{onTestSend:J}))},size:"small"},"测试发送")))))};sl.Preview=function(e){var t=e.smsTitle,n=e.components;function a(e){return"text"===e.name?l.default.createElement("pre",null,e.content):"image"===e.name?l.default.createElement("img",{src:e.content,alt:""}):"video"===e.name?l.default.createElement("video",{controls:!0,src:e.content}):null}return l.default.createElement("div",{className:"supper-sms-preview"},l.default.createElement("section",null,l.default.createElement("header",null,l.default.createElement("div",null)),l.default.createElement("div",null,l.default.createElement(r.Icon,{type:"left"}),"超级短信编辑器")),l.default.createElement("div",null,l.default.createElement("div",{className:"super-sms-component-item text"},a({name:"text",content:t})),null==n?void 0:n.map((function(e){return l.default.createElement("div",{className:"super-sms-component-item ".concat(e.name)},a(e))}))))};var ul={0:"星期天",1:"星期一",2:"星期二",3:"星期三",4:"星期四",5:"星期五",6:"星期六"},cl={good:"好评",neutral:"中评",bad:"差评"},dl={isSupportedChannel:!0,platform:["taobao","jos","douyin","offline","youzan","suning"],isOpenSelectedTab:!1,youzanFlag:"mainShop"},fl=(new Date).getFullYear(),pl=(new Date).getMonth(),hl=(new Date).getDate(),ml=new Date(fl,pl,hl),vl=new Date(ml-63072e6),gl=new Date(ml-7776e6),yl=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).ajaxData=function(e,t){var a=f(f({},t),n.query);return n.dateList=[],Qi.getCustomerViewList(n.context.domain,n.context.serverName,a).then((function(e){return{list:e,pageNum:1,pageSize:20,totalPages:0,totals:-1}}))},n.handleChangePlat=function(e){n.setState({queryType:e,channel:""})},n.openSelectShops=function(){n.setState({visible:!0})},n.onClose=function(){n.setState({visible:!1})},n.openWelcomesPreview=function(e){var t=JSON.parse(e);console.log(t);var a=t.message?t.message.map((function(e){var t;return console.log(e),0===e.message.messageType&&(t={text:e.message.messageContent.text,previewText:e.message.messageContent.text.split("\n")}),1===e.message.messageType&&(t={picUrl:e.message.messageContent.url}),2===e.message.messageType&&(t={url:e.message.messageContent.sourceUrl,title:e.message.messageContent.title,desc:e.message.messageContent.summary,picUrl:e.message.messageContent.imageUrl}),4===e.message.messageType&&(t={appId:e.message.messageContent.appid,desc:e.message.messageContent.description,page:e.message.messageContent.pagePath,picUrl:e.message.messageContent.thumbUrl,title:e.message.messageContent.title,originAppId:e.message.messageContent.username,iconUrl:e.message.messageContent.iconUrl}),{type:e.message.messageType,content:t||{},status:e.status.toLowerCase(),msg:e.failMsg}})):[];console.log(a),n.setState({previewVisible:!0,previewData:{message:a,userId:t.userId||""}})},n.previewOnClose=function(){n.setState({previewVisible:!1,previewData:{}})},n.contentDetail=function(){var e=g(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Qi.getContentDetail(n.context.domain,t);case 2:n.setState({contentPreviewVisible:!0,contentData:e.sent});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),n.contentPreviewOnClose=function(){n.setState({contentPreviewVisible:!1,contentData:{}})},n.selectShops=function(e){var t=e.map((function(e){return e.uniShopId.replace("WX|","WEIXIN|")})),a=e.map((function(e){return e.id}));n.setState({shops:t,selectedShop:a,visible:!1})},n.changeTime=function(e){n.setState({time:e})},n.handleChangeChannel=function(e){n.setState({channel:e})},n.handleCopy=function(e){bt.copyText(e),a.Message.success("复制成功",{contextContainer:document.getElementsByClassName("cloud-modal-body")[0]})},n.handleSearch=function(){var e=n.state,t=e.time;a.Table.setQuery(n.gridManagerName,{queryType:e.queryType,channel:e.channel,startDate:t.start,endDate:t.end,shops:e.shops.join(",")})},n.gridManagerName="customer-dynamic-list",n.state={channel:"",queryType:"",loading:!1,tips:"营销、互动数据仅支持查看近90天内的数据,订单、评价、售后数据支持查看近2年内的数据。",time:{start:"",end:""},shops:[],selectedShop:[],visible:!1,previewVisible:!1,previewData:{},contentData:{}},n.dateList=[],n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.query={uniId:this.context.uniId}}},{key:"render",value:function(){var e=this;this.dateList=[];var t=[{key:"time",text:"时间",align:"left",width:"200px",template:function(e){return l.default.createElement("span",{style:{marginLeft:"18px"}},e)}},{key:"queryType",text:"类型",align:"left",width:"100px",template:function(e){return _i[e]}},{key:"interactionChannel",text:"渠道",align:"left",width:"200px",template:function(e,t){return"marketing"===t.queryType?l.default.createElement(a.Tooltip,{content:"".concat(t.marketingTypeName)},l.default.createElement("span",null,t.marketingTypeName)):"interaction"===t.queryType?l.default.createElement(a.Tooltip,{content:"".concat(t.interactionChannel)},l.default.createElement("span",null,t.interactionChannel)):l.default.createElement(a.Tooltip,{content:"".concat(t.shopName)},l.default.createElement("span",null,t.shopName))}},{key:"tradeDiscountFee",align:'left"',text:"详情",template:function(t,n){return console.log(n),"marketing"===n.queryType?"企业微信消息发送"!==n.communicationMode||"事件营销"!==n.marketingTypeName&&"场景营销"!==n.marketingTypeName?"淘宝超级短信"===n.communicationMode&&"事件营销"===n.marketingTypeName?l.default.createElement(a.Tooltip,{content:"".concat(n.communicationMode,":查看内容")},l.default.createElement("span",null,n.communicationMode,":",n.communicationContent&&l.default.createElement(a.Button,{size:"small",type:"link",onClick:function(){return e.contentDetail(n.communicationContent)},style:{marginRight:"4px"}},"查看内容"))):l.default.createElement(a.Tooltip,{content:"".concat(n.communicationMode,":").concat(n.communicationContent)},l.default.createElement("span",null,n.communicationMode,":",n.communicationContent)):l.default.createElement(a.Tooltip,{content:"".concat(n.communicationMode,":查看内容")},l.default.createElement("span",null,n.communicationMode,":",l.default.createElement(a.Button,{size:"small",type:"link",onClick:function(){return e.openWelcomesPreview(n.communicationContent)},style:{marginRight:"4px"}},"查看内容"))):"interaction"===n.queryType?l.default.createElement(a.Tooltip,{content:"".concat(n.interactionChannel," ").concat(n.interactionName)},l.default.createElement("span",null,n.interactionChannel," ",n.interactionName)):"trades"===n.queryType?l.default.createElement(a.Tooltip,{content:"主订单号".concat(n.tradeOrderId," ").concat(n.orderStatus)},l.default.createElement("span",null,"主订单号",n.tradeOrderId," ",n.orderStatus)):"refunds"===n.queryType?l.default.createElement(a.Tooltip,{content:"订单号".concat(n.refundsOrderId," ").concat(n.refundStatus)},l.default.createElement("span",null,"订单号",n.refundsOrderId," ",n.refundStatus)):l.default.createElement(a.Tooltip,{content:"".concat(n.productName," ").concat(n.productId," ").concat(cl[n.estimateResult])},l.default.createElement("span",null,n.productName," ",n.productId," ",cl[n.estimateResult]))}}],n={topTemplate:function(t){var n="".concat(bt.moment(t.time).format("yyyy-MM-dd")," ").concat(ul[new Date(t.time).getDay()]);return-1===e.dateList.indexOf(n)?(e.dateList=[e.dataList,n],l.default.createElement("div",{className:"order-list full-column-div order-list-table-title"},n)):l.default.createElement(l.default.Fragment,null)}};return this.state.loading?l.default.createElement(a.Loading,null):l.default.createElement("div",{className:"customer-dynamic-info"},l.default.createElement(a.Tips,{msg:this.state.tips}),l.default.createElement("div",{className:"title-label-tips"},l.default.createElement("label",null,"时间:"),l.default.createElement(a.Datepicker.RangePicker,{position:"auto",isAppendToBody:!0,width:"420",value:this.state.time,maxDate:ml,minDate:"interaction"===this.state.queryType||"marketing"===this.state.queryType?gl:vl,style:{display:"inline",marginRight:"20px"},onChange:this.changeTime}),l.default.createElement("label",null,"类型:"),l.default.createElement(a.Select,{defaultValue:this.state.queryType,dataSource:Si,style:{width:"160px"},onChange:this.handleChangePlat}),"marketing"===this.state.queryType&&l.default.createElement(l.default.Fragment,null,l.default.createElement("label",null,"渠道:"),l.default.createElement(a.Select,{value:this.state.channel,dataSource:xi,defaultValue:"",style:{width:"160px"},onChange:this.handleChangeChannel})),"interaction"===this.state.queryType&&l.default.createElement(l.default.Fragment,null,l.default.createElement("label",null,"渠道:"),l.default.createElement(a.Select,{value:this.state.channel,dataSource:Ai,defaultValue:"",style:{width:"160px"},onChange:this.handleChangeChannel})),("rates"===this.state.queryType||"trades"===this.state.queryType||"refunds"===this.state.queryType)&&l.default.createElement(l.default.Fragment,null,l.default.createElement("label",null,"渠道:"),l.default.createElement(a.Button,{size:"small",type:"link",onClick:this.openSelectShops,style:{marginRight:"14px"}},this.state.shops.length?"已选择".concat(this.state.shops.length,"个店铺"):"请选择")),l.default.createElement(a.Button,{type:"primary",onClick:this.handleSearch,className:"search-btn"},"搜索")),l.default.createElement(a.Table,E({gridManagerName:this.gridManagerName,ajaxData:this.ajaxData,useNoTotalsMode:!0,disableCache:!1},ki,{query:this.query,columnData:t,fullColumn:n})),this.state.visible&&l.default.createElement(fo,{visible:this.state.visible,onOk:this.selectShops,onClose:this.onClose,onCancel:this.onClose,option:Object.assign({},dl,{selectedShop:this.state.selectedShop,serverName:this.context.domain,permissionType:!0,tenantId:this.context.tenantId})}),this.state.previewVisible&&l.default.createElement(a.Modal,{visible:this.state.previewVisible,clickMaskCanClose:!1,title:"企业微信消息详情",className:"preview-modal",onOk:this.previewOnClose,onClose:this.previewOnClose,onCancel:this.previewOnClose},l.default.createElement("div",{className:"preview-row"},l.default.createElement("label",null,"发送托管员工:"),this.state.previewData.userId),l.default.createElement("div",{className:"preview-row"},l.default.createElement("label",null,"消息内容:"),l.default.createElement(Xo,{content:this.state.previewData.message||[],type:"group",showWelcomesText:!1,defaultText:"输入群发消息内容"}))),this.state.contentPreviewVisible&&l.default.createElement(a.Modal,{visible:this.state.contentPreviewVisible,clickMaskCanClose:!1,title:"淘宝超级短信详情",className:"preview-modal",onOk:this.contentPreviewOnClose,onClose:this.contentPreviewOnClose,onCancel:this.contentPreviewOnClose,modalStyle:{width:600}},l.default.createElement("div",{className:"preview-row"},l.default.createElement("label",null,"短信内容:"),l.default.createElement(sl.Preview,{smsTitle:this.state.contentData.smsTitle,components:this.state.contentData.components}))))}}]),t}(l.default.Component);yl.contextType=gi;var bl=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).state={},n}return C(t,e),w(t,[{key:"render",value:function(){return l.default.createElement("div",{className:"grid-area"},l.default.createElement(a.Tabs,{defaultActiveKey:"label",onChange:this.handleChange},l.default.createElement(a.Tabs.Panel,{tab:"客户标签",key:"label"},l.default.createElement(Bo,null)),l.default.createElement(a.Tabs.Panel,{tab:"客户动态",key:"dynamic"},l.default.createElement(yl,null)),l.default.createElement(a.Tabs.Panel,{tab:"会员信息",key:"card"},l.default.createElement(Eo,null)),l.default.createElement(a.Tabs.Panel,{tab:"订单信息",key:"order"},l.default.createElement(zo,null)),l.default.createElement(a.Tabs.Panel,{tab:"评价信息",key:"evaluation"},l.default.createElement(Ao,null)),l.default.createElement(a.Tabs.Panel,{tab:"权益信息",key:"benefit"},l.default.createElement(ho,null))))}}]),t}(l.default.Component),wl=function(e){function t(e){var n;if(y(this,t),n=u(this,t,[e]),!yi.flag){var a=(window.sessionStorage.getItem("__FF2E__CACHE__")&&JSON.parse(window.sessionStorage.getItem("__FF2E__CACHE__")).common.platCode||[]).reduce((function(e,t){var n=t.platName,a=t.standardPlatCode;return e.push("DOUYIN"===a?{plat:a,name:"".concat(n,"ID"),platName:n,tips:"根据客户首次下单的收货手机号+收货人姓名生成,后期订单若修改收货人信息,此处不变"}:{plat:a,name:"".concat(n,"ID"),platName:n}),e}),[]);yi.push.apply(yi,N(a)),yi.flag=!0}return n}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.visible,n=e.onClose,r=e.uniId,i=e.serverName,o=e.domain,s=e.selectShops,u=e.selectUniShops,c=window.sessionStorage.getItem("tenantId")||"qiushi6";return l.default.createElement(a.Modal,{hasFooter:!1,visible:t,onClose:n,clickMaskCanClose:!1,modalStyle:{maxWidth:"1120px",height:"610px",maxHeight:"720px"},bodyStyle:{height:"520px",maxHeight:"530px"},title:"客户视图"},l.default.createElement(gi.Provider,{value:{uniId:r,serverName:i,domain:o,tenantId:c,selectShops:s,selectUniShops:u}},l.default.createElement("div",{className:"customer-view-area"},l.default.createElement(Gi,null),l.default.createElement(bl,null))))}}]),t}(l.default.Component);wl.defaultProps={visible:!1,serverName:"https://qa-ual.shuyun.com",domain:"data-manage-x/1.0",selectShops:[],selectUniShops:[],onClose:function(){}},wl.propTypes={visible:et.bool,onClose:et.func,serverName:et.string,domain:et.string,selectShops:et.array,selectUniShops:et.array};var kl=[],El=["DD","DOUYIN","JOS","KUAISHOU","MGJ","OFFLINE","PDD","REDBOOK","SUNING","TANMAO","TAOBAO","WEIMOB","WEIXIN","YHD","YOUZAN"],Cl="CUSTOM_VIEW_BEHAVIOR",Sl={top:"TAOBAO_AREA_SELECTOR_DATA",unification:"UNIFICATION_CCMS_COMPONENTS_AREA_SELECTOR_DATA",jos:"JD_AREA_SELECTOR_DATA"},_l=[{label:"不限",value:""},{label:"营销",value:"marketing"},{label:"互动",value:"interaction"},{label:"订单",value:"trades"},{label:"售后",value:"refunds"},{label:"评价",value:"rates"}],xl={marketing:"营销",interaction:"互动",trades:"订单",refunds:"售后",rates:"评价"},Al=[{label:"不限",value:""},{label:"人群营销",value:"SY_CCMS"},{label:"事件营销_事件关怀",value:"SY_EVENT_MARKETING"},{label:"数据管理",value:"SY_DATA_MANAGE"},{label:"事件营销_会员关怀",value:"SY_SCENE_MARKETING"},{label:"私域赢家",value:"SY_SYYJ"}],Il=[{label:"不限",value:""},{label:"互动赢家",value:"SY_WINNER"},{label:"互动赢家-微信端",value:"SY_WINNER_WEIXIN"},{label:"私域赢家",value:"SY_SYYJ"},{label:"微信小程序",value:"WX_MINIPROGRAM"},{label:"微信公众号",value:"WX_OFFICIAL_ACCOUNTS"},{label:"企业微信",value:"WX_QYWX"},{label:"微信会员中心",value:"WX_WXHYZX"}],Nl={0:"星期天",1:"星期一",2:"星期二",3:"星期三",4:"星期四",5:"星期五",6:"星期六"},Dl={good:"好评",neutral:"中评",bad:"差评"},Tl="2024060400",Ol=1,Ml=2,Fl=[{label:"最新基本信息",id:1},{label:"我维护的信息",id:2}],Ll=["北京","上海","天津","重庆"],Pl=["澳门","香港","台湾","钓鱼岛"],Bl=function(e){if(!String.prototype.localeCompare)return null;var t,n="*ABCDEFGHJKLMNOPQRSTWXYZ".split(""),a="阿八嚓哒妸发旮哈讥咔垃痳拏噢妑七呥扨它穵夕丫帀".split(""),r=[];return n.forEach((function(n,i){t={letter:n,data:[]},e.forEach((function(e){a[i-1]&&a[i-1].localeCompare(e.name,"zh-Hans-CN")>0||-1!=e.name.localeCompare(a[i],"zh-Hans-CN")||t.data.push(e)})),t.data.length&&(r.push(t),t.data.sort((function(e,t){return e.name.localeCompare(t.name,"zh-Hans-CN")})))})),r.map((function(e){return e.data})).flat()},Rl=function(){var e=window.sessionStorage.getItem("__FF2E__CACHE__");return e?JSON.parse(e).common.user.id:""},zl=function(e){localStorage.setItem("".concat(Cl,"_").concat(Rl()),JSON.stringify(e))},jl=function(){var e=localStorage.getItem("".concat(Cl,"_").concat(Rl()));return e?JSON.parse(e):{isThreeColumn:!1,orderColumn:[]}},Vl=function(e){return e.shopAccountMap.JOS=(e.shopAccountMap.JOS||[]).map((function(e){return e.platAccount="".concat((e.platAccount||"").slice(0,-4),"****"),e})),e},Ul=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:14,t=arguments.length>1?arguments[1]:void 0,n=document.getElementById("computedWidth").getContext("2d");return n.font="".concat(e,"px Microsoft YaHei"),n.measureText(t).width},Hl=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:14;if(e.current)if(2===(arguments.length>3&&void 0!==arguments[3]?arguments[3]:1)){if(Ul(n,t)/2>e.current.offsetWidth-5)return t}else if(Ul(n,t)>e.current.offsetWidth-10)return t;return""},ql=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"14px";if(e)if(2===(arguments.length>3&&void 0!==arguments[3]?arguments[3]:1)){if(Ul(n,t)/2>e.offsetWidth-5)return t}else if(Ul(n,t)>e.offsetWidth-10)return t;return""},Wl=function(e){return Array.isArray(e)&&e.length>0},Gl=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).getAreasFromLocalStorage=function(e,t,a){var r,i;n.areaList=(r=function(e){var t=Sl[e];try{var n=localStorage.getItem(t);return JSON.parse(n)}catch(e){return null}}("unification"),i=Bl(JSON.parse(JSON.stringify(r))),[].concat(Ll).reverse().forEach((function(e){var t=i.findIndex((function(t){return t.name.includes(e)}));if(-1!==t){var n=i[t];i.splice(t,1),i.unshift(n)}})),Pl.forEach((function(e){var t=i.findIndex((function(t){return t.name.includes(e)}));if(-1!==t){var n=i[t];i.splice(t,1),i.push(n)}})),Array.isArray(i)&&i.forEach((function(e){Array.isArray(e.children)&&e.children.length&&(e.children=Bl(JSON.parse(JSON.stringify(e.children))),e.children.forEach((function(e){Array.isArray(e.children)&&e.children.length&&(e.children=Bl(JSON.parse(JSON.stringify(e.children))),e.children.forEach((function(e){Array.isArray(e.children)&&e.children.length&&(e.children=Bl(JSON.parse(JSON.stringify(e.children))))})))})))})),i),n.cityList=[],n.districtList=[],n.townList=[],Wl(n.areaList)&&n.areaList.forEach((function(t,a){t.id===e&&(n.cityList=n.areaList[a].children)})),Wl(n.cityList)&&n.cityList.forEach((function(e,a){e.id===t&&(n.districtList=n.cityList[a].children)})),Wl(n.districtList)&&n.districtList.forEach((function(e,t){e.id===a&&(n.townList=n.districtList[t].children)}))},n.handleChangeProvince=function(e){Wl(n.areaList)&&n.areaList.forEach((function(t,a){t.id===e&&(n.cityList=n.areaList[a].children||[],n.districtList=[],n.townList=[],n.setState({province:e,provinceName:t.name,city:"",cityName:"",district:"",districtName:"",town:"",townName:"",address:n.state.address},(function(){n.selectedAllArea(t.name,e,n.state.cityName,n.state.city,n.state.districtName,n.state.district,n.state.townName,n.state.town,n.state.address)})))}))},n.handleChangeCity=function(e){Wl(n.cityList)&&n.cityList.forEach((function(t,a){t.id===e&&(n.districtList=n.cityList[a].children||[],n.townList=[],n.setState({city:e,cityName:t.name,district:"",districtName:"",town:"",townName:"",address:n.state.address},(function(){n.selectedAllArea(n.state.provinceName,n.state.province,t.name,e,n.state.districtName,n.state.district,n.state.townName,n.state.town,n.state.address)})))}))},n.handleChangeDistrict=function(e){Wl(n.districtList)&&n.districtList.forEach((function(t,a){t.id===e&&(n.townList=n.districtList[a].children||[],n.setState({district:e,districtName:t.name,town:"",townName:"",address:n.state.address},(function(){n.selectedAllArea(n.state.provinceName,n.state.province,n.state.cityName,n.state.city,t.name,e,n.state.townName,n.state.town,n.state.address)})))}))},n.handleChangeTown=function(e){Wl(n.townList)&&n.townList.forEach((function(t,a){t.id===e&&n.setState({town:e,townName:t.name,address:n.state.address},(function(){n.selectedAllArea(n.state.provinceName,n.state.province,n.state.cityName,n.state.city,n.state.districtName,n.state.district,t.name,e,n.state.address)}))}))},n.handleInput=function(e){n.setState({address:e.target.value}),n.selectedAllArea(n.state.provinceName,n.state.province,n.state.cityName,n.state.city,n.state.districtName,n.state.district,n.state.townName,n.state.town,e.target.value)},n.selectedAllArea=function(e,t,a,r,i,o,l,s,u){n.props.selectdArea(e,t,a,r,i,o,l,s,u)};var a=e.addressValue&&e.addressValue.split(",");return n.state={province:a[0]||"",city:a[1]||"",district:a[2]||"",town:a[3]||"",address:a[4]||""},n.getAreasFromLocalStorage(a[0],a[1],a[2]),n}return C(t,e),w(t,[{key:"render",value:function(){var e="name",t="id";return l.default.createElement("div",{className:"area-style-new"},l.default.createElement("div",{className:"address-item"},l.default.createElement(r.Select,{style:{width:130},value:this.state.province,isAppendToBody:!0,onChange:this.handleChangeProvince,dataSource:this.areaList,labelKey:e,valueKey:t}),l.default.createElement(r.Select,{style:{width:130},value:this.state.city,isAppendToBody:!0,disabled:!Wl(this.cityList),onChange:this.handleChangeCity,dataSource:this.cityList,labelKey:e,valueKey:t}),l.default.createElement(r.Select,{style:{width:130},value:this.state.district,isAppendToBody:!0,disabled:!Wl(this.districtList),onChange:this.handleChangeDistrict,dataSource:this.districtList,labelKey:e,valueKey:t}),l.default.createElement(r.Select,{style:{width:130},value:this.state.town,isAppendToBody:!0,disabled:!Wl(this.townList),onChange:this.handleChangeTown,dataSource:this.townList,labelKey:e,valueKey:t})),l.default.createElement(r.Input,{placeholder:"详细地址",style:{width:406},maxLength:120,value:this.state.address,onChange:this.handleInput}))}}]),t}(l.default.Component),Kl=function(){var e,t=sessionStorage.getItem("__FF2E__CACHE__"),n=(null===(e=JSON.parse(t))||void 0===e?void 0:e.common)||{},a=n.user,r=n.tenant;return t&&(null==r?void 0:r.tenantId)?{tenantId:null==r?void 0:r.tenantId,userName:null==a?void 0:a.name,menuData:n.menuData}:{tenantId:"qiushi6",userName:"fxt",menuData:[]}},Yl=function(){function e(){y(this,e),this.getNoticeState=function(e,t){var n=Kl(),a=n.tenantId,r=n.userName;return ye.get("".concat(e,"/notice/1.0/announce/").concat(a,"/").concat(r,"?contentId=").concat(t))},this.setNoticeState=function(e,t){var n=Kl(),a=n.tenantId,r=n.userName;return ye.post("".concat(e,"/notice/1.0/announce/").concat(a,"/").concat(r,"?contentId=").concat(t))}}var t,n,a,r,i,o,l,s,u;return w(e,[{key:"getCustomerInfo",value:(u=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return u.apply(this,arguments)})},{key:"getCustomerStorageInfo",value:(s=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/attr/detail"),e.next=3,ye.get(i,{params:r});case 3:return e.abrupt("return",e.sent.data);case 6:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return s.apply(this,arguments)})},{key:"saveCustomerStorageInfo",value:(l=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/attr/detail"),e.next=3,ye.post(i,r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return l.apply(this,arguments)})},{key:"getCustomerItemInfo",value:(o=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customer/decrypt/").concat(a,"/").concat(r),e.next=3,ye.get(i);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return o.apply(this,arguments)})},{key:"getEditCustomerItemInfo",value:(i=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/decrypt/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return i.apply(this,arguments)})},{key:"saveCustomerInfo",value:(r=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customer/").concat(a,"/all"),e.next=3,ye.put(i,r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return r.apply(this,arguments)})},{key:"saveCustomerItemInfo",value:(a=g(p().mark((function e(t,n,a,r,i){var o;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(t,"/").concat(n,"/customer/").concat(i),e.next=3,ye.put(o,{field:a,value:r});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,r,i){return a.apply(this,arguments)})},{key:"getPlatformList",value:(n=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(n,"/customer/platform"),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"getAddressInfo",value:(t=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/full/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n,a){return t.apply(this,arguments)})}]),e}(),Ql=new Yl,Jl=l.default.createContext(null),Xl=Ae((function(e,t){e.exports=function(){var t,n;function a(){return t.apply(null,arguments)}function r(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function u(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,a=[],r=e.length;for(n=0;r>n;++n)a.push(t(e[n],n));return a}function p(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,a){return Qn(e,t,n,a,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function v(e){return null==e._pf&&(e._pf=m()),e._pf}function g(e){var t=null,a=!1,r=e._d&&!isNaN(e._d.getTime());return r&&(t=v(e),a=n.call(t.parsedDateParts,(function(e){return null!=e})),r=0>t.overflow&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&a),e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?r:(e._isValid=r,e._isValid)}function y(e){var t=h(NaN);return null!=e?p(v(t),e):v(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),a=n.length>>>0;for(t=0;a>t;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=a.momentProperties=[],w=!1;function k(e,t){var n,a,r,i=b.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=v(t)),u(t._locale)||(e._locale=t._locale),i>0)for(n=0;i>n;n++)u(r=t[a=b[n]])||(e[a]=r);return e}function E(e){k(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,a.updateOffset(this),w=!1)}function C(e){return e instanceof E||null!=e&&null!=e._isAMomentObject}function S(e){!1===a.suppressDeprecationWarnings&&void 0!==console&&console.warn&&console.warn("Deprecation warning: "+e)}function _(e,t){var n=!0;return p((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var r,i,o,s=[],u=arguments.length;for(i=0;u>i;i++){if(r="","object"==typeof arguments[i]){for(o in r+="\n["+i+"] ",arguments[0])l(arguments[0],o)&&(r+=o+": "+arguments[0][o]+", ");r=r.slice(0,-2)}else r=arguments[i];s.push(r)}S(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+Error().stack),n=!1}return t.apply(this,arguments)}),t)}var x,A={};function I(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),A[e]||(S(t),A[e]=!0)}function N(e){return void 0!==Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e){var t,n;for(n in e)l(e,n)&&(N(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function T(e,t){var n,a=p({},e);for(n in t)l(t,n)&&(o(e[n])&&o(t[n])?(a[n]={},p(a[n],e[n]),p(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)l(e,n)&&!l(t,n)&&o(e[n])&&(a[n]=p({},a[n]));return a}function O(e){null!=e&&this.set(e)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var M={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function F(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return N(a)?a.call(t,n):a}function L(e,t,n){var a=""+Math.abs(e);return(0>e?"-":n?"+":"")+(""+Math.pow(10,Math.max(0,t-a.length))).substr(1)+a}var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},z={};function j(e,t,n,a){var r=a;"string"==typeof a&&(r=function(){return this[a]()}),e&&(z[e]=r),t&&(z[t[0]]=function(){return L(r.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function V(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,a=e.match(P);for(t=0,n=a.length;n>t;t++)a[t]=z[a[t]]?z[a[t]]:V(a[t]);return function(t){var r,i="";for(r=0;n>r;r++)i+=N(a[r])?a[r].call(t,e):a[r];return i}}function H(e,t){return e.isValid()?(t=q(t,e.localeData()),R[t]=R[t]||U(t),R[t](e)):e.localeData().invalidDate()}function q(e,t){var n=5;function a(e){return t.longDateFormat(e)||e}for(B.lastIndex=0;n>=0&&B.test(e);)e=e.replace(B,a),B.lastIndex=0,n-=1;return e}var W={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function G(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(P).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var K="Invalid date";function Y(){return this._invalidDate}var Q="%d",J=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var Z={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function $(e,t,n,a){var r=this._relativeTime[n];return N(r)?r(e,t,n,a):r.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return N(n)?n(t):n.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ae(e){var t,n,a={};for(n in e)l(e,n)&&(t=ne(n))&&(a[t]=e[n]);return a}var re={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ie(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:re[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var oe,le=/\d/,se=/\d\d/,ue=/\d{3}/,ce=/\d{4}/,de=/[+-]?\d{6}/,fe=/\d\d?/,pe=/\d\d\d\d?/,he=/\d\d\d\d\d\d?/,me=/\d{1,3}/,ve=/\d{1,4}/,ge=/[+-]?\d{1,6}/,ye=/\d+/,be=/[+-]?\d+/,we=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,Ee=/[+-]?\d+(\.\d{1,3})?/,Ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Se=/^[1-9]\d?/,_e=/^([1-9]\d|\d)/;function xe(e,t,n){oe[e]=N(t)?t:function(e,a){return e&&n?n:t}}function Ae(e,t){return l(oe,e)?oe[e](t._strict,t._locale):RegExp(Ne(e))}function Ne(e){return De(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,a,r){return t||n||a||r})))}function De(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Te(e){return 0>e?Math.ceil(e)||0:Math.floor(e)}function Oe(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Te(t)),n}oe={};var Me={};function Fe(e,t){var n,a,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=Oe(e)}),a=e.length,n=0;a>n;n++)Me[e[n]]=r}function Le(e,t){Fe(e,(function(e,n,a,r){a._w=a._w||{},t(e,a._w,a,r)}))}function Pe(e,t,n){null!=t&&l(Me,e)&&Me[e](t,n._a,n,e)}function Be(e){return e%4==0&&e%100!=0||e%400==0}var Re=0,ze=1,je=2,Ve=3,Ue=4,He=5,qe=6,We=7,Ge=8;function Ke(e){return Be(e)?366:365}j("Y",0,0,(function(){var e=this.year();return e>9999?"+"+e:L(e,4)})),j(0,["YY",2],0,(function(){return this.year()%100})),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),xe("Y",be),xe("YY",fe,se),xe("YYYY",ve,ce),xe("YYYYY",ge,de),xe("YYYYYY",ge,de),Fe(["YYYYY","YYYYYY"],Re),Fe("YYYY",(function(e,t){t[Re]=2===e.length?a.parseTwoDigitYear(e):Oe(e)})),Fe("YY",(function(e,t){t[Re]=a.parseTwoDigitYear(e)})),Fe("Y",(function(e,t){t[Re]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return Oe(e)+(Oe(e)>68?1900:2e3)};var Ye,Qe=Xe("FullYear",!0);function Je(){return Be(this.year())}function Xe(e,t){return function(n){return null!=n?($e(this,e,n),a.updateOffset(this,t),this):Ze(this,e)}}function Ze(e,t){if(!e.isValid())return NaN;var n=e._d,a=e._isUTC;switch(t){case"Milliseconds":return a?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return a?n.getUTCSeconds():n.getSeconds();case"Minutes":return a?n.getUTCMinutes():n.getMinutes();case"Hours":return a?n.getUTCHours():n.getHours();case"Date":return a?n.getUTCDate():n.getDate();case"Day":return a?n.getUTCDay():n.getDay();case"Month":return a?n.getUTCMonth():n.getMonth();case"FullYear":return a?n.getUTCFullYear():n.getFullYear();default:return NaN}}function $e(e,t,n){var a,r,i,o,l;if(e.isValid()&&!isNaN(n)){switch(a=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?a.setUTCMilliseconds(n):a.setMilliseconds(n));case"Seconds":return void(r?a.setUTCSeconds(n):a.setSeconds(n));case"Minutes":return void(r?a.setUTCMinutes(n):a.setMinutes(n));case"Hours":return void(r?a.setUTCHours(n):a.setHours(n));case"Date":return void(r?a.setUTCDate(n):a.setDate(n));case"FullYear":break;default:return}i=n,o=e.month(),l=29!==(l=e.date())||1!==o||Be(i)?l:28,r?a.setUTCFullYear(i,o,l):a.setFullYear(i,o,l)}}function et(e){return N(this[e=ne(e)])?this[e]():this}function tt(e,t){if("object"==typeof e){var n,a=ie(e=ae(e)),r=a.length;for(n=0;r>n;n++)this[a[n].unit](e[a[n].unit])}else if(N(this[e=ne(e)]))return this[e](t);return this}function nt(e,t){return(e%t+t)%t}function at(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=nt(t,12);return e+=(t-n)/12,1===n?Be(e)?29:28:31-n%7%2}Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;this.length>t;++t)if(this[t]===e)return t;return-1},j("M",["MM",2],"Mo",(function(){return this.month()+1})),j("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),j("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),xe("M",fe,Se),xe("MM",fe,se),xe("MMM",(function(e,t){return t.monthsShortRegex(e)})),xe("MMMM",(function(e,t){return t.monthsRegex(e)})),Fe(["M","MM"],(function(e,t){t[ze]=Oe(e)-1})),Fe(["MMM","MMMM"],(function(e,t,n,a){var r=n._locale.monthsParse(e,a,n._strict);null!=r?t[ze]=r:v(n).invalidMonth=e}));var rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),it="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,lt=Ce,st=Ce;function ut(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone}function ct(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function dt(e,t,n){var a,r,i,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;12>a;++a)i=h([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=Ye.call(this._shortMonthsParse,o))?r:null:-1!==(r=Ye.call(this._longMonthsParse,o))?r:null:"MMM"===t?-1!==(r=Ye.call(this._shortMonthsParse,o))||-1!==(r=Ye.call(this._longMonthsParse,o))?r:null:-1!==(r=Ye.call(this._longMonthsParse,o))||-1!==(r=Ye.call(this._shortMonthsParse,o))?r:null}function ft(e,t,n){var a,r,i;if(this._monthsParseExact)return dt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;12>a;a++){if(r=h([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(i="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[a]=RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}}function pt(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Oe(t);else if(!c(t=e.localeData().monthsParse(t)))return e;var n=t,a=e.date();return a=29>a?a:Math.min(a,at(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,a):e._d.setMonth(n,a),e}function ht(e){return null!=e?(pt(this,e),a.updateOffset(this,!0),this):Ze(this,"Month")}function mt(){return at(this.year(),this.month())}function vt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||yt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=lt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||yt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function yt(){function e(e,t){return t.length-e.length}var t,n,a,r,i=[],o=[],l=[];for(t=0;12>t;t++)n=h([2e3,t]),a=De(this.monthsShort(n,"")),r=De(this.months(n,"")),i.push(a),o.push(r),l.push(r),l.push(a);i.sort(e),o.sort(e),l.sort(e),this._monthsRegex=RegExp("^("+l.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=RegExp("^("+i.join("|")+")","i")}function bt(e,t,n,a,r,i,o){var l;return 100>e&&e>=0?isFinite((l=new Date(e+400,t,n,a,r,i,o)).getFullYear())&&l.setFullYear(e):l=new Date(e,t,n,a,r,i,o),l}function wt(e){var t,n;return 100>e&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function kt(e,t,n){var a=7+t-n;return-(7+wt(e,0,a).getUTCDay()-t)%7+a-1}function Et(e,t,n,a,r){var i,o,l=1+7*(t-1)+(7+n-a)%7+kt(e,a,r);return l>0?l>Ke(e)?(i=e+1,o=l-Ke(e)):(i=e,o=l):o=Ke(i=e-1)+l,{year:i,dayOfYear:o}}function Ct(e,t,n){var a,r,i=kt(e.year(),t,n),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return 1>o?a=o+St(r=e.year()-1,t,n):o>St(e.year(),t,n)?(a=o-St(e.year(),t,n),r=e.year()+1):(r=e.year(),a=o),{week:a,year:r}}function St(e,t,n){var a=kt(e,t,n),r=kt(e+1,t,n);return(Ke(e)-a+r)/7}function _t(e){return Ct(e,this._week.dow,this._week.doy).week}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),xe("w",fe,Se),xe("ww",fe,se),xe("W",fe,Se),xe("WW",fe,se),Le(["w","ww","W","WW"],(function(e,t,n,a){t[a.substr(0,1)]=Oe(e)}));var xt={dow:0,doy:6};function At(){return this._week.dow}function It(){return this._week.doy}function Nt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Dt(e){var t=Ct(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Tt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ot(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Mt(e,t){return e.slice(t,7).concat(e.slice(0,t))}j("d",0,"do","day"),j("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),j("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),j("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),xe("d",fe),xe("e",fe),xe("E",fe),xe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),xe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),xe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Le(["dd","ddd","dddd"],(function(e,t,n,a){var r=n._locale.weekdaysParse(e,a,n._strict);null!=r?t.d=r:v(n).invalidWeekday=e})),Le(["d","e","E"],(function(e,t,n,a){t[a]=Oe(e)}));var Ft="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Lt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Pt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bt=Ce,Rt=Ce,zt=Ce;function jt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Mt(n,this._week.dow):e?n[e.day()]:n}function Vt(e){return!0===e?Mt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?Mt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ht(e,t,n){var a,r,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;7>a;++a)i=h([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=Ye.call(this._weekdaysParse,o))?r:null:"ddd"===t?-1!==(r=Ye.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=Ye.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=Ye.call(this._weekdaysParse,o))||-1!==(r=Ye.call(this._shortWeekdaysParse,o))||-1!==(r=Ye.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=Ye.call(this._shortWeekdaysParse,o))||-1!==(r=Ye.call(this._weekdaysParse,o))||-1!==(r=Ye.call(this._minWeekdaysParse,o))?r:null:-1!==(r=Ye.call(this._minWeekdaysParse,o))||-1!==(r=Ye.call(this._weekdaysParse,o))||-1!==(r=Ye.call(this._shortWeekdaysParse,o))?r:null}function qt(e,t,n){var a,r,i;if(this._weekdaysParseExact)return Ht.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;7>a;a++){if(r=h([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(i="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[a]=RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}}function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=Ze(this,"Day");return null!=e?(e=Tt(e,this.localeData()),this.add(e-t,"d")):t}function Gt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Kt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ot(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Yt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Bt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Qt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,a,r,i,o=[],l=[],s=[],u=[];for(t=0;7>t;t++)n=h([2e3,1]).day(t),a=De(this.weekdaysMin(n,"")),r=De(this.weekdaysShort(n,"")),i=De(this.weekdays(n,"")),o.push(a),l.push(r),s.push(i),u.push(a),u.push(r),u.push(i);o.sort(e),l.sort(e),s.sort(e),u.sort(e),this._weekdaysRegex=RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+o.join("|")+")","i")}function Zt(){return this.hours()%12||12}function $t(){return this.hours()||24}function en(e,t){j(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,Zt),j("k",["kk",2],0,$t),j("hmm",0,0,(function(){return""+Zt.apply(this)+L(this.minutes(),2)})),j("hmmss",0,0,(function(){return""+Zt.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)})),j("Hmm",0,0,(function(){return""+this.hours()+L(this.minutes(),2)})),j("Hmmss",0,0,(function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)})),en("a",!0),en("A",!1),xe("a",tn),xe("A",tn),xe("H",fe,_e),xe("h",fe,Se),xe("k",fe,Se),xe("HH",fe,se),xe("hh",fe,se),xe("kk",fe,se),xe("hmm",pe),xe("hmmss",he),xe("Hmm",pe),xe("Hmmss",he),Fe(["H","HH"],Ve),Fe(["k","kk"],(function(e,t,n){var a=Oe(e);t[Ve]=24===a?0:a})),Fe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Fe(["h","hh"],(function(e,t,n){t[Ve]=Oe(e),v(n).bigHour=!0})),Fe("hmm",(function(e,t,n){var a=e.length-2;t[Ve]=Oe(e.substr(0,a)),t[Ue]=Oe(e.substr(a)),v(n).bigHour=!0})),Fe("hmmss",(function(e,t,n){var a=e.length-4,r=e.length-2;t[Ve]=Oe(e.substr(0,a)),t[Ue]=Oe(e.substr(a,2)),t[He]=Oe(e.substr(r)),v(n).bigHour=!0})),Fe("Hmm",(function(e,t,n){var a=e.length-2;t[Ve]=Oe(e.substr(0,a)),t[Ue]=Oe(e.substr(a))})),Fe("Hmmss",(function(e,t,n){var a=e.length-4,r=e.length-2;t[Ve]=Oe(e.substr(0,a)),t[Ue]=Oe(e.substr(a,2)),t[He]=Oe(e.substr(r))}));var an=/[ap]\.?m?\.?/i,rn=Xe("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var ln,sn={calendar:M,longDateFormat:W,invalidDate:K,ordinal:Q,dayOfMonthOrdinalParse:J,relativeTime:Z,months:rt,monthsShort:it,week:xt,weekdays:Ft,weekdaysMin:Pt,weekdaysShort:Lt,meridiemParse:an},un={},cn={};function dn(e,t){var n,a=Math.min(e.length,t.length);for(n=0;a>n;n+=1)if(e[n]!==t[n])return n;return a}function fn(e){return e?e.toLowerCase().replace("_","-"):e}function pn(e){for(var t,n,a,r,i=0;e.length>i;){for(t=(r=fn(e[i]).split("-")).length,n=(n=fn(e[i+1]))?n.split("-"):null;t>0;){if(a=mn(r.slice(0,t).join("-")))return a;if(n&&n.length>=t&&dn(r,n)>=t-1)break;t--}i++}return ln}function hn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function mn(t){var n=null;if(void 0===un[t]&&e&&e.exports&&hn(t))try{n=ln._abbr,Ie(),vn(n)}catch(e){un[t]=null}return un[t]}function vn(e,t){var n;return e&&((n=u(t)?bn(e):gn(e,t))?ln=n:void 0!==console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ln._abbr}function gn(e,t){if(null!==t){var n,a=sn;if(t.abbr=e,null!=un[e])I("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),a=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])a=un[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;a=n._config}return un[e]=new O(T(a,t)),cn[e]&&cn[e].forEach((function(e){gn(e.name,e.config)})),vn(e),un[e]}return delete un[e],null}function yn(e,t){if(null!=t){var n,a,r=sn;null!=un[e]&&null!=un[e].parentLocale?un[e].set(T(un[e]._config,t)):(null!=(a=mn(e))&&(r=a._config),t=T(r,t),null==a&&(t.abbr=e),(n=new O(t)).parentLocale=un[e],un[e]=n),vn(e)}else null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===vn()&&vn(e)):null!=un[e]&&delete un[e]);return un[e]}function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ln;if(!i(e)){if(t=mn(e))return t;e=[e]}return pn(e)}function wn(){return x(un)}function kn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=0>n[ze]||n[ze]>11?ze:1>n[je]||n[je]>at(n[Re],n[ze])?je:0>n[Ve]||n[Ve]>24||24===n[Ve]&&(0!==n[Ue]||0!==n[He]||0!==n[qe])?Ve:0>n[Ue]||n[Ue]>59?Ue:0>n[He]||n[He]>59?He:0>n[qe]||n[qe]>999?qe:-1,v(e)._overflowDayOfYear&&(Re>t||t>je)&&(t=je),v(e)._overflowWeeks&&-1===t&&(t=We),v(e)._overflowWeekday&&-1===t&&(t=Ge),v(e).overflow=t),e}var En=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Cn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,_n=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],An=/^\/?Date\((-?\d+)/i,In=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Nn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(e){var t,n,a,r,i,o,l=e._i,s=En.exec(l)||Cn.exec(l),u=_n.length,c=xn.length;if(s){for(v(e).iso=!0,t=0,n=u;n>t;t++)if(_n[t][1].exec(s[1])){r=_n[t][0],a=!1!==_n[t][2];break}if(null==r)return void(e._isValid=!1);if(s[3]){for(t=0,n=c;n>t;t++)if(xn[t][1].exec(s[3])){i=(s[2]||" ")+xn[t][0];break}if(null==i)return void(e._isValid=!1)}if(!a&&null!=i)return void(e._isValid=!1);if(s[4]){if(!Sn.exec(s[4]))return void(e._isValid=!1);o="Z"}e._f=r+(i||"")+(o||""),Un(e)}else e._isValid=!1}function Tn(e,t,n,a,r,i){var o=[On(e),it.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(r,10)];return i&&o.push(parseInt(i,10)),o}function On(e){var t=parseInt(e,10);return t>49?t>999?t:1900+t:2e3+t}function Mn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Fn(e,t,n){return!e||Lt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(v(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Ln(e,t,n){if(e)return Nn[e];if(t)return 0;var a=parseInt(n,10),r=a%100;return(a-r)/100*60+r}function Pn(e){var t,n=In.exec(Mn(e._i));if(n){if(t=Tn(n[4],n[3],n[2],n[5],n[6],n[7]),!Fn(n[1],t,e))return;e._a=t,e._tzm=Ln(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function Bn(e){var t=An.exec(e._i);null===t?(Dn(e),!1===e._isValid&&(delete e._isValid,Pn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Rn(e,t,n){return null!=e?e:null!=t?t:n}function zn(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function jn(e){var t,n,a,r,i,o=[];if(!e._d){for(a=zn(e),e._w&&null==e._a[je]&&null==e._a[ze]&&Vn(e),null!=e._dayOfYear&&(i=Rn(e._a[Re],a[Re]),(e._dayOfYear>Ke(i)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=wt(i,0,e._dayOfYear),e._a[ze]=n.getUTCMonth(),e._a[je]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=a[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ve]&&0===e._a[Ue]&&0===e._a[He]&&0===e._a[qe]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?wt:bt).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ve]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(v(e).weekdayMismatch=!0)}}function Vn(e){var t,n,a,r,i,o,l,s,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,o=4,n=Rn(t.GG,e._a[Re],Ct(Jn(),1,4).year),a=Rn(t.W,1),(1>(r=Rn(t.E,1))||r>7)&&(s=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,u=Ct(Jn(),i,o),n=Rn(t.gg,e._a[Re],u.year),a=Rn(t.w,u.week),null!=t.d?(0>(r=t.d)||r>6)&&(s=!0):null!=t.e?(r=t.e+i,(0>t.e||t.e>6)&&(s=!0)):r=i),1>a||a>St(n,i,o)?v(e)._overflowWeeks=!0:null!=s?v(e)._overflowWeekday=!0:(l=Et(n,a,r,i,o),e._a[Re]=l.year,e._dayOfYear=l.dayOfYear)}function Un(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],v(e).empty=!0;var t,n,r,i,o,l,s,u=""+e._i,c=u.length,d=0;for(s=(r=q(e._f,e._locale).match(P)||[]).length,t=0;s>t;t++)(n=(u.match(Ae(i=r[t],e))||[])[0])&&((o=u.substr(0,u.indexOf(n))).length>0&&v(e).unusedInput.push(o),u=u.slice(u.indexOf(n)+n.length),d+=n.length),z[i]?(n?v(e).empty=!1:v(e).unusedTokens.push(i),Pe(i,n,e)):e._strict&&!n&&v(e).unusedTokens.push(i);v(e).charsLeftOver=c-d,u.length>0&&v(e).unusedInput.push(u),12>=e._a[Ve]&&!0===v(e).bigHour&&e._a[Ve]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[Ve]=Hn(e._locale,e._a[Ve],e._meridiem),null!==(l=v(e).era)&&(e._a[Re]=e._locale.erasConvertYear(l,e._a[Re])),jn(e),kn(e)}else Pn(e);else Dn(e)}function Hn(e,t,n){var a;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((a=e.isPM(n))&&12>t&&(t+=12),a||12!==t||(t=0),t):t}function qn(e){var t,n,a,r,i,o,l=!1,s=e._f.length;if(0===s)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;s>r;r++)i=0,o=!1,t=k({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Un(t),g(t)&&(o=!0),i+=v(t).charsLeftOver,i+=10*v(t).unusedTokens.length,v(t).score=i,l?a>i&&(a=i,n=t):(null==a||a>i||o)&&(a=i,n=t,o&&(l=!0));p(e,n||t)}function Wn(e){if(!e._d){var t=ae(e._i);e._a=f([t.year,t.month,void 0===t.day?t.date:t.day,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),jn(e)}}function Gn(e){var t=new E(kn(Kn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Kn(e){var t=e._i,n=e._f;return e._locale=e._locale||bn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),C(t)?new E(kn(t)):(d(t)?e._d=t:i(n)?qn(e):n?Un(e):Yn(e),g(e)||(e._d=null),e))}function Yn(e){var t=e._i;u(t)?e._d=new Date(a.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Bn(e):i(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),jn(e)):o(t)?Wn(e):c(t)?e._d=new Date(t):a.createFromInputFallback(e)}function Qn(e,t,n,a,r){var l={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(o(e)&&s(e)||i(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=r,l._l=n,l._i=e,l._f=t,l._strict=a,Gn(l)}function Jn(e,t,n,a){return Qn(e,t,n,a,!1)}a.createFromInputFallback=_("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Xn=_("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Jn.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:y()})),Zn=_("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Jn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function $n(e,t){var n,a;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Jn();for(n=t[0],a=1;t.length>a;++a)t[a].isValid()&&!t[a][e](n)||(n=t[a]);return n}function ea(){return $n("isBefore",[].slice.call(arguments,0))}function ta(){return $n("isAfter",[].slice.call(arguments,0))}var na=function(){return Date.now?Date.now():+new Date},aa=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ra(e){var t,n,a=!1,r=aa.length;for(t in e)if(l(e,t)&&(-1===Ye.call(aa,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;r>n;++n)if(e[aa[n]]){if(a)return!1;parseFloat(e[aa[n]])!==Oe(e[aa[n]])&&(a=!0)}return!0}function ia(){return this._isValid}function oa(){return Na(NaN)}function la(e){var t=ae(e),n=t.year||0,a=t.quarter||0,r=t.month||0,i=t.week||t.isoWeek||0,o=t.day||0,l=t.hour||0,s=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=ra(t),this._milliseconds=+c+1e3*u+6e4*s+1e3*l*60*60,this._days=+o+7*i,this._months=+r+3*a+12*n,this._data={},this._locale=bn(),this._bubble()}function sa(e){return e instanceof la}function ua(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function ca(e,t,n){var a,r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0;for(a=0;r>a;a++)(n&&e[a]!==t[a]||!n&&Oe(e[a])!==Oe(t[a]))&&o++;return o+i}function da(e,t){j(e,0,0,(function(){var e=this.utcOffset(),n="+";return 0>e&&(e=-e,n="-"),n+L(~~(e/60),2)+t+L(~~e%60,2)}))}da("Z",":"),da("ZZ",""),xe("Z",ke),xe("ZZ",ke),Fe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=pa(ke,e)}));var fa=/([\+\-]|\d\d)/gi;function pa(e,t){var n,a,r=(t||"").match(e);return null===r?null:0===(a=60*(n=((r[r.length-1]||[])+"").match(fa)||["-",0,0])[1]+Oe(n[2]))?0:"+"===n[0]?a:-a}function ha(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(C(e)||d(e)?e.valueOf():Jn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),a.updateOffset(n,!1),n):Jn(e).local()}function ma(e){return-Math.round(e._d.getTimezoneOffset())}function va(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=pa(ke,e)))return this}else 16>Math.abs(e)&&!n&&(e*=60);return!this._isUTC&&t&&(r=ma(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Fa(this,Na(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:ma(this)}function ga(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ya(e){return this.utcOffset(0,e)}function ba(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ma(this),"m")),this}function wa(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=pa(we,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ka(e){return!!this.isValid()&&(e=e?Jn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Ea(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ca(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return k(t,this),(t=Kn(t))._a?(e=t._isUTC?h(t._a):Jn(t._a),this._isDSTShifted=this.isValid()&&ca(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sa(){return!!this.isValid()&&!this._isUTC}function _a(){return!!this.isValid()&&this._isUTC}function xa(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Aa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ia=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Na(e,t){var n,a,r,i=e,o=null;return sa(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=Aa.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:Oe(o[je])*n,h:Oe(o[Ve])*n,m:Oe(o[Ue])*n,s:Oe(o[He])*n,ms:Oe(ua(1e3*o[qe]))*n}):(o=Ia.exec(e))?i={y:Da(o[2],n="-"===o[1]?-1:1),M:Da(o[3],n),w:Da(o[4],n),d:Da(o[5],n),h:Da(o[6],n),m:Da(o[7],n),s:Da(o[8],n)}:null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(r=Oa(Jn(i.from),Jn(i.to)),(i={}).ms=r.milliseconds,i.M=r.months),a=new la(i),sa(e)&&l(e,"_locale")&&(a._locale=e._locale),sa(e)&&l(e,"_isValid")&&(a._isValid=e._isValid),a}function Da(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ta(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Oa(e,t){var n;return e.isValid()&&t.isValid()?(t=ha(t,e),e.isBefore(t)?n=Ta(e,t):((n=Ta(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ma(e,t){return function(n,a){var r;return null===a||isNaN(+a)||(I(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=a,a=r),Fa(this,Na(n,a),e),this}}function Fa(e,t,n,r){var i=t._milliseconds,o=ua(t._days),l=ua(t._months);e.isValid()&&(r=null==r||r,l&&pt(e,Ze(e,"Month")+l*n),o&&$e(e,"Date",Ze(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&a.updateOffset(e,o||l))}Na.fn=la.prototype,Na.invalid=oa;var La=Ma(1,"add"),Pa=Ma(-1,"subtract");function Ba(e){return"string"==typeof e||e instanceof String}function Ra(e){return C(e)||d(e)||Ba(e)||c(e)||ja(e)||za(e)||null==e}function za(e){var t,n=o(e)&&!s(e),a=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i=r.length;for(t=0;i>t;t+=1)a=a||l(e,r[t]);return n&&a}function ja(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Ba(e)})).length),t&&n}function Va(e){var t,n=o(e)&&!s(e),a=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;r.length>t;t+=1)a=a||l(e,r[t]);return n&&a}function Ua(e,t){var n=e.diff(t,"days",!0);return-6>n?"sameElse":-1>n?"lastWeek":0>n?"lastDay":1>n?"sameDay":2>n?"nextDay":7>n?"nextWeek":"sameElse"}function Ha(e,t){1===arguments.length&&(arguments[0]?Ra(arguments[0])?(e=arguments[0],t=void 0):Va(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Jn(),r=ha(n,this).startOf("day"),i=a.calendarFormat(this,r)||"sameElse",o=t&&(N(t[i])?t[i].call(this,n):t[i]);return this.format(o||this.localeData().calendar(i,this,Jn(n)))}function qa(){return new E(this)}function Wa(e,t){var n=C(e)?e:Jn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Ga(e,t){var n=C(e)?e:Jn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?n.valueOf()>this.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Ka(e,t,n,a){var r=C(e)?e:Jn(e),i=C(t)?t:Jn(t);return!!(this.isValid()&&r.isValid()&&i.isValid())&&("("===(a=a||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===a[1]?this.isBefore(i,n):!this.isAfter(i,n))}function Ya(e,t){var n,a=C(e)?e:Jn(e);return!(!this.isValid()||!a.isValid()||("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()!==a.valueOf():(n=a.valueOf(),this.clone().startOf(t).valueOf()>n||n>this.clone().endOf(t).valueOf())))}function Qa(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ja(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Xa(e,t,n){var a,r,i;if(!this.isValid())return NaN;if(!(a=ha(e,this)).isValid())return NaN;switch(r=6e4*(a.utcOffset()-this.utcOffset()),t=ne(t)){case"year":i=Za(this,a)/12;break;case"month":i=Za(this,a);break;case"quarter":i=Za(this,a)/3;break;case"second":i=(this-a)/1e3;break;case"minute":i=(this-a)/6e4;break;case"hour":i=(this-a)/36e5;break;case"day":i=(this-a-r)/864e5;break;case"week":i=(this-a-r)/6048e5;break;default:i=this-a}return n?i:Te(i)}function Za(e,t){if(e.date()<t.date())return-Za(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(n,"months");return-(n+(0>t-a?(t-a)/(a-e.clone().add(n-1,"months")):(t-a)/(e.clone().add(n+1,"months")-a)))||0}function $a(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function er(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return 0>n.year()||n.year()>9999?H(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):N(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(n,"Z")):H(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function tr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n="moment",a="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+n+'("]',t=0>this.year()||this.year()>9999?"YYYYYY":"YYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+a+'[")]')}function nr(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)}function ar(e,t){return this.isValid()&&(C(e)&&e.isValid()||Jn(e).isValid())?Na({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rr(e){return this.from(Jn(),e)}function ir(e,t){return this.isValid()&&(C(e)&&e.isValid()||Jn(e).isValid())?Na({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function or(e){return this.to(Jn(),e)}function lr(e){var t;return void 0===e?this._locale._abbr:(null!=(t=bn(e))&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sr=_("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ur(){return this._locale}var cr=1e3,dr=60*cr,fr=60*dr,pr=3506328*fr;function hr(e,t){return(e%t+t)%t}function mr(e,t,n){return 100>e&&e>=0?new Date(e+400,t,n)-pr:new Date(e,t,n).valueOf()}function vr(e,t,n){return 100>e&&e>=0?Date.UTC(e+400,t,n)-pr:Date.UTC(e,t,n)}function gr(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vr:mr,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=hr(t+(this._isUTC?0:this.utcOffset()*dr),fr);break;case"minute":t=this._d.valueOf(),t-=hr(t,dr);break;case"second":t=this._d.valueOf(),t-=hr(t,cr)}return this._d.setTime(t),a.updateOffset(this,!0),this}function yr(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vr:mr,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fr-hr(t+(this._isUTC?0:this.utcOffset()*dr),fr)-1;break;case"minute":t=this._d.valueOf(),t+=dr-hr(t,dr)-1;break;case"second":t=this._d.valueOf(),t+=cr-hr(t,cr)-1}return this._d.setTime(t),a.updateOffset(this,!0),this}function br(){return this._d.valueOf()-6e4*(this._offset||0)}function wr(){return Math.floor(this.valueOf()/1e3)}function kr(){return new Date(this.valueOf())}function Er(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Cr(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Sr(){return this.isValid()?this.toISOString():null}function _r(){return g(this)}function xr(){return p({},v(this))}function Ar(){return v(this).overflow}function Ir(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Nr(e,t){var n,r,i,o=this._eras||bn("en")._eras;for(n=0,r=o.length;r>n;++n)switch("string"==typeof o[n].since&&(i=a(o[n].since).startOf("day"),o[n].since=i.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":i=a(o[n].until).startOf("day").valueOf(),o[n].until=i.valueOf()}return o}function Dr(e,t,n){var a,r,i,o,l,s=this.eras();for(e=e.toUpperCase(),a=0,r=s.length;r>a;++a)if(i=s[a].name.toUpperCase(),o=s[a].abbr.toUpperCase(),l=s[a].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return s[a];break;case"NNNN":if(i===e)return s[a];break;case"NNNNN":if(l===e)return s[a]}else if([i,o,l].indexOf(e)>=0)return s[a]}function Tr(e,t){var n=e.since>e.until?-1:1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n}function Or(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;t>e;++e){if((n=this.clone().startOf("day").valueOf())>=a[e].since&&a[e].until>=n)return a[e].name;if(n>=a[e].until&&a[e].since>=n)return a[e].name}return""}function Mr(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;t>e;++e){if((n=this.clone().startOf("day").valueOf())>=a[e].since&&a[e].until>=n)return a[e].narrow;if(n>=a[e].until&&a[e].since>=n)return a[e].narrow}return""}function Fr(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;t>e;++e){if((n=this.clone().startOf("day").valueOf())>=a[e].since&&a[e].until>=n)return a[e].abbr;if(n>=a[e].until&&a[e].since>=n)return a[e].abbr}return""}function Lr(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;t>e;++e)if(n=i[e].since>i[e].until?-1:1,(r=this.clone().startOf("day").valueOf())>=i[e].since&&i[e].until>=r||r>=i[e].until&&i[e].since>=r)return(this.year()-a(i[e].since).year())*n+i[e].offset;return this.year()}function Pr(e){return l(this,"_erasNameRegex")||Hr.call(this),e?this._erasNameRegex:this._erasRegex}function Br(e){return l(this,"_erasAbbrRegex")||Hr.call(this),e?this._erasAbbrRegex:this._erasRegex}function Rr(e){return l(this,"_erasNarrowRegex")||Hr.call(this),e?this._erasNarrowRegex:this._erasRegex}function zr(e,t){return t.erasAbbrRegex(e)}function jr(e,t){return t.erasNameRegex(e)}function Vr(e,t){return t.erasNarrowRegex(e)}function Ur(e,t){return t._eraYearOrdinalRegex||ye}function Hr(){var e,t,n,a,r,i=[],o=[],l=[],s=[],u=this.eras();for(e=0,t=u.length;t>e;++e)n=De(u[e].name),a=De(u[e].abbr),r=De(u[e].narrow),o.push(n),i.push(a),l.push(r),s.push(n),s.push(a),s.push(r);this._erasRegex=RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=RegExp("^("+l.join("|")+")","i")}function qr(e,t){j(0,[e,e.length],0,t)}function Wr(e){return Xr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Gr(e){return Xr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Kr(){return St(this.year(),1,4)}function Yr(){return St(this.isoWeekYear(),1,4)}function Qr(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function Jr(){var e=this.localeData()._week;return St(this.weekYear(),e.dow,e.doy)}function Xr(e,t,n,a,r){var i;return null==e?Ct(this,a,r).year:(t>(i=St(e,a,r))&&(t=i),Zr.call(this,e,t,n,a,r))}function Zr(e,t,n,a,r){var i=Et(e,t,n,a,r),o=wt(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function $r(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}j("N",0,0,"eraAbbr"),j("NN",0,0,"eraAbbr"),j("NNN",0,0,"eraAbbr"),j("NNNN",0,0,"eraName"),j("NNNNN",0,0,"eraNarrow"),j("y",["y",1],"yo","eraYear"),j("y",["yy",2],0,"eraYear"),j("y",["yyy",3],0,"eraYear"),j("y",["yyyy",4],0,"eraYear"),xe("N",zr),xe("NN",zr),xe("NNN",zr),xe("NNNN",jr),xe("NNNNN",Vr),Fe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,a){var r=n._locale.erasParse(e,a,n._strict);r?v(n).era=r:v(n).invalidEra=e})),xe("y",ye),xe("yy",ye),xe("yyy",ye),xe("yyyy",ye),xe("yo",Ur),Fe(["y","yy","yyy","yyyy"],Re),Fe(["yo"],(function(e,t,n,a){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),t[Re]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(e,r):parseInt(e,10)})),j(0,["gg",2],0,(function(){return this.weekYear()%100})),j(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),qr("gggg","weekYear"),qr("ggggg","weekYear"),qr("GGGG","isoWeekYear"),qr("GGGGG","isoWeekYear"),xe("G",be),xe("g",be),xe("GG",fe,se),xe("gg",fe,se),xe("GGGG",ve,ce),xe("gggg",ve,ce),xe("GGGGG",ge,de),xe("ggggg",ge,de),Le(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,a){t[a.substr(0,2)]=Oe(e)})),Le(["gg","GG"],(function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)})),j("Q",0,"Qo","quarter"),xe("Q",le),Fe("Q",(function(e,t){t[ze]=3*(Oe(e)-1)})),j("D",["DD",2],"Do","date"),xe("D",fe,Se),xe("DD",fe,se),xe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Fe(["D","DD"],je),Fe("Do",(function(e,t){t[je]=Oe(e.match(fe)[0])}));var ei=Xe("Date",!0);function ti(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}j("DDD",["DDDD",3],"DDDo","dayOfYear"),xe("DDD",me),xe("DDDD",ue),Fe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Oe(e)})),j("m",["mm",2],0,"minute"),xe("m",fe,_e),xe("mm",fe,se),Fe(["m","mm"],Ue);var ni=Xe("Minutes",!1);j("s",["ss",2],0,"second"),xe("s",fe,_e),xe("ss",fe,se),Fe(["s","ss"],He);var ai,ri,ii=Xe("Seconds",!1);for(j("S",0,0,(function(){return~~(this.millisecond()/100)})),j(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),j(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),j(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),j(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),j(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),j(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),xe("S",me,le),xe("SS",me,se),xe("SSS",me,ue),ai="SSSS";9>=ai.length;ai+="S")xe(ai,ye);function oi(e,t){t[qe]=Oe(1e3*("0."+e))}for(ai="S";9>=ai.length;ai+="S")Fe(ai,oi);function li(){return this._isUTC?"UTC":""}function si(){return this._isUTC?"Coordinated Universal Time":""}ri=Xe("Milliseconds",!1),j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var ui=E.prototype;function ci(e){return Jn(1e3*e)}function di(){return Jn.apply(null,arguments).parseZone()}function fi(e){return e}ui.add=La,ui.calendar=Ha,ui.clone=qa,ui.diff=Xa,ui.endOf=yr,ui.format=nr,ui.from=ar,ui.fromNow=rr,ui.to=ir,ui.toNow=or,ui.get=et,ui.invalidAt=Ar,ui.isAfter=Wa,ui.isBefore=Ga,ui.isBetween=Ka,ui.isSame=Ya,ui.isSameOrAfter=Qa,ui.isSameOrBefore=Ja,ui.isValid=_r,ui.lang=sr,ui.locale=lr,ui.localeData=ur,ui.max=Zn,ui.min=Xn,ui.parsingFlags=xr,ui.set=tt,ui.startOf=gr,ui.subtract=Pa,ui.toArray=Er,ui.toObject=Cr,ui.toDate=kr,ui.toISOString=er,ui.inspect=tr,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ui[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ui.toJSON=Sr,ui.toString=$a,ui.unix=wr,ui.valueOf=br,ui.creationData=Ir,ui.eraName=Or,ui.eraNarrow=Mr,ui.eraAbbr=Fr,ui.eraYear=Lr,ui.year=Qe,ui.isLeapYear=Je,ui.weekYear=Wr,ui.isoWeekYear=Gr,ui.quarter=ui.quarters=$r,ui.month=ht,ui.daysInMonth=mt,ui.week=ui.weeks=Nt,ui.isoWeek=ui.isoWeeks=Dt,ui.weeksInYear=Qr,ui.weeksInWeekYear=Jr,ui.isoWeeksInYear=Kr,ui.isoWeeksInISOWeekYear=Yr,ui.date=ei,ui.day=ui.days=Wt,ui.weekday=Gt,ui.isoWeekday=Kt,ui.dayOfYear=ti,ui.hour=ui.hours=rn,ui.minute=ui.minutes=ni,ui.second=ui.seconds=ii,ui.millisecond=ui.milliseconds=ri,ui.utcOffset=va,ui.utc=ya,ui.local=ba,ui.parseZone=wa,ui.hasAlignedHourOffset=ka,ui.isDST=Ea,ui.isLocal=Sa,ui.isUtcOffset=_a,ui.isUtc=xa,ui.isUTC=xa,ui.zoneAbbr=li,ui.zoneName=si,ui.dates=_("dates accessor is deprecated. Use date instead.",ei),ui.months=_("months accessor is deprecated. Use month instead",ht),ui.years=_("years accessor is deprecated. Use year instead",Qe),ui.zone=_("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ga),ui.isDSTShifted=_("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ca);var pi=O.prototype;function hi(e,t,n,a){var r=bn(),i=h().set(a,t);return r[n](i,e)}function mi(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return hi(e,t,n,"month");var a,r=[];for(a=0;12>a;a++)r[a]=hi(e,a,n,"month");return r}function vi(e,t,n,a){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var r,i=bn(),o=e?i._week.dow:0,l=[];if(null!=n)return hi(t,(n+o)%7,a,"day");for(r=0;7>r;r++)l[r]=hi(t,(r+o)%7,a,"day");return l}function gi(e,t){return mi(e,t,"months")}function yi(e,t){return mi(e,t,"monthsShort")}function bi(e,t,n){return vi(e,t,n,"weekdays")}function wi(e,t,n){return vi(e,t,n,"weekdaysShort")}function ki(e,t,n){return vi(e,t,n,"weekdaysMin")}pi.calendar=F,pi.longDateFormat=G,pi.invalidDate=Y,pi.ordinal=X,pi.preparse=fi,pi.postformat=fi,pi.relativeTime=$,pi.pastFuture=ee,pi.set=D,pi.eras=Nr,pi.erasParse=Dr,pi.erasConvertYear=Tr,pi.erasAbbrRegex=Br,pi.erasNameRegex=Pr,pi.erasNarrowRegex=Rr,pi.months=ut,pi.monthsShort=ct,pi.monthsParse=ft,pi.monthsRegex=gt,pi.monthsShortRegex=vt,pi.week=_t,pi.firstDayOfYear=It,pi.firstDayOfWeek=At,pi.weekdays=jt,pi.weekdaysMin=Ut,pi.weekdaysShort=Vt,pi.weekdaysParse=qt,pi.weekdaysRegex=Yt,pi.weekdaysShortRegex=Qt,pi.weekdaysMinRegex=Jt,pi.isPM=nn,pi.meridiem=on,vn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Oe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=_("moment.lang is deprecated. Use moment.locale instead.",vn),a.langData=_("moment.langData is deprecated. Use moment.localeData instead.",bn);var Ei=Math.abs;function Ci(){var e=this._data;return this._milliseconds=Ei(this._milliseconds),this._days=Ei(this._days),this._months=Ei(this._months),e.milliseconds=Ei(e.milliseconds),e.seconds=Ei(e.seconds),e.minutes=Ei(e.minutes),e.hours=Ei(e.hours),e.months=Ei(e.months),e.years=Ei(e.years),this}function Si(e,t,n,a){var r=Na(t,n);return e._milliseconds+=a*r._milliseconds,e._days+=a*r._days,e._months+=a*r._months,e._bubble()}function _i(e,t){return Si(this,e,t,1)}function xi(e,t){return Si(this,e,t,-1)}function Ai(e){return 0>e?Math.floor(e):Math.ceil(e)}function Ii(){var e,t,n,a,r,i=this._milliseconds,o=this._days,l=this._months,s=this._data;return(0>i||0>o||0>l)&&(i>0||o>0||l>0)&&(i+=864e5*Ai(Di(l)+o),o=0,l=0),s.milliseconds=i%1e3,e=Te(i/1e3),s.seconds=e%60,t=Te(e/60),s.minutes=t%60,n=Te(t/60),s.hours=n%24,o+=Te(n/24),l+=r=Te(Ni(o)),o-=Ai(Di(r)),a=Te(l/12),l%=12,s.days=o,s.months=l,s.years=a,this}function Ni(e){return 4800*e/146097}function Di(e){return 146097*e/4800}function Ti(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(n=this._months+Ni(t=this._days+a/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Di(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw Error("Unknown unit "+e)}}function Oi(e){return function(){return this.as(e)}}var Mi=Oi("ms"),Fi=Oi("s"),Li=Oi("m"),Pi=Oi("h"),Bi=Oi("d"),Ri=Oi("w"),zi=Oi("M"),ji=Oi("Q"),Vi=Oi("y"),Ui=Mi;function Hi(){return Na(this)}function qi(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Wi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Gi=Wi("milliseconds"),Ki=Wi("seconds"),Yi=Wi("minutes"),Qi=Wi("hours"),Ji=Wi("days"),Xi=Wi("months"),Zi=Wi("years");function $i(){return Te(this.days()/7)}var eo=Math.round,to={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(e,t,n,a,r){return r.relativeTime(t||1,!!n,e,a)}function ao(e,t,n,a){var r=Na(e).abs(),i=eo(r.as("s")),o=eo(r.as("m")),l=eo(r.as("h")),s=eo(r.as("d")),u=eo(r.as("M")),c=eo(r.as("w")),d=eo(r.as("y")),f=n.ss>=i&&["s",i]||n.s>i&&["ss",i]||1>=o&&["m"]||n.m>o&&["mm",o]||1>=l&&["h"]||n.h>l&&["hh",l]||1>=s&&["d"]||n.d>s&&["dd",s];return null!=n.w&&(f=f||1>=c&&["w"]||n.w>c&&["ww",c]),(f=f||1>=u&&["M"]||n.M>u&&["MM",u]||1>=d&&["y"]||["yy",d])[2]=t,f[3]=+e>0,f[4]=a,no.apply(null,f)}function ro(e){return void 0===e?eo:"function"==typeof e&&(eo=e,!0)}function io(e,t){return void 0!==to[e]&&(void 0===t?to[e]:(to[e]=t,"s"===e&&(to.ss=t-1),!0))}function oo(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,a,r=!1,i=to;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(i=Object.assign({},to,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),a=ao(this,!r,i,n=this.localeData()),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}var lo=Math.abs;function so(e){return(e>0)-(0>e)||+e}function uo(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,a,r,i,o,l,s=lo(this._milliseconds)/1e3,u=lo(this._days),c=lo(this._months),d=this.asSeconds();return d?(e=Te(s/60),t=Te(e/60),s%=60,e%=60,n=Te(c/12),c%=12,a=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=0>d?"-":"",i=so(this._months)!==so(d)?"-":"",o=so(this._days)!==so(d)?"-":"",l=so(this._milliseconds)!==so(d)?"-":"",r+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(u?o+u+"D":"")+(t||e||s?"T":"")+(t?l+t+"H":"")+(e?l+e+"M":"")+(s?l+a+"S":"")):"P0D"}var co=la.prototype;return co.isValid=ia,co.abs=Ci,co.add=_i,co.subtract=xi,co.as=Ti,co.asMilliseconds=Mi,co.asSeconds=Fi,co.asMinutes=Li,co.asHours=Pi,co.asDays=Bi,co.asWeeks=Ri,co.asMonths=zi,co.asQuarters=ji,co.asYears=Vi,co.valueOf=Ui,co._bubble=Ii,co.clone=Hi,co.get=qi,co.milliseconds=Gi,co.seconds=Ki,co.minutes=Yi,co.hours=Qi,co.days=Ji,co.weeks=$i,co.months=Xi,co.years=Zi,co.humanize=oo,co.toISOString=uo,co.toString=uo,co.toJSON=uo,co.locale=lr,co.localeData=ur,co.toIsoString=_("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo),co.lang=sr,j("X",0,0,"unix"),j("x",0,0,"valueOf"),xe("x",be),xe("X",Ee),Fe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Fe("x",(function(e,t,n){n._d=new Date(Oe(e))})),
16
16
  //! moment.js
17
- a.version="2.30.1",r(Jn),a.fn=ui,a.min=ea,a.max=ta,a.now=na,a.utc=h,a.unix=ci,a.months=gi,a.isDate=d,a.locale=vn,a.invalid=y,a.duration=Na,a.isMoment=C,a.weekdays=bi,a.parseZone=di,a.localeData=bn,a.isDuration=sa,a.monthsShort=yi,a.weekdaysMin=ki,a.defineLocale=gn,a.updateLocale=yn,a.locales=wn,a.weekdaysShort=wi,a.normalizeUnits=ne,a.relativeTimeRounding=ro,a.relativeTimeThreshold=io,a.calendarFormat=Ua,a.prototype=ui,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()})),Zl=function(e){return 0===e.tagType&&0===e.optionType},$l=function(e){return 0===e.tagType&&1===e.optionType},es=function(e){return 1===e.tagType},ts=function(e){return 5===e.tagType},ns=function(e){return 6===e.tagType},as=function(e){return 7===e.tagType},rs=function(e){return 3===e.tagType&&0===e.optionType},is=function(e){return 3===e.tagType&&1===e.optionType},os=function(e){return 8===e.tagType},ls=function(e){return function(e){return 4===e.tagType&&0===e.valueNumberOption&&0===e.optionType}(e)||function(e){return 2===e.tagType&&0===e.valueNumberOption}(e)||function(e){return 4===e.tagType&&0===e.valueNumberOption&&1===e.optionType}(e)},ss=function(e){return function(e){return 2===e.tagType&&1===e.valueNumberOption}(e)||function(e){return 4===e.tagType&&1===e.valueNumberOption&&0===e.optionType}(e)||function(e){return 4===e.tagType&&1===e.valueNumberOption&&1===e.optionType}(e)},us=function(e){return!e||Number.isNaN(e.getTime())},cs=function(e,t){return t.every((function(t){return e.includes(t)}))},ds=function(e,t){var n="isYMD"===e?"1900/01/01":"1900/01",a="isYMD"===e?"2030/12/31":"2100/12";return"age"===t&&("isYMD"===e?(n=Xl().subtract(150,"years").format("YYYY/MM/DD"),a=Xl().format("YYYY/MM/DD")):(n=Xl().subtract(150,"years").add(1,"months").format("YYYY/MM"),a=Xl().format("YYYY/MM"))),"pregnancy"===t&&("isYMD"===e?(n=Xl().format("YYYY/MM/DD"),a=Xl().add(280,"days").format("YYYY/MM/DD")):(n=Xl().format("yyyy/MM"),a=Xl().add(280,"days").format("YYYY/MM"))),[n,a]},fs={width:"661px",maxWidth:"661px",height:"460px",maxHeight:"460px"},ps={height:"368px",maxHeight:"368px",padding:"16px"},hs={M:"男",F:"女",null:"未知",undefined:"未知"};function ms(e){var n=e.visible,a=e.onClose,i=e.customerInfo,o=e.customerInfoOrigin,s=t.useContext(Jl),u=s.uniId,c=s.domain,d=s.serverName,p=r.Field.useField(),h=p.init,m=I(t.useState(!1),2),v=m[0],g=m[1],y=i.fullName,b=i.gender,w=i.birthday,k=i.mobile,C=i.email,S=i.state,_=i.city,x=i.district,A=i.town,N=i.address,D=I(t.useState({fullName:y,gender:b,birthday:w,mobile:k,email:C,state:S,city:_,district:x,town:A,address:N}),2),T=D[0],O=D[1],M=w?new Date(bt.moment(w).format("YYYY/MM/DD")):"",F="".concat(S||"",",").concat(_||"",",").concat(x||"",",").concat(A||"",",").concat(N||""),L=function(e,t){"save"===e?t.validate((function(e,t){if(!e){t.birthYear=new Date(t.birthday).getFullYear()||null;var n=t.fullName,l=t.gender,s=t.birthday,f=t.mobile,p=t.email,h=T.state,m=T.stateName,v=T.city,y=T.cityName,b=T.district,w=T.districtName,k=T.town,E=T.townName,C=T.address,S=[];if(n&&S.push({field:"fullName",value:n}),l&&S.push({field:"gender",value:hs[l]}),s&&S.push({field:"birthday",value:bt.moment(s).format("YYYY-MM-DD")}),f&&S.push({field:"mobile",value:f}),p&&S.push({field:"email",value:p}),!C||h&&v&&b&&k){h&&S.push({field:"stateName",value:{id:h,name:m||i.stateName}}),S.push({field:"cityName",value:{id:v,name:v?y||i.cityName:""}}),S.push({field:"districtName",value:{id:b,name:b?w||i.districtName:""}}),S.push({field:"townName",value:{id:k,name:k?E||i.townName:""}}),S.push({field:"address",value:C});var _={};S.forEach((function(e){var t=o[e.field],n=t.parentTagId;_[e.field]={tagId:t.tagId,tagName:t.tagName,tagValue:["stateName","cityName","districtName","townName"].includes(e.field)?[JSON.stringify(e.value)]:[e.value],parentTagId:n}})),g(!0),Ql.saveCustomerStorageInfo(c,d,u,_).then((function(e){if(g(!1),500===e.code)return r.Message.error(e.msg),!1;r.Message.success("基本信息更新成功"),a("save")})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}))}else r.Message.error("请选择所在地区(省、市、区、街道)")}})):a({type:e,editInfo:T})},P=function(e){"fullName"===e?p.setValue("fullName",y):"email"===e?p.setValue("email",C):p.setValue("mobile",k)};return l.default.createElement(r.Modal,{className:"customer-info-edit-modal custom-view-new-drawer-modal",visible:n,onClose:function(){return L("cancel",p)},onCancel:function(){return L("cancel",p)},onOk:function(){return L("save",p)},clickMaskCanClose:!1,showConfirmLoading:v,modalStyle:fs,bodyStyle:ps,title:"编辑我维护的信息"},l.default.createElement(r.Form,{layout:"horizontal",field:p,labelCol:{span:3}},l.default.createElement(r.Form.Item,{label:"姓名"},l.default.createElement(r.Input,E({placeholder:"请输入姓名",style:{width:270}},h("fullName",{initValue:y||"",rules:[{required:!!y,message:"已有值只可修改无法清空"},{validator:function(e,t,n){t&&t!==y&&t.length>30?n("姓名最长为30个字符"):n()}}]}))),y&&!p.getValue("fullName")&&l.default.createElement(r.Button,{type:"text",className:"special-btn",onClick:function(){return P("fullName")}},"恢复原值")),l.default.createElement(r.Form.Item,{label:"性别"},l.default.createElement(r.Radio.Group,h("gender",{initValue:b||null}),l.default.createElement(r.Radio,{value:"M"},"男"),l.default.createElement(r.Radio,{value:"F"},"女"),!b&&l.default.createElement(r.Radio,{value:null},"未知"))),l.default.createElement(r.Form.Item,{label:"生日",className:"special-bottom"},l.default.createElement(r.CPicker,E({isAppendToBody:!0,placeholder:"请选择生日",width:"270px"},h("birthday",{initValue:M})))),l.default.createElement(r.Form.Item,{label:"最新手机号",className:"special-bottom"},l.default.createElement(r.Input,E({placeholder:"请输入手机号",style:{width:270}},h("mobile",{initValue:k||"",rules:[{required:!!k,message:"已有值只可修改无法清空"},{validator:function(e,t,n){t&&t!==k&&!/^(13[0-9]|14[0-1,4-9]|15[0-3,5-9]|16[067]|17[2-8]|18[0-9]|19[0-3,5-9])\d{8}$/.test(t)?n("请输入正确的手机号"):n()}}]}))),k&&!p.getValue("mobile")&&l.default.createElement(r.Button,{type:"text",className:"special-btn",onClick:function(){return P("mobile")}},"恢复原值")),l.default.createElement(r.Form.Item,{label:"邮箱",className:"special-bottom"},l.default.createElement(r.Input,E({placeholder:"请输入邮箱",style:{width:270}},h("email",{initValue:C||"",rules:[{required:!!C,message:"已有值只可修改无法清空"},{pattern:/(^$)|^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/,message:"请输入正确的邮箱"}]}))),C&&!p.getValue("email")&&l.default.createElement(r.Button,{type:"text",className:"special-btn",onClick:function(){return P("email")}},"恢复原值")),l.default.createElement(r.Form.Item,{label:"地址"},l.default.createElement(Gl,{addressValue:F,address:N,selectdArea:function(e,t,n,a,r,i,o,l,s){var u={state:t,stateName:e,city:a,cityName:n,district:i,districtName:r,town:l,townName:o,address:s};O(f(f({},T),u))}}))))}function vs(e){var t=e.visible,n=e.onClose;return l.default.createElement(r.Modal,{title:"客户基本信息说明",modalStyle:{width:542,height:316},footer:l.default.createElement(r.Button,{type:"primary",size:"large",onClick:n},"我知道了"),visible:t,onClose:n},l.default.createElement("div",{className:"info-explain-modal"},l.default.createElement("p",null,'1. 最新客户基本信息:展示的是所有全渠道客户信息更新来源中(例如订单、忠诚度会员、外部导入、商家自主维护的客户信息以及"互动赢家、私域赢家、微信会员中心"的客户业务数据等),客户信息的最新一条更新记录。无需编辑。'),l.default.createElement("p",null,'2. 我维护的客户基本信息:展示的是商家自主维护的客户信息。支持编辑,编辑保存后也会同时更新【最新基本信息】。当"最新基本信息"更新后,二者可能不一致。')))}function gs(e){var n=e.tip,a=t.useRef(),i=I(t.useState(""),2),o=i[0],s=i[1],u=I(t.useState(!1),2),c=u[0],d=u[1];return t.useEffect((function(){3!==n.type?s(Hl(a,n.text)):Ul(14,e.tip.text)>a.current.offsetWidth-10&&d(!0)}),[]),1===n.type?l.default.createElement(r.Tooltip,{placement:"top-left",content:o},l.default.createElement("p",{className:"over-length-tip-common",ref:a},n.text||"-")):2===n.type?l.default.createElement(r.Tooltip,{placement:"top-left",content:o},l.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",ref:a,href:n.detailUrl?n.detailUrl:null,className:"over-length-tip-href"},n.text||"-")):3===n.type?l.default.createElement(l.default.Fragment,null,l.default.createElement("span",{className:"wx-span ".concat(c?"text-overflow-other":""),ref:a},n.text||"-"),c?l.default.createElement(r.Button,{type:"text",style:{height:20,"margin-left":"6px","margin-right":"26px"},onClick:function(){e.handleClick()}},"查看"):""):void 0}ms.propTypes={visible:et.bool,onClose:et.func,customerInfo:et.object},ms.defaultProps={visible:!1,onClose:function(){}};var ys={M:"男",F:"女",null:"未知",undefined:"未知"},bs={"男":"M","女":"F",null:"未知",undefined:"未知"},ws={1:"潜在客户",2:"新客一次客户",3:"老客一次客户",4:"新客复购客户",5:"老客复购客户",6:"沉默客户",7:"流失客户"};function ks(e){return e||"-"}function Es(e,t){var n={type:1,text:e};return("fullName"===t||"mobile"===t)&&e&&e.length>30||"address"===t&&e&&e.length>100?l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"customer-info-text-address"},l.default.createElement(gs,{tip:n})),l.default.createElement(r.Tooltip,{placement:"top",content:"此处显示平台侧提供的密文数据(平台侧不支持解密操作)"},l.default.createElement(r.Icon,{type:"question-circle"}))):e||"-"}function Cs(e){var n,a=t.useContext(Jl),i=a.uniId,o=a.domain,s=a.serverName,u=I(t.useState(!1),2),c=u[0],d=u[1],h=I(t.useState(!1),2),m=h[0],v=h[1],y=I(t.useState(1),2),b=y[0],w=y[1],E=e.customerInfo;E.fullNameV=!1,E.mobileV=!1,E.emailV=!1,E.addressV=!1;var C=I(t.useState(E),2),S=C[0],_=C[1],x=I(t.useState({}),2),A=x[0],N=x[1],D=I(t.useState({}),2),T=D[0],O=D[1],M=I(t.useState({}),2),F=M[0],L=M[1],P=function(){var e=g(p().mark((function e(t){var n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(d(!1),"save"!==t){e.next=8;break}return n={fullNameV:!1,mobileV:!1,emailV:!1,addressV:!1},e.next=5,R({encrypt:!0},n);case 5:return L(e.sent),e.abrupt("return");case 8:_(F);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),B=function(){var e=g(p().mark((function e(){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,R({encrypt:!1});case 2:N(e.sent),d(!0);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();t.useEffect((function(){setTimeout((function(){Ql.getNoticeState(o,Tl).then((function(e){var t,n;v(!(null==e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.readStatus))}))}),100)}),[]);var R=function(){var e=g(p().mark((function e(t,n,a){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ql.getCustomerStorageInfo(o,s,i,t).then((function(e){if(500===e.code)return r.Message.error(e.msg),!1;var t=e.data;O(t);var i={};return Object.keys(t).forEach((function(e){var n,a=null===(n=t[e])||void 0===n?void 0:n.tagValue;i[e]=a?a[0]:"","gender"===e&&(i[e]=a?bs[a[0]]:""),"stateName"!==e&&"cityName"!==e&&"districtName"!==e||(i[e]=a?JSON.parse(a[0]).name:""),"stateName"===e&&(i.state=a?JSON.parse(a[0]).id:""),"cityName"===e&&(i.city=a?JSON.parse(a[0]).id:""),"districtName"===e&&(i.district=a?JSON.parse(a[0]).id:""),"townName"===e&&a&&("**"===a[0]?i[e]=a[0]:(i[e]=a?JSON.parse(a[0]).name:"",i.town=a?JSON.parse(a[0]).id:""))})),_(a?f(f(f({},S),n),{},k(k({},"".concat(a,"Temp"),i[a]),a,S[a])):f(f({},i),n)),i}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}(),z=function(){var e=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t!==Ol){e.next=5;break}return e.next=3,Ql.getCustomerInfo(o,s,i).then((function(e){w(t);var n=e;n.shopAccountMap&&n.shopAccountMap.JOS&&Vl(n),n.fullNameV=!1,n.mobileV=!1,n.emailV=!1,n.addressV=!1,_(n)})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}));case 3:e.next=11;break;case 5:return n={fullNameV:!1,mobileV:!1,emailV:!1,addressV:!1},e.next=8,R({encrypt:!0},n);case 8:L(a=e.sent),a&&w(t);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),j=function(){var e=g(p().mark((function e(t,n){var a,r,l,u;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(b!==Ol){e.next=25;break}if("fullName"!==n||S.fullNameTemp){e.next=7;break}return e.next=4,Ql.getCustomerItemInfo(o,s,i,n);case 4:return a=e.sent,_(f(f(f({},S),t),{},{fullNameTemp:a.data})),e.abrupt("return");case 7:if("mobile"!==n||S.mobileTemp){e.next=13;break}return e.next=10,Ql.getCustomerItemInfo(o,s,i,n);case 10:return r=e.sent,_(f(f(f({},S),t),{},{mobileTemp:r.data})),e.abrupt("return");case 13:if("email"!==n||S.emailTemp){e.next=19;break}return e.next=16,Ql.getCustomerItemInfo(o,s,i,n);case 16:return l=e.sent,_(f(f(f({},S),t),{},{emailTemp:l.data})),e.abrupt("return");case 19:if("address"!==n||S.addressTemp){e.next=25;break}return e.next=22,Ql.getCustomerItemInfo(o,s,i,n);case 22:return u=e.sent,_(f(f(f({},S),t),{},{addressTemp:u.data})),e.abrupt("return");case 25:if(b!==Ml){e.next=30;break}if(!("fullName"===n&&!S.fullNameTemp||"mobile"===n&&!S.mobileTemp||"email"===n&&!S.emailTemp||"address"===n&&!S.addressTemp)){e.next=30;break}return e.next=29,R({encrypt:!1},t,n);case 29:return e.abrupt("return");case 30:_(f(f({},S),t));case 31:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),V=l.default.createElement(r.CDropdown.Menu,{style:{width:200},checkedId:b,onClick:z},Fl.map((function(e){return l.default.createElement(r.CDropdown.Item,{key:e.id,id:e.id},e.label)}))),U=S.birthday?bt.moment(S.birthday).format("YYYY/MM/DD").split("/")[0]:"";return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"info-explain-container"},l.default.createElement("div",{className:"info-dropdown"},l.default.createElement(r.CDropdown,{placement:"bottomLeft",overlay:V,trigger:["click"]},l.default.createElement("div",null,l.default.createElement("span",null,(null===(n=Fl.find((function(e){return e.id===b})))||void 0===n?void 0:n.label)||Fl[0].label),l.default.createElement(r.Icon,{type:"down-solid"})))),l.default.createElement("span",{className:"info-popover"},l.default.createElement(r.Popover,{size:"small",placement:"right",className:"info-popover",visible:m,containerEle:document.querySelector(".info-popover"),title:"商家自主维护的客户信息",content:'客户基础信息模块新增下拉切换展示"最新的客户信息"以及"商家维护的客户信息",客户管理更灵活。',confirmText:"我知道了",onVisibleChange:function(e){!e&&m&&(Ql.setNoticeState(o,Tl),v(!1))},showConfirmBtn:!0})),b===Ml&&l.default.createElement("p",{className:"info-edit",onClick:B},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑"),l.default.createElement("span",{className:"info-explain",onClick:function(){r.Modal.createModal(vs).open()}},"不同基本信息的区别?")),l.default.createElement("div",{className:"uniId-wrap"},l.default.createElement("section",{className:"uniId-wrap-1"},l.default.createElement("p",{className:"info-flag"},"全渠道客户ID:")),l.default.createElement("section",{className:"uniId-wrap-2"},l.default.createElement(r.Tooltip,{content:"双击可复制"},l.default.createElement("p",{className:"uniId-self",onDoubleClick:function(){return function(e){bt.copyText(e),r.Message.success("复制成功",{contextContainer:document.getElementsByClassName("newCloud-drawer1")[0]})}(i)}},i)),l.default.createElement(r.Tooltip,{content:'\n\t\t<div>以全渠道RFM为例(若已设置自定义客户生命周期,则以自定义客户生命周期进行计算):</div>\n\t\t<div class="customer-view-new-tip-temp"><span>1. </span> <span>潜在客户:尚无有效交易的客户。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>2. </span> <span>老客一次客户:新客一次客户:首次购买时间在1年内 且 最近1年购买次数=1次。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>3. </span> <span>老客一次客户:首次购买时间在1年前 且 最近1年购买次数=1次。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>4. </span> <span>新客复购客户:首次购买时间在1年内 且 最近1年购买次数≥2次。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>5. </span> <span>老客复购客户:首次购买时间在1年前 且 最近1年购买次数≥2次。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>6. </span> <span>沉默客户:最近1年无有效交易,再往前1年存在有效交易的客户。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>7. </span> <span>流失客户:最近一次购买时间在2年前。</span></div>'},l.default.createElement("p",{className:"uniId-state uniId-state-".concat(S.customerType)},S.customerType?ws[S.customerType]:""))),c&&l.default.createElement(ms,{visible:c,customerInfo:A,customerInfoOrigin:T,onClose:P})),l.default.createElement("div",{className:"customer-info-wrap"},l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"姓名:"),l.default.createElement("span",{className:"customer-info-text"},Es(S.fullNameV?S.fullNameTemp:S.fullName,"fullName"),S.fullName?l.default.createElement(r.Icon,S.fullNameV?{type:"hide",onClick:function(){return j({fullNameV:!1},"fullName")}}:{type:"view",onClick:function(){return j({fullNameV:!0},"fullName")}}):"")),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"性别:"),l.default.createElement("span",{className:"customer-info-text"},ks(ys[S.gender]))),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"最新手机号:"),l.default.createElement("span",{className:"customer-info-text customer-info-text-special"},Es(S.mobileV?S.mobileTemp:S.mobile,"mobile"),S.mobile?l.default.createElement(r.Icon,S.mobileV?{type:"hide",onClick:function(){return j({mobileV:!1},"mobile")}}:{type:"view",onClick:function(){return j({mobileV:!0},"mobile")}}):"")),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"生日:"),l.default.createElement("span",{className:"customer-info-text"},S.birthday?ks(bt.moment(S.birthday).format("YYYY/MM/DD")):"-")),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"年龄:"),l.default.createElement("span",{className:"customer-info-text"},U?"".concat((new Date).getFullYear()-Number(U),"岁"):"-")),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"邮箱:"),l.default.createElement("span",{className:"customer-info-text"},ks(S.emailV?S.emailTemp:S.email),S.email?l.default.createElement(r.Icon,S.emailV?{type:"hide",onClick:function(){return j({emailV:!1},"email")}}:{type:"view",onClick:function(){return j({emailV:!0},"email")}}):"")),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"地址:"),l.default.createElement("span",{className:"customer-info-text"},Es("".concat(S.stateName||"").concat(S.cityName||"").concat(S.districtName||"").concat(S.addressV?S.addressTemp:S.address||""),"address"),S.address?l.default.createElement(r.Icon,S.addressV?{type:"hide",onClick:function(){return j({addressV:!1},"address")}}:{type:"view",onClick:function(){return j({addressV:!0},"address")}}):""))))}function Ss(){var e=t.useContext(Jl),n=e.domain,a=e.serverName,i=e.uniId,o=I(l.default.useState(!0),2),s=o[0],u=o[1],c=I(l.default.useState({}),2),d=c[0],f=c[1];return t.useEffect((function(){Ql.getCustomerInfo(n,a,i).then((function(e){var t=e;t.shopAccountMap&&t.shopAccountMap.JOS&&Vl(t),f(t),u(!1)})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}))}),[]),s?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"account-area-new"},l.default.createElement("div",{className:"customer-account-info-new"},l.default.createElement(Cs,{customerInfo:d})))}var _s=function(){function e(){y(this,e),this.orderColumn=[]}var t,n,a,r,i,o,l,s,u,c,d,f,h,m,v,b,k,E,C;return w(e,[{key:"getRFMTagsInfo",value:(C=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerRfm/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return C.apply(this,arguments)})},{key:"getPlatRFMInfo",value:(E=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerRfm/").concat(a,"/plat"),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return E.apply(this,arguments)})},{key:"getShopRFMInfo",value:(k=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerRfm/").concat(a,"/shop"),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return k.apply(this,arguments)})},{key:"getCustomerBenefitList",value:(b=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/preferential/detail"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return b.apply(this,arguments)})},{key:"getCustomerInfo",value:(v=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return v.apply(this,arguments)})},{key:"getRfmTenantInfo",value:(m=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerRfm/").concat(a,"/tenant"),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return m.apply(this,arguments)})},{key:"getPlatformInfo",value:(h=g(p().mark((function e(t){var n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(t,"/data-manage-x/1.0/customer/platform"),e.next=3,ye.get(n);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e){return h.apply(this,arguments)})},{key:"getFirstShopList",value:(f=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/ucenter-mars-facade/v1/tenant/shop/list/selector"),e.next=3,ye.get(a,{params:n});case 3:return e.abrupt("return",e.sent.data.data);case 6:case"end":return e.stop()}}),e)}))),function(e,t){return f.apply(this,arguments)})},{key:"getCustomerInteractiveList",value:(d=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/interactive"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return d.apply(this,arguments)})},{key:"getCustomerMarketingList",value:(c=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/marketing/detail"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return c.apply(this,arguments)})},{key:"getCustomerOrderList",value:(u=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/order/detail"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return u.apply(this,arguments)})},{key:"getCustomerViewList",value:(s=g(p().mark((function e(t,n,a){var r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={begin:a.begin,end:a.end,queryType:a.queryType||void 0,channel:a.channel||void 0,startDate:a.startDate||void 0,endDate:a.endDate||void 0,uniId:a.uniId||void 0,shops:a.shops||void 0},i="".concat(t,"/").concat(n,"/view/all"),e.next=5,ye.get(i,{params:r});case 5:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e,t,n){return s.apply(this,arguments)})},{key:"getCustomerOrderRateList",value:(l=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/order/rate"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return l.apply(this,arguments)})},{key:"getCustomerRateList",value:(o=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/order/rates"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return o.apply(this,arguments)})},{key:"getPlatList",value:(i=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(n,"/customer/platform"),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return i.apply(this,arguments)})},{key:"getTypeList",value:(r=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(n,"/customer/platform"),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return r.apply(this,arguments)})},{key:"getShopList",value:(a=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/shops"),e.next=3,ye.get(r,a?{params:{platCode:a}}:"");case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return a.apply(this,arguments)})},{key:"getContentDetail",value:(n=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/contentmanage/v1/content/vsms/get/").concat(n),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"getAllShop",value:(t=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/ucenter-mars-facade/v1/tenant/shop/list/selector"),e.next=3,ye.get(a,{params:n});case 3:return e.abrupt("return",e.sent.data.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n){return t.apply(this,arguments)})}]),e}(),xs=new _s,As="data:image/png;base64,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",Is="data:image/png;base64,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",Ns=l.default.createElement("div",{className:"search-empty-com"},l.default.createElement("img",{alt:"",src:Is,width:64}),l.default.createElement("span",{style:{marginTop:8}},"搜索为空")),Ds=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).ajaxData=function(){var e=g(p().mark((function e(t){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=f({pageNum:t.pageNum,pageSize:t.pageSize},n.query),e.abrupt("return",xs.getCustomerBenefitList(n.context.domain,n.context.serverName,a).then((function(e){var t=e.benefitCount,a=e.lastBenefitTime,r={totals:e.totals,data:e.list,benefitCount:t,lastBenefitTime:a};return n.setState({preferentialCount:t,lastPreferentialTime:a}),r})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),n.searchData=function(e){var t=n.state.selectedShopTemp;"rest"===e&&n.setState({selectedShop:JSON.parse(JSON.stringify(t))});var a=n.state,i=a.selectedShop,o=a.allPlatShop;n.setState({isSearchEmpty:!0});var l=[];("rest"===e?t:i).forEach((function(e){if(2===e.length)l.push(e[1].includes("WX|")?e[1].replace("WX|","WEIXIN|"):e[1]);else{var t=o.find((function(t){return t.value===e[0]}));t.children.forEach((function(e){l.push(e.value.includes("WX|")?e.value.replace("WX|","WEIXIN|"):e.value)}))}})),"rest"===e||l.length?"rest"!==e&&l.length>100?r.Message.error("最多选择100个店铺"):(n.query.uniShopIds=l.join(","),n.customerBenefitTable.current.refreshTable(!0)):r.Message.error("至少保留1个店铺数据")},n.onChange=function(e){n.setState({selectedShop:e})},n.state={platList:[],platListMap:{},allPlatShop:[],selectedShop:[],selectedShopTemp:[],loading:!0,preferentialCount:"",lastPreferentialTime:"",isSearchEmpty:!1},n}var n,a,i,o;return C(t,e),w(t,[{key:"componentDidMount",value:(o=g(p().mark((function e(){var t,n=this;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.query={uniId:this.context.uniId},this.customerBenefitTable=l.default.createRef(),e.next=4,this.getAllPlat();case 4:if(0>=this.context.selectUniShops.length){e.next=11;break}this.query.uniShopIds=this.context.selectUniShops.join(","),t=[],this.context.selectUniShops.forEach((function(e){var n=e.split("|");t.push([n[0],e])})),this.setState({selectedShop:t,selectedShopTemp:JSON.parse(JSON.stringify(t))}),e.next=13;break;case 11:return e.next=13,this.getFirstShop();case 13:setTimeout((function(){n.getAllShop()}));case 14:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"getAllPlat",value:(i=g(p().mark((function e(){var t,n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getPlatformInfo(this.context.domain,this.context.serverName,this.context.uniId);case 2:t={},n=e.sent.map((function(e){return t[e.platCode]=e.platName,"MGJ"===e.platCode?"mogujie":e.platCode.toLocaleLowerCase()})),this.setState({platList:n,platListMap:t});case 6:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"getFirstShop",value:(a=g(p().mark((function e(){var t,n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getFirstShopList(this.context.domain,{tenantId:this.context.tenantId,platCodes:this.state.platList.join(","),permissionType:!0,youzanFlag:"mainShop",pageNum:1,pageSize:1,productCodes:"sjyj"});case 2:0!==(t=e.sent).length?(this.query.uniShopIds=n=t[0].uniShopId,this.query.uniShopIds=n,a=[[n.split("|")[0],n]],this.setState({selectedShop:a,selectedShopTemp:JSON.parse(JSON.stringify(a))})):this.setState({selectedShop:[]});case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"getAllShop",value:(n=g(p().mark((function e(){var t,n,a,r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this.state).platList,a=t.platListMap,e.next=3,xs.getAllShop(this.context.domain,{appIds:"0,31,9001",tenantId:this.context.tenantId,platCodes:n.join(","),permissionType:!0,youzanFlag:"mainShop",productCodes:"sjyj"});case 3:r=e.sent.reduce((function(e,t,n,r){var i="WX"===t.platCode?"WEIXIN":t.platCode,o=t.uniShopId.includes("WX|")?t.uniShopId.replace("WX|","WEIXIN|"):t.uniShopId,l=e.find((function(e){return e.value===i}));return l?l.children.push({value:o,label:t.name}):e.push({value:i,label:a[i],children:[{value:o,label:t.name}]}),e}),[]),this.setState({allPlatShop:r,loading:!1});case 6:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"filter",value:function(e,t){return t.some((function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}))}},{key:"render",value:function(){var e=this,t=[{dataIndex:"sendTime",title:"发放时间",width:120,align:"left"},{title:"权益类型",dataIndex:"preferentialType",align:"left"},{title:"权益名称",align:"left",width:120,ellipsis:!0,dataIndex:"preferentialName",render:function(e){return l.default.createElement(r.Tooltip,{content:e},e||"-")}},{title:"权益详情",align:"left",dataIndex:"preferentialContent",render:function(e){var t=e.split("\n"),n="",a=t.join(";<br/>")+";";return t.length>2&&(n=t.splice(0,2).join(";<br/>")+";<br/>..."),l.default.createElement("div",null,l.default.createElement(r.Tooltip,{placement:"top-left",content:a},l.default.createElement("div",{className:"info-tip",dangerouslySetInnerHTML:{__html:n}})))}},{title:"平台及店铺",dataIndex:"platCode",width:140,align:"left",render:function(e,t){var n;return l.default.createElement("div",null,l.default.createElement("p",null,(null===(n=function(e){var t,n={},a=O(kl);try{for(a.s();!(t=a.n()).done;){var r=t.value;n[r.plat]=r}}catch(e){a.e(e)}finally{a.f()}return n[e]}(e))||void 0===n?void 0:n.platName)||"未知"),l.default.createElement("p",null,t.shopName))}},{title:"发放场景",align:"left",width:100,dataIndex:"sendType"},{title:"是否核销",align:"left",width:100,dataIndex:"isVerification",render:function(e){return l.default.createElement("span",null,"已核销"===e?"是":"否")}}];return l.default.createElement("div",{className:"customer-benefit-area-new"},l.default.createElement(r.Tips,{msg:"列表显示90天内权益发放记录。",isShowIcon:!0}),this.state.loading?l.default.createElement(r.Loading,null):l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"table-opt"},l.default.createElement("div",{className:"shop-filter"},l.default.createElement("label",{className:"title-label-require"},"店铺:"),l.default.createElement(r.CCascader,{style:{width:"270px"},options:this.state.allPlatShop,defaultValue:this.state.selectedShop,value:this.state.selectedShop,onChange:function(t){return e.onChange(t)},blur:function(){return e.searchData()},notFoundContent:Ns,placeholder:"请选择店铺",maxTagCount:"responsive",showCheckedStrategy:"SHOW_CHILD",multiple:!0,allowClear:!0,showSearch:{filter:this.filter}}),l.default.createElement(r.Button,{type:"primary",onClick:function(){return e.searchData()},style:{marginLeft:16}},"搜索"),l.default.createElement(r.Button,{onClick:function(){return e.searchData("rest")},style:{marginLeft:8}},"重置")),l.default.createElement("div",{className:"table-info-tips"},l.default.createElement("label",null,"90天权益发放量:"),l.default.createElement("span",{className:"title-count"},this.state.preferentialCount||l.default.createElement("span",{className:"empty"},"-")),l.default.createElement("label",null,"最后一次权益发放时间:"),l.default.createElement("span",null,this.state.lastPreferentialTime||l.default.createElement("span",{className:"empty"},"-")))),l.default.createElement(r.CTable,{ref:this.customerBenefitTable,style:{width:"100%",height:"calc(100% - 82px - 36px - 16px)"},supportPage:!0,hideEmptyFooter:!0,showRefresh:!1,rowKey:"uniShopId",columnData:t,ajaxData:this.ajaxData,emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:e.state.isSearchEmpty?Is:As,width:64}),l.default.createElement("p",{style:{marginTop:e.state.isSearchEmpty?8:"","margin-top":"8px"}},e.state.isSearchEmpty?"搜索为空":"暂无数据"))},pageOpts:{pageSize:10,pageSizeOptions:[5,10,20,30,50],showQuickJumper:!0}})))}}]),t}(l.default.Component);Ds.contextType=Jl;var Ts=function(){function e(){y(this,e)}var t,n,a,r,i;return w(e,[{key:"getCustomerCardInfo",value:(i=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerCard/card/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return i.apply(this,arguments)})},{key:"getCustomerShopCardInfo",value:(r=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerShopMember/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"getPointChangeRecord",value:(a=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerCard/pointChangeRecord/").concat(r),e.next=3,ye.get(i,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,r){return a.apply(this,arguments)})},{key:"getGradeChangeRecord",value:(n=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerCard/gradeChangeRecord/").concat(r),e.next=3,ye.get(i,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,a,r){return n.apply(this,arguments)})},{key:"shopCardGradeChangeRecord",value:(t=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerShopMember/gradeChangeRecord/").concat(r),e.next=3,ye.get(i,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n,a,r){return t.apply(this,arguments)})}]),e}(),Os=new Ts,Ms={width:"900px",maxWidth:"900px"},Fs={height:"460px",maxHeight:"460px",padding:"16px"};function Ls(e){var n=e.visible,a=e.onRecordClose,i=e.type,o=e.cardPlanId,s=t.useContext(Jl),u=s.uniId,c=s.domain,d=s.serverName,f=function(){var e=g(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Os.getPointChangeRecord(c,d,{cardPlanId:o,pageNum:t.pageNum,pageSize:t.pageSize},u).then((function(e){return{totals:e.totals,list:e.list}})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var e=g(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Os.getGradeChangeRecord(c,d,{cardPlanId:o,pageNum:t.pageNum,pageSize:t.pageSize},u).then((function(e){return{totals:e.totals,list:e.list}})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return l.default.createElement(r.Modal,{className:"change-record-modal custom-view-new-drawer-modal",hasFooter:!1,visible:n,onClose:function(){a()},clickMaskCanClose:!1,modalStyle:Ms,bodyStyle:Fs,title:"grade"===i?"等级变更记录":"积分变更记录"},l.default.createElement(r.CTable,{supportPage:!0,columnData:"grade"===i?[{title:"变更时间",dataIndex:"changeTime",width:184},{title:"变更前等级",dataIndex:"gradeNameBeforeChange",width:130},{title:"变更后等级",dataIndex:"gradeNameAfterChange",width:130},{title:"变更类型",dataIndex:"changeType",align:"right",width:120},{title:"变更来源",dataIndex:"changeSource",align:"right",width:120},{title:"等级有效期",dataIndex:"gradePeriod",align:"right",width:184}]:[{title:"变更时间",dataIndex:"changeTime",width:130},{title:"积分变更",dataIndex:"changeValue",width:140},{title:"行为类型",dataIndex:"actionType",width:140},{title:"变更来源",dataIndex:"source",width:120}],ajaxData:"grade"===i?h:f,dataKey:"list",showRefresh:!1,emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("p",{style:{color:"rgba(0,0,0,0.45)","font-weight":400,"font-size":"14px","margin-top":"8px"}},"暂无数据"))},pageOpts:{pageSize:10,showPageSizeOptions:!1,showQuickJumper:!1}}))}Ls.propTypes={cardPlanId:et.string,visible:et.bool,onRecordClose:et.func,type:et.string},Ls.defaultProps={visible:!1,onRecordClose:function(){}};var Ps=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).getCardInfoList=g(p().mark((function e(){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Os.getCustomerCardInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){n.memberCardList=e,n.memberCardList.forEach((function(e){Object.assign(e,{source:"member_card"})}))})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}));case 2:return e.next=4,Os.getCustomerShopCardInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){n.shopCardList=e})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}));case 4:n.shopCardList.forEach((function(e){Object.assign(e,{cardName:e.shopName,source:"member_shop",cardPlanId:e.shopId})})),n.customerCardInfoList=n.memberCardList.concat(n.shopCardList),1===n.customerCardInfoList.length&&"0"===n.customerCardInfoList[0].grade&&n.setState({isMember:!1}),n.setState(n.customerCardInfoList.length>0?{customerCardInfoList:n.customerCardInfoList,loading:!1,cardInfo:n.customerCardInfoList[0]}:{loading:!1});case 8:case"end":return e.stop()}}),e)}))),n.handleChangeCard=function(e,t){n.setState({cardInfoShowIndex:t,cardInfo:e})},n.changeRecord=function(e){n.setState({visible:!0,type:e})},n.securityMobile=function(e,t){return e?t?"".concat(e.substring(0,3),"****").concat(e.substring(7)):e:"-"},n.securityChange=function(e){n.setState({securityFlag:e})},n.renderCardInfo=function(e){var t=n.state,a=t.cardInfo,i=t.isMember,o=t.cardInfoShowIndex,s=t.visible,u=t.type,c=t.securityFlag,d="member_card"===a.source;return e.length?l.default.createElement("div",{className:"customer-card-container-new"},l.default.createElement("div",{className:"left-card"},e.map((function(e,t){return l.default.createElement("div",{key:t,className:"card-img",onClick:function(){return n.handleChangeCard(e,t)}},l.default.createElement("div",{className:"img_div ".concat("member_card"!==e.source?"img_div_dp":"img_div_other"," ").concat(o===t?"member_card"===e.source?"img_div_active":"img_div_active_dp":"")},l.default.createElement("div",{className:"img_div_info"},l.default.createElement("div",{className:"card-name"},e.cardName||"-"),l.default.createElement("div",{className:"card-level"},e.gradeName))))}))),l.default.createElement("div",{className:"right-card-info"},d?l.default.createElement("div",{className:"info"},l.default.createElement("div",{className:"info-title"},l.default.createElement("div",null),l.default.createElement("p",null,"会员基础信息")),l.default.createElement("div",{className:"info-context"},l.default.createElement("p",null,"会员ID:",a.memberId||"-"),l.default.createElement("p",null,"会员手机号:",l.default.createElement("span",{className:"info-context-icon"},n.securityMobile(a.bindMobile,!!c),c&&l.default.createElement(r.Icon,{type:"view",onClick:function(){return n.securityChange(!1)}}),!c&&l.default.createElement(r.Icon,{type:"hide",onClick:function(){return n.securityChange(!0)}}))))):"",l.default.createElement("div",{className:"info"},l.default.createElement("div",{className:"info-title"},l.default.createElement("div",null),l.default.createElement("p",null,"等级信息"),i&&d&&l.default.createElement(r.Button,{type:"text",onClick:function(){return n.changeRecord("grade")}},"等级变更记录")),l.default.createElement("div",{className:"info-context"},l.default.createElement("p",null,"会员等级:",(null==a?void 0:a.gradeName)||"-"),d&&l.default.createElement("p",null,"等级有效期:",(null==a?void 0:a.gradePeriod)||"-"))),d?l.default.createElement("div",{className:"info"},l.default.createElement("div",{className:"info-title"},l.default.createElement("div",null),l.default.createElement("p",null,"积分信息"),i&&l.default.createElement(r.Button,{type:"text",onClick:function(){return n.changeRecord("point")}},"积分变更记录")),l.default.createElement("div",{className:"info-context"},l.default.createElement("p",null,"可用积分:",a.availablePoint||0),l.default.createElement("p",null,"即将过期积分:",a.upcomingExpiredPoint||0),l.default.createElement("p",null,"累积获得积分:",a.totalPoint||0),l.default.createElement("p",null,"已消耗积分:",a.consumedPoint),l.default.createElement("p",null,"过期积分:",a.expiredPoint))):"",s&&l.default.createElement(Ls,{cardPlanId:a.cardPlanId,onRecordClose:function(){n.setState({visible:!1})},type:u,visible:s}))):l.default.createElement("div",{className:"customer-card-container-new"},l.default.createElement("div",{className:"empty-area"},l.default.createElement("img",{alt:"",src:As,width:64}),l.default.createElement("p",{style:{"margin-top":"8px"}},"暂无数据")))},n.state={loading:!0,customerCardInfoList:[],cardInfoShowIndex:0,cardInfo:{},isMember:!0,onClose:n.props.onClose,visible:!1,type:"",securityFlag:!0},n.memberCardList=[],n.shopCardList=[],n.customerCardInfoList=[],n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.getCardInfoList()}},{key:"render",value:function(){var e=this.state,t=e.customerCardInfoList;return e.loading?l.default.createElement(r.Loading,null):this.renderCardInfo(t)}}]),t}(l.default.Component);Ps.contextType=Jl,Ps.propTypes={onClose:et.func};var Bs=l.default.createElement("svg",{id:"icon-good-review",viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M157.371 764.163c-17.753 0.176-31.991 14.678-31.816 32.431 0.088 17.665 14.502 31.903 32.255 31.903h0.176c2.813 0 138.16 0.879 221.918 94.656 6.416 7.119 15.205 10.723 23.993 10.723 7.646 0 15.293-2.724 21.444-8.174 13.271-11.865 14.414-32.168 2.549-45.439-103.884-116.275-263.84-116.452-270.519-116.1z"}),l.default.createElement("path",{d:"M833.407 590.409c69.256-117.682 85.163-270.080 39.462-379.414-4.922-11.777-16.347-19.511-29.091-19.775l-9.844-0.088c-62.928 0-121.462 12.129-174.634 36.21-37.792-70.311-79.627-121.725-127.175-156.617-1.318-1.318-2.813-2.461-4.395-3.516-9.141-5.888-20.653-6.855-30.585-2.549-3.164 1.318-6.065 3.164-8.526 5.362-47.371 34.54-90.437 86.745-128.053 155.562-52.117-22.939-109.332-34.54-170.678-34.54l-9.668 0.088c-12.744 0.263-24.169 7.998-29.091 19.775-45.702 109.244-29.794 261.731 39.462 379.326 59.676 101.335 152.135 164.439 261.028 178.413 2.989 0.967 6.153 1.406 9.404 1.406h18.544v159.605c0 17.753 14.414 32.168 32.167 32.168s32.167-14.414 32.167-32.168v-159.429h19.072c3.252 0 6.416-0.528 9.492-1.318 108.805-14.063 201.352-77.254 260.94-178.501z"}),l.default.createElement("path",{d:"M866.453 764.076c-6.153-0.263-162.857-0.352-270.431 115.748-12.129 13.008-11.25 33.397 1.758 45.439 6.24 5.801 14.063 8.614 21.884 8.614 8.614 0 17.314-3.427 23.554-10.372 87.361-94.216 219.984-95.095 222.709-95.095h0.263c17.665 0 31.991-14.239 32.167-31.816 0.175-17.841-14.063-32.343-31.903-32.519z"})),Rs=l.default.createElement("svg",{id:"icon-medium-review",viewBox:"0 0 1025 1024"},l.default.createElement("path",{d:"M69.811 771.717c-15.82 17.403-3.252 47.373 0 60.469 121.641-27.070 211.377 42.803 242.93 98.701 15.82-0.175 55.81-4.922 70.049-9.844-2.109-50.273-119.443-168.047-312.979-149.326M537.565 927.459c30.146 10.372 47.109 6.065 65.918 2.637 52.646-85.518 133.682-103.711 248.291-107.754 5.625-18.721 17.578-32.168 11.162-50.801-71.279-2.109-252.95-3.955-325.372 155.918M749.997 286.56c0 0 2.549-165.762-58.887-191.602-61.348-25.84-197.227 86.221-197.227 86.221s-157.588-152.842-176.133-112.325c-45.615 100.195-82.793 177.803-108.984 259.102-28.213 160.489 28.565 281.338 153.896 354.727-2.373 5.273-4.219 12.041-5.537 20.567-3.076 69.609 56.953 216.299 81.036 255.849 31.026 0 79.628 2.901 79.628 2.901s-77.695-141.943-82.354-245.127c144.404 52.207 284.063 2.813 395.771-132.891 50.713-61.7 87.539-144.58 130.166-238.096 15.293-33.75-211.377-59.326-211.377-59.326z"})),zs=l.default.createElement("svg",{id:"icon-poor-review",viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M98.481 783.233c-11.162 0.088-20.127 9.229-20.039 20.391s9.141 20.215 20.303 20.215v0c0.352 0 26.279 0.088 62.753 12.393 48.778 16.348 92.548 45.351 129.901 86.308 4.043 4.395 9.492 6.592 14.942 6.592 4.834 0 9.756-1.758 13.623-5.273 8.262-7.559 8.877-20.391 1.318-28.653-101.863-111.707-217.878-111.971-222.799-111.971v0zM98.481 783.233z"}),l.default.createElement("path",{d:"M893.264 784.815c-8.349-0.528-147.039-8.086-257.253 110.213-7.646 8.174-7.207 21.006 0.967 28.653 3.867 3.604 8.877 5.45 13.799 5.45 5.45 0 10.81-2.197 14.854-6.416 41.308-44.296 91.669-74.091 149.764-88.681 43.153-10.81 73.827-8.789 75.058-8.614 0.528 0 0.967 0.088 1.494 0.088 11.162 0 20.303-9.053 20.303-20.303 0-10.987-8.349-19.776-18.984-20.391v0zM893.264 784.815z"}),l.default.createElement("path",{d:"M944.064 537.671c-28.037-68.378-90.527-131.043-139.92-176.921 47.9-30.762 82.88-72.246 104.061-123.573 3.428-8.174 1.055-17.666-5.801-23.291-59.589-49.746-144.227-92.46-238.267-120.321-98.172-29.092-196.784-38.496-277.643-26.455-87.187 12.92-153.894 50.624-192.917 108.894-0.703 0.791-1.318 1.67-1.934 2.637-5.010 7.998-19.864 40.429-21.533 44.033-3.164 6.943-7.646 16.963-11.162 25.224-1.582 3.867-2.813 6.856-3.604 9.141-0.791 2.109-1.231 4.131-1.583 5.977-7.031 27.070-8.614 55.194-4.922 83.759-0.263 1.318-0.352 2.637-0.352 4.043 0 3.428 1.318 85.957 41.22 202.322 23.379 68.027 55.194 133.68 94.569 195.114 49.218 76.728 110.565 146.951 182.195 208.825 3.867 3.34 8.526 4.922 13.271 4.922 5.713 0 11.338-2.373 15.381-7.031 7.295-8.438 6.416-21.27-2.109-28.565-68.29-59.062-126.824-126.034-173.845-199.070-37.616-58.447-68.027-120.936-90.439-185.71-5.537-16.172-10.372-31.816-14.59-46.845 104.588 139.568 304.010 241.344 444.457 260.856 0.967 0.088 1.846 0.176 2.813 0.176 6.856 0 13.359-3.516 17.138-9.404 36.473-57.216 49.218-117.596 36.738-161.276 126.912 6.504 212.253-19.161 216.12-20.391 5.45-1.67 9.932-5.537 12.393-10.723 2.286-5.185 2.461-11.075 0.263-16.348v0zM944.064 537.671z"})),js=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).ajaxData=function(){var e=g(p().mark((function e(t){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=f({pageNum:t.pageNum,pageSize:t.pageSize},n.query),e.abrupt("return",xs.getCustomerRateList(n.context.domain,n.context.serverName,a).then((function(e){return e})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),n.reformTime=function(e){return e?bt.moment(e).format("yyyy-MM-dd HH:mm:ss"):"-"},n.searchData=function(e){var t=n.state.selectedShopTemp;"rest"===e&&n.setState({selectedShop:JSON.parse(JSON.stringify(t))});var a=n.state,i=a.selectedShop,o=a.allPlatShop;n.setState({isSearchEmpty:!0});var l=[];("rest"===e?t:i).forEach((function(e){if(2===e.length)l.push(e[1].includes("WX|")?e[1].replace("WX|","WEIXIN|"):e[1]);else{var t=o.find((function(t){return t.value===e[0]}));t.children.forEach((function(e){l.push(e.value.includes("WX|")?e.value.replace("WX|","WEIXIN|"):e.value)}))}})),"rest"===e||l.length?"rest"!==e&&l.length>100?r.Message.error("最多选择100个店铺"):(n.query.shopId=l.join(","),n.evaluationTable.current.refreshTable(!0)):r.Message.error("至少保留1个店铺数据")},n.onChange=function(e){n.setState({selectedShop:e})},n.handleCopy=function(e){bt.copyText(e),r.Message.success("已复制到剪切板",{contextContainer:document.getElementsByClassName("newCloud-drawer1-container")[0]})},n.state={platList:[],platListMap:{},allPlatShop:[],selectedShop:[],selectedShopTemp:[],loading:!0,isSearchEmpty:!1},n}var n,a,i,o;return C(t,e),w(t,[{key:"componentDidMount",value:(o=g(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.query={oneYearLater:!1,uniId:this.context.uniId},this.evaluationTable=l.default.createRef(),this.productNameRef=l.default.createRef(),this.tableRef=l.default.createRef(),e.next=6,this.getAllPlat();case 6:if(0>=this.context.selectUniShops.length){e.next=13;break}this.query.shopId=this.context.selectUniShops.join(","),t=[],this.context.selectUniShops.forEach((function(e){var n=e.split("|");t.push([n[0],e])})),this.setState({selectedShop:t,selectedShopTemp:JSON.parse(JSON.stringify(t))}),e.next=15;break;case 13:return e.next=15,this.getFirstShop();case 15:this.getAllShop();case 16:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"getAllPlat",value:(i=g(p().mark((function e(){var t,n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getPlatformInfo(this.context.domain,this.context.serverName,this.context.uniId);case 2:t={},n=e.sent.map((function(e){return t[e.platCode]=e.platName,"MGJ"===e.platCode?"mogujie":e.platCode.toLocaleLowerCase()})),this.setState({platList:n,platListMap:t});case 6:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"getFirstShop",value:(a=g(p().mark((function e(){var t,n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getFirstShopList(this.context.domain,{tenantId:this.context.tenantId,platCodes:this.state.platList.join(","),permissionType:!0,youzanFlag:"mainShop",pageNum:1,pageSize:1,productCodes:"sjyj"});case 2:0!==(t=e.sent).length?(this.query.shopId=n=t[0].uniShopId,a=[[n.split("|")[0],n]],this.setState({selectedShop:a,selectedShopTemp:JSON.parse(JSON.stringify(a))})):this.setState({selectedShop:[]});case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"getAllShop",value:(n=g(p().mark((function e(){var t,n,a,r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this.state).platList,a=t.platListMap,e.next=3,xs.getAllShop(this.context.domain,{appIds:"0,31,9001",tenantId:this.context.tenantId,platCodes:n.join(","),permissionType:!0,youzanFlag:"mainShop",productCodes:"sjyj"});case 3:r=e.sent.reduce((function(e,t,n,r){var i="WX"===t.platCode?"WEIXIN":t.platCode,o=t.uniShopId.includes("WX|")?t.uniShopId.replace("WX|","WEIXIN|"):t.uniShopId,l=e.find((function(e){return e.value===i}));return l?l.children.push({value:o,label:t.name}):e.push({value:i,label:a[i],children:[{value:o,label:t.name}]}),e}),[]),this.setState({allPlatShop:r,loading:!1});case 6:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"filter",value:function(e,t){return t.some((function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}))}},{key:"render",value:function(){var e=this,t=[{dataIndex:"estimateResult",title:"评价类型",width:81,align:"left",render:function(e){return l.default.createElement("div",null,l.default.createElement("div",{className:"rate-time"},"good"===e&&Bs,"neutral"===e&&Rs,"bad"===e&&zs,l.default.createElement("p",null,"good"===e&&"好评","neutral"===e&&"中评","bad"===e&&"差评")))}},{dataIndex:"estimateContent",title:"评价详情",align:"left",render:function(t,n){return l.default.createElement("div",null,l.default.createElement(gs,{tip:{type:1,text:t}}),l.default.createElement("p",{className:"cTable-tip-text"},"评价时间:",e.reformTime(n.estimateTime)))}},{dataIndex:"platCode",title:"平台及店铺",width:140,align:"left",render:function(e,t){var n;return l.default.createElement("div",null,l.default.createElement("p",null,(null===(n=function(e){var t,n={},a=O(kl);try{for(a.s();!(t=a.n()).done;){var r=t.value;n[r.plat]=r}}catch(e){a.e(e)}finally{a.f()}return n[e]}(e))||void 0===n?void 0:n.platName)||"未知"),l.default.createElement("p",null,t.shopName))}},{dataIndex:"productName",title:"商品信息",align:"left",render:function(t,n){return l.default.createElement("div",null,l.default.createElement(gs,{tip:{type:2,text:n.productName,detailUrl:n.detailUrl}}),l.default.createElement("p",{className:"cTable-tip-text"},"sku:",n.skuDetail||"-"),l.default.createElement("p",{className:"cTable-tip-text"},"订单号:",l.default.createElement(r.Tooltip,{content:"双击可复制订单号"},l.default.createElement("span",{onDoubleClick:function(){e.handleCopy(n.orderId)}},n.orderId))))}},{dataIndex:"created",title:"下单时间",width:120,align:"left"}];return this.state.loading?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"customer-evaluation-new",ref:this.tableRef},l.default.createElement("div",{className:"shop-filter"},l.default.createElement("label",{className:"title-label-require"},"店铺:"),l.default.createElement(r.CCascader,{style:{width:"270px"},options:this.state.allPlatShop,defaultValue:this.state.selectedShop,value:this.state.selectedShop,onChange:function(t){return e.onChange(t)},blur:function(){return e.searchData()},placeholder:"请选择店铺",maxTagCount:"responsive",showCheckedStrategy:"SHOW_CHILD",notFoundContent:Ns,multiple:!0,allowClear:!0,showSearch:{filter:this.filter}}),l.default.createElement(r.Button,{type:"primary",onClick:function(){return e.searchData()},style:{marginLeft:16}},"搜索"),l.default.createElement(r.Button,{onClick:function(){return e.searchData("rest")},style:{marginLeft:8}},"重置")),l.default.createElement(r.CTable,{ref:this.evaluationTable,style:{width:"100%",height:"calc(100% - 51px)"},supportPage:!0,hideEmptyFooter:!0,showRefresh:!1,rowKey:"orderId",columnData:t,ajaxData:this.ajaxData,dataKey:"list",emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:e.state.isSearchEmpty?Is:As,width:64}),l.default.createElement("p",{style:{marginTop:8}},e.state.isSearchEmpty?"搜索为空":"暂无数据"))},pageOpts:{pageSize:10,pageSizeOptions:[5,10,20,30,50],showQuickJumper:!0},onLoadGridAfter:function(t){t.list.forEach((function(t){var n,a;t.tipWidth=null===(n=e.tableRef)||void 0===n||null===(a=n.current)||void 0===a?void 0:a.querySelectorAll(".newCloud-table-thead th")[1].offsetWidth}))}}))}}]),t}(l.default.Component);js.contextType=Jl,function(e){var t,n,a,r,i,o='<svg><symbol id="icon-JOS02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M575.488 258.304c95.744 0 169.984 20.672 220.288 64.256 50.24 41.344 76.608 107.904 76.608 190.592-2.368 82.624-28.736 149.248-76.608 190.592C745.472 744.96 671.232 768 575.488 768H462.912V258.304h112.576zM403.072 256v330.624c0 59.712-19.2 105.6-55.04 135.488-35.968 29.824-93.44 43.584-167.68 43.584h-11.968v-73.472h9.6c26.304 0 47.872-2.304 64.64-6.848 16.768-4.608 33.536-11.52 45.44-20.672 9.6-6.912 16.832-18.368 21.568-29.888 4.8-13.76 7.232-36.736 7.232-71.168V256h86.208zM584.96 334.08h-38.272v360.448h38.272c67.072 0 117.376-16.064 153.28-43.648 33.536-29.824 50.24-75.712 50.24-135.424s-16.704-107.904-50.24-135.488c-35.904-32.128-86.208-45.888-153.28-45.888z" fill="#E41F1E" ></path></symbol><symbol id="icon-JOS01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E41F1E" ></path><path d="M568.064 258.304c97.536 0 173.12 20.672 224.32 64.256 51.2 41.344 78.016 107.904 78.016 190.592-2.432 82.624-29.248 149.248-78.016 190.592C741.184 744.96 665.6 768 568.064 768h-114.56V258.304h114.56zM392.512 256v330.624c0 59.712-19.456 105.6-56.064 135.488-36.544 29.824-95.104 43.584-170.688 43.584H153.6v-73.472h9.728c26.88 0 48.768-2.304 65.856-6.848 17.088-4.608 34.112-11.52 46.336-20.672 9.728-6.912 17.024-18.368 21.952-29.888 4.864-13.76 7.296-36.736 7.296-71.168V256h87.744zM577.92 334.08h-39.04v360.448h39.04c68.224 0 119.424-16.064 156.032-43.648 34.112-29.824 51.2-75.712 51.2-135.424s-17.088-107.904-51.2-135.488c-36.608-32.128-87.808-45.888-156.032-45.888z" fill="#FFFFFF" ></path></symbol><symbol id="icon-JOS03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM575.488 258.304H462.912V768h112.576c95.744 0 169.984-22.976 220.288-64.256 47.872-41.344 74.24-107.968 76.608-190.592 0-82.688-26.368-149.248-76.608-190.592-50.304-43.584-124.544-64.256-220.288-64.256zM403.072 256H316.8v307.648c0 34.432-2.432 57.408-7.232 71.168-4.736 11.52-11.968 22.976-21.504 29.888-11.968 9.152-28.8 16-45.504 20.672-16.768 4.544-38.336 6.848-64.64 6.848h-9.6v73.472h11.968c74.24 0 131.712-13.76 167.68-43.584 35.84-29.888 55.04-75.776 55.04-135.488V256zM584.96 334.08c67.072 0 117.376 13.76 153.28 45.888 33.536 27.52 50.24 75.776 50.24 135.488s-16.704 105.6-50.24 135.424c-35.904 27.52-86.208 43.648-153.28 43.648h-38.272V334.08z" fill="#D9D9D9" ></path></symbol><symbol id="icon-KUAISHOU01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#F64806" ></path><path d="M465.6 547.008c3.2-0.192 230.656-18.752 245.76-16.384 15.104 2.432 75.648 0.64 78.72 24.192 2.944 23.36 0 46.016 0 46.016s-134.4 23.616-137.472 26.688c-3.008 3.008-13.888 13.888-13.248 30.208 0.64 16.384 0.64 80 1.152 81.792 0.64 1.792 3.648 13.888 26.688 11.52 18.112-1.92 36.16-8.384 43.136-11.008a4.096 4.096 0 0 0 2.624-4.224l-1.28-16.384a4.288 4.288 0 0 0-4.992-3.84l-34.688 6.912v-65.408l112.32-20.288a3.968 3.968 0 0 1 4.672 3.84l3.712 110.72s6.4 27.52-40.832 37.184c-47.168 9.728-160.32 38.144-171.264 38.72-10.88 0.64-29.056 0.64-47.808-4.224a374.272 374.272 0 0 1-37.952-12.928 4.672 4.672 0 0 1-2.048-7.104l41.344-56.128a11.712 11.712 0 0 0 2.304-7.04v-61.952c0-3.2-1.28-6.208-3.456-8.512L444.608 576.384A11.264 11.264 0 0 1 441.6 567.04c1.024-7.36 5.76-19.008 23.936-20.032z" fill="#FFFFFF" ></path><path d="M405.76 584.96a10.112 10.112 0 0 0-5.76-2.88L241.152 558.72a10.624 10.624 0 0 0-6.592 0.768c-6.912 3.2-22.016 12.736-26.88 36.288v186.624s2.176 37.248 53.504 54.464c51.328 17.28 113.92 32.704 113.92 32.704s34.944 6.784 49.088-21.76c14.08-28.672 81.28-110.336 81.28-110.336v-49.472L405.76 584.96z m-41.472 222.528c-16.384-0.448-82.944-9.6-103.936-28.672-19.072-17.216-9.536-152.96-9.536-152.96s0.384-15.808 9.536-14.08l105.792 19.008s13.12 7.68 13.12 18.624v146.624c0 0.128 1.408 11.904-14.976 11.456z m452.096-434.112c0-72.448-55.936-131.2-124.992-131.2-39.296 0-74.432 19.072-97.344 48.96C575.68 212.096 510.08 153.6 432 153.6c-92.288 0-167.04 81.6-167.04 182.272s74.752 182.272 167.04 182.272c4.8 0 9.6-0.256 14.4-0.768l249.728-12.864 3.264-0.128 3.52-0.256h-0.064c63.616-6.144 113.536-62.336 113.536-130.752zM463.936 438.272c-46.72 0-84.608-43.52-84.608-97.28s37.888-97.28 84.608-97.28c46.72 0 84.48 43.52 84.48 97.28s-37.76 97.28-84.48 97.28z m247.296-4.48c-30.784 0-55.808-28.672-55.808-64.192 0-35.456 24.96-64.192 55.808-64.192 30.784 0 55.808 28.736 55.808 64.192 0 35.52-24.96 64.192-55.808 64.192z" fill="#FFFFFF" ></path></symbol><symbol id="icon-KUAISHOU02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M465.6 547.008c3.2-0.192 230.656-18.752 245.76-16.384 15.104 2.432 75.648 0.64 78.72 24.192 2.944 23.36 0 46.016 0 46.016s-134.4 23.616-137.472 26.688c-3.008 3.008-13.888 13.888-13.248 30.208 0.64 16.384 0.64 80 1.152 81.792 0.64 1.792 3.648 13.888 26.688 11.52 18.112-1.92 36.16-8.384 43.136-11.008a4.096 4.096 0 0 0 2.624-4.224l-1.28-16.384a4.288 4.288 0 0 0-4.992-3.84l-34.688 6.912v-65.408l112.32-20.288a3.968 3.968 0 0 1 4.672 3.84l3.712 110.72s6.4 27.52-40.832 37.184c-47.168 9.728-160.32 38.144-171.264 38.72-10.88 0.64-29.056 0.64-47.808-4.224a374.272 374.272 0 0 1-37.952-12.928 4.672 4.672 0 0 1-2.048-7.104l41.344-56.128a11.712 11.712 0 0 0 2.304-7.04v-61.952c0-3.2-1.28-6.208-3.456-8.512L444.608 576.384A11.264 11.264 0 0 1 441.6 567.04c1.024-7.36 5.76-19.008 23.936-20.032z" fill="#F64806" ></path><path d="M405.76 584.96a10.112 10.112 0 0 0-5.76-2.88L241.152 558.72a10.624 10.624 0 0 0-6.592 0.768c-6.912 3.2-22.016 12.736-26.88 36.288v186.624s2.176 37.248 53.504 54.464c51.328 17.28 113.92 32.704 113.92 32.704s34.944 6.784 49.088-21.76c14.08-28.672 81.28-110.336 81.28-110.336v-49.472L405.76 584.96z m-41.472 222.528c-16.384-0.448-82.944-9.6-103.936-28.672-19.072-17.216-9.536-152.96-9.536-152.96s0.384-15.808 9.536-14.08l105.792 19.008s13.12 7.68 13.12 18.624v146.624c0 0.128 1.408 11.904-14.976 11.456z m452.096-434.112c0-72.448-55.936-131.2-124.992-131.2-39.296 0-74.432 19.072-97.344 48.96C575.68 212.096 510.08 153.6 432 153.6c-92.288 0-167.04 81.6-167.04 182.272s74.752 182.272 167.04 182.272c4.8 0 9.6-0.256 14.4-0.768l249.728-12.864 3.264-0.128 3.52-0.256h-0.064c63.616-6.144 113.536-62.336 113.536-130.752zM463.936 438.272c-46.72 0-84.608-43.52-84.608-97.28s37.888-97.28 84.608-97.28c46.72 0 84.48 43.52 84.48 97.28s-37.76 97.28-84.48 97.28z m247.296-4.48c-30.784 0-55.808-28.672-55.808-64.192 0-35.456 24.96-64.192 55.808-64.192 30.784 0 55.808 28.736 55.808 64.192 0 35.52-24.96 64.192-55.808 64.192z" fill="#F64806" ></path></symbol><symbol id="icon-KUAISHOU03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M465.6 547.008c3.2-0.192 230.656-18.752 245.76-16.384 15.104 2.432 75.648 0.64 78.72 24.192 2.944 23.36 0 46.016 0 46.016s-134.4 23.616-137.472 26.688c-3.008 3.008-13.888 13.888-13.248 30.208 0.64 16.384 0.64 80 1.152 81.792 0.64 1.792 3.648 13.888 26.688 11.52 18.112-1.92 36.16-8.384 43.136-11.008a4.096 4.096 0 0 0 2.624-4.224l-1.28-16.384a4.288 4.288 0 0 0-4.992-3.84l-34.688 6.912v-65.408l112.32-20.288a3.968 3.968 0 0 1 4.672 3.84l3.712 110.72s6.4 27.52-40.832 37.184c-47.168 9.728-160.32 38.144-171.264 38.72-10.88 0.64-29.056 0.64-47.808-4.224a374.272 374.272 0 0 1-37.952-12.928 4.672 4.672 0 0 1-2.048-7.104l41.344-56.128a11.712 11.712 0 0 0 2.304-7.04v-61.952c0-3.2-1.28-6.208-3.456-8.512L444.608 576.384A11.264 11.264 0 0 1 441.6 567.04c1.024-7.36 5.76-19.008 23.936-20.032z" fill="#FFFFFF" ></path><path d="M405.76 584.96a10.112 10.112 0 0 0-5.76-2.88L241.152 558.72a10.624 10.624 0 0 0-6.592 0.768c-6.912 3.2-22.016 12.736-26.88 36.288v186.624s2.176 37.248 53.504 54.464c51.328 17.28 113.92 32.704 113.92 32.704s34.944 6.784 49.088-21.76c14.08-28.672 81.28-110.336 81.28-110.336v-49.472L405.76 584.96z m-41.472 222.528c-16.384-0.448-82.944-9.6-103.936-28.672-19.072-17.216-9.536-152.96-9.536-152.96s0.384-15.808 9.536-14.08l105.792 19.008s13.12 7.68 13.12 18.624v146.624c0 0.128 1.408 11.904-14.976 11.456z m452.096-434.112c0-72.448-55.936-131.2-124.992-131.2-39.296 0-74.432 19.072-97.344 48.96C575.68 212.096 510.08 153.6 432 153.6c-92.288 0-167.04 81.6-167.04 182.272s74.752 182.272 167.04 182.272c4.8 0 9.6-0.256 14.4-0.768l249.728-12.864 3.264-0.128 3.52-0.256h-0.064c63.616-6.144 113.536-62.336 113.536-130.752zM463.936 438.272c-46.72 0-84.608-43.52-84.608-97.28s37.888-97.28 84.608-97.28c46.72 0 84.48 43.52 84.48 97.28s-37.76 97.28-84.48 97.28z m247.296-4.48c-30.784 0-55.808-28.672-55.808-64.192 0-35.456 24.96-64.192 55.808-64.192 30.784 0 55.808 28.736 55.808 64.192 0 35.52-24.96 64.192-55.808 64.192z" fill="#FFFFFF" ></path></symbol><symbol id="icon-MGJ03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M389.504 718.272a119.488 119.488 0 1 0 238.976 0 119.488 119.488 0 0 0-238.976 0z" fill="#FFFFFF" ></path><path d="M821.12 410.56c-38.592-89.6-138.88-210.24-309.44-210.24-96.192 0-222.208 42.432-293.888 169.088-71.68 126.592-32.256 235.328 40.64 264 72.832 28.672 133.184-17.92 158.848-39.424 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.992 90.816 29.568c23.744 16.64 44.8 52.48 131.712 43.008 89.408-9.728 125.376-135.36 86.848-224.96zM374.208 365.44c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path></symbol><symbol id="icon-MGJ02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M389.504 718.272a119.488 119.488 0 1 0 238.976 0 119.488 119.488 0 0 0-238.976 0z" fill="#FF2462" ></path><path d="M821.12 410.56c-38.592-89.6-138.88-210.24-309.44-210.24-96.192 0-222.208 42.432-293.888 169.088-71.68 126.592-32.256 235.328 40.64 264 72.832 28.672 133.184-17.92 158.848-39.424 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.992 90.816 29.568c23.744 16.64 44.8 52.48 131.712 43.008 89.408-9.728 125.376-135.36 86.848-224.96zM374.208 365.44c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FF2462" ></path><path d="M622.848 682.048a119.552 119.552 0 1 0-200.32 118.656 409.152 409.152 0 0 0 200.32-118.656z" fill="#FF2462" ></path></symbol><symbol id="icon-MGJ01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF2462" ></path><path d="M389.504 718.272a119.488 119.488 0 1 0 238.976 0 119.488 119.488 0 0 0-238.976 0z" fill="#FFFFFF" ></path><path d="M821.12 410.56c-38.592-89.6-138.88-210.24-309.44-210.24-96.192 0-222.208 42.432-293.888 169.088-71.68 126.592-32.256 235.328 40.64 264 72.832 28.672 133.184-17.92 158.848-39.424 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.992 90.816 29.568c23.744 16.64 44.8 52.48 131.712 43.008 89.408-9.728 125.376-135.36 86.848-224.96zM374.208 365.44c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path><path d="M217.792 369.28c-71.68 126.72-32.256 235.392 40.64 264.064 72.832 28.672 133.184-17.92 158.848-39.36 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.928 90.816 29.568c15.232 10.624 29.44 29.248 60.8 38.656a407.104 407.104 0 0 0 68.992-227.392c0-48.32-8.448-94.656-23.808-137.6A318.336 318.336 0 0 0 511.744 200.32c-96.256-0.064-222.272 42.368-293.952 168.96z m156.48-3.904c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path><path d="M622.848 682.048a119.552 119.552 0 1 0-200.32 118.656 409.152 409.152 0 0 0 200.32-118.656zM217.792 369.28c-71.68 126.72-32.256 235.392 40.64 264.064 72.832 28.672 133.184-17.92 158.848-39.36 19.264-16.128 38.528-25.6 65.088-29.248A408 408 0 0 0 618.24 217.728a326.656 326.656 0 0 0-106.624-17.408c-96.192 0-222.208 42.432-293.888 168.96z m156.48-3.904c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path><path d="M374.272 365.376c-0.896 0.64-50.24 36.992-65.216 101.312a23.808 23.808 0 0 1-1.344 4.16A409.728 409.728 0 0 0 508.096 200.32c-95.68 1.024-219.52 43.904-290.304 168.96-30.464 53.888-40.832 104.384-37.12 147.008a405.568 405.568 0 0 0 92.544-28.224 28.992 28.992 0 0 1-20.608-34.56A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path></symbol><symbol id="icon-SUNING01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E31419" ></path><path d="M851.2 465.6l-66.688-66.624V304.96c0-36.224-29.248-65.472-65.472-65.472H625.024L558.464 172.8c-25.664-25.664-67.2-25.664-92.864 0L398.976 239.36H304.96c-36.224 0-65.472 29.312-65.472 65.536v94.016L172.8 465.536c-25.664 25.664-25.664 67.2 0 92.864l66.56 66.624v94.016c0 36.224 29.312 65.472 65.536 65.472h94.016l66.56 66.624c25.664 25.664 67.2 25.664 92.864 0l66.624-66.56h94.016c36.224 0 65.472-29.312 65.472-65.536V625.024l66.624-66.56c25.664-25.664 25.664-67.2 0-92.864z m-228.352-24.32c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.344 25.408 25.472 25.472 0 0 1-25.408-25.408 25.6 25.6 0 0 1 25.408-25.344z m-227.2 0c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.408 25.408 25.472 25.472 0 0 1-25.344-25.408 25.6 25.6 0 0 1 25.344-25.344z m223.808 293.12H401.728c-45.696 0-84.736-35.712-85.568-81.472a83.584 83.584 0 0 1 54.912-80.32c4.16-1.664 12.288-2.752 19.52-3.584a17.728 17.728 0 0 0 15.616-14.528 105.792 105.792 0 1 1 208.512-0.256 17.728 17.728 0 0 0 15.936 14.528c5.248 0.512 10.88 1.088 13.632 1.92 35.712 10.048 61.632 43.52 60.48 82.816-1.088 45.44-39.872 80.832-85.312 80.832z" fill="#F7B62C" ></path><path d="M597.44 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0zM370.24 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0z" fill="#030304" ></path><path d="M644.544 570.688a72.32 72.32 0 0 0-13.632-1.92 17.792 17.792 0 0 1-15.872-14.528 105.792 105.792 0 1 0-208.512 0.256 17.728 17.728 0 0 1-15.68 14.528c-7.232 0.832-15.36 1.92-19.52 3.584-32.64 11.712-55.744 43.52-54.912 80.32 1.088 45.76 39.872 81.408 85.568 81.408h217.792c45.44 0 84.16-35.392 85.312-80.832a83.648 83.648 0 0 0-60.544-82.816z m-61.568 22.848l-43.264 34.048a53.184 53.184 0 0 1-66.048 0l-43.2-34.048a14.528 14.528 0 0 1 8.96-25.92h134.336c13.952 0 20.096 17.6 9.216 25.92z" fill="#FFFFFF" ></path><path d="M430.464 593.536l43.2 34.048c19.52 15.36 46.848 15.36 66.048 0l43.264-34.048a14.528 14.528 0 0 0-8.96-25.92h-134.4c-13.888 0-20.032 17.6-9.152 25.92z" fill="#030304" ></path></symbol><symbol id="icon-SUNING02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M851.2 465.6l-66.688-66.624V304.96c0-36.224-29.248-65.472-65.472-65.472H625.024L558.464 172.8c-25.664-25.664-67.2-25.664-92.864 0L398.976 239.36H304.96c-36.224 0-65.472 29.312-65.472 65.536v94.016L172.8 465.536c-25.664 25.664-25.664 67.2 0 92.864l66.56 66.624v94.016c0 36.224 29.312 65.472 65.536 65.472h94.016l66.56 66.624c25.664 25.664 67.2 25.664 92.864 0l66.624-66.56h94.016c36.224 0 65.472-29.312 65.472-65.536V625.024l66.624-66.56c25.664-25.664 25.664-67.2 0-92.864z m-228.352-24.32c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.344 25.408 25.472 25.472 0 0 1-25.408-25.408 25.6 25.6 0 0 1 25.408-25.344z m-227.2 0c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.408 25.408 25.472 25.472 0 0 1-25.344-25.408 25.6 25.6 0 0 1 25.344-25.344z m223.808 293.12H401.728c-45.696 0-84.736-35.712-85.568-81.472a83.584 83.584 0 0 1 54.912-80.32c4.16-1.664 12.288-2.752 19.52-3.584a17.728 17.728 0 0 0 15.616-14.528 105.792 105.792 0 1 1 208.512-0.256 17.728 17.728 0 0 0 15.936 14.528c5.248 0.512 10.88 1.088 13.632 1.92 35.712 10.048 61.632 43.52 60.48 82.816-1.088 45.44-39.872 80.832-85.312 80.832z" fill="#FFA602" ></path><path d="M597.44 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0zM370.24 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0z" fill="#030304" ></path><path d="M644.544 570.688a72.32 72.32 0 0 0-13.632-1.92 17.792 17.792 0 0 1-15.872-14.528 105.792 105.792 0 1 0-208.512 0.256 17.728 17.728 0 0 1-15.68 14.528c-7.232 0.832-15.36 1.92-19.52 3.584-32.64 11.712-55.744 43.52-54.912 80.32 1.088 45.76 39.872 81.408 85.568 81.408h217.792c45.44 0 84.16-35.392 85.312-80.832a83.648 83.648 0 0 0-60.544-82.816z m-61.568 22.848l-43.264 34.048a53.184 53.184 0 0 1-66.048 0l-43.2-34.048a14.528 14.528 0 0 1 8.96-25.92h134.336c13.952 0 20.096 17.6 9.216 25.92z" fill="#FFFFFF" ></path><path d="M430.464 593.536l43.2 34.048c19.52 15.36 46.848 15.36 66.048 0l43.264-34.048a14.528 14.528 0 0 0-8.96-25.92h-134.4c-13.888 0-20.032 17.6-9.152 25.92z" fill="#030304" ></path></symbol><symbol id="icon-SUNING03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M851.2 465.6l-66.688-66.624V304.96c0-36.224-29.248-65.472-65.472-65.472H625.024L558.464 172.8c-25.664-25.664-67.2-25.664-92.864 0L398.976 239.36H304.96c-36.224 0-65.472 29.312-65.472 65.536v94.016L172.8 465.536c-25.664 25.664-25.664 67.2 0 92.864l66.56 66.624v94.016c0 36.224 29.312 65.472 65.536 65.472h94.016l66.56 66.624c25.664 25.664 67.2 25.664 92.864 0l66.624-66.56h94.016c36.224 0 65.472-29.312 65.472-65.536V625.024l66.624-66.56c25.664-25.664 25.664-67.2 0-92.864z m-228.352-24.32c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.344 25.408 25.472 25.472 0 0 1-25.408-25.408 25.6 25.6 0 0 1 25.408-25.344z m-227.2 0c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.408 25.408 25.472 25.472 0 0 1-25.344-25.408 25.6 25.6 0 0 1 25.344-25.344z m223.808 293.12H401.728c-45.696 0-84.736-35.712-85.568-81.472a83.584 83.584 0 0 1 54.912-80.32c4.16-1.664 12.288-2.752 19.52-3.584a17.728 17.728 0 0 0 15.616-14.528 105.792 105.792 0 1 1 208.512-0.256 17.728 17.728 0 0 0 15.936 14.528c5.248 0.512 10.88 1.088 13.632 1.92 35.712 10.048 61.632 43.52 60.48 82.816-1.088 45.44-39.872 80.832-85.312 80.832z" fill="#FFFFFF" ></path><path d="M597.44 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0zM370.24 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0z" fill="#030304" ></path><path d="M644.544 570.688a72.32 72.32 0 0 0-13.632-1.92 17.792 17.792 0 0 1-15.872-14.528 105.792 105.792 0 1 0-208.512 0.256 17.728 17.728 0 0 1-15.68 14.528c-7.232 0.832-15.36 1.92-19.52 3.584-32.64 11.712-55.744 43.52-54.912 80.32 1.088 45.76 39.872 81.408 85.568 81.408h217.792c45.44 0 84.16-35.392 85.312-80.832a83.648 83.648 0 0 0-60.544-82.816z m-61.568 22.848l-43.264 34.048a53.184 53.184 0 0 1-66.048 0l-43.2-34.048a14.528 14.528 0 0 1 8.96-25.92h134.336c13.952 0 20.096 17.6 9.216 25.92z" fill="#D9D9D9" ></path><path d="M430.464 593.536l43.2 34.048c19.52 15.36 46.848 15.36 66.048 0l43.264-34.048a14.528 14.528 0 0 0-8.96-25.92h-134.4c-13.888 0-20.032 17.6-9.152 25.92z" fill="#030304" ></path></symbol><symbol id="icon-TAOBAO01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF5F17" ></path><path d="M224.448 384.896l-40.704 62.912 75.072 46.784s49.984 25.728 26.048 74.048c-22.144 45.632-131.264 145.728-131.264 145.728l97.664 61.44c67.776-147.712 63.168-128 80.128-181.12 17.472-53.952 21.312-95.36-8.256-125.568-38.016-38.4-42.24-41.984-98.688-84.224z m633.856-16.512s-21.312-166.208-382.528-63.296c15.488-27.136 22.784-44.608 22.784-44.608l-90.112-25.6s-36.48 119.744-101.44 175.488c0 0 63.04 36.608 62.336 35.456 17.152-17.088 33.152-35.328 48-54.4 14.528-6.528 28.352-12.416 41.856-17.92-16.768 30.272-43.584 75.712-70.528 104.32l37.952 33.536s25.984-25.152 54.208-55.296h32.192V512H387.264v44.544h125.76v106.944l-4.8-0.128c-13.888-0.64-35.392-3.008-43.904-16.512-10.176-16.512-2.624-46.4-2.176-64.96H375.296l-3.2 1.792s-31.872 143.552 91.84 140.416c115.52 3.136 181.888-32.64 213.76-57.28l12.672 47.616 71.36-30.08-48.32-118.976-57.792 18.304 10.688 40.64a171.264 171.264 0 0 1-50.048 25.728v-93.44h122.624v-44.8H616.256v-55.808h123.008v-44.608H520.448c15.872-19.392 28.096-37.12 31.36-48.256l-38.208-10.496c163.712-59.136 254.976-49.024 254.272 47.872v255.168s9.6 87.488-89.984 81.28l-53.952-11.648-12.48 51.584s232.64 67.2 251.648-113.088c18.88-180.288-4.8-295.36-4.8-295.36z" fill="#FFFFFF" ></path><path d="M277.824 361.216c35.52 0 64.32-25.856 64.32-57.792 0-32.192-28.8-58.048-64.32-58.048-35.776 0-64.384 26.048-64.384 58.048 0.192 31.808 28.672 57.792 64.384 57.792z" fill="#FFEC0F" ></path></symbol><symbol id="icon-TAOBAO03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM408.384 211.52s-35.84 124.48-99.648 182.4c0 0 61.888 38.016 61.248 36.864 16.832-17.792 32.576-36.736 47.168-56.64 14.208-6.72 27.84-12.864 41.088-18.56-16.512 31.424-42.88 78.72-69.312 108.416l37.248 34.88s25.6-26.176 53.312-57.472h31.616v58.048h-123.52v46.336h123.52v111.168l-4.736-0.128c-13.696-0.704-34.752-3.2-43.136-17.216-9.984-17.152-2.56-48.192-2.112-67.52H375.808l-3.136 1.92-0.32 1.856-0.896 5.312c-4.416 29.888-13.888 141.504 91.392 138.688 113.472 3.264 178.688-33.92 209.984-59.52l12.416 49.472 70.08-31.296-47.488-123.52-56.768 18.944 10.56 42.24a165.12 165.12 0 0 1-49.216 26.752V545.792h120.448v-46.464H612.416v-58.112h120.832V394.88H518.4c15.552-20.16 27.52-38.592 30.848-50.176l-37.632-10.88c160.832-61.44 250.432-50.944 249.728 49.792v265.152s9.472 91.008-88.32 84.544l-52.992-12.16-12.288 53.632s228.48 69.76 247.168-117.568c18.56-187.392-4.736-306.944-4.736-306.944s-20.928-172.8-375.68-65.792c15.232-28.16 22.4-46.336 22.4-46.336L408.32 211.52zM227.648 367.424l-40 65.408 73.792 48.64s49.088 26.752 25.6 76.928c-21.824 47.488-128.96 151.488-128.96 151.488l95.936 63.808c66.56-153.472 62.016-133.12 78.72-188.288 17.152-56.064 20.864-99.136-8.128-130.432-37.312-39.936-41.536-43.648-96.96-87.552z m52.48-145.024c-35.2 0-63.296 27.072-63.296 60.352 0.192 33.024 28.16 60.096 63.232 60.096 34.88 0 63.168-26.88 63.168-60.096 0-33.472-28.288-60.352-63.168-60.352z" fill="#D9D9D9" ></path></symbol><symbol id="icon-TAOBAO02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M187.648 432.832l73.792 48.64s49.088 26.752 25.6 76.928c-21.824 47.488-128.96 151.488-128.96 151.488l95.936 63.808c66.56-153.472 62.016-133.12 78.72-188.288 17.152-56.064 20.864-99.136-8.128-130.432-37.312-39.936-41.536-43.648-96.96-87.552l-40 65.408z m155.52-150.08c0-33.472-28.16-60.352-63.104-60.352-35.072 0-63.232 27.072-63.232 60.352 0.192 33.024 28.16 60.096 63.232 60.096 34.88 0 63.168-26.88 63.168-60.096z m131.328 1.728c15.232-28.16 22.4-46.336 22.4-46.336L408.32 211.52s-35.84 124.48-99.648 182.4c0 0 61.888 38.016 61.248 36.864 16.832-17.792 32.576-36.736 47.168-56.64 14.208-6.72 27.84-12.864 41.088-18.56-16.512 31.424-42.88 78.72-69.312 108.416l37.248 34.88s25.6-26.176 53.312-57.472h31.616v58.048h-123.52v46.336h123.52v111.168l-4.736-0.128c-13.696-0.704-34.752-3.2-43.136-17.216-9.984-17.152-2.56-48.192-2.112-67.52H375.808l-3.136 1.92s-31.36 149.12 90.176 145.92c113.472 3.2 178.688-33.92 209.984-59.52l12.416 49.408 70.08-31.296-47.488-123.52-56.768 18.944 10.56 42.24a165.12 165.12 0 0 1-49.216 26.752V545.792h120.448v-46.464H612.416v-58.112h120.832V394.88H518.4c15.552-20.16 27.52-38.592 30.848-50.176l-37.632-10.88c160.832-61.44 250.432-50.944 249.728 49.792v265.152s9.472 91.008-88.32 84.544l-52.992-12.16-12.288 53.632s228.48 69.76 247.168-117.568c18.56-187.392-4.736-306.944-4.736-306.944s-20.928-172.8-375.68-65.792z" fill="#FE5D0B" ></path></symbol><symbol id="icon-DOUYIN03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64z m-313.92 159.808H536.768c-8.96 0.256-8.96 1.664-8.96 12.864v456.64c0 6.08 0 12.16-0.64 17.536-4.288 38.592-24 67.008-60.608 82.56-36.608 16.192-72.512 12.8-104.96-11.52-38.656-28.416-51.328-77.12-32.32-119.04 19.008-41.92 65.472-64.96 113.344-56.832 5.632 0.64 11.264 2.048 16.896 3.392V418.24c-19.712-4.096-54.912-4.096-78.848 0.64-122.496 23.68-202.816 129.28-186.624 249.6 15.488 120.448 138.048 221.248 283.072 189.44 106.304-23.68 180.992-114.304 180.992-219.84V400.64c53.504 33.856 110.528 52.096 173.888 51.392V328.32a312 312 0 0 1-27.52-2.688 170.752 170.752 0 0 1-147.072-155.584c-0.704-8.768-3.584-10.176-11.328-10.176z" fill="#D9D9D9" ></path></symbol><symbol id="icon-DOUYIN01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#000000" ></path><path d="M491.264 435.392V547.84c-70.464-24.32-161.92 53.568-100.608 147.648 15.488 15.488 55.04 26.624 118.72 33.472l69.376-47.36V520.064l3.904-321.92h85.12c22.784 67.712 52.864 112.64 90.24 134.784 15.168 8.96 51.904 19.968 70.464 24.192 0.32 1.28 0.384 82.24 0 94.208-44.992 1.984-97.792-11.648-158.528-40.832v235.136c0 124.48-149.184 279.808-359.296 127.808-41.6-50.24-53.248-106.56-34.816-168.832L353.152 475.52l100.992-40.192h37.12z" fill="#F71550" ></path><path d="M733.888 315.392c12.8 7.744 33.92 11.584 63.36 11.584v24.768l-42.24-13.76-21.12-22.592z" fill="#4BFAF4" ></path><path d="M459.712 431.872v86.08C384.768 500.032 277.76 596.48 385.856 691.2c15.424 15.488 46.08 25.344 91.968 29.632l69.376-47.36V512l3.904-321.92h82.752l4.544 8.32c20.864 64.256 73.728 114.432 158.528 150.656 0.32 1.216 0.384 70.784 0 82.816-44.928 1.984-97.792-14.08-158.528-48.128V637.44c0 121.792-163.328 254.272-330.752 133.12a268.8 268.8 0 0 1-63.36-174.08l63.36-124.8 131.84-46.592 20.224 6.72z" fill="#FFFFFF" ></path><path d="M459.712 405.952c-177.664-24.96-345.536 190.272-149.056 367.552C193.28 638.72 257.28 444.224 459.712 431.872v-25.92zM528.704 169.984h106.368l3.328 28.416H561.088v443.904c0 34.048-18.368 85.184-78.208 86.336-41.6 0-72.32-11.072-92.16-33.152 65.536 19.904 109.44 2.176 131.84-53.184 8.32-21.952 10.368-179.392 6.144-472.32z" fill="#4BFAF4" ></path></symbol><symbol id="icon-DOUYIN02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M491.264 435.392V547.84c-70.464-24.32-161.92 53.568-100.608 147.648 15.488 15.488 55.04 26.624 118.72 33.472l69.376-47.36V520.064l3.904-321.92h85.12c22.784 67.712 52.864 112.64 90.24 134.784 15.168 8.96 51.904 19.968 70.464 24.192 0.32 1.28 0.384 82.24 0 94.208-44.992 1.984-97.792-11.648-158.528-40.832v235.136c0 124.48-149.184 279.808-359.296 127.808-41.6-50.24-53.248-106.56-34.816-168.832L353.152 475.52l100.992-40.192h37.12z" fill="#F71550" ></path><path d="M733.888 315.392c12.8 7.744 33.92 11.584 63.36 11.584v24.768l-42.24-13.76-21.12-22.592z" fill="#4BFAF4" ></path><path d="M459.712 431.872v86.08C384.768 500.032 277.76 596.48 385.856 691.2c15.424 15.488 46.08 25.344 91.968 29.632l69.376-47.36V512l3.904-321.92h82.752l4.544 8.32c20.864 64.256 73.728 114.432 158.528 150.656 0.32 1.216 0.384 70.784 0 82.816-44.928 1.984-97.792-14.08-158.528-48.128V637.44c0 121.792-163.328 254.272-330.752 133.12a268.8 268.8 0 0 1-63.36-174.08l63.36-124.8 131.84-46.592 20.224 6.72z" fill="#000000" ></path><path d="M459.712 405.952c-177.664-24.96-345.536 190.272-149.056 367.552C193.28 638.72 257.28 444.224 459.712 431.872v-25.92zM528.704 169.984h106.368l3.328 28.416H561.088v443.904c0 34.048-18.368 85.184-78.208 86.336-41.6 0-72.32-11.072-92.16-33.152 65.536 19.904 109.44 2.176 131.84-53.184 8.32-21.952 10.368-179.392 6.144-472.32z" fill="#4BFAF4" ></path></symbol><symbol id="icon-WEIXIN01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#20BF64" ></path><path d="M726.4 571.776a29.632 29.632 0 0 0 29.248-29.248 29.184 29.184 0 0 0-29.248-29.248 29.184 29.184 0 0 0-29.248 29.248c0 16.32 13.056 29.248 29.248 29.248z m-144.128 0a29.632 29.632 0 0 0 29.248-29.248 29.184 29.184 0 0 0-29.248-29.248 29.12 29.12 0 0 0-29.312 29.248c0 16.32 12.992 29.248 29.312 29.248zM796.16 736a11.328 11.328 0 0 0-5.632 12.096c0 1.536 0 3.136 0.832 4.736 3.2 13.632 9.6 35.2 9.6 36.032 0 2.432 0.768 4.032 0.768 5.632a7.168 7.168 0 0 1-7.168 7.168c-1.664 0-2.432-0.768-4.032-1.536l-47.232-27.264a26.048 26.048 0 0 0-11.2-3.2c-2.368 0-4.736 0-6.4 0.768-22.4 6.4-45.568 9.6-70.4 9.6-119.232 0-215.232-80-215.232-179.328 0-99.264 96-179.392 215.232-179.392s215.232 80.128 215.232 179.392c0 53.632-28.8 102.528-74.368 135.36z m-131.776-347.072a296.64 296.64 0 0 0-9.088-0.128c-136 0-247.808 93.184-247.808 211.904 0 18.112 2.56 35.52 7.424 52.16h-2.88a324.608 324.608 0 0 1-84.224-11.968C325.44 640 323.072 640 320.64 640a27.136 27.136 0 0 0-13.632 4.032l-56.96 32.704c-1.6 0.832-3.2 1.664-4.8 1.664a8.896 8.896 0 0 1-8.768-8.832c0-2.368 0.768-3.968 1.536-6.4 0.832-0.768 8.064-27.2 12.032-43.136 0-1.664 0.832-4.032 0.832-5.632a18.112 18.112 0 0 0-7.232-14.4c-55.36-39.168-89.856-97.472-89.856-162.24 0-119.04 116.352-215.04 259.072-215.04 122.624 0 225.792 70.72 251.584 166.144zM496.64 402.56a33.664 33.664 0 0 0 33.408-33.408 33.152 33.152 0 0 0-33.408-33.408 33.152 33.152 0 0 0-33.472 33.408c0 18.688 14.72 33.408 33.472 33.408z m-171.392 0a33.664 33.664 0 0 0 33.472-33.408 33.216 33.216 0 0 0-33.472-33.408 33.216 33.216 0 0 0-33.472 33.408c0 18.688 14.848 33.408 33.472 33.408z" fill="#FFFFFF" ></path></symbol><symbol id="icon-WEIXIN03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M751.168 546.112a28.8 28.8 0 0 0-28.736-29.12 28.8 28.8 0 0 0-28.736 29.12c0 16.192 12.8 29.12 28.8 29.12a29.312 29.312 0 0 0 28.672-29.12z m-170.304 29.12a29.312 29.312 0 0 0 28.736-29.12 28.8 28.8 0 0 0-28.8-29.12 28.8 28.8 0 0 0-28.672 29.12c0 16.192 12.8 29.12 28.736 29.12z m204.608 175.36c0 1.6 0 3.2 0.832 4.8 3.136 13.504 9.408 35.072 9.408 35.84 0 2.368 0.768 3.968 0.768 5.568 0 1.92-0.768 3.712-2.048 5.12a7.04 7.04 0 0 1-4.992 2.048c-1.6 0-2.368-0.768-3.968-1.536l-46.336-27.136a25.344 25.344 0 0 0-11.008-3.2c-2.368 0-4.736 0-6.272 0.832-22.016 6.4-44.8 9.536-69.12 9.536-117.12 0-211.456-79.68-211.456-178.496 0-98.752 94.272-178.496 211.392-178.496 117.12 0 211.392 79.744 211.392 178.56 0 53.376-28.288 101.952-73.088 134.656a11.264 11.264 0 0 0-5.504 11.904z m-132.8-357.504c-133.568 0-243.392 92.8-243.392 210.944 0 17.92 2.56 35.328 7.296 51.84h-2.88a314.944 314.944 0 0 1-82.688-11.904c-2.368-0.832-4.736-0.832-7.04-0.832a26.368 26.368 0 0 0-13.44 3.968l-55.936 32.64c-1.6 0.768-3.2 1.6-4.736 1.6a8.768 8.768 0 0 1-8.64-8.768c0-2.368 0.768-3.968 1.6-6.4 0.768-0.768 7.872-27.008 11.776-42.88 0-1.664 0.768-4.032 0.768-5.632a18.112 18.112 0 0 0-7.04-14.272C193.92 564.352 160 506.24 160 441.856c0-118.4 114.24-213.888 254.4-213.888 120.512 0 221.76 70.336 247.168 165.248a441.152 441.152 0 0 0-8.96-0.128z m-155.968 13.76a33.28 33.28 0 0 0 32.832-33.28 32.768 32.768 0 1 0-65.664 0c0 18.56 14.464 33.28 32.832 33.28z m-168.32 0a33.28 33.28 0 0 0 0-66.56 32.832 32.832 0 0 0-32.832 33.28c0 18.56 14.528 33.28 32.832 33.28z" fill="#FFFFFF" ></path></symbol><symbol id="icon-WEIXIN02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M751.168 546.112a28.8 28.8 0 0 0-28.736-29.12 28.8 28.8 0 0 0-28.736 29.12c0 16.192 12.8 29.12 28.8 29.12a29.312 29.312 0 0 0 28.672-29.12z m-170.304 29.12a29.312 29.312 0 0 0 28.736-29.12 28.8 28.8 0 0 0-28.8-29.12 28.8 28.8 0 0 0-28.672 29.12c0 16.192 12.8 29.12 28.736 29.12z m204.608 175.36c0 1.6 0 3.2 0.832 4.8 3.136 13.504 9.408 35.072 9.408 35.84 0 2.368 0.768 3.968 0.768 5.568 0 1.92-0.768 3.712-2.048 5.12a7.04 7.04 0 0 1-4.992 2.048c-1.6 0-2.368-0.768-3.968-1.536l-46.336-27.136a25.344 25.344 0 0 0-11.008-3.2c-2.368 0-4.736 0-6.272 0.832-22.016 6.4-44.8 9.536-69.12 9.536-117.12 0-211.456-79.68-211.456-178.496 0-98.752 94.272-178.496 211.392-178.496 117.12 0 211.392 79.744 211.392 178.56 0 53.376-28.288 101.952-73.088 134.656a11.264 11.264 0 0 0-5.504 11.904z m-132.8-357.504c-133.568 0-243.392 92.8-243.392 210.944 0 17.92 2.56 35.328 7.296 51.84h-2.88a314.944 314.944 0 0 1-82.688-11.904c-2.368-0.832-4.736-0.832-7.04-0.832a26.368 26.368 0 0 0-13.44 3.968l-55.936 32.64c-1.6 0.768-3.2 1.6-4.736 1.6a8.768 8.768 0 0 1-8.64-8.768c0-2.368 0.768-3.968 1.6-6.4 0.768-0.768 7.872-27.008 11.776-42.88 0-1.664 0.768-4.032 0.768-5.632a18.112 18.112 0 0 0-7.04-14.272C193.92 564.352 160 506.24 160 441.856c0-118.4 114.24-213.888 254.4-213.888 120.512 0 221.76 70.336 247.168 165.248a441.152 441.152 0 0 0-8.96-0.128z m-155.968 13.76a33.28 33.28 0 0 0 32.832-33.28 32.768 32.768 0 1 0-65.664 0c0 18.56 14.464 33.28 32.832 33.28z m-168.32 0a33.28 33.28 0 0 0 0-66.56 32.832 32.832 0 0 0-32.832 33.28c0 18.56 14.528 33.28 32.832 33.28z" fill="#20BF64" ></path></symbol><symbol id="icon-WEIMOB03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M772.544 234.88a51.2 51.2 0 0 1 95.424 36.608l-2.112 5.632-231.616 512c-19.968 44.16-83.2 37.888-95.744-6.592l-1.408-6.016-60.16-358.08-187.84 372.608c-22.4 44.48-87.424 33.536-96-13.184l-0.832-6.016-38.528-512a51.2 51.2 0 0 1 101.312-13.632l0.832 5.952 24.64 328.256 175.232-347.52c21.376-42.24 82.56-34.88 94.912 8.704l1.28 5.888 58.24 346.24L772.48 234.88z" fill="#FFFFFF" ></path></symbol><symbol id="icon-WEIMOB02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M772.544 234.88a51.2 51.2 0 0 1 95.424 36.608l-2.112 5.632-231.616 512c-19.968 44.16-83.2 37.888-95.744-6.592l-1.408-6.016-60.16-358.08-187.84 372.608c-22.4 44.48-87.424 33.536-96-13.184l-0.832-6.016-38.528-512a51.2 51.2 0 0 1 101.312-13.632l0.832 5.952 24.64 328.256 175.232-347.52c21.376-42.24 82.56-34.88 94.912 8.704l1.28 5.888 58.24 346.24L772.48 234.88z" fill="#008DFE" ></path></symbol><symbol id="icon-WEIMOB01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#008DFE" ></path><path d="M772.544 234.88a51.2 51.2 0 0 1 95.424 36.608l-2.112 5.632-231.616 512c-19.968 44.16-83.2 37.888-95.744-6.592l-1.408-6.016-60.16-358.08-187.84 372.608c-22.4 44.48-87.424 33.536-96-13.184l-0.832-6.016-38.528-512a51.2 51.2 0 0 1 101.312-13.632l0.832 5.952 24.64 328.256 175.232-347.52c21.376-42.24 82.56-34.88 94.912 8.704l1.28 5.888 58.24 346.24L772.48 234.88z" fill="#FFFFFF" ></path></symbol><symbol id="icon-OFFLINE03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M428.224 586.88l3.072 3.84a98.048 98.048 0 0 0 152.96 0.064l4.864-5.76c16.768-17.856 44.8-18.688 62.656-1.92l9.6 9.088a121.408 121.408 0 0 0 143.36 17.28l4.8-3.2v133.632a55.296 55.296 0 0 1-49.28 54.976l-6.016 0.32H261.76a55.296 55.296 0 0 1-55.04-49.28l-0.256-6.016-0.128-134.656 5.184 3.008a123.52 123.52 0 0 0 142.72-17.536l11.712-10.688a44.288 44.288 0 0 1 62.272 6.848z m302.336-393.92c22.976 0 43.52 14.208 51.712 35.648l70.4 184.768c19.072 50.176-1.28 106.816-48 133.376a121.408 121.408 0 0 1-143.36-17.28l-9.6-8.96a44.288 44.288 0 0 0-62.592 1.792l-4.864 5.76a98.048 98.048 0 0 1-152.96 0l-3.072-3.84a44.288 44.288 0 0 0-62.272-6.912l-11.712 10.688a123.52 123.52 0 0 1-142.72 17.6 106.56 106.56 0 0 1-48.64-131.584l70.592-185.408a55.296 55.296 0 0 1 51.712-35.648z" fill="#FFFFFF" ></path></symbol><symbol id="icon-OFFLINE01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF6B17" ></path><path d="M431.04 606.656l3.136 3.84a99.84 99.84 0 0 0 155.712 0.128l4.928-5.952a45.12 45.12 0 0 1 63.808-1.856l9.728 9.216a123.648 123.648 0 0 0 145.984 17.536l4.928-3.2v136.064a56.32 56.32 0 0 1-50.176 56l-6.08 0.32H261.504a56.32 56.32 0 0 1-56-50.176l-0.32-6.144-0.128-137.088 5.312 3.072c47.296 25.728 105.664 18.56 145.28-17.92l11.968-10.88a45.12 45.12 0 0 1 63.36 7.04z m307.84-401.088a56.32 56.32 0 0 1 52.608 36.288l71.68 188.096c19.456 51.072-1.28 108.8-48.832 135.808a123.648 123.648 0 0 1-145.92-17.536l-9.792-9.216a45.12 45.12 0 0 0-63.808 1.856l-4.928 5.952a99.84 99.84 0 0 1-155.712-0.128l-3.2-3.84a45.12 45.12 0 0 0-63.36-7.04l-11.968 10.88a125.824 125.824 0 0 1-145.28 17.92 108.544 108.544 0 0 1-49.536-134.016l71.936-188.8a56.32 56.32 0 0 1 52.608-36.224z" fill="#FFFFFF" ></path></symbol><symbol id="icon-OFFLINE02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M428.224 586.88l3.072 3.84a98.048 98.048 0 0 0 152.96 0.064l4.864-5.76c16.768-17.856 44.8-18.688 62.656-1.92l9.6 9.088a121.408 121.408 0 0 0 143.36 17.28l4.8-3.2v133.632a55.296 55.296 0 0 1-49.28 54.976l-6.016 0.32H261.76a55.296 55.296 0 0 1-55.04-49.28l-0.256-6.016-0.128-134.656 5.184 3.008a123.52 123.52 0 0 0 142.72-17.536l11.712-10.688a44.288 44.288 0 0 1 62.272 6.848z m302.336-393.92c22.976 0 43.52 14.208 51.712 35.648l70.4 184.768c19.072 50.176-1.28 106.816-48 133.376a121.408 121.408 0 0 1-143.36-17.28l-9.6-8.96a44.288 44.288 0 0 0-62.592 1.792l-4.864 5.76a98.048 98.048 0 0 1-152.96 0l-3.072-3.84a44.288 44.288 0 0 0-62.272-6.912l-11.712 10.688a123.52 123.52 0 0 1-142.72 17.6 106.56 106.56 0 0 1-48.64-131.584l70.592-185.408a55.296 55.296 0 0 1 51.712-35.648z" fill="#FF6B17" ></path></symbol><symbol id="icon-REDBOOK01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF2442" ></path><path d="M396.8 602.688c3.2 3.008 7.296 4.48 11.52 4.16h72.512l-29.312 58.752H382.976a17.152 17.152 0 0 1-13.824-6.528z m253.76-225.664v59.968h-35.2v171.776h53.312v56.64H480.896l26.56-56.64h52.864V436.992h-35.84v-59.968h126.08zM264.192 358.4v262.912s-1.664 44.096-37.952 44.096H208s-35.52-3.904-35.52-48.32h36.032V358.4h55.68z m513.28 0v18.24h21.568c34.304 0 62.08 29.44 62.08 65.792v38.784h6.656c29.696 0 53.76 25.472 53.824 56.96v77.696c0 27.328-20.928 49.472-46.72 49.472h-14.08a45.44 45.44 0 0 1-33.088-14.464 50.944 50.944 0 0 1-13.696-35.008h51.84v-61.824a13.632 13.632 0 0 0-13.184-13.952H777.6v125.312H723.2V540.096h-54.528v-58.88h54.528v-45.76h-34.24v-58.816h34.112V358.4h54.4zM172.608 436.992v3.712c-0.128 25.216-2.56 177.024-39.616 193.92L102.4 575.104a429.76 429.76 0 0 0 13.184-138.176h56.96z m184.96-0.192a429.76 429.76 0 0 0 13.184 138.24l-30.528 59.328c-37.12-16.768-39.488-168.64-39.68-193.856v-3.52h56.96zM489.28 358.4l-38.4 77.504a5.824 5.824 0 0 0 0.128 5.44 5.184 5.184 0 0 0 4.48 2.624h3.52l3.328-6.976h53.376l-46.08 95.424a5.76 5.76 0 0 0 0.192 5.44 5.12 5.12 0 0 0 4.48 2.624h30.72l-24.576 47.36h-61.632c-26.368-1.216-9.92-35.52-9.92-35.52l28.352-61.184h-37.12c-26.432-1.024-9.92-35.52-9.92-35.52L435.84 358.4h53.376z m307.968 77.056h-19.584v45.76h28.096v-36.736c0-4.992-3.84-8.96-8.512-8.96z m96.576-58.432c14.848 0 26.944 12.8 26.944 28.544a29.44 29.44 0 0 1-7.872 20.288 26.24 26.24 0 0 1-19.072 8.32h-27.008v-28.608c0-15.744 12.096-28.544 27.008-28.544z" fill="#FFFFFF" ></path></symbol><symbol id="icon-REDBOOK03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM396.8 602.688l-27.648 56.32 2.88 2.88c3.136 2.496 6.976 3.84 10.944 3.712h68.48l29.376-58.752H408.256l-4.096-0.256a15.232 15.232 0 0 1-7.36-3.84z m253.76-225.664h-126.08v59.968h35.84v171.776h-52.864l-26.56 56.64h187.776v-56.64h-53.376V436.992h35.2v-59.968zM264.192 358.4H208.64v258.688h-36.032l0.448 8.32c4.16 36.544 35.072 40 35.072 40h18.176l7.232-0.64c29.312-5.44 30.72-43.52 30.72-43.52V358.4z m513.28 0h-54.4v18.24h-34.112v58.88h34.24v45.696h-54.528v58.88h54.528v125.312h54.464V540.096h75.008l3.52 0.448c5.568 1.664 9.664 7.04 9.664 13.44v61.888h-51.84l0.64 7.808a50.56 50.56 0 0 0 13.056 27.2 45.44 45.44 0 0 0 33.088 14.464h14.08l6.336-0.448c22.784-3.264 40.384-24 40.384-49.024V538.24l-0.448-7.168c-3.328-28.096-25.92-49.792-53.376-49.792h-6.592v-38.784l-0.448-7.68c-3.584-32.64-29.824-58.048-61.696-58.112h-21.504V358.4zM172.608 436.992h-56.96l0.896 19.968a429.44 429.44 0 0 1-14.08 118.208l30.528 59.392 5.312-3.52c32-28.16 34.176-166.4 34.304-190.336v-3.712z m184.96-0.192v0.192h-56.96v3.52c0.128 25.216 2.56 177.088 39.616 193.92l30.528-59.456-4.608-19.328a430.144 430.144 0 0 1-8.576-118.848zM489.28 358.4H435.84l-45.696 97.28c-2.304 5.056-14.464 34.56 9.92 35.456h37.12l-28.352 61.184c-2.24 5.12-14.464 34.432 9.92 35.456h61.632l24.64-47.296h-30.72l-1.792-0.32a5.312 5.312 0 0 1-2.752-2.304 5.76 5.76 0 0 1-0.192-5.44l46.08-95.36h-53.376l-3.328 6.912h-3.52l-1.728-0.32a5.312 5.312 0 0 1-2.752-2.304 5.824 5.824 0 0 1-0.192-5.44l38.4-77.504z m307.968 77.056c4.672 0 8.512 4.032 8.512 8.96v36.8h-28.096v-45.76z m96.576-58.432c-14.912 0-27.008 12.8-27.008 28.544v28.672h27.008l5.248-0.576a26.496 26.496 0 0 0 13.824-7.808 29.44 29.44 0 0 0 7.872-20.288l-0.448-5.12a27.456 27.456 0 0 0-26.496-23.424z" fill="#D9D9D9" ></path></symbol><symbol id="icon-REDBOOK02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M396.8 602.688c3.2 3.008 7.296 4.48 11.52 4.16h72.512l-29.312 58.752H382.976a17.152 17.152 0 0 1-13.824-6.528z m253.76-225.664v59.968h-35.2v171.776h53.312v56.64H480.896l26.56-56.64h52.864V436.992h-35.84v-59.968h126.08zM264.192 358.4v262.912s-1.664 44.096-37.952 44.096H208s-35.52-3.904-35.52-48.32h36.032V358.4h55.68z m513.28 0v18.24h21.568c34.304 0 62.08 29.44 62.08 65.792v38.784h6.656c29.696 0 53.76 25.472 53.824 56.96v77.696c0 27.328-20.928 49.472-46.72 49.472h-14.08a45.44 45.44 0 0 1-33.088-14.464 50.944 50.944 0 0 1-13.696-35.008h51.84v-61.824a13.632 13.632 0 0 0-13.184-13.952H777.6v125.312H723.2V540.096h-54.528v-58.88h54.528v-45.76h-34.24v-58.816h34.112V358.4h54.4zM172.608 436.992v3.712c-0.128 25.216-2.56 177.024-39.616 193.92L102.4 575.104a429.76 429.76 0 0 0 13.184-138.176h56.96z m184.96-0.192a429.76 429.76 0 0 0 13.184 138.24l-30.528 59.328c-37.12-16.768-39.488-168.64-39.68-193.856v-3.52h56.96zM489.28 358.4l-38.4 77.504a5.824 5.824 0 0 0 0.128 5.44 5.184 5.184 0 0 0 4.48 2.624h3.52l3.328-6.976h53.376l-46.08 95.424a5.76 5.76 0 0 0 0.192 5.44 5.12 5.12 0 0 0 4.48 2.624h30.72l-24.576 47.36h-61.632c-26.368-1.216-9.92-35.52-9.92-35.52l28.352-61.184h-37.12c-26.432-1.024-9.92-35.52-9.92-35.52L435.84 358.4h53.376z m307.968 77.056h-19.584v45.76h28.096v-36.736c0-4.992-3.84-8.96-8.512-8.96z m96.576-58.432c14.848 0 26.944 12.8 26.944 28.544a29.44 29.44 0 0 1-7.872 20.288 26.24 26.24 0 0 1-19.072 8.32h-27.008v-28.608c0-15.744 12.096-28.544 27.008-28.544z" fill="#FF2442" ></path></symbol><symbol id="icon-YOUZAN03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM296 520.256l-12.992 1.728c-28.8 4.544-57.792 8.96-86.656 13.824-20.8 3.52-32 15.168-32 33.088-0.128 86.784-0.128 173.696 0.064 260.48 0 20.48 15.68 32.512 39.68 30.016 26.368-2.752 52.48-7.04 78.784-9.6 11.136-1.088 13.376-5.12 13.248-13.888-0.256-100.736-0.192-201.6-0.128-302.4V520.32z m194.752-319.616a2408.32 2408.32 0 0 1-32.64 144.32 356.672 356.672 0 0 1-50.304 111.232c-14.72 21.504-31.808 41.536-59.328 52.288-9.408 3.712-11.712 8-11.712 16.128l0.128 153.28v164.16c6.208-0.64 10.56-0.96 14.848-1.536l426.368-54.848c37.504-4.736 60.928-29.568 56.576-61.248a53.504 53.504 0 0 1 7.168-36.608c11.776-19.52 13.44-39.808 9.6-61.568-2.432-13.44-2.816-28.8 2.56-41.216 12.8-29.184 15.232-57.344 6.848-87.936-4.224-15.552 1.088-33.664 5.248-50.048 9.728-37.12-14.144-62.08-59.2-59.776a349.44 349.44 0 0 0-15.744 1.28c-44.032 4.48-88 9.088-132.096 13.248-26.24 2.56-42.496-9.6-40.96-30.528 1.344-20.736 3.84-41.408 5.632-62.08 2.304-26.56 5.312-53.056 6.528-79.552 1.792-38.72-25.28-66.624-69.376-72.96-37.12-5.376-63.936 12.672-70.144 43.968z" fill="#D9D9D9" ></path></symbol><symbol id="icon-YOUZAN01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#ED0402" ></path><path d="M791.936 390.72c-44.8 4.48-89.6 9.216-134.528 13.44-26.752 2.56-43.264-9.792-41.728-31.104 1.408-21.12 3.968-42.176 5.76-63.232 2.368-27.008 5.44-53.952 6.656-80.96 1.792-39.424-25.728-67.84-70.656-74.304-37.76-5.44-65.024 12.864-71.424 44.8-9.536 49.216-20.544 98.24-33.152 146.944-10.24 39.872-27.52 78.08-51.264 113.28-15.04 21.824-32.384 42.24-60.416 53.12-9.6 3.84-11.968 8.256-11.968 16.512 0.32 104 0.192 208.128 0.192 312.192v11.008c6.336-0.64 10.752-0.96 15.104-1.536 144.704-18.688 289.408-37.312 434.176-55.872 38.144-4.864 62.016-30.08 57.6-62.4a54.4 54.4 0 0 1 7.296-37.248c11.968-19.84 13.632-40.512 9.728-62.72-2.496-13.632-2.88-29.248 2.688-41.92 12.992-29.696 15.488-58.368 6.912-89.536-4.288-15.872 1.088-34.24 5.312-50.944 9.92-37.824-14.4-63.232-60.288-60.864a355.84 355.84 0 0 0-16 1.28zM287.744 524.736l-13.184 1.792c-29.44 4.608-58.88 9.152-88.256 14.08-21.248 3.584-32.64 15.424-32.64 33.728-0.128 88.32-0.128 176.768 0.128 265.216 0 20.8 16 33.088 40.32 30.528 26.88-2.816 53.504-7.168 80.32-9.792 11.328-1.152 13.568-5.248 13.44-14.08-0.256-102.592-0.128-205.312-0.128-307.904v-13.568z" fill="#FFFFFF" ></path></symbol><symbol id="icon-YOUZAN02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M791.168 388.608c-44.032 4.416-88 9.024-132.096 13.184-26.24 2.56-42.496-9.6-40.96-30.528 1.344-20.736 3.84-41.408 5.632-62.08 2.304-26.56 5.312-53.056 6.528-79.552 1.792-38.72-25.28-66.624-69.376-72.96-37.12-5.376-63.936 12.672-70.144 43.968a2408.32 2408.32 0 0 1-32.64 144.32 356.672 356.672 0 0 1-50.304 111.232c-14.72 21.504-31.808 41.536-59.328 52.288-9.408 3.712-11.712 8-11.712 16.128 0.256 102.144 0.128 204.416 0.128 306.688v10.752c6.208-0.64 10.56-0.96 14.848-1.536l426.368-54.848c37.504-4.736 60.928-29.568 56.576-61.248a53.504 53.504 0 0 1 7.168-36.608c11.776-19.52 13.44-39.808 9.6-61.568-2.432-13.44-2.816-28.8 2.56-41.216 12.8-29.184 15.232-57.344 6.848-87.936-4.224-15.552 1.088-33.664 5.248-50.048 9.728-37.12-14.144-62.08-59.2-59.776a349.44 349.44 0 0 0-15.744 1.28zM296 520.256l-12.992 1.728c-28.8 4.544-57.792 8.96-86.656 13.824-20.8 3.52-32 15.168-32 33.088-0.128 86.784-0.128 173.696 0.064 260.48 0 20.48 15.68 32.512 39.68 30.016 26.368-2.752 52.48-7.04 78.784-9.6 11.136-1.088 13.376-5.12 13.248-13.888-0.256-100.736-0.192-201.6-0.128-302.4V520.32z" fill="#ED0402" ></path></symbol><symbol id="icon-gongzhonghao" viewBox="0 0 1024 1024"><path d="M508.16 76.8c-69.76 0-176.128 23.424-255.68 117.76-53.12 62.976-71.04 136.704-59.84 210.176 7.68 50.56 36.416 117.12 77.44 159.296 15.488-106.88 72.896-190.848 148.096-252.608 135.872-101.76 280.896-96 386.368-61.12-46.4-93.44-163.648-173.44-296.448-173.504z" fill="#07C160" ></path><path d="M554.048 322.368l12.544 3.84c192 64.192 295.808 268.48 231.808 456.32a353.28 353.28 0 0 1-78.72 129.792c41.408-11.264 83.776-27.328 120.128-54.72 146.24-110.528 175.04-314.24 70.72-446.976-83.136-105.792-226.816-135.424-356.48-88.256z" fill="#07C160" ></path><path d="M423.104 739.264a42.368 42.368 0 0 0-10.24-0.896 44.352 44.352 0 0 0-22.016 7.296l-89.728 56.384a16 16 0 0 1-7.936 2.944 13.952 13.952 0 0 1-14.656-13.248c-0.128-3.456 1.088-6.912 1.856-10.24l15.808-70.592a27.648 27.648 0 0 0-11.392-30.72c-94.464-63.232-159.36-162.56-173.568-264.64-23.744 36.672-36.48 65.792-48.832 108.16-46.208 158.464 54.912 348.16 219.968 401.28 189.76 61.184 370.88-7.424 433.408-165.76 7.616-19.2 15.936-51.84 17.664-78.912-66.496 47.936-136.832 68.16-225.664 68.16-29.184 0-57.472-3.2-84.672-9.216z" fill="#07C160" ></path></symbol><symbol id="icon-xiaochengxu" viewBox="0 0 1024 1024"><path d="M784.448 472.896c-20.416 33.536-54.4 59.2-95.04 71.04l-3.072 0.896a70.208 70.208 0 0 1-19.136 2.88c-28.16 0-44.16-19.072-35.584-42.56 6.272-17.152 22.72-31.68 42.752-38.4 31.04-11.328 52.736-37.12 52.736-67.2 0-40.512-39.424-73.344-88-73.344-48.64 0-88 32.832-88 73.344v224.896c0 54.08-31.36 101.504-78.208 128.32-25.6 14.656-55.68 23.232-88 23.232-91.648 0-166.208-67.968-166.208-151.552 0-26.624 7.552-51.584 20.8-73.344 20.544-33.664 54.72-59.456 95.68-71.168h0.064c6.912-2.176 14.08-3.392 21.12-3.392 28.352 0 44.288 19.136 35.712 42.752-5.76 16-21.504 29.76-39.744 37.12a103.808 103.808 0 0 0-6.4 2.368c-29.056 11.968-49.024 36.864-49.024 65.664 0 40.512 39.36 73.344 88 73.344s88-32.832 88-73.344V399.552c0-54.08 31.36-101.504 78.208-128.32 25.6-14.656 55.68-23.232 88-23.232 91.648 0 166.208 67.968 166.208 151.552 0 26.56-7.616 51.584-20.864 73.344M512 51.2a460.8 460.8 0 1 0 0 921.6A460.8 460.8 0 0 0 512 51.2" fill="#07C160" ></path></symbol><symbol id="icon-qiyeweixin" viewBox="0 0 1024 1024"><path d="M664.96 738.944a12.672 12.672 0 0 0 1.728 19.456c25.024 23.424 42.048 54.08 48.64 87.552a53.44 53.44 0 0 0 90.944 34.432 53.312 53.312 0 0 0-28.8-90.24l-3.264-0.512a163.328 163.328 0 0 1-91.2-50.688 12.608 12.608 0 0 0-18.048 0z" fill="#FB6500" ></path><path d="M881.728 654.656a53.12 53.12 0 0 0-15.36 32.128 163.968 163.968 0 0 1-50.752 91.2 12.8 12.8 0 0 0 17.024 18.944l0.96-0.896a163.584 163.584 0 0 1 89.088-50.496 52.8 52.8 0 0 0 34.496-15.488 53.248 53.248 0 1 0-75.52-75.392z" fill="#0082EF" ></path><path d="M731.264 503.936a53.312 53.312 0 0 0 28.928 90.24l3.2 0.448c35.2 6.528 67.328 24.384 91.264 50.752a12.8 12.8 0 1 0 16.256-19.52 163.904 163.904 0 0 1-48.768-87.552 53.12 53.12 0 0 0-53.184-50.048 53.248 53.248 0 0 0-37.696 15.68z" fill="#2DBC00" ></path><path d="M704.96 587.392L704 588.288a16 16 0 0 0-1.536 1.792l-3.52 3.712a163.84 163.84 0 0 1-84.032 44.992 53.248 53.248 0 1 0 55.232 65.152l0.64-3.2 0.384-3.2c6.528-35.008 24.32-67.072 50.88-91.2a12.736 12.736 0 0 0 0-18.048 12.864 12.864 0 0 0-17.088-0.896z" fill="#FFCC00" ></path><path d="M430.72 128c-15.488 0-31.616 0.896-47.808 2.624-94.848 10.368-181.12 50.88-242.752 114.176a323.52 323.52 0 0 0-58.88 82.88C61.568 367.616 51.2 411.52 51.2 456c0 57.216 17.472 113.792 50.432 163.392 17.28 25.856 45.184 57.728 69.44 79.296l1.344 1.152v1.856l-11.904 92.16-0.896 2.88a14.4 14.4 0 0 0-0.32 2.752l-0.256 1.664-0.128 1.088c0 0.512 0.128 0.96 0.192 1.408l0.128 1.28a25.408 25.408 0 0 0 37.888 19.456l1.984-1.216 111.36-55.808 1.472 0.384c22.208 6.4 45.44 10.88 70.976 13.632 62.08 6.912 124.928 0.32 184.128-19.328a57.28 57.28 0 0 1-29.632-49.92 363.712 363.712 0 0 1-63.872 13.248c-27.776 3.136-55.872 3.2-83.648 0.192l-5.312-0.64-3.136-0.448a361.984 361.984 0 0 1-54.848-11.52 33.6 33.6 0 0 0-26.24 2.752 22.848 22.848 0 0 0-2.112 1.024l-70.272 41.408c-7.168 4.16-13.568-0.384-13.568-6.848l10.624-41.6 5.504-20.864a24.32 24.32 0 0 0-8.704-27.2 312.768 312.768 0 0 1-28.544-24 280.064 280.064 0 0 1-40.448-47.808 239.488 239.488 0 0 1-41.152-132.736c0-36.032 8.32-71.04 24.512-104.128a266.88 266.88 0 0 1 48.512-68.224c51.84-53.248 124.8-87.36 205.184-96.128A369.152 369.152 0 0 1 473.6 188.8c80 9.088 152.512 43.456 203.968 96.64 19.648 20.16 35.904 43.2 48.256 68.352 16.448 33.472 24.704 70.272 24 107.456a57.088 57.088 0 0 1 60.224 8.192 288.704 288.704 0 0 0-29.312-140.8 323.2 323.2 0 0 0-58.496-83.008c-61.184-63.232-146.944-104-241.408-114.752A444.16 444.16 0 0 0 430.784 128" fill="#0082F0" ></path></symbol><symbol id="icon-shipinhao" viewBox="0 0 1024 1024"><path d="M393.92 704.384c-44.16 61.888-74.688 85.568-92.224 94.592a17.792 17.792 0 0 1-22.784-5.696c-19.84-28.928-58.048-105.024-93.248-240-37.568-143.872-50.112-276.288-30.528-321.92a13.44 13.44 0 0 1 18.944-6.144c26.496 15.04 92.48 69.824 217.152 269.376 28.096 44.864 52.288 84.096 66.368 107.072-13.184 24.192-36.032 64-63.68 102.72z m352.512 87.04a20.992 20.992 0 0 1-28.16 5.952c-37.312-22.4-98.688-95.36-152-195.456 14.08-22.976 38.336-62.272 66.496-107.328 125.056-200.128 191.104-254.72 217.408-269.504a12.992 12.992 0 0 1 18.624 6.08c19.648 45.824 7.104 178.24-30.464 322.112-34.56 132.288-71.872 208.064-91.904 238.208zM871.04 128.32c-80.96-5.76-176.32 89.728-319.68 319.104l-39.424 63.36-39.424-63.36C329.216 217.92 233.408 122.496 152.832 128.256 131.2 129.856 91.264 140.8 67.392 196.416 34.432 273.28 59.2 423.36 76.8 506.048c26.752 124.8 69.76 249.152 109.632 316.8 26.496 44.928 52.992 67.84 83.392 72.128 4.864 0.64 9.856 1.024 14.72 1.024C374.4 896 459.904 783.04 512 696.96 564.096 783.04 649.6 896 739.392 896c4.864 0 9.856-0.32 14.72-1.024 30.4-4.288 56.896-27.2 83.392-72.192C877.44 755.2 920.384 630.848 947.2 505.984c17.664-82.624 42.432-232.768 9.472-309.568C932.736 140.8 892.864 129.92 871.104 128.256z" fill="#FA9D3B" ></path></symbol><symbol id="icon-DD01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E6252E" ></path><path d="M348.8 224c21.568 0 39.04 18.496 39.04 41.216v78.912c46.208 7.488 88.32 28.416 121.536 60.672 43.776 42.624 67.904 101.504 67.904 165.76 0 64.192-24.128 123.008-67.904 165.632a228.608 228.608 0 0 1-160.64 63.808 216.576 216.576 0 0 1-101.504-25.024 231.872 231.872 0 0 1-78.08-67.008 38.592 38.592 0 0 1 5.824-52.224 34.112 34.112 0 0 1 49.6 6.272 154.24 154.24 0 0 0 124.16 63.552c43.52 0 83.52-15.616 112.768-44.16 14.272-13.696 25.344-30.08 33.088-48.448 8.064-19.2 12.16-40.256 12.16-62.464a160.64 160.64 0 0 0-12.16-62.464 145.216 145.216 0 0 0-33.088-48.512c-29.248-28.416-69.248-44.16-112.704-44.16-48.768 0-94.08 23.296-124.16 63.616a34.112 34.112 0 0 1-49.664 6.272 38.528 38.528 0 0 1-5.824-52.224c20.864-28.096 47.872-51.2 78.08-66.944 19.904-10.432 40.832-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m318.72 0c21.568 0 39.04 18.496 39.04 41.216v78.912a224.768 224.768 0 0 1 121.472 60.672C871.936 447.36 896 506.24 896 570.56c0 64.192-24.064 123.008-67.968 165.632a228.48 228.48 0 0 1-160.512 63.808c-43.328 0-85.44-12.8-121.792-37.056l-4.608-3.072a260.288 260.288 0 0 0 42.496-59.648c25.152 16.64 54.08 25.344 83.84 25.344 43.52 0 83.52-15.616 112.768-44.16 14.208-13.696 25.344-30.08 33.024-48.448 8.128-19.2 12.224-40.256 12.224-62.464 0-22.144-4.096-43.2-12.224-62.464a145.728 145.728 0 0 0-33.024-48.512c-29.248-28.416-69.312-44.16-112.704-44.16-30.272 0-59.136 8.96-83.84 25.344a259.392 259.392 0 0 0-42.56-59.52c8-5.568 16.32-10.688 24.832-15.104 19.84-10.432 40.768-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m54.208 307.2c21.632 0 39.04 18.496 39.04 41.216 0 22.72-17.408 41.152-39.04 41.152h-108.16l-2.176-0.192a258.432 258.432 0 0 0 1.408-82.048l3.072-0.128z m-318.72 1.152c20.992 0 38.016 17.92 38.016 40.064s-17.024 40.064-38.016 40.064H165.952C144.96 612.48 128 594.56 128 572.416c0-22.208 16.96-40.064 37.952-40.064z m107.392-284.8c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56-26.432 0-48-22.592-48-50.56 0-27.968 21.568-50.624 48-50.624z m-313.6 0c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56s-47.936-22.592-47.936-50.56c0-27.968 21.44-50.624 47.936-50.624z m619.264 0c26.56 0 48.064 22.72 48.064 50.688 0 27.968-21.504 50.56-48 50.56s-48-22.592-48-50.56c0-27.968 21.504-50.624 48-50.624z" fill="#FFFFFF" ></path></symbol><symbol id="icon-DD02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M348.8 224c21.568 0 39.04 18.496 39.04 41.216v78.912c46.208 7.488 88.32 28.416 121.536 60.672 43.776 42.624 67.904 101.504 67.904 165.76 0 64.192-24.128 123.008-67.904 165.632a228.608 228.608 0 0 1-160.64 63.808 216.576 216.576 0 0 1-101.504-25.024 231.872 231.872 0 0 1-78.08-67.008 38.592 38.592 0 0 1 5.824-52.224 34.112 34.112 0 0 1 49.6 6.272 154.24 154.24 0 0 0 124.16 63.552c43.52 0 83.52-15.616 112.768-44.16 14.272-13.696 25.344-30.08 33.088-48.448 8.064-19.2 12.16-40.256 12.16-62.464a160.64 160.64 0 0 0-12.16-62.464 145.216 145.216 0 0 0-33.088-48.512c-29.248-28.416-69.248-44.16-112.704-44.16-48.768 0-94.08 23.296-124.16 63.616a34.112 34.112 0 0 1-49.664 6.272 38.528 38.528 0 0 1-5.824-52.224c20.864-28.096 47.872-51.2 78.08-66.944 19.904-10.432 40.832-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m318.72 0c21.568 0 39.04 18.496 39.04 41.216v78.912a224.768 224.768 0 0 1 121.472 60.672C871.936 447.36 896 506.24 896 570.56c0 64.192-24.064 123.008-67.968 165.632a228.48 228.48 0 0 1-160.512 63.808c-43.328 0-85.44-12.8-121.792-37.056l-4.608-3.072a260.288 260.288 0 0 0 42.496-59.648c25.152 16.64 54.08 25.344 83.84 25.344 43.52 0 83.52-15.616 112.768-44.16 14.208-13.696 25.344-30.08 33.024-48.448 8.128-19.2 12.224-40.256 12.224-62.464 0-22.144-4.096-43.2-12.224-62.464a145.728 145.728 0 0 0-33.024-48.512c-29.248-28.416-69.312-44.16-112.704-44.16-30.272 0-59.136 8.96-83.84 25.344a259.392 259.392 0 0 0-42.56-59.52c8-5.568 16.32-10.688 24.832-15.104 19.84-10.432 40.768-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m54.208 307.2c21.632 0 39.04 18.496 39.04 41.216 0 22.72-17.408 41.152-39.04 41.152h-108.16l-2.176-0.192a258.432 258.432 0 0 0 1.408-82.048l3.072-0.128z m-318.72 1.152c20.992 0 38.016 17.92 38.016 40.064s-17.024 40.064-38.016 40.064H165.952C144.96 612.48 128 594.56 128 572.416c0-22.208 16.96-40.064 37.952-40.064z m107.392-284.8c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56-26.432 0-48-22.592-48-50.56 0-27.968 21.568-50.624 48-50.624z m-313.6 0c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56s-47.936-22.592-47.936-50.56c0-27.968 21.44-50.624 47.936-50.624z m619.264 0c26.56 0 48.064 22.72 48.064 50.688 0 27.968-21.504 50.56-48 50.56s-48-22.592-48-50.56c0-27.968 21.504-50.624 48-50.624z" fill="#E6252E" ></path></symbol><symbol id="icon-DD03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#D9D9D9" ></path><path d="M348.8 224c21.568 0 39.04 18.496 39.04 41.216v78.912c46.208 7.488 88.32 28.416 121.536 60.672 43.776 42.624 67.904 101.504 67.904 165.76 0 64.192-24.128 123.008-67.904 165.632a228.608 228.608 0 0 1-160.64 63.808 216.576 216.576 0 0 1-101.504-25.024 231.872 231.872 0 0 1-78.08-67.008 38.592 38.592 0 0 1 5.824-52.224 34.112 34.112 0 0 1 49.6 6.272 154.24 154.24 0 0 0 124.16 63.552c43.52 0 83.52-15.616 112.768-44.16 14.272-13.696 25.344-30.08 33.088-48.448 8.064-19.2 12.16-40.256 12.16-62.464a160.64 160.64 0 0 0-12.16-62.464 145.216 145.216 0 0 0-33.088-48.512c-29.248-28.416-69.248-44.16-112.704-44.16-48.768 0-94.08 23.296-124.16 63.616a34.112 34.112 0 0 1-49.664 6.272 38.528 38.528 0 0 1-5.824-52.224c20.864-28.096 47.872-51.2 78.08-66.944 19.904-10.432 40.832-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m318.72 0c21.568 0 39.04 18.496 39.04 41.216v78.912a224.768 224.768 0 0 1 121.472 60.672C871.936 447.36 896 506.24 896 570.56c0 64.192-24.064 123.008-67.968 165.632a228.48 228.48 0 0 1-160.512 63.808c-43.328 0-85.44-12.8-121.792-37.056l-4.608-3.072a260.288 260.288 0 0 0 42.496-59.648c25.152 16.64 54.08 25.344 83.84 25.344 43.52 0 83.52-15.616 112.768-44.16 14.208-13.696 25.344-30.08 33.024-48.448 8.128-19.2 12.224-40.256 12.224-62.464 0-22.144-4.096-43.2-12.224-62.464a145.728 145.728 0 0 0-33.024-48.512c-29.248-28.416-69.312-44.16-112.704-44.16-30.272 0-59.136 8.96-83.84 25.344a259.392 259.392 0 0 0-42.56-59.52c8-5.568 16.32-10.688 24.832-15.104 19.84-10.432 40.768-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m54.208 307.2c21.632 0 39.04 18.496 39.04 41.216 0 22.72-17.408 41.152-39.04 41.152h-108.16l-2.176-0.192a258.432 258.432 0 0 0 1.408-82.048l3.072-0.128z m-318.72 1.152c20.992 0 38.016 17.92 38.016 40.064s-17.024 40.064-38.016 40.064H165.952C144.96 612.48 128 594.56 128 572.416c0-22.208 16.96-40.064 37.952-40.064z m107.392-284.8c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56-26.432 0-48-22.592-48-50.56 0-27.968 21.568-50.624 48-50.624z m-313.6 0c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56s-47.936-22.592-47.936-50.56c0-27.968 21.44-50.624 47.936-50.624z m619.264 0c26.56 0 48.064 22.72 48.064 50.688 0 27.968-21.504 50.56-48 50.56s-48-22.592-48-50.56c0-27.968 21.504-50.624 48-50.624z" fill="#FFFFFF" ></path></symbol><symbol id="icon-pinduoduo01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E6201A" ></path><path d="M323.328 712.896L505.856 832V592.768zM518.144 832l182.528-119.104-182.528-120.128zM128 565.248l182.528-120.128L128 325.12zM128 579.2l182.528 119.104V459.072zM310.528 192L128 311.104l182.528 120.128zM322.752 459.072L505.28 579.2 322.752 698.24zM322.752 192v239.232l182.528-120.128zM701.248 459.072L518.72 579.2l182.528 119.104zM701.248 192L518.72 311.104l182.528 120.128zM713.472 445.12L896 565.248V325.12zM713.472 698.304L896 579.2l-182.528-120.128zM713.472 192v239.232L896 311.104z" fill="#FFFFFF" ></path><path d="M171.776 588.8s0.064 10.048 9.984 10.24c9.92 0.256 88.832-6.784 96.128-7.232 7.296-0.512 14.592-2.432 14.976-4.48 0.384-1.92-0.576-2.432-3.904-2.24-3.392 0.256-80 6.592-85.376 7.552-5.44 0.896-19.84 2.112-23.68 0.704-3.776-1.344-8.128-4.544-8.128-4.544" fill="#E6201A" ></path><path d="M284.608 551.296c-8.576-11.2-13.184-3.328-15.104 4.48-1.92 7.872-10.624 4.032-12.928-4.672-2.368-8.64-9.28-9.088-19.968-4.16-10.624 4.928-48.96 26.432-59.008 34.112-2.688 2.048-3.84 4.736-1.6 8.192 2.304 3.456 9.28 2.432 21.824 1.152l35.072-3.264a24.32 24.32 0 0 0-8.064-16.064 2.048 2.048 0 0 1-0.32-2.88 2.176 2.176 0 0 1 3.008-0.32 28.224 28.224 0 0 1 9.6 18.816l4.48-0.384a23.168 23.168 0 0 0-7.616-15.552 2.048 2.048 0 0 1-0.192-2.88 2.176 2.176 0 0 1 3.008-0.192 27.072 27.072 0 0 1 8.96 18.24l5.056-0.512a21.568 21.568 0 0 0-7.232-13.376 2.048 2.048 0 0 1-0.256-2.88 2.176 2.176 0 0 1 2.944-0.256 25.6 25.6 0 0 1 8.768 16.128l5.12-0.448c-0.704-6.848-7.36-13.568-7.424-13.632a2.048 2.048 0 0 1 0.064-2.944 2.176 2.176 0 0 1 3.008 0c0.32 0.384 7.68 7.872 8.512 16.128a253.44 253.44 0 0 0 4.608-0.448c4.48-0.576 23.552-2.24 23.552-2.24s0.704-18.944-7.872-30.144M384.256 576.768c-2.56 3.84-2.432 8.448 0.32 10.304 2.752 1.856 4.48-1.536 7.04-5.44 2.56-3.84 4.992-6.656 2.24-8.512-2.752-1.856-7.04-0.192-9.6 3.648m28.672 8.32a16.896 16.896 0 1 1-33.792 0 16.896 16.896 0 0 1 33.792 0M374.848 553.856a7.424 7.424 0 0 0-7.232-6.4 7.424 7.424 0 0 0-7.232 6.4h14.464z" fill="#E6201A" ></path><path d="M396.032 608.512a24.32 24.32 0 0 1-24.704-23.872 24.32 24.32 0 0 1 24.704-23.936 24.32 24.32 0 0 1 24.64 23.936 24.32 24.32 0 0 1-24.64 23.872m22.592-51.968H416.64l-5.76-8.832h-27.392l-5.76 8.832H360.32a9.664 9.664 0 0 0-9.856 9.6v36.992c0 5.248 4.416 9.536 9.856 9.536h58.24a9.664 9.664 0 0 0 9.92-9.6v-36.992a9.664 9.664 0 0 0-9.856-9.536M151.424 464.192c1.088 12.032 9.856 12.288 9.856 12.288h57.152s8.768-0.256 9.856-12.288h-76.8zM160.448 425.408h-0.256a1.6 1.6 0 0 0-1.024 0.576l-3.008 3.776c-0.512 0.64-0.384 1.472 0.32 1.92l0.256 0.128a1.728 1.728 0 0 0 1.216 0.256 1.6 1.6 0 0 0 0.96-0.576l3.072-3.776a1.28 1.28 0 0 0 0.256-1.024 1.344 1.344 0 0 0-0.64-0.896l-0.256-0.128a1.664 1.664 0 0 0-0.896-0.256m-3.008 7.936a2.624 2.624 0 0 1-1.536-0.512l-0.192-0.128a2.624 2.624 0 0 1-0.64-3.712l2.688-3.776a2.624 2.624 0 0 1 3.648-0.64l0.256 0.192a2.624 2.624 0 0 1 0.64 3.712l-2.688 3.776a2.624 2.624 0 0 1-2.176 1.088" fill="#E6201A" ></path><path d="M161.6 427.008l-0.192-0.128c-0.896-0.512-1.088-1.536-0.448-2.24l2.432-3.072a2.048 2.048 0 0 1 2.56-0.384l0.256 0.192c0.832 0.512 1.024 1.472 0.448 2.24l-2.496 3.008a2.048 2.048 0 0 1-2.56 0.384M214.016 416.128a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192c-0.704 0.384-0.896 1.28-0.384 1.92l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.448 0 0.832-0.064 1.152-0.32l0.256-0.128c0.704-0.448 0.896-1.28 0.384-1.92l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.256-0.128a2.624 2.624 0 0 1 3.648 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448M220.608 425.088a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192a1.344 1.344 0 0 0-0.64 0.896 1.28 1.28 0 0 0 0.256 1.024l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.384 0 0.832-0.064 1.152-0.32l0.256-0.128a1.344 1.344 0 0 0 0.64-0.896 1.28 1.28 0 0 0-0.256-1.024l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.192-0.128a2.624 2.624 0 0 1 3.712 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448" fill="#E6201A" ></path><path d="M214.4 417.728l0.256-0.128c0.832-0.512 1.024-1.536 0.448-2.24l-2.56-3.008a2.048 2.048 0 0 0-2.56-0.384l-0.192 0.128c-0.832 0.512-1.024 1.536-0.448 2.24l2.496 3.008c0.64 0.768 1.728 0.896 2.56 0.384M194.048 395.584c0 1.92-1.536 3.392-3.456 3.392a3.392 3.392 0 0 1-3.52-3.392c0-1.856 1.6-3.328 3.52-3.328s3.456 1.472 3.456 3.328M220.672 428.8l-3.712-4.864 2.752-1.536 3.648 4.928zM222.848 438.4h6.4v-6.4h-6.4z" fill="#E6201A" ></path><path d="M164.224 421.824l-1.088-0.64 20.096-29.312c0.128-0.128 2.88-3.968 6.4-3.968 3.584 0 6.336 3.84 6.4 3.968l15.36 21.12-1.024 0.768-15.36-21.12c0-0.064-2.496-3.52-5.376-3.52-2.88 0-5.312 3.456-5.376 3.456l-20.032 29.248zM228.224 458.752c-1.472-17.472-3.584-22.72-3.584-22.72H159.616l-5.824 5.12a159.04 159.04 0 0 0-2.432 20.352h76.992c0-0.832 0-1.792-0.128-2.752M159.168 435.84l-6.656 5.76-1.92-2.112 6.656-5.76zM246.528 308.16l-9.92 1.6 7.04 6.912-1.472 9.6 8.96-4.352 8.96 4.352-1.536-9.6 7.04-6.912-9.856-1.6-4.608-8.64-4.608 8.64z m59.456-5.504l-14.4 18.496-13.504-7.424v45.44h-53.888v-45.44l-13.44 7.424-14.464-18.496 33.6-24.96h5.696c1.728 5.312 8.064 9.216 15.552 9.216 7.488 0 13.824-3.904 15.616-9.216h5.632l33.6 24.96zM413.568 330.24c-6.336 3.2-20.992 2.88-26.752 2.56a52.416 52.416 0 0 0-4.8 0c-5.76 0.32-20.416 0.64-26.688-2.56-4.224-2.176-9.728 3.456-5.184 6.016 5.952 3.264 30.08 10.88 32.32 29.824h3.968c2.24-18.944 26.304-26.56 32.32-29.824 4.48-2.56-1.024-8.192-5.184-6.08M384.448 315.136c-10.24 0-19.712-18.56-16.256-27.968 3.456-9.344 16.256-17.408 16.256-17.408s12.8 8.064 16.192 17.408c3.52 9.408-5.952 27.968-16.192 27.968m-10.432-53.632c2.112-3.648 7.616 5.568 7.616 5.568s-9.728-1.92-7.68-5.568m20.928 0c2.112 3.648-7.68 5.568-7.68 5.568s5.504-9.216 7.68-5.568m7.488 23.296s-9.472-13.632-16.256-16.896c0 0 12.16 0.576 12.352-6.144 0.192-6.72-11.136-4.992-14.08 4.16-2.816-9.152-14.144-10.88-14.016-4.16 0.192 6.72 12.416 6.144 12.416 6.144-6.848 3.2-16.256 16.896-16.256 16.896-16.128 10.56-27.648 28.416-13.184 37.056 14.4 8.64 25.408-3.2 25.408-3.2h11.328s11.008 11.84 25.472 3.2c14.464-8.64 2.88-26.496-13.184-37.12M638.272 327.68c2.432 6.848 13.056 11.968 25.792 11.968 12.736 0 23.36-5.12 25.792-12.032h-51.584z" fill="#E6201A" ></path><path d="M667.648 359.488c-2.048-1.088-2.304-5.568-2.304-11.52 0-5.888 1.664-9.472 1.664-9.472l-2.944-0.384-2.944 0.384s1.664 3.584 1.664 9.536c0 5.888-0.256 10.368-2.304 11.456-3.584 1.92-9.984 2.112-9.984 2.112v0.512h27.136V361.6s-6.4-0.128-9.984-2.112M636.032 328.384l-1.088-3.072h11.904a67.2 67.2 0 0 0 0.128-7.68c-1.088-6.08-15.36-20.672-15.36-27.52v-21.12h0.256A1.6 1.6 0 0 0 633.6 267.52v-4.224a1.6 1.6 0 0 0-1.664-1.536h-8.192a1.6 1.6 0 0 0-1.6 1.536v4.224c0 0.832 0.704 1.536 1.6 1.536h0.32v21.12c0 6.848-14.272 21.44-15.36 27.52-0.576 3.2 2.24 44.48 2.24 44.48h33.792l1.536-23.808c-5.12-2.432-8.768-5.824-10.24-9.92m-19.584-6.848c-0.448 5.248 1.728 36.288 1.728 36.288h-2.368s-2.56-31.232-2.56-37.632c0.064-6.4 6.4-11.904 6.4-11.904s-2.56 5.952-3.2 13.248M660.864 317.824a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M665.92 304.32a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M673.088 320a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M675.008 309.76a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M684.736 316.032a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M450.24 744.32h-5.632a3.712 3.712 0 0 1-3.84-3.584v-8.64h-16.192v8.64a3.712 3.712 0 0 1-3.776 3.648h-5.696c-1.664 0-3.2 1.28-3.264 2.88-0.128 1.728 1.28 3.2 3.072 3.2h35.52c1.792 0 3.2-1.472 3.136-3.2-0.064-1.664-1.6-2.88-3.328-2.88M471.424 678.144h-77.44a2.944 2.944 0 0 0-2.944 2.816v45.44c0 1.536 1.28 2.816 2.944 2.816H467.84v-1.6H393.984a1.28 1.28 0 0 1-1.28-1.28v-45.376a1.28 1.28 0 0 1 1.28-1.152h77.44c0.64 0 1.216 0.512 1.216 1.152v32.256h1.728v-32.256a2.88 2.88 0 0 0-2.944-2.816" fill="#E6201A" ></path><path d="M470.592 683.328v29.888h-0.448a2.24 2.24 0 0 0-2.304 2.24v10.176H396.416a1.6 1.6 0 0 1-1.664-1.6v-40.704c0-0.896 0.768-1.6 1.664-1.6h72.576c0.896 0 1.6 0.704 1.6 1.6" fill="#E6201A" ></path><path d="M493.44 754.688c0 1.28-0.96 2.24-2.24 2.24h-21.12a2.304 2.304 0 0 1-2.24-2.24v-39.168c0-1.28 1.024-2.24 2.304-2.24h21.056c1.28 0 2.304 1.024 2.304 2.24v39.168z m-2.24-42.24h-21.12a3.136 3.136 0 0 0-3.072 3.072v39.168c0 1.728 1.408 3.136 3.136 3.136h21.056a3.136 3.136 0 0 0 3.136-3.2v-39.04a3.136 3.136 0 0 0-3.2-3.2z" fill="#E6201A" ></path><path d="M484.8 722.368h-8.256c-0.512 0-0.896-1.472-0.896-3.2 0-1.792 0.384-3.2 0.896-3.2h8.256c0.512 0 0.896 1.408 0.896 3.2 0 1.728-0.384 3.2-0.896 3.2" fill="#E6201A" ></path><path d="M470.272 748.736h20.8v-28.416h-20.8zM485.312 753.536a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M607.744 706.24l7.488 17.152h1.792l-7.872-17.152zM592.448 723.392h2.432l-4.416-17.152h-1.92zM573.312 723.392h5.248l1.152-17.152h-4.224zM549.376 723.392h1.728l5.12-17.152H554.88zM545.216 706.24H544.64l-4.352 9.408h0.64l-3.584 7.68h1.792l3.392-7.68h0.64l3.968-9.408h-0.512zM550.016 706.24h-0.512l-3.712 9.408h0.576l-3.008 7.68h1.792l2.816-7.68h0.64l3.328-9.408h-0.512zM559.744 706.24h-0.576l-2.432 9.408h0.64l-2.048 7.68h1.856l1.792-7.68h0.64l2.112-9.408H561.28zM570.496 706.24H569.6l-1.856 9.408h1.024l-1.408 7.68h2.88l1.216-7.68h0.96l1.28-9.408h-0.832z" fill="#E6201A" ></path><path d="M579.456 706.24h-1.088l0.32 9.408h1.28l0.448 7.68h3.84l-0.832-7.68h1.28l-1.024-9.408h-1.152z" fill="#E6201A" ></path><path d="M584 706.24h-0.832l1.28 9.408h1.024l1.216 7.68h2.88l-1.472-7.68h0.96l-1.856-9.408h-0.896zM593.28 706.24h-0.512l2.176 9.408h0.64l1.792 7.68h1.792l-1.984-7.68h0.64l-2.56-9.408h-0.512zM598.144 706.24h-0.576l2.752 9.408h0.64l2.304 7.68h1.792l-2.56-7.68h0.64l-3.072-9.408h-0.512zM602.88 706.24h-0.512l3.456 9.408h0.64l2.816 7.68h1.728l-3.008-7.68h0.64l-3.776-9.408h-0.512zM565.248 706.24h-0.64l-2.24 9.408h0.768l-1.792 7.68h2.24l1.6-7.68h0.704l1.856-9.408h-0.64z" fill="#E6201A" ></path><path d="M528.064 727.04h98.24v-6.4H528.064z" fill="#E6201A" ></path><path d="M528.064 731.584h98.24v-6.4H528.064zM534.144 710.272h86.144v-16.768H534.144zM620.288 690.816H534.144s1.92-20.928 17.408-22.208c15.552-1.28 20.8 2.944 29.44 8.64 8.704 5.632 16.064 4.48 22.4 4.8 4.992 0.256 15.616 1.984 16.896 8.768" fill="#E6201A" ></path><path d="M613.44 709.568H540.928l-5.504 11.52h83.584l-5.568-11.52z m12.864 11.52H528.064l7.616-13.44h83.072l7.552 13.44zM537.92 748.16H534.4v-18.88h7.68zM616.512 748.16h3.456v-18.88h-7.68zM643.2 552a29.12 29.12 0 1 0 0 58.24 29.12 29.12 0 0 0 0-58.24m21.568 29.12a21.632 21.632 0 1 1-43.2 0 21.632 21.632 0 0 1 43.2 0" fill="#E6201A" ></path><path d="M623.36 560.896l4.608-14.208h2.624v11.008l-4.928 4.736zM662.976 560.896l-4.608-14.208h-2.624v11.008l4.928 4.736zM623.36 599.552l4.608 14.272h2.624V602.88l-4.928-4.8zM662.976 599.552l-4.608 14.272h-2.624V602.88l4.928-4.8zM680.96 575.808v8.896c0 0.896-0.896 1.664-2.048 1.664h-4.352a24.768 24.768 0 0 0 0-12.224h4.352c1.152 0 2.048 0.768 2.048 1.664M653.888 549.44h-21.376v-10.112a3.84 3.84 0 0 1 3.84-3.84h13.632a3.84 3.84 0 0 1 3.84 3.84v10.112zM653.888 611.072h-21.376v10.112a3.84 3.84 0 0 0 3.84 3.776h13.632a3.84 3.84 0 0 0 3.84-3.776v-10.112zM646.016 583.872a0.832 0.832 0 0 1-0.64-0.256l-13.248-15.552a0.832 0.832 0 0 1 0.128-1.152 0.896 0.896 0 0 1 1.152 0.128l13.248 15.488a0.832 0.832 0 0 1-0.128 1.152 0.896 0.896 0 0 1-0.512 0.192" fill="#E6201A" ></path><path d="M641.344 583.936a1.536 1.536 0 0 1-1.024-0.384 1.408 1.408 0 0 1-0.064-2.048l9.536-10.112a1.536 1.536 0 0 1 2.112-0.064c0.64 0.512 0.64 1.472 0.064 2.048l-9.536 10.112a1.536 1.536 0 0 1-1.088 0.448M746.944 557.76c-1.664 0.768-0.448 6.848 2.688 13.568 3.072 6.72 6.976 11.52 8.64 10.752 1.6-0.768 0.448-6.848-2.688-13.504-3.136-6.72-7.04-11.52-8.64-10.816z m60.544-1.28c0 13.888-3.264 21.76-7.68 26.752-4.288 4.992-5.632 16.384-5.632 16.384h-41.216s-1.344-11.392-5.696-16.384c-4.352-4.992-7.68-12.8-7.68-26.688h67.904z" fill="#E6201A" ></path><path d="M805.824 560.256s11.008-3.84 19.84 0.256c8.768 4.096 3.968 15.36-3.456 20.992-7.424 5.76-19.712 14.528-29.568 14.528v-4.352s10.24-0.384 23.552-12.48c13.44-12.16 8.64-18.304 4.096-19.008a24.768 24.768 0 0 0-15.232 3.072l0.768-3.008zM774.4 519.488c-6.464 14.912 15.936 16.128-1.92 30.08 6.08-13.952-14.336-17.92 1.92-30.08M773.568 602.176h-43.328s5.504 6.4 25.92 6.4h34.816c20.416 0 25.92-6.4 25.92-6.4h-43.328zM778.56 455.552a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4m87.552 1.024s6.336-3.392 21.056 0c0 0-7.488-14.592-30.592-5.76 0 0-17.088-11.264-48-12.416-30.144-1.088-39.936 11.2-46.336 13.248-2.24 0.704-4.864 2.816-2.368 3.84 2.56 0.96 7.552 3.264 6.528 3.584-1.024 0.32-4.992 0.32-5.312 0.832-0.256 0.64 2.048 1.28 5.12 1.6 3.008 0.256 7.04 3.2 14.592 3.648 7.552 0.448 16-1.664 15.616-17.792 0 0 3.776 8.768-1.472 17.856 0 0 3.2-0.512 5.44 1.28s11.072 8.64 26.368 4.736c0 0-6.4-4.992-7.68-11.072 0 0 3.328 4.928 11.776 4.224 8.384-0.768 17.856-3.84 22.912-3.072 5.056 0.768 5.44 2.432 12.992 2.816 7.68 0.448 16.192 0.192 16.192 0.192s-2.944-6.784-16.832-7.744" fill="#E6201A" ></path><path d="M841.856 437.76s-12.032-8.96-35.328-12.16c-0.576-2.496-0.192-5.248-0.192-5.248a18.688 18.688 0 0 0-10.432 4.224l-2.56-0.128c-30.912-1.152-40.96 11.52-47.552 13.568-2.24 0.704-4.992 2.88-2.368 3.84 2.624 1.088 7.68 3.456 6.656 3.776-1.024 0.32-5.12 0.256-5.376 0.832-0.32 0.64 2.112 1.28 5.184 1.664 1.92 0.192 4.352 1.408 7.744 2.432a11.072 11.072 0 0 1 3.456-1.792 26.048 26.048 0 0 0 4.672-2.56 67.84 67.84 0 0 1 14.848-7.296 35.648 35.648 0 0 0 0.256-5.312s0.768 1.92 1.152 4.864a76.16 76.16 0 0 1 26.688-3.072c17.152 0.64 30.72 3.648 39.488 6.464a10.24 10.24 0 0 0 6.464 0 30.976 30.976 0 0 1 17.152-0.256s1.344-9.472-29.952-3.84m-79.36-2.304a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4M789.568 335.232c5.76 0.384 10.88-4.032 10.88-4.032s-2.432 1.28-10.944-1.6c-8.576-2.88-8.96 3.968-8.96 3.968 3.2-0.896 3.328 1.344 9.024 1.664m25.92-1.216c0 10.88-8.832 21.632-19.712 21.632-10.88 0-19.712-10.752-19.712-21.632 0-13.888 12.48-8.576 19.712-7.872 7.168-0.704 19.712-6.016 19.712 7.872M753.728 339.392c-5.248-0.384-5.376-2.56-8.32-1.728 0 0 0.256-6.848 8.256-3.968 7.936 2.88 10.176 1.664 10.176 1.664s-4.8 4.352-10.112 4.032m16.32-5.504c0-1.728 0.192-3.392 0.512-4.928-3.648-0.128-7.872 1.152-11.072 1.536-6.72-0.704-18.304-5.632-18.304 7.296 0 10.112 8.192 20.096 18.304 20.096a18.176 18.176 0 0 0 14.976-8.96 28.288 28.288 0 0 1-4.48-15.04M788.992 301.248a39.488 39.488 0 0 1-3.392-11.328v-12.608h-3.712v12.608c0 9.856-8.576 19.52-13.696 23.68a30.912 30.912 0 0 0-8.32 11.776l1.6 0.576c0-0.128 2.56-6.784 7.808-11.072 5.12-4.16 13.504-13.632 14.272-23.616h0.576c0.32 1.92 1.152 5.952 3.328 10.688 3.008 6.4 6.208 14.72 6.272 18.624h1.728c-0.128-5.248-4.992-16.128-6.4-19.328M746.112 308.672s-2.176-15.552 6.016-21.632c8.192-6.08 26.048-4.16 26.048-4.16s-5.248 3.072-7.04 8.448a25.28 25.28 0 0 1-25.024 17.28" fill="#E6201A" ></path><path d="M527.36 457.792l22.464-4.224-2.176-23.168-16.64 3.52-3.584 23.872z m-43.392 4.224l20.288-7.68-3.648-19.712-14.464-4.224-5.76-12.608-6.592 8.384-3.584 23.872L490.496 448l-6.528 14.08z m87.616-7.68l22.4 4.864 8 20.352-27.52 3.52-6.528 42.88-15.232 9.792-9.408-54.784-16.64-1.408-12.288 45.696-15.936 10.496-1.472-52.672-12.992-2.112-5.76-14.72-5.824 7.04-8.704 62.464-34.048-22.464 21.76-6.336-4.352-29.44-11.584 9.792-10.112-33.728 23.872-4.224-3.648-21.76-6.464-2.112-11.584-19.648 17.344-5.632 16.64-33.728 12.288 32.32 13.76 2.112v11.264l20.992-4.224-15.872-40.768 40.512 16.192-10.112 27.392 20.224-4.224 17.408-41.472 28.928 21.12-28.928 21.76h27.52l7.936 21.76-18.816 0.704-5.76 23.872z" fill="#FFFFFF" ></path></symbol><symbol id="icon-pinduoduo02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M323.328 712.896L505.856 832V592.768zM518.144 832l182.528-119.104-182.528-120.128zM128 565.248l182.528-120.128L128 325.12zM128 579.2l182.528 119.104V459.072zM310.528 192L128 311.104l182.528 120.128zM322.752 459.072L505.28 579.2 322.752 698.24zM322.752 192v239.232l182.528-120.128zM701.248 459.072L518.72 579.2l182.528 119.104zM701.248 192L518.72 311.104l182.528 120.128zM713.472 445.12L896 565.248V325.12zM713.472 698.304L896 579.2l-182.528-120.128zM713.472 192v239.232L896 311.104z" fill="#E6201A" ></path><path d="M171.776 588.8s0.064 10.048 9.984 10.24c9.92 0.256 88.832-6.784 96.128-7.232 7.296-0.512 14.592-2.432 14.976-4.48 0.384-1.92-0.576-2.432-3.904-2.24-3.392 0.256-80 6.592-85.376 7.552-5.44 0.896-19.84 2.112-23.68 0.704A40.832 40.832 0 0 1 171.776 588.8" fill="#FEFEFE" ></path><path d="M284.608 551.296c-8.576-11.2-13.184-3.328-15.104 4.48-1.92 7.872-10.624 4.032-12.928-4.672-2.368-8.64-9.28-9.088-19.968-4.16-10.624 4.928-48.96 26.432-59.008 34.112-2.688 2.048-3.84 4.736-1.6 8.192 2.304 3.456 9.28 2.432 21.824 1.152l35.072-3.264a24.32 24.32 0 0 0-8.064-16.064 2.048 2.048 0 0 1-0.32-2.88 2.176 2.176 0 0 1 3.008-0.32 28.224 28.224 0 0 1 9.6 18.816l4.48-0.384a23.168 23.168 0 0 0-7.616-15.552 2.048 2.048 0 0 1-0.192-2.88 2.176 2.176 0 0 1 3.008-0.192 27.072 27.072 0 0 1 8.96 18.24l5.056-0.512a21.568 21.568 0 0 0-7.232-13.376 2.048 2.048 0 0 1-0.256-2.88 2.176 2.176 0 0 1 2.944-0.256 25.6 25.6 0 0 1 8.768 16.128l5.12-0.448c-0.704-6.848-7.36-13.568-7.424-13.632a2.048 2.048 0 0 1 0.064-2.944 2.176 2.176 0 0 1 3.008 0c0.32 0.384 7.68 7.872 8.512 16.128a253.44 253.44 0 0 0 4.608-0.448c4.48-0.576 23.552-2.24 23.552-2.24s0.704-18.944-7.872-30.144M384.256 576.768c-2.56 3.84-2.432 8.448 0.32 10.304 2.752 1.856 4.48-1.536 7.04-5.44 2.56-3.84 4.992-6.656 2.24-8.512-2.752-1.856-7.04-0.192-9.6 3.648m28.672 8.32a16.896 16.896 0 1 1-33.792 0 16.896 16.896 0 0 1 33.792 0M374.848 553.856a7.424 7.424 0 0 0-7.232-6.4 7.424 7.424 0 0 0-7.232 6.4h14.464z" fill="#FEFEFE" ></path><path d="M396.032 608.512a24.32 24.32 0 0 1-24.704-23.872 24.32 24.32 0 0 1 24.704-23.936 24.32 24.32 0 0 1 24.64 23.936 24.32 24.32 0 0 1-24.64 23.872m22.592-51.968H416.64l-5.76-8.832h-27.392l-5.76 8.832H360.32a9.664 9.664 0 0 0-9.856 9.6v36.992c0 5.248 4.416 9.536 9.856 9.536h58.24a9.664 9.664 0 0 0 9.92-9.6v-36.992a9.664 9.664 0 0 0-9.856-9.536M151.424 464.192c1.088 12.032 9.856 12.288 9.856 12.288h57.152s8.768-0.256 9.856-12.288h-76.8zM160.448 425.408H160.192a1.6 1.6 0 0 0-1.024 0.576l-3.008 3.776c-0.512 0.64-0.384 1.472 0.32 1.92l0.256 0.128a1.728 1.728 0 0 0 1.216 0.256 1.6 1.6 0 0 0 0.96-0.576l3.072-3.776a1.28 1.28 0 0 0 0.256-1.024 1.344 1.344 0 0 0-0.64-0.896l-0.256-0.128a1.664 1.664 0 0 0-0.896-0.256M157.44 433.28a2.624 2.624 0 0 1-1.536-0.512l-0.192-0.128a2.624 2.624 0 0 1-0.64-3.712l2.688-3.776a2.624 2.624 0 0 1 3.648-0.64l0.256 0.192a2.624 2.624 0 0 1 0.64 3.712l-2.688 3.776a2.624 2.624 0 0 1-2.176 1.088" fill="#FEFEFE" ></path><path d="M161.6 427.008L161.408 426.88c-0.896-0.512-1.088-1.536-0.448-2.24l2.432-3.072a2.048 2.048 0 0 1 2.56-0.384l0.256 0.192c0.832 0.512 1.024 1.472 0.448 2.24l-2.496 3.008a2.048 2.048 0 0 1-2.56 0.384M214.016 416.128a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192c-0.704 0.384-0.896 1.28-0.384 1.92l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.448 0 0.832-0.064 1.152-0.32l0.256-0.128c0.704-0.448 0.896-1.28 0.384-1.92l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.256-0.128a2.624 2.624 0 0 1 3.648 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448M220.608 425.088a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192a1.344 1.344 0 0 0-0.64 0.896 1.28 1.28 0 0 0 0.256 1.024l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.384 0 0.832-0.064 1.152-0.32l0.256-0.128a1.344 1.344 0 0 0 0.64-0.896 1.28 1.28 0 0 0-0.256-1.024l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.192-0.128a2.624 2.624 0 0 1 3.712 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448" fill="#FEFEFE" ></path><path d="M214.4 417.728l0.256-0.128c0.832-0.512 1.024-1.536 0.448-2.24l-2.56-3.008a2.048 2.048 0 0 0-2.56-0.384l-0.192 0.128c-0.832 0.512-1.024 1.536-0.448 2.24l2.496 3.008c0.64 0.768 1.728 0.896 2.56 0.384M194.048 395.584c0 1.92-1.6 3.392-3.456 3.392a3.392 3.392 0 0 1-3.52-3.392c0-1.856 1.6-3.328 3.52-3.328s3.456 1.472 3.456 3.328M220.672 428.8l-3.712-4.864 2.752-1.536 3.648 4.928z" fill="#FEFEFE" ></path><path d="M222.848 438.4h6.4v-6.4h-6.4zM164.224 421.824l-1.088-0.64 20.096-29.312c0.128-0.128 2.88-3.968 6.4-3.968 3.584 0 6.336 3.84 6.4 3.968l15.36 21.12-1.024 0.768-15.36-21.12c0-0.064-2.496-3.52-5.376-3.52-2.88 0-5.312 3.456-5.376 3.456l-20.032 29.248z" fill="#FEFEFE" ></path><path d="M228.224 458.752c-1.472-17.472-3.584-22.72-3.584-22.72H159.616l-5.824 5.12a159.04 159.04 0 0 0-2.432 20.352h76.992c0-0.832 0-1.792-0.128-2.752M159.168 435.84l-6.656 5.76-1.92-2.112 6.656-5.76zM246.528 308.16l-9.92 1.6 7.04 6.912-1.472 9.6 8.96-4.352 8.96 4.352-1.536-9.6 7.04-6.912-9.856-1.6-4.608-8.64-4.608 8.64z m59.456-5.504l-14.4 18.496-13.504-7.424v45.44h-53.888v-45.44l-13.44 7.424-14.464-18.496 33.6-24.96h5.696c1.728 5.312 8.064 9.216 15.552 9.216 7.488 0 13.824-3.904 15.616-9.216h5.632l33.6 24.96zM413.568 330.24c-6.336 3.2-20.992 2.88-26.752 2.56a52.416 52.416 0 0 0-4.8 0c-5.76 0.32-20.416 0.64-26.688-2.56-4.224-2.176-9.728 3.456-5.184 6.016 5.952 3.264 30.08 10.88 32.32 29.824h3.968c2.24-18.944 26.304-26.56 32.32-29.824 4.48-2.56-1.024-8.192-5.184-6.08M384.448 315.136c-10.24 0-19.712-18.56-16.256-27.968 3.456-9.344 16.256-17.408 16.256-17.408s12.8 8.064 16.192 17.408c3.52 9.408-5.952 27.968-16.192 27.968m-10.432-53.632c2.112-3.648 7.616 5.568 7.616 5.568s-9.728-1.92-7.68-5.568m20.928 0c2.112 3.648-7.68 5.568-7.68 5.568s5.504-9.216 7.68-5.568m7.488 23.296s-9.472-13.632-16.256-16.896c0 0 12.16 0.576 12.352-6.144 0.192-6.72-11.136-4.992-14.08 4.16-2.816-9.152-14.144-10.88-14.016-4.16 0.192 6.72 12.416 6.144 12.416 6.144-6.848 3.2-16.256 16.896-16.256 16.896-16.128 10.56-27.648 28.416-13.248 37.056 14.464 8.64 25.472-3.2 25.472-3.2h11.328s11.008 11.84 25.472 3.2c14.464-8.64 2.88-26.496-13.184-37.12M638.272 327.68c2.432 6.848 13.056 11.968 25.792 11.968 12.736 0 23.36-5.12 25.792-12.032h-51.584z" fill="#FEFEFE" ></path><path d="M667.648 359.488c-2.048-1.088-2.304-5.568-2.304-11.52 0-5.888 1.664-9.472 1.664-9.472l-2.944-0.384-2.944 0.384s1.664 3.584 1.664 9.536c0 5.888-0.256 10.368-2.304 11.456-3.584 1.92-9.984 2.112-9.984 2.112v0.512h27.136V361.6s-6.4-0.128-9.984-2.112M636.032 328.384l-1.088-3.072h11.904a67.2 67.2 0 0 0 0.128-7.68c-1.088-6.08-15.36-20.672-15.36-27.52v-21.12h0.256A1.6 1.6 0 0 0 633.6 267.52v-4.224a1.6 1.6 0 0 0-1.664-1.536h-8.192a1.6 1.6 0 0 0-1.6 1.536v4.224c0 0.832 0.704 1.536 1.6 1.536h0.32v21.12c0 6.848-14.272 21.44-15.36 27.52-0.576 3.2 2.24 44.48 2.24 44.48h33.792l1.536-23.808c-5.12-2.432-8.768-5.824-10.24-9.92m-19.584-6.848c-0.448 5.248 1.728 36.288 1.728 36.288h-2.368s-2.56-31.232-2.56-37.632c0.064-6.4 6.4-11.904 6.4-11.904s-2.56 5.952-3.2 13.248M660.864 317.824a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M665.92 304.32a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M673.088 320a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M675.008 309.76a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M684.736 316.032a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M450.24 744.32h-5.632a3.712 3.712 0 0 1-3.84-3.584v-8.64h-16.192v8.64a3.712 3.712 0 0 1-3.776 3.648h-5.696c-1.664 0-3.2 1.28-3.264 2.88-0.128 1.728 1.28 3.2 3.072 3.2h35.52c1.792 0 3.2-1.472 3.136-3.2-0.064-1.664-1.6-2.88-3.328-2.88M471.424 678.144h-77.44a2.944 2.944 0 0 0-2.944 2.816v45.44c0 1.536 1.28 2.816 2.944 2.816H467.84V727.68H393.984a1.28 1.28 0 0 1-1.28-1.28V680.96a1.28 1.28 0 0 1 1.28-1.152h77.44c0.64 0 1.216 0.512 1.216 1.152v32.256h1.728V680.96a2.88 2.88 0 0 0-2.944-2.816" fill="#FEFEFE" ></path><path d="M470.592 683.328v29.888h-0.448a2.24 2.24 0 0 0-2.304 2.24v10.176H396.416a1.6 1.6 0 0 1-1.664-1.6v-40.704c0-0.896 0.768-1.6 1.664-1.6h72.576c0.896 0 1.6 0.704 1.6 1.6" fill="#FEFEFE" ></path><path d="M493.44 754.688c0 1.28-0.96 2.24-2.24 2.24h-21.12a2.304 2.304 0 0 1-2.24-2.24V715.52c0-1.28 1.024-2.24 2.304-2.24h21.056c1.28 0 2.304 1.024 2.304 2.24v39.168z m-2.24-42.24h-21.12a3.136 3.136 0 0 0-3.072 3.072v39.168c0 1.728 1.408 3.136 3.136 3.136h21.056a3.136 3.136 0 0 0 3.136-3.2v-39.04a3.136 3.136 0 0 0-3.2-3.2z" fill="#FEFEFE" ></path><path d="M484.8 722.368h-8.256c-0.512 0-0.896-1.472-0.896-3.2 0-1.792 0.384-3.2 0.896-3.2h8.256c0.448 0 0.896 1.408 0.896 3.2 0 1.728-0.448 3.2-0.896 3.2" fill="#FEFEFE" ></path><path d="M470.272 748.736h20.8v-28.416h-20.8zM485.312 753.536a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M607.744 706.24l7.488 17.152h1.792l-7.872-17.152zM592.448 723.392h2.432l-4.416-17.152h-1.92zM573.312 723.392h5.248l1.152-17.152h-4.224zM549.376 723.392h1.728l5.12-17.152H554.88zM545.216 706.24H544.64l-4.352 9.408h0.64l-3.584 7.68h1.792l3.392-7.68h0.64l3.968-9.408h-0.512zM550.016 706.24h-0.512l-3.776 9.408h0.64l-3.008 7.68h1.792l2.816-7.68h0.64l3.328-9.408h-0.512zM559.744 706.24h-0.576l-2.432 9.408h0.64l-2.048 7.68h1.856l1.792-7.68h0.64l2.112-9.408H561.28zM570.496 706.24H569.6l-1.856 9.408h1.024l-1.408 7.68h2.88l1.216-7.68h0.96l1.28-9.408h-0.832z" fill="#FEFEFE" ></path><path d="M579.456 706.24h-1.088l0.32 9.408h1.28l0.448 7.68h3.84l-0.832-7.68h1.28l-1.024-9.408h-1.152z" fill="#FEFEFE" ></path><path d="M584 706.24h-0.832l1.28 9.408h1.024l1.216 7.68h2.88l-1.472-7.68h0.96l-1.856-9.408h-0.896zM593.28 706.24h-0.512l2.176 9.408h0.64l1.792 7.68h1.792l-1.984-7.68h0.64l-2.56-9.408h-0.512zM598.144 706.24h-0.576l2.752 9.408h0.64l2.304 7.68h1.792l-2.56-7.68h0.64l-3.072-9.408h-0.512zM602.88 706.24h-0.512l3.456 9.408h0.64l2.816 7.68h1.728l-3.008-7.68h0.64l-3.776-9.408h-0.512zM565.248 706.24h-0.64l-2.24 9.408h0.768l-1.792 7.68h2.24l1.6-7.68h0.704l1.856-9.408h-0.64z" fill="#FEFEFE" ></path><path d="M528.064 727.04h98.24v-6.4H528.064z" fill="#FEFEFE" ></path><path d="M528.064 731.584h98.24v-6.4H528.064zM534.144 710.272h86.144v-16.768H534.144zM620.288 690.816H534.144s1.92-20.928 17.408-22.208c15.552-1.28 20.8 2.944 29.44 8.64 8.704 5.632 16.064 4.48 22.4 4.8 4.992 0.256 15.616 1.984 16.896 8.768" fill="#FEFEFE" ></path><path d="M613.44 709.568H540.928l-5.504 11.52h83.584l-5.568-11.52z m12.864 11.52H528.064l7.616-13.44h83.072l7.552 13.44zM537.92 748.16H534.4v-18.88h7.68zM616.512 748.16h3.456v-18.88h-7.68zM643.2 552a29.12 29.12 0 1 0 0 58.24 29.12 29.12 0 0 0 0-58.24m21.568 29.12a21.632 21.632 0 1 1-43.2 0 21.632 21.632 0 0 1 43.2 0" fill="#FEFEFE" ></path><path d="M623.36 560.896l4.608-14.208h2.624v11.008l-4.928 4.736zM662.976 560.896l-4.608-14.208h-2.624v11.008l4.928 4.736zM623.36 599.552l4.608 14.272h2.624V602.88l-4.928-4.8zM662.976 599.552l-4.608 14.272h-2.624V602.88l4.928-4.8zM680.96 575.808v8.896c0 0.896-0.896 1.664-2.048 1.664H674.56a24.768 24.768 0 0 0 0-12.224h4.352c1.152 0 2.048 0.768 2.048 1.664M653.888 549.44h-21.376v-10.112a3.84 3.84 0 0 1 3.84-3.84h13.632a3.84 3.84 0 0 1 3.84 3.84v10.112zM653.888 611.072h-21.376v10.112a3.84 3.84 0 0 0 3.84 3.776h13.632a3.84 3.84 0 0 0 3.84-3.776v-10.112zM646.016 583.872a0.832 0.832 0 0 1-0.64-0.256l-13.248-15.552a0.832 0.832 0 0 1 0.128-1.152 0.896 0.896 0 0 1 1.152 0.128l13.248 15.488a0.832 0.832 0 0 1-0.128 1.152 0.896 0.896 0 0 1-0.512 0.192" fill="#FEFEFE" ></path><path d="M641.344 583.936a1.536 1.536 0 0 1-1.024-0.384 1.408 1.408 0 0 1-0.064-2.048l9.536-10.112a1.536 1.536 0 0 1 2.112-0.064c0.64 0.512 0.64 1.472 0.064 2.048l-9.536 10.112a1.536 1.536 0 0 1-1.088 0.448M746.944 557.76c-1.664 0.768-0.448 6.848 2.688 13.568 3.072 6.72 6.976 11.52 8.64 10.752 1.6-0.768 0.448-6.848-2.688-13.504-3.136-6.72-7.04-11.52-8.64-10.816z m60.544-1.28c0 13.888-3.264 21.76-7.68 26.752-4.288 4.992-5.632 16.384-5.632 16.384h-41.216s-1.344-11.392-5.696-16.384c-4.352-4.992-7.68-12.8-7.68-26.688h67.904z" fill="#FEFEFE" ></path><path d="M805.824 560.256s11.008-3.84 19.84 0.256c8.768 4.096 3.968 15.36-3.456 20.992-7.424 5.76-19.712 14.528-29.568 14.528v-4.352s10.24-0.384 23.552-12.48c13.44-12.16 8.64-18.304 4.096-19.008a24.768 24.768 0 0 0-15.232 3.072l0.768-3.008zM774.4 519.488c-6.464 14.912 15.936 16.128-1.92 30.08 6.08-13.952-14.336-17.92 1.92-30.08M773.568 602.176H730.24s5.504 6.4 25.92 6.4h34.816c20.416 0 25.92-6.4 25.92-6.4h-43.328zM778.56 455.552a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4m87.552 1.024s6.336-3.392 21.056 0c0 0-7.488-14.592-30.592-5.76 0 0-17.088-11.264-48-12.416-30.144-1.088-39.936 11.2-46.336 13.248-2.24 0.704-4.864 2.816-2.368 3.84 2.56 0.96 7.552 3.264 6.528 3.584-1.024 0.32-4.992 0.32-5.312 0.832-0.256 0.64 2.048 1.28 5.12 1.6 3.008 0.256 7.04 3.2 14.592 3.648 7.552 0.448 16-1.664 15.616-17.792 0 0 3.776 8.768-1.472 17.856 0 0 3.2-0.512 5.44 1.28s11.072 8.64 26.368 4.736c0 0-6.4-4.992-7.68-11.072 0 0 3.328 4.928 11.776 4.224 8.384-0.768 17.856-3.84 22.912-3.072 5.056 0.768 5.44 2.432 12.992 2.816 7.68 0.448 16.192 0.192 16.192 0.192s-2.944-6.784-16.832-7.744" fill="#FEFEFE" ></path><path d="M841.856 437.76s-12.032-8.96-35.328-12.16c-0.576-2.496-0.192-5.248-0.192-5.248a18.688 18.688 0 0 0-10.432 4.224l-2.56-0.128c-30.912-1.152-40.96 11.52-47.552 13.568-2.24 0.704-4.992 2.88-2.368 3.84 2.624 1.088 7.68 3.456 6.656 3.776-1.024 0.32-5.12 0.256-5.376 0.832-0.32 0.64 2.112 1.28 5.184 1.664 1.92 0.192 4.352 1.408 7.744 2.432a11.072 11.072 0 0 1 3.456-1.792 26.048 26.048 0 0 0 4.672-2.56 67.84 67.84 0 0 1 14.848-7.296 35.648 35.648 0 0 0 0.256-5.312s0.768 1.92 1.152 4.864a76.16 76.16 0 0 1 26.688-3.072c17.152 0.64 30.72 3.648 39.488 6.464a10.24 10.24 0 0 0 6.464 0 30.976 30.976 0 0 1 17.152-0.256s1.344-9.472-29.952-3.84m-79.36-2.304a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4M789.568 335.232c5.76 0.384 10.88-4.032 10.88-4.032s-2.432 1.28-10.944-1.6c-8.576-2.88-8.96 3.968-8.96 3.968 3.2-0.896 3.328 1.344 9.024 1.664m25.92-1.216c0 10.88-8.832 21.632-19.712 21.632-10.88 0-19.712-10.752-19.712-21.632 0-13.888 12.48-8.576 19.712-7.872 7.168-0.704 19.712-6.016 19.712 7.872M753.728 339.392c-5.248-0.384-5.376-2.56-8.32-1.728 0 0 0.256-6.848 8.256-3.968 7.936 2.88 10.176 1.664 10.176 1.664s-4.8 4.352-10.112 4.032m16.32-5.504c0-1.728 0.192-3.392 0.512-4.928-3.648-0.128-7.872 1.152-11.072 1.536-6.72-0.704-18.304-5.632-18.304 7.296 0 10.112 8.192 20.096 18.304 20.096a18.176 18.176 0 0 0 14.976-8.96 28.288 28.288 0 0 1-4.48-15.04M788.992 301.248a39.488 39.488 0 0 1-3.392-11.328v-12.608h-3.712v12.608c0 9.856-8.576 19.52-13.696 23.68a30.912 30.912 0 0 0-8.32 11.776l1.6 0.576c0-0.128 2.56-6.784 7.808-11.072 5.12-4.16 13.504-13.632 14.272-23.616h0.576c0.32 1.92 1.152 5.952 3.328 10.688 3.008 6.4 6.208 14.72 6.272 18.624h1.728c-0.128-5.248-4.992-16.128-6.4-19.328M746.112 308.672s-2.176-15.552 6.016-21.632c8.192-6.08 26.048-4.16 26.048-4.16s-5.248 3.072-7.04 8.448a25.28 25.28 0 0 1-25.024 17.28" fill="#FEFEFE" ></path><path d="M527.36 457.792l22.464-4.224-2.176-23.168-16.64 3.52-3.584 23.872z m-43.392 4.224l20.288-7.68-3.648-19.712-14.464-4.224-5.76-12.608-6.592 8.384-3.584 23.872L490.496 448l-6.528 14.08z m87.616-7.68l22.4 4.864 8 20.352-27.52 3.52-6.528 42.88-15.232 9.792-9.408-54.784-16.64-1.408-12.288 45.696-15.936 10.496-1.472-52.672-12.992-2.112-5.76-14.72-5.824 7.04-8.704 62.464-34.048-22.464 21.76-6.336-4.352-29.44-11.584 9.792-10.112-33.728 23.872-4.224-3.648-21.76-6.464-2.112-11.584-19.648 17.344-5.632 16.64-33.728 12.288 32.32 13.76 2.112v11.264l20.992-4.224-15.872-40.768 40.512 16.192-10.112 27.392 20.224-4.224 17.408-41.472 28.928 21.12-28.928 21.76h27.52l7.936 21.76-18.816 0.704-5.76 23.872z" fill="#E6201A" ></path></symbol><symbol id="icon-pinduoduo03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#D9D9D9" ></path><path d="M323.328 712.896L505.856 832V592.768zM518.144 832l182.528-119.104-182.528-120.128zM128 565.248l182.528-120.128L128 325.12zM128 579.2l182.528 119.104V459.072zM310.528 192L128 311.104l182.528 120.128zM322.752 459.072L505.28 579.2 322.752 698.24zM322.752 192v239.232l182.528-120.128zM701.248 459.072L518.72 579.2l182.528 119.104zM701.248 192L518.72 311.104l182.528 120.128zM713.472 445.12L896 565.248V325.12zM713.472 698.304L896 579.2l-182.528-120.128zM713.472 192v239.232L896 311.104z" fill="#FFFFFF" ></path><path d="M171.776 588.8s0.064 10.048 9.984 10.24c9.92 0.256 88.832-6.784 96.128-7.232 7.296-0.512 14.592-2.432 14.976-4.48 0.384-1.92-0.576-2.432-3.904-2.24-3.392 0.256-80 6.592-85.376 7.552-5.44 0.896-19.84 2.112-23.68 0.704-3.776-1.344-8.128-4.544-8.128-4.544" fill="#D9D9D9" ></path><path d="M284.608 551.296c-8.576-11.2-13.184-3.328-15.104 4.48-1.92 7.872-10.624 4.032-12.928-4.672-2.368-8.64-9.28-9.088-19.968-4.16-10.624 4.928-48.96 26.432-59.008 34.112-2.688 2.048-3.84 4.736-1.6 8.192 2.304 3.456 9.28 2.432 21.824 1.152l35.072-3.264a24.32 24.32 0 0 0-8.064-16.064 2.048 2.048 0 0 1-0.32-2.88 2.176 2.176 0 0 1 3.008-0.32 28.224 28.224 0 0 1 9.6 18.816l4.48-0.384a23.168 23.168 0 0 0-7.616-15.552 2.048 2.048 0 0 1-0.192-2.88 2.176 2.176 0 0 1 3.008-0.192 27.072 27.072 0 0 1 8.96 18.24l5.056-0.512a21.568 21.568 0 0 0-7.232-13.376 2.048 2.048 0 0 1-0.256-2.88 2.176 2.176 0 0 1 2.944-0.256 25.6 25.6 0 0 1 8.768 16.128l5.12-0.448c-0.704-6.848-7.36-13.568-7.424-13.632a2.048 2.048 0 0 1 0.064-2.944 2.176 2.176 0 0 1 3.008 0c0.32 0.384 7.68 7.872 8.512 16.128a253.44 253.44 0 0 0 4.608-0.448c4.48-0.576 23.552-2.24 23.552-2.24s0.704-18.944-7.872-30.144M384.256 576.768c-2.56 3.84-2.432 8.448 0.32 10.304 2.752 1.856 4.48-1.536 7.04-5.44 2.56-3.84 4.992-6.656 2.24-8.512-2.752-1.856-7.04-0.192-9.6 3.648m28.672 8.32a16.896 16.896 0 1 1-33.792 0 16.896 16.896 0 0 1 33.792 0M374.848 553.856a7.424 7.424 0 0 0-7.232-6.4 7.424 7.424 0 0 0-7.232 6.4h14.464z" fill="#D9D9D9" ></path><path d="M396.032 608.512a24.32 24.32 0 0 1-24.704-23.872 24.32 24.32 0 0 1 24.704-23.936 24.32 24.32 0 0 1 24.64 23.936 24.32 24.32 0 0 1-24.64 23.872m22.592-51.968H416.64l-5.76-8.832h-27.392l-5.76 8.832H360.32a9.664 9.664 0 0 0-9.856 9.6v36.992c0 5.248 4.416 9.536 9.856 9.536h58.24a9.664 9.664 0 0 0 9.92-9.6v-36.992a9.664 9.664 0 0 0-9.856-9.536M151.424 464.192c1.088 12.032 9.856 12.288 9.856 12.288h57.152s8.768-0.256 9.856-12.288h-76.8zM160.448 425.408h-0.256a1.6 1.6 0 0 0-1.024 0.576l-3.008 3.776c-0.512 0.64-0.384 1.472 0.32 1.92l0.256 0.128a1.728 1.728 0 0 0 1.216 0.256 1.6 1.6 0 0 0 0.96-0.576l3.072-3.776a1.28 1.28 0 0 0 0.256-1.024 1.344 1.344 0 0 0-0.64-0.896l-0.256-0.128a1.664 1.664 0 0 0-0.896-0.256m-3.008 7.936a2.624 2.624 0 0 1-1.536-0.512l-0.192-0.128a2.624 2.624 0 0 1-0.64-3.712l2.688-3.776a2.624 2.624 0 0 1 3.648-0.64l0.256 0.192a2.624 2.624 0 0 1 0.64 3.712l-2.688 3.776a2.624 2.624 0 0 1-2.176 1.088" fill="#D9D9D9" ></path><path d="M161.6 427.008l-0.192-0.128c-0.896-0.512-1.088-1.536-0.448-2.24l2.432-3.072a2.048 2.048 0 0 1 2.56-0.384l0.256 0.192c0.832 0.512 1.024 1.472 0.448 2.24l-2.496 3.008a2.048 2.048 0 0 1-2.56 0.384M214.016 416.128a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192c-0.704 0.384-0.896 1.28-0.384 1.92l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.448 0 0.832-0.064 1.152-0.32l0.256-0.128c0.704-0.448 0.896-1.28 0.384-1.92l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.256-0.128a2.624 2.624 0 0 1 3.648 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448M220.608 425.088a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192a1.344 1.344 0 0 0-0.64 0.896 1.28 1.28 0 0 0 0.256 1.024l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.384 0 0.832-0.064 1.152-0.32l0.256-0.128a1.344 1.344 0 0 0 0.64-0.896 1.28 1.28 0 0 0-0.256-1.024l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.192-0.128a2.624 2.624 0 0 1 3.712 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448" fill="#D9D9D9" ></path><path d="M214.4 417.728l0.256-0.128c0.832-0.512 1.024-1.536 0.448-2.24l-2.56-3.008a2.048 2.048 0 0 0-2.56-0.384l-0.192 0.128c-0.832 0.512-1.024 1.536-0.448 2.24l2.496 3.008c0.64 0.768 1.728 0.896 2.56 0.384M194.048 395.584c0 1.92-1.536 3.392-3.456 3.392a3.392 3.392 0 0 1-3.52-3.392c0-1.856 1.6-3.328 3.52-3.328s3.456 1.472 3.456 3.328M220.672 428.8l-3.712-4.864 2.752-1.536 3.648 4.928zM222.848 438.4h6.4v-6.4h-6.4z" fill="#D9D9D9" ></path><path d="M164.224 421.824l-1.088-0.64 20.096-29.312c0.128-0.128 2.88-3.968 6.4-3.968 3.584 0 6.336 3.84 6.4 3.968l15.36 21.12-1.024 0.768-15.36-21.12c0-0.064-2.496-3.52-5.376-3.52-2.88 0-5.312 3.456-5.376 3.456l-20.032 29.248zM228.224 458.752c-1.472-17.472-3.584-22.72-3.584-22.72H159.616l-5.824 5.12a159.04 159.04 0 0 0-2.432 20.352h76.992c0-0.832 0-1.792-0.128-2.752M159.168 435.84l-6.656 5.76-1.92-2.112 6.656-5.76zM246.528 308.16l-9.92 1.6 7.04 6.912-1.472 9.6 8.96-4.352 8.96 4.352-1.536-9.6 7.04-6.912-9.856-1.6-4.608-8.64-4.608 8.64z m59.456-5.504l-14.4 18.496-13.504-7.424v45.44h-53.888v-45.44l-13.44 7.424-14.464-18.496 33.6-24.96h5.696c1.728 5.312 8.064 9.216 15.552 9.216 7.488 0 13.824-3.904 15.616-9.216h5.632l33.6 24.96zM413.568 330.24c-6.336 3.2-20.992 2.88-26.752 2.56a52.416 52.416 0 0 0-4.8 0c-5.76 0.32-20.416 0.64-26.688-2.56-4.224-2.176-9.728 3.456-5.184 6.016 5.952 3.264 30.08 10.88 32.32 29.824h3.968c2.24-18.944 26.304-26.56 32.32-29.824 4.48-2.56-1.024-8.192-5.184-6.08M384.448 315.136c-10.24 0-19.712-18.56-16.256-27.968 3.456-9.344 16.256-17.408 16.256-17.408s12.8 8.064 16.192 17.408c3.52 9.408-5.952 27.968-16.192 27.968m-10.432-53.632c2.112-3.648 7.616 5.568 7.616 5.568s-9.728-1.92-7.68-5.568m20.928 0c2.112 3.648-7.68 5.568-7.68 5.568s5.504-9.216 7.68-5.568m7.488 23.296s-9.472-13.632-16.256-16.896c0 0 12.16 0.576 12.352-6.144 0.192-6.72-11.136-4.992-14.08 4.16-2.816-9.152-14.144-10.88-14.016-4.16 0.192 6.72 12.416 6.144 12.416 6.144-6.848 3.2-16.256 16.896-16.256 16.896-16.128 10.56-27.648 28.416-13.184 37.056 14.4 8.64 25.408-3.2 25.408-3.2h11.328s11.008 11.84 25.472 3.2c14.464-8.64 2.88-26.496-13.184-37.12M638.272 327.68c2.432 6.848 13.056 11.968 25.792 11.968 12.736 0 23.36-5.12 25.792-12.032h-51.584z" fill="#D9D9D9" ></path><path d="M667.648 359.488c-2.048-1.088-2.304-5.568-2.304-11.52 0-5.888 1.664-9.472 1.664-9.472l-2.944-0.384-2.944 0.384s1.664 3.584 1.664 9.536c0 5.888-0.256 10.368-2.304 11.456-3.584 1.92-9.984 2.112-9.984 2.112v0.512h27.136V361.6s-6.4-0.128-9.984-2.112M636.032 328.384l-1.088-3.072h11.904a67.2 67.2 0 0 0 0.128-7.68c-1.088-6.08-15.36-20.672-15.36-27.52v-21.12h0.256A1.6 1.6 0 0 0 633.6 267.52v-4.224a1.6 1.6 0 0 0-1.664-1.536h-8.192a1.6 1.6 0 0 0-1.6 1.536v4.224c0 0.832 0.704 1.536 1.6 1.536h0.32v21.12c0 6.848-14.272 21.44-15.36 27.52-0.576 3.2 2.24 44.48 2.24 44.48h33.792l1.536-23.808c-5.12-2.432-8.768-5.824-10.24-9.92m-19.584-6.848c-0.448 5.248 1.728 36.288 1.728 36.288h-2.368s-2.56-31.232-2.56-37.632c0.064-6.4 6.4-11.904 6.4-11.904s-2.56 5.952-3.2 13.248M660.864 317.824a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M665.92 304.32a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M673.088 320a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M675.008 309.76a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M684.736 316.032a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M450.24 744.32h-5.632a3.712 3.712 0 0 1-3.84-3.584v-8.64h-16.192v8.64a3.712 3.712 0 0 1-3.776 3.648h-5.696c-1.664 0-3.2 1.28-3.264 2.88-0.128 1.728 1.28 3.2 3.072 3.2h35.52c1.792 0 3.2-1.472 3.136-3.2-0.064-1.664-1.6-2.88-3.328-2.88M471.424 678.144h-77.44a2.944 2.944 0 0 0-2.944 2.816v45.44c0 1.536 1.28 2.816 2.944 2.816H467.84v-1.6H393.984a1.28 1.28 0 0 1-1.28-1.28v-45.376a1.28 1.28 0 0 1 1.28-1.152h77.44c0.64 0 1.216 0.512 1.216 1.152v32.256h1.728v-32.256a2.88 2.88 0 0 0-2.944-2.816" fill="#D9D9D9" ></path><path d="M470.592 683.328v29.888h-0.448a2.24 2.24 0 0 0-2.304 2.24v10.176H396.416a1.6 1.6 0 0 1-1.664-1.6v-40.704c0-0.896 0.768-1.6 1.664-1.6h72.576c0.896 0 1.6 0.704 1.6 1.6" fill="#D9D9D9" ></path><path d="M493.44 754.688c0 1.28-0.96 2.24-2.24 2.24h-21.12a2.304 2.304 0 0 1-2.24-2.24v-39.168c0-1.28 1.024-2.24 2.304-2.24h21.056c1.28 0 2.304 1.024 2.304 2.24v39.168z m-2.24-42.24h-21.12a3.136 3.136 0 0 0-3.072 3.072v39.168c0 1.728 1.408 3.136 3.136 3.136h21.056a3.136 3.136 0 0 0 3.136-3.2v-39.04a3.136 3.136 0 0 0-3.2-3.2z" fill="#D9D9D9" ></path><path d="M484.8 722.368h-8.256c-0.512 0-0.896-1.472-0.896-3.2 0-1.792 0.384-3.2 0.896-3.2h8.256c0.512 0 0.896 1.408 0.896 3.2 0 1.728-0.384 3.2-0.896 3.2" fill="#D9D9D9" ></path><path d="M470.272 748.736h20.8v-28.416h-20.8zM485.312 753.536a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M607.744 706.24l7.488 17.152h1.792l-7.872-17.152zM592.448 723.392h2.432l-4.416-17.152h-1.92zM573.312 723.392h5.248l1.152-17.152h-4.224zM549.376 723.392h1.728l5.12-17.152H554.88zM545.216 706.24H544.64l-4.352 9.408h0.64l-3.584 7.68h1.792l3.392-7.68h0.64l3.968-9.408h-0.512zM550.016 706.24h-0.512l-3.712 9.408h0.576l-3.008 7.68h1.792l2.816-7.68h0.64l3.328-9.408h-0.512zM559.744 706.24h-0.576l-2.432 9.408h0.64l-2.048 7.68h1.856l1.792-7.68h0.64l2.112-9.408H561.28zM570.496 706.24H569.6l-1.856 9.408h1.024l-1.408 7.68h2.88l1.216-7.68h0.96l1.28-9.408h-0.832z" fill="#D9D9D9" ></path><path d="M579.456 706.24h-1.088l0.32 9.408h1.28l0.448 7.68h3.84l-0.832-7.68h1.28l-1.024-9.408h-1.152z" fill="#D9D9D9" ></path><path d="M584 706.24h-0.832l1.28 9.408h1.024l1.216 7.68h2.88l-1.472-7.68h0.96l-1.856-9.408h-0.896zM593.28 706.24h-0.512l2.176 9.408h0.64l1.792 7.68h1.792l-1.984-7.68h0.64l-2.56-9.408h-0.512zM598.144 706.24h-0.576l2.752 9.408h0.64l2.304 7.68h1.792l-2.56-7.68h0.64l-3.072-9.408h-0.512zM602.88 706.24h-0.512l3.456 9.408h0.64l2.816 7.68h1.728l-3.008-7.68h0.64l-3.776-9.408h-0.512zM565.248 706.24h-0.64l-2.24 9.408h0.768l-1.792 7.68h2.24l1.6-7.68h0.704l1.856-9.408h-0.64z" fill="#D9D9D9" ></path><path d="M528.064 727.04h98.24v-6.4H528.064z" fill="#D9D9D9" ></path><path d="M528.064 731.584h98.24v-6.4H528.064zM534.144 710.272h86.144v-16.768H534.144zM620.288 690.816H534.144s1.92-20.928 17.408-22.208c15.552-1.28 20.8 2.944 29.44 8.64 8.704 5.632 16.064 4.48 22.4 4.8 4.992 0.256 15.616 1.984 16.896 8.768" fill="#D9D9D9" ></path><path d="M613.44 709.568H540.928l-5.504 11.52h83.584l-5.568-11.52z m12.864 11.52H528.064l7.616-13.44h83.072l7.552 13.44zM537.92 748.16H534.4v-18.88h7.68zM616.512 748.16h3.456v-18.88h-7.68zM643.2 552a29.12 29.12 0 1 0 0 58.24 29.12 29.12 0 0 0 0-58.24m21.568 29.12a21.632 21.632 0 1 1-43.2 0 21.632 21.632 0 0 1 43.2 0" fill="#D9D9D9" ></path><path d="M623.36 560.896l4.608-14.208h2.624v11.008l-4.928 4.736zM662.976 560.896l-4.608-14.208h-2.624v11.008l4.928 4.736zM623.36 599.552l4.608 14.272h2.624V602.88l-4.928-4.8zM662.976 599.552l-4.608 14.272h-2.624V602.88l4.928-4.8zM680.96 575.808v8.896c0 0.896-0.896 1.664-2.048 1.664h-4.352a24.768 24.768 0 0 0 0-12.224h4.352c1.152 0 2.048 0.768 2.048 1.664M653.888 549.44h-21.376v-10.112a3.84 3.84 0 0 1 3.84-3.84h13.632a3.84 3.84 0 0 1 3.84 3.84v10.112zM653.888 611.072h-21.376v10.112a3.84 3.84 0 0 0 3.84 3.776h13.632a3.84 3.84 0 0 0 3.84-3.776v-10.112zM646.016 583.872a0.832 0.832 0 0 1-0.64-0.256l-13.248-15.552a0.832 0.832 0 0 1 0.128-1.152 0.896 0.896 0 0 1 1.152 0.128l13.248 15.488a0.832 0.832 0 0 1-0.128 1.152 0.896 0.896 0 0 1-0.512 0.192" fill="#D9D9D9" ></path><path d="M641.344 583.936a1.536 1.536 0 0 1-1.024-0.384 1.408 1.408 0 0 1-0.064-2.048l9.536-10.112a1.536 1.536 0 0 1 2.112-0.064c0.64 0.512 0.64 1.472 0.064 2.048l-9.536 10.112a1.536 1.536 0 0 1-1.088 0.448M746.944 557.76c-1.664 0.768-0.448 6.848 2.688 13.568 3.072 6.72 6.976 11.52 8.64 10.752 1.6-0.768 0.448-6.848-2.688-13.504-3.136-6.72-7.04-11.52-8.64-10.816z m60.544-1.28c0 13.888-3.264 21.76-7.68 26.752-4.288 4.992-5.632 16.384-5.632 16.384h-41.216s-1.344-11.392-5.696-16.384c-4.352-4.992-7.68-12.8-7.68-26.688h67.904z" fill="#D9D9D9" ></path><path d="M805.824 560.256s11.008-3.84 19.84 0.256c8.768 4.096 3.968 15.36-3.456 20.992-7.424 5.76-19.712 14.528-29.568 14.528v-4.352s10.24-0.384 23.552-12.48c13.44-12.16 8.64-18.304 4.096-19.008a24.768 24.768 0 0 0-15.232 3.072l0.768-3.008zM774.4 519.488c-6.464 14.912 15.936 16.128-1.92 30.08 6.08-13.952-14.336-17.92 1.92-30.08M773.568 602.176h-43.328s5.504 6.4 25.92 6.4h34.816c20.416 0 25.92-6.4 25.92-6.4h-43.328zM778.56 455.552a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4m87.552 1.024s6.336-3.392 21.056 0c0 0-7.488-14.592-30.592-5.76 0 0-17.088-11.264-48-12.416-30.144-1.088-39.936 11.2-46.336 13.248-2.24 0.704-4.864 2.816-2.368 3.84 2.56 0.96 7.552 3.264 6.528 3.584-1.024 0.32-4.992 0.32-5.312 0.832-0.256 0.64 2.048 1.28 5.12 1.6 3.008 0.256 7.04 3.2 14.592 3.648 7.552 0.448 16-1.664 15.616-17.792 0 0 3.776 8.768-1.472 17.856 0 0 3.2-0.512 5.44 1.28s11.072 8.64 26.368 4.736c0 0-6.4-4.992-7.68-11.072 0 0 3.328 4.928 11.776 4.224 8.384-0.768 17.856-3.84 22.912-3.072 5.056 0.768 5.44 2.432 12.992 2.816 7.68 0.448 16.192 0.192 16.192 0.192s-2.944-6.784-16.832-7.744" fill="#D9D9D9" ></path><path d="M841.856 437.76s-12.032-8.96-35.328-12.16c-0.576-2.496-0.192-5.248-0.192-5.248a18.688 18.688 0 0 0-10.432 4.224l-2.56-0.128c-30.912-1.152-40.96 11.52-47.552 13.568-2.24 0.704-4.992 2.88-2.368 3.84 2.624 1.088 7.68 3.456 6.656 3.776-1.024 0.32-5.12 0.256-5.376 0.832-0.32 0.64 2.112 1.28 5.184 1.664 1.92 0.192 4.352 1.408 7.744 2.432a11.072 11.072 0 0 1 3.456-1.792 26.048 26.048 0 0 0 4.672-2.56 67.84 67.84 0 0 1 14.848-7.296 35.648 35.648 0 0 0 0.256-5.312s0.768 1.92 1.152 4.864a76.16 76.16 0 0 1 26.688-3.072c17.152 0.64 30.72 3.648 39.488 6.464a10.24 10.24 0 0 0 6.464 0 30.976 30.976 0 0 1 17.152-0.256s1.344-9.472-29.952-3.84m-79.36-2.304a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4M789.568 335.232c5.76 0.384 10.88-4.032 10.88-4.032s-2.432 1.28-10.944-1.6c-8.576-2.88-8.96 3.968-8.96 3.968 3.2-0.896 3.328 1.344 9.024 1.664m25.92-1.216c0 10.88-8.832 21.632-19.712 21.632-10.88 0-19.712-10.752-19.712-21.632 0-13.888 12.48-8.576 19.712-7.872 7.168-0.704 19.712-6.016 19.712 7.872M753.728 339.392c-5.248-0.384-5.376-2.56-8.32-1.728 0 0 0.256-6.848 8.256-3.968 7.936 2.88 10.176 1.664 10.176 1.664s-4.8 4.352-10.112 4.032m16.32-5.504c0-1.728 0.192-3.392 0.512-4.928-3.648-0.128-7.872 1.152-11.072 1.536-6.72-0.704-18.304-5.632-18.304 7.296 0 10.112 8.192 20.096 18.304 20.096a18.176 18.176 0 0 0 14.976-8.96 28.288 28.288 0 0 1-4.48-15.04M788.992 301.248a39.488 39.488 0 0 1-3.392-11.328v-12.608h-3.712v12.608c0 9.856-8.576 19.52-13.696 23.68a30.912 30.912 0 0 0-8.32 11.776l1.6 0.576c0-0.128 2.56-6.784 7.808-11.072 5.12-4.16 13.504-13.632 14.272-23.616h0.576c0.32 1.92 1.152 5.952 3.328 10.688 3.008 6.4 6.208 14.72 6.272 18.624h1.728c-0.128-5.248-4.992-16.128-6.4-19.328M746.112 308.672s-2.176-15.552 6.016-21.632c8.192-6.08 26.048-4.16 26.048-4.16s-5.248 3.072-7.04 8.448a25.28 25.28 0 0 1-25.024 17.28" fill="#D9D9D9" ></path><path d="M527.36 457.792l22.464-4.224-2.176-23.168-16.64 3.52-3.584 23.872z m-43.392 4.224l20.288-7.68-3.648-19.712-14.464-4.224-5.76-12.608-6.592 8.384-3.584 23.872L490.496 448l-6.528 14.08z m87.616-7.68l22.4 4.864 8 20.352-27.52 3.52-6.528 42.88-15.232 9.792-9.408-54.784-16.64-1.408-12.288 45.696-15.936 10.496-1.472-52.672-12.992-2.112-5.76-14.72-5.824 7.04-8.704 62.464-34.048-22.464 21.76-6.336-4.352-29.44-11.584 9.792-10.112-33.728 23.872-4.224-3.648-21.76-6.464-2.112-11.584-19.648 17.344-5.632 16.64-33.728 12.288 32.32 13.76 2.112v11.264l20.992-4.224-15.872-40.768 40.512 16.192-10.112 27.392 20.224-4.224 17.408-41.472 28.928 21.12-28.928 21.76h27.52l7.936 21.76-18.816 0.704-5.76 23.872z" fill="#FFFFFF" ></path></symbol><symbol id="icon-zidingyi01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF6B17" ></path><path d="M800 500.672V800a32 32 0 0 1-32 32H256a32 32 0 0 1-32-32V500.672A127.552 127.552 0 0 1 192 416v-192a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v192c0 32.448-12.096 62.08-32 84.672zM576 416a32 32 0 0 1 64 0 64 64 0 1 0 128 0V256H256v160a64 64 0 1 0 128 0 32 32 0 0 1 64 0 64 64 0 1 0 128 0z" fill="#FFFFFF" ></path></symbol><symbol id="icon-zidingyi03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M800 500.672V800a32 32 0 0 1-32 32H256a32 32 0 0 1-32-32V500.672A127.552 127.552 0 0 1 192 416v-192a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v192c0 32.448-12.096 62.08-32 84.672zM576 416a32 32 0 0 1 64 0 64 64 0 1 0 128 0V256H256v160a64 64 0 1 0 128 0 32 32 0 0 1 64 0 64 64 0 1 0 128 0z" fill="#FFFFFF" ></path></symbol><symbol id="icon-zidingyi02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M800 500.672V800a32 32 0 0 1-32 32H256a32 32 0 0 1-32-32V500.672A127.552 127.552 0 0 1 192 416v-192a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v192c0 32.448-12.096 62.08-32 84.672zM576 416a32 32 0 0 1 64 0 64 64 0 1 0 128 0V256H256v160a64 64 0 1 0 128 0 32 32 0 0 1 64 0 64 64 0 1 0 128 0z" fill="#FF6B17" ></path></symbol><symbol id="icon-a-1haodian02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M159.104 321.024L340.544 192l-29.12 450.944H176.32l46.592-321.92z" fill="#C51C1E" ></path><path d="M351.04 452.608c0 52.416 43.392 88.384 96.832 88.384 53.504 0 96.832-35.968 96.832-88.384 0-52.48-43.328-94.912-96.832-94.912-53.44 0-96.832 42.496-96.832 94.912z m36.416 0c0-32.704 27.072-59.264 60.416-59.264 33.408 0 60.416 26.56 60.416 59.264a59.84 59.84 0 0 1-60.416 59.2 59.84 59.84 0 0 1-60.416-59.2zM431.296 612.992v-17.536h130.24v-46.016H340.544v46.016h44.48v46.464h51.904c49.728 0 90.048 34.176 90.048 76.416 0 42.24-40.32 76.48-90.048 76.48h-37.248V832h51.968c63.424 0 114.816-49.024 114.816-109.504 0-60.48-51.392-109.504-114.816-109.504H431.36zM863.104 386.112h-87.04v-26.624h-47.232v26.624H640.64v169.664l-22.208-17.792-40.768 39.936 22.208 18.112 16.64-19.968 24.128 38.144h38.912v-188.8h49.344v145.088a94.336 94.336 0 0 0-57.984 86.656c0 52.16 43.008 94.4 96.128 94.4s96.128-42.24 96.128-94.4c0-49.088-38.208-89.472-87.04-93.952v-53.056h76.224v-36.864h-76.16v-47.808h87.04v-39.36z m-96.128 327.872a57.344 57.344 0 0 1-57.856-56.832c0-31.36 25.856-56.832 57.856-56.832s57.856 25.472 57.856 56.832-25.856 56.832-57.856 56.832z" fill="#221713" ></path></symbol><symbol id="icon-a-1haodian03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M159.104 321.024L340.544 192l-29.12 450.944H176.32l46.592-321.92zM351.04 452.608c0 52.416 43.392 88.384 96.832 88.384 53.504 0 96.832-35.968 96.832-88.384 0-52.48-43.328-94.912-96.832-94.912-53.44 0-96.832 42.496-96.832 94.912z m36.416 0c0-32.704 27.072-59.264 60.416-59.264 33.408 0 60.416 26.56 60.416 59.264a59.84 59.84 0 0 1-60.416 59.2 59.84 59.84 0 0 1-60.416-59.2zM431.296 612.992v-17.536h130.24v-46.016H340.544v46.016h44.48v46.464h51.904c49.728 0 90.048 34.176 90.048 76.416 0 42.24-40.32 76.48-90.048 76.48h-37.248V832h51.968c63.424 0 114.816-49.024 114.816-109.504 0-60.48-51.392-109.504-114.816-109.504H431.36zM863.104 386.112h-87.04v-26.624h-47.232v26.624H640.64v169.664l-22.208-17.792-40.768 39.936 22.208 18.112 16.64-19.968 24.128 38.144h38.912v-188.8h49.344v145.088a94.336 94.336 0 0 0-57.984 86.656c0 52.16 43.008 94.4 96.128 94.4s96.128-42.24 96.128-94.4c0-49.088-38.208-89.472-87.04-93.952v-53.056h76.224v-36.864h-76.16v-47.808h87.04v-39.36z m-96.128 327.872a57.344 57.344 0 0 1-57.856-56.832c0-31.36 25.856-56.832 57.856-56.832s57.856 25.472 57.856 56.832-25.856 56.832-57.856 56.832z" fill="#FFFFFF" ></path></symbol><symbol id="icon-a-1haodian01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#C51C1E" ></path><path d="M159.104 321.024L340.544 192l-29.12 450.944H176.32l46.592-321.92zM351.04 452.608c0 52.416 43.392 88.384 96.832 88.384 53.504 0 96.832-35.968 96.832-88.384 0-52.48-43.328-94.912-96.832-94.912-53.44 0-96.832 42.496-96.832 94.912z m36.416 0c0-32.704 27.072-59.264 60.416-59.264 33.408 0 60.416 26.56 60.416 59.264a59.84 59.84 0 0 1-60.416 59.2 59.84 59.84 0 0 1-60.416-59.2zM431.296 612.992v-17.536h130.24v-46.016H340.544v46.016h44.48v46.464h51.904c49.728 0 90.048 34.176 90.048 76.416 0 42.24-40.32 76.48-90.048 76.48h-37.248V832h51.968c63.424 0 114.816-49.024 114.816-109.504 0-60.48-51.392-109.504-114.816-109.504H431.36zM863.104 386.112h-87.04v-26.624h-47.232v26.624H640.64v169.664l-22.208-17.792-40.768 39.936 22.208 18.112 16.64-19.968 24.128 38.144h38.912v-188.8h49.344v145.088a94.336 94.336 0 0 0-57.984 86.656c0 52.16 43.008 94.4 96.128 94.4s96.128-42.24 96.128-94.4c0-49.088-38.208-89.472-87.04-93.952v-53.056h76.224v-36.864h-76.16v-47.808h87.04v-39.36z m-96.128 327.872a57.344 57.344 0 0 1-57.856-56.832c0-31.36 25.856-56.832 57.856-56.832s57.856 25.472 57.856 56.832-25.856 56.832-57.856 56.832z" fill="#FFFFFF" ></path></symbol><symbol id="icon-offline" viewBox="0 0 1129 1024"><path d="M869.50764603 244.18836318H225.76753771L155.6757115 430.75894446c0 55.84843069 45.56863684 102.20978815 101.64721281 102.20978887s102.7979356-45.1594912 102.7979356-102.20978887c0 55.84843069 45.56863684 102.20978815 101.64721281 102.20978887s102.7979356-45.1594912 102.7979356-102.20978887c0 55.84843069 45.56863684 102.20978815 101.64721209 102.20978887a101.57049796 101.57049796 0 0 0 101.64721281-102.20978887c0 55.84843069 45.56863684 102.20978815 102.7979356 102.20978887 56.07857525 0 102.7979356-45.1594912 102.79793632-102.20978887l-72.41884461-186.57058128h-31.5298145l-1.17629489-1.20186698 1.17629489 1.20186698z m1.73887023 364.13995126c10.97022752 0 21.53130868-1.66215538 31.5298145-4.62846396v229.96563086c0 21.40345107-23.34689449 47.56322373-44.39234196 47.56322373H270.74802783c-21.01987609 0-44.39234268-26.15977338-44.39234268-47.56322373v-230.04234572c9.99850582 3.01745207 20.58515907 4.70517882 31.5553866 4.70517882a110.77628315 110.77628315 0 0 0 102.74679212-69.40139254 109.62555964 109.62555964 0 0 0 101.69835629 69.40139254 110.77628315 110.77628315 0 0 0 102.7723635-69.40139254 109.62555964 109.62555964 0 0 0 101.67278419 69.40139254c46.02892668 0 85.53708801-28.76807908 101.67278419-69.40139254a110.80185453 110.80185453 0 0 0 102.77236422 69.40139254zM272.51247016 212.50511826c-19.8691533 0-35.05869916-15.44526179-35.05869916-35.64684588C237.453771 156.65668757 252.64331686 141.21142578 272.48689806 141.21142578h584.15821979c19.8691533 0 35.03312706 15.44526179 35.03312778 35.6468466 0 20.20158409-15.16397376 35.6468466-35.03312778 35.64684588H272.51247016z" fill="#707070" ></path></symbol><symbol id="icon-suning" viewBox="0 0 1024 1024"><path d="M813.1 99.2H210.9c-61.6 0-111.6 50-111.6 111.6v602.3c0 61.6 50 111.6 111.6 111.6h602.3c61.6 0 111.6-50 111.6-111.6V210.9c0-61.7-50-111.7-111.7-111.7z" fill="#FFFFFF" ></path><path d="M813.1 927.1H210.9c-62.9 0-114-51.1-114-114V210.9c0-62.9 51.1-114 114-114h602.3c62.9 0 114 51.1 114 114v602.3c-0.1 62.8-51.2 113.9-114.1 113.9zM210.9 101.6c-60.2 0-109.2 49-109.2 109.2v602.3c0 60.2 49 109.2 109.2 109.2h602.3c60.2 0 109.2-49 109.2-109.2V210.9c0-60.2-49-109.2-109.2-109.2H210.9z" fill="#999999" ></path><path d="M411.9 493.9c13.1 0 23.7-10.7 23.7-23.7s-10.7-23.6-23.7-23.6-23.6 10.6-23.7 23.6c0 13 10.7 23.7 23.7 23.7zM611.5 493.9c13.1 0 23.7-10.7 23.7-23.7s-10.7-23.6-23.7-23.6-23.6 10.6-23.6 23.6c0 13 10.6 23.7 23.6 23.7z" fill="#111111" ></path><path d="M606.3 556.8c-5.6-47.3-45.8-83.9-94.6-83.9-48.7 0-88.9 36.6-94.5 83.9-39.4 1.2-71.1 33.6-71.1 73.4 0 40.5 32.9 73.4 73.4 73.4h185.3c40.5 0 73.4-32.8 73.3-73.4 0-40-32-72.5-71.8-73.4z m-32.1 26.1L536 611.4s-10.5 7.6-24.3 7.5c-13.8 0.1-24.2-7.5-24.2-7.5l-38.1-28.5c-15.6-11.6-6.1-26.1 4.7-26.1h115.4c10.8 0 20.2 14.5 4.7 26.1z" fill="#FFFFFF" ></path><path d="M569.4 556.8H454.1c-10.8 0-20.2 14.5-4.7 26.1l38.1 28.5s10.4 7.6 24.2 7.5c13.8 0.1 24.3-7.5 24.3-7.5l38.2-28.5c15.5-11.6 6.1-26.1-4.8-26.1z" fill="#111111" ></path><path d="M754.4 411.6v-86.2c0-30.8-25-55.8-55.8-55.8h-86.1l-61-60.9c-21.8-21.8-57.1-21.8-79 0l-60.9 60.9h-86.2c-30.8 0-55.8 25-55.8 55.8v86.2l-61 61c-21.8 21.8-21.8 57.1 0 79l61 60.9v86.2c0 30.8 25 55.8 55.8 55.8h86.2l61 61c21.8 21.8 57.1 21.8 79 0l61-61h86.2c30.8 0 55.8-25 55.8-55.8v-86.2l61-61c21.6-21.8 21.6-57.1-0.1-78.9l-61.1-61z m-142.9 34.9c13 0 23.7 10.6 23.7 23.6 0 13-10.6 23.7-23.7 23.7-13 0-23.6-10.7-23.6-23.7s10.6-23.6 23.6-23.6z m-199.6 0c13 0 23.7 10.6 23.7 23.6 0 13-10.6 23.7-23.7 23.7-13 0-23.7-10.7-23.7-23.7 0.1-13 10.7-23.6 23.7-23.6z m192.9 257.1H419.5c-40.6 0-73.4-32.9-73.4-73.4 0-39.8 31.6-72.1 71.1-73.4 5.6-47.3 45.8-83.9 94.5-83.9 48.8 0 89 36.6 94.6 83.9 39.8 0.9 71.8 33.4 71.8 73.4 0.1 40.6-32.8 73.4-73.3 73.4z" fill="#FFAB00" ></path></symbol><symbol id="icon-jos" viewBox="0 0 1024 1024"><path d="M880.15625 165.78125c-6.1875-8.34375-13.5-15.75-21.9375-21.9375-17.4375-12.9375-38.90625-20.90625-62.34375-20.90625H228.125c-23.4375 0-44.90625 7.96875-62.4375 20.90625-8.34375 6.1875-15.75 13.5-21.9375 21.9375-12.84375 17.4375-20.8125 38.90625-20.8125 62.34375v567.75c0 23.4375 7.96875 44.90625 20.90625 62.4375 6.1875 8.34375 13.5 15.75 21.9375 21.9375 17.53125 12.9375 38.90625 20.90625 62.4375 20.90625h567.75c23.4375 0 44.90625-7.96875 62.4375-20.90625 8.34375-6.1875 15.75-13.5 21.9375-21.9375 12.9375-17.53125 20.90625-38.90625 20.90625-62.4375V228.125c-0.1875-23.4375-8.15625-44.90625-21.09375-62.34375z" fill="#C9121C" ></path><path d="M399.78125 582.78125h1.78125V275.09375h-55.96875v306c0 62.90625-50.71875 111.9375-111.9375 111.9375H206.375v55.96875h27.28125c90.9375-0.09375 166.125-73.5 166.125-166.21875zM817.625 511.15625c0-129.375-92.625-236.0625-208.03125-236.0625H469.71875v473.8125h139.875c115.40625 0 208.03125-108.375 208.03125-237.75zM525.6875 331.0625h83.90625c83.90625 0 152.15625 82.21875 153.84375 181.875 0 99.65625-69.9375 180.09375-153.84375 180.09375h-83.90625V331.0625z" fill="#FFFFFF" ></path></symbol><symbol id="icon-taobao" viewBox="0 0 1024 1024"><path d="M795.875 122.9375H228.125C170 122.9375 122.9375 169.8125 122.9375 227.65624999v565.03125001C122.9375 850.4375 170 897.3125 228.125 897.3125h49.78125001c12.28125001 1.5 24.65625001 3 37.5 3.28125001 5.8125 0.1875 10.875 0.1875 23.34374999 0.28124999 11.8125 0.1875 21.5625 0.1875 28.5 0.1875h289.03125001c7.125 0 16.78125001 0 28.49999998-0.1875 12.375-0.1875 17.53125001-0.1875 23.34375001-0.28124999 12.84375001-0.1875 25.21875001-1.78125001 37.5-3.28125001h50.15625001c58.125 0 105.1875-46.875 105.18749998-104.71875001V227.65624999C901.0625 169.8125 854 122.9375 795.875 122.9375z" fill="#FF4401" ></path><path d="M389 455c15.5625-15.75 29.4375-31.5 41.4375-47.15625001 12.375-5.34375001 24.375-10.59375001 36-15.28124999-14.34375001 25.96875001-37.5 65.25-60.84375001 90.09375001l32.71875001 28.87499998s22.3125-21.65625001 46.59375001-47.71874999h28.125V512H404.84374999v38.625h108.18750002v92.4375c-1.21875001 0-2.71875001 0-4.03125001-0.1875-11.8125-0.75-30.46875001-2.71875001-37.78124999-14.25-8.8125-14.15625001-2.4375-40.125-1.78125001-56.0625h-74.90624999l-2.71875001 1.3125S364.4375 697.8125 470.75 695c99.65625001 2.8125 156.65625001-27.9375 184.125-49.21875001l10.875 41.0625 61.40625001-25.875L685.4375 558.125 635.65625001 573.875l9.28124999 35.0625c-12.75 9.65625001-27.375 16.96875001-43.3125 22.125v-80.625h105.84375001v-38.625h-105.93750002v-48.1875h106.125v-38.625H518.9375c13.78125001-16.6875 24.375-31.96875001 27.09375001-41.625l-32.71875001-9.09375001c141.09375001-51 219.5625-42.1875 218.90625001 41.43750002v220.12499998s8.34375001 75.65625001-77.43750002 70.12500002l-46.5-9.9375-10.875 44.625s200.4375 57.9375 216.84375001-97.6875c16.3125-155.8125-3.84375001-255.09375001-3.84375001-255.09375001s-18.375-143.625-329.53124999-54.5625c13.40625001-23.34375001 19.6875-38.625 19.6875-38.625l-77.90625001-22.03125001s-31.40625001 103.3125-87.28124999 151.50000002c0 0.09375001 54.28125001 31.59375001 53.625 30.84374999z" fill="#FFFFFF" ></path><path d="M356.46874999 583.4375c14.90625001-46.6875 18.1875-82.3125-7.21874999-108.375-32.71875001-33.28125001-36.28125001-36.28125001-84.84375001-72.84375001l-35.15624999 54.37500002 64.59375001 40.59374999s43.21875001 22.125 22.6875 63.75c-19.125 39.5625-113.15625001 125.90625001-113.15625001 125.90625001l84 53.06249998c58.21875001-127.6875 54.46875001-110.71875001 69.09375001-156.46874999zM310.25 381.96874999c30.46875001 0 55.3125-22.40625001 55.3125-50.24999998 0-27.84375001-24.84375001-50.25-55.3125-50.25-30.75 0-55.40625001 22.3125-55.59375001 50.25 0 27.65625001 24.84375001 50.25 55.59375001 50.25z" fill="#FFFFFF" ></path></symbol><symbol id="icon-execute-stop" viewBox="0 0 1024 1024"><path d="M558.08 650.24H419.84c-32.256 0-46.08-13.824-46.08-46.08V419.84c0-32.256 13.824-46.08 46.08-46.08h184.32c32.256 0 46.08 13.824 46.08 46.08v184.32c0 32.256-13.824 46.08-46.08 46.08h-46.08z" fill="#FF1010" ></path><path d="M512 51.2c-253.44 0-460.8 207.36-460.8 460.8s207.36 460.8 460.8 460.8 460.8-207.36 460.8-460.8-207.36-460.8-460.8-460.8m0 834.048c-207.36 0-373.248-165.888-373.248-373.248S304.64 138.752 512 138.752s373.248 165.888 373.248 373.248-165.888 373.248-373.248 373.248" fill="#666666" ></path></symbol><symbol id="icon-wait" viewBox="0 0 1024 1024"><path d="M515.85440749 82.98768981C279.05972221 82.98768981 87.0096802 275.0377318 87.0096802 511.83241706S279.05972221 940.67714431 515.85440749 940.67714431s428.84472724-192.05004197 428.84472724-428.84472725S752.64909276 82.98768981 515.85440749 82.98768981z m187.35771984 573.30121607c-6.20056854 8.04398081-15.58521282 12.23355417-24.96985715 12.23355415-6.70331735 0-13.40663469-2.17857813-19.10445441-6.53573441l-162.38786274-125.18445144-0.5027488-0.50274878c-2.84890987-2.34616108-5.36265388-5.19507094-7.20606612-8.3791467-0.16758294-0.50274881-0.50274881-0.83791468-0.67033176-1.34066346-1.67582932-3.01649281-2.84890987-6.36815149-3.35165867-10.05497603 0-0.50274881-0.16758294-1.00549761-0.16758293-1.5082464-0.16758294-1.00549761-0.33516586-2.0109952-0.33516586-3.18407575V222.41669063c0-17.42862511 14.07696642-31.50559152 31.50559151-31.50559153s31.50559152 14.07696642 31.50559153 31.50559153v273.99809655l150.15430858 115.79980716c13.57421762 10.55772482 16.08796163 30.332511 5.53023682 44.07431154z" fill="#666666" ></path><path d="M488.2032234 526.57971524c-1.67582932-3.18407574-2.84890987-6.5357344-3.35165865-10.05497603 0.50274881 3.51924161 1.67582932 6.87090027 3.35165865 10.05497603zM496.0796213 536.13194244c-3.01649281-2.34616108-5.36265388-5.19507094-7.20606615-8.37914667 1.84341228 3.18407574 4.35715626 6.03298562 7.20606615 8.37914667zM488.87355515 527.75279577c-0.16758294-0.33516586-0.50274881-0.83791468-0.67033175-1.34066347 0.16758294 0.50274881 0.50274881 1.00549761 0.67033175 1.34066347zM484.85156475 516.52473921c0-0.50274881-0.16758294-1.00549761-0.16758294-1.5082464 0 0.50274881 0.16758294 1.00549761 0.16758294 1.5082464z" fill="#666666" ></path></symbol><symbol id="icon-execute" viewBox="0 0 1024 1024"><path d="M870.6791041 124.68656709c13.43283574 0 24.17910469 10.74626894 24.17910468 24.17910469v721.79104482c0 13.43283574-10.74626894 24.17910469-24.17910468 24.17910468H211.57462724v-2.23880625h-62.68656796c-13.43283574 0-24.17910469-10.74626894-24.17910381-24.17910468V148.86567178c0-13.43283574 10.74626894-24.17910469 24.17910381-24.17910469h721.79104482m0-62.68656709H148.88805928C100.52985078 62 62.02238838 100.5074624 62.02238838 148.86567178V867.97014893c0 48.35820938 38.5074624 86.86567178 86.8656709 86.86567177v2.23880625h721.79104482c48.35820938 0 86.86567178-38.5074624 86.86567178-86.86567177V148.86567178C957.54477588 100.5074624 919.03731348 62 870.6791041 62z" fill="#666666" ></path><path d="M692.47014893 472.59701474L444.41044737 328.86567178c-29.99999971-17.01492539-65.37313477 3.58208964-65.3731339 37.164179v285.22388057c0 33.58208935 37.16417901 54.1791044 65.3731339 37.164179l248.05970156-141.94029814c29.99999971-16.11940342 29.99999971-57.31343262 0-73.88059747z" fill="#00AAF1" ></path></symbol><symbol id="icon-A1" viewBox="0 0 1024 1024"><path d="M318.623035 900.104009L36.049377 952.606034 93.018101 673.254257l225.604934 226.849752zM761.924648 0.393582l-101.269595 101.782168L886.259987 329.098726l101.269595-101.782167L761.924648 0.393582zM143.616286 622.363173l225.604934 226.922977 466.513806-469.223115-225.604934-226.996201L143.616286 622.363173zM398.730726 877.550838h146.449162v146.449162H398.730726V877.550838z m224.286892 0h146.449162v146.449162h-146.449162V877.550838z m219.673743 0h144.911446v146.449162H842.691361V877.550838z" fill="#0083BA" ></path></symbol><symbol id="icon-B1" viewBox="0 0 1058 1024"><path d="M57.144223 668.96767l226.595104 228.476433L0 950.955808z" fill="#3089DC" ></path><path d="M107.308807 620.267737L574.604415 152.972129 801.391304 379.759019 334.095697 847.054627zM623.304348 101.794961L725.099309 0l226.786889 226.78689-101.794961 101.794961z" fill="#0083BA" ></path><path d="M767.143813 1024c-160.772566 0-291.103679-130.331113-291.103679-291.103679s130.331113-291.103679 291.103679-291.103679 291.103679 130.331113 291.103679 291.103679-130.331113 291.103679-291.103679 291.103679z m-62.787068-431.206742v277.003986l202.15381-153.940192L704.356745 592.794399z" fill="#64AA44" ></path></symbol><symbol id="icon-B3" viewBox="0 0 1025 1024"><path d="M512.362667 0.479492C229.712254 0.479492 0.603429 229.596444 0.603429 512.23873 0.603429 794.887111 229.71327 1024 512.362667 1024c282.648381 0 511.760254-229.111873 511.760254-511.760254C1024.121905 229.60254 795.011048 0.479492 512.362667 0.479492z m0 930.475683c-231.246222 0-418.711365-187.457016-418.711365-418.709334 0-231.246222 187.465143-418.718476 418.712381-418.718476 231.250286 0 418.708317 187.472254 418.708317 418.718476 0 231.252317-187.458032 418.709333-418.709333 418.709334zM372.794921 721.601016l395.454984-232.616635L372.794921 302.884571v418.716445z" fill="#64AA44" ></path></symbol><symbol id="icon-A5" viewBox="0 0 1425 1024"><path d="M1424.896 142.075139l-868.714937 881.348051L0.928405 460.087089l139.114937-142.086481 417.166582 423.23767L1287.258734 0.57519z" fill="#64AA44" ></path></symbol><symbol id="icon-A2" viewBox="0 0 1024 1024"><path d="M256 256c0 141.385143 114.614857 256 256 256s256-114.614857 256-256S653.385143 0 512 0 256 114.614857 256 256zM593.257143 518.4L512 599.657143l-81.257143-81.257143C186.628571 557.371429 0 768.914286 0 1024h1024c0-255.085714-186.628571-466.628571-430.742857-505.6zM512 950.857143l-87.657143-87.657143L512 600l87.657143 263.314286L512 950.857143z" fill="#0083BA" ></path></symbol><symbol id="icon-A6" viewBox="0 0 1024 1024"><path d="M512.00408604 961.87536934C263.69500537 961.87536934 62.4178206 760.59818369 62.4178206 512.28808174S263.69807011 62.70181631 512.00408604 62.70181631c248.28354141 0 449.58626543 201.27718477 449.58626542 449.58626543 0.00102129 248.31112412-201.30170273 449.5872876-449.58626542 449.5872876zM146.71441513 512.28808174c0 201.7450626 163.54767305 365.29069219 365.28967091 365.29069219 85.67162315 0 164.28830888-29.71940977 226.57934179-79.0845627L225.80102129 285.68422285c-49.36208818 62.31861562-79.08660615 140.9342792-79.08660616 226.6028376v0.00102129zM512.00408604 147.00147559c-85.67162315 0-164.28626543 29.71940977-226.6028376 79.08456269l512.78342783 512.78240654c49.39171435-62.28898945 79.10908067-140.90669737 79.10908066-226.57934179-0.00102129-201.74404042-163.54562959-365.28967089-365.29069219-365.2896709l0.0010213 0.00204345z" fill="#DB0000" ></path></symbol><symbol id="icon-B2" viewBox="0 0 1024 1024"><path d="M256 256c0 141.385143 114.614857 256 256 256s256-114.614857 256-256S653.385143 0 512 0 256 114.614857 256 256zM593.257143 518.4L512 599.657143l-81.257143-81.257143C186.628571 557.371429 0 768.914286 0 1024h1024c0-255.085714-186.628571-466.628571-430.742857-505.6zM512 950.857143l-87.657143-87.657143L512 600l87.657143 263.314286L512 950.857143z" fill="#0083BA" ></path><path d="M737.714286 451.428571C579.602286 451.428571 451.428571 579.602286 451.428571 737.714286S579.602286 1024 737.714286 1024 1024 895.826286 1024 737.714286 895.826286 451.428571 737.714286 451.428571z m-62.205715 423.211429V600.788571l199.131429 121.712L675.508571 874.64z" fill="#64AA44" ></path><path d="M675.508571 874.64V600.788571l199.131429 121.712z" fill="#FFFFFF" ></path></symbol><symbol id="icon-A4" viewBox="0 0 1168 1024"><path d="M1167.449157 964.564732c0 31.791201-24.295416 57.507892-54.184153 57.745209v0.630658H55.720809v-0.630658l-0.500855 0.078668c-30.139165 0-54.685009-25.875339-54.685009-57.823877a60.176061 60.176061 0 0 1 8.932794-31.555196l-0.33303-0.236005L537.947452 26.363083l0.249117 0.236005C547.311611 10.670054 564.790412 0.605746 583.951406 0.25305c19.87032 0 37.152451 11.359713 46.753926 28.163278l0.333029-0.237316 528.730141 906.409137-0.33303 0.236005c5.253736 9.128154 8.00844 19.35242 8.014997 29.74189zM657.805275 346.725613c0-44.143447-32.260589-79.882489-72.112676-79.882489s-72.030074 35.820333-72.030074 79.882489v299.21516c0 44.062156 32.260589 79.801198 72.112676 79.801199s72.112676-35.739042 72.112676-79.801199v-299.21516h-0.082602z m-72.113987 436.507206c-39.769485 0-72.112676 32.280256-72.112676 72.149388 0 39.870443 32.260589 72.075964 72.112676 72.075965s72.112676-32.280256 72.112676-72.075965-32.260589-72.149388-72.112676-72.149388z" fill="#DB0000" ></path></symbol><symbol id="icon-A3" viewBox="0 0 1024 1024"><path d="M754.804503 850.768224c-6.921709-82.559745-10.523082-90.868248-19.031888-122.086963-13.990579-51.414611-64.955529-90.356248-101.192048-115.934786-34.694387-24.485046-64.033725-45.673261-64.033725-86.962331 0-41.279872 27.160527-63.725094 64.033725-96.608575 27.140088-24.217293 58.353693-62.039888 85.622547-100.118994 14.271617-19.917924 27.681725-47.435114 27.681724-74.666156H266.928798c2.595768 24.602571 12.743792 56.360878 23.356807 72.908391 26.584144 41.4301 60.536591 71.144495 92.542211 98.375537 37.199202 31.629541 66.611098 56.213717 66.611098 97.484392 0 42.158754-32.007665 61.482922-66.611098 86.953133-43.253269 25.471234-94.273405 67.63101-105.537405 118.574499-12.11018 28.986762-10.364679 42.158754-17.281277 122.08594h494.795369v-0.005109zM51.509653 927.17988c0-44.791313 10.398403-76.414723 54.498874-76.414722h38.08115c4.307545-80.806068 17.066667-108.06879 24.204008-148.435034 16.216399-91.380248 95.154331-146.677269 143.598115-181.811098 0-2.626427-0.848224-3.503265-2.577373-3.503266-37.215553-27.228998-74.52206-57.905054-111.592495-111.546507-44.245589-64.045988-61.417517-145.82087-64.033724-233.641644H106.007505c-44.964024 0-54.497852-54.448798-54.497852-101.008096v-8.773493C51.508631 16.364583 81.801453 0.562076 127.63414 0.562076h764.714411c44.114778 0 80.448383 15.801485 80.448383 61.483944v8.773493c0 46.558275-18.165269 101.008096-60.550898 101.008096H881.968543c-6.923752 87.822818-19.805509 169.577261-64.879904 233.640623-37.109269 52.745198-79.566435 86.055856-107.251226 113.284854-6.918643 2.644822-3.477717-0.858443-6.054068 1.769006 51.884711 47.428982 110.711569 81.681884 143.582787 181.810076 6.920687 46.551122 17.300695 63.238643 21.644008 148.436056h43.23794c42.383585 0 60.550898 31.622387 60.550898 76.4137v13.173014c0 43.040703-18.165269 83.440671-60.550898 83.440671H106.009549c-44.964024 0-54.497852-40.399968-54.497852-83.440671v-13.175058H51.509653z" fill="#0083BA" ></path></symbol><symbol id="icon-stop" viewBox="0 0 1168 1024"><path d="M1167.449157 964.564732c0 31.791201-24.295416 57.507892-54.184153 57.745209v0.630658H55.720809v-0.630658l-0.500855 0.078668c-30.139165 0-54.685009-25.875339-54.685009-57.823877a60.176061 60.176061 0 0 1 8.932794-31.555196l-0.33303-0.236005L537.947452 26.363083l0.249117 0.236005C547.311611 10.670054 564.790412 0.605746 583.951406 0.25305c19.87032 0 37.152451 11.359713 46.753926 28.163278l0.333029-0.237316 528.730141 906.409137-0.33303 0.236005c5.253736 9.128154 8.00844 19.35242 8.014997 29.74189zM657.805275 346.725613c0-44.143447-32.260589-79.882489-72.112676-79.882489s-72.030074 35.820333-72.030074 79.882489v299.21516c0 44.062156 32.260589 79.801198 72.112676 79.801199s72.112676-35.739042 72.112676-79.801199v-299.21516h-0.082602z m-72.113987 436.507206c-39.769485 0-72.112676 32.280256-72.112676 72.149388 0 39.870443 32.260589 72.075964 72.112676 72.075965s72.112676-32.280256 72.112676-72.075965-32.260589-72.149388-72.112676-72.149388z" fill="#DB0000" ></path></symbol><symbol id="icon-executing" viewBox="0 0 1025 1024"><path d="M512.362667 0.479492C229.712254 0.479492 0.603429 229.596444 0.603429 512.23873 0.603429 794.887111 229.71327 1024 512.362667 1024c282.648381 0 511.760254-229.111873 511.760254-511.760254C1024.121905 229.60254 795.011048 0.479492 512.362667 0.479492z m0 930.475683c-231.246222 0-418.711365-187.457016-418.711365-418.709334 0-231.246222 187.465143-418.718476 418.712381-418.718476 231.250286 0 418.708317 187.472254 418.708317 418.718476 0 231.252317-187.458032 418.709333-418.709333 418.709334zM372.794921 721.601016l395.454984-232.616635L372.794921 302.884571v418.716445z" fill="#64AA44" ></path></symbol><symbol id="icon-youzan" viewBox="0 0 1024 1024"><path d="M116.4921875 116.4921875h791.015625v791.015625H116.4921875z" fill="#cc0000" ></path><path d="M692.21313477 417.21655273c-28.87207031 3.50024414-57.72436523 7.1784668-86.57666016 10.48095704-17.24414063 2.01708984-27.88330078-7.61352539-26.89453125-24.30395508 0.90966797-16.51245117 2.57080078-32.94580078 3.71777344-49.43847657 1.52270508-21.08056641 3.48046875-42.16113281 4.27148437-63.28125 1.18652344-30.82983398-16.57177734-53.01782227-45.48339844-58.08032226-24.2644043-4.25170898-41.88427734 10.06567383-45.9777832 35.00244141a2272.90429688 2272.90429688 0 0 1-21.35742187 114.91479492c-6.76318359 30.94848633-17.34301758 60.90820313-33.00512696 88.53442383-9.65039063 17.06616211-20.84326172 33.00512695-38.87841797 41.56787109-6.18969727 2.9465332-7.71240234 6.38745117-7.71240234 12.81445312 0.19775391 81.33618164 0.11865234 162.75146484 0.11865234 244.08764649v8.62207031c4.11328125-0.49438477 6.92138672-0.81079102 9.72949219-1.24584961 93.18164063-14.57446289 186.30395508-29.14892578 279.4855957-43.64428711 24.58081055-3.81665039 39.94628906-23.51293945 37.05908204-48.76611328-1.16674805-10.32275391 0.05932617-19.87426758 4.70654297-29.12915039 7.71240234-15.50390625 8.80004883-31.69995117 6.28857421-49.02319336-1.58203125-10.67871094-1.81933594-22.88012695 1.72045899-32.74804687 8.36499023-23.27563477 9.96679688-45.64160156 4.46923828-70.02465821-2.76855469-12.37939453 0.73168945-26.75610352 3.42114258-39.82763672 6.34790039-29.58398438-9.29443359-49.43847656-38.83886719-47.57958984a190.57543945 190.57543945 0 0 0-10.28320312 1.06787109zM367.63964844 521.98657227c-3.91552734 0.6328125-6.22924805 0.94921875-8.56274414 1.38427734-18.88549805 3.61889648-37.85009766 7.11914063-56.73559571 10.99511719-13.7043457 2.82788086-21.04101563 12.06298828-21.04101562 26.32104492-0.05932617 69.09521484-0.05932617 138.22998047 0.05932617 207.32519531 0 16.31469727 10.28320313 25.88598633 26.00463867 23.86889649 17.3034668-2.17529297 34.40917969-5.55688477 51.65332032-7.61352539 7.27734375-0.88989258 8.74072266-4.13305664 8.70117187-11.07421875-0.19775391-80.1496582-0.13842773-160.41796875-0.07910156-240.62695313v-10.57983398z" fill="#ffffff" ></path></symbol><symbol id="icon-resume-execute" viewBox="0 0 1024 1024"><path d="M511.9505 961.9989998a449.09950078 449.09950078 0 0 0 449.9994999-449.9994999 451.29949893 451.29949893 0 0 0-449.9994999-449.9994999 451.29949893 451.29949893 0 0 0-449.9994999 449.9994999 449.09950078 449.09950078 0 0 0 449.9994999 449.9994999z m0-69.24992256A379.64957783 379.64957783 0 0 1 131.20092354 511.9994999a379.64957783 379.64957783 0 0 1 380.74957646-380.74957647A379.64957783 379.64957783 0 0 1 892.70007734 511.9994999a381.89957607 381.89957607 0 0 1-380.74957734 380.74957734z m0 0" fill="#707070" ></path><path d="M674.75031875 550.04945732L460.15055791 688.49930411a49.29994511 49.29994511 0 0 1-65.74992715-13.84998487 64.19992852 64.19992852 0 0 1-6.89999238-24.24997266V373.49965391a49.49994463 49.49994463 0 0 1 48.44994609-48.4499461 49.99994473 49.99994473 0 0 1 24.24997266 6.94999248l214.59976172 138.4498459a48.54994627 48.54994627 0 0 1 13.84998487 65.74992715 27.04997021 27.04997021 0 0 1-13.84998487 13.84998398z m0 0" fill="#707070" ></path></symbol><symbol id="icon-C3" viewBox="0 0 1024 1024"><path d="M256 256c0 141.3888 114.6112 256 256 256s256-114.6112 256-256S653.3888 0 512 0 256 114.6112 256 256zM593.2544 518.4L512 599.6544l-81.2544-81.2544C186.624 557.3632 0 768.9216 0 1024h1024c0-255.0784-186.624-466.6368-430.7456-505.6zM512 950.8608l-87.6544-87.6544L512 599.9872l87.6544 263.3216L512 950.8608z" fill="#0083BA" ></path><path d="M738.2528 452.5312C580.4544 452.5312 452.5312 580.4544 452.5312 738.2528c0 157.824 127.9232 285.7472 285.7216 285.7472 157.824 0 285.7472-127.9232 285.7472-285.7472C1024 580.4544 896.0768 452.5312 738.2272 452.5312z" fill="#64AA44" ></path><path d="M640 614.4m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path><path d="M793.6 606.1312m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path></symbol><symbol id="icon-C2" viewBox="0 0 1049 1024"><path d="M55.0656 653.0048l218.368 223.0016L0 928.256z" fill="#3089DC" ></path><path d="M101.888 605.2864L553.0368 151.1168l218.9568 220.416-451.1744 454.1696zM600.448 98.6368L698.4448 0l218.3424 219.776-97.9968 98.6368z" fill="#0083BA" ></path><path d="M746.5216 435.2C588.7232 435.2 460.8 563.1232 460.8 720.9216c0 157.824 127.9232 285.7472 285.7216 285.7472 157.824 0 285.7472-127.9232 285.7472-285.7472C1032.2688 563.1232 904.3456 435.2 746.496 435.2z" fill="#64AA44" ></path><path d="M648.2688 597.0688m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path><path d="M801.8688 588.8m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path></symbol><symbol id="icon-C1" viewBox="0 0 1024 1024"><path d="M512 0C229.2224 0 0 229.2224 0 512s229.2224 512 512 512 512-229.2224 512-512S794.7776 0 512 0z m0 930.9184c-231.3472 0-418.9184-187.5456-418.9184-418.9184 0-231.3472 187.5712-418.9184 418.9184-418.9184 231.3728 0 418.9184 187.5712 418.9184 418.9184 0 231.3728-187.5456 418.9184-418.9184 418.9184z" fill="#64AA44" ></path><path d="M332.8 307.2m51.2 0l0 0q51.2 0 51.2 51.2l0 332.8q0 51.2-51.2 51.2l0 0q-51.2 0-51.2-51.2l0-332.8q0-51.2 51.2-51.2Z" fill="#64AA44" ></path><path d="M588.8 307.2m51.2 0l0 0q51.2 0 51.2 51.2l0 332.8q0 51.2-51.2 51.2l0 0q-51.2 0-51.2-51.2l0-332.8q0-51.2 51.2-51.2Z" fill="#64AA44" ></path></symbol><symbol id="icon-pause" viewBox="0 0 1024 1024"><path d="M512 62a450 450 0 0 0-450 450 450 450 0 1 0 450-450z m0 832.5A382.95 382.95 0 0 1 129.5 512c0-210.85714247 171.51428585-382.5 382.5-382.5 210.85714247 0 382.5 171.51428585 382.5 382.5A383.14285753 383.14285753 0 0 1 512 894.5z" fill="#666666" ></path><path d="M630.15714249 324.47857167c17.48571417 0 31.82142832 18.25714249 31.82142918 40.62857082v293.78571504c0 22.37142833-14.33571415 40.62857168-31.82142918 40.62857079H614.21428585c-17.55 0-31.82142832-18.25714249-31.82142834-40.62857079v-293.78571504c0-22.37142833 14.33571415-40.62857168 31.82142832-40.62857081h15.94285664z m-220.37142832 1e-8c17.48571417 0 31.82142832 18.25714249 31.82142832 40.62857081v293.78571504c0 22.37142833-14.33571415 40.62857168-31.82142832 40.62857079h-15.94285664c-17.55 0-31.82142832-18.25714249-31.8214292-40.62857079v-293.78571504c0-22.37142833 14.33571415-40.62857168 31.8214292-40.62857081h15.94285664z" fill="#666666" ></path></symbol><symbol id="icon-error" viewBox="0 0 1024 1024"><path d="M512.00408604 961.87536934C263.69500537 961.87536934 62.4178206 760.59818369 62.4178206 512.28808174S263.69807011 62.70181631 512.00408604 62.70181631c248.28354141 0 449.58626543 201.27718477 449.58626542 449.58626543 0.00102129 248.31112412-201.30170273 449.5872876-449.58626542 449.5872876zM146.71441513 512.28808174c0 201.7450626 163.54767305 365.29069219 365.28967091 365.29069219 85.67162315 0 164.28830888-29.71940977 226.57934179-79.0845627L225.80102129 285.68422285c-49.36208818 62.31861562-79.08660615 140.9342792-79.08660616 226.6028376v0.00102129zM512.00408604 147.00147559c-85.67162315 0-164.28626543 29.71940977-226.6028376 79.08456269l512.78342783 512.78240654c49.39171435-62.28898945 79.10908067-140.90669737 79.10908066-226.57934179-0.00102129-201.74404042-163.54562959-365.28967089-365.29069219-365.2896709l0.0010213 0.00204345z" fill="#DB0000" ></path></symbol><symbol id="icon-all" viewBox="0 0 1024 1024"><path d="M138.166 303.633h747.642c19.529 0 35.514-15.632 35.514-34.78 0-19.124-15.785-34.756-35.514-34.756H138.166c-19.503 0-35.489 15.632-35.489 34.756 0 19.147 15.986 34.78 35.489 34.78z m747.642 173.7H138.166c-19.503 0-35.489 15.632-35.489 34.755 0 19.148 15.962 34.78 35.489 34.78h747.642c19.529 0 35.514-15.632 35.514-34.78 0-19.123-15.986-34.755-35.514-34.755z m0 243.06H138.166c-19.503 0-35.489 15.481-35.489 34.807 0 19.225 15.962 34.704 35.489 34.704h747.642c19.529 0 35.514-15.481 35.514-34.704 0-19.326-15.986-34.807-35.514-34.807z" fill="#0083BA" ></path></symbol><symbol id="icon-success" viewBox="0 0 1024 1024"><path d="M511.197728 63.61076c246.953462 0 447.150016 200.146413 447.150016 447.038476 0 246.892063-200.196555 447.038476-447.150016 447.038476-246.954485 0-447.150016-200.145389-447.150016-447.038476 0-246.892063 200.195531-447.038476 447.150016-447.038476z" fill="#64AA44" ></path><path d="M722.492038 374.556675L482.385519 682.69259c-0.597611 0.7552-1.457188 1.112334-2.115174 1.787716-0.847298 0.874927-1.341554 1.970888-2.322905 2.747577-0.713244 0.564865-1.582031 0.701988-2.331092 1.186012-1.482771 0.969071-2.989077 1.682315-4.603854 2.342348-1.734504 0.705058-3.40454 1.318018-5.211699 1.656733-1.730411 0.334621-3.405563 0.39295-5.169743 0.397043-1.76418-0.004093-3.439332-0.062422-5.169743-0.397043-1.808182-0.338714-3.478218-0.951675-5.212722-1.656733-1.614777-0.660032-3.121084-1.373277-4.603854-2.342348-0.748037-0.484024-1.617847-0.621147-2.331092-1.186012-0.980327-0.776689-1.475608-1.87265-2.322905-2.747577-0.656963-0.675382-1.51654-1.032516-2.115174-1.787716L299.061236 550.337143c-9.53619-12.041244-7.505951-29.53364 4.535294-39.06983 12.041244-9.53619 29.53364-7.505951 39.06983 4.535293L457.503828 624.51354l221.382063-284.491403c9.53619-12.041244 27.02961-14.072507 39.069831-4.535293 12.042267 9.53619 14.072507 27.028587 4.536316 39.069831z" fill="#FFFFFF" ></path></symbol><symbol id="icon-dingdan1" viewBox="0 0 1024 1024"><path d="M883.776 94.08c41.344 0 76.352 31.936 75.072 71.04v764.8c0 39.04-35.008 71.104-76.352 71.104H137.792c-40.128 0-72.768-32-72.768-71.104V165.12c0-39.104 31.36-71.04 72.768-71.04H296.96c7.616-30.848 37.76-54.592 72.768-54.592h80.256c9.92-23.616 33.792-39.04 61.44-39.04 27.456 0 51.264 15.36 61.312 39.04h78.976c35.2 0 65.28 23.808 72.768 54.592h159.232-0.064z m-141.696 622.72v-23.68c0-14.272-12.608-26.048-27.648-26.048H310.72c-15.04 0-27.584 11.776-27.584 26.048v23.744c0 14.208 12.544 26.048 27.584 26.048h403.648c15.104 0 27.584-11.84 27.584-26.048h0.128z m0-240.384v-23.68c0-14.208-12.608-26.112-27.648-26.112H310.72c-15.04 0-27.584 11.904-27.584 26.048v23.744c0 14.272 12.544 26.048 27.584 26.048h403.648c15.104 0 27.584-11.776 27.584-26.048h0.128z" fill="#3171F5" ></path><path d="M512.64 128.384c33.856 0 60.16 26.048 60.16 56.896 0 32-27.52 56.832-60.16 56.832-33.92 0-60.224-26.048-60.224-56.832 0-30.848 26.432-56.96 60.16-56.96z" fill="#3171F5" ></path></symbol></svg>',l=(l=document.getElementsByTagName("script"))[l.length-1].getAttribute("data-injectcss");if(l&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(e){console&&console.log(e)}}function s(){i||(i=!0,a())}t=function(){var e,t=document.createElement("div");t.innerHTML=o,o=null,(t=t.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",(e=document.body).firstChild?function(e,t){t.parentNode.insertBefore(e,t)}(t,e.firstChild):e.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),t()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(a=t,r=e.document,i=!1,function e(){try{r.documentElement.doScroll("left")}catch(t){return void setTimeout(e,50)}s()}(),r.onreadystatechange=function(){"complete"==r.readyState&&(r.onreadystatechange=null,s())})}(window);var Vs=function(e){function t(){return y(this,t),u(this,t,arguments)}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.style,n='<use xlink:href="#icon-'.concat(e.symbol,'" />');return l.default.createElement("svg",{className:"".concat("customer-view","-icon-svg"),dangerouslySetInnerHTML:{__html:n},style:t})}}]),t}(t.Component),Us=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).platDataAjax=function(){return xs.getPlatRFMInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){return e.sort((function(e,t){return Number(t.allAvgPayment||0)-Number(e.allAvgPayment||0)})),{list:e}})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},n.shopDataAjax=function(){return xs.getShopRFMInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){return e.sort((function(e,t){return Number(t.allAvgPayment||0)-Number(e.allAvgPayment||0)})),n.setState({shopTableLoading:!1}),{list:e}})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},n.thousandAndDecimal=function(e){return e?parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1,"):"0.00"},n.getColumn=function(e){var t=[{title:"平台名称",dataIndex:"platCode",align:"left",width:120,fixed:"left",render:function(t){var n;return l.default.createElement("div",{className:"plat-code-flex"},El.includes(t)?l.default.createElement(Vs,{symbol:"".concat(t,"01"),style:{width:"shop"===e?"16px":"24px",height:"shop"===e?"16px":"24px"}}):l.default.createElement("img",{width:"shop"===e?"16px":"24px",height:"shop"===e?"16px":"24px",src:"https://brand-guide.shuyun.com/IAM/717f6f9c6abf.svg"}),l.default.createElement("span",{className:"shop"===e?"shop-name":"plat-name"},(null===(n=function(e){var t,n={},a=O(kl);try{for(a.s();!(t=a.n()).done;){var r=t.value;n[r.plat]=r}}catch(e){a.e(e)}finally{a.f()}return n[e]}(t))||void 0===n?void 0:n.platName)||"未知"))}},{title:"总购买金额(元)",dataIndex:"allPayment",align:"right",width:128,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"allPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"总购买次数",dataIndex:"allCountBuy",align:"right",width:120,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"allCountBuy",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"平均客单价(元)",dataIndex:"allAvgPayment",align:"right",width:128,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"allAvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"首次购买日期",dataIndex:"firstCreated",align:"right",width:130,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"firstCreated",r,"date")},render:function(e){return l.default.createElement("span",null,e?bt.moment(e).format("yyyy-MM-dd"):"-")}},{title:"最近一次购买金额(元)",dataIndex:"lastPayment",align:"right",width:170,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"lastPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近一年购买金额(元)",dataIndex:"yearPayment",align:"right",width:170,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"yearPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近一年购买次数",dataIndex:"yearCountBuy",align:"right",width:150,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"yearCountBuy",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近一年平均客单价(元)",dataIndex:"yearAvgPayment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"yearAvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近30天购买金额(元)",dataIndex:"day30Payment",align:"right",width:180,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day30Payment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近30天购买次数",dataIndex:"day30BuyTimes",align:"right",width:150,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day30BuyTimes",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近30天平均客单价(元)",dataIndex:"day30AvgPayment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day30AvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近60天购买金额(元)",dataIndex:"day60Payment",align:"right",width:180,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day60Payment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近60天购买次数",dataIndex:"day60BuyTimes",align:"right",width:150,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day60BuyTimes",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近60天平均客单价(元)",dataIndex:"day60AvgPayment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day60AvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近90天购买金额(元)",dataIndex:"day90Payment",align:"right",width:180,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day90Payment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近90天购买次数",dataIndex:"day90BuyTimes",align:"right",width:150,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day90BuyTimes",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近90天平均客单价(元)",dataIndex:"day90AvgPayment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day90AvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近180天购买金额(元)",dataIndex:"day180Payment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day180Payment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近180天购买次数",dataIndex:"day180BuyTimes",align:"right",width:158,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day180BuyTimes",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近180天平均客单价(元)",dataIndex:"day180AvgPayment",align:"right",width:198,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day180AvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近730天购买金额(元)",dataIndex:"day730Payment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day730Payment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近730天购买次数",dataIndex:"day730BuyTimes",align:"right",width:158,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day730BuyTimes",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近730天平均客单价(元)",dataIndex:"day730AvgPayment",align:"right",width:198,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day730AvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}}];return"shop"===e&&t.splice(1,0,{title:"店铺名称",dataIndex:"shopName",align:"left",width:180,fixed:"left",ellipsis:!0,render:function(e){return l.default.createElement(r.Tooltip,{content:e,placement:"top-left"},l.default.createElement("span",null,e||"-"))}}),t},n.sortFun=function(e,t,n,a,r,i){var o=t[a]||"",l=n[a]||"";return"date"===i?"ASC"===r.sortBy?bt.moment(o).format("YYYYMMDD")-bt.moment(l).format("YYYYMMDD"):"DESC"===r.sortBy?bt.moment(l).format("YYYYMMDD")-bt.moment(o).format("YYYYMMDD"):0:"ASC"===r.sortBy?Number(o)-Number(l):"DESC"===r.sortBy?Number(l)-Number(o):0},n.state={customerInfo:{},rfmLoading:!0},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){var e=this;xs.getRfmTenantInfo(this.context.domain,this.context.serverName,this.context.uniId).then((function(t){(t=t||{}).first=e.dealData(t.firstShopId,t.firstShopName),t.last=e.dealData(t.lastShopId,t.lastShopName),t.bought=e.dealData2(t.platShopNames),e.setState({customerInfo:t,rfmLoading:!1})})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))}},{key:"dealData",value:function(e,t){var n=[],a=e?e.split(","):[],r=t?t.split(","):[];return a.forEach((function(e,t){var a,i=e.split("|"),o=(null===(a=kl.find((function(e){return e.plat===i[0]})))||void 0===a?void 0:a.platName)||"未知",l=r[t];n.push("".concat(o," | ").concat(l))})),n}},{key:"dealData2",value:function(e){var t=[];e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){var a,r=(null===(a=kl.find((function(e){return e.plat===n})))||void 0===a?void 0:a.platName)||"未知";t.push("".concat(r," | ").concat(e))}))}));return t}},{key:"render",value:function(){var e=this.state,t=e.customerInfo,n=t.allPayment,a=t.allCountBuy,i=t.allAvgPayment,o=t.first,s=t.last,u=t.bought;return e.rfmLoading?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"rfm-module-new"},l.default.createElement("section",{className:"common-rfm-block allRfm"},l.default.createElement("div",{className:"common-title"},l.default.createElement("div",{className:"common-title-left"},l.default.createElement("div",null),l.default.createElement("p",null,"全渠道RFM"))),l.default.createElement("div",{className:"allRfm-info"},l.default.createElement("div",{className:"left"},l.default.createElement("div",{className:"left-num-info"},l.default.createElement("img",{src:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%206%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%AE%A2%E6%88%B7%E8%A7%86%E5%9B%BE%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E6%B8%A0%E9%81%93%E5%AE%A2%E6%88%B7%E7%94%BB%E5%83%8F-RFM%E6%A0%87%E7%AD%BE%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%28-528%2C%20-327%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%22%20transform%3D%22translate%28360%2C%20259%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%28168%2C%2068%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22%E6%A4%AD%E5%9C%86%E5%BD%A2%22%20fill%3D%22%23FFF5E6%22%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%2224%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22pic%2Ficon%2F%E9%92%B1%E5%B8%8101%22%20transform%3D%22translate%2815.25%2C%2014%29%22%20fill%3D%22%23FD830A%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M15.703125%2C13%20L15.703125%2C15.0917969%20C15.703125%2C16.6328125%2012.5808408%2C17.8828125%208.7265625%2C17.8828125%20C4.875%2C17.8828125%201.75195313%2C16.6328125%201.75195313%2C15.0917969%20L1.75195313%2C13%20C1.75195313%2C14.5410156%204.87304688%2C15.7910156%208.7265625%2C15.7910156%20C12.578125%2C15.7910156%2015.7011719%2C14.5410156%2015.703125%2C13%20Z%20M15.703125%2C9.5%20L15.703125%2C11.5917969%20C15.703125%2C13.1328125%2012.5808408%2C14.3828125%208.7265625%2C14.3828125%20C4.875%2C14.3828125%201.75195313%2C13.1328125%201.75195313%2C11.5917969%20L1.75195313%2C9.5%20C1.75195313%2C11.0410156%204.87304688%2C12.2910156%208.7265625%2C12.2910156%20C12.578125%2C12.2910156%2015.7011719%2C11.0410156%2015.703125%2C9.5%20Z%20M15.703125%2C6.11328125%20L15.703125%2C8.20507813%20C15.703125%2C9.74609375%2012.5808408%2C10.9960938%208.7265625%2C10.9960938%20C4.875%2C10.9960938%201.75195313%2C9.74609375%201.75195313%2C8.20507813%20L1.75195313%2C6.11328125%20C1.75195313%2C7.65429688%204.87304688%2C8.90429688%208.7265625%2C8.90429688%20C12.578125%2C8.90429688%2015.7011719%2C7.65429688%2015.703125%2C6.11328125%20Z%20M8.72460938%2C0%20C12.5761719%2C0%2015.6992188%2C1.25%2015.6992188%2C2.79101563%20L15.6992188%2C4.8828125%20C15.6992188%2C6.42382812%2012.5761719%2C7.67382812%208.72460938%2C7.67382812%20C4.87304688%2C7.67382812%201.75%2C6.42382812%201.75%2C4.8828125%20L1.75%2C2.79101563%20C1.75%2C1.25%204.87304688%2C0%208.72460938%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",className:"img"}),l.default.createElement("div",{className:"num"},l.default.createElement("p",null,"总购买金额"),l.default.createElement("p",null,n?this.thousandAndDecimal(Number(n)):"0.00"))),l.default.createElement("div",{className:"left-num-info"},l.default.createElement("img",{src:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%204%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%AE%A2%E6%88%B7%E8%A7%86%E5%9B%BE%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E6%B8%A0%E9%81%93%E5%AE%A2%E6%88%B7%E7%94%BB%E5%83%8F-RFM%E6%A0%87%E7%AD%BE%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%28-528%2C%20-399%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%22%20transform%3D%22translate%28360%2C%20259%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-4%22%20transform%3D%22translate%28168%2C%20140%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22%E6%A4%AD%E5%9C%86%E5%BD%A2%E5%A4%87%E4%BB%BD%22%20fill%3D%22%23EDF4FF%22%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%2224%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22pic%2Ficon%2F%E9%92%B1%E5%B8%8101%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%2814.5%2C%2014%29%22%20fill%3D%22%230055CC%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M8.305632%2C7.71566059%20L10.2408454%2C18.9137493%20C10.2408454%2C18.9137493%2011.6712205%2C17.4442372%2012.8518906%2C16.4189647%20L15.4480078%2C19.8875551%20C15.5525039%2C20.0284115%2015.7804954%2C20.0378923%2015.9542032%2C19.9105797%20L17.0629475%2C19.1020094%20C17.2380123%2C18.9746969%2017.2950102%2C18.7566402%2017.189157%2C18.6157837%20L14.6636086%2C15.2420006%20C15.9827021%2C14.7110801%2018.1554066%2C14.1070226%2018.1554066%2C14.1070226%20L8.305632%2C7.71566059%20Z%20M5.18160593%2C12.886718%20L2.30049936%2C14.9887298%20C1.86487279%2C15.3070113%201.78616144%2C15.9191951%202.13086284%2C16.3729155%20C2.47556424%2C16.8252814%203.11204045%2C16.9444676%203.54630992%2C16.6275406%20L6.4274165%2C14.5255288%20C6.87254271%2C14.2004754%206.94718278%2C13.5625582%206.60248138%2C13.1101922%20C6.25913708%2C12.6564719%205.62673215%2C12.5616646%205.18160593%2C12.886718%20Z%20M18.7810261%2C4.2226912%20C18.4363247%2C3.77032526%2017.8134194%2C3.66874608%2017.3587935%2C4.0005714%20L14.4980433%2C6.08903933%20C14.0434175%2C6.42086465%2013.9647061%2C7.03440289%2014.3094075%2C7.48676884%20C14.6541089%2C7.93913479%2015.2905851%2C8.05832102%2015.745211%2C7.7264957%20L18.6059612%2C5.63802777%20C19.0605871%2C5.30620245%2019.1257275%2C4.67505715%2018.7810261%2C4.2226912%20Z%20M5.41366868%2C2.06108626%20C5.07575275%2C1.61820104%204.45420455%2C1.51662186%203.9982216%2C1.84844718%20C3.57209467%2C2.15995666%203.48388369%2C2.77891247%203.82179963%2C3.22179769%20L6.05964453%2C6.15946756%20C6.39756047%2C6.60370717%207.02860831%2C6.69716002%207.45473524%2C6.38565053%20C7.9093611%2C6.05382521%207.98942953%2C5.44164136%207.65151359%2C4.99740175%20L5.41366868%2C2.06108626%20Z%20M11.0646003%2C5.55134687%20C11.619651%2C5.64073655%2012.1299176%2C5.26827956%2012.2018435%2C4.72110638%20L12.651041%2C1.16989826%20C12.7229669%2C0.62407947%2012.3334814%2C0.112120405%2011.7702882%2C0.0132500037%20C11.2152375%2C-0.0761396742%2010.7049709%2C0.296317317%2010.633045%2C0.842136109%20L10.1824904%2C4.39469861%20C10.1132787%2C4.94187179%2010.5027641%2C5.45247647%2011.0646003%2C5.55134687%20Z%20M5.6348747%2C9.51428926%20C5.68915838%2C8.96576169%205.29967295%2C8.45515702%204.75412191%2C8.35764101%20L1.14832815%2C7.76577299%20C0.574278178%2C7.6899272%200.0735111853%2C8.05561224%200.0110849477%2C8.59601348%20C-0.0716976717%2C9.16621127%200.317787767%2C9.67681595%200.891837735%2C9.75266174%20L4.4976315%2C10.3445298%20C5.04318253%2C10.439337%205.54530662%2C10.0736519%205.6348747%2C9.51428926%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",className:"img"}),l.default.createElement("div",{className:"num"},l.default.createElement("p",null,"总购买次数"),l.default.createElement("p",null,a?Number(a):"0"))),l.default.createElement("div",{className:"left-num-info"},l.default.createElement("img",{src:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%AE%A2%E6%88%B7%E8%A7%86%E5%9B%BE%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E6%B8%A0%E9%81%93%E5%AE%A2%E6%88%B7%E7%94%BB%E5%83%8F-RFM%E6%A0%87%E7%AD%BE%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%28-528%2C%20-471%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%22%20transform%3D%22translate%28360%2C%20259%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%28168%2C%20212%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22%E6%A4%AD%E5%9C%86%E5%BD%A2%E5%A4%87%E4%BB%BD-2%22%20fill%3D%22%23EEEFFF%22%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%2224%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22pic%2Ficon%2F%E9%92%B1%E5%B8%8101%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%2815%2C%2014%29%22%20fill%3D%22%23555BB3%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M1.97139943%2C14.0392884%20L0.0426787549%2C17.1041791%20C-0.0115916797%2C17.1923954%20-0.0142876643%2C17.3035672%200.0356411106%2C17.3943838%20C0.0855698856%2C17.4852003%200.180226405%2C17.5412976%200.282734107%2C17.5408211%20L2.8405654%2C17.6835694%20C2.91177183%2C17.6854261%202.97848819%2C17.7192646%203.02267637%2C17.7759359%20L4.58717511%2C19.8919701%20C4.6468881%2C19.9606531%204.73281404%2C20%204.82309159%2C20%20C4.91336914%2C20%204.99929508%2C19.9606531%205.05900806%2C19.8919701%20L6.85528443%2C16.8690642%20C6.89989301%2C16.80739%206.91550145%2C16.728934%206.89796349%2C16.6545375%20C6.88042553%2C16.5801409%206.83151659%2C16.5173351%206.76422893%2C16.482804%20L2.31906582%2C13.9637158%20C2.19818518%2C13.9241824%202.06569705%2C13.9529815%201.97139943%2C14.0392884%20L1.97139943%2C14.0392884%20Z%20M16.0684437%2C13.9889067%20L17.9557756%2C17.0621943%20C18.0107147%2C17.1478167%2018.0147536%2C17.2571583%2017.9662851%2C17.3467112%20C17.9178167%2C17.4362641%2017.8247043%2C17.4914997%2017.723998%2C17.4904393%20L15.1661667%2C17.6331876%20C15.0912345%2C17.6369288%2015.021669%2C17.6737464%2014.9757779%2C17.7339511%20L13.419557%2C19.8415883%20C13.359844%2C19.9102714%2013.273918%2C19.9496182%2013.1836405%2C19.9496182%20C13.0933629%2C19.9496182%2013.007437%2C19.9102714%2012.947724%2C19.8415883%20L11.1514477%2C16.7934915%20C11.1068391%2C16.7318173%2011.0912306%2C16.6533614%2011.1087686%2C16.5789648%20C11.1263065%2C16.5045682%2011.1752155%2C16.4417625%2011.2425031%2C16.4072314%20L15.6876662%2C13.8881431%20C15.7503366%2C13.8463043%2015.8275576%2C13.8333862%2015.9001528%2C13.8525968%20C15.9727481%2C13.8718073%2016.0339077%2C13.9213445%2016.0684437%2C13.9889067%20L16.0684437%2C13.9889067%20Z%20M15.6628329%2C3.63545409%20L9.66144884%2C0.175906276%20C9.21501724%2C-0.0586354255%208.6841038%2C-0.0586354255%208.2376722%2C0.175906276%20L2.27767697%2C3.58507233%20C1.85291648%2C3.83363122%201.58634021%2C4.28856406%201.5740664%2C4.7858377%20L1.5740664%2C11.6461546%20C1.58634021%2C12.1434283%201.85291648%2C12.5983611%202.27767697%2C12.84692%20L8.32044992%2C16.2980709%20C8.76177797%2C16.5414693%209.29462074%2C16.5414693%209.73594879%2C16.2980709%20L15.695944%2C12.9392866%20C16.1109231%2C12.6923774%2016.368384%2C12.243296%2016.3747364%2C11.7553151%20L16.3747364%2C4.87820428%20C16.3770769%2C4.36366991%2016.1046843%2C3.88815158%2015.6628329%2C3.63545409%20Z%20M13.0387795%2C6.80950525%20L9.54556004%2C11.9400483%20C9.39106712%2C12.1436684%209.15317356%2C12.2643279%208.8998939%2C12.2675297%20C8.64518685%2C12.2623218%208.40703128%2C12.1384322%208.25422775%2C11.9316513%20L4.89345266%2C6.80110829%20C4.77955096%2C6.63797062%204.73483031%2C6.43534219%204.76928609%2C6.23851192%20C4.80747215%2C6.03186384%204.92703941%2C5.84993051%205.10039694%2C5.73469427%20C5.45419003%2C5.54083069%205.89415188%2C5.63292367%206.14339611%2C5.95301525%20L8.85850505%2C10.075923%20L11.7060583%2C5.87744261%20C11.8199259%2C5.70751844%2011.9964562%2C5.59127109%2012.1958126%2C5.55493345%20C12.395169%2C5.51859581%2012.6005517%2C5.56523005%2012.765613%2C5.68431251%20C12.9798792%2C5.80336339%2013.131361%2C6.012345%2013.1795016%2C6.25530584%20C13.2176006%2C6.45211983%2013.1658689%2C6.65585247%2013.0387795%2C6.80950525%20L13.0387795%2C6.80950525%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",className:"img"}),l.default.createElement("div",{className:"num"},l.default.createElement("p",null,"平均客单价"),l.default.createElement("p",null,i?this.thousandAndDecimal(Number(i)):"0.00")))),l.default.createElement("div",{className:"right"},l.default.createElement("div",{className:"right-table-title"},"首次购买过的平台/店铺"),o&&o.length?o.map((function(e){return l.default.createElement("div",{className:"right-table-info"},e)})):l.default.createElement("div",{className:"right-table-info"},"-"),l.default.createElement("div",{className:"right-table-title"},"最后一次购买过的平台/店铺"),s&&s.length?s.map((function(e){return l.default.createElement("div",{className:"right-table-info"},e)})):l.default.createElement("div",{className:"right-table-info"},"-"),l.default.createElement("div",{className:"right-table-title"},"购买过的平台/店铺"),u&&u.length?u.map((function(e){return l.default.createElement("div",{className:"right-table-info"},e)})):l.default.createElement("div",{className:"right-table-info"},"-")))),l.default.createElement("section",{className:"common-rfm-block platRfm"},l.default.createElement("div",{className:"common-title"},l.default.createElement("div",{className:"common-title-left"},l.default.createElement("div",null),l.default.createElement("p",null,"平台RFM标签"))),l.default.createElement("div",{className:"platRfm-info"},l.default.createElement(r.CTable,{rowKey:"id",columnData:this.getColumn(),ajaxData:this.platDataAjax,sortWidthOriginStatus:!0,dataKey:"list",emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("p",{style:{"margin-top":"8px"}},"暂无数据"))}}))),l.default.createElement("section",{className:"common-rfm-block"},l.default.createElement("div",{className:"common-title"},l.default.createElement("div",{className:"common-title-left"},l.default.createElement("div",null),l.default.createElement("p",null,"店铺RFM标签"))),l.default.createElement("div",{className:"shopRfm-info"},l.default.createElement(r.CTable,{rowKey:"id",columnData:this.getColumn("shop"),sortWidthOriginStatus:!0,ajaxData:this.shopDataAjax,dataKey:"list",emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("p",{style:{"margin-top":"8px"}},"暂无数据"))}}))))}}]),t}(l.default.Component);Us.contextType=Jl;var Hs=function(){function e(){y(this,e)}var t,n,a,r,i,o,l,s,u,c,d;return w(e,[{key:"getCustomerMarkedTagList",value:(d=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/new/tag/?tagType=").concat(r),e.next=3,ye.get(i);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return d.apply(this,arguments)})},{key:"saveDefineTag",value:(c=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/tag"),e.next=3,ye.post(i,r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return c.apply(this,arguments)})},{key:"updateDefineTag",value:(u=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/tag"),e.next=3,ye.put(i,r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return u.apply(this,arguments)})},{key:"getCustomerCanSelectTagList",value:(s=g(p().mark((function e(t,n,a,r,i,o){var l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l="".concat(t,"/").concat(n,"/tagManage/").concat(r,"/groupInfo?platCode=").concat(i,"&shopId=").concat(o),e.next=3,ye.get(l);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a,r,i){return s.apply(this,arguments)})},{key:"DeleteCustomerDefineTag",value:(l=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/tag/").concat(r),e.next=3,ye.delete(i);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return l.apply(this,arguments)})},{key:"getRFMTagsInfo",value:(o=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerRfm/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return o.apply(this,arguments)})},{key:"getSoloPlatRfmInfo",value:(i=g(p().mark((function e(t,n,a,r,i){var o;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(t,"/").concat(n,"/customerRfm/").concat(a,"?platCode=").concat(r,"&shopId=").concat(i),e.next=3,ye.get(o);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a,r){return i.apply(this,arguments)})},{key:"getPlatShopList",value:(r=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerTag/plat/shop?uniId=").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"getMarkedOutsideTagList",value:(a=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/qw/tag/?tagType=").concat(r),e.next=3,ye.get(i);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,r){return a.apply(this,arguments)})},{key:"getCustomerInfo",value:(n=g(p().mark((function e(t){var n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(t,"/data-manage-x/1.0/customer/platform"),e.next=3,ye.get(n);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"batchUpdateTag",value:(t=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/data-manage-x/1.0/customerTag/").concat(n,"/tag/batch"),e.next=3,ye.put(r,a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n,a){return t.apply(this,arguments)})}]),e}(),qs=new Hs,Ws=function(e){var n=t.useRef(),a=I(t.useState(e.value||[]),2),i=a[0],o=a[1],s=I(t.useState(e.maxKeywordsNum||100),2),u=s[0],c=I(t.useState(""),2),d=c[0],f=c[1],p=(I(t.useState(!1),2),function(e){f(e?e.target.value:"")}),h=l.default.createElement(r.Input,{className:"test-test-test",placeholder:"请输入",maxLength:20,value:d,onChange:p,ref:n,style:{marginRight:10,width:"168px"}}),m=e.disabled;return l.default.createElement("div",{style:{display:"flex",alignItems:"center",minHeight:"32px"}},l.default.createElement("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",marginTop:"-14px"}},i.map((function(t,n){return l.default.createElement(r.Tooltip,{key:t,content:t},l.default.createElement("section",{color:"gray",className:"choose-tag-show"},l.default.createElement("span",null,t),l.default.createElement(r.Popover,{trigger:"click",content:"确定要删除该关键字吗?",confirmText:"确定",showCancelBtn:!0,showConfirmBtn:!0,onConfirmClick:function(){!function(t){if(!e.disabled){r.Message.success("关键字删除成功");var n=i.filter((function(e,n){return n!==t}));o(n),e.onChange(n)}}(n)}},m?"":l.default.createElement(r.Icon,{type:"close"}))))})),l.default.createElement(r.Popover,{trigger:"click",content:h,confirmText:"确定",showCancelBtn:!0,showConfirmBtn:!0,onCancelClick:function(){p()},onVisibleChange:function(e){!function(e){e&&setTimeout((function(){n.current.inputRef.current.focus()}))}(e)},placement:"bottom",width:200,onConfirmClick:function(){!e.disabled&&u>i.length&&(d?/^[\u4e00-\u9fa5\w-.();]+$/g.test(d)&&20>=(null==d?void 0:d.length)?i.find((function(e){return e===d}))?r.Message.error("关键字重复,请重新输入"):(o([].concat(N(i),[d])),f(""),e.onChange([].concat(N(i),[d]))):r.Message.error("只能输入1-20位中文、英文、数字、中文括号、中文分号、.(点号)、_(下划线)、-(减号) 。"):r.Message.error("关键字不能为空"))}},l.default.createElement(r.Button,{type:"text",icon:"plus-solid",disabled:i.length>=u||m,size:"small",style:{marginTop:"14px"}},"添加字符"))))},Gs=r.CPicker.MonthPicker,Ks=150;function Ys(e){var t=new Date(e),n=new Date;if(t.getTime()>n.getTime())return"-";var a=t.getFullYear(),r=t.getMonth()+1,i=t.getDate(),o={year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate()},l=o.year-a,s=0,u=0;(r>o.month?(l-=1,s=12+o.month-r):s=o.month-r,i>o.day)?(u=new Date(o.year,o.month,0).getDate()+o.day-i,0>(s-=1)&&(s=11,l-=1)):u=o.day-i;(l>Ks||l===Ks&&s>0||l===Ks&&0===s&&u>0)&&(l=151,s=0,u=0);var c=[l,s,u].reduce((function(e,t,n){return t&&(e="".concat(e).concat(t).concat(0===n?"岁":1===n?"月":"天")),e}),"");return c||"0天"}function Qs(e){var t=new Date(e);t=new Date(t.getTime()-24192e6);var n=(new Date).getTime()-t.getTime(),a=Math.floor(n/864e5/7);return a>40||0>a?"-":"".concat(a,"周")}var Js=function(){for(var e="",t=1;3>=t;t+=1)e+=Math.random().toString(32).substr(2);return e.replace(/^\d+/,"")},Xs=function(e){var n=t.useRef(),a=r.Field.useField(),i=I(t.useState(!1),2),o=i[0],s=i[1],u=I(t.useState([]),2),c=u[0],d=u[1],h=I(t.useState([]),2),m=h[0],v=h[1],y=I(t.useState({}),2),b=y[0],w=y[1],C=I(t.useState({}),2),S=C[0],_=C[1],x=I(t.useState(!0),2),A=x[0],D=x[1],T=I(t.useState(""),2),O=T[0],M=T[1],F=I(t.useState({}),2),L=F[0],P=F[1],B=I(t.useState({}),2),R=B[0],z=B[1],j=I(t.useState({group:{},tag:{}}),2),V=j[0],U=j[1],H=I(t.useState(e.selectTags),2),q=H[0],W=H[1],G=I(t.useState([]),2),K=G[0],Y=G[1],Q=I(t.useState({}),2),J=Q[0],X=Q[1],Z=I(t.useState(!1),2),$=Z[0],ee=Z[1],te=I(t.useState({}),2),ne=te[0],ae=te[1],re=I(t.useState(e.searchShop),2),ie=re[0],oe=re[1],le=(I(t.useState([]),2),I(t.useState({}),2),I(t.useState([]),2)),se=le[0],ue=le[1],ce=I(t.useState([]),2),de=ce[0],fe=ce[1],pe=I(t.useState([]),2),he=pe[0],me=pe[1],ve=I(t.useState([]),2),ge=ve[0],ye=ve[1],be=I(t.useState({}),2),we=be[0],ke=be[1],Ee=I(t.useState({}),2),Ce=Ee[0],Se=Ee[1],_e=t.useCallback((function(e){switch(e){case"group":return m||[];case"tag":return b[V.group.groupId]||[];default:return[]}}),[V,m,b]);t.useEffect((function(){var t=function(){var t=g(p().mark((function t(){var n,a,r,i,o,l;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n="shop"!==e.type?e.tagList:e.tagList.reduce((function(e,t){return e.concat(t.groups)}),[]),a=n.reduce((function(e,t){var n=t.tags.reduce((function(e,t){var n=Object.assign(t,{tagType:t.valueType});if(os(n)&&n.childTags){var a=n.tagId,r=n.tagName,i=n.childTags.reduce((function(e,t){var n=t.instanceName,i=t.tags.reduce((function(e,t){var i=Object.assign(t,{tagType:t.valueType}),o=i.tagValue,l="".concat(i.tagId,"&*&").concat(r,"&*&").concat(a,"&*&").concat(n,"&*&").concat(n);return(Zl(i)||ns(i)||as(i))&&(e[l]=o.length&&o[0]?new Date(o[0]):null),$l(i)&&(e[l]=o.length&&o[0]?o[0]:""),(rs(i)||is(i))&&(e[l]=o.length?o[0]:""),es(i)&&(e[l]=o.length?o[0]:""),ls(i)&&(e[l]=o.length?o[0]:""),ss(i)&&(e[l]=o.length?o:[]),ts(i)&&(e[l]=o.length?o:[]),e}),{});return Object.assign(e,i)}),{});e.tagIdMapValue=Object.assign(e.tagIdMapValue,i),e.tagIdForInstance[a]=n.childTags}var o=n.tagValue;return(Zl(n)||ns(n)||as(n))&&(e.tagIdMapValue[n.tagId]=o.length&&o[0]?new Date(o[0]):null),$l(n)&&(e.tagIdMapValue[n.tagId]=o.length&&o[0]?o[0]:""),(rs(n)||is(n))&&(e.tagIdMapValue[n.tagId]=o.length?o[0]:""),es(n)&&(e.tagIdMapValue[n.tagId]=o.length?o[0]:""),ls(n)&&(e.tagIdMapValue[n.tagId]=o.length?o[0]:""),ss(n)&&(e.tagIdMapValue[n.tagId]=o.length?o:[]),ts(n)&&(e.tagIdMapValue[n.tagId]=o.length?o:[]),e}),{allInstanceMap:{},tagIdMapValue:{},tagIdForInstance:{}});return{allInstanceMap:f(f({},e.allInstanceMap),n.allInstanceMap),tagIdMapValue:f(f({},e.tagIdMapValue),n.tagIdMapValue),tagIdForInstance:f(f({},e.tagIdForInstance),n.tagIdForInstance)}}),{tagIdMapValue:{},tagIdForInstance:{},allInstanceMap:{}}),r="",i="",ae(JSON.parse(JSON.stringify(a.tagIdMapValue))),ke(JSON.parse(JSON.stringify(a.tagIdMapValue))),Se(JSON.parse(JSON.stringify(a.tagIdForInstance))),"shop"===e.type&&(Ae(),(null==ie?void 0:ie.length)?(oe([ie[0],ie[1]]),r=ie[0],i=ie[1]):(oe([e.shopsPermission[0].platCode,e.shopsPermission[0].shops[0].shopId]),r=e.shopsPermission[0].platCode,i=e.shopsPermission[0].shops[0].shopId)),o="shop"===e.type?r:e.platCode,l="shop"===e.type?i:e.shopId,t.next=12,xe(o,l,a.tagIdForInstance,q);case 12:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[]);var xe=t.useCallback(function(){var t=g(p().mark((function t(n,a,i,o){var l,s,u,c,h,m;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,D(!0),t.next=4,qs.getCustomerCanSelectTagList(e.context.domain,e.context.serverName,e.context.uniId,1,"shop"===e.type?n:e.platCode,"shop"===e.type?a:e.shopId);case 4:l=t.sent.data.reduce((function(e,t){var n=t.tagList.reduce((function(e,t){if(Array.isArray(t.tagValue)&&t.tagValue.length>0&&(e[t.tagId]=t.tagValue),t.childTags)for(var n=0;t.childTags.length>n;n++){var a=t.childTags[n];Array.isArray(a.tagValue)&&a.tagValue.length>0&&(e[a.tagId]=a.tagValue)}return e}),{});e.allTagValue=f(f({},e.allTagValue),n);var a=t.tagList.reduce((function(e,n){if(e[n.tagId]=e[n.tagId]?{tagName:n.tagName,tagId:n.tagId,groupName:t.groupName,disabled:os(n)&&n.childTags&&0===n.childTags.length,relatedTagInfo:n.relatedTagInfo,applyTagId:e[n.tagId].applyTagId}:{tagName:n.tagName,tagId:n.tagId,groupName:t.groupName,disabled:os(n)&&n.childTags&&0===n.childTags.length,relatedTagInfo:n.relatedTagInfo},n.relatedTagInfo){var a=n.relatedTagInfo.tagId;e[a]?e[a].applyTagId=n.tagId:e[a]={applyTagId:n.tagId}}return e}),{}),r=k({},t.groupId,{groupName:t.groupName,groupId:t.groupId,disabled:0===t.tagList.length});e.allGroupTagNameId=f(f(f({},e.allGroupTagNameId),a),r),e.allTagGroupMap[t.groupId]=Object.values(t.tagList.reduce((function(e,t){if(t.relatedTagInfo){var n=t.relatedTagInfo.tagId;e[n]?e[n].applyTagId=t.tagId:e[n]={applyTagId:t.tagId}}if(e[t.tagId]=e[t.tagId]?Object.assign(e[t.tagId],t):t,os(t))if(!t.childTags||t.childTags&&0===t.childTags.length)e[t.tagId]=Object.assign(t,{disable:!0});else{var a=t.childTags.reduce((function(e,t){if(t.relatedTagInfo){var n=t.relatedTagInfo.tagId;e[n]?e[n].applyTagId=t.tagId:e[n]={applyTagId:t.tagId}}return e[t.tagId]=e[t.tagId]?Object.assign(e[t.tagId],t):t,e}),{});e[t.tagId]=Object.assign(t,{childTags:Object.values(a)})}return e}),{}))||[];var o=Object.values(e.allTagGroupMap[t.groupId]).reduce((function(e,t){return t.disable&&e.push(t.tagId),e}),[]);e.allTagGroup=e.allTagGroup.concat({groupId:t.groupId,groupName:t.groupName,disable:0===t.tagList.length||t.tagList.every((function(e){return o.includes(e.tagId)}))}),e.canNotEditTagList=e.canNotEditTagList.concat(o);var l=t.tagList.reduce((function(e,t){if(os(t)){var n=t.childTags?t.childTags.reduce((function(e,t){return e[t.tagId]=t,e}),{}):{};(e=f(f({},e),n))[t.tagId]=Object.assign(t,{instance:i[t.tagId]&&i[t.tagId].map((function(e,t){return{id:e.instanceName,name:e.instanceName}}))||[{id:Js(),name:""}]})}else e[t.tagId]=t;return e}),{});e.allTagIdMapTagInfo=f(f({},e.allTagIdMapTagInfo),l);var s=t.tagList.reduce((function(e,t){return e[t.tagId]=t,e}),{});return e.allTagIdMapTagInfoExcludeChild=f(f({},e.allTagIdMapTagInfoExcludeChild),s),e}),{allTagValue:{},allTagGroupMap:{},allTagGroup:[],allTagIdMapTagInfo:{},allTagIdMapTagInfoExcludeChild:{},allGroupTagNameId:{},canNotEditTagList:[]}),_(l.allTagValue),v(l.allTagGroup),w(l.allTagGroupMap),P(l.allTagIdMapTagInfo),z(l.allTagIdMapTagInfoExcludeChild),X(l.allGroupTagNameId),me(l.canNotEditTagList),D(!1),o&&o.length&&(u=JSON.parse(JSON.stringify(l.allTagIdMapTagInfo)),(m=(h=u[c=o[0]]).applyTagId||(null===(s=h.relatedTagInfo)||void 0===s?void 0:s.tagId))?(d([h,u[m]]),W([c,m])):d([h])),t.next=21;break;case 17:t.prev=17,t.t0=t.catch(0),r.Message.error(t.t0.msg||"内部错误,请联系数据客服"),D(!1);case 21:case"end":return t.stop()}}),t,null,[[0,17]])})));return function(e,n,a,r){return t.apply(this,arguments)}}(),[]),Ae=function(){var t=e.shopsPermission.map((function(e){return{value:e.platCode,label:e.platName,children:e.shops.map((function(e){return{uniShopId:e.uniShopId,label:e.shopName,value:e.shopId}}))}}));ue(t)},Ie=function(){e.onClose()},Ne=function(){a.validate((function(t,n){if(!t)if(0!==Object.keys(n).length){var a=[];Object.keys(n).forEach((function(e){2===e.split("&*&").length&&a.push(e)}));var i=[];try{a.forEach((function(e){var t;if(t=Object.keys(n).some((function(t){var a=t!==e&&t.includes(e),r=n[t];return!!a&&(Array.isArray(r)?r&&r.length:r||0===r)})),!t){var a=n[e]||e.split("&*&")[1];throw r.Message.error("【".concat(a,"】标签实例请至少配置一个子标签条件,才能创建成功")),Error("validate error")}i.push("".concat(e.split("&*&")[0],"&*&").concat(n[e.split("&*&")[1]]||e.split("&*&")[1]))}))}catch(e){return}console.log(n,a,"----提交的数据");try{var o=[];i.forEach((function(e){if(o.includes(e))throw r.Message.error("该实例名称【".concat(e.split("&*&")[1],"】已存在,请更换名称")),Error("validate error");o.push(e)}))}catch(e){return}var l=Object.keys(n).reduce((function(e,t){var a=L[t]||{};if("".concat(t).includes("&*&")){var r=t.split("&*&"),i=r[0],o=r[4]||n[r[3]],l=r[2],s=L[i];!n[t]&&0!==n[t]||n[t]&&0===n[t].length?e.push({tagId:i,isDel:!0,instanceName:o,parentTagId:l,dependentId:t,tagValue:null}):((Zl(s)||ns(s)||as(s))&&e.push({tagId:i,tagValue:[bt.moment(n[t]).format("yyyy-MM-dd")],instanceName:o,parentTagId:l,dependentId:t}),$l(s)&&e.push({tagId:i,tagValue:[n[t]],instanceName:o,parentTagId:l,dependentId:t}),(rs(s)||is(s))&&e.push({tagId:i,tagValue:[n[t]],instanceName:o,parentTagId:l,dependentId:t}),es(s)&&e.push({tagId:i,tagValue:[n[t]],instanceName:o,parentTagId:l,dependentId:t}),ls(s)&&e.push({tagId:i,tagValue:[n[t]],instanceName:o,parentTagId:l,dependentId:t}),ss(s)&&e.push({tagId:i,tagValue:n[t],instanceName:o,parentTagId:l,dependentId:t}),ts(s)&&e.push({tagId:i,tagValue:n[t],instanceName:o,parentTagId:l,dependentId:t}))}return(Zl(a)||ns(a)||as(a))&&e.push({tagId:t,tagValue:[bt.moment(n[t]).format("yyyy-MM-dd")]}),$l(a)&&e.push({tagId:t,tagValue:[n[t]]}),(rs(a)||is(a))&&e.push({tagId:t,tagValue:[n[t]]}),es(a)&&e.push({tagId:t,tagValue:[n[t]]}),ls(a)&&e.push({tagId:t,tagValue:[n[t]]}),ss(a)&&e.push({tagId:t,tagValue:n[t]}),ts(a)&&e.push({tagId:t,tagValue:n[t]}),e}),[]).reduce((function(e,t){return ge.includes(t.dependentId)||(de.includes(Number(t.tagId))||t.isDel||ge.includes(t.dependentId)?t.isDel?ne[t.dependentId]&&e.deleteTags.push(t):e.deleteTags.push(t):Object.keys(ne).includes(t.tagId)||Object.keys(ne).includes(t.dependentId)?e.editTags.push(t):e.addTags.push(t)),e}),{addTags:[],editTags:[],deleteTags:[],uniId:e.context.uniId}),u=ge.reduce((function(e,t){if(we[t]){var n=t.split("&*&");e.push({tagId:n[0],instanceName:n[4],parentTagId:n[2]})}return e}),[]);l.deleteTags=l.deleteTags.concat(u),s(!0),qs.batchUpdateTag(e.context.domain,e.context.uniId,l).then((function(t){s(!1),200===t.code?(r.Message.success("更新成功"),e.onOk()):r.Message.error(t.msg)})).catch((function(e){var t,n;s(!1),r.Message.error(null==e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.msg)}))}else e.onOk()}))},De=function(e,t){var n=e.disabled;if(e.applyTagId){var i=a.getValue(e.tagId)||ne[e.tagId],o=L[e.applyTagId].tagName,s=L[e.applyTagId].tagId,u=L[e.applyTagId].tagType,c=i?6===u?Ys(i):Qs(i):"-",d="",f="";if(6===u){var p=I(ds("isYMD","age"),2);d=p[0],f=p[1]}else{var h=I(ds("isYMD","pregnancy"),2);d=h[0],f=h[1]}return l.default.createElement("div",{className:"age-item-container"},l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId,style:{flex:"0 0 295px"}},l.default.createElement(r.CPicker,E({disabled:n,placeholder:"YYYY/MM/DD",width:270,disabledDate:function(e){return Xl(e,"YYYY/MM/DD").isAfter(Xl(f))||Xl(e,"YYYY/MM/DD").isBefore(Xl(d))}},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{validator:function(n,a,r){a&&us(new Date(a))&&r("时间格式错误"),!we[e.tagId]&&t&&(new Date(d)>new Date(a)||new Date(a)>new Date(f))&&r("请选择时间范围在".concat(d,"~").concat(f,"之间。")),r("")}}],initValue:ne[e.tagId]})))),l.default.createElement(r.Form.Item,{label:o,key:s,description:6===u?'\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>1. </span> <span>年龄型标签的标签值是系统基于"生日"日期型标签自动计算得出,无法直接编辑“年龄”型标签的编辑值。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>2. </span> <span>当“生日”日期型标签未设置标签值时,“年龄”型标签也无标签值。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>3. </span> <span>对“生日”日期型标签取消打标时,“年龄”型标签会被系统自动取消打标。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>4. </span> <span>“年龄”型标签计算范围为“0天~150岁(含边界)”,超过范围系统不再自动计算标签值,此时标签值显示为“-”。</span></div>':'\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>1. </span> <span>孕龄型标签的标签值是系统基于"预产期"日期型标签自动计算得出,无法直接编辑“孕龄”型标签的编辑值。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>2. </span> <span>当“预产期”日期型标签未设置标签值时,“孕龄”型标签也无标签值。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>3. </span> <span>对“预产期”日期型标签取消打标时,“孕龄”型标签会被系统自动取消打标。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>4. </span> <span>“孕龄”型标签计算范围为“0周~40周(含边界)”,超过范围系统不再自动计算标签值,此时标签值显示为“-”。</span></div>'},c))}return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(r.CPicker,E({width:270,disabled:n,placeholder:"YYYY/MM/DD"},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{validator:function(e,t,n){t&&us(new Date(t))&&n("时间格式错误"),n("")}}],initValue:ne[e.tagId]}))))},Te=function(e,t){var n=e.disabled;if(e.applyTagId){var i=a.getValue(e.tagId)||ne[e.tagId],o=L[e.applyTagId].tagName,s=L[e.applyTagId].tagId,u=L[e.applyTagId].tagType,c=i?6===u?Ys(i):Qs(i):"-",d="",f="";if(6===u){var p=I(ds("isYM","age"),2);d=p[0],f=p[1]}else{var h=I(ds("isYM","pregnancy"),2);d=h[0],f=h[1]}return l.default.createElement("div",{className:"age-item-container"},l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId,style:{flex:"0 0 295px"}},l.default.createElement(Gs,E({canEdit:!0,disabled:n,format:"yyyy-MM",width:270,placeholder:"YYYY/MM",disabledDate:function(e){return Xl(e,"YYYY/MM").isAfter(Xl(f))||Xl(e,"YYYY/MM").isBefore(Xl(d))}},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{validator:function(n,a,r){a&&us(new Date("".concat(a,"-1")))&&r("时间格式错误"),!we[e.tagId]&&t&&(new Date(d)>new Date("".concat(a,"-1"))||new Date("".concat(a,"-1"))>new Date(f))&&r("请选择时间范围在".concat(d,"~").concat(f,"之间。")),r("")}}],initValue:ne[e.tagId]})))),l.default.createElement(r.Form.Item,{label:o,key:s,description:6===u?'\n\t\t<div class="customer-view-new-tip-temp"><span>1. </span> <span>年龄型标签的标签值是系统基于"生日"日期型标签自动计算得出,无法直接编辑“年龄”型标签的编辑值。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>2. </span> <span>当“生日”日期型标签未设置标签值时,“年龄”型标签也无标签值。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>3. </span> <span>对“生日”日期型标签取消打标时,“年龄”型标签会被系统自动取消打标。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>4. </span> <span>“年龄”型标签计算范围为“0天~150岁(含边界)”,超过范围系统不再自动计算标签值,此时标签值显示为“-”。</span></div>':'\n\t\t<div class="customer-view-new-tip-temp"><span>1. </span> <span>孕龄型标签的标签值是系统基于"预产期"日期型标签自动计算得出,无法直接编辑“孕龄”型标签的编辑值。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>2. </span> <span>当“预产期”日期型标签未设置标签值时,“孕龄”型标签也无标签值。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>3. </span> <span>对“预产期”日期型标签取消打标时,“孕龄”型标签会被系统自动取消打标。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>4. </span> <span>“孕龄”型标签计算范围为“0周~40周(含边界)”,超过范围系统不再自动计算标签值,此时标签值显示为“-”。</span></div>'},c))}return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(Gs,E({canEdit:!0,disabled:n,format:"yyyy-MM",width:270,placeholder:"YYYY/MM"},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{validator:function(e,t,n){t&&us(new Date("".concat(t,"/1")))&&n("时间格式错误"),n("")}}],initValue:ne[e.tagId]}))))},Oe=function(e,t){var n=e.disabled;return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(r.Input,E({disabled:n,style:{width:"270px"},maxLength:20,placeholder:"请输入标签值"},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{len:20,message:"最长只能输入20个字符"},{pattern:t?/^[\u4e00-\u9fa5\w-.();]+$/g:/(^$)|^[\u4e00-\u9fa5\w-.();]+$/g,message:"只能输入1-20位中文、英文、数字、中文括号、中文分号、.(点号)、_(下划线)、-(减号) 。"}],initValue:ne[e.tagId]}))))},Me=function(e,t){var n=e.disabled;return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(r.Input,E({style:{width:"270px"},disabled:n,placeholder:"请输入标签值",maxLength:is(e)?18:15,onBlur:function(){return function(e,t){if(t){var n=a.getValue(e);/^\d+$/.test(n)&&a.setValue(e,"".concat(n,".0"))}}(e.tagId,is(e))}},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{validator:function(t,n,a){rs(e)&&n&&0!==n&&!/^-?\d{1,15}$/g.test(n)&&a("请输入正确的数值,最多15位整数"),is(e)&&n&&0!==n&&!/^-?(([1-9][0-9]{0,14})|0)(\.\d{1,2})?$/g.test(n)&&a("请输入正确的数值,小数最多2位,整数最多15位"),a("")}}],initValue:ne[e.tagId]}))))},Fe=function(e,t){var n=e.disabled,i="".concat(e.tagId).includes("&*&")?e.tagId.split("&*&")[0]:e.tagId;return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(r.Radio.Group,E({disabled:n},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"}],initValue:ne[e.tagId]})),S[i]&&S[i].map((function(t){return l.default.createElement(r.Radio,{key:e.tagId+t.itemId,value:t.itemVal},t.itemVal)}))))},Le=function(e,t){var n=e.disabled,i="".concat(e.tagId).includes("&*&")?e.tagId.split("&*&")[0]:e.tagId;return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(r.Checkbox.Group,E({disabled:n},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"}],initValue:ne[e.tagId]})),S[i]&&S[i].map((function(t){return l.default.createElement(r.Checkbox,{key:e.tagId+t.itemId,value:t.itemVal},t.itemVal)}))))},Pe=function(e,t){var n=e.disabled;return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(Ws,E({disabled:n},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"}],initValue:ne[e.tagId]}),{tag:e})))},Be=function(e){var t=e.tagId,n=e.tagName;return e.childTags&&e.childTags.length&&(e.childTags=e.childTags.sort((function(e,t){return((null==e?void 0:e.tagName)||"").localeCompare((null==t?void 0:t.tagName)||"")}))),l.default.createElement("div",{className:"dependent-wrapper"},l.default.createElement("p",{className:"dependent-title"},e.tagName),e.instance.map((function(i){var o="".concat(e.tagId,"&*&").concat(i.id);return l.default.createElement(r.Form.Item,{className:"dependent-wrapper-form",key:o},l.default.createElement("div",E({},a.init(o),{className:"dependent-instance"}),l.default.createElement("div",{className:"instance-title"},l.default.createElement("span",{className:"title"},l.default.createElement("span",{style:{color:"rgba(0, 0, 0, 0.65)",fontSize:"14px",lineHeight:"20px",width:"100px"}},"标签实例",l.default.createElement(r.Tooltip,{content:'1.当用户之间存在从属关系时,可通过从属型标签建立主用户和从用户的从属关系。2."标签实例"指的是从属型标签及其子标签标识的用户,也即从属于主用户的从用户。若一个主用户有多个从用户,则从属型标签就会标识多个从用户,每一个从用户就是一个实例。3.例如,"妈妈"角色是一个用户,"宝宝"角色是"妈妈"角色的从属型标签,"妈妈"角色有三胎"宝宝",此时就代表从属型“宝宝“标签具有三个标签实例。',placement:"top"},l.default.createElement(r.Icon,{type:"question-circle",style:{margin:"0 4px",fontSize:"14px",color:"rgba(0, 0, 0, 0.25)",cursor:"pointer"}})),":"),i.name?i.name:function(e,t){return l.default.createElement(r.Form.Item,{key:e.id},l.default.createElement(r.Input,E({style:{width:"270px"},maxLength:25,disabled:t.disabled,placeholder:"请输入实例名称"},a.init(e.id,{rules:[{required:!0,message:"请输入实例名称"},{len:25,message:"最长只能输入25个字符"},{pattern:/^[\u4e00-\u9fa5\w-.]+$/g,message:"仅支持中英文、数字、减号、下划线、点号!"}],initValue:e.name}))))}(i,e)),e.instance.length>1&&!e.disabled&&l.default.createElement(r.Popover,{trigger:"click",content:"确定要删除该实例吗?",confirmText:"确定",showCancelBtn:!0,showConfirmBtn:!0,onConfirmClick:function(){Re(e,i)}},l.default.createElement(r.Icon,{type:"delete",style:{color:"var(-shuyunBlue4)",cursor:"pointer"}})),e.instance.length>1&&e.disabled&&l.default.createElement(r.Icon,{type:"delete",style:{cursor:"not-allowed",color:"rgba(0, 0, 0, 0.25)"}})),l.default.createElement("div",{className:"instance-content"},e.childTags.map((function(a){var r=Object.assign({},a,{tagId:"".concat(a.tagId,"&*&").concat(n,"&*&").concat(t,"&*&").concat(i.id,"&*&").concat(i.name),disabled:e.disabled});return l.default.createElement(l.default.Fragment,null,Zl(r)&&De(r,!1),$l(r)&&Te(r,!1),es(r)&&Oe(r,!1),ts(r)&&Pe(r,!1),(rs(r)||is(r))&&Me(r,!1),ls(r)&&Fe(r,!1),ss(r)&&Le(r,!1))})))))})),l.default.createElement(r.Button,{type:"text",icon:"plus-solid",style:{marginTop:"2px"},disabled:e.disabled||e.instance.length>=100,onClick:function(){ze(e)}},"添加实例"))},Re=function(e,t){var n=JSON.parse(JSON.stringify(c)).map((function(n){return n.tagId===e.tagId&&(n.instance=n.instance.filter((function(e){return e.id!==t.id}))),n}));d(n);var r=e.tagName,i=e.tagId,o=e.childTags.map((function(e){return"".concat(e.tagId,"&*&").concat(r,"&*&").concat(i,"&*&").concat(t.id,"&*&").concat(t.name)}));if(t.name){var l=Object.keys(ne).reduce((function(e,t){return o.includes(t)||(e[t]=ne[t]),e}),{});ae(l),ye([].concat(N(ge),N(o)))}else o=[].concat(N(o),[t.id]);a.clear(o),a.remove(o)},ze=function(e){var t={name:"",id:Js()},n=JSON.parse(JSON.stringify(c)).map((function(n){return n.tagId===e.tagId&&(n.instance=[].concat(N(n.instance),[t])),n})),a=e.tagName,r=e.tagId,i=e.childTags.map((function(e){return"".concat(e.tagId,"&*&").concat(a,"&*&").concat(r,"&*&").concat(t.id,"&*&").concat(t.name)})),o=ge.filter((function(e){return!i.includes(e)}));ye(o),d(n),setTimeout((function(){var e=document.getElementsByClassName("edit-tag-form")[0],t=document.getElementsByClassName("edit-tag-form")[0].scrollTop;e.scrollTo({top:t+200,behavior:"smooth"})}))},je=t.useCallback((function(e,t){return function(n){var a=f(f({},V),{},k({},e,t));("tag"!==e||t.checked)&&U(a)}}),[V]),Ve=function(e){var t,n=[];if(e.tagId)if(e.applyTagId||e.relatedTagInfo){var a=e.applyTagId||e.relatedTagInfo.tagId;t=q.includes(e.tagId)&&q.includes(a)?q.filter((function(t){return t!==e.tagId&&t!==a})):[].concat(N(q),[e.tagId,a])}else t=q.includes(e.tagId)?q.filter((function(t){return t!==e.tagId})):[].concat(N(q),[e.tagId]);if(e.groupId)if(n=b[e.groupId].reduce((function(e,t){return t.disable||e.push(t.tagId),e}),[]),cs(q,n))t=q.filter((function(e){return!n.includes(e)}));else{var r=[].concat(N(q),N(n));t=Array.from(new Set(r))}var i=JSON.parse(JSON.stringify(L)),o=c.reduce((function(e,t){return e[t.tagId]=t,e}),{}),l=t.map((function(e){return o[e]?o[e]:i[e]}));d(l),W(t)},Ue=function(e){if(e.tagId)return q.includes(e.tagId);if(e.groupId){var t=b[e.groupId].reduce((function(e,t){return t.disable||e.push(t.tagId),e}),[])||[];return t.length>0&&cs(q,t)}},He=function(e){if(e.tagId)return!1;if(e.groupId){var t=b[e.groupId].reduce((function(e,t){return t.disable||e.push(t.tagId),e}),[]),n=cs(q,t),a=(r=q,t.some((function(e){return r.includes(e)})));return a&&!n}var r},qe=t.useCallback((function(){return q.length===Object.keys(R).length-he.length}),[R,q,he]),We=t.useCallback((function(){return q.length>0&&q.length!==Object.keys(R).length-he.length}),[R,q,he]),Ge=t.useCallback((function(e){if(e){var t=Object.keys(R).reduce((function(e,t){return he.includes(Number(t))||e.push(Number(t)),e}),[]),n=Object.values(R).filter((function(e){return!he.includes(e.tagId)})),a=c.reduce((function(e,t){return e[t.tagId]=t,e}),{}),r=n.map((function(e){return a[e.tagId]?a[e.tagId]:e}));W(t),d(r)}else d([]),W([])}),[R,he,c]),Ke=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"group",t=_e(e);return l.default.createElement("div",{className:"area-container",key:e},0===t.length&&l.default.createElement("div",{className:"empty"},l.default.createElement("span",null,"暂无标签")),l.default.createElement("ul",{className:"area-content",id:"area-content-".concat(e)},l.default.createElement(l.default.Fragment,null,"group"===e&&l.default.createElement("li",{className:"area-item",role:"presentation"},l.default.createElement(r.Checkbox,{onChange:function(e){return Ge(e)},checked:qe(),indeterminate:We()}),"全选"),t.map((function(t){var n,a,i,o=tt("area-item",{selected:(t.groupId||t.tagId)===(V[e].groupId||V[e].tagId)}),s="group"===e,u=l.default.createElement("span",{className:"area-item-title"},t.groupName||t.tagName);return l.default.createElement("li",{className:o,key:t.groupId||t.tagId,role:"presentation",onClick:je(e,t),id:t.groupId||t.tagId},l.default.createElement(r.Checkbox,{disabled:t.disable,onChange:function(e){return Ve(t)},checked:Ue(t),indeterminate:He(t)}),(n="14",a=t.groupName||t.tagName,(i=document.getElementById("computedWidth").getContext("2d")).font="".concat(n,"px Microsoft YaHei"),i.measureText(a).width>112?l.default.createElement(r.Tooltip,{content:t.groupName||t.tagName,placement:"top"},u):u),s?l.default.createElement(r.Icon,{type:"right",className:"area-next-icon"}):null)})))))},Ye=t.useCallback((function(){var e=O?O.replace(/(^\s*)|(\s*$)/g,""):"",t=JSON.parse(JSON.stringify(K));return l.default.createElement(l.default.Fragment,null,e&&l.default.createElement("ul",{className:"search-result"},t.map((function(t){var n=t.name.replace(/ /g,"").replace(/\//gi," / ");return e&&(n=n.replace(RegExp(e,"gi"),(function(e){return t.disabled?"<span style='color:rgba(0,0,0,0.25)'>".concat(e,"</span>"):"<span style='color:#0066CC;cursor:pointer'>".concat(e,"</span>")}))),l.default.createElement("li",{className:t.disabled?"search-result-disable-item":"search-result-item",key:n,onClick:function(){!t.disabled&&Ve(t)},role:"presentation",dangerouslySetInnerHTML:{__html:n}})}))))}),[O]),Qe=t.useCallback((function(e){var t=e?e.replace(/(^\s*)|(\s*$)/g,""):"",n=Object.values(J).reduce((function(e,n){if(n.tagName){if(n.tagName&&n.tagName.includes(t)){var a="".concat(n.groupName,"/").concat(n.tagName);e.push(f(f({},n),{},{name:a}))}}else if(n.groupName&&n.groupName.includes(t)){var r="".concat(n.groupName);e.push(f(f({},n),{},{name:r}))}return e}),[]);ee(!0),Y(n),M(e)}),[J]),Je=function(){var e=g(p().mark((function e(t,n){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=6;break}return W([]),d([]),e.next=5,xe(t[0],t[1],Ce,[]);case 5:oe([t]);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return l.default.createElement(r.Modal,{visible:!0,className:"edit-tag-modal custom-view-new-drawer-modal",title:e.title,clickMaskCanClose:!1,onClose:Ie,onCancel:Ie,onOk:Ne,footer:l.default.createElement("div",null,l.default.createElement(r.Button,{disabled:o,type:"primary",onClick:Ne},"确定"),l.default.createElement(r.Button,{onClick:Ie,className:"cancel",style:{marginLeft:16}},"取消")),modalStyle:{minWidth:1e3,overflow:"hidden auto",maxHeight:"calc(100vh - 20px)"},bodyStyle:{height:630,minWidth:1e3,maxHeight:"initial",display:"flex",alignItems:"center",justifyContent:"left"}},l.default.createElement("div",{className:"edit-tag"},l.default.createElement(r.Loading,{loading:A},l.default.createElement(r.Tips,{msg:'"编辑"操作即给单个用户执行打标操作,可同时新增标签(新增打标)、修改标签值(修改已打标内容)、删除标签(关闭打标开关)。',isShowIcon:!0}),l.default.createElement("div",{className:"edit-tag-container"},!A&&l.default.createElement("div",{className:"edit-tag-search-block"},l.default.createElement("div",{className:"edit-tag-search-info"},"shop"===e.type&&l.default.createElement(r.CCascader,{options:se,defaultValue:ie,value:ie,onChange:function(e,t){return Je(e,t)},placeholder:"请选择店铺",style:{width:"348px",marginBottom:"8px"}}),l.default.createElement("div",{className:"tag-search-input"},l.default.createElement(r.Input,{placeholder:"搜索标签组/标签名",value:O,onBlur:function(){return setTimeout((function(){ee(!1)}),200)},style:{width:"348px"},onChange:function(e){Qe(e.target.value)}}),l.default.createElement("div",{className:tt("search-result-area",{show:$,hide:!$})},K.length>0?Ye():l.default.createElement("div",{className:"empty"},l.default.createElement("img",{alt:"",src:Is,width:64}),l.default.createElement("span",{style:{marginTop:8}},"暂无搜索结果"))))),l.default.createElement("div",{className:"tag-select-container ".concat("shop"===e.type?"has-shop":"")},0===_e("group").length&&l.default.createElement("div",{className:"empty"},l.default.createElement("img",{alt:"",src:As,width:64}),l.default.createElement("span",{style:{marginTop:8}},"暂无标签")),_e("group").length>0&&["group","tag"].map((function(e){return Ke(e)})))),l.default.createElement(r.Form,{ref:n,labelCol:{span:4},field:a,className:"edit-tag-form",colon:!1},!A&&l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"edit-tag-header"},l.default.createElement("span",null,l.default.createElement("span",{className:"tag-title"},"编辑标签")," ",l.default.createElement("span",{className:"tag-amount"},"(",c.length,")")),l.default.createElement(r.Button,{type:"text",disabled:0===c.length,onClick:function(){d([]),W([])}},"清空")),c.map((function(e){return ns(e)||as(e)?null:l.default.createElement("div",{key:e.tagId,className:"tag-info-value"},Zl(e)&&De(e,!0),$l(e)&&Te(e,!0),es(e)&&Oe(e,!0),ts(e)&&Pe(e,!0),(rs(e)||is(e))&&Me(e,!0),ls(e)&&Fe(e,!0),ss(e)&&Le(e,!0),os(e)&&Be(e),(we[e.tagId]||(t=e.tagId,n=Object.keys(we).filter((function(e){return e.indexOf(t)>-1}))||[],n.length>0))&&l.default.createElement("div",{className:"disable-tag"},l.default.createElement(r.Tooltip,{content:"客户已打上当前标签。关闭开关则表示将从客户身上删除该标签。",placement:"top"},l.default.createElement(r.Toggle,{key:"toggle-".concat(e.tagId),checked:!e.disabled,onChange:function(){return function(e){if(e.disabled)if(e.childTags){var t=e.tagName,n=e.tagId,a=e.instance.reduce((function(a,r){return a=a.concat(e.childTags.map((function(e){return"".concat(e.tagId,"&*&").concat(t,"&*&").concat(n,"&*&").concat(r.id,"&*&").concat(r.name)}))),a}),[]),r=ge.filter((function(e){return!a.includes(e)}));ye(N(r))}else fe(de.filter((function(t){return t!==e.tagId})));else if(e.childTags){var i=e.tagName,o=e.tagId,l=e.instance.reduce((function(t,n){return t=t.concat(e.childTags.map((function(e){return"".concat(e.tagId,"&*&").concat(i,"&*&").concat(o,"&*&").concat(n.id,"&*&").concat(n.name)}))),t}),[]);ye([].concat(N(ge),N(l)))}else fe(Array.from(new Set([].concat(N(de),[e.tagId]))));e.disabled=!e.disabled}(e)}})),l.default.createElement("span",{className:"disable-tag-span"},e.disabled?"未打标":"已打标")),l.default.createElement("div",{className:"remove-tag-value"},l.default.createElement(r.Tooltip,{content:"",placement:"top"},l.default.createElement(r.Icon,{key:"close-".concat(e.tagId),type:"close",style:{color:"rgba(0,0,0,0.45)",cursor:"pointer",fontSize:"16px"},onClick:function(){!function(e){var t=c.filter((function(t){return t.tagId!==e.tagId&&t.tagId!==e.applyTagId}));d(t),W(q.filter((function(t){return t!==e.tagId&&t!==e.applyTagId})))}(e)}}))));var t,n}))),!A&&0===c.length&&l.default.createElement("div",{className:"empty"},l.default.createElement("span",null,"暂无可编辑标签")))))))},Zs=function(e){return l.default.createElement(r.Modal,{className:"custom-view-new-drawer-modal",visible:!0,title:"查看标签",clickMaskCanClose:!1,onClose:function(){e.onClose()},hasFooter:!1,modalStyle:{width:600,height:320,maxHeight:"initial"},bodyStyle:{height:263}},l.default.createElement("div",{className:"detail-tag",style:{color:"rgba(0, 0, 0, 0.85)",fontSize:"14px",lineHeight:"20px"}},l.default.createElement("div",{className:"detail-tag-title",style:{marginBottom:16}},e.tag.tagName,":"),l.default.createElement("div",{className:"detail-tag-content"},e.tag.tagValue.join("、"))))},$s=["all","shop","WEIXIN","OFFLINE","searchLists"],eu=function(e){var n=t.useContext(Jl),a=I(t.useState(jl().isThreeColumn),2),i=a[0],o=a[1],s=I(t.useState({}),2),u=s[0],c=s[1],d=I(t.useState([]),2),f=d[0],h=d[1],m=I(t.useState([]),2),v=m[0],y=m[1],b=I(t.useState([]),2),w=b[0],E=b[1],C=I(t.useState([]),2),S=C[0],_=C[1],A=I(t.useState([]),2),N=A[0],D=A[1],T=(I(t.useState([]),2),I(t.useState(!1),2)),O=T[0],M=T[1],F=(I(t.useState(""),2),I(t.useState([]),2)),L=F[0],P=F[1],B=I(t.useState([]),2),R=B[0],z=B[1],j=I(t.useState([]),2),V=j[0],U=j[1],H=I(t.useState([]),2),q=H[0],W=H[1],G=I(t.useState({}),2),K=G[0],Y=G[1];t.useEffect((function(){var e=!1,t=function(){var t=g(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=5;break}return t.next=3,Q();case 3:J(t.sent.platPermission);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return t(),function(){return e=!0}}),[]);var Q=function(){var e=g(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.next=3,qs.getPlatShopList(n.domain,n.serverName,n.uniId);case 3:return t=e.sent.reduce((function(e,t){return!1===t.isStandardPlat?(e.plat.push(t.platCode),"WEIXIN"!==t.platCode&&"OFFLINE"!==t.platCode&&"unlimited"!==t.platCode&&e.shuyunPlate.push({platCode:t.platCode,platName:t.platName})):e.shops.push(t),e}),{plat:[],shops:[],shuyunPlate:[]}),z(t.plat),U(t.shops),W(t.shuyunPlate),e.abrupt("return",{platPermission:t.plat});case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),J=function(e){M(!0),qs.getCustomerMarkedTagList(n.domain,n.serverName,n.uniId,1).then((function(t){if(200===t.code){var n=function(e,t){var n=e?Object.keys(e).reduce((function(n,a){if("all"===a||"WEIXIN"===a||"OFFLINE"===a||t.includes(a)){var r,i=(null===(r=e[a][0].shops[0])||void 0===r?void 0:r.groupTags)||{};n[a]=Object.keys(i).map((function(e){return{groupName:e,tags:i[e]}}))}else{var o=e[a][0].platName,l=e[a][0].platCode,s=e[a][0].shops,u={label:o,value:l,children:s.map((function(e){return{label:e.shopName,value:e.shopId}})),childrenIds:s.map((function(e){return e.shopId}))},c=s.map((function(e){return{platName:o,platCode:l,shopId:e.shopId,shopName:"".concat(o," | ").concat(e.shopName),groups:Object.keys(e.groupTags).map((function(t){return{groupName:t,tags:e.groupTags[t]}}))}}));n.shop=n.shop?n.shop.concat(c):c,n.searchLists.push(u)}return n}),{all:[],shop:[],WEIXIN:[],OFFLINE:[],searchLists:[]}):{all:[],shop:[],WEIXIN:[],OFFLINE:[],searchLists:[]};return n}(t.data,e||R),a=n.all,i=n.shop,o=n.WEIXIN,l=n.OFFLINE,s=n.searchLists,u=x(n,$s);h(a),_(o),D(l),y(i),E(i),P(s),Y(u)}else r.Message.error(t.msg||"内部错误,请联系数据客服");M(!1)})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服"),M(!1)}))},X=function(e,t){var n=document.getElementById("computedWidth").getContext("2d");return n.font="".concat(e,"px Microsoft YaHei"),n.measureText(t).width},Z=function(e,t){var n=Object.assign(JSON.parse(JSON.stringify(u)),k({},e,t));c(n)},$=function(e,t,a,i){var o=t,l="all"===e?f:"shop"===e?v:"WEIXIN"===e?S:"OFFLINE"===e?N:K[e]||[];r.Modal.createModal(Xs).open({title:"编辑".concat(o),tagList:l,type:e,context:n,shopsPermission:V,platCode:"shop"===e?"":e,shopId:"shop"===e?"":"all",selectTags:a?[a]:[],searchShop:i||[]}).then((function(e){J()}))},ee=function(e){o(e);var t=jl();t.isThreeColumn=e,zl(t)},te=function(e,t){var n,a=null===(n=document.getElementsByClassName("info-tag")[0])||void 0===n?void 0:n.offsetWidth;if(a){var r=i?a/3:a/2;if(X("14","".concat(e.tagName,":").concat(Array.isArray(e.tagValue)?e.tagValue.join("、"):e.tagValue))>r-44)return"text-overflow"}return""},ne=function(e,t){var n,a=null===(n=document.getElementsByClassName("info-tag")[0])||void 0===n?void 0:n.offsetWidth;if(a){var r=i?a/3:a/2;if(X("14","".concat(e.tagName,":").concat(Array.isArray(e.tagValue)?e.tagValue.join("、"):e.tagValue))>r-44)return!0}return!1},ae=function(e){r.Modal.createModal(Zs).open({tag:e}).then((function(e){}))},re=function(e,t,n,a){var o=(null==e?void 0:e.childTags)||[];return o.forEach((function(e){e.tags=e.tags.sort((function(e,t){return((null==e?void 0:e.tagName)||"").localeCompare((null==t?void 0:t.tagName)||"")}))})),l.default.createElement("div",{className:"dependent-tag"},l.default.createElement("span",{className:"dependent-tag-name",onClick:function(){return a?$(t,n,e.tagId,[a.platCode,a.shopId]):$(t,n,e.tagId)}},e.tagName),o.map((function(o){return l.default.createElement("div",{key:"".concat(e.tagId).concat(o.instanceName),className:"dependent-tag-item"},l.default.createElement("div",{className:"instance-title",onClick:function(){return a?$(t,n,e.tagId,[a.platCode,a.shopId]):$(t,n,e.tagId)}},o.instanceName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},o.tags.map((function(i){return l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:"".concat(o.instanceName).concat(i.tagId),className:te(i)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return a?$(t,n,e.tagId,[a.platCode,a.shopId]):$(t,n,e.tagId)}},i.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return a?$(t,n,e.tagId,[a.platCode,a.shopId]):$(t,n,e.tagId)}},i.tagValue.join("、"))),ne(i)&&l.default.createElement(r.Button,{type:"text",style:{height:20,"margin-left":"6px","margin-right":"26px"},onClick:function(){ae(i)}},"查看"))}))))})))};return l.default.createElement("div",{className:"custom-module-new"},l.default.createElement(r.Loading,{layer:!0,loading:O},l.default.createElement("div",{className:"common-title"},l.default.createElement("div",{className:"common-title-left"},l.default.createElement("div",null),l.default.createElement("p",null,"自定义标签")),l.default.createElement("div",{className:"common-title-right"},l.default.createElement(r.Tooltip,{content:"两列展示",placement:"top"},l.default.createElement(r.Icon,{type:"arrange-2",onClick:function(){return ee(!1)},className:i?"":"active-icon"})),l.default.createElement("span",null),l.default.createElement(r.Tooltip,{content:"三列展示",placement:"top"},l.default.createElement(r.Icon,{type:"arrange-3",onClick:function(){return ee(!0)},className:i?"active-icon":""})))),R.includes("unlimited")&&l.default.createElement("section",{className:"common-block ".concat(u.all?"":"common-block-height")},l.default.createElement("div",{className:"common-block-title"},!u.all&&l.default.createElement(r.Icon,{onClick:function(){return Z("all",!0)},type:"up-solid"}),u.all&&l.default.createElement(r.Icon,{onClick:function(){return Z("all",!1)},type:"down-solid"}),l.default.createElement("p",null,"全渠道客户标签"),l.default.createElement("div",{className:"opt",onClick:function(){return $("all","全渠道客户标签")}},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑")),l.default.createElement("div",{className:"common-block-info"},0===f.length&&l.default.createElement("div",{className:"common-block-info-empty"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("div",null,"暂无数据")),f.map((function(e){return l.default.createElement("div",{className:"common-block-info-group",key:"all-".concat(e.groupName)},l.default.createElement("div",{className:"info-title"},e.groupName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},e.tags.map((function(e){return 8===e.valueType?l.default.createElement(l.default.Fragment,null,re(e,"all","全渠道客户标签")):l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:e.tagId,className:te(e)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return $("all","全渠道客户标签",e.tagId)}},e.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return $("all","全渠道客户标签",e.tagId)}},e.tagValue.join("、"))),ne(e)&&l.default.createElement(r.Button,{type:"text",style:{height:20,"margin-left":"6px"},onClick:function(){ae(e)}},"查看"))}))))})))),0!==V.length&&l.default.createElement("section",{className:"common-block ".concat(u.shop?"":"common-block-height")},l.default.createElement("div",{className:"common-block-title"},!u.shop&&l.default.createElement(r.Icon,{onClick:function(){return Z("shop",!0)},type:"up-solid"}),u.shop&&l.default.createElement(r.Icon,{onClick:function(){return Z("shop",!1)},type:"down-solid"}),l.default.createElement("p",null,"店铺标签"),l.default.createElement("div",{className:"opt",onClick:function(){return $("shop","店铺标签")}},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑")),l.default.createElement("div",{className:"common-block-info"},l.default.createElement(r.CCascader,{allowClear:!0,options:L,style:{width:270,marginBottom:16,marginTop:16},placeholder:"全部平台及店铺",maxTagCount:"responsive",multiple:!0,onChange:function(e,t){!function(e,t){var n=t.reduce((function(e,t){return Array.isArray(t)&&t[1]?e.push(t[1].value):Array.isArray(t)&&t[0]&&(e=e.concat(t[0].childrenIds)),e}),[]),a=v.filter((function(e){return 0>=n.length||n.includes(e.shopId)}));E(a)}(0,t)}}),0===w.length&&l.default.createElement("div",{className:"common-block-info-empty"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("div",null,"暂无数据")),w.map((function(e){return l.default.createElement("section",{key:e.shopName,className:"shop-block"},l.default.createElement("div",{className:"shop-title"},l.default.createElement("span",null,e.shopName)),e.groups.map((function(t){return l.default.createElement("div",{className:"common-block-info-group shop-block-info-group",key:"".concat(e.shopName,"-").concat(t.groupName)},l.default.createElement("div",{className:"info-title"},t.groupName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},t.tags.map((function(t){return 8===t.valueType?l.default.createElement(l.default.Fragment,null,re(t,"shop","店铺标签",e)):l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:t.tagId,className:te(t)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return $("shop","店铺标签",t.tagId,[e.platCode,e.shopId])}},t.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return $("shop","店铺标签",t.tagId,[e.platCode,e.shopId])}},t.tagValue.join("、"))),ne(t)&&l.default.createElement(r.Button,{type:"text",style:{height:20},onClick:function(){ae(t)}},"查看"))}))))})))})))),R.includes("WEIXIN")&&l.default.createElement("section",{className:"common-block ".concat(u.WEIXIN?"":"common-block-height")},l.default.createElement("div",{className:"common-block-title"},!u.WEIXIN&&l.default.createElement(r.Icon,{onClick:function(){return Z("WEIXIN",!0)},type:"up-solid"}),u.WEIXIN&&l.default.createElement(r.Icon,{onClick:function(){return Z("WEIXIN",!1)},type:"down-solid"}),l.default.createElement("p",null,"微信"),l.default.createElement("div",{className:"opt",onClick:function(){return $("WEIXIN","微信标签")}},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑")),l.default.createElement("div",{className:"common-block-info"},0===S.length&&l.default.createElement("div",{className:"common-block-info-empty"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("div",null,"暂无数据")),S.map((function(e){return l.default.createElement("div",{className:"common-block-info-group",key:"offline-".concat(e.groupName)},l.default.createElement("div",{className:"info-title"},e.groupName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},e.tags.map((function(e){return 8===e.valueType?l.default.createElement(l.default.Fragment,null,re(e,"WEIXIN","微信标签")):l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:e.tagId,className:te(e)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return $("WEIXIN","微信标签",e.tagId)}},e.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return $("WEIXIN","微信标签",e.tagId)}},e.tagValue.join("、"))),ne(e)&&l.default.createElement(r.Button,{type:"text",style:{height:20},onClick:function(){ae(e)}},"查看"))}))))})))),R.includes("OFFLINE")&&l.default.createElement("section",{className:"common-block ".concat(u.OFFLINE?"":"common-block-height")},l.default.createElement("div",{className:"common-block-title"},!u.OFFLINE&&l.default.createElement(r.Icon,{onClick:function(){return Z("OFFLINE",!0)},type:"up-solid"}),u.OFFLINE&&l.default.createElement(r.Icon,{onClick:function(){return Z("OFFLINE",!1)},type:"down-solid"}),l.default.createElement("p",null,"线下"),l.default.createElement("div",{className:"opt",onClick:function(){return $("OFFLINE","线下标签")}},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑")),l.default.createElement("div",{className:"common-block-info"},0===N.length&&l.default.createElement("div",{className:"common-block-info-empty"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("div",null,"暂无数据")),N.map((function(e){return l.default.createElement("div",{className:"common-block-info-group",key:"offline-".concat(e.groupName)},l.default.createElement("div",{className:"info-title"},e.groupName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},e.tags.map((function(e){return 8===e.valueType?l.default.createElement(l.default.Fragment,null,re(e,"OFFLINE","线下标签")):l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:e.tagId,className:te(e)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return $("OFFLINE","线下标签",e.tagId)}},e.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return $("OFFLINE","线下标签",e.tagId)}},e.tagValue.join("、"))),ne(e)&&l.default.createElement(r.Button,{type:"text",style:{height:20},onClick:function(){ae(e)}},"查看"))}))))})))),q.map((function(e){return l.default.createElement("section",{className:"common-block ".concat(u[e.platCode]?"":"common-block-height")},l.default.createElement("div",{className:"common-block-title"},!u[e.platCode]&&l.default.createElement(r.Icon,{onClick:function(){return Z(e.platCode,!0)},type:"up-solid"}),u[e.platCode]&&l.default.createElement(r.Icon,{onClick:function(){return Z(e.platCode,!1)},type:"down-solid"}),l.default.createElement("p",null,e.platName),l.default.createElement("div",{className:"opt",onClick:function(){return $(e.platCode,"".concat(e.platName,"标签"))}},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑")),l.default.createElement("div",{className:"common-block-info"},(!K[e.platCode]||0===K[e.platCode].length)&&l.default.createElement("div",{className:"common-block-info-empty"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("div",null,"暂无数据")),K[e.platCode]&&K[e.platCode].map((function(t){return l.default.createElement("div",{className:"common-block-info-group",key:"offline-".concat(t.groupName)},l.default.createElement("div",{className:"info-title"},t.groupName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},t.tags.map((function(t){return 8===t.valueType?l.default.createElement(l.default.Fragment,null,re(t,e.platCode,"".concat(e.platName,"标签"))):l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:t.tagId,className:te(t)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return $(e.platCode,"".concat(e.platName,"标签"),t.tagId)}},t.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return $(e.platCode,"".concat(e.platName,"标签"),t.tagId)}},t.tagValue.join("、"))),ne(t)&&l.default.createElement(r.Button,{type:"text",style:{height:20},onClick:function(){ae(t)}},"查看"))}))))}))))}))))},tu=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).openDetailModal=function(e){r.Modal.createModal(Zs).open({tag:e}).then((function(e){}))},n.changeExpand=function(e,t){var a=n.state.outsideTagList;a[t].isExpand=e,n.setState({outsideTagList:a})},n.state={outsideTagList:[],loading:!0},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){var e=this;qs.getMarkedOutsideTagList(this.context.domain,this.context.serverName,this.context.uniId,1).then((function(t){var n=function(e){e=e||{};var t=[];for(var n in e)e[n].forEach((function(e){var t=e.displayTagValue;e.tagValueTemp=e.tagValue,e.tagValue=t})),t.push({title:n,tags:e[n],isExpand:!0});return t}(t.data);e.setState({outsideTagList:n,loading:!1})})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}))}},{key:"render",value:function(){var e=this,t=this.state,n=t.outsideTagList;return t.loading?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"weChat-module-new"},l.default.createElement("div",{className:"common-title"},l.default.createElement("div",{className:"common-title-left"},l.default.createElement("div",null),l.default.createElement("p",null,"企业微信标签"))),n&&n.length?n.map((function(t,n){return l.default.createElement("div",{className:"common-block ".concat(t.isExpand?"common-block-height":"")},l.default.createElement("div",{className:"common-block-title"},t.isExpand&&l.default.createElement(r.Icon,{onClick:function(){return e.changeExpand(!1,n)},type:"up-solid"}),!t.isExpand&&l.default.createElement(r.Icon,{onClick:function(){return e.changeExpand(!0,n)},type:"down-solid"}),l.default.createElement("p",null,t.title)),l.default.createElement("div",{className:"wc-tag"},l.default.createElement("div",{className:"info-tag info-tag-wx info-tag-p3"},t.tags.map((function(t){var n={type:3,text:t.tagName+":"+t.tagValue.join("、")};return l.default.createElement("span",{className:"tag-item"},l.default.createElement(gs,{tip:n,handleClick:function(){e.openDetailModal(t)}}))})))))})):l.default.createElement("div",{className:"empty-div"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("p",{style:{"margin-top":"8px"}},"暂无数据")))}}]),t}(l.default.Component);tu.contextType=Jl;var nu=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).changeCurrentTab=function(e){n.setState({currentTab:e})},n.state={currentTab:"rfm"},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this,t=this.state.currentTab;return l.default.createElement("div",{className:"customer-label-area-new"},l.default.createElement("section",{className:"customer-label-tab"},l.default.createElement("div",{onClick:function(){return e.changeCurrentTab("rfm")},className:"img_div ".concat("rfm"===t?"label-active":"")},"RFM标签"),l.default.createElement("div",{onClick:function(){return e.changeCurrentTab("custom")},className:"img_div ".concat("custom"===t?"label-active":"")},"自定义标签"),l.default.createElement("div",{onClick:function(){return e.changeCurrentTab("weChat")},className:"img_div ".concat("weChat"===t?"label-active":"")},"企业微信标签")),l.default.createElement("section",{className:"customer-label-content"},"rfm"===t&&l.default.createElement(Us,null),"custom"===t&&l.default.createElement(eu,null),"weChat"===t&&l.default.createElement(tu,null)))}}]),t}(l.default.Component),au=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).handleResize=function(){var e,t=null===(e=document.getElementsByClassName("order-table-title ")[0])||void 0===e?void 0:e.clientWidth;n.setState(t>1440?{isBigScreen:!0}:{isBigScreen:!1})},n.computedWidth=function(e,t){var n=document.getElementById("computedWidth").getContext("2d");return n.font="".concat(e,"px Microsoft YaHei"),n.measureText(t).width},n.onPageChange=function(e,t){n.setState({pageNum:e,pageSize:t}),setTimeout((function(){n.ajaxData()}))},n.ajaxData=function(){var e=n.state,t=f({pageNum:e.pageNum,pageSize:e.pageSize},n.query);xs.getCustomerOrderList(n.context.domain,n.context.serverName,t).then((function(e){n.setState({tableData:e.list,total:e.totals,loading:!1},(function(){n.setState({searchLoading:!1}),n.handleResize()}))}))},n.isProductNameOverWidth=function(e){return bt.getTextWidth(e)/2>250?e:""},n.handleCopy=function(e){bt.copyText(e),r.Message.success("复制成功")},n.searchData=function(e){var t=n.state.selectedShopTemp;"rest"===e&&n.setState({orderId:"",selectedShop:JSON.parse(JSON.stringify(t))});var a=n.state,i=a.allPlatShop,o=[];("rest"===e?t:a.selectedShop).forEach((function(e){if(2===e.length)o.push(e[1].includes("WX|")?e[1].replace("WX|","WEIXIN|"):e[1]);else{var t=i.find((function(t){return t.value===e[0]}));t.children.forEach((function(e){o.push(e.value.includes("WX|")?e.value.replace("WX|","WEIXIN|"):e.value)}))}})),"rest"===e||o.length?"rest"!==e&&o.length>100?r.Message.error("最多选择100个店铺"):(n.query.shopId=o.join(","),n.setState({searchLoading:!0,isSearchEmpty:!0}),setTimeout((function(){n.query.orderId=n.state.orderId,n.ajaxData()}))):r.Message.error("至少保留1个店铺数据")},n.onChange=function(e){n.setState({selectedShop:e})},n.onOrderChange=function(e){n.setState({orderId:e.target.value})},n.handleOrderColumnChange=function(e){n.setState({orderColumnTemp:e})},n.hasMoreLength=function(){var e=[];return n.state.orderColumn.forEach((function(t){[3,4,5].includes(t)&&e.push(t)})),e.length},n.hasMoreTitleLength=function(){var e=[];return n.state.orderColumn.forEach((function(t){[1,2].includes(t)&&e.push(t)})),e.length},n.state={platList:[],platListMap:{},allPlatShop:[],selectedShop:[],selectedShopTemp:[],loading:!0,searchLoading:!0,isSearchEmpty:!1,pageNum:1,pageSize:10,total:0,tableData:[],orderColumn:jl().orderColumn,orderColumnTemp:jl().orderColumn,isBigScreen:!1,orderId:""},n}var n,a,i,o;return C(t,e),w(t,[{key:"componentDidMount",value:(o=g(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.productionNameRef=l.default.createRef(),this.query={oneYearLater:!1,uniId:this.context.uniId},e.next=4,this.getAllPlat();case 4:if(0>=this.context.selectUniShops.length){e.next=11;break}this.query.shopId=this.context.selectUniShops.join(","),t=[],this.context.selectUniShops.forEach((function(e){var n=e.split("|");t.push([n[0],e])})),this.setState({selectedShop:t,selectedShopTemp:JSON.parse(JSON.stringify(t))}),e.next=13;break;case 11:return e.next=13,this.getFirstShop();case 13:return e.next=15,this.getAllShop();case 15:this.ajaxData(),window.addEventListener("resize",this.handleResize);case 17:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"getAllPlat",value:(i=g(p().mark((function e(){var t,n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getPlatformInfo(this.context.domain,this.context.serverName,this.context.uniId);case 2:t={},n=e.sent.map((function(e){return t[e.platCode]=e.platName,"MGJ"===e.platCode?"mogujie":e.platCode.toLocaleLowerCase()})),this.setState({platList:n,platListMap:t});case 6:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"getFirstShop",value:(a=g(p().mark((function e(){var t,n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getFirstShopList(this.context.domain,{tenantId:this.context.tenantId,platCodes:this.state.platList.join(","),permissionType:!0,youzanFlag:"mainShop",pageNum:1,pageSize:1,productCodes:"sjyj"});case 2:0!==(t=e.sent).length?(this.query.shopId=n=t[0].uniShopId,a=[[n.split("|")[0],n]],this.setState({selectedShop:a,selectedShopTemp:JSON.parse(JSON.stringify(a))})):this.setState({selectedShop:[]});case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"getAllShop",value:(n=g(p().mark((function e(){var t,n,a,r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this.state).platList,a=t.platListMap,e.next=3,xs.getAllShop(this.context.domain,{appIds:"0,31,9001",tenantId:this.context.tenantId,platCodes:n.join(","),permissionType:!0,youzanFlag:"mainShop",productCodes:"sjyj"});case 3:r=e.sent.reduce((function(e,t,n,r){var i="WX"===t.platCode?"WEIXIN":t.platCode,o=t.uniShopId.includes("WX|")?t.uniShopId.replace("WX|","WEIXIN|"):t.uniShopId,l=e.find((function(e){return e.value===i}));return l?l.children.push({value:o,label:t.name}):e.push({value:i,label:a[i],children:[{value:o,label:t.name}]}),e}),[]),this.setState({allPlatShop:r});case 6:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"filter",value:function(e,t){return t.some((function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}))}},{key:"render",value:function(){var e=this,t=this.state,n=t.loading,a=t.tableData,i=t.pageNum,o=t.pageSize,s=t.total,u=t.orderColumn,c=t.orderColumnTemp,d=t.platListMap,f=t.searchLoading,p=t.isSearchEmpty,h=u.includes(1)&&u.includes(2)?"2":u.includes(1)&&!u.includes(2)?"1-1":!u.includes(1)&&u.includes(2)?"1-2":u.includes(1)||u.includes(2)?"":"0",m=l.default.createElement("div",null,l.default.createElement(r.Checkbox.Group,{layout:"v",value:c,onChange:this.handleOrderColumnChange},l.default.createElement(r.Checkbox,{value:1},"订单结束时间"),l.default.createElement(r.Checkbox,{value:2},"导购员ID"),l.default.createElement(r.Checkbox,{value:3},"商品级优惠"),l.default.createElement(r.Checkbox,{value:4},"子订单调整金额"),l.default.createElement(r.Checkbox,{value:5},"主订单调整金额")));return n?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"customer-order-area-new"},l.default.createElement(r.Tips,{msg:"列表默认显示近2年的订单数据",style:{margin:16},isShowIcon:!0}),l.default.createElement("div",{className:"shop-filter"},l.default.createElement("label",{className:"title-label-require"},"店铺:"),l.default.createElement(r.CCascader,{style:{width:"270px"},options:this.state.allPlatShop,defaultValue:this.state.selectedShop,value:this.state.selectedShop,onChange:function(t){return e.onChange(t)},blur:function(){return e.searchData()},placeholder:"请选择店铺",maxTagCount:"responsive",showCheckedStrategy:"SHOW_CHILD",notFoundContent:Ns,multiple:!0,allowClear:!0,showSearch:{filter:this.filter}}),l.default.createElement("label",{className:"title-label-require",style:{marginLeft:16}},"订单号",l.default.createElement(r.Tooltip,{content:"默认基于客户近两年的订单数据筛选订单。",placement:"top"},l.default.createElement(r.Icon,{type:"question-circle",style:{margin:"0 2px",fontSize:"14px",color:"#0055CC",cursor:"pointer"}}),":")),l.default.createElement(r.Input,{placeholder:"请输入订单号",value:this.state.orderId,onChange:this.onOrderChange}),l.default.createElement(r.Button,{type:"primary",onClick:function(){return e.searchData()},style:{marginLeft:16}},"搜索"),l.default.createElement(r.Button,{onClick:function(){return e.searchData("rest")},style:{marginLeft:8}},"重置"),l.default.createElement(r.Popover,{className:"opt-checkbox-order",trigger:"click",size:"small",placement:"bottom-right",content:m,showCancelBtn:!0,showConfirmBtn:!0,confirmText:"确定",onCancelClick:function(){e.setState({orderColumnTemp:e.state.orderColumn})},onConfirmClick:function(){var t=e.state.orderColumnTemp;e.setState({orderColumn:t},(function(){e.handleResize()}));var n=jl();n.orderColumn=t,zl(n)}},l.default.createElement(r.Button,{className:"shop-filter-flag"},"选择指标"))),l.default.createElement(r.Loading,{layer:"true",className:"customer-loading",loading:f},l.default.createElement("div",{className:"order-list ".concat(this.hasMoreLength()>0?"order-list-right":"")},l.default.createElement("div",{className:"order-table-title order-extend-".concat(this.hasMoreLength())},l.default.createElement("div",{className:"table-column1"},"商品"),l.default.createElement("div",{className:"table-column2"},"商品原价"),l.default.createElement("div",{className:"table-column2"},"商品数量"),u.includes(3)&&l.default.createElement("div",{className:"table-column2"},"商品级优惠"),u.includes(4)&&l.default.createElement("div",{className:"table-column2"},"子订单调整金额"),l.default.createElement("div",{className:"table-column2"},"优惠金额"),u.includes(5)&&l.default.createElement("div",{className:"table-column2"},"主订单调整金额"),l.default.createElement("div",{className:"table-column5"},"订单总金额 ",this.state.isBigScreen)),l.default.createElement("section",{className:"order-table-body order-extend-".concat(this.hasMoreLength()," ").concat(0===a.length?"order-table-body-empty":"")},a.length?a.map((function(t,n){var a={type:1,text:t.orderStatus},i={type:1,text:t.guideId};return l.default.createElement("div",{className:"order-info",key:t.orderId},0===e.hasMoreTitleLength()||e.state.isBigScreen?l.default.createElement("div",{className:"order-title"},l.default.createElement("p",{className:"order-shop order-common-width-".concat(h)},El.includes(t.platCode)?l.default.createElement(Vs,{symbol:"".concat(t.platCode,"01"),style:{width:"16px",height:"16px"}}):l.default.createElement("img",{width:"16px",height:"16px",src:"https://brand-guide.shuyun.com/IAM/717f6f9c6abf.svg"}),l.default.createElement(r.Tooltip,{content:d[t.platCode]+"-"+t.shopName},l.default.createElement("span",null,d[t.platCode]," - ",t.shopName))),l.default.createElement("p",{className:"order-other order-special"},l.default.createElement("span",null,"订单号:"),l.default.createElement(r.Tooltip,{placement:"top-left",content:"双击可复制"},l.default.createElement("span",{className:"copy-order-id",onDoubleClick:function(){return e.handleCopy(t.orderId)}},t.orderId))),l.default.createElement("p",{className:"order-time"},l.default.createElement("span",null,"下单:"),l.default.createElement("span",null,t.created||"-")),l.default.createElement("p",{className:"order-time"},l.default.createElement("span",null,"付款:"),l.default.createElement("span",null,t.payTime||"-")),l.default.createElement("p",{className:"order-other order-common-width-".concat(h)},l.default.createElement("span",null,"交易状态:"),l.default.createElement("div",{className:"order-other-status"},l.default.createElement(gs,{tip:a}))),u.includes(1)&&l.default.createElement("p",{className:"order-time"},l.default.createElement("span",null,"结束:"),l.default.createElement("span",null,t.endtime||"-")),u.includes(2)&&l.default.createElement("p",{className:"order-other order-common-width-".concat(h)},l.default.createElement("span",null,"导购员ID:"),l.default.createElement("div",{className:"order-temp-tip-width"},l.default.createElement(gs,{tip:i})))):"",e.hasMoreTitleLength()>0&&!e.state.isBigScreen&&l.default.createElement("div",{className:"order-title-another"},l.default.createElement("section",{className:"title-section-temp"},l.default.createElement("p",{className:"order-temp order-temp-shop"},l.default.createElement(Vs,{symbol:"".concat(t.platCode,"01"),style:{width:"16px",height:"16px"}}),l.default.createElement(r.Tooltip,{content:d[t.platCode]+"-"+t.shopName},l.default.createElement("span",null,d[t.platCode]," - ",t.shopName))),l.default.createElement("p",{className:"order-temp"},l.default.createElement("span",null,"订单号:"),l.default.createElement(r.Tooltip,{placement:"top-left",content:"双击可复制"},l.default.createElement("span",{className:"copy-order-id",onDoubleClick:function(){return e.handleCopy(t.orderId)}},t.orderId))),l.default.createElement("p",{className:"order-temp"},l.default.createElement("span",null,"下单:"),l.default.createElement("span",null,t.created||"-")),l.default.createElement("p",{className:"order-temp"},l.default.createElement("span",null,"付款:"),l.default.createElement("span",null,t.payTime||"-"))),l.default.createElement("section",{className:"title-section-temp"},l.default.createElement("p",{className:"order-temp order-temp-left"},l.default.createElement("span",null,"交易状态:"),l.default.createElement("div",{className:"order-other-status"},l.default.createElement(gs,{tip:a}))),u.includes(2)&&l.default.createElement("p",{className:"order-temp"},l.default.createElement("span",null,"导购员ID:"),l.default.createElement("div",{className:"order-temp-tip-width"},l.default.createElement(gs,{tip:i}))),u.includes(1)&&l.default.createElement("p",{className:"order-temp"},l.default.createElement("span",null,"结束:"),l.default.createElement("span",null,t.endtime||"-")))),l.default.createElement("div",{className:"order-content"},l.default.createElement("section",{className:"order-content-1 ".concat(u.includes(5)?"order-content-1-2":u.includes(3)||u.includes(4)?"order-content-1-1":"")},t.orderList.map((function(e,t){return l.default.createElement("div",{className:"order-content-one-div"},l.default.createElement("div",{className:"order-item-production",key:e.orderItemId},l.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:e.detailUrl?e.detailUrl:null},l.default.createElement(ru,{picUrl:e.picUrl})),l.default.createElement("span",{className:"product-name"},l.default.createElement(r.Tooltip,{content:ql(document.getElementById("customer-order-name-".concat(n,"-").concat(t)),e.productName,"14px",2)},l.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",id:"customer-order-name-".concat(n,"-").concat(t),href:e.detailUrl?e.detailUrl:null},e.productName)),l.default.createElement("p",{className:"sku"},e.skuDetail),"1"===e.isRefund?l.default.createElement("p",{className:"product-refund"},"退款成功"):"")),l.default.createElement("div",{className:"order-item-price",key:e.skuId},"¥ ",e.price),l.default.createElement("div",{className:"order-item-count",key:e.productId},e.productNum),u.includes(3)&&l.default.createElement("div",{className:"order-item-count-temp"},"¥",e.discountFee),u.includes(4)&&l.default.createElement("div",{className:"order-item-count-temp"},"¥",e.adjustFee))}))),l.default.createElement("section",{className:"order-content-2"},"¥",t.tradeDiscountFee),u.includes(5)&&l.default.createElement("section",{className:"order-content-2"},"¥",t.adjustFee),l.default.createElement("section",{className:"order-content-4"},l.default.createElement("p",null,"¥",t.payment),l.default.createElement("p",null,"(含运费:¥",t.postFee,")"))))})):l.default.createElement("div",{className:"empty-order"},l.default.createElement("img",{alt:"",src:p?Is:As,width:64}),l.default.createElement("p",{style:{marginTop:8}},p?"搜索为空":"暂无数据")))),0!==s&&l.default.createElement("div",{className:"footer-page"},l.default.createElement(r.Pagination,{showQuickJumper:!0,showPageSizeOptions:!0,pageSizeOptions:[5,10,20,30,50],onChange:function(t,n){return e.onPageChange(t,n)},total:s,current:i,pageSize:o}))))}}]),t}(l.default.Component);function ru(e){var n=e.picUrl;return l.default.createElement(t.Fragment,null,n&&l.default.createElement("img",{width:"50px",height:"50px",src:n,alt:""}),!n&&l.default.createElement("div",{className:"default-img"},l.default.createElement("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAFpOLgnAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMqADAAQAAAABAAAAMgAAAAB1y6+rAAAC3UlEQVRoBe1Zh87jIAx2lzrVSl1SxwtdH/he6DpVdW91Xb5IICCkkLTJf1cFKQEDtvlsE0ZSh8PhFxH9dh41DVNO41OtZXSaFXQ5b5zP57Tf7wk5S7yx0WjQ4/GgQqHA2sioc8i7KgVfTq5PYSC7htlsxhk5x3a7pWKxyBuCK/fl4DI1Ba5f0+Zb5WESnQEulUZdFi81rVYrcmJCreZ0fJgCa/IYgQ/ap/C/MDyfvlNUH+CpVIqGQ/000oJmnVkuGswTJpgY1WpV7COVv8FxgTFIFrAktK6w5LXu9j1KPIGo2mC5XNLxeFSrJbrf70u0ShiV3O93gpDxeOyubChfLhfK5/OuLN2XNrASxtDtdmmz2UiTOZ1OUy6XY118cyMScC4WCzqdTh4hWLOBypSSeWKykNQey2SET/44al8HujSuwMQgcXwgm8Xi+ETJv+cT41dYt+USYZRKJarX62KVp2xUgsWp1WoRFq9MJuMRYLNoWUfXZDKh6/XqKnm1dfWMwqkwImFMvV6PxG1up9PRImP9xdwaiagAAoDMZlVEX2slugCw8YeVEthfpwDMtsnoE5ySxQO+KrhSqahVHjpZTzwmeVVhHV2vhJjaEiUmC0ntcZjLvbCLenMnoYqIeH3zGJHSSMTG4fZIBq4KTYCoFvlpOvHIT3tA1f81HjFu6lTkKo0bIvwoCLrDZ3Kwty6Xy4TrrHfS20BwBYaE81GYhL36+XwOzc90vg2ECWI5+5WDy8J2u+0el1hblPnHgbAQYTkGj9ADQJxsm81mJOA+DqRWqxEepN1u517tuoTzwrlyNBpRNpt1ASH/VPqcJGFE6/Xa/e8rVEnF2+1G0+nU9Qwmu82dtSRAQ3wMCL5aCB/T7wJxDOAJ+7UT5aD8NhDc4mDwCJmwSXcTFFRWLOf2oIMK0/+9VSiMxoh4EiARGTa02MQjoU0XEWPikYgMG1osPDJwnmFoCT/PiLEP/gLYJwxH9DiPIAAAAABJRU5ErkJggg==",width:50,height:50})))}au.contextType=Jl;var iu=function(e){function t(e){var n,a,r,i;y(this,t),(i=u(this,t,[e])).offlineFieldNames={label:"regionName",value:"regionId",children:"children"},i.handleChange=function(e){i.setState({shopNick:e.target&&e.target.value})},i.handlePlatformChange=function(e){i.setState({channel:e}),i.props.formFlag&&i.props.channel(e)},i.handleTypeChange=function(e){i.setState({shopType:e})},i.handleSearch=function(){var e=i.props.option,t=e.isSupportedChannel,n=void 0===t||t,a=e.permissionType,r=void 0!==a&&a,o=e.isJosPop,l=void 0!==o&&o,s=e.youzanFlag,u=i.state,c=u.shopType,d=u.offlineIdPath,p=u.offlineIdOption;i.params={shopNick:u.shopNick,channel:n&&u.channel,shopTypes:n&&(null==c?void 0:c.split("_")[1]),regionId:d,permissionType:r},l&&(i.params=f(f({},i.params),{},{appId:0})),s&&(i.params=f(f({},i.params),{},{youzanFlag:s})),i.props.formFlag?i.props.searchParams(i.params):i.props.selectedSearchParams(f(f({},i.params),{},{regionOption:p}))},i.handleReset=function(){var e,t,n,a=i.props.option.isSupportedChannel,r=void 0===a||a,o=null===(e=i.typeList.map((function(e){return e.options})))||void 0===e?void 0:e.flat().length;i.setState({shopNick:"",channel:r&&i.channelList[0].id,shopType:1===o?null===(t=i.typeList[0])||void 0===t||null===(n=t.options[0])||void 0===n?void 0:n.value:"",offlineIdPath:[],offlineIdOption:[]}),i.props.onSearchReset&&i.props.onSearchReset()},i.filterPlatform=function(e,t){var n=t.map((function(t){return e.find((function(e){return e.id.toLowerCase()===t}))}));return n.filter((function(e){return e}))},i.handleOfflineFilter=function(e,t){return t.some((function(t){return t[i.offlineFieldNames.label].toLowerCase().indexOf(e.toLowerCase())>-1}))},i.handleOfflineAddress=function(e,t){i.setState({offlineIdPath:e,offlineIdOption:t}),i.props.changeOffline(e?e[e.length-1]:"")};var o=i.props.option,l=o.platform,s=o.isSupportedChannel,c=void 0===s||s,d=o.shopTypes,p=l?i.filterPlatform(i.props.channelList,l):i.props.channelList;1>=p.length&&l||(p=[{id:"",name:"全部平台"}].concat(N(p))),i.channelList=p;var h=JSON.parse(JSON.stringify(i.props.shopTypeList));i.typeList=l?i.filterPlatform(h,l):h;var m,v=null===(n=i.typeList.map((function(e){return e.options})))||void 0===n?void 0:n.flat(),g=1===v.length?null===(a=i.typeList[0])||void 0===a||null===(r=a.options[0])||void 0===r?void 0:r.value:"";d&&(null===(m=i.typeList.map((function(e){return e.options})))||void 0===m||m.flat().forEach((function(e){var t=I(null==e?void 0:e.value.split("_"),2);d==t[1]&&(g=null==e?void 0:e.value)})));return i.state={shopNick:"",channel:c&&i.channelList.length&&i.channelList[0].id,shopType:g,offlineIdPath:[],offlineIdOption:[]},i}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.option,n=t.isSupportedChannel,a=void 0===n||n,i=t.hideOffLineSearchItem,o=e.offlineAddress,s=this.props.option.platform,u=this.state,c=u.channel,d=u.shopType,p=void 0===a||a?{}:{display:"none"};return!a&&s&&e.formFlag&&(s=null,console.warn("您已配置不支持平台,但是平台参数不为空")),l.default.createElement("section",{className:"".concat(Ce,"-new-shop-form")},l.default.createElement("div",{className:"shop-form-item",style:p},l.default.createElement("span",{className:"shop-item-label"},"平台:"),l.default.createElement(r.Select,{className:"shop-form-input selector-background",value:c,labelKey:"name",valueKey:"id",dataSource:this.channelList,onChange:this.handlePlatformChange})),l.default.createElement("div",{className:"shop-form-item"},l.default.createElement("span",{className:"shop-item-label"},"店铺/微信类型:"),l.default.createElement(r.Select,{className:"shop-form-input selector-background",placeholder:"请选择店铺/微信类型",dataSource:this.typeList,value:d,onChange:this.handleTypeChange,allowClear:!0})),l.default.createElement("div",{className:"shop-form-item"},l.default.createElement("span",{className:"shop-item-label"},"店铺/微信名称:"),l.default.createElement(r.Input,{className:"shop-form-input",placeholder:"请输入店铺/微信名称",value:this.state.shopNick,onChange:this.handleChange,hasClear:!0})),!i&&l.default.createElement("div",{className:"shop-form-item"},l.default.createElement("span",{className:"shop-item-label"},"线下店铺区域:"),l.default.createElement(r.CCascader,{options:o||[],value:this.state.offlineIdPath,onChange:this.handleOfflineAddress,placeholder:"请选择线下店铺区域",changeOnSelect:!0,className:"shop-form-cascader",fieldNames:f({},this.offlineFieldNames),showSearch:{filter:this.handleOfflineFilter},allowClear:!0,getPopupContainer:function(e){return e.parentNode}})),l.default.createElement("div",{className:"shop-form-search"},l.default.createElement(r.Button,{type:"primary",onClick:this.handleSearch,className:"search-btn"},"查询"),l.default.createElement(r.Button,{type:"text",onClick:this.handleReset},"重置")))}}]),t}(t.Component),ou="ucenter-mars-facade/v1",lu=function(){function e(){y(this,e)}var t,n,a,r;return w(e,[{key:"getShopList",value:(r=g(p().mark((function e(t,n){var a,r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.serverName,r=t.query,i=n?"".concat(a).concat(n):"".concat(a,"/").concat(ou,"/tenant/shop/list/selector"),e.next=4,ye.get(i,{params:r});case 4:return e.abrupt("return",e.sent.data.data||[]);case 7:case"end":return e.stop()}}),e)}))),function(e,t){return r.apply(this,arguments)})},{key:"getShopDetailById",value:(a=g(p().mark((function e(t,n){var a,r,i,o;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.serverName,r=t.query,!n){e.next=8;break}return i="".concat(a).concat(n),e.next=5,ye.get(i,{params:f({},r)});case 5:return e.abrupt("return",e.sent.data.data);case 8:return o="".concat(a,"/").concat(ou,"/tenant/shop/list/selector?tenantId=").concat(r.tenantId),e.next=11,ye.post(o,r);case 11:return e.abrupt("return",e.sent.data.data||[]);case 14:case"end":return e.stop()}}),e)}))),function(e,t){return a.apply(this,arguments)})},{key:"fetchChannelData",value:(n=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tenantId,a="".concat(t.serverName,"/").concat(ou,"/tenant/platform/shop_types?tenantId=").concat(n),e.next=4,ye.get(a);case 4:return e.abrupt("return",e.sent.data.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"fetchRegionTree",value:(t=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tenantName,a="".concat(t.serverName,"/").concat(ou,"/tenant/offline/shop/region"),e.next=4,ye.get(a,{params:{tenantId:n}});case 4:return e.abrupt("return",e.sent.data.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}(),su=new lu,uu="data:image/png;base64,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",cu=l.default.createContext({}),du=["shopNick","channel","shopTypes"],fu="shop-selector-disabled-row-key",pu="shop-selector-highlight-row-key",hu="search",mu="unsearch",vu="sjyj",gu={NORMAL:"正常",NO_ORDER:"未订购",EXPIRE:"订购到期"},yu=[{name:"企业微信",code:"32"}],bu=function(e,t,n){var a=t.map((function(e){return e.options})).flat(),i=[{dataIndex:"name",title:function(){return l.default.createElement("span",{style:{marginLeft:12}},"店铺/微信名称")},width:"180px",fixed:!0,ellipsis:!0,align:"left",render:function(e,t){return l.default.createElement(r.Tooltip,{content:t.name,placement:"top-left"},l.default.createElement("span",{style:{marginLeft:12}},t.name))}},{dataIndex:"id",title:"店铺ID/微信AppID",width:"200px",align:"left",render:function(e,t){return l.default.createElement("span",null,t.id)}},{dataIndex:"platCode",title:"平台",align:"center",render:function(t){var n=e.filter((function(e){return e.id===t}));return l.default.createElement("span",null,n[0]?n[0].name:"--")}},{dataIndex:"typeName",title:"店铺/微信类型",align:"left",render:function(e,t){var n=a.filter((function(e){return e.value==t.type}));return l.default.createElement("span",null," ",t.shopTypeDesc||(n[0]&&n[0].label?n[0].label:"--")," ")}},{dataIndex:"region",title:"线下店铺区域",ellipsis:!0,align:"left",render:function(e,t){return l.default.createElement(r.Tooltip,{content:t.region,placement:"top-left"},l.default.createElement("span",null,t.region?t.region:"--"))}},{dataIndex:"address",title:"店铺地址",ellipsis:!0,align:"left",render:function(e,t){return l.default.createElement(r.Tooltip,{content:t.address,placement:"top-left"},l.default.createElement("span",null,t.address?t.address:"--"))}}];return n&&(i.splice(4,1),i.splice(4,0,{dataIndex:"status",title:"店铺状态",ellipsis:!0,align:"left",render:function(e,t){return l.default.createElement(r.Tooltip,{content:t.versionDesc,placement:"top-left"},l.default.createElement("span",null,t.status?gu[t.status]:"--"))}})),i},wu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.shopNick,n=e.shopTypes;return f({shopNick:void 0===t?"":t,platCodes:e.channel,shopType:void 0===n?"":n},x(e,du))},ku=function(e,t){if(!e.length)return"";var n=t.map((function(e){return"".concat(e.platCode.toUpperCase(),"_")})),a=[];return e.forEach((function(e){n.some((function(t){return e.toUpperCase().includes(t)}))?n.forEach((function(t){var n=RegExp("^".concat(t),"gi");n.test(e)&&a.push(e.replace(n,"".concat(t.substring(0,t.length-1),"|")))})):a.push(e)})),""+a},Eu=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).tableRef=l.default.createRef(),n.shopRef=l.default.createRef(),n.isShowToolArea=function(){var e=n.props.option,t=e.disabledRowIdList,a=e.selectableRowIdList,r=e.isSingleSelected,i=e.disabledAllRow;return!(void 0!==r&&r)&&((void 0===t?[]:t).length||(void 0===a?[]:a).length||void 0!==i&&i)},n.onSearch=function(e){n.setState({selecting:!0});var t=n.props.option,a=t.tenantId,r=t.appIds,i=void 0===r?vu:r,o=t.platform,l=t.isSupportedChannel,s=t.serverName,u=t.shopPath,c=void 0===u?"":u,d=t.partner,p=t.youzanFlag,h=!e.channel&&(void 0===l||l)?o&&o.map((function(e){return e.toUpperCase()})).join(","):e.channel;if(n.queryData.query=f(f({},wu(e)),{},{productCodes:i,tenantId:a,platCodes:h,partner:d}),p&&(n.queryData.query=f(f({},n.queryData.query),{},{youzanFlag:p})),n.reginId){var m=f(f({},n.queryData.query),{},{regionId:n.reginId}),v=n.context.allSelectedShopList;su.getShopList({query:m,serverName:s},c).then((function(e){n.setAllShopList(e),n.context.changeSelectedShops(v),n.tableRef.current.refreshTable(!0,n.queryData.query),n.setState({selecting:!1})}))}else n.fetchAllShopList().then((function(){n.tableRef.current.refreshTable(!0),n.setState({selecting:!1})}))},n.onSearchReset=function(){var e=n.props.option.platform;n.reginId=null,n.setState({channelType:e&&""+e})},n.onChannel=function(e){n.setState({channelType:e})},n.onAllCheckedHandle=function(e){n.setState({operationsStatus:!1}),n.getCheckedState().isAllChecked||(n.setState({selecting:!0}),setTimeout((function(){n.updateCheckedShopData(n.usableShopList,e),n.setState({selecting:!1})}),300))},n.onPageCheckedHandle=function(e){n.updateCheckedShopData(n.state.usableCurrentShopList,e)},n.onRemoveAll=function(){n.setState({operationsStatus:!1}),n.context.changeSelectedShops([])},n.onChangeDisable=function(e){n.setState({usable:e},(function(){n.tableRef.current.refreshTable(!0)}))},n.genColumnData=function(){var e;return bu(n.channelList,n.shopTypeList,null===(e=n.props.option)||void 0===e?void 0:e.hideOffLineSearchItem)},n.ajaxSuccess=function(){var e=n.props.option,t=e.selectedShop,a=void 0===t?[]:t,r=e.heightLightRow,i=void 0===r?[]:r,o=e.isOpenSelectedTab,l=n.context.allSelectedShopList;i.length&&i.find((function(e){return e.background}))&&n.setTdBackground(i),a.length&&n.firstStatus&&!o&&n.getSelectedShopDetail(a).then((function(e){n.context.changeSelectedShops(l||e),n.firstStatus=!1}))},n.checkedHandler=function(e){n.context.changeSelectedShops(e)},n.ajaxData=function(e){var t=A(n),a=n.state.usable?t.usableShopList:t.allShopList,r=e.pageSize,i=e.pageNum;return n.currentShopList=a.slice((i-1)*r,i*r),n.setCurrentShopList(n.currentShopList),new Promise((function(e){setTimeout((function(){e({data:n.currentShopList,totals:a.length})}),100)}))},n.switchOperationsStatus=function(){n.setState({operationsStatus:!n.state.operationsStatus})};var a=n.props,r=a.searchParams,i=a.option,o=a.channel,s=i.tenantId,c=i.platform,d=i.permissionType,p=void 0!==d&&d,h=i.youzanFlag,m=i.shopTypes,v=i.appIds,g=void 0===v?vu:v,b=i.partner;return n.firstStatus=!0,n.channelList=o.channelList,n.shopTypeList=o.shopTypeList,n.queryData={serverName:i.serverName,query:f(f({},wu(r)),{},{productCodes:g,tenantId:s,platCodes:c&&c.map((function(e){return e.toUpperCase()})).join(","),permissionType:p,shopType:m,partner:b})},h&&(n.queryData.query=f(f({},n.queryData.query),{},{youzanFlag:h})),n.state={selecting:!1,usable:!0,operationsStatus:!1,usableCurrentShopList:[],channelType:c&&""+c},n.allShopList=[],n.usableShopList=[],n.currentShopList=[],n.reginId=null,n.initTableData(),n}var n,a,i;return C(t,e),w(t,[{key:"initTableData",value:(i=g(p().mark((function e(){var t=this;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetchAllShopList();case 2:return e.next=4,this.ajaxSuccess();case 4:setTimeout((function(){var e,n;t.context.changeLoading(!1),(null===(e=t.tableRef)||void 0===e||null===(n=e.current)||void 0===n?void 0:n.refreshTable)&&t.tableRef.current.refreshTable(!0)}),100);case 5:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"getUsableShopList",value:function(e){var t=this.props.option,n=t.disabledRowIdList,a=void 0===n?[]:n,r=t.selectableRowIdList,i=void 0===r?[]:r,o=t.disabledAllRow,l=a.length,s=i.length;return void 0!==o&&o?[]:l||s?l?e.filter((function(e){return!a.includes(e.id)})):s?e.filter((function(e){return i.includes(e.id)})):[]:e}},{key:"setAllShopList",value:function(e){this.allShopList=e,this.usableShopList=this.getUsableShopList(e)}},{key:"setCurrentShopList",value:function(e){this.currentShopList=e,this.setState({usableCurrentShopList:this.getUsableShopList(e)})}},{key:"getSelectedShopDetail",value:(a=g(p().mark((function e(t){var n,a,r,i,o,l,s;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=this.props.option).serverName,r=n.youzanFlag,o=void 0===(i=n.shopPath)?"":i,s={tenantId:n.tenantId,productCodes:void 0===(l=n.appIds)?vu:l,shopIds:ku(t,this.shopTypeList)},r&&(s=f(f({},s),{},{youzanFlag:r})),e.abrupt("return",su.getShopDetailById({query:s,serverName:a},o));case 4:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"setTdBackground",value:function(e){var t=this;e.forEach((function(e,n){var a=t.shopRef.current.querySelectorAll(".cloud-table-container tr.".concat(pu))[n];a&&[].forEach.call(a.querySelectorAll("td"),(function(t){t.style.background=e.background||"#eee"}))}))}},{key:"updateCheckedShopData",value:function(e,t){var n=this.context,a=n.allSelectedShopList,r=void 0===a?[]:a,i=n.changeSelectedShops,o=[];if(r.length){var l=r.map((function(e){return e.id}));if(t){var s=e.filter((function(e){return!l.includes(e.id)}));o=r.concat(s)}if(!t){var u=e.filter((function(e){return l.includes(e.id)}));o=r.filter((function(e){return!u.some((function(t){return e.id===t.id}))}))}}else o=t?e:[];i(o)}},{key:"getCheckedState",value:function(){var e=this.usableShopList,t=this.state.usableCurrentShopList,n=this.context.allSelectedShopList,a=void 0===n?[]:n;return{isAllChecked:e.length>0&&e.every((function(e){return a.some((function(t){return e.id===t.id}))})),currentPageChecked:t.length>0&&t.every((function(e){return a.some((function(t){return e.id===t.id}))}))}}},{key:"fetchAllShopList",value:(n=g(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,su.getShopList(this.queryData,null===(t=this.props.option)||void 0===t?void 0:t.shopPath);case 2:this.setAllShopList(e.sent);case 4:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"renderTable",value:function(){var e=this,t=this.context.allSelectedShopList,n=void 0===t?[]:t,a=this.props,i=a.option,o=a.tipsHeight,s=this.state.operationsStatus,u=i.disabledRowIdList,c=void 0===u?[]:u,d=i.selectableRowIdList,f=void 0===d?[]:d,p=i.heightLightRow,h=void 0===p?[]:p,m=i.isSingleSelected,v=void 0!==m&&m,g=i.disabledRowHoverOptions,y=void 0===g?{}:g,b=i.tips,w=void 0===b?null:b,k=i.disabledAllRow,E=this.getCheckedState(),C=w?340-o:340,S=w?310-o:310;return l.default.createElement(l.default.Fragment,null,!v&&l.default.createElement("div",{className:"table-operation",style:{zIndex:this.state.selecting?1:2},onMouseLeave:function(){return e.setState({operationsStatus:!1})}},l.default.createElement(r.Checkbox,{className:"check-page-selected",checked:E.currentPageChecked,onChange:this.onPageCheckedHandle}),l.default.createElement(r.Icon,{type:s?"up":"down",className:"switch",onClick:this.switchOperationsStatus}),s?l.default.createElement("div",{className:"operationsList"},l.default.createElement("span",{className:"operationItem",onClick:this.onAllCheckedHandle},"全选全部"),l.default.createElement("span",{className:"operationItem",onClick:this.onRemoveAll},"清空")):null),l.default.createElement(r.CTable,{ref:this.tableRef,rowKey:"id",style:{width:"100%",height:this.isShowToolArea()?S:C},footerHeight:48,ajaxData:this.ajaxData,columnData:this.genColumnData(),checkedData:n,onCheckedAfter:function(t){return e.checkedHandler(t)},onCheckedAllAfter:function(t){return e.checkedHandler(t)},supportCheckbox:!v,supportRadio:v,supportPage:!0,showTotal:!0,disablePageOnLoad:!1,loadingOpts:{loading:this.state.selecting,layer:!0},emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:uu,width:64,height:64}),l.default.createElement("p",null,"暂无数据"))},footerSelectTpl:l.default.createElement("span",{className:"selectedStatistics"},"已选店铺 ",l.default.createElement("span",{className:"count"},n.length)," 个"),tooltipConfigs:[{tooltipMsg:y.text,tooltipRowCls:fu}],pageOpts:{pageSize:10,pageSizeOptions:[10,20,30,50,100],type:"small",showQuickJumper:!1},onRow:function(e){i.handelRow?i.handelRow(e):Object.assign(e,{disabled:k||c.includes(e.id)||f.length&&!f.includes(e.id)})},rowClassName:function(e){var t=(h||[]).find((function(t){return t.id===e.id}));return t?t.background?pu:t.clsName||"shop-selector-highlight-row":c.length&&c.includes(e.id)||f.length&&!f.includes(e.id)||k?fu:""}}))}},{key:"render",value:function(){var e=this,t=this.state.usable,n=this.props,a=n.option;return l.default.createElement(l.default.Fragment,null,l.default.createElement(iu,{formFlag:!0,option:a,channel:this.onChannel,channelList:this.channelList,shopTypeList:this.shopTypeList,offlineAddress:n.treeData,changeOffline:function(t){e.reginId=t},searchParams:this.onSearch,onSearchReset:this.onSearchReset}),l.default.createElement("div",{className:"all-shops-area",ref:this.shopRef},l.default.createElement("div",{className:"all-shop"},this.isShowToolArea()?l.default.createElement("div",{className:"all-shops-operation"},l.default.createElement(r.Checkbox,{className:"check-usable",checked:t,onChange:this.onChangeDisable},"仅显示可选项")):null,l.default.createElement("div",{className:"shop-table-container",style:{top:a.isSingleSelected?0:-20}},this.context.isLoading?l.default.createElement(r.Loading,{className:"loading"}):this.renderTable()))))}}]),t}(t.Component);Eu.contextType=cu,Eu.propTyes={option:et.shape({isSingleSelected:et.bool,disabledRowIdList:et.array,selectableRowIdList:et.array,disabledRowHoverOptions:et.object,serverName:et.string.isRequired,tenantId:et.string.isRequired,youzanFlag:et.string,partner:et.string}),channel:et.object},Eu.defaultProps={option:{isSingleSelected:!1,disabledRowIdList:[],selectableRowIdList:[],disabledRowHoverOptions:{},serverName:"",tenantId:"",youzanFlag:"",partner:""},channel:{channelList:[],shopTypeList:[]}};var Cu=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).tableRef=l.default.createRef(),n.onSearch=function(e){n.params=e;var t=n.context.allSelectedShopList;if(t){var a=JSON.parse(JSON.stringify(t)),r=e,i=n.filterSearchMethods();a.forEach((function(e){var t=[];Object.keys(r).forEach((function(n){if("channel"===n)t.push(i.equal(r[n],e.platCode));else if("shopTypes"===n)t.push(i.equal(r[n],e.shopType));else if("shopNick"===n){t.push(i.fuzzySearchGroup(["name","id"],r[n],e))}else if("regionId"===n){var a=r.regionOption.map((function(e){return e.regionName})).join(",");t.push(i.fuzzySearchGroup(["region"],a,e))}})),e.isHide=-1!==t.indexOf(!1)})),n.filterShopList=a.filter((function(e){return!e.isHide})),n.setState({flag:hu}),n.tableRef.current.refreshTable(!0)}},n.filterSearchMethods=function(){return{equal:function(e,t){return!e&&0!==e||""===t||(e+"").replace(/\s/g,"")===t+""},fuzzySearchGroup:function(e,t,n){var a=[];return e.map((function(e){return a.push(!t&&0!==t||-1!==(n[e]+"").replace(/\s/g,"").search(t+""))})),-1!==a.indexOf(!0)}}},n.onRemoveHandle=function(e){return function(){var t=n.context.allSelectedShopList.filter((function(t){return t.id!==e.id}));n.context.changeSelectedShops(t)}},n.onRemoveAll=function(){n.context.changeSelectedShops([])},n.onRemovePage=function(){var e=n.context.allSelectedShopList,t=n.pageData.data.map((function(e){return e.id})),a=e.filter((function(e){return-1===t.indexOf(e.id)}));n.context.changeSelectedShops(a)},n.sliceData=function(e,t,n){var a=e.length,r=Math.ceil(a/t),i=Math.min(n,r);return{data:e.slice((i-1)*t,i*t),pageSize:t,pageNum:i,totalCount:a,totalPage:r}},n.ajaxData=function(e){var t=n.context.allSelectedShopList;n.pageData=n.sliceData(n.state.flag===hu?n.filterShopList:void 0===t?[]:t,e.pageSize,e.pageNum);var a=n.pageData,r=a.data,i=a.totalCount;return new Promise((function(e){setTimeout((function(){e({data:r,totals:i})}),100)}))},n.ajaxSuccess=function(){var e=n.props.option,t=e.selectedShop,a=void 0===t?[]:t,r=e.isOpenSelectedTab,i=e.serverName,o=e.youzanFlag,l=e.shopPath,s=e.appIds,u=n.context.allSelectedShopList,c=void 0===u?[]:u;if(n.firstStatus&&a.length){var d={tenantId:e.tenantId,productCodes:void 0===s?vu:s,shopIds:ku(a,n.shopTypeList)};o&&(d=f(f({},d),{},{youzanFlag:o})),su.getShopDetailById({query:d,serverName:i},l).then((function(e){n.context.changeSelectedShops(r?e:c),n.firstStatus=!1}))}},n.genColumnData=function(){var e,t=n.props.option.readonly,a=bu(n.channel,n.shopTypeList,null===(e=n.props.option)||void 0===e?void 0:e.hideOffLineSearchItem);return t?a:[].concat(N(a),[{dataIndex:"id",title:"操作",align:"center",fixed:"right",width:"80px",render:function(e,t){return l.default.createElement(r.Button,{type:"link",size:"small",onClick:n.onRemoveHandle(t)},"移除")}}])};var a=n.props.channel;return n.channel=a.channelList,n.shopTypeList=a.shopTypeList,n.params=null,n.reginId=null,n.firstStatus=!0,n.state={loading:!0,flag:mu},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.ajaxSuccess(),this.setState({loading:!1})}},{key:"componentDidUpdate",value:function(e){if(JSON.stringify(e.allSelectedShopList)!==JSON.stringify(this.props.allSelectedShopList)){if(this.params)return void this.onSearch(this.params);this.tableRef.current.refreshTable(!0)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.option;return l.default.createElement("div",{className:"select-shop-container"},l.default.createElement(iu,{option:n,formFlag:!1,channelList:this.channel,shopTypeList:this.shopTypeList,offlineAddress:t.treeData,changeOffline:function(t){e.reginId=t},selectedSearchParams:this.onSearch,onSearchReset:function(){e.setState({flag:mu}),e.reginId=null}}),!n.isSingleSelected&&!n.readonly&&l.default.createElement("div",{className:"selected-operation"},l.default.createElement(r.Button,{type:"link",size:"small",onClick:this.onRemovePage,style:{paddingLeft:0}},"移除当前页"),l.default.createElement(r.Button,{type:"link",size:"small",onClick:this.onRemoveAll},"移除全部")),l.default.createElement("div",{className:"select-shop-table-container"},this.state.loading?l.default.createElement(r.Loading,{className:"loading"}):l.default.createElement(r.CTable,{ref:this.tableRef,rowKey:"id",style:{width:"100%",height:n.tips?260:300},footerHeight:48,ajaxData:this.ajaxData,columnData:this.genColumnData(),supportPage:!0,showTotal:!0,disablePageOnLoad:!1,emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:uu,width:64,height:64}),l.default.createElement("p",null,"暂无数据"))},pageOpts:{pageSize:10,pageSizeOptions:[10,20,30,50,100],type:"small",showQuickJumper:!1}})))}}]),t}(t.Component);Cu.contextType=cu,Cu.proTypes={tenantId:et.string.isRequired,option:et.object,channel:et.object},Cu.defaultProps={option:{isSingleSelected:!1,serverName:"",tenantId:""},channel:{channelList:[],shopTypeList:[]}};var Su=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).state={channelConfig:{},treeData:[]},n.fetchChannelInfo(),n.fetchTreeData(),n}var n,a;return C(t,e),w(t,[{key:"componentWillUnmount",value:function(){this.context.changeSelectedShops(void 0)}},{key:"fetchChannelInfo",value:(a=g(p().mark((function e(){var t,n,a,r,i,o;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this.props.option).serverName,a=t.tenantId,r=t.onlyEnterpriseWeChat,e.next=3,su.fetchChannelData({serverName:n,tenantId:a});case 3:o=[],i=(i=e.sent).map((function(e){var t,n=e.shopTypes,a=e.platCode||"";return"weixin"===(null==a?void 0:a.toLocaleLowerCase())&&r&&(n=yu),(null===(t=n)||void 0===t?void 0:t.length)&&o.push(f(f({},e),{},{id:a,name:e.platName,label:e.platName,value:e.platCode,options:n.map((function(t){return{label:t.name,value:"".concat(e.platCode,"_").concat(t.code)}}))})),f(f({},e),{},{id:a,name:e.platName})})),this.setState({channelConfig:{channelList:i,shopTypeList:o}});case 7:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"fetchTreeData",value:(n=g(p().mark((function e(){var t,n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={tenantName:(t=this.props.option).tenantId,serverName:t.serverName},e.next=4,su.fetchRegionTree(n);case 4:this.setState({treeData:e.sent});case 6:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"render",value:function(){var e=this.state,t=e.channelConfig,n=e.treeData,a=this.props,i=a.option,o=a.tipsHeight,s=i.isOpenSelectedTab,u=i.readonly,c=this.context.allSelectedShopList,d=void 0===c?[]:c,f=[{title:"已选店铺",content:l.default.createElement(Cu,{allSelectedShopList:d,tipsHeight:o,option:i,channel:t,treeData:n}),key:"selected"}],p=u?f:[{title:"全部店铺",content:l.default.createElement(Eu,{option:i,tipsHeight:o,channel:t,treeData:n}),key:"all"}].concat(f),h=d.length>0&&l.default.createElement(r.Badge,{className:"selected-num ".concat(u?"num-left":""),mode:"number",type:"fail",number:d.length});return t.channelList?l.default.createElement("div",{className:tt("".concat(Ce,"-new-shop-selector"))},l.default.createElement(r.Tabs,{defaultActiveKey:s?"selected":"all",type:"line",className:"shop-selector-tabs"},p.map((function(e,t){return l.default.createElement(r.Tabs.Panel,{key:e.key,tab:"all"===e.key?e.title:l.default.createElement("span",null,e.title," ",h),className:"shop-selector-panel",index:t},e.content)})))):null}}]),t}(t.Component);Su.contextType=cu,Su.propTyes={option:et.object},Su.defaultProps={option:{}};var _u={maxWidth:"960px",width:"960px"},xu={height:"524px",maxHeight:"524px",padding:"2px 16px 16px"},Au=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).tipsRef=l.default.createRef(),n.changeSelectedShops=function(e){n.setState({allSelectedShopList:e})},n.changeLoading=function(e){n.setState({isLoading:e})},n.reset=function(){n.setState({allSelectedShopList:void 0,tipsHeight:0,isLoading:!0})},n.ok=function(){var e,t;(null===(e=n.state)||void 0===e||null===(t=e.allSelectedShopList)||void 0===t?void 0:t.length)&&n.setState({hasOperated:!0}),n.props.onOk(n.state.allSelectedShopList||[])},n.onCancel=function(){n.props.onCancel()},n.onClose=function(){n.props.onClose()},n.state={allSelectedShopList:void 0,tipsHeight:0,hasOperated:!1,isLoading:!0},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.props.option.tips&&this.setState({tipsHeight:this.tipsRef.current.clientHeight})}},{key:"componentDidUpdate",value:function(e){e.visible!==this.props.visible&&this.reset()}},{key:"renderFooter",value:function(){var e=this.state,t=e.allSelectedShopList;return l.default.createElement("div",null,l.default.createElement(r.Button,{type:"primary",onClick:this.ok,disabled:(!t||!t.length)&&this.props.option.requiredSelected||e.isLoading},"确定"),l.default.createElement(r.Button,{onClick:this.onCancel,className:"cancel",style:{marginLeft:16}},"取消"))}},{key:"render",value:function(){var e,t,n=this.props,a=n.visible,i=n.option,o=n.useRootWindow,s=void 0===o||o,u=i.isSupportedChannel,c=i.platform,d=i.tips;if(a){if(!i.tenantId)return console.error("shopSelector 缺少 tenantId 参数"),"";if(u&&c&&!c.length)return console.error("您已配置支持平台,平台数组长度不能为0, 一个平台:platform.length === 1; n个平台:platform.length === n; 不限平台:platform === null"),""}return l.default.createElement(r.Modal,{className:"".concat(Ce,"-shop-selector-modal"),title:l.default.createElement("div",{style:{display:"flex",alignItems:"center",gap:16}},l.default.createElement("p",null,"选择店铺"),l.default.createElement(pr,{componentName:"店铺选择器",hasOperated:this.state.hasOperated,serverName:null===(e=this.props)||void 0===e||null===(t=e.option)||void 0===t?void 0:t.serverName,firstId:window.sessionStorage.getItem("SHOP_NEW_FIRST_ID")||20230910400,operateId:window.sessionStorage.getItem("SHOP_NEW_OPERATE_ID")||20230910500,title:"您对新版本评价如何呢?"})),visible:a,modalStyle:_u,bodyStyle:xu,onClose:this.onClose,hasFooter:i.hasFooter,footer:this.renderFooter(),useRootWindow:s},d?l.default.createElement("div",{ref:this.tipsRef},d):null,l.default.createElement(cu.Provider,{value:f(f({},this.state),{},{changeSelectedShops:this.changeSelectedShops,changeLoading:this.changeLoading})},a&&l.default.createElement(Su,{option:i,tipsHeight:this.state.tipsHeight})))}}]),t}(t.Component);function Iu(e){var t=e.onClose,n=e.list;return l.default.createElement(r.Modal,{className:"custom-view-new-drawer-modal",visible:!0,title:e.title,clickMaskCanClose:!1,onClose:t,onCancel:t,onOk:e.onOk,modalStyle:{width:644,minWidth:644}},l.default.createElement("div",{className:"customer-view-new-send-detail"},(void 0===n?[]:n).map((function(e){return l.default.createElement("div",{className:"customer-view-new-send-detail-row"},l.default.createElement("label",null,e.label,":"),l.default.createElement("p",null,e.value))}))))}Au.propTyes={option:et.shape({hasFooter:et.bool,isSupportedChannel:et.bool,isOpenSelectedTab:et.bool,permissionType:et.bool,isSingleSelected:et.bool,readonly:et.bool,serverName:et.string.isRequired,tenantId:et.string.isRequired,selectedShop:et.array,platform:et.array,heightLightRow:et.array,disabledRowIdList:et.array,selectableRowIdList:et.array,requiredSelected:et.bool,isJosPop:et.bool,youzanFlag:et.string,shopTypes:et.string,handelRow:et.func,hideOffLineSearchItem:et.bool,partner:et.string,disabledAllRow:et.bool}),onClose:et.func,onCancel:et.func,visible:et.bool},Au.defaultProps={option:{hasFooter:!0,isSupportedChannel:!0,isOpenSelectedTab:!1,permissionType:!1,isSingleSelected:!1,readonly:!1,requiredSelected:!1,disabledAllRow:!1,serverName:"",tenantId:"",selectedShop:[],platform:[],heightLightRow:[],disabledRowIdList:[],selectableRowIdList:[],isJosPop:!1,youzanFlag:"",shopTypes:"",handelRow:null,hideOffLineSearchItem:!1,partner:""},visible:!1};var Nu={isSupportedChannel:!0,platform:["taobao","jos","douyin","offline","youzan","suning"],isOpenSelectedTab:!1,youzanFlag:"mainShop"},Du=(new Date).getFullYear(),Tu=(new Date).getMonth(),Ou=(new Date).getDate(),Mu=new Date(Du,Tu,Ou),Fu=new Date(Mu-63072e6),Lu=new Date(Mu-7776e6),Pu=r.CPicker.RangePicker,Bu=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).getData=function(){var e=n.state,t=e.queryType,a=e.channel,r=e.time,i=e.shops,o=f(f({},n.state.queryParam),{},{uniId:n.context.uniId});t&&(o.queryType=t),a&&(o.channel=a),r.start&&(o.startDate=r.start),r.end&&(o.endDate=r.end),i&&i.length&&(o.shops=i.join(",")),xs.getCustomerViewList(n.context.domain,n.context.serverName,o).then((function(e){var t=[].concat(N(n.state.dynamicDataTemp),N(e));n.setState({dynamicDataTemp:t,dynamicData:n.dealData(t),loading:!1,hasMore:10===e.length})}))},n.dealData=function(e){var t=e.reduce((function(e,t,n,a){var r="".concat(bt.moment(t.time).format("yyyy-MM-dd")," ").concat(Nl[new Date(t.time).getDay()]),i=e.find((function(e){return e.dateItem===r}));i?i.children.push(t):e.push({dateItem:r,children:[t]});return e}),[]);return t},n.changeTime=function(e){n.setState({time:e})},n.handleChangeType=function(e){n.setState({queryType:e,channel:""})},n.handleChangeChannel=function(e){n.setState({channel:e})},n.openSelectShops=function(){n.setState({visible:!0})},n.onClose=function(){n.setState({visible:!1})},n.selectShops=function(e){var t=e.map((function(e){return e.uniShopId})),a=e.map((function(e){return e.id}));n.setState({shops:t,selectedShop:a,visible:!1})},n.searchData=function(e){"rest"!==e?(n.setState({loading:!0,isSearchEmpty:!0,queryParam:{begin:1,end:10},dynamicDataTemp:[],dynamicData:[]}),setTimeout((function(){n.getData()}))):n.setState({queryType:"",channel:"",time:{start:"",end:""},shops:[],selectedShop:[]})},n.contentDetail=function(){var e=g(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getContentDetail(n.context.domain,t);case 2:n.setState({contentPreviewVisible:!0,contentData:e.sent});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),n.contentPreviewOnClose=function(){n.setState({contentPreviewVisible:!1,contentData:{}})},n.openWelcomesPreview=function(e){var t=JSON.parse(e),a=t.message?t.message.map((function(e){var t;return 0===e.message.messageType&&(t={text:e.message.messageContent.text,previewText:e.message.messageContent.text.split("\n")}),1===e.message.messageType&&(t={picUrl:e.message.messageContent.url}),2===e.message.messageType&&(t={url:e.message.messageContent.sourceUrl,title:e.message.messageContent.title,desc:e.message.messageContent.summary,picUrl:e.message.messageContent.imageUrl}),4===e.message.messageType&&(t={appId:e.message.messageContent.appid,desc:e.message.messageContent.description,page:e.message.messageContent.pagePath,picUrl:e.message.messageContent.thumbUrl,title:e.message.messageContent.title,originAppId:e.message.messageContent.username,iconUrl:e.message.messageContent.iconUrl}),{type:e.message.messageType,content:t||{},status:e.status.toLowerCase(),msg:e.failMsg}})):[];n.setState({previewVisible:!0,previewData:{message:a,userId:t.userId||""}})},n.previewOnClose=function(){n.setState({previewVisible:!1,previewData:{}})},n.loadMore=function(){console.log("加载更多");var e=n.state.queryParam,t=e.end;n.setState({queryParam:{begin:t+1,end:t+10}}),setTimeout((function(){n.getData()}))},n.getInfo=function(e){return"marketing"===e.queryType?l.default.createElement("span",null,e.communicationMode,":","企业微信消息发送"!==e.communicationMode||"事件营销"!==e.marketingTypeName&&"场景营销"!==e.marketingTypeName?"淘宝超级短信"===e.communicationMode&&"事件营销"===e.marketingTypeName?e.communicationContent&&l.default.createElement(r.Button,{size:"small",type:"link",style:{marginRight:"4px"},onClick:function(){return n.contentDetail(e.communicationContent)}},"查看内容"):"淘宝权益"===e.communicationMode&&"事件营销"===e.marketingTypeName?e.communicationContent&&l.default.createElement(r.Button,{size:"small",type:"link",style:{marginRight:"4px"},onClick:function(){var t=JSON.parse(e.communicationContent);r.Modal.createModal(Iu).open({title:"淘宝权益详情",list:[{label:"优惠券名称",value:(null==t?void 0:t.benefitName)||"-"},{label:"优惠券ID",value:(null==t?void 0:t.id)||"-"},{label:"优惠券面额",value:(null==t?void 0:t.benefitValue)?"".concat(null==t?void 0:t.benefitValue).concat(null==t?void 0:t.benefitValueUnit):"-"},{label:"使用条件",value:(null==t?void 0:t.useConditions)||"-"},{label:"有效期",value:"".concat(null==t?void 0:t.startTime,"~").concat(null==t?void 0:t.endTime)},"DYNAMIC_COUPON"===(null==t?void 0:t.benefitType)?{label:"可发放周期",value:(null==t?void 0:t.usefulLife)||"-"}:null].filter(Boolean)})}},"查看内容"):"线下权益"===e.communicationMode&&"场景营销"===e.marketingTypeName?e.communicationContent&&l.default.createElement(r.Button,{size:"small",type:"link",style:{marginRight:"4px"},onClick:function(){var t=JSON.parse(e.communicationContent);r.Modal.createModal(Iu).open({title:"线下权益详情",list:[{label:"权益名称",value:(null==t?void 0:t.benefitName)||"-"},{label:"权益ID",value:(null==t?void 0:t.id)||"-"},{label:"优惠方式",value:(null==t?void 0:t.preferentialWay)||"-"},{label:"面额",value:(null==t?void 0:t.benefitValue)?"".concat(null==t?void 0:t.benefitValue).concat(null==t?void 0:t.benefitValueUnit):"-"},{label:"使用条件",value:(null==t?void 0:t.useConditions)||"-"},{label:"有效期",value:"".concat(null==t?void 0:t.startTime,"~").concat(null==t?void 0:t.endTime)}]})}},"查看内容"):e.communicationContent:l.default.createElement(r.Button,{size:"small",type:"link",onClick:function(){return n.openWelcomesPreview(e.communicationContent)},style:{marginRight:"4px"}},"查看内容")):"interaction"===e.queryType?l.default.createElement("span",null,e.interactionChannel," ",e.interactionName):"trades"===e.queryType?l.default.createElement("span",null,"主订单号",e.tradeOrderId," ",e.orderStatus):"refunds"===e.queryType?l.default.createElement("span",null,"订单号",e.refundsOrderId," ",e.refundStatus):l.default.createElement("span",null,e.productName," ",e.productId," ",Dl[e.estimateResult])},n.state={queryParam:{begin:1,end:10},dynamicDataTemp:[],dynamicData:[],loading:!0,hasMore:!0,isSearchEmpty:!1,contentPreviewVisible:!1,contentData:{},previewVisible:!1,previewData:{},channel:"",queryType:"",time:{start:"",end:""},shops:[],selectedShop:[],visible:!1},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.getData()}},{key:"render",value:function(){var e=this,t=this.state,n=t.loading,a=t.dynamicData,i=t.hasMore,o=t.isSearchEmpty;return l.default.createElement("div",{className:"customer-dynamic-info-new"},l.default.createElement(r.Tips,{msg:"营销、互动数据仅支持查看近90天内的数据,订单、评价、售后数据支持查看近2年内的数据。",isShowIcon:!0}),l.default.createElement("div",{className:"search-box"},l.default.createElement("label",null,"时间:"),l.default.createElement(Pu,{width:"310px",allowClear:!0,value:this.state.time,onChange:this.changeTime,maxDate:Mu,minDate:"interaction"===this.state.queryType||"marketing"===this.state.queryType?Lu:Fu}),l.default.createElement("label",null,"类型:"),l.default.createElement(r.Select,{defaultValue:this.state.queryType,value:this.state.queryType,dataSource:_l,style:{width:"210px",marginRight:16},onChange:this.handleChangeType}),"marketing"===this.state.queryType&&l.default.createElement(l.default.Fragment,null,l.default.createElement("label",null,"渠道:"),l.default.createElement(r.Select,{value:this.state.channel,dataSource:Al,defaultValue:"",style:{width:"210px",marginRight:16},onChange:this.handleChangeChannel})),"interaction"===this.state.queryType&&l.default.createElement(l.default.Fragment,null,l.default.createElement("label",null,"渠道:"),l.default.createElement(r.Select,{value:this.state.channel,dataSource:Il,defaultValue:"",style:{width:"210px",marginRight:16},onChange:this.handleChangeChannel})),("rates"===this.state.queryType||"trades"===this.state.queryType||"refunds"===this.state.queryType)&&l.default.createElement(l.default.Fragment,null,l.default.createElement("label",null,"渠道:"),l.default.createElement(r.Button,{size:"small",type:"link",onClick:this.openSelectShops,style:{marginRight:"16px"}},this.state.shops.length?"已选择".concat(this.state.shops.length,"个店铺"):"请选择")),l.default.createElement(r.Button,{type:"primary",onClick:function(){return e.searchData()},style:{marginRight:8}},"搜索"),l.default.createElement(r.Button,{type:"normal",onClick:function(){return e.searchData("rest")}},"重置")),n?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"content-div"},a.map((function(t){return l.default.createElement("div",{className:"dynamic"},l.default.createElement("p",{className:"dynamic-time"},t.dateItem),t.children.map((function(t){return l.default.createElement("section",{className:"dynamic-content"},l.default.createElement("p",{className:"dynamic-content-time"},bt.moment(t.time).format("HH:mm:ss")),l.default.createElement("div",{className:"dynamic-content-icon"}),l.default.createElement("p",{className:"dynamic-content-type dynamic-content-type-".concat(t.queryType)},xl[t.queryType]),l.default.createElement("div",{className:"dynamic-content-info"},l.default.createElement("p",null,"marketing"===t.queryType?t.marketingTypeName:"interaction"===t.queryType?t.interactionChannel:t.shopName),l.default.createElement("div",null,e.getInfo(t))))})))})),0===a.length?l.default.createElement("div",{className:"empty-div"},l.default.createElement("img",{alt:"",src:o?Is:As,width:64}),l.default.createElement("p",{style:{marginTop:8}},o?"搜索为空":"暂无数据")):"",i?l.default.createElement("p",{className:"load-more",onClick:this.loadMore},"加载更多 ",l.default.createElement(r.Icon,{type:"down"})):""),this.state.visible&&l.default.createElement(Au,{visible:this.state.visible,onOk:this.selectShops,onClose:this.onClose,onCancel:this.onClose,option:Object.assign({},Nu,{selectedShop:this.state.selectedShop,serverName:this.context.domain,permissionType:!0,tenantId:this.context.tenantId,platform:this.state.platList})}),this.state.contentPreviewVisible&&l.default.createElement(r.Modal,{className:"custom-view-new-drawer-modal",visible:this.state.contentPreviewVisible,clickMaskCanClose:!1,title:"淘宝超级短信详情",onOk:this.contentPreviewOnClose,onClose:this.contentPreviewOnClose,onCancel:this.contentPreviewOnClose,modalStyle:{width:600}},l.default.createElement("div",{className:"preview-row-new"},l.default.createElement("label",null,"短信内容:"),l.default.createElement(sl.Preview,{smsTitle:this.state.contentData.smsTitle,components:this.state.contentData.components}))),this.state.previewVisible&&l.default.createElement(r.Modal,{className:"custom-view-new-drawer-modal",visible:this.state.previewVisible,clickMaskCanClose:!1,title:"企业微信消息详情",onOk:this.previewOnClose,onClose:this.previewOnClose,onCancel:this.previewOnClose,modalStyle:{width:600}},l.default.createElement("div",{className:"preview-row-new"},l.default.createElement("label",null,"发送托管员工:"),this.state.previewData.userId),l.default.createElement("div",{className:"preview-row-new"},l.default.createElement("label",null,"消息内容:"),l.default.createElement(Xo,{content:this.state.previewData.message||[],type:"group",showWelcomesText:!1,defaultText:"输入群发消息内容"}))))}}]),t}(l.default.Component);Bu.contextType=Jl;var Ru={DD4:"https://brand-guide.shuyun.com/IAM/fe5ce84f9795.svg",DOUYIN4:"https://brand-guide.shuyun.com/IAM/25b59e3fb671.svg",JOS4:"https://brand-guide.shuyun.com/IAM/78cc1af74cf3.svg",KUAISHOU4:"https://brand-guide.shuyun.com/IAM/5e7309f17715.svg",MGJ4:"https://brand-guide.shuyun.com/IAM/112631454249.svg",OFFLINE4:"https://brand-guide.shuyun.com/IAM/ac2c713863fd.svg",PDD4:"https://brand-guide.shuyun.com/IAM/bc9f994250a4.svg",REDBOOK4:"https://brand-guide.shuyun.com/IAM/224fd16ffa84.svg",SUNING4:"https://brand-guide.shuyun.com/IAM/3c8e3fb03fd1.svg",TANMAO4:"https://brand-guide.shuyun.com/IAM/9c3457cb4066.svg",TAOBAO4:"https://brand-guide.shuyun.com/IAM/1c9d1537a349.svg",WEIMOB4:"https://brand-guide.shuyun.com/IAM/0a9033b5057f.svg",WEIXIN4:"https://brand-guide.shuyun.com/IAM/9cad4fa5317d.svg",YHD4:"https://brand-guide.shuyun.com/IAM/ff9dd20ae728.svg",YOUZAN4:"https://brand-guide.shuyun.com/IAM/9e7952c7a7a5.svg",ZDY4:"https://brand-guide.shuyun.com/IAM/85d6cc9deb2b.svg"},zu=function(e){var t,n={},a=O(kl);try{for(a.s();!(t=a.n()).done;){var r=t.value;n[r.plat]=r}}catch(e){a.e(e)}finally{a.f()}return n[e]},ju=function(e){function n(e){var t;return y(this,n),(t=u(this,n,[e])).handleCopy=function(e){bt.copyText(e),r.Message.success("复制成功",{contextContainer:document.getElementsByClassName("newCloud-drawer1")[0]})},t.state={loading:!0,accountList:[]},t}return C(n,e),w(n,[{key:"componentDidMount",value:function(){var e=this;this.accountNameRef=t.createRef(),xs.getCustomerInfo(this.context.domain,this.context.serverName,this.context.uniId).then((function(t){var n=[];Object.keys(t.shopAccountMap).forEach((function(e){n=[].concat(N(n),N(t.shopAccountMap[e]))})),e.setState({accountList:n},(function(){e.setState({loading:!1})}))})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}))}},{key:"render",value:function(){var e=this,t=this.state;return l.default.createElement(r.Loading,{loading:t.loading},l.default.createElement("div",{className:"customer-account-new"},t.accountList.map((function(t,n){var a,i;return l.default.createElement("section",{className:"account-info"},l.default.createElement("div",{className:"account-info-left"},l.default.createElement("img",{src:Ru["".concat(t.platCode,"4")]||Ru.ZDY4})),l.default.createElement("div",{className:"account-info-right"},l.default.createElement(r.Tooltip,{content:ql(document.getElementById("customer-account-platName-".concat(n)),"".concat((null===(a=zu(t.platCode))||void 0===a?void 0:a.platName)||"未知"," | ").concat(t.shopName))},l.default.createElement("p",{className:"account-info-right-name",id:"customer-account-platName-".concat(n)},(null===(i=zu(t.platCode))||void 0===i?void 0:i.platName)||"未知"," | ",t.shopName)),l.default.createElement("div",{className:"info-copy"},l.default.createElement("p",null,"账号:",t.platAccount),l.default.createElement(r.Icon,{onClick:function(){return e.handleCopy(t.platAccount)},type:"copy"}))))}))))}}]),n}(l.default.Component);ju.contextType=Jl;var Vu=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).state={onClose:e.onClose},n}return C(t,e),w(t,[{key:"componentWillUnmount",value:function(){xs.orderColumn=[]}},{key:"render",value:function(){return l.default.createElement("div",{className:"grid-area-new"},l.default.createElement(r.Tabs,{type:"line",defaultActiveKey:"label",onChange:this.handleChange},l.default.createElement(r.Tabs.Panel,{tab:"全渠道客户画像",key:"label"},l.default.createElement(nu,null)),l.default.createElement(r.Tabs.Panel,{tab:"会员视图",key:"card"},l.default.createElement(Ps,{onClose:this.state.onClose})),l.default.createElement(r.Tabs.Panel,{tab:"关联账号信息",key:"newCard"},l.default.createElement(ju,null)),l.default.createElement(r.Tabs.Panel,{tab:"客户动态",key:"dynamic"},l.default.createElement(Bu,null)),l.default.createElement(r.Tabs.Panel,{tab:"订单信息",key:"order"},l.default.createElement(au,null)),l.default.createElement(r.Tabs.Panel,{tab:"商品评价",key:"evaluation"},l.default.createElement(js,null)),l.default.createElement(r.Tabs.Panel,{tab:"发放权益",key:"benefit"},l.default.createElement(Ds,null))))}}]),t}(l.default.Component);Vu.propTypes={onClose:et.func};var Uu=["data-manager-customer-view","customer-grouping-customer-view"];function Hu(e){var n=I(t.useState("1080px"),2),a=n[0],i=n[1];t.useEffect((function(){var e=(window.sessionStorage.getItem("__FF2E__CACHE__")&&JSON.parse(window.sessionStorage.getItem("__FF2E__CACHE__")).common.platCode||[]).reduce((function(e,t){var n=t.platName,a=t.standardPlatCode;return e.push("DOUYIN"===a?{plat:a,name:"".concat(n,"ID"),platName:n,tips:"根据客户首次下单的收货手机号+收货人姓名生成,后期订单若修改收货人信息,此处不变"}:{plat:a,name:"".concat(n,"ID"),platName:n}),e}),[]);kl.push.apply(kl,N(e))}),[]);var o=e.visible,s=e.onClose,u=e.uniId,c=e.serverName,d=e.domain,f=e.selectShops,p=e.selectUniShops,h=t.useRef();t.useEffect((function(){o&&(m(),h.current.open())}),[o]),t.useEffect((function(){return window.addEventListener("resize",m),function(){window.removeEventListener("resize",m)}}),[m]);var m=t.useCallback((function(){var e=document.body.clientWidth-360;i(e>1080?"".concat(e,"px"):"1080px")}),[]),v=window.sessionStorage.getItem("tenantId")||"qiushi6";return l.default.createElement(r.Drawer,{ref:h,title:"客户视图",placement:"right",size:a,excludeClassList:Uu,wrapperClosable:!0,className:"customer-view-new-drawer",onCloseAfter:s},l.default.createElement(Jl.Provider,{value:{uniId:u,serverName:c,domain:d,tenantId:v,selectShops:f,selectUniShops:p}},l.default.createElement("div",{className:"customer-view-area-new",key:u},l.default.createElement(Ss,null),l.default.createElement(Vu,{onClose:s})),l.default.createElement("canvas",{id:"computedWidth",width:"500",height:"100"})))}Hu.propTypes={visible:et.bool,onClose:et.func,serverName:et.string,domain:et.string,selectShops:et.array,selectUniShops:et.array},Hu.defaultProps={visible:!1,serverName:"https://ual.shuyun.com",domain:"data-manage-x/1.0",onClose:function(){},selectShops:[],selectUniShops:[]};var qu=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).handleChange=function(e){n.setState({shopValue:e.target&&e.target.value})},n.handlePlatformChange=function(e){n.setState({channel:e}),n.props.formFlag&&n.props.channel(e)},n.handleTypeChange=function(e){n.setState({shopType:e})},n.handleSearch=function(){var e=n.props.option,t=e.isSupportedChannel,a=void 0===t||t,r=e.permissionType,i=e.isJosPop,o=void 0!==i&&i,l=e.youzanFlag,s=n.state;n.params={sign:s.shopValue,channel:a&&s.channel,type:a&&s.shopType,permissionType:void 0!==r&&r},o&&(n.params=f(f({},n.params),{},{appId:0})),l&&(n.params=f(f({},n.params),{},{youzanFlag:l})),n.props.formFlag?n.props.searchParams(n.params):n.props.selectedSearchParams(n.params)},n.handleReset=function(){var e=n.props.option.isSupportedChannel;n.setState({shopValue:"",channel:(void 0===e||e)&&n.channelList[0].id,shopType:""}),n.props.onSearchReset&&n.props.onSearchReset()},n.filterPlatform=function(e,t){var n=t.map((function(t){return e.find((function(e){return e.id===t}))}));return n.filter((function(e){return e}))};var a=n.props.option,r=a.platform,i=a.isSupportedChannel,o=void 0===i||i,l=r?n.filterPlatform(n.props.channelList,r):n.props.channelList;return 1>=l.length&&r||(l=[{id:"",name:"不限"}].concat(N(l))),n.channelList=l,n.typeList=l.filter((function(e){return"offline"===e.id})),n.typeList.length&&(n.typeList=n.typeList.map((function(e){return e.filter[0].values}))[0].map((function(e){return{id:parseInt(e.id,10),name:e.name}}))),n.typeList.unshift({id:"",name:"不限"}),n.state={shopValue:"",channel:o&&n.channelList.length&&n.channelList[0].id,shopType:""},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.option.isSupportedChannel,n=void 0===t||t,r=this.props.option.platform,i=this.state.channel,o="offline"!==i?{display:"none"}:{},s=void 0===n||n?{}:{display:"none"};return!n&&r&&e.formFlag&&(r=null,console.warn("您已配置不支持平台,但是平台参数不为空")),l.default.createElement("section",{className:"shop-form"},l.default.createElement("div",{className:"shop-form-item",style:s},l.default.createElement("span",{className:"shop-item-label"},"平台:"),l.default.createElement(a.Select,{className:"shop-form-input selector-background",value:i,labelKey:"name",valueKey:"id",dataSource:this.channelList,onChange:this.handlePlatformChange})),l.default.createElement("div",{className:"shop-form-item",style:o},l.default.createElement("span",{className:"shop-item-label"},"店铺类型:"),l.default.createElement(a.Select,{className:"shop-form-input selector-background",value:this.state.shopType,labelKey:"name",valueKey:"id",dataSource:this.typeList,onChange:this.handleTypeChange})),l.default.createElement("div",{className:"shop-form-item"},l.default.createElement("span",{className:"shop-item-label"},"店铺名称:"),l.default.createElement(a.Input,{size:"default",className:"shop-form-input",placeholder:"请输入店铺名称/ID",value:this.state.shopValue,onChange:this.handleChange})),l.default.createElement("div",{className:"shop-form-search"},l.default.createElement(a.Button,{type:"primary",onClick:this.handleSearch,className:"search-btn"},"搜索"),l.default.createElement(a.Button,{type:"normal",onClick:this.handleReset},"重置")))}}]),t}(t.Component),Wu="ucenter-interface-service/v1",Gu=function(){function e(){y(this,e)}var t,n,a,r;return w(e,[{key:"getShopList",value:(r=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.query,a="".concat(t.serverName,"/").concat(Wu,"/shops/shopDetails"),e.next=4,ye.get(a,{params:n});case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)})},{key:"getShopDetailById",value:(a=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.query,a="".concat(t.serverName,"/").concat(Wu,"/shops/shopDetails"),e.next=4,ye.post(a,n);case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})},{key:"fetchChannelData",value:(n=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tenantId,a="".concat(t.serverName,"/").concat(Wu,"/channel?tenantName=").concat(n),e.next=4,ye.get(a);case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"fetchRegionTree",value:(t=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tenantName,a="".concat(t.serverName,"/").concat(Wu,"/region"),e.next=4,ye.get(a,{params:{tenantName:n}});case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}(),Ku=new Gu,Yu=function(e){function t(){var e;y(this,t);for(var n=arguments.length,a=Array(n),r=0;n>r;r++)a[r]=arguments[r];return(e=u(this,t,[].concat(a))).selectedNode=function(t){e.props.onSelectTree(t)},e}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props.treeData,t=e[0].children.length;return l.default.createElement("div",{className:"tree-area"},l.default.createElement(a.Tree,{className:t?"tree-list":"tree-list no-tree",treeData:e,onSelectedNode:this.selectedNode}),!t&&l.default.createElement("div",{className:"no-area-tips"},l.default.createElement("p",null,"如果没有为线下设置区域"),l.default.createElement("p",null,"请到系统管理为线下店铺设置区域")))}}]),t}(t.Component);Yu.proTypes={treeData:et.array,onSelectTree:et.func};var Qu=l.default.createContext({}),Ju=[10,20,30,50,100],Xu="row-bg-color",Zu=function(e){return"offline"===e},$u=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).onSearch=function(e){var t=n.props.option,a=t.tenantId,r=t.platform,i=t.isSupportedChannel,o=!e.channel&&(void 0===i||i)?r&&""+r:e.channel;n.queryData.query=f(f({},e),{},{tenantName:a,regionId:n.reginId,channel:o}),Zu(e.channel)||(n.reginId=null,delete n.queryData.query.regionId),n.fetchAllShopList().then((function(){var e=n.state.page;n.ajaxData(null,{pageSize:e.pageSize,pageNum:e.pageNum})}))},n.onSearchReset=function(){var e=n.props.option.platform;n.setState({channelType:e&&""+e})},n.onChannel=function(e){n.setState({channelType:e})},n.onSelectTreeNode=function(e){n.reginId=e.id;var t=n.props.option,a=n.context.allSelectedShopList,r=f(f({},n.queryData.query),{},{regionId:n.reginId});Ku.getShopList({query:r,serverName:t.serverName}).then((function(e){n.setAllShopList(e.list),n.context.changeSelectedShops(a);var t=n.state.page;n.ajaxData(null,{pageSize:t.pageSize,pageNum:t.pageNum})}))},n.onAllCheckedHandle=function(e){n.updateCheckedShopData(n.usableShopList,e)},n.onPageCheckedHandle=function(e){n.updateCheckedShopData(n.state.usableCurrentShopList,e)},n.onChangeDisable=function(e){n.setState({usable:e},(function(){var e=n.state.page;n.ajaxData(null,{pageSize:e.pageSize,pageNum:e.pageNum})}))},n.genColumnData=function(){return[{key:"id",text:"店铺ID",align:"center",width:"200px",template:function(e,t){return l.default.createElement("span",null,t.id)}},{key:"name",text:"店铺名称",align:"center",width:"180px",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.name,placement:"top-left"},l.default.createElement("span",null,t.name))}},{key:"channelName",text:"平台",align:"center",width:"120px",template:function(e,t){var a=n.channelList.filter((function(e){return e.id===t.channel}));return l.default.createElement("span",null,a[0]?a[0].name:"--")}},{key:"typeName",text:"店铺类型",align:"center",width:"100px",template:function(e,t){var a=n.shopTypeList.length&&n.shopTypeList[0].values.filter((function(e){return e.id===t.type}));return l.default.createElement("span",null," ",t.shopTypeDesc||(a[0]&&a[0].name?a[0].name:"--")," ")}},{key:"address",text:"店铺详细地址",align:"center",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.address,placement:"top-left"},l.default.createElement("span",null,t.address?t.address:"---"))}}]},n.toggleChecked=function(e,t){var a=n.state.checkedList,r=[];r=t?[].concat(N(a),[e]):a.filter((function(t){return t.id!==e.id})),n.setState({checkedList:r}),n.checkedHandler(r)},n.genColumnsData=function(){return[{key:"id",text:"店铺ID",width:"200px",template:function(e,t){return l.default.createElement("div",{className:"shop-select"},l.default.createElement("p",{style:{marginRight:"30px"}},l.default.createElement(a.Checkbox,{checked:n.state.checkedList.filter((function(e){return e.id===t.id})).length>0,onChange:function(e){n.toggleChecked(t,e)}})),l.default.createElement("div",null,t.id))}},{key:"name",text:"店铺名称",align:"center",width:"180px",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.name,placement:"top-left"},l.default.createElement("span",null,t.name))}},{key:"channelName",text:"平台",align:"center",width:"120px",template:function(e,t){var a=n.channelList.filter((function(e){return e.id===t.channel}));return l.default.createElement("span",null,a[0]?a[0].name:"--")}},{key:"typeName",text:"店铺类型",align:"center",width:"100px",template:function(e,t){var a=n.shopTypeList.length&&n.shopTypeList[0].values.filter((function(e){return e.id===t.type}));return l.default.createElement("span",null," ",t.shopTypeDesc||(a[0]&&a[0].name?a[0].name:"--")," ")}},{key:"address",text:"店铺详细地址",align:"center",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.address,placement:"top-left"},l.default.createElement("span",null,t.address?t.address:"---"))}}]},n.ajaxSuccess=function(){var e=n.props.option,t=e.selectedShop,a=void 0===t?[]:t,r=e.heightLightRow,i=void 0===r?[]:r,o=e.isOpenSelectedTab,l=e.disabledRowIdList,s=void 0===l?[]:l,u=e.selectableRowIdList,c=void 0===u?[]:u,d=n.context.allSelectedShopList;if((s.length||i.length)&&n.setTdBackground(i.length?i:s),c.length){var f=n.allShopList.filter((function(e){return!c.includes(e.id)}));n.setTdBackground(f)}a.length&&n.firstStatus&&!o&&n.getSelectedShopDetail(a).then((function(e){var t=d&&d.length?d:e.list;n.context.changeSelectedShops(t),n.setState({checkedList:t}),n.firstStatus=!1}))},n.checkedHandler=function(e){console.log(e),n.context.changeSelectedShops(e)},n.ajaxData=function(e,t){var a=A(n),r=n.state.usable?a.usableShopList:a.allShopList,i=t.pageSize,o=t.pageNum;n.setState({list:r}),console.log(o),n.currentShopList=r.slice((o-1)*i,o*i),console.log(n.currentShopList),n.setCurrentShopList(n.currentShopList),n.ajaxSuccess()},n.rowRenderHandler=function(e){var t=n.props.option,a=t.disabledRowIdList,r=void 0===a?[]:a,i=t.selectableRowIdList,o=void 0===i?[]:i,l=t.heightLightRow,s=void 0===l?[]:l;r.length&&n.gmDisabledRow(e,r,!0),o.length&&n.gmDisabledRow(e,o);var u=s.map((function(e){return e.id}));return u.includes(e.id)&&Object.assign(e,{gm_row_class_name:Xu}),e},n.rowHover=function(e){var t=n.props.option,a=t.disabledRowIdList,r=t.disabledRowHoverOptions,i=t.selectableRowIdList,o=void 0===i?[]:i;return(void 0===a?[]:a).includes(e.id)||o.length&&!o.includes(e.id)?r:null},n.onPageChange=function(e,t){n.setState({page:{pageNum:e,pageSize:t}}),n.ajaxData(null,{pageSize:t,pageNum:e})};var r=n.props,i=r.searchParams,o=r.option,s=r.channel,c=o.tenantId,d=o.platform,p=o.permissionType,h=o.isJosPop,m=o.youzanFlag;return n.firstStatus=!0,n.channelList=s.channelList,n.shopTypeList=s.shopTypeList,n.queryData={serverName:o.serverName,query:f(f({},i),{},{tenantName:c,channel:d&&""+d,permissionType:p})},h&&(n.queryData.query=f(f({},n.queryData.query),{},{appId:0})),m&&(n.queryData.query=f(f({},n.queryData.query),{},{youzanFlag:m})),n.state={treeData:[],loading:!0,usable:!0,checkedList:[],page:{pageSize:20,pageNum:1},usableCurrentShopList:[],list:[],channelType:d&&""+d},n.checkedList=[],n.allShopList=[],n.usableShopList=[],n.currentShopList=[],n.reginId=null,n}var n,r,i,o;return C(t,e),w(t,[{key:"componentDidMount",value:(o=g(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetchAllShopList();case 2:return e.next=4,this.fetchTreeData();case 4:this.ajaxData(null,{pageSize:(t=this.state.page).pageSize,pageNum:t.pageNum});case 6:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"componentDidUpdate",value:function(){var e=this.context.allSelectedShopList;void 0!==e&&(this.props.option.isOpenSelectedTab||e.length!==this.state.checkedList.length&&this.setState({checkedList:e}))}},{key:"getUsableShopList",value:function(e){var t=this.props.option,n=t.disabledRowIdList,a=void 0===n?[]:n,r=t.selectableRowIdList,i=void 0===r?[]:r,o=a.length,l=i.length;return o||l?o?e.filter((function(e){return!a.includes(e.id)})):l?e.filter((function(e){return i.includes(e.id)})):[]:e}},{key:"setAllShopList",value:function(e){this.allShopList=e,this.usableShopList=this.getUsableShopList(e)}},{key:"setCurrentShopList",value:function(e){this.currentShopList=e,this.setState({usableCurrentShopList:this.getUsableShopList(e)})}},{key:"getSelectedShopDetail",value:(i=g(p().mark((function e(t){var n,a,r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=this.props.option).serverName,i={tenantName:n.tenantId,shopIdIn:""+t},(r=n.youzanFlag)&&(i=f(f({},i),{},{youzanFlag:r})),e.next=5,Ku.getShopDetailById({query:i,serverName:a});case 5:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"setTdBackground",value:function(e){e.forEach((function(e,t){var n=Se().querySelectorAll("table[grid-manager=shopAllGrid] .".concat(Xu))[t];n&&[].forEach.call(n.querySelectorAll("td"),(function(t){t.style.background=e.background||"#eee"}))}))}},{key:"gmDisabledRow",value:function(e,t,n){var a=n?t.includes(e.id):!t.includes(e.id);Object.assign(e,{gm_checkbox_disabled:a}),a&&Object.assign(e,{gm_row_class_name:Xu})}},{key:"updateCheckedShopData",value:function(e,t){var n=this.context,a=n.allSelectedShopList,r=void 0===a?[]:a,i=n.changeSelectedShops,o=[];if(r.length){var l=r.map((function(e){return e.id}));if(t){var s=e.filter((function(e){return!l.includes(e.id)}));o=r.concat(s)}if(!t){var u=e.filter((function(e){return l.includes(e.id)}));o=r.filter((function(e){return!u.some((function(t){return e.id===t.id}))}))}}else o=t?e:[];i(o),this.setState({checkedList:o})}},{key:"getCheckedState",value:function(){var e=this.usableShopList,t=this.state.usableCurrentShopList,n=this.context.allSelectedShopList,a=void 0===n?[]:n;return{isAllChecked:e.length>0&&e.every((function(e){return a.some((function(t){return e.id===t.id}))})),currentPageChecked:t.length>0&&t.every((function(e){return a.some((function(t){return e.id===t.id}))}))}}},{key:"fetchTreeData",value:(r=g(p().mark((function e(){var t,n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={tenantName:(t=this.props.option).tenantId,serverName:t.serverName},e.next=4,Ku.fetchRegionTree(n);case 4:this.setState({treeData:e.sent.data,loading:!1});case 6:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"fetchAllShopList",value:(n=g(p().mark((function e(){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ku.getShopList(this.queryData);case 2:this.setAllShopList(e.sent.list);case 4:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"renderText",value:function(e){return l.default.createElement("div",{className:"toolbars-info"},"已选:店铺(",e,")个")}},{key:"render",value:function(){var e=this.state,t=e.channelType,n=e.usable,r=e.treeData,i=e.list,o=e.checkedList,s=e.page,u=this.props.option,c=u.disabledRowIdList,d=void 0===c?[]:c,f=u.selectableRowIdList,p=void 0===f?[]:f,h=u.isSingleSelected;if(e.loading)return l.default.createElement(a.Loading,{className:"loading",size:"large"});var m=this.getCheckedState(),v=m.isAllChecked,g=m.currentPageChecked;return l.default.createElement(l.default.Fragment,null,l.default.createElement(qu,{option:u,formFlag:!0,searchParams:this.onSearch,onSearchReset:this.onSearchReset,channel:this.onChannel,channelList:this.channelList}),l.default.createElement("div",{className:"all-shops-area"},Zu(t)&&l.default.createElement(Yu,{treeData:r,onSelectTree:this.onSelectTreeNode}),l.default.createElement("div",{className:Zu(t)?"all-shops-offline":"all-shop"},!h&&l.default.createElement("div",{className:"all-shops-operation"},d.length||p.length?l.default.createElement(a.Checkbox,{className:"check-usable",checked:n,onChange:this.onChangeDisable},"仅显示可选项"):null,l.default.createElement(a.Checkbox,{className:"check-all-selected",checked:v,onChange:this.onAllCheckedHandle},"全选全部"),l.default.createElement(a.Checkbox,{className:"check-page-selected",checked:g,onChange:this.onPageCheckedHandle},"全选当页")),l.default.createElement(a.TableLite,{dataSource:this.currentShopList,columnData:this.genColumnsData(),height:"400px",expandable:"true"}),l.default.createElement(a.TablePagination,{showPageSizeOptions:!0,pageSizeOptions:Ju,total:i.length,current:s.pageNum,pageSize:s.pageSize,showTotal:!0,showRefresh:!0,checkedTotal:this.renderText(o.length),onChange:this.onPageChange}))))}}]),t}(t.Component);$u.contextType=Qu,$u.propTyes={option:et.shape({isSingleSelected:et.bool,disabledRowIdList:et.array,selectableRowIdList:et.array,disabledRowHoverOptions:et.object,serverName:et.string.isRequired,tenantId:et.string.isRequired,youzanFlag:et.string}),channel:et.object},$u.defaultProps={option:{isSingleSelected:!1,disabledRowIdList:[],selectableRowIdList:[],serverName:"",tenantId:"",youzanFlag:""},channel:{channelList:[],shopTypeList:[]}};var ec=[10,20,30,50,100],tc="search",nc=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).onSearch=function(e){n.params=e;var t=n.context.allSelectedShopList;if(t){var a=JSON.parse(JSON.stringify(t)),r=e,i=n.filterSearchMethods();a.forEach((function(e){var t=[];Object.keys(r).forEach((function(n){if("channel"===n||"type"===n)t.push(i.equal(r[n],e[n]));else if("sign"===n){t.push(i.fuzzySearchGroup(["name","id"],r[n],e))}})),e.isHide=-1!==t.indexOf(!1)})),n.filterShopList=a.filter((function(e){return!e.isHide})),n.ajaxData(null,f(f({},n.state.page),{},{flag:tc}))}},n.filterSearchMethods=function(){return{equal:function(e,t){return!e&&0!==e||""===t||(e+"").replace(/\s/g,"")===t+""},fuzzySearchGroup:function(e,t,n){var a=[];return e.map((function(e){return a.push(!t&&0!==t||-1!==(n[e]+"").replace(/\s/g,"").search(t+""))})),-1!==a.indexOf(!0)}}},n.onRemoveHandle=function(e){return function(){var t=n.context.allSelectedShopList.filter((function(t){return t.id!==e.id}));n.context.changeSelectedShops(t)}},n.onRemoveAll=function(){n.context.changeSelectedShops([])},n.onRemovePage=function(){var e=n.context.allSelectedShopList,t=n.pageData.data.map((function(e){return e.id})),a=e.filter((function(e){return-1===t.indexOf(e.id)}));n.context.changeSelectedShops(a)},n.sliceData=function(e,t,n){var a=e.length,r=Math.ceil(a/t),i=Math.min(n,r);return{data:e.slice((i-1)*t,i*t),pageSize:t,pageNum:i,totalCount:a,totalPage:r}},n.changeContext=function(){var e=n.context.allSelectedShopList;n.setState({allSelectedShopListString:JSON.stringify(void 0===e?[]:e)})},n.ajaxData=function(e,t){var a=n.context.allSelectedShopList;n.pageData=n.sliceData(t.flag===tc?n.filterShopList:void 0===a?[]:a,t.pageSize,t.pageNum);var r=n.pageData;n.setState({list:r.data,totalCount:r.totalCount}),n.ajaxSuccess()},n.ajaxSuccess=function(){var e=n.props.option,t=e.selectedShop,a=void 0===t?[]:t,r=e.isOpenSelectedTab,i=e.serverName,o=e.youzanFlag,l=n.context.allSelectedShopList,s=void 0===l?[]:l;if(n.firstStatus&&a.length){var u={tenantName:e.tenantId,shopIdIn:""+a};o&&(u=f(f({},u),{},{youzanFlag:o})),Ku.getShopDetailById({query:u,serverName:i}).then((function(e){n.context.changeSelectedShops(r?e.list:s),n.firstStatus=!1}))}},n.genColumnData=function(){var e=[{key:"id",text:"店铺ID",align:"center",width:"200px"},{key:"name",text:"店铺名称",align:"center",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.name,placement:"top-left"},l.default.createElement("span",null,t.name))}},{key:"channelName",text:"平台",align:"center",template:function(e,t){var a=n.channel.filter((function(e){return e.id===t.channel}));return l.default.createElement("span",null,a[0]?a[0].name:"--")}},{key:"typeName",text:"店铺类型",align:"center",template:function(e,t){var a=n.shopTypeList.length&&n.shopTypeList[0].values.filter((function(e){return e.id===t.type}));return l.default.createElement("span",null," ",t.shopTypeDesc||(a[0]&&a[0].name?a[0].name:"--")," ")}},{key:"address",text:"店铺详细地址",align:"center",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.address,placement:"top-left"},l.default.createElement("span",null,t.address?t.address:"---"))}}];return n.props.option.readonly?e:[].concat(e,[{key:"action",text:"操作",align:"center",template:function(e,t){return l.default.createElement("span",{className:"row-remove",onClick:n.onRemoveHandle(t)},"移除")}}])},n.onPageChange=function(e,t){n.setState({page:{pageNum:e,pageSize:t}},(function(){n.ajaxData(null,{pageSize:t,pageNum:e,flag:tc})}))};var r=n.props.channel;return n.channel=r.channelList,n.shopTypeList=r.shopTypeList,n.params=null,n.firstStatus=!0,n.state={page:{pageSize:20,pageNum:1},list:[],totalCount:0,allSelectedShopListString:""},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.ajaxData(null,this.state.page)}},{key:"componentDidUpdate",value:function(e,t){this.state.allSelectedShopListString!==JSON.stringify(this.context.allSelectedShopList)&&JSON.stringify(this.context.allSelectedShopList)&&this.changeContext(),t.allSelectedShopListString!==this.state.allSelectedShopListString&&JSON.stringify(this.context.allSelectedShopList)&&(this.ajaxData(null,this.state.page),this.params&&this.onSearch(this.params))}},{key:"render",value:function(){var e=this.props.option,t=this.state,n=t.list,r=t.page,i=t.totalCount;return l.default.createElement("div",null,l.default.createElement(qu,{option:e,formFlag:!1,selectedSearchParams:this.onSearch,channelList:this.channel}),!e.isSingleSelected&&!e.readonly&&l.default.createElement("div",{className:"selected-operation"},l.default.createElement("span",{className:"remove",onClick:this.onRemoveAll},"移除全部"),l.default.createElement("span",{className:"remove remove-page",onClick:this.onRemovePage},"移除当页")),l.default.createElement(a.TableLite,{dataSource:n,columnData:this.genColumnData(),height:"400px",expandable:"true"}),l.default.createElement(a.TablePagination,{showPageSizeOptions:!0,pageSizeOptions:ec,total:i,current:r.pageNum,pageSize:r.pageSize,showTotal:!0,showRefresh:!0,onChange:this.onPageChange}))}}]),t}(t.Component);nc.contextType=Qu,nc.proTypes={tenantId:et.string.isRequired,option:et.object,channel:et.object},nc.defaultProps={option:{isSingleSelected:!1,disabledRowIdList:[],serverName:"",tenantId:""},channel:{channelList:[],shopTypeList:[]}};var ac=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).state={channelConfig:{}},n}var n;return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.channelList()}},{key:"componentWillUnmount",value:function(){this.context.changeSelectedShops(void 0)}},{key:"channelList",value:(n=g(p().mark((function e(){var t,n,a,r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this.props.option).serverName,a=t.tenantId,e.next=3,Ku.fetchChannelData({serverName:n,tenantId:a});case 3:i=[],(r=e.sent).forEach((function(e){e.filter.length&&(i=e.filter)})),this.setState({channelConfig:{channelList:r,shopTypeList:i}});case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"render",value:function(){var e=this.state.channelConfig,t=this.props.option,n=t.isOpenSelectedTab,r=t.readonly,i=this.context.allSelectedShopList,o=void 0===i?[]:i,s=[{title:"已选店铺",content:l.default.createElement(nc,{option:t,channel:e}),key:"selected"}],u=r?s:[{title:"全部店铺",content:l.default.createElement($u,{option:t,channel:e}),key:"all"}].concat(s);return e.channelList?l.default.createElement("div",{className:tt("".concat(Ce,"-shop-selector-pro"))},o.length>0&&l.default.createElement("div",{className:"selected-num ".concat(r?"num-left":"")},o.length),l.default.createElement(a.Tabs,{defaultActiveKey:n?"selected":"all",mode:"remain"},u.map((function(e,t){return l.default.createElement(a.Tabs.Panel,{key:e.key,tab:e.title,className:"shop-selector-panel",index:t},e.content)})))):l.default.createElement(a.Loading,{size:"large",tip:"正在加载..."})}}]),t}(t.Component);ac.contextType=Qu,ac.propTyes={option:et.object},ac.defaultProps={option:{}};var rc=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).changeSelectedShops=function(e){n.setState({allSelectedShopList:e})},n.ok=function(){console.log(n.props.limit),n.props.limit&&n.state.allSelectedShopList.length>n.props.limit?a.Message.error("最多选择".concat(n.props.limit,"个店铺")):n.props.onOk(n.state.allSelectedShopList||[])},n.state={allSelectedShopList:void 0},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.visible,n=e.onClose,r=e.onCancel,i=e.option,o=i.isSupportedChannel,s=i.platform,u=i.requiredSelected;if(t){if(!i.tenantId)return console.error("shopSelector 缺少 tenantId 参数"),"";if(o&&s&&!s.length)return console.error("您已配置支持平台,平台数组长度不能为0, 一个平台:platform.length === 1; n个平台:platform.length === n; 不限平台:platform === null"),""}var c=this.state.allSelectedShopList;return l.default.createElement(a.Modal,{title:"请选择店铺",visible:t,onOk:this.ok,modalStyle:{maxWidth:"1040px"},bodyStyle:{height:"532px",maxHeight:"532px"},onClose:n,onCancel:r,disabledOk:(!c||!c.length)&&u,hasFooter:i.hasFooter,showType:i.showType},l.default.createElement(Qu.Provider,{value:f(f({},this.state),{},{changeSelectedShops:this.changeSelectedShops})},t&&l.default.createElement(ac,{option:i})))}}]),t}(t.Component);rc.propTyes={option:et.shape({hasFooter:et.bool,isSupportedChannel:et.bool,isOpenSelectedTab:et.bool,permissionType:et.bool,isSingleSelected:et.bool,readonly:et.bool,serverName:et.string.isRequired,tenantId:et.string.isRequired,selectedShop:et.array,platform:et.array,heightLightRow:et.array,disabledRowIdList:et.array,selectableRowIdList:et.array,requiredSelected:et.bool,isJosPop:et.bool,youzanFlag:et.string,limit:et.number}),onClose:et.func,onCancel:et.func,visible:et.bool},rc.defaultProps={option:{hasFooter:!0,isSupportedChannel:!0,isOpenSelectedTab:!1,permissionType:!1,isSingleSelected:!1,readonly:!1,isRequiredSelected:!1,serverName:"",tenantId:"",selectedShop:[],platform:[],heightLightRow:[],disabledRowIdList:[],selectableRowIdList:[],isJosPop:!1,youzanFlag:"",showType:"top"},visible:!1};var ic=["sku.sku_id","sku.outer_id","sku.specification","sku.status","sku.price","sku.stock"],oc=function(){function e(){y(this,e),this.queryCondition=[],this.originCondition=[],this.settingQuery=[],this.columnList=[]}var t,n,a,i,o,l,s,u,c,d,h,m,v,b,k,E,C,S,_,x;return w(e,[{key:"getGoodsCategory",value:(x=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/cate/std_cate?tenant=").concat(n),e.abrupt("return",ye.post(r,a));case 2:case"end":return e.stop()}}),e)}))),function(e,t,n){return x.apply(this,arguments)})},{key:"bury",value:function(e,t){return ye.post("".concat(e,"/product-selector/2.0/statistic/tenant/use"),t)}},{key:"getGoodsDefaultCategory",value:(_=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/cate/user_defined_cate?tenant=").concat(n),e.abrupt("return",ye.post(r,a));case 2:case"end":return e.stop()}}),e)}))),function(e,t,n){return _.apply(this,arguments)})},{key:"getColumnList",value:(S=g(p().mark((function e(t,n,a,r,i){var o,l,s,u,c;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=i?"".concat(t,"/product-selector/2.0/custom/queryUserDisplayPreferences?tenant=").concat(n,"&selectedItemId=").concat(i):"".concat(t,"/product-selector/2.0/custom/queryUserDisplayPreferences?tenant=").concat(n),u=this.configBizzKey(r,a,s),e.next=4,ye.get(u);case 4:return this.columnList=null==(c=e.sent)||null===(o=c.data)||void 0===o?void 0:o.data,e.abrupt("return",null==c||null===(l=c.data)||void 0===l?void 0:l.data);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a,r){return S.apply(this,arguments)})},{key:"saveColumnList",value:(C=g(p().mark((function e(t,n,a,r,i){var o,l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(t,"/product-selector/2.0/custom/saveUserDisplayPreferences?tenant=").concat(n),l=this.configBizzKey(i,r,o),e.next=4,ye.post(l,a);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a,r){return C.apply(this,arguments)})},{key:"configBizzKey",value:function(e,t,n){return e?"".concat(n,"&bizzKey=").concat(e):t?"".concat(n,"&bizzKey=10001"):n}},{key:"saveQueryCondition",value:(E=g(p().mark((function e(t,n,a,r,i){var o,l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(t,"/product-selector/2.0/custom/saveUserCustom?tenant=").concat(n),l=this.configBizzKey(r,i,o),e.abrupt("return",ye.post(l,a));case 3:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a,r){return E.apply(this,arguments)})},{key:"fetchAllquery",value:(k=g(p().mark((function e(t,n,a,r,i,o,l){var s,u,c,d,h,m,v,g;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l.length?(u=l.join(","),s="".concat(n,"/product-selector/2.0/custom/getCustom?tenant=").concat(a,"&selectedItemId=").concat(u)):s="".concat(n,"/product-selector/2.0/custom/getCustom?tenant=").concat(a),c=this.configBizzKey(i,t,s),e.next=4,ye.get(c);case 4:return h=(d=e.sent).data.data,this.originCondition=d.data.data,t||(h=h.filter((function(e){return!1===["sku_sku_id","sku_specification","sku_outer_id","sku_flag"].includes(e.itemId)}))),r||(h=h.filter((function(e){return!e.groupName}))),h=h.map((function(e){var t=["platCode","shopId","prod_product_id","prod_product_name","sku_sku_id","sku_specification","sku_outer_id","sku_flag"];return e.hasOwnProperty("newStatus")?t.includes(e.itemId)?f(f({},e),{},{value:e.itemId,label:e.itemName,newStatus:1}):f(f({},e),{},"prod_seller_tree"===e.itemId?{value:e.itemId,label:e.itemName,newStatus:1===e.newStatus?4:e.newStatus}:{value:e.itemId,label:e.itemName}):t.includes(e.itemId)?f(f({},e),{},{value:e.itemId,label:e.itemName,newStatus:1}):f(f({},e),{},{value:e.itemId,label:e.itemName,newStatus:4})})),m=[],v=[],g=[],h.forEach((function(e){e.groupName?g.push(e):"sku_flag"===e.itemId||-1===e.itemId.indexOf("sku")?m.push(e):"sku_flag"!==e.itemId&&v.push(e)})),this.queryCondition=[].concat(m,v,g).map((function(e,t){return f(f({},e),{},{order:t+1,newStatus:3===e.newStatus?4:e.newStatus})})),e.abrupt("return",this.queryCondition);case 16:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a,r,i,o){return k.apply(this,arguments)})},{key:"fetchSettingQuery",value:(b=g(p().mark((function e(t,n,a,r){var i,o,l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(n,"/product-selector/2.0/condition/setting?tenant=").concat(a),e.next=3,ye.get(i);case 3:return l=(o=e.sent).data.data,r||(l=o.data.data.filter((function(e){return!e.groupName}))),this.settingQuery=l,e.abrupt("return",this.settingQuery||[]);case 8:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a){return b.apply(this,arguments)})},{key:"getGoods",value:(v=g(p().mark((function e(t,n,a,i){var o,l,s,u,c=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=c.length>4&&void 0!==c[4]?c[4]:{},l="".concat(t,"/product-selector/2.0/items/base?tenant=").concat(n,"&pageNo=").concat(a.page.pageNo,"&pageSize=").concat(a.page.pageSize,"&showCategoryName=1"),e.next=4,ye.post(l,a.parameter);case 4:if((s=e.sent).data.success){e.next=8;break}return r.Message.error("服务出错"),e.abrupt("return",{data:{},pageNum:a.page.pageNo,pageSize:a.page.pageSize,total:0});case 8:return u={},s.data.data.data.forEach((function(e){Object.assign(e,{rowExpandable:!1,level:0,skus:e.skus.length?e.skus.map((function(e){return f(f({},e),{},{level:1})})):[]}),i.forEach((function(t){e.shopId===t.shopId&&Object.assign(e,{shopName:t.shopName,platName:t.platName})})),o[e.uniProductId]&&o[e.uniProductId].skus.length&&Object.assign(e,{rowExpandable:!0}),u[e.uniProductId]=e})),s.data.data.data=u,e.abrupt("return",s.data.data);case 12:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return v.apply(this,arguments)})},{key:"previewGetGoods",value:(m=g(p().mark((function e(t,n,a,i){var o,l,s,u,c=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=c.length>4&&void 0!==c[4]?c[4]:{},l="".concat(t,"/product-selector/2.0/items/base_static_dynamic?tenant=").concat(n,"&pageNo=").concat(a.page.pageNo,"&pageSize=").concat(a.page.pageSize),e.next=4,ye.post(l,a.parameter);case 4:if((s=e.sent).data.success){e.next=8;break}return r.Message.error("服务出错"),e.abrupt("return",{data:{},pageNum:a.page.pageNo,pageSize:a.page.pageSize,total:0});case 8:return u={},s.data.data.data.forEach((function(e){Object.assign(e,{rowExpandable:!1,level:0,skus:e.skus.length&&e.skus.map((function(e){return f(f({},e),{},{level:1})}))}),i.forEach((function(t){e.shopId===t.shopId&&Object.assign(e,{shopName:t.shopName})})),o[e.uniProductId]&&o[e.uniProductId].skus.length&&Object.assign(e,{rowExpandable:!0}),u[e.uniProductId]=e})),s.data.data.data=u,e.abrupt("return",s.data.data);case 12:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return m.apply(this,arguments)})},{key:"batchImport",value:(h=g(p().mark((function e(t,n,a){var r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/batch/import?tenant=").concat(n),e.next=3,ye.post(r,a);case 3:return(i=e.sent).data.success&&i.data.data.data.forEach((function(e){Object.assign(e,{rowExpandable:!!a["sku.outer_ids"],checked:!a["sku.outer_ids"]}),e.skus.forEach((function(e){Object.assign(e,{checked:!!a["sku.outer_ids"]})}))})),e.abrupt("return",i.data);case 6:case"end":return e.stop()}}),e)}))),function(e,t,n){return h.apply(this,arguments)})},{key:"queryAllGoods",value:(d=g(p().mark((function e(t,n,a,r,i,o){var l,s,u;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l="".concat(t,"/product-selector/2.0/items/all?tenant=").concat(n,"&limit=").concat(r),e.next=3,ye.post(l,a);case 3:if((s=e.sent).data.success){e.next=7;break}return s.data.data=[],e.abrupt("return",s.data);case 7:return u=[],s.data.data.length&&("goods"===i?s.data.data.forEach((function(e){o.forEach((function(t){e.shopId===t.shopId&&Object.assign(e,{shopName:t.shopName})})),Object.assign(e,{rowExpandable:!1}),u.push(e)})):"skus"===i&&s.data.data.forEach((function(e){e.skus.length&&(Object.assign(e,{rowExpandable:!0}),u.push(e))}))),s.data.data=u,e.abrupt("return",s.data);case 11:case"end":return e.stop()}}),e)}))),function(e,t,n,a,r,i){return d.apply(this,arguments)})},{key:"conditionFindAll",value:(c=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/product-selector/2.0/condition/findAll?tenant=").concat(n),e.next=3,ye.post(a,{});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return c.apply(this,arguments)})},{key:"validationConditionName",value:(u=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/name/check?tenant=").concat(n),e.next=3,ye.post(r,{conditionName:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return u.apply(this,arguments)})},{key:"saveCondition",value:(s=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/save/manual?tenant=").concat(n),e.next=3,ye.post(r,a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return s.apply(this,arguments)})},{key:"deleteCondition",value:(l=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/delete?tenant=").concat(n),e.next=3,ye.post(r,{id:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return l.apply(this,arguments)})},{key:"renameCondition",value:(o=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/rename?tenant=").concat(n),e.next=3,ye.post(r,a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return o.apply(this,arguments)})},{key:"autoSaveCondition",value:(i=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/save/auto?tenant=").concat(n),e.next=3,ye.post(r,a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return i.apply(this,arguments)})},{key:"findConditionCount",value:(a=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/product-selector/2.0/condition/count?tenant=").concat(n),e.next=3,ye.post(a,{});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return a.apply(this,arguments)})},{key:"getShoppingGold",value:(n=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/cate/std_cate_card?tenant=").concat(n),e.abrupt("return",ye.post(r,a));case 2:case"end":return e.stop()}}),e)}))),function(e,t,a){return n.apply(this,arguments)})},{key:"getPlatAndShopList",value:(t=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/product-selector/2.0//cate/shop_platCode?tenant=").concat(n,"&isCustomer=").concat(r),e.next=3,ye.post(i,{categoryIds:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n,a,r){return t.apply(this,arguments)})}]),e}(),lc=new oc;function sc(){var e=I(t.useState([]),2),n=e[0],a=e[1],r=t.useCallback((function(e){a([].concat(N(n),[e]))}),[n]),i=t.useCallback((function(e){n.splice(e,1),a(N(n))}),[n]);return{globalConditions:n,setGlobalConditions:a,appendGlobalConditions:r,removeGlobalConditions:i}}function uc(){var e=I(t.useState(),2);return{allQueryCondition:lc.queryCondition,setAllQueryCondition:e[1]}}var cc=l.default.createContext({});function dc(e){return l.default.createElement(cc.Provider,{value:e.value},e.children)}function fc(){return t.useContext(cc)}var pc=["productName","productId","outerId","price","stock","onlineTime","status","platName","shopName","showCategoryName","showSellerCategoryName","skuTotal","sku"],hc=["productName","productId","outerId","price","stock","onlineTime","status","platName","shopName","showCategoryName","showSellerCategoryName"],mc=["YDH","PDD","REDBOOK","WEIMOB","VIP"],vc=["TAOBAO","JOS","YOUZAN"],gc={SY_ONLINE:"在架",SY_OFFLINE:"下架",SY_SAIL_OVER:"售罄","":"不限"},yc={platCode:{field:"platCode",operator:"EQ",operatorName:"等于",desc:"平台名称",rules:"defalut"},shopId:{field:"shopId",operator:"EQ",operatorName:"等于",desc:"店铺名称",rules:"defalut"},prod_product_id:{field:"prod.product_id",operator:"EQ",operatorName:"等于",desc:"商品ID",rules:"defalut"},prod_product_name:{field:"prod.product_name",operator:"LIKE",operatorName:"内容包含",desc:"商品名称",rules:"split"},prod_category_tree:{field:"prod.category_id",operator:"EQ",operatorName:"等于",desc:"标准类目",rules:"normal"},prod_seller_tree:{field:"prod.seller_cid",operator:"EQ",operatorName:"等于",desc:"自定义类目",rules:"normal"},prod_status:{field:"prod.status",operator:"EQ",operatorName:"等于",desc:"商品状态",rules:"defalut"},prod_stock:{field:"prod.stock",operator:"BETWEEN_CLOSE",operatorName:"介于(闭区间)",desc:"库存",rules:"between"},prod_outer_id:{field:"prod.outer_id",operator:"SUB_PATTERN",operatorName:"符合模式(截断)",desc:"商品商家编码",rules:"sub_pattern"},prod_price:{field:"prod.price",operator:"BETWEEN_CLOSE",operatorName:"介于(闭区间)",desc:"价格",rules:"between"},prod_online_time:{field:"prod.online_time",operator:"BETWEEN_CLOSE",operatorName:"介于(闭区间)",desc:"上架时间",rules:"between"},sku_flag:{field:"sku_flag",operator:"EQ",operatorName:"等于",desc:"是否有SKU",rules:"default"},sku_sku_id:{field:"sku.sku_id",operator:"EQ",operatorName:"等于",desc:"SKU ID",rules:"default"},sku_outer_id:{field:"sku.outer_id",operator:"SUB_PATTERN",operatorName:"符合模式(截断)",desc:"SKU商家编码",rules:"sub_pattern"},sku_specification:{field:"sku.specification",operator:"LIKE",operatorName:"内容包含",desc:"SKU名称",rules:"default"}},bc=[{labelKey:"商品标题",valueKey:"productName",isSku:!1},{labelKey:"商品ID",valueKey:"productId",isSku:!1},{labelKey:"商品商家编码",valueKey:"outerId",isSku:!1},{labelKey:"SKU ID",valueKey:"skuId",isSku:!0},{labelKey:"SKU商家编码",valueKey:"outerSkuId",isSku:!0},{labelKey:"SKU名称",valueKey:"skuDetail",isSku:!0}],wc={SHOP_ID:"shopId",PLAT_CODE:"platCode",PROD_PRICE:"prod.price",PROD_STOCK:"prod.stock",PROD_STATUS:"prod.status",PROD_OUTER_ID:"prod.outer_id",PROD_SELLER_ID:"prod.seller_cid",PROD_PRODUCT_ID:"prod.product_id",PROD_CATEGORY_ID:"prod.category_id",PROD_ONLINE_TIME:"prod.online_time",PROD_PRODUCT_NAME:"prod.product_name",SKU_FLAG:"sku_flag",SKU_PRICE:"sku.price",SKU_STOCK:"sku.stock",SKU_SKU_ID:"sku.sku_id",SKU_STATUS:"sku.status",SKU_OUTER_ID:"sku.outer_id",SKU_SPECIFICATION:"sku.specification"},kc={EQ:"EQ",LT:"LT",GT:"GT",LIKE:"LIKE",END_LIKE:"END_LIKE",BEGIN_LIKE:"BEGIN_LIKE",SUB_PATTERN:"SUB_PATTERN",BETWEEN_OPEN:"BETWEEN_OPEN",BETWEEN_CLOSE:"BETWEEN_CLOSE",ISNULL:"ISNULL",NONULL:"NONULL",NOT_EQ:"NOT_EQ",TAG_ISNULL:"TAG_ISNULL",TAG_NONULL:"TAG_NONULL",BETWEEN_RELATIVE:"BETWEEN_RELATIVE"};function Ec(e){var t=e.help,n=void 0===t?"":t,a=e.children,i=e.disabled;return l.default.createElement("div",{className:"condition-widget-box","data-disabled":void 0!==i&&i},l.default.createElement("div",{className:"condition-widget-box-content"},void 0===a?null:a),l.default.createElement("div",{className:"condition-widget-box-action-new"},n&&l.default.createElement(r.Tooltip,{content:n},l.default.createElement("div",{className:"condition-widget-box-action-new-help"},l.default.createElement(r.Icon,{type:"question-circle"})))))}var Cc=function e(t,n){return t.reduce((function(t,a){var r={};return a.children&&a.children.length?r=Object.assign(t,e(a.children,n?[].concat(N(n),[a.id]):[a.id])):r[a.id]=n?[].concat(N(n),[a.id]):[a.id],r?Object.assign({},r,t):Object.assign({},t)}),{})},Sc=["platCode","shopId","fetcher"];function _c(e){var n=e.platCode,a=e.shopId,r=e.fetcher,i=x(e,Sc),o=i.extraQuery,l=i.server,s=I(t.useState(!1),2),u=s[0],c=s[1],d=I(t.useState([]),2),h=d[0],m=d[1],v=I(t.useState([]),2),y=v[0],b=v[1],w=I(t.useState({}),2),k=w[0],E=w[1],C=function(){var e=g(p().mark((function e(){var t,i,s;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(e){return e.map((function(e){var n=e.children||[];return n.length&&(n=t(n)),f(f({},e),{},{children:t(e.children),value:e.id,label:e.name})}))},n&&a){e.next=4;break}return m([]),e.abrupt("return");case 4:if(!u){e.next=6;break}return e.abrupt("return");case 6:return c(!0),e.next=9,r(l,o,{platCode:n,shopId:a});case 9:i=t(e.sent.data.data||[]),s=Cc(i),b(Object.keys(s)),E(s),m(i),c(!1);case 17:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return t.useEffect((function(){C()}),[n,a]),{categories:h,loading:u,categoriesObj:k,categoriesIds:y}}var xc=["value","context","mode","readonly"];function Ac(e){var n=e.value,a=void 0===n?{}:n,i=e.context,o=e.mode,s=e.readonly,u=x(e,xc),c=k(k({},wc.PROD_CATEGORY_ID,lc.getGoodsCategory),wc.PROD_SELLER_ID,lc.getGoodsDefaultCategory)[o],d=I(t.useState(a.shop?a.shop.value:""),2),p=d[0],h=d[1],m=I(t.useState(a.plat?a.plat.value:""),2),v=m[0],g=m[1],y=i.platShopList,b=_c(f({platCode:v,shopId:p,fetcher:c},i)),w=b.categories,C=b.loading,S=b.categoriesObj,_=I(t.useState(a.categories||[]),2),A=_[0],D=_[1],T=I(t.useState([]),2),O=T[0],M=T[1];t.useEffect((function(){var e=A.map((function(e){return S[e.value]}));M(e)}),[S,A]);var F=t.useState(y.reduce((function(e,t){return e.map((function(e){return e.value})).includes(t.platCode)||e.push({value:t.platCode,label:t.platName}),e}),[])),L=I(F,1)[0],P=t.useState(y.reduce((function(e,t){return e[t.platCode]=e[t.platCode]||[],e[t.platCode].push({label:t.shopName,value:t.shopId}),e}),[])),B=I(P,1)[0],R=v?B[v]:[];t.useEffect((function(){var e=v||L[0].value,t=p||B[e][0].value;setTimeout((function(){h(t),g(e)}),300)}),[]);var z=0>=w.length;return l.default.createElement(r.Modal,E({title:"选择类目",modalStyle:{width:500},bodyStyle:{height:275}},u,{clickMaskCanClose:!1,hasFooter:!s,onOk:function(){u.onOk({plat:L.find((function(e){return[v].includes(e.value)})),shop:R.find((function(e){return[p].includes(e.value)})),categories:N(A)})}}),l.default.createElement(r.Form,{layout:"horizontal",labelCol:{span:5}},l.default.createElement(r.Form.Item,{label:"选择店铺"},l.default.createElement(r.Select,{disabled:s,style:{marginRight:8,width:104},dataSource:L,placeholder:"选择平台",value:v,onChange:function(e){var t=B[e][0].value;D([]),g(e),h(t)}}),l.default.createElement(r.Select,{disabled:s,style:{width:216},dataSource:R,placeholder:"选择店铺",value:p,onChange:function(e){h(e),D([])}})),l.default.createElement(r.Form.Item,{label:"选择类目"},l.default.createElement(r.Loading,{loading:C,size:"small",className:"category-loading-wrapper"},l.default.createElement(r.CCascader,{options:w,multiple:!0,placeholder:z?"暂无类目数据":"选择类目",disabled:z||s,style:{width:328},onChange:function(e,t){var n=t.map((function(e){return e[e.length-1]}));D(n)},showCheckedStrategy:"SHOW_CHILD",value:O,showSearch:function(e,t){return t.some((function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}))}})))))}function Ic(){return Ic=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ic.apply(this,arguments)}function Nc(e){return Nc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nc(e)}function Dc(e){var t=function(e,t){if("object"!=Nc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=Nc(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Nc(t)?t:t+""}function Tc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Oc(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tc(Object(n),!0).forEach((function(t){var a,r,i;a=e,i=n[t],(r=Dc(r=t))in a?Object.defineProperty(a,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[r]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);t>n;n++)a[n]=e[n];return a}function Fc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=i.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){u=!0,r=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lc(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;i.length>a;a++)0>t.indexOf(n=i[a])&&(r[n]=e[n]);return r}function Pc(e,t){if(null==e)return{};var n,a,r=Lc(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;i.length>a;a++)0>t.indexOf(n=i[a])&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}
17
+ a.version="2.30.1",r(Jn),a.fn=ui,a.min=ea,a.max=ta,a.now=na,a.utc=h,a.unix=ci,a.months=gi,a.isDate=d,a.locale=vn,a.invalid=y,a.duration=Na,a.isMoment=C,a.weekdays=bi,a.parseZone=di,a.localeData=bn,a.isDuration=sa,a.monthsShort=yi,a.weekdaysMin=ki,a.defineLocale=gn,a.updateLocale=yn,a.locales=wn,a.weekdaysShort=wi,a.normalizeUnits=ne,a.relativeTimeRounding=ro,a.relativeTimeThreshold=io,a.calendarFormat=Ua,a.prototype=ui,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()})),Zl=function(e){return 0===e.tagType&&0===e.optionType},$l=function(e){return 0===e.tagType&&1===e.optionType},es=function(e){return 1===e.tagType},ts=function(e){return 5===e.tagType},ns=function(e){return 6===e.tagType},as=function(e){return 7===e.tagType},rs=function(e){return 3===e.tagType&&0===e.optionType},is=function(e){return 3===e.tagType&&1===e.optionType},os=function(e){return 8===e.tagType},ls=function(e){return function(e){return 4===e.tagType&&0===e.valueNumberOption&&0===e.optionType}(e)||function(e){return 2===e.tagType&&0===e.valueNumberOption}(e)||function(e){return 4===e.tagType&&0===e.valueNumberOption&&1===e.optionType}(e)},ss=function(e){return function(e){return 2===e.tagType&&1===e.valueNumberOption}(e)||function(e){return 4===e.tagType&&1===e.valueNumberOption&&0===e.optionType}(e)||function(e){return 4===e.tagType&&1===e.valueNumberOption&&1===e.optionType}(e)},us=function(e){return!e||Number.isNaN(e.getTime())},cs=function(e,t){return t.every((function(t){return e.includes(t)}))},ds=function(e,t){var n="isYMD"===e?"1900/01/01":"1900/01",a="isYMD"===e?"2030/12/31":"2100/12";return"age"===t&&("isYMD"===e?(n=Xl().subtract(150,"years").format("YYYY/MM/DD"),a=Xl().format("YYYY/MM/DD")):(n=Xl().subtract(150,"years").add(1,"months").format("YYYY/MM"),a=Xl().format("YYYY/MM"))),"pregnancy"===t&&("isYMD"===e?(n=Xl().format("YYYY/MM/DD"),a=Xl().add(280,"days").format("YYYY/MM/DD")):(n=Xl().format("yyyy/MM"),a=Xl().add(280,"days").format("YYYY/MM"))),[n,a]},fs={width:"661px",maxWidth:"661px",height:"460px",maxHeight:"460px"},ps={height:"368px",maxHeight:"368px",padding:"16px"},hs={M:"男",F:"女",null:"未知",undefined:"未知"};function ms(e){var n=e.visible,a=e.onClose,i=e.customerInfo,o=e.customerInfoOrigin,s=t.useContext(Jl),u=s.uniId,c=s.domain,d=s.serverName,p=r.Field.useField(),h=p.init,m=I(t.useState(!1),2),v=m[0],g=m[1],y=i.fullName,b=i.gender,w=i.birthday,k=i.mobile,C=i.email,S=i.state,_=i.city,x=i.district,A=i.town,N=i.address,D=I(t.useState({fullName:y,gender:b,birthday:w,mobile:k,email:C,state:S,city:_,district:x,town:A,address:N}),2),T=D[0],O=D[1],M=w?new Date(bt.moment(w).format("YYYY/MM/DD")):"",F="".concat(S||"",",").concat(_||"",",").concat(x||"",",").concat(A||"",",").concat(N||""),L=function(e,t){"save"===e?t.validate((function(e,t){if(!e){t.birthYear=new Date(t.birthday).getFullYear()||null;var n=t.fullName,l=t.gender,s=t.birthday,f=t.mobile,p=t.email,h=T.state,m=T.stateName,v=T.city,y=T.cityName,b=T.district,w=T.districtName,k=T.town,E=T.townName,C=T.address,S=[];if(n&&S.push({field:"fullName",value:n}),l&&S.push({field:"gender",value:hs[l]}),s&&S.push({field:"birthday",value:bt.moment(s).format("YYYY-MM-DD")}),f&&S.push({field:"mobile",value:f}),p&&S.push({field:"email",value:p}),!C||h&&v&&b&&k){h&&S.push({field:"stateName",value:{id:h,name:m||i.stateName}}),v&&S.push({field:"cityName",value:{id:v,name:y||i.cityName}}),b&&S.push({field:"districtName",value:{id:b,name:w||i.districtName}}),k&&S.push({field:"townName",value:{id:k,name:E||i.townName}}),C&&S.push({field:"address",value:C});var _={};S.forEach((function(e){var t=o[e.field],n=t.parentTagId;_[e.field]={tagId:t.tagId,tagName:t.tagName,tagValue:["stateName","cityName","districtName","townName"].includes(e.field)?[JSON.stringify(e.value)]:[e.value],parentTagId:n}})),g(!0),Ql.saveCustomerStorageInfo(c,d,u,_).then((function(e){if(g(!1),500===e.code)return r.Message.error(e.msg),!1;r.Message.success("基本信息更新成功"),a("save")})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}))}else r.Message.error("请选择所在地区(省、市、区、街道)")}})):a({type:e,editInfo:T})},P=function(e){"fullName"===e?p.setValue("fullName",y):"email"===e?p.setValue("email",C):p.setValue("mobile",k)};return l.default.createElement(r.Modal,{className:"customer-info-edit-modal custom-view-new-drawer-modal",visible:n,onClose:function(){return L("cancel",p)},onCancel:function(){return L("cancel",p)},onOk:function(){return L("save",p)},clickMaskCanClose:!1,showConfirmLoading:v,modalStyle:fs,bodyStyle:ps,title:"编辑我维护的信息"},l.default.createElement(r.Form,{layout:"horizontal",field:p,labelCol:{span:3}},l.default.createElement(r.Form.Item,{label:"姓名"},l.default.createElement(r.Input,E({placeholder:"请输入姓名",style:{width:270}},h("fullName",{initValue:y||"",rules:[{required:!!y,message:"已有值只可修改无法清空"},{validator:function(e,t,n){t&&t!==y&&t.length>30?n("姓名最长为30个字符"):n()}}]}))),y&&!p.getValue("fullName")&&l.default.createElement(r.Button,{type:"text",className:"special-btn",onClick:function(){return P("fullName")}},"恢复原值")),l.default.createElement(r.Form.Item,{label:"性别"},l.default.createElement(r.Radio.Group,h("gender",{initValue:b||null}),l.default.createElement(r.Radio,{value:"M"},"男"),l.default.createElement(r.Radio,{value:"F"},"女"),!b&&l.default.createElement(r.Radio,{value:null},"未知"))),l.default.createElement(r.Form.Item,{label:"生日",className:"special-bottom"},l.default.createElement(r.CPicker,E({isAppendToBody:!0,placeholder:"请选择生日",width:"270px"},h("birthday",{initValue:M})))),l.default.createElement(r.Form.Item,{label:"最新手机号",className:"special-bottom"},l.default.createElement(r.Input,E({placeholder:"请输入手机号",style:{width:270}},h("mobile",{initValue:k||"",rules:[{required:!!k,message:"已有值只可修改无法清空"},{validator:function(e,t,n){t&&t!==k&&!/^(13[0-9]|14[0-1,4-9]|15[0-3,5-9]|16[067]|17[2-8]|18[0-9]|19[0-3,5-9])\d{8}$/.test(t)?n("请输入正确的手机号"):n()}}]}))),k&&!p.getValue("mobile")&&l.default.createElement(r.Button,{type:"text",className:"special-btn",onClick:function(){return P("mobile")}},"恢复原值")),l.default.createElement(r.Form.Item,{label:"邮箱",className:"special-bottom"},l.default.createElement(r.Input,E({placeholder:"请输入邮箱",style:{width:270}},h("email",{initValue:C||"",rules:[{required:!!C,message:"已有值只可修改无法清空"},{pattern:/(^$)|^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/,message:"请输入正确的邮箱"}]}))),C&&!p.getValue("email")&&l.default.createElement(r.Button,{type:"text",className:"special-btn",onClick:function(){return P("email")}},"恢复原值")),l.default.createElement(r.Form.Item,{label:"地址"},l.default.createElement(Gl,{addressValue:F,address:N,selectdArea:function(e,t,n,a,r,i,o,l,s){var u={state:t,stateName:e,city:a,cityName:n,district:i,districtName:r,town:l,townName:o,address:s};O(f(f({},T),u))}}))))}function vs(e){var t=e.visible,n=e.onClose;return l.default.createElement(r.Modal,{title:"客户基本信息说明",modalStyle:{width:542,height:316},footer:l.default.createElement(r.Button,{type:"primary",size:"large",onClick:n},"我知道了"),visible:t,onClose:n},l.default.createElement("div",{className:"info-explain-modal"},l.default.createElement("p",null,'1. 最新客户基本信息:展示的是所有全渠道客户信息更新来源中(例如订单、忠诚度会员、外部导入、商家自主维护的客户信息以及"互动赢家、私域赢家、微信会员中心"的客户业务数据等),客户信息的最新一条更新记录。无需编辑。'),l.default.createElement("p",null,'2. 我维护的客户基本信息:展示的是商家自主维护的客户信息。支持编辑,编辑保存后也会同时更新【最新基本信息】。当"最新基本信息"更新后,二者可能不一致。')))}function gs(e){var n=e.tip,a=t.useRef(),i=I(t.useState(""),2),o=i[0],s=i[1],u=I(t.useState(!1),2),c=u[0],d=u[1];return t.useEffect((function(){3!==n.type?s(Hl(a,n.text)):Ul(14,e.tip.text)>a.current.offsetWidth-10&&d(!0)}),[]),1===n.type?l.default.createElement(r.Tooltip,{placement:"top-left",content:o},l.default.createElement("p",{className:"over-length-tip-common",ref:a},n.text||"-")):2===n.type?l.default.createElement(r.Tooltip,{placement:"top-left",content:o},l.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",ref:a,href:n.detailUrl?n.detailUrl:null,className:"over-length-tip-href"},n.text||"-")):3===n.type?l.default.createElement(l.default.Fragment,null,l.default.createElement("span",{className:"wx-span ".concat(c?"text-overflow-other":""),ref:a},n.text||"-"),c?l.default.createElement(r.Button,{type:"text",style:{height:20,"margin-left":"6px","margin-right":"26px"},onClick:function(){e.handleClick()}},"查看"):""):void 0}ms.propTypes={visible:et.bool,onClose:et.func,customerInfo:et.object},ms.defaultProps={visible:!1,onClose:function(){}};var ys={M:"男",F:"女",null:"未知",undefined:"未知"},bs={"男":"M","女":"F",null:"未知",undefined:"未知"},ws={1:"潜在客户",2:"新客一次客户",3:"老客一次客户",4:"新客复购客户",5:"老客复购客户",6:"沉默客户",7:"流失客户"};function ks(e){return e||"-"}function Es(e,t){var n={type:1,text:e};return("fullName"===t||"mobile"===t)&&e&&e.length>30||"address"===t&&e&&e.length>100?l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"customer-info-text-address"},l.default.createElement(gs,{tip:n})),l.default.createElement(r.Tooltip,{placement:"top",content:"此处显示平台侧提供的密文数据(平台侧不支持解密操作)"},l.default.createElement(r.Icon,{type:"question-circle"}))):e||"-"}function Cs(e){var n,a=t.useContext(Jl),i=a.uniId,o=a.domain,s=a.serverName,u=I(t.useState(!1),2),c=u[0],d=u[1],h=I(t.useState(!1),2),m=h[0],v=h[1],y=I(t.useState(1),2),b=y[0],w=y[1],E=e.customerInfo;E.fullNameV=!1,E.mobileV=!1,E.emailV=!1,E.addressV=!1;var C=I(t.useState(E),2),S=C[0],_=C[1],x=I(t.useState({}),2),A=x[0],N=x[1],D=I(t.useState({}),2),T=D[0],O=D[1],M=I(t.useState({}),2),F=M[0],L=M[1],P=function(){var e=g(p().mark((function e(t){var n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(d(!1),"save"!==t){e.next=8;break}return n={fullNameV:!1,mobileV:!1,emailV:!1,addressV:!1},e.next=5,R({encrypt:!0},n);case 5:return L(e.sent),e.abrupt("return");case 8:_(F);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),B=function(){var e=g(p().mark((function e(){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,R({encrypt:!1});case 2:N(e.sent),d(!0);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();t.useEffect((function(){setTimeout((function(){Ql.getNoticeState(o,Tl).then((function(e){var t,n;v(!(null==e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.readStatus))}))}),100)}),[]);var R=function(){var e=g(p().mark((function e(t,n,a){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ql.getCustomerStorageInfo(o,s,i,t).then((function(e){if(500===e.code)return r.Message.error(e.msg),!1;var t=e.data;O(t);var i={};return Object.keys(t).forEach((function(e){var n,a=null===(n=t[e])||void 0===n?void 0:n.tagValue;i[e]=a?a[0]:"","gender"===e&&(i[e]=a?bs[a[0]]:null),"stateName"!==e&&"cityName"!==e&&"districtName"!==e||(i[e]=a?JSON.parse(a[0]).name:""),"stateName"===e&&(i.state=a?JSON.parse(a[0]).id:""),"cityName"===e&&(i.city=a?JSON.parse(a[0]).id:""),"districtName"===e&&(i.district=a?JSON.parse(a[0]).id:""),"townName"===e&&a&&("**"===a[0]?i[e]=a[0]:(i[e]=a?JSON.parse(a[0]).name:"",i.town=a?JSON.parse(a[0]).id:""))})),_(a?f(f(f({},S),n),{},k(k({},"".concat(a,"Temp"),i[a]),a,S[a])):f(f({},i),n)),i}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}(),z=function(){var e=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t!==Ol){e.next=5;break}return e.next=3,Ql.getCustomerInfo(o,s,i).then((function(e){w(t);var n=e;n.shopAccountMap&&n.shopAccountMap.JOS&&Vl(n),n.fullNameV=!1,n.mobileV=!1,n.emailV=!1,n.addressV=!1,_(n)})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}));case 3:e.next=11;break;case 5:return n={fullNameV:!1,mobileV:!1,emailV:!1,addressV:!1},e.next=8,R({encrypt:!0},n);case 8:L(a=e.sent),a&&w(t);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),j=function(){var e=g(p().mark((function e(t,n){var a,r,l,u;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(b!==Ol){e.next=25;break}if("fullName"!==n||S.fullNameTemp){e.next=7;break}return e.next=4,Ql.getCustomerItemInfo(o,s,i,n);case 4:return a=e.sent,_(f(f(f({},S),t),{},{fullNameTemp:a.data})),e.abrupt("return");case 7:if("mobile"!==n||S.mobileTemp){e.next=13;break}return e.next=10,Ql.getCustomerItemInfo(o,s,i,n);case 10:return r=e.sent,_(f(f(f({},S),t),{},{mobileTemp:r.data})),e.abrupt("return");case 13:if("email"!==n||S.emailTemp){e.next=19;break}return e.next=16,Ql.getCustomerItemInfo(o,s,i,n);case 16:return l=e.sent,_(f(f(f({},S),t),{},{emailTemp:l.data})),e.abrupt("return");case 19:if("address"!==n||S.addressTemp){e.next=25;break}return e.next=22,Ql.getCustomerItemInfo(o,s,i,n);case 22:return u=e.sent,_(f(f(f({},S),t),{},{addressTemp:u.data})),e.abrupt("return");case 25:if(b!==Ml){e.next=30;break}if(!("fullName"===n&&!S.fullNameTemp||"mobile"===n&&!S.mobileTemp||"email"===n&&!S.emailTemp||"address"===n&&!S.addressTemp)){e.next=30;break}return e.next=29,R({encrypt:!1},t,n);case 29:return e.abrupt("return");case 30:_(f(f({},S),t));case 31:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),V=l.default.createElement(r.CDropdown.Menu,{style:{width:200},checkedId:b,onClick:z},Fl.map((function(e){return l.default.createElement(r.CDropdown.Item,{key:e.id,id:e.id},e.label)}))),U=S.birthday?bt.moment(S.birthday).format("YYYY/MM/DD").split("/")[0]:"";return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"info-explain-container"},l.default.createElement("div",{className:"info-dropdown"},l.default.createElement(r.CDropdown,{placement:"bottomLeft",overlay:V,trigger:["click"]},l.default.createElement("div",null,l.default.createElement("span",null,(null===(n=Fl.find((function(e){return e.id===b})))||void 0===n?void 0:n.label)||Fl[0].label),l.default.createElement(r.Icon,{type:"down-solid"})))),l.default.createElement("span",{className:"info-popover"},l.default.createElement(r.Popover,{size:"small",placement:"right",className:"info-popover",visible:m,containerEle:document.querySelector(".info-popover"),title:"商家自主维护的客户信息",content:'客户基础信息模块新增下拉切换展示"最新的客户信息"以及"商家维护的客户信息",客户管理更灵活。',confirmText:"我知道了",onVisibleChange:function(e){!e&&m&&(Ql.setNoticeState(o,Tl),v(!1))},showConfirmBtn:!0})),b===Ml&&l.default.createElement("p",{className:"info-edit",onClick:B},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑"),l.default.createElement("span",{className:"info-explain",onClick:function(){r.Modal.createModal(vs).open()}},"不同基本信息的区别?")),l.default.createElement("div",{className:"uniId-wrap"},l.default.createElement("section",{className:"uniId-wrap-1"},l.default.createElement("p",{className:"info-flag"},"全渠道客户ID:")),l.default.createElement("section",{className:"uniId-wrap-2"},l.default.createElement(r.Tooltip,{content:"双击可复制"},l.default.createElement("p",{className:"uniId-self",onDoubleClick:function(){return function(e){bt.copyText(e),r.Message.success("复制成功",{contextContainer:document.getElementsByClassName("newCloud-drawer1")[0]})}(i)}},i)),l.default.createElement(r.Tooltip,{content:'\n\t\t<div>以全渠道RFM为例(若已设置自定义客户生命周期,则以自定义客户生命周期进行计算):</div>\n\t\t<div class="customer-view-new-tip-temp"><span>1. </span> <span>潜在客户:尚无有效交易的客户。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>2. </span> <span>老客一次客户:新客一次客户:首次购买时间在1年内 且 最近1年购买次数=1次。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>3. </span> <span>老客一次客户:首次购买时间在1年前 且 最近1年购买次数=1次。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>4. </span> <span>新客复购客户:首次购买时间在1年内 且 最近1年购买次数≥2次。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>5. </span> <span>老客复购客户:首次购买时间在1年前 且 最近1年购买次数≥2次。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>6. </span> <span>沉默客户:最近1年无有效交易,再往前1年存在有效交易的客户。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>7. </span> <span>流失客户:最近一次购买时间在2年前。</span></div>'},l.default.createElement("p",{className:"uniId-state uniId-state-".concat(S.customerType)},S.customerType?ws[S.customerType]:""))),c&&l.default.createElement(ms,{visible:c,customerInfo:A,customerInfoOrigin:T,onClose:P})),l.default.createElement("div",{className:"customer-info-wrap"},l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"姓名:"),l.default.createElement("span",{className:"customer-info-text"},Es(S.fullNameV?S.fullNameTemp:S.fullName,"fullName"),S.fullName?l.default.createElement(r.Icon,S.fullNameV?{type:"hide",onClick:function(){return j({fullNameV:!1},"fullName")}}:{type:"view",onClick:function(){return j({fullNameV:!0},"fullName")}}):"")),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"性别:"),l.default.createElement("span",{className:"customer-info-text"},ks(ys[S.gender]))),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"最新手机号:"),l.default.createElement("span",{className:"customer-info-text customer-info-text-special"},Es(S.mobileV?S.mobileTemp:S.mobile,"mobile"),S.mobile?l.default.createElement(r.Icon,S.mobileV?{type:"hide",onClick:function(){return j({mobileV:!1},"mobile")}}:{type:"view",onClick:function(){return j({mobileV:!0},"mobile")}}):"")),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"生日:"),l.default.createElement("span",{className:"customer-info-text"},S.birthday?ks(bt.moment(S.birthday).format("YYYY/MM/DD")):"-")),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"年龄:"),l.default.createElement("span",{className:"customer-info-text"},U?"".concat((new Date).getFullYear()-Number(U),"岁"):"-")),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"邮箱:"),l.default.createElement("span",{className:"customer-info-text"},ks(S.emailV?S.emailTemp:S.email),S.email?l.default.createElement(r.Icon,S.emailV?{type:"hide",onClick:function(){return j({emailV:!1},"email")}}:{type:"view",onClick:function(){return j({emailV:!0},"email")}}):"")),l.default.createElement("div",{className:"customer-info"},l.default.createElement("span",null,"地址:"),l.default.createElement("span",{className:"customer-info-text"},Es("".concat(S.stateName||"").concat(S.cityName||"").concat(S.districtName||"").concat(S.addressV?S.addressTemp:S.address||""),"address"),S.address?l.default.createElement(r.Icon,S.addressV?{type:"hide",onClick:function(){return j({addressV:!1},"address")}}:{type:"view",onClick:function(){return j({addressV:!0},"address")}}):""))))}function Ss(){var e=t.useContext(Jl),n=e.domain,a=e.serverName,i=e.uniId,o=I(l.default.useState(!0),2),s=o[0],u=o[1],c=I(l.default.useState({}),2),d=c[0],f=c[1];return t.useEffect((function(){Ql.getCustomerInfo(n,a,i).then((function(e){var t=e;t.shopAccountMap&&t.shopAccountMap.JOS&&Vl(t),f(t),u(!1)})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}))}),[]),s?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"account-area-new"},l.default.createElement("div",{className:"customer-account-info-new"},l.default.createElement(Cs,{customerInfo:d})))}var _s=function(){function e(){y(this,e),this.orderColumn=[]}var t,n,a,r,i,o,l,s,u,c,d,f,h,m,v,b,k,E,C;return w(e,[{key:"getRFMTagsInfo",value:(C=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerRfm/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return C.apply(this,arguments)})},{key:"getPlatRFMInfo",value:(E=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerRfm/").concat(a,"/plat"),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return E.apply(this,arguments)})},{key:"getShopRFMInfo",value:(k=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerRfm/").concat(a,"/shop"),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return k.apply(this,arguments)})},{key:"getCustomerBenefitList",value:(b=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/preferential/detail"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return b.apply(this,arguments)})},{key:"getCustomerInfo",value:(v=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return v.apply(this,arguments)})},{key:"getRfmTenantInfo",value:(m=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerRfm/").concat(a,"/tenant"),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return m.apply(this,arguments)})},{key:"getPlatformInfo",value:(h=g(p().mark((function e(t){var n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(t,"/data-manage-x/1.0/customer/platform"),e.next=3,ye.get(n);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e){return h.apply(this,arguments)})},{key:"getFirstShopList",value:(f=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/ucenter-mars-facade/v1/tenant/shop/list/selector"),e.next=3,ye.get(a,{params:n});case 3:return e.abrupt("return",e.sent.data.data);case 6:case"end":return e.stop()}}),e)}))),function(e,t){return f.apply(this,arguments)})},{key:"getCustomerInteractiveList",value:(d=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/interactive"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return d.apply(this,arguments)})},{key:"getCustomerMarketingList",value:(c=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/marketing/detail"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return c.apply(this,arguments)})},{key:"getCustomerOrderList",value:(u=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/order/detail"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return u.apply(this,arguments)})},{key:"getCustomerViewList",value:(s=g(p().mark((function e(t,n,a){var r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={begin:a.begin,end:a.end,queryType:a.queryType||void 0,channel:a.channel||void 0,startDate:a.startDate||void 0,endDate:a.endDate||void 0,uniId:a.uniId||void 0,shops:a.shops||void 0},i="".concat(t,"/").concat(n,"/view/all"),e.next=5,ye.get(i,{params:r});case 5:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e,t,n){return s.apply(this,arguments)})},{key:"getCustomerOrderRateList",value:(l=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/order/rate"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return l.apply(this,arguments)})},{key:"getCustomerRateList",value:(o=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/order/rates"),e.next=3,ye.get(r,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return o.apply(this,arguments)})},{key:"getPlatList",value:(i=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(n,"/customer/platform"),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return i.apply(this,arguments)})},{key:"getTypeList",value:(r=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/").concat(n,"/customer/platform"),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return r.apply(this,arguments)})},{key:"getShopList",value:(a=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customer/shops"),e.next=3,ye.get(r,a?{params:{platCode:a}}:"");case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return a.apply(this,arguments)})},{key:"getContentDetail",value:(n=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/contentmanage/v1/content/vsms/get/").concat(n),e.next=3,ye.get(a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"getAllShop",value:(t=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/ucenter-mars-facade/v1/tenant/shop/list/selector"),e.next=3,ye.get(a,{params:n});case 3:return e.abrupt("return",e.sent.data.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n){return t.apply(this,arguments)})}]),e}(),xs=new _s,As="data:image/png;base64,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",Is="data:image/png;base64,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",Ns=l.default.createElement("div",{className:"search-empty-com"},l.default.createElement("img",{alt:"",src:Is,width:64}),l.default.createElement("span",{style:{marginTop:8}},"搜索为空")),Ds=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).ajaxData=function(){var e=g(p().mark((function e(t){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=f({pageNum:t.pageNum,pageSize:t.pageSize},n.query),e.abrupt("return",xs.getCustomerBenefitList(n.context.domain,n.context.serverName,a).then((function(e){var t=e.benefitCount,a=e.lastBenefitTime,r={totals:e.totals,data:e.list,benefitCount:t,lastBenefitTime:a};return n.setState({preferentialCount:t,lastPreferentialTime:a}),r})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),n.searchData=function(e){var t=n.state.selectedShopTemp;"rest"===e&&n.setState({selectedShop:JSON.parse(JSON.stringify(t))});var a=n.state,i=a.selectedShop,o=a.allPlatShop;n.setState({isSearchEmpty:!0});var l=[];("rest"===e?t:i).forEach((function(e){if(2===e.length)l.push(e[1].includes("WX|")?e[1].replace("WX|","WEIXIN|"):e[1]);else{var t=o.find((function(t){return t.value===e[0]}));t.children.forEach((function(e){l.push(e.value.includes("WX|")?e.value.replace("WX|","WEIXIN|"):e.value)}))}})),"rest"===e||l.length?"rest"!==e&&l.length>100?r.Message.error("最多选择100个店铺"):(n.query.uniShopIds=l.join(","),n.customerBenefitTable.current.refreshTable(!0)):r.Message.error("至少保留1个店铺数据")},n.onChange=function(e){n.setState({selectedShop:e})},n.state={platList:[],platListMap:{},allPlatShop:[],selectedShop:[],selectedShopTemp:[],loading:!0,preferentialCount:"",lastPreferentialTime:"",isSearchEmpty:!1},n}var n,a,i,o;return C(t,e),w(t,[{key:"componentDidMount",value:(o=g(p().mark((function e(){var t,n=this;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.query={uniId:this.context.uniId},this.customerBenefitTable=l.default.createRef(),e.next=4,this.getAllPlat();case 4:if(0>=this.context.selectUniShops.length){e.next=11;break}this.query.uniShopIds=this.context.selectUniShops.join(","),t=[],this.context.selectUniShops.forEach((function(e){var n=e.split("|");t.push([n[0],e])})),this.setState({selectedShop:t,selectedShopTemp:JSON.parse(JSON.stringify(t))}),e.next=13;break;case 11:return e.next=13,this.getFirstShop();case 13:setTimeout((function(){n.getAllShop()}));case 14:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"getAllPlat",value:(i=g(p().mark((function e(){var t,n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getPlatformInfo(this.context.domain,this.context.serverName,this.context.uniId);case 2:t={},n=e.sent.map((function(e){return t[e.platCode]=e.platName,"MGJ"===e.platCode?"mogujie":e.platCode.toLocaleLowerCase()})),this.setState({platList:n,platListMap:t});case 6:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"getFirstShop",value:(a=g(p().mark((function e(){var t,n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getFirstShopList(this.context.domain,{tenantId:this.context.tenantId,platCodes:this.state.platList.join(","),permissionType:!0,youzanFlag:"mainShop",pageNum:1,pageSize:1,productCodes:"sjyj"});case 2:0!==(t=e.sent).length?(this.query.uniShopIds=n=t[0].uniShopId,this.query.uniShopIds=n,a=[[n.split("|")[0],n]],this.setState({selectedShop:a,selectedShopTemp:JSON.parse(JSON.stringify(a))})):this.setState({selectedShop:[]});case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"getAllShop",value:(n=g(p().mark((function e(){var t,n,a,r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this.state).platList,a=t.platListMap,e.next=3,xs.getAllShop(this.context.domain,{appIds:"0,31,9001",tenantId:this.context.tenantId,platCodes:n.join(","),permissionType:!0,youzanFlag:"mainShop",productCodes:"sjyj"});case 3:r=e.sent.reduce((function(e,t,n,r){var i="WX"===t.platCode?"WEIXIN":t.platCode,o=t.uniShopId.includes("WX|")?t.uniShopId.replace("WX|","WEIXIN|"):t.uniShopId,l=e.find((function(e){return e.value===i}));return l?l.children.push({value:o,label:t.name}):e.push({value:i,label:a[i],children:[{value:o,label:t.name}]}),e}),[]),this.setState({allPlatShop:r,loading:!1});case 6:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"filter",value:function(e,t){return t.some((function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}))}},{key:"render",value:function(){var e=this,t=[{dataIndex:"sendTime",title:"发放时间",width:120,align:"left"},{title:"权益类型",dataIndex:"preferentialType",align:"left"},{title:"权益名称",align:"left",width:120,ellipsis:!0,dataIndex:"preferentialName",render:function(e){return l.default.createElement(r.Tooltip,{content:e},e||"-")}},{title:"权益详情",align:"left",dataIndex:"preferentialContent",render:function(e){var t=e.split("\n"),n="",a=t.join(";<br/>")+";";return t.length>2&&(n=t.splice(0,2).join(";<br/>")+";<br/>..."),l.default.createElement("div",null,l.default.createElement(r.Tooltip,{placement:"top-left",content:a},l.default.createElement("div",{className:"info-tip",dangerouslySetInnerHTML:{__html:n}})))}},{title:"平台及店铺",dataIndex:"platCode",width:140,align:"left",render:function(e,t){var n;return l.default.createElement("div",null,l.default.createElement("p",null,(null===(n=function(e){var t,n={},a=O(kl);try{for(a.s();!(t=a.n()).done;){var r=t.value;n[r.plat]=r}}catch(e){a.e(e)}finally{a.f()}return n[e]}(e))||void 0===n?void 0:n.platName)||"未知"),l.default.createElement("p",null,t.shopName))}},{title:"发放场景",align:"left",width:100,dataIndex:"sendType"},{title:"是否核销",align:"left",width:100,dataIndex:"isVerification",render:function(e){return l.default.createElement("span",null,"已核销"===e?"是":"否")}}];return l.default.createElement("div",{className:"customer-benefit-area-new"},l.default.createElement(r.Tips,{msg:"列表显示90天内权益发放记录。",isShowIcon:!0}),this.state.loading?l.default.createElement(r.Loading,null):l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"table-opt"},l.default.createElement("div",{className:"shop-filter"},l.default.createElement("label",{className:"title-label-require"},"店铺:"),l.default.createElement(r.CCascader,{style:{width:"270px"},options:this.state.allPlatShop,defaultValue:this.state.selectedShop,value:this.state.selectedShop,onChange:function(t){return e.onChange(t)},blur:function(){return e.searchData()},notFoundContent:Ns,placeholder:"请选择店铺",maxTagCount:"responsive",showCheckedStrategy:"SHOW_CHILD",multiple:!0,allowClear:!0,showSearch:{filter:this.filter}}),l.default.createElement(r.Button,{type:"primary",onClick:function(){return e.searchData()},style:{marginLeft:16}},"搜索"),l.default.createElement(r.Button,{onClick:function(){return e.searchData("rest")},style:{marginLeft:8}},"重置")),l.default.createElement("div",{className:"table-info-tips"},l.default.createElement("label",null,"90天权益发放量:"),l.default.createElement("span",{className:"title-count"},this.state.preferentialCount||l.default.createElement("span",{className:"empty"},"-")),l.default.createElement("label",null,"最后一次权益发放时间:"),l.default.createElement("span",null,this.state.lastPreferentialTime||l.default.createElement("span",{className:"empty"},"-")))),l.default.createElement(r.CTable,{ref:this.customerBenefitTable,style:{width:"100%",height:"calc(100% - 82px - 36px - 16px)"},supportPage:!0,hideEmptyFooter:!0,showRefresh:!1,rowKey:"uniShopId",columnData:t,ajaxData:this.ajaxData,emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:e.state.isSearchEmpty?Is:As,width:64}),l.default.createElement("p",{style:{marginTop:e.state.isSearchEmpty?8:"","margin-top":"8px"}},e.state.isSearchEmpty?"搜索为空":"暂无数据"))},pageOpts:{pageSize:10,pageSizeOptions:[5,10,20,30,50],showQuickJumper:!0}})))}}]),t}(l.default.Component);Ds.contextType=Jl;var Ts=function(){function e(){y(this,e)}var t,n,a,r,i;return w(e,[{key:"getCustomerCardInfo",value:(i=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerCard/card/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return i.apply(this,arguments)})},{key:"getCustomerShopCardInfo",value:(r=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerShopMember/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"getPointChangeRecord",value:(a=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerCard/pointChangeRecord/").concat(r),e.next=3,ye.get(i,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,r){return a.apply(this,arguments)})},{key:"getGradeChangeRecord",value:(n=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerCard/gradeChangeRecord/").concat(r),e.next=3,ye.get(i,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,a,r){return n.apply(this,arguments)})},{key:"shopCardGradeChangeRecord",value:(t=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerShopMember/gradeChangeRecord/").concat(r),e.next=3,ye.get(i,{params:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n,a,r){return t.apply(this,arguments)})}]),e}(),Os=new Ts,Ms={width:"900px",maxWidth:"900px"},Fs={height:"460px",maxHeight:"460px",padding:"16px"};function Ls(e){var n=e.visible,a=e.onRecordClose,i=e.type,o=e.cardPlanId,s=t.useContext(Jl),u=s.uniId,c=s.domain,d=s.serverName,f=function(){var e=g(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Os.getPointChangeRecord(c,d,{cardPlanId:o,pageNum:t.pageNum,pageSize:t.pageSize},u).then((function(e){return{totals:e.totals,list:e.list}})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var e=g(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Os.getGradeChangeRecord(c,d,{cardPlanId:o,pageNum:t.pageNum,pageSize:t.pageSize},u).then((function(e){return{totals:e.totals,list:e.list}})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return l.default.createElement(r.Modal,{className:"change-record-modal custom-view-new-drawer-modal",hasFooter:!1,visible:n,onClose:function(){a()},clickMaskCanClose:!1,modalStyle:Ms,bodyStyle:Fs,title:"grade"===i?"等级变更记录":"积分变更记录"},l.default.createElement(r.CTable,{supportPage:!0,columnData:"grade"===i?[{title:"变更时间",dataIndex:"changeTime",width:184},{title:"变更前等级",dataIndex:"gradeNameBeforeChange",width:130},{title:"变更后等级",dataIndex:"gradeNameAfterChange",width:130},{title:"变更类型",dataIndex:"changeType",align:"right",width:120},{title:"变更来源",dataIndex:"changeSource",align:"right",width:120},{title:"等级有效期",dataIndex:"gradePeriod",align:"right",width:184}]:[{title:"变更时间",dataIndex:"changeTime",width:130},{title:"积分变更",dataIndex:"changeValue",width:140},{title:"行为类型",dataIndex:"actionType",width:140},{title:"变更来源",dataIndex:"source",width:120}],ajaxData:"grade"===i?h:f,dataKey:"list",showRefresh:!1,emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("p",{style:{color:"rgba(0,0,0,0.45)","font-weight":400,"font-size":"14px","margin-top":"8px"}},"暂无数据"))},pageOpts:{pageSize:10,showPageSizeOptions:!1,showQuickJumper:!1}}))}Ls.propTypes={cardPlanId:et.string,visible:et.bool,onRecordClose:et.func,type:et.string},Ls.defaultProps={visible:!1,onRecordClose:function(){}};var Ps=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).getCardInfoList=g(p().mark((function e(){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Os.getCustomerCardInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){n.memberCardList=e,n.memberCardList.forEach((function(e){Object.assign(e,{source:"member_card"})}))})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}));case 2:return e.next=4,Os.getCustomerShopCardInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){n.shopCardList=e})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}));case 4:n.shopCardList.forEach((function(e){Object.assign(e,{cardName:e.shopName,source:"member_shop",cardPlanId:e.shopId})})),n.customerCardInfoList=n.memberCardList.concat(n.shopCardList),1===n.customerCardInfoList.length&&"0"===n.customerCardInfoList[0].grade&&n.setState({isMember:!1}),n.setState(n.customerCardInfoList.length>0?{customerCardInfoList:n.customerCardInfoList,loading:!1,cardInfo:n.customerCardInfoList[0]}:{loading:!1});case 8:case"end":return e.stop()}}),e)}))),n.handleChangeCard=function(e,t){n.setState({cardInfoShowIndex:t,cardInfo:e})},n.changeRecord=function(e){n.setState({visible:!0,type:e})},n.securityMobile=function(e,t){return e?t?"".concat(e.substring(0,3),"****").concat(e.substring(7)):e:"-"},n.securityChange=function(e){n.setState({securityFlag:e})},n.renderCardInfo=function(e){var t=n.state,a=t.cardInfo,i=t.isMember,o=t.cardInfoShowIndex,s=t.visible,u=t.type,c=t.securityFlag,d="member_card"===a.source;return e.length?l.default.createElement("div",{className:"customer-card-container-new"},l.default.createElement("div",{className:"left-card"},e.map((function(e,t){return l.default.createElement("div",{key:t,className:"card-img",onClick:function(){return n.handleChangeCard(e,t)}},l.default.createElement("div",{className:"img_div ".concat("member_card"!==e.source?"img_div_dp":"img_div_other"," ").concat(o===t?"member_card"===e.source?"img_div_active":"img_div_active_dp":"")},l.default.createElement("div",{className:"img_div_info"},l.default.createElement("div",{className:"card-name"},e.cardName||"-"),l.default.createElement("div",{className:"card-level"},e.gradeName))))}))),l.default.createElement("div",{className:"right-card-info"},d?l.default.createElement("div",{className:"info"},l.default.createElement("div",{className:"info-title"},l.default.createElement("div",null),l.default.createElement("p",null,"会员基础信息")),l.default.createElement("div",{className:"info-context"},l.default.createElement("p",null,"会员ID:",a.memberId||"-"),l.default.createElement("p",null,"会员手机号:",l.default.createElement("span",{className:"info-context-icon"},n.securityMobile(a.bindMobile,!!c),c&&l.default.createElement(r.Icon,{type:"view",onClick:function(){return n.securityChange(!1)}}),!c&&l.default.createElement(r.Icon,{type:"hide",onClick:function(){return n.securityChange(!0)}}))))):"",l.default.createElement("div",{className:"info"},l.default.createElement("div",{className:"info-title"},l.default.createElement("div",null),l.default.createElement("p",null,"等级信息"),i&&d&&l.default.createElement(r.Button,{type:"text",onClick:function(){return n.changeRecord("grade")}},"等级变更记录")),l.default.createElement("div",{className:"info-context"},l.default.createElement("p",null,"会员等级:",(null==a?void 0:a.gradeName)||"-"),d&&l.default.createElement("p",null,"等级有效期:",(null==a?void 0:a.gradePeriod)||"-"))),d?l.default.createElement("div",{className:"info"},l.default.createElement("div",{className:"info-title"},l.default.createElement("div",null),l.default.createElement("p",null,"积分信息"),i&&l.default.createElement(r.Button,{type:"text",onClick:function(){return n.changeRecord("point")}},"积分变更记录")),l.default.createElement("div",{className:"info-context"},l.default.createElement("p",null,"可用积分:",a.availablePoint||0),l.default.createElement("p",null,"即将过期积分:",a.upcomingExpiredPoint||0),l.default.createElement("p",null,"累积获得积分:",a.totalPoint||0),l.default.createElement("p",null,"已消耗积分:",a.consumedPoint),l.default.createElement("p",null,"过期积分:",a.expiredPoint))):"",s&&l.default.createElement(Ls,{cardPlanId:a.cardPlanId,onRecordClose:function(){n.setState({visible:!1})},type:u,visible:s}))):l.default.createElement("div",{className:"customer-card-container-new"},l.default.createElement("div",{className:"empty-area"},l.default.createElement("img",{alt:"",src:As,width:64}),l.default.createElement("p",{style:{"margin-top":"8px"}},"暂无数据")))},n.state={loading:!0,customerCardInfoList:[],cardInfoShowIndex:0,cardInfo:{},isMember:!0,onClose:n.props.onClose,visible:!1,type:"",securityFlag:!0},n.memberCardList=[],n.shopCardList=[],n.customerCardInfoList=[],n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.getCardInfoList()}},{key:"render",value:function(){var e=this.state,t=e.customerCardInfoList;return e.loading?l.default.createElement(r.Loading,null):this.renderCardInfo(t)}}]),t}(l.default.Component);Ps.contextType=Jl,Ps.propTypes={onClose:et.func};var Bs=l.default.createElement("svg",{id:"icon-good-review",viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M157.371 764.163c-17.753 0.176-31.991 14.678-31.816 32.431 0.088 17.665 14.502 31.903 32.255 31.903h0.176c2.813 0 138.16 0.879 221.918 94.656 6.416 7.119 15.205 10.723 23.993 10.723 7.646 0 15.293-2.724 21.444-8.174 13.271-11.865 14.414-32.168 2.549-45.439-103.884-116.275-263.84-116.452-270.519-116.1z"}),l.default.createElement("path",{d:"M833.407 590.409c69.256-117.682 85.163-270.080 39.462-379.414-4.922-11.777-16.347-19.511-29.091-19.775l-9.844-0.088c-62.928 0-121.462 12.129-174.634 36.21-37.792-70.311-79.627-121.725-127.175-156.617-1.318-1.318-2.813-2.461-4.395-3.516-9.141-5.888-20.653-6.855-30.585-2.549-3.164 1.318-6.065 3.164-8.526 5.362-47.371 34.54-90.437 86.745-128.053 155.562-52.117-22.939-109.332-34.54-170.678-34.54l-9.668 0.088c-12.744 0.263-24.169 7.998-29.091 19.775-45.702 109.244-29.794 261.731 39.462 379.326 59.676 101.335 152.135 164.439 261.028 178.413 2.989 0.967 6.153 1.406 9.404 1.406h18.544v159.605c0 17.753 14.414 32.168 32.167 32.168s32.167-14.414 32.167-32.168v-159.429h19.072c3.252 0 6.416-0.528 9.492-1.318 108.805-14.063 201.352-77.254 260.94-178.501z"}),l.default.createElement("path",{d:"M866.453 764.076c-6.153-0.263-162.857-0.352-270.431 115.748-12.129 13.008-11.25 33.397 1.758 45.439 6.24 5.801 14.063 8.614 21.884 8.614 8.614 0 17.314-3.427 23.554-10.372 87.361-94.216 219.984-95.095 222.709-95.095h0.263c17.665 0 31.991-14.239 32.167-31.816 0.175-17.841-14.063-32.343-31.903-32.519z"})),Rs=l.default.createElement("svg",{id:"icon-medium-review",viewBox:"0 0 1025 1024"},l.default.createElement("path",{d:"M69.811 771.717c-15.82 17.403-3.252 47.373 0 60.469 121.641-27.070 211.377 42.803 242.93 98.701 15.82-0.175 55.81-4.922 70.049-9.844-2.109-50.273-119.443-168.047-312.979-149.326M537.565 927.459c30.146 10.372 47.109 6.065 65.918 2.637 52.646-85.518 133.682-103.711 248.291-107.754 5.625-18.721 17.578-32.168 11.162-50.801-71.279-2.109-252.95-3.955-325.372 155.918M749.997 286.56c0 0 2.549-165.762-58.887-191.602-61.348-25.84-197.227 86.221-197.227 86.221s-157.588-152.842-176.133-112.325c-45.615 100.195-82.793 177.803-108.984 259.102-28.213 160.489 28.565 281.338 153.896 354.727-2.373 5.273-4.219 12.041-5.537 20.567-3.076 69.609 56.953 216.299 81.036 255.849 31.026 0 79.628 2.901 79.628 2.901s-77.695-141.943-82.354-245.127c144.404 52.207 284.063 2.813 395.771-132.891 50.713-61.7 87.539-144.58 130.166-238.096 15.293-33.75-211.377-59.326-211.377-59.326z"})),zs=l.default.createElement("svg",{id:"icon-poor-review",viewBox:"0 0 1024 1024"},l.default.createElement("path",{d:"M98.481 783.233c-11.162 0.088-20.127 9.229-20.039 20.391s9.141 20.215 20.303 20.215v0c0.352 0 26.279 0.088 62.753 12.393 48.778 16.348 92.548 45.351 129.901 86.308 4.043 4.395 9.492 6.592 14.942 6.592 4.834 0 9.756-1.758 13.623-5.273 8.262-7.559 8.877-20.391 1.318-28.653-101.863-111.707-217.878-111.971-222.799-111.971v0zM98.481 783.233z"}),l.default.createElement("path",{d:"M893.264 784.815c-8.349-0.528-147.039-8.086-257.253 110.213-7.646 8.174-7.207 21.006 0.967 28.653 3.867 3.604 8.877 5.45 13.799 5.45 5.45 0 10.81-2.197 14.854-6.416 41.308-44.296 91.669-74.091 149.764-88.681 43.153-10.81 73.827-8.789 75.058-8.614 0.528 0 0.967 0.088 1.494 0.088 11.162 0 20.303-9.053 20.303-20.303 0-10.987-8.349-19.776-18.984-20.391v0zM893.264 784.815z"}),l.default.createElement("path",{d:"M944.064 537.671c-28.037-68.378-90.527-131.043-139.92-176.921 47.9-30.762 82.88-72.246 104.061-123.573 3.428-8.174 1.055-17.666-5.801-23.291-59.589-49.746-144.227-92.46-238.267-120.321-98.172-29.092-196.784-38.496-277.643-26.455-87.187 12.92-153.894 50.624-192.917 108.894-0.703 0.791-1.318 1.67-1.934 2.637-5.010 7.998-19.864 40.429-21.533 44.033-3.164 6.943-7.646 16.963-11.162 25.224-1.582 3.867-2.813 6.856-3.604 9.141-0.791 2.109-1.231 4.131-1.583 5.977-7.031 27.070-8.614 55.194-4.922 83.759-0.263 1.318-0.352 2.637-0.352 4.043 0 3.428 1.318 85.957 41.22 202.322 23.379 68.027 55.194 133.68 94.569 195.114 49.218 76.728 110.565 146.951 182.195 208.825 3.867 3.34 8.526 4.922 13.271 4.922 5.713 0 11.338-2.373 15.381-7.031 7.295-8.438 6.416-21.27-2.109-28.565-68.29-59.062-126.824-126.034-173.845-199.070-37.616-58.447-68.027-120.936-90.439-185.71-5.537-16.172-10.372-31.816-14.59-46.845 104.588 139.568 304.010 241.344 444.457 260.856 0.967 0.088 1.846 0.176 2.813 0.176 6.856 0 13.359-3.516 17.138-9.404 36.473-57.216 49.218-117.596 36.738-161.276 126.912 6.504 212.253-19.161 216.12-20.391 5.45-1.67 9.932-5.537 12.393-10.723 2.286-5.185 2.461-11.075 0.263-16.348v0zM944.064 537.671z"})),js=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).ajaxData=function(){var e=g(p().mark((function e(t){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=f({pageNum:t.pageNum,pageSize:t.pageSize},n.query),e.abrupt("return",xs.getCustomerRateList(n.context.domain,n.context.serverName,a).then((function(e){return e})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),n.reformTime=function(e){return e?bt.moment(e).format("yyyy-MM-dd HH:mm:ss"):"-"},n.searchData=function(e){var t=n.state.selectedShopTemp;"rest"===e&&n.setState({selectedShop:JSON.parse(JSON.stringify(t))});var a=n.state,i=a.selectedShop,o=a.allPlatShop;n.setState({isSearchEmpty:!0});var l=[];("rest"===e?t:i).forEach((function(e){if(2===e.length)l.push(e[1].includes("WX|")?e[1].replace("WX|","WEIXIN|"):e[1]);else{var t=o.find((function(t){return t.value===e[0]}));t.children.forEach((function(e){l.push(e.value.includes("WX|")?e.value.replace("WX|","WEIXIN|"):e.value)}))}})),"rest"===e||l.length?"rest"!==e&&l.length>100?r.Message.error("最多选择100个店铺"):(n.query.shopId=l.join(","),n.evaluationTable.current.refreshTable(!0)):r.Message.error("至少保留1个店铺数据")},n.onChange=function(e){n.setState({selectedShop:e})},n.handleCopy=function(e){bt.copyText(e),r.Message.success("已复制到剪切板",{contextContainer:document.getElementsByClassName("newCloud-drawer1-container")[0]})},n.state={platList:[],platListMap:{},allPlatShop:[],selectedShop:[],selectedShopTemp:[],loading:!0,isSearchEmpty:!1},n}var n,a,i,o;return C(t,e),w(t,[{key:"componentDidMount",value:(o=g(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.query={oneYearLater:!1,uniId:this.context.uniId},this.evaluationTable=l.default.createRef(),this.productNameRef=l.default.createRef(),this.tableRef=l.default.createRef(),e.next=6,this.getAllPlat();case 6:if(0>=this.context.selectUniShops.length){e.next=13;break}this.query.shopId=this.context.selectUniShops.join(","),t=[],this.context.selectUniShops.forEach((function(e){var n=e.split("|");t.push([n[0],e])})),this.setState({selectedShop:t,selectedShopTemp:JSON.parse(JSON.stringify(t))}),e.next=15;break;case 13:return e.next=15,this.getFirstShop();case 15:this.getAllShop();case 16:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"getAllPlat",value:(i=g(p().mark((function e(){var t,n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getPlatformInfo(this.context.domain,this.context.serverName,this.context.uniId);case 2:t={},n=e.sent.map((function(e){return t[e.platCode]=e.platName,"MGJ"===e.platCode?"mogujie":e.platCode.toLocaleLowerCase()})),this.setState({platList:n,platListMap:t});case 6:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"getFirstShop",value:(a=g(p().mark((function e(){var t,n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getFirstShopList(this.context.domain,{tenantId:this.context.tenantId,platCodes:this.state.platList.join(","),permissionType:!0,youzanFlag:"mainShop",pageNum:1,pageSize:1,productCodes:"sjyj"});case 2:0!==(t=e.sent).length?(this.query.shopId=n=t[0].uniShopId,a=[[n.split("|")[0],n]],this.setState({selectedShop:a,selectedShopTemp:JSON.parse(JSON.stringify(a))})):this.setState({selectedShop:[]});case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"getAllShop",value:(n=g(p().mark((function e(){var t,n,a,r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this.state).platList,a=t.platListMap,e.next=3,xs.getAllShop(this.context.domain,{appIds:"0,31,9001",tenantId:this.context.tenantId,platCodes:n.join(","),permissionType:!0,youzanFlag:"mainShop",productCodes:"sjyj"});case 3:r=e.sent.reduce((function(e,t,n,r){var i="WX"===t.platCode?"WEIXIN":t.platCode,o=t.uniShopId.includes("WX|")?t.uniShopId.replace("WX|","WEIXIN|"):t.uniShopId,l=e.find((function(e){return e.value===i}));return l?l.children.push({value:o,label:t.name}):e.push({value:i,label:a[i],children:[{value:o,label:t.name}]}),e}),[]),this.setState({allPlatShop:r,loading:!1});case 6:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"filter",value:function(e,t){return t.some((function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}))}},{key:"render",value:function(){var e=this,t=[{dataIndex:"estimateResult",title:"评价类型",width:81,align:"left",render:function(e){return l.default.createElement("div",null,l.default.createElement("div",{className:"rate-time"},"good"===e&&Bs,"neutral"===e&&Rs,"bad"===e&&zs,l.default.createElement("p",null,"good"===e&&"好评","neutral"===e&&"中评","bad"===e&&"差评")))}},{dataIndex:"estimateContent",title:"评价详情",align:"left",render:function(t,n){return l.default.createElement("div",null,l.default.createElement(gs,{tip:{type:1,text:t}}),l.default.createElement("p",{className:"cTable-tip-text"},"评价时间:",e.reformTime(n.estimateTime)))}},{dataIndex:"platCode",title:"平台及店铺",width:140,align:"left",render:function(e,t){var n;return l.default.createElement("div",null,l.default.createElement("p",null,(null===(n=function(e){var t,n={},a=O(kl);try{for(a.s();!(t=a.n()).done;){var r=t.value;n[r.plat]=r}}catch(e){a.e(e)}finally{a.f()}return n[e]}(e))||void 0===n?void 0:n.platName)||"未知"),l.default.createElement("p",null,t.shopName))}},{dataIndex:"productName",title:"商品信息",align:"left",render:function(t,n){return l.default.createElement("div",null,l.default.createElement(gs,{tip:{type:2,text:n.productName,detailUrl:n.detailUrl}}),l.default.createElement("p",{className:"cTable-tip-text"},"sku:",n.skuDetail||"-"),l.default.createElement("p",{className:"cTable-tip-text"},"订单号:",l.default.createElement(r.Tooltip,{content:"双击可复制订单号"},l.default.createElement("span",{onDoubleClick:function(){e.handleCopy(n.orderId)}},n.orderId))))}},{dataIndex:"created",title:"下单时间",width:120,align:"left"}];return this.state.loading?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"customer-evaluation-new",ref:this.tableRef},l.default.createElement("div",{className:"shop-filter"},l.default.createElement("label",{className:"title-label-require"},"店铺:"),l.default.createElement(r.CCascader,{style:{width:"270px"},options:this.state.allPlatShop,defaultValue:this.state.selectedShop,value:this.state.selectedShop,onChange:function(t){return e.onChange(t)},blur:function(){return e.searchData()},placeholder:"请选择店铺",maxTagCount:"responsive",showCheckedStrategy:"SHOW_CHILD",notFoundContent:Ns,multiple:!0,allowClear:!0,showSearch:{filter:this.filter}}),l.default.createElement(r.Button,{type:"primary",onClick:function(){return e.searchData()},style:{marginLeft:16}},"搜索"),l.default.createElement(r.Button,{onClick:function(){return e.searchData("rest")},style:{marginLeft:8}},"重置")),l.default.createElement(r.CTable,{ref:this.evaluationTable,style:{width:"100%",height:"calc(100% - 51px)"},supportPage:!0,hideEmptyFooter:!0,showRefresh:!1,rowKey:"orderId",columnData:t,ajaxData:this.ajaxData,dataKey:"list",emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:e.state.isSearchEmpty?Is:As,width:64}),l.default.createElement("p",{style:{marginTop:8}},e.state.isSearchEmpty?"搜索为空":"暂无数据"))},pageOpts:{pageSize:10,pageSizeOptions:[5,10,20,30,50],showQuickJumper:!0},onLoadGridAfter:function(t){t.list.forEach((function(t){var n,a;t.tipWidth=null===(n=e.tableRef)||void 0===n||null===(a=n.current)||void 0===a?void 0:a.querySelectorAll(".newCloud-table-thead th")[1].offsetWidth}))}}))}}]),t}(l.default.Component);js.contextType=Jl,function(e){var t,n,a,r,i,o='<svg><symbol id="icon-JOS02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M575.488 258.304c95.744 0 169.984 20.672 220.288 64.256 50.24 41.344 76.608 107.904 76.608 190.592-2.368 82.624-28.736 149.248-76.608 190.592C745.472 744.96 671.232 768 575.488 768H462.912V258.304h112.576zM403.072 256v330.624c0 59.712-19.2 105.6-55.04 135.488-35.968 29.824-93.44 43.584-167.68 43.584h-11.968v-73.472h9.6c26.304 0 47.872-2.304 64.64-6.848 16.768-4.608 33.536-11.52 45.44-20.672 9.6-6.912 16.832-18.368 21.568-29.888 4.8-13.76 7.232-36.736 7.232-71.168V256h86.208zM584.96 334.08h-38.272v360.448h38.272c67.072 0 117.376-16.064 153.28-43.648 33.536-29.824 50.24-75.712 50.24-135.424s-16.704-107.904-50.24-135.488c-35.904-32.128-86.208-45.888-153.28-45.888z" fill="#E41F1E" ></path></symbol><symbol id="icon-JOS01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E41F1E" ></path><path d="M568.064 258.304c97.536 0 173.12 20.672 224.32 64.256 51.2 41.344 78.016 107.904 78.016 190.592-2.432 82.624-29.248 149.248-78.016 190.592C741.184 744.96 665.6 768 568.064 768h-114.56V258.304h114.56zM392.512 256v330.624c0 59.712-19.456 105.6-56.064 135.488-36.544 29.824-95.104 43.584-170.688 43.584H153.6v-73.472h9.728c26.88 0 48.768-2.304 65.856-6.848 17.088-4.608 34.112-11.52 46.336-20.672 9.728-6.912 17.024-18.368 21.952-29.888 4.864-13.76 7.296-36.736 7.296-71.168V256h87.744zM577.92 334.08h-39.04v360.448h39.04c68.224 0 119.424-16.064 156.032-43.648 34.112-29.824 51.2-75.712 51.2-135.424s-17.088-107.904-51.2-135.488c-36.608-32.128-87.808-45.888-156.032-45.888z" fill="#FFFFFF" ></path></symbol><symbol id="icon-JOS03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM575.488 258.304H462.912V768h112.576c95.744 0 169.984-22.976 220.288-64.256 47.872-41.344 74.24-107.968 76.608-190.592 0-82.688-26.368-149.248-76.608-190.592-50.304-43.584-124.544-64.256-220.288-64.256zM403.072 256H316.8v307.648c0 34.432-2.432 57.408-7.232 71.168-4.736 11.52-11.968 22.976-21.504 29.888-11.968 9.152-28.8 16-45.504 20.672-16.768 4.544-38.336 6.848-64.64 6.848h-9.6v73.472h11.968c74.24 0 131.712-13.76 167.68-43.584 35.84-29.888 55.04-75.776 55.04-135.488V256zM584.96 334.08c67.072 0 117.376 13.76 153.28 45.888 33.536 27.52 50.24 75.776 50.24 135.488s-16.704 105.6-50.24 135.424c-35.904 27.52-86.208 43.648-153.28 43.648h-38.272V334.08z" fill="#D9D9D9" ></path></symbol><symbol id="icon-KUAISHOU01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#F64806" ></path><path d="M465.6 547.008c3.2-0.192 230.656-18.752 245.76-16.384 15.104 2.432 75.648 0.64 78.72 24.192 2.944 23.36 0 46.016 0 46.016s-134.4 23.616-137.472 26.688c-3.008 3.008-13.888 13.888-13.248 30.208 0.64 16.384 0.64 80 1.152 81.792 0.64 1.792 3.648 13.888 26.688 11.52 18.112-1.92 36.16-8.384 43.136-11.008a4.096 4.096 0 0 0 2.624-4.224l-1.28-16.384a4.288 4.288 0 0 0-4.992-3.84l-34.688 6.912v-65.408l112.32-20.288a3.968 3.968 0 0 1 4.672 3.84l3.712 110.72s6.4 27.52-40.832 37.184c-47.168 9.728-160.32 38.144-171.264 38.72-10.88 0.64-29.056 0.64-47.808-4.224a374.272 374.272 0 0 1-37.952-12.928 4.672 4.672 0 0 1-2.048-7.104l41.344-56.128a11.712 11.712 0 0 0 2.304-7.04v-61.952c0-3.2-1.28-6.208-3.456-8.512L444.608 576.384A11.264 11.264 0 0 1 441.6 567.04c1.024-7.36 5.76-19.008 23.936-20.032z" fill="#FFFFFF" ></path><path d="M405.76 584.96a10.112 10.112 0 0 0-5.76-2.88L241.152 558.72a10.624 10.624 0 0 0-6.592 0.768c-6.912 3.2-22.016 12.736-26.88 36.288v186.624s2.176 37.248 53.504 54.464c51.328 17.28 113.92 32.704 113.92 32.704s34.944 6.784 49.088-21.76c14.08-28.672 81.28-110.336 81.28-110.336v-49.472L405.76 584.96z m-41.472 222.528c-16.384-0.448-82.944-9.6-103.936-28.672-19.072-17.216-9.536-152.96-9.536-152.96s0.384-15.808 9.536-14.08l105.792 19.008s13.12 7.68 13.12 18.624v146.624c0 0.128 1.408 11.904-14.976 11.456z m452.096-434.112c0-72.448-55.936-131.2-124.992-131.2-39.296 0-74.432 19.072-97.344 48.96C575.68 212.096 510.08 153.6 432 153.6c-92.288 0-167.04 81.6-167.04 182.272s74.752 182.272 167.04 182.272c4.8 0 9.6-0.256 14.4-0.768l249.728-12.864 3.264-0.128 3.52-0.256h-0.064c63.616-6.144 113.536-62.336 113.536-130.752zM463.936 438.272c-46.72 0-84.608-43.52-84.608-97.28s37.888-97.28 84.608-97.28c46.72 0 84.48 43.52 84.48 97.28s-37.76 97.28-84.48 97.28z m247.296-4.48c-30.784 0-55.808-28.672-55.808-64.192 0-35.456 24.96-64.192 55.808-64.192 30.784 0 55.808 28.736 55.808 64.192 0 35.52-24.96 64.192-55.808 64.192z" fill="#FFFFFF" ></path></symbol><symbol id="icon-KUAISHOU02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M465.6 547.008c3.2-0.192 230.656-18.752 245.76-16.384 15.104 2.432 75.648 0.64 78.72 24.192 2.944 23.36 0 46.016 0 46.016s-134.4 23.616-137.472 26.688c-3.008 3.008-13.888 13.888-13.248 30.208 0.64 16.384 0.64 80 1.152 81.792 0.64 1.792 3.648 13.888 26.688 11.52 18.112-1.92 36.16-8.384 43.136-11.008a4.096 4.096 0 0 0 2.624-4.224l-1.28-16.384a4.288 4.288 0 0 0-4.992-3.84l-34.688 6.912v-65.408l112.32-20.288a3.968 3.968 0 0 1 4.672 3.84l3.712 110.72s6.4 27.52-40.832 37.184c-47.168 9.728-160.32 38.144-171.264 38.72-10.88 0.64-29.056 0.64-47.808-4.224a374.272 374.272 0 0 1-37.952-12.928 4.672 4.672 0 0 1-2.048-7.104l41.344-56.128a11.712 11.712 0 0 0 2.304-7.04v-61.952c0-3.2-1.28-6.208-3.456-8.512L444.608 576.384A11.264 11.264 0 0 1 441.6 567.04c1.024-7.36 5.76-19.008 23.936-20.032z" fill="#F64806" ></path><path d="M405.76 584.96a10.112 10.112 0 0 0-5.76-2.88L241.152 558.72a10.624 10.624 0 0 0-6.592 0.768c-6.912 3.2-22.016 12.736-26.88 36.288v186.624s2.176 37.248 53.504 54.464c51.328 17.28 113.92 32.704 113.92 32.704s34.944 6.784 49.088-21.76c14.08-28.672 81.28-110.336 81.28-110.336v-49.472L405.76 584.96z m-41.472 222.528c-16.384-0.448-82.944-9.6-103.936-28.672-19.072-17.216-9.536-152.96-9.536-152.96s0.384-15.808 9.536-14.08l105.792 19.008s13.12 7.68 13.12 18.624v146.624c0 0.128 1.408 11.904-14.976 11.456z m452.096-434.112c0-72.448-55.936-131.2-124.992-131.2-39.296 0-74.432 19.072-97.344 48.96C575.68 212.096 510.08 153.6 432 153.6c-92.288 0-167.04 81.6-167.04 182.272s74.752 182.272 167.04 182.272c4.8 0 9.6-0.256 14.4-0.768l249.728-12.864 3.264-0.128 3.52-0.256h-0.064c63.616-6.144 113.536-62.336 113.536-130.752zM463.936 438.272c-46.72 0-84.608-43.52-84.608-97.28s37.888-97.28 84.608-97.28c46.72 0 84.48 43.52 84.48 97.28s-37.76 97.28-84.48 97.28z m247.296-4.48c-30.784 0-55.808-28.672-55.808-64.192 0-35.456 24.96-64.192 55.808-64.192 30.784 0 55.808 28.736 55.808 64.192 0 35.52-24.96 64.192-55.808 64.192z" fill="#F64806" ></path></symbol><symbol id="icon-KUAISHOU03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M465.6 547.008c3.2-0.192 230.656-18.752 245.76-16.384 15.104 2.432 75.648 0.64 78.72 24.192 2.944 23.36 0 46.016 0 46.016s-134.4 23.616-137.472 26.688c-3.008 3.008-13.888 13.888-13.248 30.208 0.64 16.384 0.64 80 1.152 81.792 0.64 1.792 3.648 13.888 26.688 11.52 18.112-1.92 36.16-8.384 43.136-11.008a4.096 4.096 0 0 0 2.624-4.224l-1.28-16.384a4.288 4.288 0 0 0-4.992-3.84l-34.688 6.912v-65.408l112.32-20.288a3.968 3.968 0 0 1 4.672 3.84l3.712 110.72s6.4 27.52-40.832 37.184c-47.168 9.728-160.32 38.144-171.264 38.72-10.88 0.64-29.056 0.64-47.808-4.224a374.272 374.272 0 0 1-37.952-12.928 4.672 4.672 0 0 1-2.048-7.104l41.344-56.128a11.712 11.712 0 0 0 2.304-7.04v-61.952c0-3.2-1.28-6.208-3.456-8.512L444.608 576.384A11.264 11.264 0 0 1 441.6 567.04c1.024-7.36 5.76-19.008 23.936-20.032z" fill="#FFFFFF" ></path><path d="M405.76 584.96a10.112 10.112 0 0 0-5.76-2.88L241.152 558.72a10.624 10.624 0 0 0-6.592 0.768c-6.912 3.2-22.016 12.736-26.88 36.288v186.624s2.176 37.248 53.504 54.464c51.328 17.28 113.92 32.704 113.92 32.704s34.944 6.784 49.088-21.76c14.08-28.672 81.28-110.336 81.28-110.336v-49.472L405.76 584.96z m-41.472 222.528c-16.384-0.448-82.944-9.6-103.936-28.672-19.072-17.216-9.536-152.96-9.536-152.96s0.384-15.808 9.536-14.08l105.792 19.008s13.12 7.68 13.12 18.624v146.624c0 0.128 1.408 11.904-14.976 11.456z m452.096-434.112c0-72.448-55.936-131.2-124.992-131.2-39.296 0-74.432 19.072-97.344 48.96C575.68 212.096 510.08 153.6 432 153.6c-92.288 0-167.04 81.6-167.04 182.272s74.752 182.272 167.04 182.272c4.8 0 9.6-0.256 14.4-0.768l249.728-12.864 3.264-0.128 3.52-0.256h-0.064c63.616-6.144 113.536-62.336 113.536-130.752zM463.936 438.272c-46.72 0-84.608-43.52-84.608-97.28s37.888-97.28 84.608-97.28c46.72 0 84.48 43.52 84.48 97.28s-37.76 97.28-84.48 97.28z m247.296-4.48c-30.784 0-55.808-28.672-55.808-64.192 0-35.456 24.96-64.192 55.808-64.192 30.784 0 55.808 28.736 55.808 64.192 0 35.52-24.96 64.192-55.808 64.192z" fill="#FFFFFF" ></path></symbol><symbol id="icon-MGJ03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M389.504 718.272a119.488 119.488 0 1 0 238.976 0 119.488 119.488 0 0 0-238.976 0z" fill="#FFFFFF" ></path><path d="M821.12 410.56c-38.592-89.6-138.88-210.24-309.44-210.24-96.192 0-222.208 42.432-293.888 169.088-71.68 126.592-32.256 235.328 40.64 264 72.832 28.672 133.184-17.92 158.848-39.424 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.992 90.816 29.568c23.744 16.64 44.8 52.48 131.712 43.008 89.408-9.728 125.376-135.36 86.848-224.96zM374.208 365.44c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path></symbol><symbol id="icon-MGJ02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M389.504 718.272a119.488 119.488 0 1 0 238.976 0 119.488 119.488 0 0 0-238.976 0z" fill="#FF2462" ></path><path d="M821.12 410.56c-38.592-89.6-138.88-210.24-309.44-210.24-96.192 0-222.208 42.432-293.888 169.088-71.68 126.592-32.256 235.328 40.64 264 72.832 28.672 133.184-17.92 158.848-39.424 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.992 90.816 29.568c23.744 16.64 44.8 52.48 131.712 43.008 89.408-9.728 125.376-135.36 86.848-224.96zM374.208 365.44c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FF2462" ></path><path d="M622.848 682.048a119.552 119.552 0 1 0-200.32 118.656 409.152 409.152 0 0 0 200.32-118.656z" fill="#FF2462" ></path></symbol><symbol id="icon-MGJ01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF2462" ></path><path d="M389.504 718.272a119.488 119.488 0 1 0 238.976 0 119.488 119.488 0 0 0-238.976 0z" fill="#FFFFFF" ></path><path d="M821.12 410.56c-38.592-89.6-138.88-210.24-309.44-210.24-96.192 0-222.208 42.432-293.888 169.088-71.68 126.592-32.256 235.328 40.64 264 72.832 28.672 133.184-17.92 158.848-39.424 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.992 90.816 29.568c23.744 16.64 44.8 52.48 131.712 43.008 89.408-9.728 125.376-135.36 86.848-224.96zM374.208 365.44c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path><path d="M217.792 369.28c-71.68 126.72-32.256 235.392 40.64 264.064 72.832 28.672 133.184-17.92 158.848-39.36 25.728-21.504 51.392-31.04 94.4-31.04s67.072 12.928 90.816 29.568c15.232 10.624 29.44 29.248 60.8 38.656a407.104 407.104 0 0 0 68.992-227.392c0-48.32-8.448-94.656-23.808-137.6A318.336 318.336 0 0 0 511.744 200.32c-96.256-0.064-222.272 42.368-293.952 168.96z m156.48-3.904c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path><path d="M622.848 682.048a119.552 119.552 0 1 0-200.32 118.656 409.152 409.152 0 0 0 200.32-118.656zM217.792 369.28c-71.68 126.72-32.256 235.392 40.64 264.064 72.832 28.672 133.184-17.92 158.848-39.36 19.264-16.128 38.528-25.6 65.088-29.248A408 408 0 0 0 618.24 217.728a326.656 326.656 0 0 0-106.624-17.408c-96.192 0-222.208 42.432-293.888 168.96z m156.48-3.904c-0.896 0.64-50.24 36.992-65.216 101.312a28.992 28.992 0 0 1-56.448-13.184A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path><path d="M374.272 365.376c-0.896 0.64-50.24 36.992-65.216 101.312a23.808 23.808 0 0 1-1.344 4.16A409.728 409.728 0 0 0 508.096 200.32c-95.68 1.024-219.52 43.904-290.304 168.96-30.464 53.888-40.832 104.384-37.12 147.008a405.568 405.568 0 0 0 92.544-28.224 28.992 28.992 0 0 1-20.608-34.56A245.056 245.056 0 0 1 340.736 318.08a29.056 29.056 0 0 1 33.536 47.296z" fill="#FFFFFF" ></path></symbol><symbol id="icon-SUNING01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E31419" ></path><path d="M851.2 465.6l-66.688-66.624V304.96c0-36.224-29.248-65.472-65.472-65.472H625.024L558.464 172.8c-25.664-25.664-67.2-25.664-92.864 0L398.976 239.36H304.96c-36.224 0-65.472 29.312-65.472 65.536v94.016L172.8 465.536c-25.664 25.664-25.664 67.2 0 92.864l66.56 66.624v94.016c0 36.224 29.312 65.472 65.536 65.472h94.016l66.56 66.624c25.664 25.664 67.2 25.664 92.864 0l66.624-66.56h94.016c36.224 0 65.472-29.312 65.472-65.536V625.024l66.624-66.56c25.664-25.664 25.664-67.2 0-92.864z m-228.352-24.32c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.344 25.408 25.472 25.472 0 0 1-25.408-25.408 25.6 25.6 0 0 1 25.408-25.344z m-227.2 0c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.408 25.408 25.472 25.472 0 0 1-25.344-25.408 25.6 25.6 0 0 1 25.344-25.344z m223.808 293.12H401.728c-45.696 0-84.736-35.712-85.568-81.472a83.584 83.584 0 0 1 54.912-80.32c4.16-1.664 12.288-2.752 19.52-3.584a17.728 17.728 0 0 0 15.616-14.528 105.792 105.792 0 1 1 208.512-0.256 17.728 17.728 0 0 0 15.936 14.528c5.248 0.512 10.88 1.088 13.632 1.92 35.712 10.048 61.632 43.52 60.48 82.816-1.088 45.44-39.872 80.832-85.312 80.832z" fill="#F7B62C" ></path><path d="M597.44 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0zM370.24 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0z" fill="#030304" ></path><path d="M644.544 570.688a72.32 72.32 0 0 0-13.632-1.92 17.792 17.792 0 0 1-15.872-14.528 105.792 105.792 0 1 0-208.512 0.256 17.728 17.728 0 0 1-15.68 14.528c-7.232 0.832-15.36 1.92-19.52 3.584-32.64 11.712-55.744 43.52-54.912 80.32 1.088 45.76 39.872 81.408 85.568 81.408h217.792c45.44 0 84.16-35.392 85.312-80.832a83.648 83.648 0 0 0-60.544-82.816z m-61.568 22.848l-43.264 34.048a53.184 53.184 0 0 1-66.048 0l-43.2-34.048a14.528 14.528 0 0 1 8.96-25.92h134.336c13.952 0 20.096 17.6 9.216 25.92z" fill="#FFFFFF" ></path><path d="M430.464 593.536l43.2 34.048c19.52 15.36 46.848 15.36 66.048 0l43.264-34.048a14.528 14.528 0 0 0-8.96-25.92h-134.4c-13.888 0-20.032 17.6-9.152 25.92z" fill="#030304" ></path></symbol><symbol id="icon-SUNING02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M851.2 465.6l-66.688-66.624V304.96c0-36.224-29.248-65.472-65.472-65.472H625.024L558.464 172.8c-25.664-25.664-67.2-25.664-92.864 0L398.976 239.36H304.96c-36.224 0-65.472 29.312-65.472 65.536v94.016L172.8 465.536c-25.664 25.664-25.664 67.2 0 92.864l66.56 66.624v94.016c0 36.224 29.312 65.472 65.536 65.472h94.016l66.56 66.624c25.664 25.664 67.2 25.664 92.864 0l66.624-66.56h94.016c36.224 0 65.472-29.312 65.472-65.536V625.024l66.624-66.56c25.664-25.664 25.664-67.2 0-92.864z m-228.352-24.32c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.344 25.408 25.472 25.472 0 0 1-25.408-25.408 25.6 25.6 0 0 1 25.408-25.344z m-227.2 0c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.408 25.408 25.472 25.472 0 0 1-25.344-25.408 25.6 25.6 0 0 1 25.344-25.344z m223.808 293.12H401.728c-45.696 0-84.736-35.712-85.568-81.472a83.584 83.584 0 0 1 54.912-80.32c4.16-1.664 12.288-2.752 19.52-3.584a17.728 17.728 0 0 0 15.616-14.528 105.792 105.792 0 1 1 208.512-0.256 17.728 17.728 0 0 0 15.936 14.528c5.248 0.512 10.88 1.088 13.632 1.92 35.712 10.048 61.632 43.52 60.48 82.816-1.088 45.44-39.872 80.832-85.312 80.832z" fill="#FFA602" ></path><path d="M597.44 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0zM370.24 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0z" fill="#030304" ></path><path d="M644.544 570.688a72.32 72.32 0 0 0-13.632-1.92 17.792 17.792 0 0 1-15.872-14.528 105.792 105.792 0 1 0-208.512 0.256 17.728 17.728 0 0 1-15.68 14.528c-7.232 0.832-15.36 1.92-19.52 3.584-32.64 11.712-55.744 43.52-54.912 80.32 1.088 45.76 39.872 81.408 85.568 81.408h217.792c45.44 0 84.16-35.392 85.312-80.832a83.648 83.648 0 0 0-60.544-82.816z m-61.568 22.848l-43.264 34.048a53.184 53.184 0 0 1-66.048 0l-43.2-34.048a14.528 14.528 0 0 1 8.96-25.92h134.336c13.952 0 20.096 17.6 9.216 25.92z" fill="#FFFFFF" ></path><path d="M430.464 593.536l43.2 34.048c19.52 15.36 46.848 15.36 66.048 0l43.264-34.048a14.528 14.528 0 0 0-8.96-25.92h-134.4c-13.888 0-20.032 17.6-9.152 25.92z" fill="#030304" ></path></symbol><symbol id="icon-SUNING03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M851.2 465.6l-66.688-66.624V304.96c0-36.224-29.248-65.472-65.472-65.472H625.024L558.464 172.8c-25.664-25.664-67.2-25.664-92.864 0L398.976 239.36H304.96c-36.224 0-65.472 29.312-65.472 65.536v94.016L172.8 465.536c-25.664 25.664-25.664 67.2 0 92.864l66.56 66.624v94.016c0 36.224 29.312 65.472 65.536 65.472h94.016l66.56 66.624c25.664 25.664 67.2 25.664 92.864 0l66.624-66.56h94.016c36.224 0 65.472-29.312 65.472-65.536V625.024l66.624-66.56c25.664-25.664 25.664-67.2 0-92.864z m-228.352-24.32c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.344 25.408 25.472 25.472 0 0 1-25.408-25.408 25.6 25.6 0 0 1 25.408-25.344z m-227.2 0c13.888 0 25.344 11.52 25.344 25.408a25.472 25.472 0 0 1-25.408 25.408 25.472 25.472 0 0 1-25.344-25.408 25.6 25.6 0 0 1 25.344-25.344z m223.808 293.12H401.728c-45.696 0-84.736-35.712-85.568-81.472a83.584 83.584 0 0 1 54.912-80.32c4.16-1.664 12.288-2.752 19.52-3.584a17.728 17.728 0 0 0 15.616-14.528 105.792 105.792 0 1 1 208.512-0.256 17.728 17.728 0 0 0 15.936 14.528c5.248 0.512 10.88 1.088 13.632 1.92 35.712 10.048 61.632 43.52 60.48 82.816-1.088 45.44-39.872 80.832-85.312 80.832z" fill="#FFFFFF" ></path><path d="M597.44 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0zM370.24 466.688a25.344 25.344 0 1 0 50.752 0 25.344 25.344 0 0 0-50.752 0z" fill="#030304" ></path><path d="M644.544 570.688a72.32 72.32 0 0 0-13.632-1.92 17.792 17.792 0 0 1-15.872-14.528 105.792 105.792 0 1 0-208.512 0.256 17.728 17.728 0 0 1-15.68 14.528c-7.232 0.832-15.36 1.92-19.52 3.584-32.64 11.712-55.744 43.52-54.912 80.32 1.088 45.76 39.872 81.408 85.568 81.408h217.792c45.44 0 84.16-35.392 85.312-80.832a83.648 83.648 0 0 0-60.544-82.816z m-61.568 22.848l-43.264 34.048a53.184 53.184 0 0 1-66.048 0l-43.2-34.048a14.528 14.528 0 0 1 8.96-25.92h134.336c13.952 0 20.096 17.6 9.216 25.92z" fill="#D9D9D9" ></path><path d="M430.464 593.536l43.2 34.048c19.52 15.36 46.848 15.36 66.048 0l43.264-34.048a14.528 14.528 0 0 0-8.96-25.92h-134.4c-13.888 0-20.032 17.6-9.152 25.92z" fill="#030304" ></path></symbol><symbol id="icon-TAOBAO01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF5F17" ></path><path d="M224.448 384.896l-40.704 62.912 75.072 46.784s49.984 25.728 26.048 74.048c-22.144 45.632-131.264 145.728-131.264 145.728l97.664 61.44c67.776-147.712 63.168-128 80.128-181.12 17.472-53.952 21.312-95.36-8.256-125.568-38.016-38.4-42.24-41.984-98.688-84.224z m633.856-16.512s-21.312-166.208-382.528-63.296c15.488-27.136 22.784-44.608 22.784-44.608l-90.112-25.6s-36.48 119.744-101.44 175.488c0 0 63.04 36.608 62.336 35.456 17.152-17.088 33.152-35.328 48-54.4 14.528-6.528 28.352-12.416 41.856-17.92-16.768 30.272-43.584 75.712-70.528 104.32l37.952 33.536s25.984-25.152 54.208-55.296h32.192V512H387.264v44.544h125.76v106.944l-4.8-0.128c-13.888-0.64-35.392-3.008-43.904-16.512-10.176-16.512-2.624-46.4-2.176-64.96H375.296l-3.2 1.792s-31.872 143.552 91.84 140.416c115.52 3.136 181.888-32.64 213.76-57.28l12.672 47.616 71.36-30.08-48.32-118.976-57.792 18.304 10.688 40.64a171.264 171.264 0 0 1-50.048 25.728v-93.44h122.624v-44.8H616.256v-55.808h123.008v-44.608H520.448c15.872-19.392 28.096-37.12 31.36-48.256l-38.208-10.496c163.712-59.136 254.976-49.024 254.272 47.872v255.168s9.6 87.488-89.984 81.28l-53.952-11.648-12.48 51.584s232.64 67.2 251.648-113.088c18.88-180.288-4.8-295.36-4.8-295.36z" fill="#FFFFFF" ></path><path d="M277.824 361.216c35.52 0 64.32-25.856 64.32-57.792 0-32.192-28.8-58.048-64.32-58.048-35.776 0-64.384 26.048-64.384 58.048 0.192 31.808 28.672 57.792 64.384 57.792z" fill="#FFEC0F" ></path></symbol><symbol id="icon-TAOBAO03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM408.384 211.52s-35.84 124.48-99.648 182.4c0 0 61.888 38.016 61.248 36.864 16.832-17.792 32.576-36.736 47.168-56.64 14.208-6.72 27.84-12.864 41.088-18.56-16.512 31.424-42.88 78.72-69.312 108.416l37.248 34.88s25.6-26.176 53.312-57.472h31.616v58.048h-123.52v46.336h123.52v111.168l-4.736-0.128c-13.696-0.704-34.752-3.2-43.136-17.216-9.984-17.152-2.56-48.192-2.112-67.52H375.808l-3.136 1.92-0.32 1.856-0.896 5.312c-4.416 29.888-13.888 141.504 91.392 138.688 113.472 3.264 178.688-33.92 209.984-59.52l12.416 49.472 70.08-31.296-47.488-123.52-56.768 18.944 10.56 42.24a165.12 165.12 0 0 1-49.216 26.752V545.792h120.448v-46.464H612.416v-58.112h120.832V394.88H518.4c15.552-20.16 27.52-38.592 30.848-50.176l-37.632-10.88c160.832-61.44 250.432-50.944 249.728 49.792v265.152s9.472 91.008-88.32 84.544l-52.992-12.16-12.288 53.632s228.48 69.76 247.168-117.568c18.56-187.392-4.736-306.944-4.736-306.944s-20.928-172.8-375.68-65.792c15.232-28.16 22.4-46.336 22.4-46.336L408.32 211.52zM227.648 367.424l-40 65.408 73.792 48.64s49.088 26.752 25.6 76.928c-21.824 47.488-128.96 151.488-128.96 151.488l95.936 63.808c66.56-153.472 62.016-133.12 78.72-188.288 17.152-56.064 20.864-99.136-8.128-130.432-37.312-39.936-41.536-43.648-96.96-87.552z m52.48-145.024c-35.2 0-63.296 27.072-63.296 60.352 0.192 33.024 28.16 60.096 63.232 60.096 34.88 0 63.168-26.88 63.168-60.096 0-33.472-28.288-60.352-63.168-60.352z" fill="#D9D9D9" ></path></symbol><symbol id="icon-TAOBAO02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M187.648 432.832l73.792 48.64s49.088 26.752 25.6 76.928c-21.824 47.488-128.96 151.488-128.96 151.488l95.936 63.808c66.56-153.472 62.016-133.12 78.72-188.288 17.152-56.064 20.864-99.136-8.128-130.432-37.312-39.936-41.536-43.648-96.96-87.552l-40 65.408z m155.52-150.08c0-33.472-28.16-60.352-63.104-60.352-35.072 0-63.232 27.072-63.232 60.352 0.192 33.024 28.16 60.096 63.232 60.096 34.88 0 63.168-26.88 63.168-60.096z m131.328 1.728c15.232-28.16 22.4-46.336 22.4-46.336L408.32 211.52s-35.84 124.48-99.648 182.4c0 0 61.888 38.016 61.248 36.864 16.832-17.792 32.576-36.736 47.168-56.64 14.208-6.72 27.84-12.864 41.088-18.56-16.512 31.424-42.88 78.72-69.312 108.416l37.248 34.88s25.6-26.176 53.312-57.472h31.616v58.048h-123.52v46.336h123.52v111.168l-4.736-0.128c-13.696-0.704-34.752-3.2-43.136-17.216-9.984-17.152-2.56-48.192-2.112-67.52H375.808l-3.136 1.92s-31.36 149.12 90.176 145.92c113.472 3.2 178.688-33.92 209.984-59.52l12.416 49.408 70.08-31.296-47.488-123.52-56.768 18.944 10.56 42.24a165.12 165.12 0 0 1-49.216 26.752V545.792h120.448v-46.464H612.416v-58.112h120.832V394.88H518.4c15.552-20.16 27.52-38.592 30.848-50.176l-37.632-10.88c160.832-61.44 250.432-50.944 249.728 49.792v265.152s9.472 91.008-88.32 84.544l-52.992-12.16-12.288 53.632s228.48 69.76 247.168-117.568c18.56-187.392-4.736-306.944-4.736-306.944s-20.928-172.8-375.68-65.792z" fill="#FE5D0B" ></path></symbol><symbol id="icon-DOUYIN03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64z m-313.92 159.808H536.768c-8.96 0.256-8.96 1.664-8.96 12.864v456.64c0 6.08 0 12.16-0.64 17.536-4.288 38.592-24 67.008-60.608 82.56-36.608 16.192-72.512 12.8-104.96-11.52-38.656-28.416-51.328-77.12-32.32-119.04 19.008-41.92 65.472-64.96 113.344-56.832 5.632 0.64 11.264 2.048 16.896 3.392V418.24c-19.712-4.096-54.912-4.096-78.848 0.64-122.496 23.68-202.816 129.28-186.624 249.6 15.488 120.448 138.048 221.248 283.072 189.44 106.304-23.68 180.992-114.304 180.992-219.84V400.64c53.504 33.856 110.528 52.096 173.888 51.392V328.32a312 312 0 0 1-27.52-2.688 170.752 170.752 0 0 1-147.072-155.584c-0.704-8.768-3.584-10.176-11.328-10.176z" fill="#D9D9D9" ></path></symbol><symbol id="icon-DOUYIN01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#000000" ></path><path d="M491.264 435.392V547.84c-70.464-24.32-161.92 53.568-100.608 147.648 15.488 15.488 55.04 26.624 118.72 33.472l69.376-47.36V520.064l3.904-321.92h85.12c22.784 67.712 52.864 112.64 90.24 134.784 15.168 8.96 51.904 19.968 70.464 24.192 0.32 1.28 0.384 82.24 0 94.208-44.992 1.984-97.792-11.648-158.528-40.832v235.136c0 124.48-149.184 279.808-359.296 127.808-41.6-50.24-53.248-106.56-34.816-168.832L353.152 475.52l100.992-40.192h37.12z" fill="#F71550" ></path><path d="M733.888 315.392c12.8 7.744 33.92 11.584 63.36 11.584v24.768l-42.24-13.76-21.12-22.592z" fill="#4BFAF4" ></path><path d="M459.712 431.872v86.08C384.768 500.032 277.76 596.48 385.856 691.2c15.424 15.488 46.08 25.344 91.968 29.632l69.376-47.36V512l3.904-321.92h82.752l4.544 8.32c20.864 64.256 73.728 114.432 158.528 150.656 0.32 1.216 0.384 70.784 0 82.816-44.928 1.984-97.792-14.08-158.528-48.128V637.44c0 121.792-163.328 254.272-330.752 133.12a268.8 268.8 0 0 1-63.36-174.08l63.36-124.8 131.84-46.592 20.224 6.72z" fill="#FFFFFF" ></path><path d="M459.712 405.952c-177.664-24.96-345.536 190.272-149.056 367.552C193.28 638.72 257.28 444.224 459.712 431.872v-25.92zM528.704 169.984h106.368l3.328 28.416H561.088v443.904c0 34.048-18.368 85.184-78.208 86.336-41.6 0-72.32-11.072-92.16-33.152 65.536 19.904 109.44 2.176 131.84-53.184 8.32-21.952 10.368-179.392 6.144-472.32z" fill="#4BFAF4" ></path></symbol><symbol id="icon-DOUYIN02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M491.264 435.392V547.84c-70.464-24.32-161.92 53.568-100.608 147.648 15.488 15.488 55.04 26.624 118.72 33.472l69.376-47.36V520.064l3.904-321.92h85.12c22.784 67.712 52.864 112.64 90.24 134.784 15.168 8.96 51.904 19.968 70.464 24.192 0.32 1.28 0.384 82.24 0 94.208-44.992 1.984-97.792-11.648-158.528-40.832v235.136c0 124.48-149.184 279.808-359.296 127.808-41.6-50.24-53.248-106.56-34.816-168.832L353.152 475.52l100.992-40.192h37.12z" fill="#F71550" ></path><path d="M733.888 315.392c12.8 7.744 33.92 11.584 63.36 11.584v24.768l-42.24-13.76-21.12-22.592z" fill="#4BFAF4" ></path><path d="M459.712 431.872v86.08C384.768 500.032 277.76 596.48 385.856 691.2c15.424 15.488 46.08 25.344 91.968 29.632l69.376-47.36V512l3.904-321.92h82.752l4.544 8.32c20.864 64.256 73.728 114.432 158.528 150.656 0.32 1.216 0.384 70.784 0 82.816-44.928 1.984-97.792-14.08-158.528-48.128V637.44c0 121.792-163.328 254.272-330.752 133.12a268.8 268.8 0 0 1-63.36-174.08l63.36-124.8 131.84-46.592 20.224 6.72z" fill="#000000" ></path><path d="M459.712 405.952c-177.664-24.96-345.536 190.272-149.056 367.552C193.28 638.72 257.28 444.224 459.712 431.872v-25.92zM528.704 169.984h106.368l3.328 28.416H561.088v443.904c0 34.048-18.368 85.184-78.208 86.336-41.6 0-72.32-11.072-92.16-33.152 65.536 19.904 109.44 2.176 131.84-53.184 8.32-21.952 10.368-179.392 6.144-472.32z" fill="#4BFAF4" ></path></symbol><symbol id="icon-WEIXIN01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#20BF64" ></path><path d="M726.4 571.776a29.632 29.632 0 0 0 29.248-29.248 29.184 29.184 0 0 0-29.248-29.248 29.184 29.184 0 0 0-29.248 29.248c0 16.32 13.056 29.248 29.248 29.248z m-144.128 0a29.632 29.632 0 0 0 29.248-29.248 29.184 29.184 0 0 0-29.248-29.248 29.12 29.12 0 0 0-29.312 29.248c0 16.32 12.992 29.248 29.312 29.248zM796.16 736a11.328 11.328 0 0 0-5.632 12.096c0 1.536 0 3.136 0.832 4.736 3.2 13.632 9.6 35.2 9.6 36.032 0 2.432 0.768 4.032 0.768 5.632a7.168 7.168 0 0 1-7.168 7.168c-1.664 0-2.432-0.768-4.032-1.536l-47.232-27.264a26.048 26.048 0 0 0-11.2-3.2c-2.368 0-4.736 0-6.4 0.768-22.4 6.4-45.568 9.6-70.4 9.6-119.232 0-215.232-80-215.232-179.328 0-99.264 96-179.392 215.232-179.392s215.232 80.128 215.232 179.392c0 53.632-28.8 102.528-74.368 135.36z m-131.776-347.072a296.64 296.64 0 0 0-9.088-0.128c-136 0-247.808 93.184-247.808 211.904 0 18.112 2.56 35.52 7.424 52.16h-2.88a324.608 324.608 0 0 1-84.224-11.968C325.44 640 323.072 640 320.64 640a27.136 27.136 0 0 0-13.632 4.032l-56.96 32.704c-1.6 0.832-3.2 1.664-4.8 1.664a8.896 8.896 0 0 1-8.768-8.832c0-2.368 0.768-3.968 1.536-6.4 0.832-0.768 8.064-27.2 12.032-43.136 0-1.664 0.832-4.032 0.832-5.632a18.112 18.112 0 0 0-7.232-14.4c-55.36-39.168-89.856-97.472-89.856-162.24 0-119.04 116.352-215.04 259.072-215.04 122.624 0 225.792 70.72 251.584 166.144zM496.64 402.56a33.664 33.664 0 0 0 33.408-33.408 33.152 33.152 0 0 0-33.408-33.408 33.152 33.152 0 0 0-33.472 33.408c0 18.688 14.72 33.408 33.472 33.408z m-171.392 0a33.664 33.664 0 0 0 33.472-33.408 33.216 33.216 0 0 0-33.472-33.408 33.216 33.216 0 0 0-33.472 33.408c0 18.688 14.848 33.408 33.472 33.408z" fill="#FFFFFF" ></path></symbol><symbol id="icon-WEIXIN03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M751.168 546.112a28.8 28.8 0 0 0-28.736-29.12 28.8 28.8 0 0 0-28.736 29.12c0 16.192 12.8 29.12 28.8 29.12a29.312 29.312 0 0 0 28.672-29.12z m-170.304 29.12a29.312 29.312 0 0 0 28.736-29.12 28.8 28.8 0 0 0-28.8-29.12 28.8 28.8 0 0 0-28.672 29.12c0 16.192 12.8 29.12 28.736 29.12z m204.608 175.36c0 1.6 0 3.2 0.832 4.8 3.136 13.504 9.408 35.072 9.408 35.84 0 2.368 0.768 3.968 0.768 5.568 0 1.92-0.768 3.712-2.048 5.12a7.04 7.04 0 0 1-4.992 2.048c-1.6 0-2.368-0.768-3.968-1.536l-46.336-27.136a25.344 25.344 0 0 0-11.008-3.2c-2.368 0-4.736 0-6.272 0.832-22.016 6.4-44.8 9.536-69.12 9.536-117.12 0-211.456-79.68-211.456-178.496 0-98.752 94.272-178.496 211.392-178.496 117.12 0 211.392 79.744 211.392 178.56 0 53.376-28.288 101.952-73.088 134.656a11.264 11.264 0 0 0-5.504 11.904z m-132.8-357.504c-133.568 0-243.392 92.8-243.392 210.944 0 17.92 2.56 35.328 7.296 51.84h-2.88a314.944 314.944 0 0 1-82.688-11.904c-2.368-0.832-4.736-0.832-7.04-0.832a26.368 26.368 0 0 0-13.44 3.968l-55.936 32.64c-1.6 0.768-3.2 1.6-4.736 1.6a8.768 8.768 0 0 1-8.64-8.768c0-2.368 0.768-3.968 1.6-6.4 0.768-0.768 7.872-27.008 11.776-42.88 0-1.664 0.768-4.032 0.768-5.632a18.112 18.112 0 0 0-7.04-14.272C193.92 564.352 160 506.24 160 441.856c0-118.4 114.24-213.888 254.4-213.888 120.512 0 221.76 70.336 247.168 165.248a441.152 441.152 0 0 0-8.96-0.128z m-155.968 13.76a33.28 33.28 0 0 0 32.832-33.28 32.768 32.768 0 1 0-65.664 0c0 18.56 14.464 33.28 32.832 33.28z m-168.32 0a33.28 33.28 0 0 0 0-66.56 32.832 32.832 0 0 0-32.832 33.28c0 18.56 14.528 33.28 32.832 33.28z" fill="#FFFFFF" ></path></symbol><symbol id="icon-WEIXIN02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M751.168 546.112a28.8 28.8 0 0 0-28.736-29.12 28.8 28.8 0 0 0-28.736 29.12c0 16.192 12.8 29.12 28.8 29.12a29.312 29.312 0 0 0 28.672-29.12z m-170.304 29.12a29.312 29.312 0 0 0 28.736-29.12 28.8 28.8 0 0 0-28.8-29.12 28.8 28.8 0 0 0-28.672 29.12c0 16.192 12.8 29.12 28.736 29.12z m204.608 175.36c0 1.6 0 3.2 0.832 4.8 3.136 13.504 9.408 35.072 9.408 35.84 0 2.368 0.768 3.968 0.768 5.568 0 1.92-0.768 3.712-2.048 5.12a7.04 7.04 0 0 1-4.992 2.048c-1.6 0-2.368-0.768-3.968-1.536l-46.336-27.136a25.344 25.344 0 0 0-11.008-3.2c-2.368 0-4.736 0-6.272 0.832-22.016 6.4-44.8 9.536-69.12 9.536-117.12 0-211.456-79.68-211.456-178.496 0-98.752 94.272-178.496 211.392-178.496 117.12 0 211.392 79.744 211.392 178.56 0 53.376-28.288 101.952-73.088 134.656a11.264 11.264 0 0 0-5.504 11.904z m-132.8-357.504c-133.568 0-243.392 92.8-243.392 210.944 0 17.92 2.56 35.328 7.296 51.84h-2.88a314.944 314.944 0 0 1-82.688-11.904c-2.368-0.832-4.736-0.832-7.04-0.832a26.368 26.368 0 0 0-13.44 3.968l-55.936 32.64c-1.6 0.768-3.2 1.6-4.736 1.6a8.768 8.768 0 0 1-8.64-8.768c0-2.368 0.768-3.968 1.6-6.4 0.768-0.768 7.872-27.008 11.776-42.88 0-1.664 0.768-4.032 0.768-5.632a18.112 18.112 0 0 0-7.04-14.272C193.92 564.352 160 506.24 160 441.856c0-118.4 114.24-213.888 254.4-213.888 120.512 0 221.76 70.336 247.168 165.248a441.152 441.152 0 0 0-8.96-0.128z m-155.968 13.76a33.28 33.28 0 0 0 32.832-33.28 32.768 32.768 0 1 0-65.664 0c0 18.56 14.464 33.28 32.832 33.28z m-168.32 0a33.28 33.28 0 0 0 0-66.56 32.832 32.832 0 0 0-32.832 33.28c0 18.56 14.528 33.28 32.832 33.28z" fill="#20BF64" ></path></symbol><symbol id="icon-WEIMOB03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M772.544 234.88a51.2 51.2 0 0 1 95.424 36.608l-2.112 5.632-231.616 512c-19.968 44.16-83.2 37.888-95.744-6.592l-1.408-6.016-60.16-358.08-187.84 372.608c-22.4 44.48-87.424 33.536-96-13.184l-0.832-6.016-38.528-512a51.2 51.2 0 0 1 101.312-13.632l0.832 5.952 24.64 328.256 175.232-347.52c21.376-42.24 82.56-34.88 94.912 8.704l1.28 5.888 58.24 346.24L772.48 234.88z" fill="#FFFFFF" ></path></symbol><symbol id="icon-WEIMOB02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M772.544 234.88a51.2 51.2 0 0 1 95.424 36.608l-2.112 5.632-231.616 512c-19.968 44.16-83.2 37.888-95.744-6.592l-1.408-6.016-60.16-358.08-187.84 372.608c-22.4 44.48-87.424 33.536-96-13.184l-0.832-6.016-38.528-512a51.2 51.2 0 0 1 101.312-13.632l0.832 5.952 24.64 328.256 175.232-347.52c21.376-42.24 82.56-34.88 94.912 8.704l1.28 5.888 58.24 346.24L772.48 234.88z" fill="#008DFE" ></path></symbol><symbol id="icon-WEIMOB01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#008DFE" ></path><path d="M772.544 234.88a51.2 51.2 0 0 1 95.424 36.608l-2.112 5.632-231.616 512c-19.968 44.16-83.2 37.888-95.744-6.592l-1.408-6.016-60.16-358.08-187.84 372.608c-22.4 44.48-87.424 33.536-96-13.184l-0.832-6.016-38.528-512a51.2 51.2 0 0 1 101.312-13.632l0.832 5.952 24.64 328.256 175.232-347.52c21.376-42.24 82.56-34.88 94.912 8.704l1.28 5.888 58.24 346.24L772.48 234.88z" fill="#FFFFFF" ></path></symbol><symbol id="icon-OFFLINE03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M428.224 586.88l3.072 3.84a98.048 98.048 0 0 0 152.96 0.064l4.864-5.76c16.768-17.856 44.8-18.688 62.656-1.92l9.6 9.088a121.408 121.408 0 0 0 143.36 17.28l4.8-3.2v133.632a55.296 55.296 0 0 1-49.28 54.976l-6.016 0.32H261.76a55.296 55.296 0 0 1-55.04-49.28l-0.256-6.016-0.128-134.656 5.184 3.008a123.52 123.52 0 0 0 142.72-17.536l11.712-10.688a44.288 44.288 0 0 1 62.272 6.848z m302.336-393.92c22.976 0 43.52 14.208 51.712 35.648l70.4 184.768c19.072 50.176-1.28 106.816-48 133.376a121.408 121.408 0 0 1-143.36-17.28l-9.6-8.96a44.288 44.288 0 0 0-62.592 1.792l-4.864 5.76a98.048 98.048 0 0 1-152.96 0l-3.072-3.84a44.288 44.288 0 0 0-62.272-6.912l-11.712 10.688a123.52 123.52 0 0 1-142.72 17.6 106.56 106.56 0 0 1-48.64-131.584l70.592-185.408a55.296 55.296 0 0 1 51.712-35.648z" fill="#FFFFFF" ></path></symbol><symbol id="icon-OFFLINE01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF6B17" ></path><path d="M431.04 606.656l3.136 3.84a99.84 99.84 0 0 0 155.712 0.128l4.928-5.952a45.12 45.12 0 0 1 63.808-1.856l9.728 9.216a123.648 123.648 0 0 0 145.984 17.536l4.928-3.2v136.064a56.32 56.32 0 0 1-50.176 56l-6.08 0.32H261.504a56.32 56.32 0 0 1-56-50.176l-0.32-6.144-0.128-137.088 5.312 3.072c47.296 25.728 105.664 18.56 145.28-17.92l11.968-10.88a45.12 45.12 0 0 1 63.36 7.04z m307.84-401.088a56.32 56.32 0 0 1 52.608 36.288l71.68 188.096c19.456 51.072-1.28 108.8-48.832 135.808a123.648 123.648 0 0 1-145.92-17.536l-9.792-9.216a45.12 45.12 0 0 0-63.808 1.856l-4.928 5.952a99.84 99.84 0 0 1-155.712-0.128l-3.2-3.84a45.12 45.12 0 0 0-63.36-7.04l-11.968 10.88a125.824 125.824 0 0 1-145.28 17.92 108.544 108.544 0 0 1-49.536-134.016l71.936-188.8a56.32 56.32 0 0 1 52.608-36.224z" fill="#FFFFFF" ></path></symbol><symbol id="icon-OFFLINE02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M428.224 586.88l3.072 3.84a98.048 98.048 0 0 0 152.96 0.064l4.864-5.76c16.768-17.856 44.8-18.688 62.656-1.92l9.6 9.088a121.408 121.408 0 0 0 143.36 17.28l4.8-3.2v133.632a55.296 55.296 0 0 1-49.28 54.976l-6.016 0.32H261.76a55.296 55.296 0 0 1-55.04-49.28l-0.256-6.016-0.128-134.656 5.184 3.008a123.52 123.52 0 0 0 142.72-17.536l11.712-10.688a44.288 44.288 0 0 1 62.272 6.848z m302.336-393.92c22.976 0 43.52 14.208 51.712 35.648l70.4 184.768c19.072 50.176-1.28 106.816-48 133.376a121.408 121.408 0 0 1-143.36-17.28l-9.6-8.96a44.288 44.288 0 0 0-62.592 1.792l-4.864 5.76a98.048 98.048 0 0 1-152.96 0l-3.072-3.84a44.288 44.288 0 0 0-62.272-6.912l-11.712 10.688a123.52 123.52 0 0 1-142.72 17.6 106.56 106.56 0 0 1-48.64-131.584l70.592-185.408a55.296 55.296 0 0 1 51.712-35.648z" fill="#FF6B17" ></path></symbol><symbol id="icon-REDBOOK01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF2442" ></path><path d="M396.8 602.688c3.2 3.008 7.296 4.48 11.52 4.16h72.512l-29.312 58.752H382.976a17.152 17.152 0 0 1-13.824-6.528z m253.76-225.664v59.968h-35.2v171.776h53.312v56.64H480.896l26.56-56.64h52.864V436.992h-35.84v-59.968h126.08zM264.192 358.4v262.912s-1.664 44.096-37.952 44.096H208s-35.52-3.904-35.52-48.32h36.032V358.4h55.68z m513.28 0v18.24h21.568c34.304 0 62.08 29.44 62.08 65.792v38.784h6.656c29.696 0 53.76 25.472 53.824 56.96v77.696c0 27.328-20.928 49.472-46.72 49.472h-14.08a45.44 45.44 0 0 1-33.088-14.464 50.944 50.944 0 0 1-13.696-35.008h51.84v-61.824a13.632 13.632 0 0 0-13.184-13.952H777.6v125.312H723.2V540.096h-54.528v-58.88h54.528v-45.76h-34.24v-58.816h34.112V358.4h54.4zM172.608 436.992v3.712c-0.128 25.216-2.56 177.024-39.616 193.92L102.4 575.104a429.76 429.76 0 0 0 13.184-138.176h56.96z m184.96-0.192a429.76 429.76 0 0 0 13.184 138.24l-30.528 59.328c-37.12-16.768-39.488-168.64-39.68-193.856v-3.52h56.96zM489.28 358.4l-38.4 77.504a5.824 5.824 0 0 0 0.128 5.44 5.184 5.184 0 0 0 4.48 2.624h3.52l3.328-6.976h53.376l-46.08 95.424a5.76 5.76 0 0 0 0.192 5.44 5.12 5.12 0 0 0 4.48 2.624h30.72l-24.576 47.36h-61.632c-26.368-1.216-9.92-35.52-9.92-35.52l28.352-61.184h-37.12c-26.432-1.024-9.92-35.52-9.92-35.52L435.84 358.4h53.376z m307.968 77.056h-19.584v45.76h28.096v-36.736c0-4.992-3.84-8.96-8.512-8.96z m96.576-58.432c14.848 0 26.944 12.8 26.944 28.544a29.44 29.44 0 0 1-7.872 20.288 26.24 26.24 0 0 1-19.072 8.32h-27.008v-28.608c0-15.744 12.096-28.544 27.008-28.544z" fill="#FFFFFF" ></path></symbol><symbol id="icon-REDBOOK03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM396.8 602.688l-27.648 56.32 2.88 2.88c3.136 2.496 6.976 3.84 10.944 3.712h68.48l29.376-58.752H408.256l-4.096-0.256a15.232 15.232 0 0 1-7.36-3.84z m253.76-225.664h-126.08v59.968h35.84v171.776h-52.864l-26.56 56.64h187.776v-56.64h-53.376V436.992h35.2v-59.968zM264.192 358.4H208.64v258.688h-36.032l0.448 8.32c4.16 36.544 35.072 40 35.072 40h18.176l7.232-0.64c29.312-5.44 30.72-43.52 30.72-43.52V358.4z m513.28 0h-54.4v18.24h-34.112v58.88h34.24v45.696h-54.528v58.88h54.528v125.312h54.464V540.096h75.008l3.52 0.448c5.568 1.664 9.664 7.04 9.664 13.44v61.888h-51.84l0.64 7.808a50.56 50.56 0 0 0 13.056 27.2 45.44 45.44 0 0 0 33.088 14.464h14.08l6.336-0.448c22.784-3.264 40.384-24 40.384-49.024V538.24l-0.448-7.168c-3.328-28.096-25.92-49.792-53.376-49.792h-6.592v-38.784l-0.448-7.68c-3.584-32.64-29.824-58.048-61.696-58.112h-21.504V358.4zM172.608 436.992h-56.96l0.896 19.968a429.44 429.44 0 0 1-14.08 118.208l30.528 59.392 5.312-3.52c32-28.16 34.176-166.4 34.304-190.336v-3.712z m184.96-0.192v0.192h-56.96v3.52c0.128 25.216 2.56 177.088 39.616 193.92l30.528-59.456-4.608-19.328a430.144 430.144 0 0 1-8.576-118.848zM489.28 358.4H435.84l-45.696 97.28c-2.304 5.056-14.464 34.56 9.92 35.456h37.12l-28.352 61.184c-2.24 5.12-14.464 34.432 9.92 35.456h61.632l24.64-47.296h-30.72l-1.792-0.32a5.312 5.312 0 0 1-2.752-2.304 5.76 5.76 0 0 1-0.192-5.44l46.08-95.36h-53.376l-3.328 6.912h-3.52l-1.728-0.32a5.312 5.312 0 0 1-2.752-2.304 5.824 5.824 0 0 1-0.192-5.44l38.4-77.504z m307.968 77.056c4.672 0 8.512 4.032 8.512 8.96v36.8h-28.096v-45.76z m96.576-58.432c-14.912 0-27.008 12.8-27.008 28.544v28.672h27.008l5.248-0.576a26.496 26.496 0 0 0 13.824-7.808 29.44 29.44 0 0 0 7.872-20.288l-0.448-5.12a27.456 27.456 0 0 0-26.496-23.424z" fill="#D9D9D9" ></path></symbol><symbol id="icon-REDBOOK02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M396.8 602.688c3.2 3.008 7.296 4.48 11.52 4.16h72.512l-29.312 58.752H382.976a17.152 17.152 0 0 1-13.824-6.528z m253.76-225.664v59.968h-35.2v171.776h53.312v56.64H480.896l26.56-56.64h52.864V436.992h-35.84v-59.968h126.08zM264.192 358.4v262.912s-1.664 44.096-37.952 44.096H208s-35.52-3.904-35.52-48.32h36.032V358.4h55.68z m513.28 0v18.24h21.568c34.304 0 62.08 29.44 62.08 65.792v38.784h6.656c29.696 0 53.76 25.472 53.824 56.96v77.696c0 27.328-20.928 49.472-46.72 49.472h-14.08a45.44 45.44 0 0 1-33.088-14.464 50.944 50.944 0 0 1-13.696-35.008h51.84v-61.824a13.632 13.632 0 0 0-13.184-13.952H777.6v125.312H723.2V540.096h-54.528v-58.88h54.528v-45.76h-34.24v-58.816h34.112V358.4h54.4zM172.608 436.992v3.712c-0.128 25.216-2.56 177.024-39.616 193.92L102.4 575.104a429.76 429.76 0 0 0 13.184-138.176h56.96z m184.96-0.192a429.76 429.76 0 0 0 13.184 138.24l-30.528 59.328c-37.12-16.768-39.488-168.64-39.68-193.856v-3.52h56.96zM489.28 358.4l-38.4 77.504a5.824 5.824 0 0 0 0.128 5.44 5.184 5.184 0 0 0 4.48 2.624h3.52l3.328-6.976h53.376l-46.08 95.424a5.76 5.76 0 0 0 0.192 5.44 5.12 5.12 0 0 0 4.48 2.624h30.72l-24.576 47.36h-61.632c-26.368-1.216-9.92-35.52-9.92-35.52l28.352-61.184h-37.12c-26.432-1.024-9.92-35.52-9.92-35.52L435.84 358.4h53.376z m307.968 77.056h-19.584v45.76h28.096v-36.736c0-4.992-3.84-8.96-8.512-8.96z m96.576-58.432c14.848 0 26.944 12.8 26.944 28.544a29.44 29.44 0 0 1-7.872 20.288 26.24 26.24 0 0 1-19.072 8.32h-27.008v-28.608c0-15.744 12.096-28.544 27.008-28.544z" fill="#FF2442" ></path></symbol><symbol id="icon-YOUZAN03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64zM296 520.256l-12.992 1.728c-28.8 4.544-57.792 8.96-86.656 13.824-20.8 3.52-32 15.168-32 33.088-0.128 86.784-0.128 173.696 0.064 260.48 0 20.48 15.68 32.512 39.68 30.016 26.368-2.752 52.48-7.04 78.784-9.6 11.136-1.088 13.376-5.12 13.248-13.888-0.256-100.736-0.192-201.6-0.128-302.4V520.32z m194.752-319.616a2408.32 2408.32 0 0 1-32.64 144.32 356.672 356.672 0 0 1-50.304 111.232c-14.72 21.504-31.808 41.536-59.328 52.288-9.408 3.712-11.712 8-11.712 16.128l0.128 153.28v164.16c6.208-0.64 10.56-0.96 14.848-1.536l426.368-54.848c37.504-4.736 60.928-29.568 56.576-61.248a53.504 53.504 0 0 1 7.168-36.608c11.776-19.52 13.44-39.808 9.6-61.568-2.432-13.44-2.816-28.8 2.56-41.216 12.8-29.184 15.232-57.344 6.848-87.936-4.224-15.552 1.088-33.664 5.248-50.048 9.728-37.12-14.144-62.08-59.2-59.776a349.44 349.44 0 0 0-15.744 1.28c-44.032 4.48-88 9.088-132.096 13.248-26.24 2.56-42.496-9.6-40.96-30.528 1.344-20.736 3.84-41.408 5.632-62.08 2.304-26.56 5.312-53.056 6.528-79.552 1.792-38.72-25.28-66.624-69.376-72.96-37.12-5.376-63.936 12.672-70.144 43.968z" fill="#D9D9D9" ></path></symbol><symbol id="icon-YOUZAN01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#ED0402" ></path><path d="M791.936 390.72c-44.8 4.48-89.6 9.216-134.528 13.44-26.752 2.56-43.264-9.792-41.728-31.104 1.408-21.12 3.968-42.176 5.76-63.232 2.368-27.008 5.44-53.952 6.656-80.96 1.792-39.424-25.728-67.84-70.656-74.304-37.76-5.44-65.024 12.864-71.424 44.8-9.536 49.216-20.544 98.24-33.152 146.944-10.24 39.872-27.52 78.08-51.264 113.28-15.04 21.824-32.384 42.24-60.416 53.12-9.6 3.84-11.968 8.256-11.968 16.512 0.32 104 0.192 208.128 0.192 312.192v11.008c6.336-0.64 10.752-0.96 15.104-1.536 144.704-18.688 289.408-37.312 434.176-55.872 38.144-4.864 62.016-30.08 57.6-62.4a54.4 54.4 0 0 1 7.296-37.248c11.968-19.84 13.632-40.512 9.728-62.72-2.496-13.632-2.88-29.248 2.688-41.92 12.992-29.696 15.488-58.368 6.912-89.536-4.288-15.872 1.088-34.24 5.312-50.944 9.92-37.824-14.4-63.232-60.288-60.864a355.84 355.84 0 0 0-16 1.28zM287.744 524.736l-13.184 1.792c-29.44 4.608-58.88 9.152-88.256 14.08-21.248 3.584-32.64 15.424-32.64 33.728-0.128 88.32-0.128 176.768 0.128 265.216 0 20.8 16 33.088 40.32 30.528 26.88-2.816 53.504-7.168 80.32-9.792 11.328-1.152 13.568-5.248 13.44-14.08-0.256-102.592-0.128-205.312-0.128-307.904v-13.568z" fill="#FFFFFF" ></path></symbol><symbol id="icon-YOUZAN02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M791.168 388.608c-44.032 4.416-88 9.024-132.096 13.184-26.24 2.56-42.496-9.6-40.96-30.528 1.344-20.736 3.84-41.408 5.632-62.08 2.304-26.56 5.312-53.056 6.528-79.552 1.792-38.72-25.28-66.624-69.376-72.96-37.12-5.376-63.936 12.672-70.144 43.968a2408.32 2408.32 0 0 1-32.64 144.32 356.672 356.672 0 0 1-50.304 111.232c-14.72 21.504-31.808 41.536-59.328 52.288-9.408 3.712-11.712 8-11.712 16.128 0.256 102.144 0.128 204.416 0.128 306.688v10.752c6.208-0.64 10.56-0.96 14.848-1.536l426.368-54.848c37.504-4.736 60.928-29.568 56.576-61.248a53.504 53.504 0 0 1 7.168-36.608c11.776-19.52 13.44-39.808 9.6-61.568-2.432-13.44-2.816-28.8 2.56-41.216 12.8-29.184 15.232-57.344 6.848-87.936-4.224-15.552 1.088-33.664 5.248-50.048 9.728-37.12-14.144-62.08-59.2-59.776a349.44 349.44 0 0 0-15.744 1.28zM296 520.256l-12.992 1.728c-28.8 4.544-57.792 8.96-86.656 13.824-20.8 3.52-32 15.168-32 33.088-0.128 86.784-0.128 173.696 0.064 260.48 0 20.48 15.68 32.512 39.68 30.016 26.368-2.752 52.48-7.04 78.784-9.6 11.136-1.088 13.376-5.12 13.248-13.888-0.256-100.736-0.192-201.6-0.128-302.4V520.32z" fill="#ED0402" ></path></symbol><symbol id="icon-gongzhonghao" viewBox="0 0 1024 1024"><path d="M508.16 76.8c-69.76 0-176.128 23.424-255.68 117.76-53.12 62.976-71.04 136.704-59.84 210.176 7.68 50.56 36.416 117.12 77.44 159.296 15.488-106.88 72.896-190.848 148.096-252.608 135.872-101.76 280.896-96 386.368-61.12-46.4-93.44-163.648-173.44-296.448-173.504z" fill="#07C160" ></path><path d="M554.048 322.368l12.544 3.84c192 64.192 295.808 268.48 231.808 456.32a353.28 353.28 0 0 1-78.72 129.792c41.408-11.264 83.776-27.328 120.128-54.72 146.24-110.528 175.04-314.24 70.72-446.976-83.136-105.792-226.816-135.424-356.48-88.256z" fill="#07C160" ></path><path d="M423.104 739.264a42.368 42.368 0 0 0-10.24-0.896 44.352 44.352 0 0 0-22.016 7.296l-89.728 56.384a16 16 0 0 1-7.936 2.944 13.952 13.952 0 0 1-14.656-13.248c-0.128-3.456 1.088-6.912 1.856-10.24l15.808-70.592a27.648 27.648 0 0 0-11.392-30.72c-94.464-63.232-159.36-162.56-173.568-264.64-23.744 36.672-36.48 65.792-48.832 108.16-46.208 158.464 54.912 348.16 219.968 401.28 189.76 61.184 370.88-7.424 433.408-165.76 7.616-19.2 15.936-51.84 17.664-78.912-66.496 47.936-136.832 68.16-225.664 68.16-29.184 0-57.472-3.2-84.672-9.216z" fill="#07C160" ></path></symbol><symbol id="icon-xiaochengxu" viewBox="0 0 1024 1024"><path d="M784.448 472.896c-20.416 33.536-54.4 59.2-95.04 71.04l-3.072 0.896a70.208 70.208 0 0 1-19.136 2.88c-28.16 0-44.16-19.072-35.584-42.56 6.272-17.152 22.72-31.68 42.752-38.4 31.04-11.328 52.736-37.12 52.736-67.2 0-40.512-39.424-73.344-88-73.344-48.64 0-88 32.832-88 73.344v224.896c0 54.08-31.36 101.504-78.208 128.32-25.6 14.656-55.68 23.232-88 23.232-91.648 0-166.208-67.968-166.208-151.552 0-26.624 7.552-51.584 20.8-73.344 20.544-33.664 54.72-59.456 95.68-71.168h0.064c6.912-2.176 14.08-3.392 21.12-3.392 28.352 0 44.288 19.136 35.712 42.752-5.76 16-21.504 29.76-39.744 37.12a103.808 103.808 0 0 0-6.4 2.368c-29.056 11.968-49.024 36.864-49.024 65.664 0 40.512 39.36 73.344 88 73.344s88-32.832 88-73.344V399.552c0-54.08 31.36-101.504 78.208-128.32 25.6-14.656 55.68-23.232 88-23.232 91.648 0 166.208 67.968 166.208 151.552 0 26.56-7.616 51.584-20.864 73.344M512 51.2a460.8 460.8 0 1 0 0 921.6A460.8 460.8 0 0 0 512 51.2" fill="#07C160" ></path></symbol><symbol id="icon-qiyeweixin" viewBox="0 0 1024 1024"><path d="M664.96 738.944a12.672 12.672 0 0 0 1.728 19.456c25.024 23.424 42.048 54.08 48.64 87.552a53.44 53.44 0 0 0 90.944 34.432 53.312 53.312 0 0 0-28.8-90.24l-3.264-0.512a163.328 163.328 0 0 1-91.2-50.688 12.608 12.608 0 0 0-18.048 0z" fill="#FB6500" ></path><path d="M881.728 654.656a53.12 53.12 0 0 0-15.36 32.128 163.968 163.968 0 0 1-50.752 91.2 12.8 12.8 0 0 0 17.024 18.944l0.96-0.896a163.584 163.584 0 0 1 89.088-50.496 52.8 52.8 0 0 0 34.496-15.488 53.248 53.248 0 1 0-75.52-75.392z" fill="#0082EF" ></path><path d="M731.264 503.936a53.312 53.312 0 0 0 28.928 90.24l3.2 0.448c35.2 6.528 67.328 24.384 91.264 50.752a12.8 12.8 0 1 0 16.256-19.52 163.904 163.904 0 0 1-48.768-87.552 53.12 53.12 0 0 0-53.184-50.048 53.248 53.248 0 0 0-37.696 15.68z" fill="#2DBC00" ></path><path d="M704.96 587.392L704 588.288a16 16 0 0 0-1.536 1.792l-3.52 3.712a163.84 163.84 0 0 1-84.032 44.992 53.248 53.248 0 1 0 55.232 65.152l0.64-3.2 0.384-3.2c6.528-35.008 24.32-67.072 50.88-91.2a12.736 12.736 0 0 0 0-18.048 12.864 12.864 0 0 0-17.088-0.896z" fill="#FFCC00" ></path><path d="M430.72 128c-15.488 0-31.616 0.896-47.808 2.624-94.848 10.368-181.12 50.88-242.752 114.176a323.52 323.52 0 0 0-58.88 82.88C61.568 367.616 51.2 411.52 51.2 456c0 57.216 17.472 113.792 50.432 163.392 17.28 25.856 45.184 57.728 69.44 79.296l1.344 1.152v1.856l-11.904 92.16-0.896 2.88a14.4 14.4 0 0 0-0.32 2.752l-0.256 1.664-0.128 1.088c0 0.512 0.128 0.96 0.192 1.408l0.128 1.28a25.408 25.408 0 0 0 37.888 19.456l1.984-1.216 111.36-55.808 1.472 0.384c22.208 6.4 45.44 10.88 70.976 13.632 62.08 6.912 124.928 0.32 184.128-19.328a57.28 57.28 0 0 1-29.632-49.92 363.712 363.712 0 0 1-63.872 13.248c-27.776 3.136-55.872 3.2-83.648 0.192l-5.312-0.64-3.136-0.448a361.984 361.984 0 0 1-54.848-11.52 33.6 33.6 0 0 0-26.24 2.752 22.848 22.848 0 0 0-2.112 1.024l-70.272 41.408c-7.168 4.16-13.568-0.384-13.568-6.848l10.624-41.6 5.504-20.864a24.32 24.32 0 0 0-8.704-27.2 312.768 312.768 0 0 1-28.544-24 280.064 280.064 0 0 1-40.448-47.808 239.488 239.488 0 0 1-41.152-132.736c0-36.032 8.32-71.04 24.512-104.128a266.88 266.88 0 0 1 48.512-68.224c51.84-53.248 124.8-87.36 205.184-96.128A369.152 369.152 0 0 1 473.6 188.8c80 9.088 152.512 43.456 203.968 96.64 19.648 20.16 35.904 43.2 48.256 68.352 16.448 33.472 24.704 70.272 24 107.456a57.088 57.088 0 0 1 60.224 8.192 288.704 288.704 0 0 0-29.312-140.8 323.2 323.2 0 0 0-58.496-83.008c-61.184-63.232-146.944-104-241.408-114.752A444.16 444.16 0 0 0 430.784 128" fill="#0082F0" ></path></symbol><symbol id="icon-shipinhao" viewBox="0 0 1024 1024"><path d="M393.92 704.384c-44.16 61.888-74.688 85.568-92.224 94.592a17.792 17.792 0 0 1-22.784-5.696c-19.84-28.928-58.048-105.024-93.248-240-37.568-143.872-50.112-276.288-30.528-321.92a13.44 13.44 0 0 1 18.944-6.144c26.496 15.04 92.48 69.824 217.152 269.376 28.096 44.864 52.288 84.096 66.368 107.072-13.184 24.192-36.032 64-63.68 102.72z m352.512 87.04a20.992 20.992 0 0 1-28.16 5.952c-37.312-22.4-98.688-95.36-152-195.456 14.08-22.976 38.336-62.272 66.496-107.328 125.056-200.128 191.104-254.72 217.408-269.504a12.992 12.992 0 0 1 18.624 6.08c19.648 45.824 7.104 178.24-30.464 322.112-34.56 132.288-71.872 208.064-91.904 238.208zM871.04 128.32c-80.96-5.76-176.32 89.728-319.68 319.104l-39.424 63.36-39.424-63.36C329.216 217.92 233.408 122.496 152.832 128.256 131.2 129.856 91.264 140.8 67.392 196.416 34.432 273.28 59.2 423.36 76.8 506.048c26.752 124.8 69.76 249.152 109.632 316.8 26.496 44.928 52.992 67.84 83.392 72.128 4.864 0.64 9.856 1.024 14.72 1.024C374.4 896 459.904 783.04 512 696.96 564.096 783.04 649.6 896 739.392 896c4.864 0 9.856-0.32 14.72-1.024 30.4-4.288 56.896-27.2 83.392-72.192C877.44 755.2 920.384 630.848 947.2 505.984c17.664-82.624 42.432-232.768 9.472-309.568C932.736 140.8 892.864 129.92 871.104 128.256z" fill="#FA9D3B" ></path></symbol><symbol id="icon-DD01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E6252E" ></path><path d="M348.8 224c21.568 0 39.04 18.496 39.04 41.216v78.912c46.208 7.488 88.32 28.416 121.536 60.672 43.776 42.624 67.904 101.504 67.904 165.76 0 64.192-24.128 123.008-67.904 165.632a228.608 228.608 0 0 1-160.64 63.808 216.576 216.576 0 0 1-101.504-25.024 231.872 231.872 0 0 1-78.08-67.008 38.592 38.592 0 0 1 5.824-52.224 34.112 34.112 0 0 1 49.6 6.272 154.24 154.24 0 0 0 124.16 63.552c43.52 0 83.52-15.616 112.768-44.16 14.272-13.696 25.344-30.08 33.088-48.448 8.064-19.2 12.16-40.256 12.16-62.464a160.64 160.64 0 0 0-12.16-62.464 145.216 145.216 0 0 0-33.088-48.512c-29.248-28.416-69.248-44.16-112.704-44.16-48.768 0-94.08 23.296-124.16 63.616a34.112 34.112 0 0 1-49.664 6.272 38.528 38.528 0 0 1-5.824-52.224c20.864-28.096 47.872-51.2 78.08-66.944 19.904-10.432 40.832-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m318.72 0c21.568 0 39.04 18.496 39.04 41.216v78.912a224.768 224.768 0 0 1 121.472 60.672C871.936 447.36 896 506.24 896 570.56c0 64.192-24.064 123.008-67.968 165.632a228.48 228.48 0 0 1-160.512 63.808c-43.328 0-85.44-12.8-121.792-37.056l-4.608-3.072a260.288 260.288 0 0 0 42.496-59.648c25.152 16.64 54.08 25.344 83.84 25.344 43.52 0 83.52-15.616 112.768-44.16 14.208-13.696 25.344-30.08 33.024-48.448 8.128-19.2 12.224-40.256 12.224-62.464 0-22.144-4.096-43.2-12.224-62.464a145.728 145.728 0 0 0-33.024-48.512c-29.248-28.416-69.312-44.16-112.704-44.16-30.272 0-59.136 8.96-83.84 25.344a259.392 259.392 0 0 0-42.56-59.52c8-5.568 16.32-10.688 24.832-15.104 19.84-10.432 40.768-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m54.208 307.2c21.632 0 39.04 18.496 39.04 41.216 0 22.72-17.408 41.152-39.04 41.152h-108.16l-2.176-0.192a258.432 258.432 0 0 0 1.408-82.048l3.072-0.128z m-318.72 1.152c20.992 0 38.016 17.92 38.016 40.064s-17.024 40.064-38.016 40.064H165.952C144.96 612.48 128 594.56 128 572.416c0-22.208 16.96-40.064 37.952-40.064z m107.392-284.8c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56-26.432 0-48-22.592-48-50.56 0-27.968 21.568-50.624 48-50.624z m-313.6 0c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56s-47.936-22.592-47.936-50.56c0-27.968 21.44-50.624 47.936-50.624z m619.264 0c26.56 0 48.064 22.72 48.064 50.688 0 27.968-21.504 50.56-48 50.56s-48-22.592-48-50.56c0-27.968 21.504-50.624 48-50.624z" fill="#FFFFFF" ></path></symbol><symbol id="icon-DD02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M348.8 224c21.568 0 39.04 18.496 39.04 41.216v78.912c46.208 7.488 88.32 28.416 121.536 60.672 43.776 42.624 67.904 101.504 67.904 165.76 0 64.192-24.128 123.008-67.904 165.632a228.608 228.608 0 0 1-160.64 63.808 216.576 216.576 0 0 1-101.504-25.024 231.872 231.872 0 0 1-78.08-67.008 38.592 38.592 0 0 1 5.824-52.224 34.112 34.112 0 0 1 49.6 6.272 154.24 154.24 0 0 0 124.16 63.552c43.52 0 83.52-15.616 112.768-44.16 14.272-13.696 25.344-30.08 33.088-48.448 8.064-19.2 12.16-40.256 12.16-62.464a160.64 160.64 0 0 0-12.16-62.464 145.216 145.216 0 0 0-33.088-48.512c-29.248-28.416-69.248-44.16-112.704-44.16-48.768 0-94.08 23.296-124.16 63.616a34.112 34.112 0 0 1-49.664 6.272 38.528 38.528 0 0 1-5.824-52.224c20.864-28.096 47.872-51.2 78.08-66.944 19.904-10.432 40.832-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m318.72 0c21.568 0 39.04 18.496 39.04 41.216v78.912a224.768 224.768 0 0 1 121.472 60.672C871.936 447.36 896 506.24 896 570.56c0 64.192-24.064 123.008-67.968 165.632a228.48 228.48 0 0 1-160.512 63.808c-43.328 0-85.44-12.8-121.792-37.056l-4.608-3.072a260.288 260.288 0 0 0 42.496-59.648c25.152 16.64 54.08 25.344 83.84 25.344 43.52 0 83.52-15.616 112.768-44.16 14.208-13.696 25.344-30.08 33.024-48.448 8.128-19.2 12.224-40.256 12.224-62.464 0-22.144-4.096-43.2-12.224-62.464a145.728 145.728 0 0 0-33.024-48.512c-29.248-28.416-69.312-44.16-112.704-44.16-30.272 0-59.136 8.96-83.84 25.344a259.392 259.392 0 0 0-42.56-59.52c8-5.568 16.32-10.688 24.832-15.104 19.84-10.432 40.768-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m54.208 307.2c21.632 0 39.04 18.496 39.04 41.216 0 22.72-17.408 41.152-39.04 41.152h-108.16l-2.176-0.192a258.432 258.432 0 0 0 1.408-82.048l3.072-0.128z m-318.72 1.152c20.992 0 38.016 17.92 38.016 40.064s-17.024 40.064-38.016 40.064H165.952C144.96 612.48 128 594.56 128 572.416c0-22.208 16.96-40.064 37.952-40.064z m107.392-284.8c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56-26.432 0-48-22.592-48-50.56 0-27.968 21.568-50.624 48-50.624z m-313.6 0c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56s-47.936-22.592-47.936-50.56c0-27.968 21.44-50.624 47.936-50.624z m619.264 0c26.56 0 48.064 22.72 48.064 50.688 0 27.968-21.504 50.56-48 50.56s-48-22.592-48-50.56c0-27.968 21.504-50.624 48-50.624z" fill="#E6252E" ></path></symbol><symbol id="icon-DD03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#D9D9D9" ></path><path d="M348.8 224c21.568 0 39.04 18.496 39.04 41.216v78.912c46.208 7.488 88.32 28.416 121.536 60.672 43.776 42.624 67.904 101.504 67.904 165.76 0 64.192-24.128 123.008-67.904 165.632a228.608 228.608 0 0 1-160.64 63.808 216.576 216.576 0 0 1-101.504-25.024 231.872 231.872 0 0 1-78.08-67.008 38.592 38.592 0 0 1 5.824-52.224 34.112 34.112 0 0 1 49.6 6.272 154.24 154.24 0 0 0 124.16 63.552c43.52 0 83.52-15.616 112.768-44.16 14.272-13.696 25.344-30.08 33.088-48.448 8.064-19.2 12.16-40.256 12.16-62.464a160.64 160.64 0 0 0-12.16-62.464 145.216 145.216 0 0 0-33.088-48.512c-29.248-28.416-69.248-44.16-112.704-44.16-48.768 0-94.08 23.296-124.16 63.616a34.112 34.112 0 0 1-49.664 6.272 38.528 38.528 0 0 1-5.824-52.224c20.864-28.096 47.872-51.2 78.08-66.944 19.904-10.432 40.832-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m318.72 0c21.568 0 39.04 18.496 39.04 41.216v78.912a224.768 224.768 0 0 1 121.472 60.672C871.936 447.36 896 506.24 896 570.56c0 64.192-24.064 123.008-67.968 165.632a228.48 228.48 0 0 1-160.512 63.808c-43.328 0-85.44-12.8-121.792-37.056l-4.608-3.072a260.288 260.288 0 0 0 42.496-59.648c25.152 16.64 54.08 25.344 83.84 25.344 43.52 0 83.52-15.616 112.768-44.16 14.208-13.696 25.344-30.08 33.024-48.448 8.128-19.2 12.224-40.256 12.224-62.464 0-22.144-4.096-43.2-12.224-62.464a145.728 145.728 0 0 0-33.024-48.512c-29.248-28.416-69.312-44.16-112.704-44.16-30.272 0-59.136 8.96-83.84 25.344a259.392 259.392 0 0 0-42.56-59.52c8-5.568 16.32-10.688 24.832-15.104 19.84-10.432 40.768-17.664 62.4-21.568V265.216c0-22.72 17.536-41.216 39.168-41.216z m54.208 307.2c21.632 0 39.04 18.496 39.04 41.216 0 22.72-17.408 41.152-39.04 41.152h-108.16l-2.176-0.192a258.432 258.432 0 0 0 1.408-82.048l3.072-0.128z m-318.72 1.152c20.992 0 38.016 17.92 38.016 40.064s-17.024 40.064-38.016 40.064H165.952C144.96 612.48 128 594.56 128 572.416c0-22.208 16.96-40.064 37.952-40.064z m107.392-284.8c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56-26.432 0-48-22.592-48-50.56 0-27.968 21.568-50.624 48-50.624z m-313.6 0c26.496 0 48 22.72 48 50.688 0 27.968-21.504 50.56-48 50.56s-47.936-22.592-47.936-50.56c0-27.968 21.44-50.624 47.936-50.624z m619.264 0c26.56 0 48.064 22.72 48.064 50.688 0 27.968-21.504 50.56-48 50.56s-48-22.592-48-50.56c0-27.968 21.504-50.624 48-50.624z" fill="#FFFFFF" ></path></symbol><symbol id="icon-pinduoduo01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#E6201A" ></path><path d="M323.328 712.896L505.856 832V592.768zM518.144 832l182.528-119.104-182.528-120.128zM128 565.248l182.528-120.128L128 325.12zM128 579.2l182.528 119.104V459.072zM310.528 192L128 311.104l182.528 120.128zM322.752 459.072L505.28 579.2 322.752 698.24zM322.752 192v239.232l182.528-120.128zM701.248 459.072L518.72 579.2l182.528 119.104zM701.248 192L518.72 311.104l182.528 120.128zM713.472 445.12L896 565.248V325.12zM713.472 698.304L896 579.2l-182.528-120.128zM713.472 192v239.232L896 311.104z" fill="#FFFFFF" ></path><path d="M171.776 588.8s0.064 10.048 9.984 10.24c9.92 0.256 88.832-6.784 96.128-7.232 7.296-0.512 14.592-2.432 14.976-4.48 0.384-1.92-0.576-2.432-3.904-2.24-3.392 0.256-80 6.592-85.376 7.552-5.44 0.896-19.84 2.112-23.68 0.704-3.776-1.344-8.128-4.544-8.128-4.544" fill="#E6201A" ></path><path d="M284.608 551.296c-8.576-11.2-13.184-3.328-15.104 4.48-1.92 7.872-10.624 4.032-12.928-4.672-2.368-8.64-9.28-9.088-19.968-4.16-10.624 4.928-48.96 26.432-59.008 34.112-2.688 2.048-3.84 4.736-1.6 8.192 2.304 3.456 9.28 2.432 21.824 1.152l35.072-3.264a24.32 24.32 0 0 0-8.064-16.064 2.048 2.048 0 0 1-0.32-2.88 2.176 2.176 0 0 1 3.008-0.32 28.224 28.224 0 0 1 9.6 18.816l4.48-0.384a23.168 23.168 0 0 0-7.616-15.552 2.048 2.048 0 0 1-0.192-2.88 2.176 2.176 0 0 1 3.008-0.192 27.072 27.072 0 0 1 8.96 18.24l5.056-0.512a21.568 21.568 0 0 0-7.232-13.376 2.048 2.048 0 0 1-0.256-2.88 2.176 2.176 0 0 1 2.944-0.256 25.6 25.6 0 0 1 8.768 16.128l5.12-0.448c-0.704-6.848-7.36-13.568-7.424-13.632a2.048 2.048 0 0 1 0.064-2.944 2.176 2.176 0 0 1 3.008 0c0.32 0.384 7.68 7.872 8.512 16.128a253.44 253.44 0 0 0 4.608-0.448c4.48-0.576 23.552-2.24 23.552-2.24s0.704-18.944-7.872-30.144M384.256 576.768c-2.56 3.84-2.432 8.448 0.32 10.304 2.752 1.856 4.48-1.536 7.04-5.44 2.56-3.84 4.992-6.656 2.24-8.512-2.752-1.856-7.04-0.192-9.6 3.648m28.672 8.32a16.896 16.896 0 1 1-33.792 0 16.896 16.896 0 0 1 33.792 0M374.848 553.856a7.424 7.424 0 0 0-7.232-6.4 7.424 7.424 0 0 0-7.232 6.4h14.464z" fill="#E6201A" ></path><path d="M396.032 608.512a24.32 24.32 0 0 1-24.704-23.872 24.32 24.32 0 0 1 24.704-23.936 24.32 24.32 0 0 1 24.64 23.936 24.32 24.32 0 0 1-24.64 23.872m22.592-51.968H416.64l-5.76-8.832h-27.392l-5.76 8.832H360.32a9.664 9.664 0 0 0-9.856 9.6v36.992c0 5.248 4.416 9.536 9.856 9.536h58.24a9.664 9.664 0 0 0 9.92-9.6v-36.992a9.664 9.664 0 0 0-9.856-9.536M151.424 464.192c1.088 12.032 9.856 12.288 9.856 12.288h57.152s8.768-0.256 9.856-12.288h-76.8zM160.448 425.408h-0.256a1.6 1.6 0 0 0-1.024 0.576l-3.008 3.776c-0.512 0.64-0.384 1.472 0.32 1.92l0.256 0.128a1.728 1.728 0 0 0 1.216 0.256 1.6 1.6 0 0 0 0.96-0.576l3.072-3.776a1.28 1.28 0 0 0 0.256-1.024 1.344 1.344 0 0 0-0.64-0.896l-0.256-0.128a1.664 1.664 0 0 0-0.896-0.256m-3.008 7.936a2.624 2.624 0 0 1-1.536-0.512l-0.192-0.128a2.624 2.624 0 0 1-0.64-3.712l2.688-3.776a2.624 2.624 0 0 1 3.648-0.64l0.256 0.192a2.624 2.624 0 0 1 0.64 3.712l-2.688 3.776a2.624 2.624 0 0 1-2.176 1.088" fill="#E6201A" ></path><path d="M161.6 427.008l-0.192-0.128c-0.896-0.512-1.088-1.536-0.448-2.24l2.432-3.072a2.048 2.048 0 0 1 2.56-0.384l0.256 0.192c0.832 0.512 1.024 1.472 0.448 2.24l-2.496 3.008a2.048 2.048 0 0 1-2.56 0.384M214.016 416.128a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192c-0.704 0.384-0.896 1.28-0.384 1.92l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.448 0 0.832-0.064 1.152-0.32l0.256-0.128c0.704-0.448 0.896-1.28 0.384-1.92l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.256-0.128a2.624 2.624 0 0 1 3.648 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448M220.608 425.088a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192a1.344 1.344 0 0 0-0.64 0.896 1.28 1.28 0 0 0 0.256 1.024l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.384 0 0.832-0.064 1.152-0.32l0.256-0.128a1.344 1.344 0 0 0 0.64-0.896 1.28 1.28 0 0 0-0.256-1.024l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.192-0.128a2.624 2.624 0 0 1 3.712 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448" fill="#E6201A" ></path><path d="M214.4 417.728l0.256-0.128c0.832-0.512 1.024-1.536 0.448-2.24l-2.56-3.008a2.048 2.048 0 0 0-2.56-0.384l-0.192 0.128c-0.832 0.512-1.024 1.536-0.448 2.24l2.496 3.008c0.64 0.768 1.728 0.896 2.56 0.384M194.048 395.584c0 1.92-1.536 3.392-3.456 3.392a3.392 3.392 0 0 1-3.52-3.392c0-1.856 1.6-3.328 3.52-3.328s3.456 1.472 3.456 3.328M220.672 428.8l-3.712-4.864 2.752-1.536 3.648 4.928zM222.848 438.4h6.4v-6.4h-6.4z" fill="#E6201A" ></path><path d="M164.224 421.824l-1.088-0.64 20.096-29.312c0.128-0.128 2.88-3.968 6.4-3.968 3.584 0 6.336 3.84 6.4 3.968l15.36 21.12-1.024 0.768-15.36-21.12c0-0.064-2.496-3.52-5.376-3.52-2.88 0-5.312 3.456-5.376 3.456l-20.032 29.248zM228.224 458.752c-1.472-17.472-3.584-22.72-3.584-22.72H159.616l-5.824 5.12a159.04 159.04 0 0 0-2.432 20.352h76.992c0-0.832 0-1.792-0.128-2.752M159.168 435.84l-6.656 5.76-1.92-2.112 6.656-5.76zM246.528 308.16l-9.92 1.6 7.04 6.912-1.472 9.6 8.96-4.352 8.96 4.352-1.536-9.6 7.04-6.912-9.856-1.6-4.608-8.64-4.608 8.64z m59.456-5.504l-14.4 18.496-13.504-7.424v45.44h-53.888v-45.44l-13.44 7.424-14.464-18.496 33.6-24.96h5.696c1.728 5.312 8.064 9.216 15.552 9.216 7.488 0 13.824-3.904 15.616-9.216h5.632l33.6 24.96zM413.568 330.24c-6.336 3.2-20.992 2.88-26.752 2.56a52.416 52.416 0 0 0-4.8 0c-5.76 0.32-20.416 0.64-26.688-2.56-4.224-2.176-9.728 3.456-5.184 6.016 5.952 3.264 30.08 10.88 32.32 29.824h3.968c2.24-18.944 26.304-26.56 32.32-29.824 4.48-2.56-1.024-8.192-5.184-6.08M384.448 315.136c-10.24 0-19.712-18.56-16.256-27.968 3.456-9.344 16.256-17.408 16.256-17.408s12.8 8.064 16.192 17.408c3.52 9.408-5.952 27.968-16.192 27.968m-10.432-53.632c2.112-3.648 7.616 5.568 7.616 5.568s-9.728-1.92-7.68-5.568m20.928 0c2.112 3.648-7.68 5.568-7.68 5.568s5.504-9.216 7.68-5.568m7.488 23.296s-9.472-13.632-16.256-16.896c0 0 12.16 0.576 12.352-6.144 0.192-6.72-11.136-4.992-14.08 4.16-2.816-9.152-14.144-10.88-14.016-4.16 0.192 6.72 12.416 6.144 12.416 6.144-6.848 3.2-16.256 16.896-16.256 16.896-16.128 10.56-27.648 28.416-13.184 37.056 14.4 8.64 25.408-3.2 25.408-3.2h11.328s11.008 11.84 25.472 3.2c14.464-8.64 2.88-26.496-13.184-37.12M638.272 327.68c2.432 6.848 13.056 11.968 25.792 11.968 12.736 0 23.36-5.12 25.792-12.032h-51.584z" fill="#E6201A" ></path><path d="M667.648 359.488c-2.048-1.088-2.304-5.568-2.304-11.52 0-5.888 1.664-9.472 1.664-9.472l-2.944-0.384-2.944 0.384s1.664 3.584 1.664 9.536c0 5.888-0.256 10.368-2.304 11.456-3.584 1.92-9.984 2.112-9.984 2.112v0.512h27.136V361.6s-6.4-0.128-9.984-2.112M636.032 328.384l-1.088-3.072h11.904a67.2 67.2 0 0 0 0.128-7.68c-1.088-6.08-15.36-20.672-15.36-27.52v-21.12h0.256A1.6 1.6 0 0 0 633.6 267.52v-4.224a1.6 1.6 0 0 0-1.664-1.536h-8.192a1.6 1.6 0 0 0-1.6 1.536v4.224c0 0.832 0.704 1.536 1.6 1.536h0.32v21.12c0 6.848-14.272 21.44-15.36 27.52-0.576 3.2 2.24 44.48 2.24 44.48h33.792l1.536-23.808c-5.12-2.432-8.768-5.824-10.24-9.92m-19.584-6.848c-0.448 5.248 1.728 36.288 1.728 36.288h-2.368s-2.56-31.232-2.56-37.632c0.064-6.4 6.4-11.904 6.4-11.904s-2.56 5.952-3.2 13.248M660.864 317.824a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M665.92 304.32a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M673.088 320a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M675.008 309.76a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M684.736 316.032a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M450.24 744.32h-5.632a3.712 3.712 0 0 1-3.84-3.584v-8.64h-16.192v8.64a3.712 3.712 0 0 1-3.776 3.648h-5.696c-1.664 0-3.2 1.28-3.264 2.88-0.128 1.728 1.28 3.2 3.072 3.2h35.52c1.792 0 3.2-1.472 3.136-3.2-0.064-1.664-1.6-2.88-3.328-2.88M471.424 678.144h-77.44a2.944 2.944 0 0 0-2.944 2.816v45.44c0 1.536 1.28 2.816 2.944 2.816H467.84v-1.6H393.984a1.28 1.28 0 0 1-1.28-1.28v-45.376a1.28 1.28 0 0 1 1.28-1.152h77.44c0.64 0 1.216 0.512 1.216 1.152v32.256h1.728v-32.256a2.88 2.88 0 0 0-2.944-2.816" fill="#E6201A" ></path><path d="M470.592 683.328v29.888h-0.448a2.24 2.24 0 0 0-2.304 2.24v10.176H396.416a1.6 1.6 0 0 1-1.664-1.6v-40.704c0-0.896 0.768-1.6 1.664-1.6h72.576c0.896 0 1.6 0.704 1.6 1.6" fill="#E6201A" ></path><path d="M493.44 754.688c0 1.28-0.96 2.24-2.24 2.24h-21.12a2.304 2.304 0 0 1-2.24-2.24v-39.168c0-1.28 1.024-2.24 2.304-2.24h21.056c1.28 0 2.304 1.024 2.304 2.24v39.168z m-2.24-42.24h-21.12a3.136 3.136 0 0 0-3.072 3.072v39.168c0 1.728 1.408 3.136 3.136 3.136h21.056a3.136 3.136 0 0 0 3.136-3.2v-39.04a3.136 3.136 0 0 0-3.2-3.2z" fill="#E6201A" ></path><path d="M484.8 722.368h-8.256c-0.512 0-0.896-1.472-0.896-3.2 0-1.792 0.384-3.2 0.896-3.2h8.256c0.512 0 0.896 1.408 0.896 3.2 0 1.728-0.384 3.2-0.896 3.2" fill="#E6201A" ></path><path d="M470.272 748.736h20.8v-28.416h-20.8zM485.312 753.536a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M607.744 706.24l7.488 17.152h1.792l-7.872-17.152zM592.448 723.392h2.432l-4.416-17.152h-1.92zM573.312 723.392h5.248l1.152-17.152h-4.224zM549.376 723.392h1.728l5.12-17.152H554.88zM545.216 706.24H544.64l-4.352 9.408h0.64l-3.584 7.68h1.792l3.392-7.68h0.64l3.968-9.408h-0.512zM550.016 706.24h-0.512l-3.712 9.408h0.576l-3.008 7.68h1.792l2.816-7.68h0.64l3.328-9.408h-0.512zM559.744 706.24h-0.576l-2.432 9.408h0.64l-2.048 7.68h1.856l1.792-7.68h0.64l2.112-9.408H561.28zM570.496 706.24H569.6l-1.856 9.408h1.024l-1.408 7.68h2.88l1.216-7.68h0.96l1.28-9.408h-0.832z" fill="#E6201A" ></path><path d="M579.456 706.24h-1.088l0.32 9.408h1.28l0.448 7.68h3.84l-0.832-7.68h1.28l-1.024-9.408h-1.152z" fill="#E6201A" ></path><path d="M584 706.24h-0.832l1.28 9.408h1.024l1.216 7.68h2.88l-1.472-7.68h0.96l-1.856-9.408h-0.896zM593.28 706.24h-0.512l2.176 9.408h0.64l1.792 7.68h1.792l-1.984-7.68h0.64l-2.56-9.408h-0.512zM598.144 706.24h-0.576l2.752 9.408h0.64l2.304 7.68h1.792l-2.56-7.68h0.64l-3.072-9.408h-0.512zM602.88 706.24h-0.512l3.456 9.408h0.64l2.816 7.68h1.728l-3.008-7.68h0.64l-3.776-9.408h-0.512zM565.248 706.24h-0.64l-2.24 9.408h0.768l-1.792 7.68h2.24l1.6-7.68h0.704l1.856-9.408h-0.64z" fill="#E6201A" ></path><path d="M528.064 727.04h98.24v-6.4H528.064z" fill="#E6201A" ></path><path d="M528.064 731.584h98.24v-6.4H528.064zM534.144 710.272h86.144v-16.768H534.144zM620.288 690.816H534.144s1.92-20.928 17.408-22.208c15.552-1.28 20.8 2.944 29.44 8.64 8.704 5.632 16.064 4.48 22.4 4.8 4.992 0.256 15.616 1.984 16.896 8.768" fill="#E6201A" ></path><path d="M613.44 709.568H540.928l-5.504 11.52h83.584l-5.568-11.52z m12.864 11.52H528.064l7.616-13.44h83.072l7.552 13.44zM537.92 748.16H534.4v-18.88h7.68zM616.512 748.16h3.456v-18.88h-7.68zM643.2 552a29.12 29.12 0 1 0 0 58.24 29.12 29.12 0 0 0 0-58.24m21.568 29.12a21.632 21.632 0 1 1-43.2 0 21.632 21.632 0 0 1 43.2 0" fill="#E6201A" ></path><path d="M623.36 560.896l4.608-14.208h2.624v11.008l-4.928 4.736zM662.976 560.896l-4.608-14.208h-2.624v11.008l4.928 4.736zM623.36 599.552l4.608 14.272h2.624V602.88l-4.928-4.8zM662.976 599.552l-4.608 14.272h-2.624V602.88l4.928-4.8zM680.96 575.808v8.896c0 0.896-0.896 1.664-2.048 1.664h-4.352a24.768 24.768 0 0 0 0-12.224h4.352c1.152 0 2.048 0.768 2.048 1.664M653.888 549.44h-21.376v-10.112a3.84 3.84 0 0 1 3.84-3.84h13.632a3.84 3.84 0 0 1 3.84 3.84v10.112zM653.888 611.072h-21.376v10.112a3.84 3.84 0 0 0 3.84 3.776h13.632a3.84 3.84 0 0 0 3.84-3.776v-10.112zM646.016 583.872a0.832 0.832 0 0 1-0.64-0.256l-13.248-15.552a0.832 0.832 0 0 1 0.128-1.152 0.896 0.896 0 0 1 1.152 0.128l13.248 15.488a0.832 0.832 0 0 1-0.128 1.152 0.896 0.896 0 0 1-0.512 0.192" fill="#E6201A" ></path><path d="M641.344 583.936a1.536 1.536 0 0 1-1.024-0.384 1.408 1.408 0 0 1-0.064-2.048l9.536-10.112a1.536 1.536 0 0 1 2.112-0.064c0.64 0.512 0.64 1.472 0.064 2.048l-9.536 10.112a1.536 1.536 0 0 1-1.088 0.448M746.944 557.76c-1.664 0.768-0.448 6.848 2.688 13.568 3.072 6.72 6.976 11.52 8.64 10.752 1.6-0.768 0.448-6.848-2.688-13.504-3.136-6.72-7.04-11.52-8.64-10.816z m60.544-1.28c0 13.888-3.264 21.76-7.68 26.752-4.288 4.992-5.632 16.384-5.632 16.384h-41.216s-1.344-11.392-5.696-16.384c-4.352-4.992-7.68-12.8-7.68-26.688h67.904z" fill="#E6201A" ></path><path d="M805.824 560.256s11.008-3.84 19.84 0.256c8.768 4.096 3.968 15.36-3.456 20.992-7.424 5.76-19.712 14.528-29.568 14.528v-4.352s10.24-0.384 23.552-12.48c13.44-12.16 8.64-18.304 4.096-19.008a24.768 24.768 0 0 0-15.232 3.072l0.768-3.008zM774.4 519.488c-6.464 14.912 15.936 16.128-1.92 30.08 6.08-13.952-14.336-17.92 1.92-30.08M773.568 602.176h-43.328s5.504 6.4 25.92 6.4h34.816c20.416 0 25.92-6.4 25.92-6.4h-43.328zM778.56 455.552a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4m87.552 1.024s6.336-3.392 21.056 0c0 0-7.488-14.592-30.592-5.76 0 0-17.088-11.264-48-12.416-30.144-1.088-39.936 11.2-46.336 13.248-2.24 0.704-4.864 2.816-2.368 3.84 2.56 0.96 7.552 3.264 6.528 3.584-1.024 0.32-4.992 0.32-5.312 0.832-0.256 0.64 2.048 1.28 5.12 1.6 3.008 0.256 7.04 3.2 14.592 3.648 7.552 0.448 16-1.664 15.616-17.792 0 0 3.776 8.768-1.472 17.856 0 0 3.2-0.512 5.44 1.28s11.072 8.64 26.368 4.736c0 0-6.4-4.992-7.68-11.072 0 0 3.328 4.928 11.776 4.224 8.384-0.768 17.856-3.84 22.912-3.072 5.056 0.768 5.44 2.432 12.992 2.816 7.68 0.448 16.192 0.192 16.192 0.192s-2.944-6.784-16.832-7.744" fill="#E6201A" ></path><path d="M841.856 437.76s-12.032-8.96-35.328-12.16c-0.576-2.496-0.192-5.248-0.192-5.248a18.688 18.688 0 0 0-10.432 4.224l-2.56-0.128c-30.912-1.152-40.96 11.52-47.552 13.568-2.24 0.704-4.992 2.88-2.368 3.84 2.624 1.088 7.68 3.456 6.656 3.776-1.024 0.32-5.12 0.256-5.376 0.832-0.32 0.64 2.112 1.28 5.184 1.664 1.92 0.192 4.352 1.408 7.744 2.432a11.072 11.072 0 0 1 3.456-1.792 26.048 26.048 0 0 0 4.672-2.56 67.84 67.84 0 0 1 14.848-7.296 35.648 35.648 0 0 0 0.256-5.312s0.768 1.92 1.152 4.864a76.16 76.16 0 0 1 26.688-3.072c17.152 0.64 30.72 3.648 39.488 6.464a10.24 10.24 0 0 0 6.464 0 30.976 30.976 0 0 1 17.152-0.256s1.344-9.472-29.952-3.84m-79.36-2.304a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4M789.568 335.232c5.76 0.384 10.88-4.032 10.88-4.032s-2.432 1.28-10.944-1.6c-8.576-2.88-8.96 3.968-8.96 3.968 3.2-0.896 3.328 1.344 9.024 1.664m25.92-1.216c0 10.88-8.832 21.632-19.712 21.632-10.88 0-19.712-10.752-19.712-21.632 0-13.888 12.48-8.576 19.712-7.872 7.168-0.704 19.712-6.016 19.712 7.872M753.728 339.392c-5.248-0.384-5.376-2.56-8.32-1.728 0 0 0.256-6.848 8.256-3.968 7.936 2.88 10.176 1.664 10.176 1.664s-4.8 4.352-10.112 4.032m16.32-5.504c0-1.728 0.192-3.392 0.512-4.928-3.648-0.128-7.872 1.152-11.072 1.536-6.72-0.704-18.304-5.632-18.304 7.296 0 10.112 8.192 20.096 18.304 20.096a18.176 18.176 0 0 0 14.976-8.96 28.288 28.288 0 0 1-4.48-15.04M788.992 301.248a39.488 39.488 0 0 1-3.392-11.328v-12.608h-3.712v12.608c0 9.856-8.576 19.52-13.696 23.68a30.912 30.912 0 0 0-8.32 11.776l1.6 0.576c0-0.128 2.56-6.784 7.808-11.072 5.12-4.16 13.504-13.632 14.272-23.616h0.576c0.32 1.92 1.152 5.952 3.328 10.688 3.008 6.4 6.208 14.72 6.272 18.624h1.728c-0.128-5.248-4.992-16.128-6.4-19.328M746.112 308.672s-2.176-15.552 6.016-21.632c8.192-6.08 26.048-4.16 26.048-4.16s-5.248 3.072-7.04 8.448a25.28 25.28 0 0 1-25.024 17.28" fill="#E6201A" ></path><path d="M527.36 457.792l22.464-4.224-2.176-23.168-16.64 3.52-3.584 23.872z m-43.392 4.224l20.288-7.68-3.648-19.712-14.464-4.224-5.76-12.608-6.592 8.384-3.584 23.872L490.496 448l-6.528 14.08z m87.616-7.68l22.4 4.864 8 20.352-27.52 3.52-6.528 42.88-15.232 9.792-9.408-54.784-16.64-1.408-12.288 45.696-15.936 10.496-1.472-52.672-12.992-2.112-5.76-14.72-5.824 7.04-8.704 62.464-34.048-22.464 21.76-6.336-4.352-29.44-11.584 9.792-10.112-33.728 23.872-4.224-3.648-21.76-6.464-2.112-11.584-19.648 17.344-5.632 16.64-33.728 12.288 32.32 13.76 2.112v11.264l20.992-4.224-15.872-40.768 40.512 16.192-10.112 27.392 20.224-4.224 17.408-41.472 28.928 21.12-28.928 21.76h27.52l7.936 21.76-18.816 0.704-5.76 23.872z" fill="#FFFFFF" ></path></symbol><symbol id="icon-pinduoduo02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M323.328 712.896L505.856 832V592.768zM518.144 832l182.528-119.104-182.528-120.128zM128 565.248l182.528-120.128L128 325.12zM128 579.2l182.528 119.104V459.072zM310.528 192L128 311.104l182.528 120.128zM322.752 459.072L505.28 579.2 322.752 698.24zM322.752 192v239.232l182.528-120.128zM701.248 459.072L518.72 579.2l182.528 119.104zM701.248 192L518.72 311.104l182.528 120.128zM713.472 445.12L896 565.248V325.12zM713.472 698.304L896 579.2l-182.528-120.128zM713.472 192v239.232L896 311.104z" fill="#E6201A" ></path><path d="M171.776 588.8s0.064 10.048 9.984 10.24c9.92 0.256 88.832-6.784 96.128-7.232 7.296-0.512 14.592-2.432 14.976-4.48 0.384-1.92-0.576-2.432-3.904-2.24-3.392 0.256-80 6.592-85.376 7.552-5.44 0.896-19.84 2.112-23.68 0.704A40.832 40.832 0 0 1 171.776 588.8" fill="#FEFEFE" ></path><path d="M284.608 551.296c-8.576-11.2-13.184-3.328-15.104 4.48-1.92 7.872-10.624 4.032-12.928-4.672-2.368-8.64-9.28-9.088-19.968-4.16-10.624 4.928-48.96 26.432-59.008 34.112-2.688 2.048-3.84 4.736-1.6 8.192 2.304 3.456 9.28 2.432 21.824 1.152l35.072-3.264a24.32 24.32 0 0 0-8.064-16.064 2.048 2.048 0 0 1-0.32-2.88 2.176 2.176 0 0 1 3.008-0.32 28.224 28.224 0 0 1 9.6 18.816l4.48-0.384a23.168 23.168 0 0 0-7.616-15.552 2.048 2.048 0 0 1-0.192-2.88 2.176 2.176 0 0 1 3.008-0.192 27.072 27.072 0 0 1 8.96 18.24l5.056-0.512a21.568 21.568 0 0 0-7.232-13.376 2.048 2.048 0 0 1-0.256-2.88 2.176 2.176 0 0 1 2.944-0.256 25.6 25.6 0 0 1 8.768 16.128l5.12-0.448c-0.704-6.848-7.36-13.568-7.424-13.632a2.048 2.048 0 0 1 0.064-2.944 2.176 2.176 0 0 1 3.008 0c0.32 0.384 7.68 7.872 8.512 16.128a253.44 253.44 0 0 0 4.608-0.448c4.48-0.576 23.552-2.24 23.552-2.24s0.704-18.944-7.872-30.144M384.256 576.768c-2.56 3.84-2.432 8.448 0.32 10.304 2.752 1.856 4.48-1.536 7.04-5.44 2.56-3.84 4.992-6.656 2.24-8.512-2.752-1.856-7.04-0.192-9.6 3.648m28.672 8.32a16.896 16.896 0 1 1-33.792 0 16.896 16.896 0 0 1 33.792 0M374.848 553.856a7.424 7.424 0 0 0-7.232-6.4 7.424 7.424 0 0 0-7.232 6.4h14.464z" fill="#FEFEFE" ></path><path d="M396.032 608.512a24.32 24.32 0 0 1-24.704-23.872 24.32 24.32 0 0 1 24.704-23.936 24.32 24.32 0 0 1 24.64 23.936 24.32 24.32 0 0 1-24.64 23.872m22.592-51.968H416.64l-5.76-8.832h-27.392l-5.76 8.832H360.32a9.664 9.664 0 0 0-9.856 9.6v36.992c0 5.248 4.416 9.536 9.856 9.536h58.24a9.664 9.664 0 0 0 9.92-9.6v-36.992a9.664 9.664 0 0 0-9.856-9.536M151.424 464.192c1.088 12.032 9.856 12.288 9.856 12.288h57.152s8.768-0.256 9.856-12.288h-76.8zM160.448 425.408H160.192a1.6 1.6 0 0 0-1.024 0.576l-3.008 3.776c-0.512 0.64-0.384 1.472 0.32 1.92l0.256 0.128a1.728 1.728 0 0 0 1.216 0.256 1.6 1.6 0 0 0 0.96-0.576l3.072-3.776a1.28 1.28 0 0 0 0.256-1.024 1.344 1.344 0 0 0-0.64-0.896l-0.256-0.128a1.664 1.664 0 0 0-0.896-0.256M157.44 433.28a2.624 2.624 0 0 1-1.536-0.512l-0.192-0.128a2.624 2.624 0 0 1-0.64-3.712l2.688-3.776a2.624 2.624 0 0 1 3.648-0.64l0.256 0.192a2.624 2.624 0 0 1 0.64 3.712l-2.688 3.776a2.624 2.624 0 0 1-2.176 1.088" fill="#FEFEFE" ></path><path d="M161.6 427.008L161.408 426.88c-0.896-0.512-1.088-1.536-0.448-2.24l2.432-3.072a2.048 2.048 0 0 1 2.56-0.384l0.256 0.192c0.832 0.512 1.024 1.472 0.448 2.24l-2.496 3.008a2.048 2.048 0 0 1-2.56 0.384M214.016 416.128a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192c-0.704 0.384-0.896 1.28-0.384 1.92l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.448 0 0.832-0.064 1.152-0.32l0.256-0.128c0.704-0.448 0.896-1.28 0.384-1.92l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.256-0.128a2.624 2.624 0 0 1 3.648 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448M220.608 425.088a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192a1.344 1.344 0 0 0-0.64 0.896 1.28 1.28 0 0 0 0.256 1.024l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.384 0 0.832-0.064 1.152-0.32l0.256-0.128a1.344 1.344 0 0 0 0.64-0.896 1.28 1.28 0 0 0-0.256-1.024l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.192-0.128a2.624 2.624 0 0 1 3.712 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448" fill="#FEFEFE" ></path><path d="M214.4 417.728l0.256-0.128c0.832-0.512 1.024-1.536 0.448-2.24l-2.56-3.008a2.048 2.048 0 0 0-2.56-0.384l-0.192 0.128c-0.832 0.512-1.024 1.536-0.448 2.24l2.496 3.008c0.64 0.768 1.728 0.896 2.56 0.384M194.048 395.584c0 1.92-1.6 3.392-3.456 3.392a3.392 3.392 0 0 1-3.52-3.392c0-1.856 1.6-3.328 3.52-3.328s3.456 1.472 3.456 3.328M220.672 428.8l-3.712-4.864 2.752-1.536 3.648 4.928z" fill="#FEFEFE" ></path><path d="M222.848 438.4h6.4v-6.4h-6.4zM164.224 421.824l-1.088-0.64 20.096-29.312c0.128-0.128 2.88-3.968 6.4-3.968 3.584 0 6.336 3.84 6.4 3.968l15.36 21.12-1.024 0.768-15.36-21.12c0-0.064-2.496-3.52-5.376-3.52-2.88 0-5.312 3.456-5.376 3.456l-20.032 29.248z" fill="#FEFEFE" ></path><path d="M228.224 458.752c-1.472-17.472-3.584-22.72-3.584-22.72H159.616l-5.824 5.12a159.04 159.04 0 0 0-2.432 20.352h76.992c0-0.832 0-1.792-0.128-2.752M159.168 435.84l-6.656 5.76-1.92-2.112 6.656-5.76zM246.528 308.16l-9.92 1.6 7.04 6.912-1.472 9.6 8.96-4.352 8.96 4.352-1.536-9.6 7.04-6.912-9.856-1.6-4.608-8.64-4.608 8.64z m59.456-5.504l-14.4 18.496-13.504-7.424v45.44h-53.888v-45.44l-13.44 7.424-14.464-18.496 33.6-24.96h5.696c1.728 5.312 8.064 9.216 15.552 9.216 7.488 0 13.824-3.904 15.616-9.216h5.632l33.6 24.96zM413.568 330.24c-6.336 3.2-20.992 2.88-26.752 2.56a52.416 52.416 0 0 0-4.8 0c-5.76 0.32-20.416 0.64-26.688-2.56-4.224-2.176-9.728 3.456-5.184 6.016 5.952 3.264 30.08 10.88 32.32 29.824h3.968c2.24-18.944 26.304-26.56 32.32-29.824 4.48-2.56-1.024-8.192-5.184-6.08M384.448 315.136c-10.24 0-19.712-18.56-16.256-27.968 3.456-9.344 16.256-17.408 16.256-17.408s12.8 8.064 16.192 17.408c3.52 9.408-5.952 27.968-16.192 27.968m-10.432-53.632c2.112-3.648 7.616 5.568 7.616 5.568s-9.728-1.92-7.68-5.568m20.928 0c2.112 3.648-7.68 5.568-7.68 5.568s5.504-9.216 7.68-5.568m7.488 23.296s-9.472-13.632-16.256-16.896c0 0 12.16 0.576 12.352-6.144 0.192-6.72-11.136-4.992-14.08 4.16-2.816-9.152-14.144-10.88-14.016-4.16 0.192 6.72 12.416 6.144 12.416 6.144-6.848 3.2-16.256 16.896-16.256 16.896-16.128 10.56-27.648 28.416-13.248 37.056 14.464 8.64 25.472-3.2 25.472-3.2h11.328s11.008 11.84 25.472 3.2c14.464-8.64 2.88-26.496-13.184-37.12M638.272 327.68c2.432 6.848 13.056 11.968 25.792 11.968 12.736 0 23.36-5.12 25.792-12.032h-51.584z" fill="#FEFEFE" ></path><path d="M667.648 359.488c-2.048-1.088-2.304-5.568-2.304-11.52 0-5.888 1.664-9.472 1.664-9.472l-2.944-0.384-2.944 0.384s1.664 3.584 1.664 9.536c0 5.888-0.256 10.368-2.304 11.456-3.584 1.92-9.984 2.112-9.984 2.112v0.512h27.136V361.6s-6.4-0.128-9.984-2.112M636.032 328.384l-1.088-3.072h11.904a67.2 67.2 0 0 0 0.128-7.68c-1.088-6.08-15.36-20.672-15.36-27.52v-21.12h0.256A1.6 1.6 0 0 0 633.6 267.52v-4.224a1.6 1.6 0 0 0-1.664-1.536h-8.192a1.6 1.6 0 0 0-1.6 1.536v4.224c0 0.832 0.704 1.536 1.6 1.536h0.32v21.12c0 6.848-14.272 21.44-15.36 27.52-0.576 3.2 2.24 44.48 2.24 44.48h33.792l1.536-23.808c-5.12-2.432-8.768-5.824-10.24-9.92m-19.584-6.848c-0.448 5.248 1.728 36.288 1.728 36.288h-2.368s-2.56-31.232-2.56-37.632c0.064-6.4 6.4-11.904 6.4-11.904s-2.56 5.952-3.2 13.248M660.864 317.824a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M665.92 304.32a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M673.088 320a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M675.008 309.76a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M684.736 316.032a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M450.24 744.32h-5.632a3.712 3.712 0 0 1-3.84-3.584v-8.64h-16.192v8.64a3.712 3.712 0 0 1-3.776 3.648h-5.696c-1.664 0-3.2 1.28-3.264 2.88-0.128 1.728 1.28 3.2 3.072 3.2h35.52c1.792 0 3.2-1.472 3.136-3.2-0.064-1.664-1.6-2.88-3.328-2.88M471.424 678.144h-77.44a2.944 2.944 0 0 0-2.944 2.816v45.44c0 1.536 1.28 2.816 2.944 2.816H467.84V727.68H393.984a1.28 1.28 0 0 1-1.28-1.28V680.96a1.28 1.28 0 0 1 1.28-1.152h77.44c0.64 0 1.216 0.512 1.216 1.152v32.256h1.728V680.96a2.88 2.88 0 0 0-2.944-2.816" fill="#FEFEFE" ></path><path d="M470.592 683.328v29.888h-0.448a2.24 2.24 0 0 0-2.304 2.24v10.176H396.416a1.6 1.6 0 0 1-1.664-1.6v-40.704c0-0.896 0.768-1.6 1.664-1.6h72.576c0.896 0 1.6 0.704 1.6 1.6" fill="#FEFEFE" ></path><path d="M493.44 754.688c0 1.28-0.96 2.24-2.24 2.24h-21.12a2.304 2.304 0 0 1-2.24-2.24V715.52c0-1.28 1.024-2.24 2.304-2.24h21.056c1.28 0 2.304 1.024 2.304 2.24v39.168z m-2.24-42.24h-21.12a3.136 3.136 0 0 0-3.072 3.072v39.168c0 1.728 1.408 3.136 3.136 3.136h21.056a3.136 3.136 0 0 0 3.136-3.2v-39.04a3.136 3.136 0 0 0-3.2-3.2z" fill="#FEFEFE" ></path><path d="M484.8 722.368h-8.256c-0.512 0-0.896-1.472-0.896-3.2 0-1.792 0.384-3.2 0.896-3.2h8.256c0.448 0 0.896 1.408 0.896 3.2 0 1.728-0.448 3.2-0.896 3.2" fill="#FEFEFE" ></path><path d="M470.272 748.736h20.8v-28.416h-20.8zM485.312 753.536a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M607.744 706.24l7.488 17.152h1.792l-7.872-17.152zM592.448 723.392h2.432l-4.416-17.152h-1.92zM573.312 723.392h5.248l1.152-17.152h-4.224zM549.376 723.392h1.728l5.12-17.152H554.88zM545.216 706.24H544.64l-4.352 9.408h0.64l-3.584 7.68h1.792l3.392-7.68h0.64l3.968-9.408h-0.512zM550.016 706.24h-0.512l-3.776 9.408h0.64l-3.008 7.68h1.792l2.816-7.68h0.64l3.328-9.408h-0.512zM559.744 706.24h-0.576l-2.432 9.408h0.64l-2.048 7.68h1.856l1.792-7.68h0.64l2.112-9.408H561.28zM570.496 706.24H569.6l-1.856 9.408h1.024l-1.408 7.68h2.88l1.216-7.68h0.96l1.28-9.408h-0.832z" fill="#FEFEFE" ></path><path d="M579.456 706.24h-1.088l0.32 9.408h1.28l0.448 7.68h3.84l-0.832-7.68h1.28l-1.024-9.408h-1.152z" fill="#FEFEFE" ></path><path d="M584 706.24h-0.832l1.28 9.408h1.024l1.216 7.68h2.88l-1.472-7.68h0.96l-1.856-9.408h-0.896zM593.28 706.24h-0.512l2.176 9.408h0.64l1.792 7.68h1.792l-1.984-7.68h0.64l-2.56-9.408h-0.512zM598.144 706.24h-0.576l2.752 9.408h0.64l2.304 7.68h1.792l-2.56-7.68h0.64l-3.072-9.408h-0.512zM602.88 706.24h-0.512l3.456 9.408h0.64l2.816 7.68h1.728l-3.008-7.68h0.64l-3.776-9.408h-0.512zM565.248 706.24h-0.64l-2.24 9.408h0.768l-1.792 7.68h2.24l1.6-7.68h0.704l1.856-9.408h-0.64z" fill="#FEFEFE" ></path><path d="M528.064 727.04h98.24v-6.4H528.064z" fill="#FEFEFE" ></path><path d="M528.064 731.584h98.24v-6.4H528.064zM534.144 710.272h86.144v-16.768H534.144zM620.288 690.816H534.144s1.92-20.928 17.408-22.208c15.552-1.28 20.8 2.944 29.44 8.64 8.704 5.632 16.064 4.48 22.4 4.8 4.992 0.256 15.616 1.984 16.896 8.768" fill="#FEFEFE" ></path><path d="M613.44 709.568H540.928l-5.504 11.52h83.584l-5.568-11.52z m12.864 11.52H528.064l7.616-13.44h83.072l7.552 13.44zM537.92 748.16H534.4v-18.88h7.68zM616.512 748.16h3.456v-18.88h-7.68zM643.2 552a29.12 29.12 0 1 0 0 58.24 29.12 29.12 0 0 0 0-58.24m21.568 29.12a21.632 21.632 0 1 1-43.2 0 21.632 21.632 0 0 1 43.2 0" fill="#FEFEFE" ></path><path d="M623.36 560.896l4.608-14.208h2.624v11.008l-4.928 4.736zM662.976 560.896l-4.608-14.208h-2.624v11.008l4.928 4.736zM623.36 599.552l4.608 14.272h2.624V602.88l-4.928-4.8zM662.976 599.552l-4.608 14.272h-2.624V602.88l4.928-4.8zM680.96 575.808v8.896c0 0.896-0.896 1.664-2.048 1.664H674.56a24.768 24.768 0 0 0 0-12.224h4.352c1.152 0 2.048 0.768 2.048 1.664M653.888 549.44h-21.376v-10.112a3.84 3.84 0 0 1 3.84-3.84h13.632a3.84 3.84 0 0 1 3.84 3.84v10.112zM653.888 611.072h-21.376v10.112a3.84 3.84 0 0 0 3.84 3.776h13.632a3.84 3.84 0 0 0 3.84-3.776v-10.112zM646.016 583.872a0.832 0.832 0 0 1-0.64-0.256l-13.248-15.552a0.832 0.832 0 0 1 0.128-1.152 0.896 0.896 0 0 1 1.152 0.128l13.248 15.488a0.832 0.832 0 0 1-0.128 1.152 0.896 0.896 0 0 1-0.512 0.192" fill="#FEFEFE" ></path><path d="M641.344 583.936a1.536 1.536 0 0 1-1.024-0.384 1.408 1.408 0 0 1-0.064-2.048l9.536-10.112a1.536 1.536 0 0 1 2.112-0.064c0.64 0.512 0.64 1.472 0.064 2.048l-9.536 10.112a1.536 1.536 0 0 1-1.088 0.448M746.944 557.76c-1.664 0.768-0.448 6.848 2.688 13.568 3.072 6.72 6.976 11.52 8.64 10.752 1.6-0.768 0.448-6.848-2.688-13.504-3.136-6.72-7.04-11.52-8.64-10.816z m60.544-1.28c0 13.888-3.264 21.76-7.68 26.752-4.288 4.992-5.632 16.384-5.632 16.384h-41.216s-1.344-11.392-5.696-16.384c-4.352-4.992-7.68-12.8-7.68-26.688h67.904z" fill="#FEFEFE" ></path><path d="M805.824 560.256s11.008-3.84 19.84 0.256c8.768 4.096 3.968 15.36-3.456 20.992-7.424 5.76-19.712 14.528-29.568 14.528v-4.352s10.24-0.384 23.552-12.48c13.44-12.16 8.64-18.304 4.096-19.008a24.768 24.768 0 0 0-15.232 3.072l0.768-3.008zM774.4 519.488c-6.464 14.912 15.936 16.128-1.92 30.08 6.08-13.952-14.336-17.92 1.92-30.08M773.568 602.176H730.24s5.504 6.4 25.92 6.4h34.816c20.416 0 25.92-6.4 25.92-6.4h-43.328zM778.56 455.552a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4m87.552 1.024s6.336-3.392 21.056 0c0 0-7.488-14.592-30.592-5.76 0 0-17.088-11.264-48-12.416-30.144-1.088-39.936 11.2-46.336 13.248-2.24 0.704-4.864 2.816-2.368 3.84 2.56 0.96 7.552 3.264 6.528 3.584-1.024 0.32-4.992 0.32-5.312 0.832-0.256 0.64 2.048 1.28 5.12 1.6 3.008 0.256 7.04 3.2 14.592 3.648 7.552 0.448 16-1.664 15.616-17.792 0 0 3.776 8.768-1.472 17.856 0 0 3.2-0.512 5.44 1.28s11.072 8.64 26.368 4.736c0 0-6.4-4.992-7.68-11.072 0 0 3.328 4.928 11.776 4.224 8.384-0.768 17.856-3.84 22.912-3.072 5.056 0.768 5.44 2.432 12.992 2.816 7.68 0.448 16.192 0.192 16.192 0.192s-2.944-6.784-16.832-7.744" fill="#FEFEFE" ></path><path d="M841.856 437.76s-12.032-8.96-35.328-12.16c-0.576-2.496-0.192-5.248-0.192-5.248a18.688 18.688 0 0 0-10.432 4.224l-2.56-0.128c-30.912-1.152-40.96 11.52-47.552 13.568-2.24 0.704-4.992 2.88-2.368 3.84 2.624 1.088 7.68 3.456 6.656 3.776-1.024 0.32-5.12 0.256-5.376 0.832-0.32 0.64 2.112 1.28 5.184 1.664 1.92 0.192 4.352 1.408 7.744 2.432a11.072 11.072 0 0 1 3.456-1.792 26.048 26.048 0 0 0 4.672-2.56 67.84 67.84 0 0 1 14.848-7.296 35.648 35.648 0 0 0 0.256-5.312s0.768 1.92 1.152 4.864a76.16 76.16 0 0 1 26.688-3.072c17.152 0.64 30.72 3.648 39.488 6.464a10.24 10.24 0 0 0 6.464 0 30.976 30.976 0 0 1 17.152-0.256s1.344-9.472-29.952-3.84m-79.36-2.304a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4M789.568 335.232c5.76 0.384 10.88-4.032 10.88-4.032s-2.432 1.28-10.944-1.6c-8.576-2.88-8.96 3.968-8.96 3.968 3.2-0.896 3.328 1.344 9.024 1.664m25.92-1.216c0 10.88-8.832 21.632-19.712 21.632-10.88 0-19.712-10.752-19.712-21.632 0-13.888 12.48-8.576 19.712-7.872 7.168-0.704 19.712-6.016 19.712 7.872M753.728 339.392c-5.248-0.384-5.376-2.56-8.32-1.728 0 0 0.256-6.848 8.256-3.968 7.936 2.88 10.176 1.664 10.176 1.664s-4.8 4.352-10.112 4.032m16.32-5.504c0-1.728 0.192-3.392 0.512-4.928-3.648-0.128-7.872 1.152-11.072 1.536-6.72-0.704-18.304-5.632-18.304 7.296 0 10.112 8.192 20.096 18.304 20.096a18.176 18.176 0 0 0 14.976-8.96 28.288 28.288 0 0 1-4.48-15.04M788.992 301.248a39.488 39.488 0 0 1-3.392-11.328v-12.608h-3.712v12.608c0 9.856-8.576 19.52-13.696 23.68a30.912 30.912 0 0 0-8.32 11.776l1.6 0.576c0-0.128 2.56-6.784 7.808-11.072 5.12-4.16 13.504-13.632 14.272-23.616h0.576c0.32 1.92 1.152 5.952 3.328 10.688 3.008 6.4 6.208 14.72 6.272 18.624h1.728c-0.128-5.248-4.992-16.128-6.4-19.328M746.112 308.672s-2.176-15.552 6.016-21.632c8.192-6.08 26.048-4.16 26.048-4.16s-5.248 3.072-7.04 8.448a25.28 25.28 0 0 1-25.024 17.28" fill="#FEFEFE" ></path><path d="M527.36 457.792l22.464-4.224-2.176-23.168-16.64 3.52-3.584 23.872z m-43.392 4.224l20.288-7.68-3.648-19.712-14.464-4.224-5.76-12.608-6.592 8.384-3.584 23.872L490.496 448l-6.528 14.08z m87.616-7.68l22.4 4.864 8 20.352-27.52 3.52-6.528 42.88-15.232 9.792-9.408-54.784-16.64-1.408-12.288 45.696-15.936 10.496-1.472-52.672-12.992-2.112-5.76-14.72-5.824 7.04-8.704 62.464-34.048-22.464 21.76-6.336-4.352-29.44-11.584 9.792-10.112-33.728 23.872-4.224-3.648-21.76-6.464-2.112-11.584-19.648 17.344-5.632 16.64-33.728 12.288 32.32 13.76 2.112v11.264l20.992-4.224-15.872-40.768 40.512 16.192-10.112 27.392 20.224-4.224 17.408-41.472 28.928 21.12-28.928 21.76h27.52l7.936 21.76-18.816 0.704-5.76 23.872z" fill="#E6201A" ></path></symbol><symbol id="icon-pinduoduo03" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#D9D9D9" ></path><path d="M323.328 712.896L505.856 832V592.768zM518.144 832l182.528-119.104-182.528-120.128zM128 565.248l182.528-120.128L128 325.12zM128 579.2l182.528 119.104V459.072zM310.528 192L128 311.104l182.528 120.128zM322.752 459.072L505.28 579.2 322.752 698.24zM322.752 192v239.232l182.528-120.128zM701.248 459.072L518.72 579.2l182.528 119.104zM701.248 192L518.72 311.104l182.528 120.128zM713.472 445.12L896 565.248V325.12zM713.472 698.304L896 579.2l-182.528-120.128zM713.472 192v239.232L896 311.104z" fill="#FFFFFF" ></path><path d="M171.776 588.8s0.064 10.048 9.984 10.24c9.92 0.256 88.832-6.784 96.128-7.232 7.296-0.512 14.592-2.432 14.976-4.48 0.384-1.92-0.576-2.432-3.904-2.24-3.392 0.256-80 6.592-85.376 7.552-5.44 0.896-19.84 2.112-23.68 0.704-3.776-1.344-8.128-4.544-8.128-4.544" fill="#D9D9D9" ></path><path d="M284.608 551.296c-8.576-11.2-13.184-3.328-15.104 4.48-1.92 7.872-10.624 4.032-12.928-4.672-2.368-8.64-9.28-9.088-19.968-4.16-10.624 4.928-48.96 26.432-59.008 34.112-2.688 2.048-3.84 4.736-1.6 8.192 2.304 3.456 9.28 2.432 21.824 1.152l35.072-3.264a24.32 24.32 0 0 0-8.064-16.064 2.048 2.048 0 0 1-0.32-2.88 2.176 2.176 0 0 1 3.008-0.32 28.224 28.224 0 0 1 9.6 18.816l4.48-0.384a23.168 23.168 0 0 0-7.616-15.552 2.048 2.048 0 0 1-0.192-2.88 2.176 2.176 0 0 1 3.008-0.192 27.072 27.072 0 0 1 8.96 18.24l5.056-0.512a21.568 21.568 0 0 0-7.232-13.376 2.048 2.048 0 0 1-0.256-2.88 2.176 2.176 0 0 1 2.944-0.256 25.6 25.6 0 0 1 8.768 16.128l5.12-0.448c-0.704-6.848-7.36-13.568-7.424-13.632a2.048 2.048 0 0 1 0.064-2.944 2.176 2.176 0 0 1 3.008 0c0.32 0.384 7.68 7.872 8.512 16.128a253.44 253.44 0 0 0 4.608-0.448c4.48-0.576 23.552-2.24 23.552-2.24s0.704-18.944-7.872-30.144M384.256 576.768c-2.56 3.84-2.432 8.448 0.32 10.304 2.752 1.856 4.48-1.536 7.04-5.44 2.56-3.84 4.992-6.656 2.24-8.512-2.752-1.856-7.04-0.192-9.6 3.648m28.672 8.32a16.896 16.896 0 1 1-33.792 0 16.896 16.896 0 0 1 33.792 0M374.848 553.856a7.424 7.424 0 0 0-7.232-6.4 7.424 7.424 0 0 0-7.232 6.4h14.464z" fill="#D9D9D9" ></path><path d="M396.032 608.512a24.32 24.32 0 0 1-24.704-23.872 24.32 24.32 0 0 1 24.704-23.936 24.32 24.32 0 0 1 24.64 23.936 24.32 24.32 0 0 1-24.64 23.872m22.592-51.968H416.64l-5.76-8.832h-27.392l-5.76 8.832H360.32a9.664 9.664 0 0 0-9.856 9.6v36.992c0 5.248 4.416 9.536 9.856 9.536h58.24a9.664 9.664 0 0 0 9.92-9.6v-36.992a9.664 9.664 0 0 0-9.856-9.536M151.424 464.192c1.088 12.032 9.856 12.288 9.856 12.288h57.152s8.768-0.256 9.856-12.288h-76.8zM160.448 425.408h-0.256a1.6 1.6 0 0 0-1.024 0.576l-3.008 3.776c-0.512 0.64-0.384 1.472 0.32 1.92l0.256 0.128a1.728 1.728 0 0 0 1.216 0.256 1.6 1.6 0 0 0 0.96-0.576l3.072-3.776a1.28 1.28 0 0 0 0.256-1.024 1.344 1.344 0 0 0-0.64-0.896l-0.256-0.128a1.664 1.664 0 0 0-0.896-0.256m-3.008 7.936a2.624 2.624 0 0 1-1.536-0.512l-0.192-0.128a2.624 2.624 0 0 1-0.64-3.712l2.688-3.776a2.624 2.624 0 0 1 3.648-0.64l0.256 0.192a2.624 2.624 0 0 1 0.64 3.712l-2.688 3.776a2.624 2.624 0 0 1-2.176 1.088" fill="#D9D9D9" ></path><path d="M161.6 427.008l-0.192-0.128c-0.896-0.512-1.088-1.536-0.448-2.24l2.432-3.072a2.048 2.048 0 0 1 2.56-0.384l0.256 0.192c0.832 0.512 1.024 1.472 0.448 2.24l-2.496 3.008a2.048 2.048 0 0 1-2.56 0.384M214.016 416.128a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192c-0.704 0.384-0.896 1.28-0.384 1.92l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.448 0 0.832-0.064 1.152-0.32l0.256-0.128c0.704-0.448 0.896-1.28 0.384-1.92l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.256-0.128a2.624 2.624 0 0 1 3.648 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448M220.608 425.088a1.664 1.664 0 0 0-0.896 0.256l-0.256 0.192a1.344 1.344 0 0 0-0.64 0.896 1.28 1.28 0 0 0 0.256 1.024l3.008 3.712c0.256 0.32 0.64 0.512 1.024 0.64 0.384 0 0.832-0.064 1.152-0.32l0.256-0.128a1.344 1.344 0 0 0 0.64-0.896 1.28 1.28 0 0 0-0.256-1.024l-3.008-3.776a1.6 1.6 0 0 0-1.28-0.576m2.24 7.936a2.688 2.688 0 0 1-2.176-1.088l-2.688-3.776a2.624 2.624 0 0 1 0.64-3.712l0.192-0.128a2.624 2.624 0 0 1 3.712 0.64l2.688 3.712a2.624 2.624 0 0 1-0.64 3.712l-0.192 0.192a2.624 2.624 0 0 1-1.536 0.448" fill="#D9D9D9" ></path><path d="M214.4 417.728l0.256-0.128c0.832-0.512 1.024-1.536 0.448-2.24l-2.56-3.008a2.048 2.048 0 0 0-2.56-0.384l-0.192 0.128c-0.832 0.512-1.024 1.536-0.448 2.24l2.496 3.008c0.64 0.768 1.728 0.896 2.56 0.384M194.048 395.584c0 1.92-1.536 3.392-3.456 3.392a3.392 3.392 0 0 1-3.52-3.392c0-1.856 1.6-3.328 3.52-3.328s3.456 1.472 3.456 3.328M220.672 428.8l-3.712-4.864 2.752-1.536 3.648 4.928zM222.848 438.4h6.4v-6.4h-6.4z" fill="#D9D9D9" ></path><path d="M164.224 421.824l-1.088-0.64 20.096-29.312c0.128-0.128 2.88-3.968 6.4-3.968 3.584 0 6.336 3.84 6.4 3.968l15.36 21.12-1.024 0.768-15.36-21.12c0-0.064-2.496-3.52-5.376-3.52-2.88 0-5.312 3.456-5.376 3.456l-20.032 29.248zM228.224 458.752c-1.472-17.472-3.584-22.72-3.584-22.72H159.616l-5.824 5.12a159.04 159.04 0 0 0-2.432 20.352h76.992c0-0.832 0-1.792-0.128-2.752M159.168 435.84l-6.656 5.76-1.92-2.112 6.656-5.76zM246.528 308.16l-9.92 1.6 7.04 6.912-1.472 9.6 8.96-4.352 8.96 4.352-1.536-9.6 7.04-6.912-9.856-1.6-4.608-8.64-4.608 8.64z m59.456-5.504l-14.4 18.496-13.504-7.424v45.44h-53.888v-45.44l-13.44 7.424-14.464-18.496 33.6-24.96h5.696c1.728 5.312 8.064 9.216 15.552 9.216 7.488 0 13.824-3.904 15.616-9.216h5.632l33.6 24.96zM413.568 330.24c-6.336 3.2-20.992 2.88-26.752 2.56a52.416 52.416 0 0 0-4.8 0c-5.76 0.32-20.416 0.64-26.688-2.56-4.224-2.176-9.728 3.456-5.184 6.016 5.952 3.264 30.08 10.88 32.32 29.824h3.968c2.24-18.944 26.304-26.56 32.32-29.824 4.48-2.56-1.024-8.192-5.184-6.08M384.448 315.136c-10.24 0-19.712-18.56-16.256-27.968 3.456-9.344 16.256-17.408 16.256-17.408s12.8 8.064 16.192 17.408c3.52 9.408-5.952 27.968-16.192 27.968m-10.432-53.632c2.112-3.648 7.616 5.568 7.616 5.568s-9.728-1.92-7.68-5.568m20.928 0c2.112 3.648-7.68 5.568-7.68 5.568s5.504-9.216 7.68-5.568m7.488 23.296s-9.472-13.632-16.256-16.896c0 0 12.16 0.576 12.352-6.144 0.192-6.72-11.136-4.992-14.08 4.16-2.816-9.152-14.144-10.88-14.016-4.16 0.192 6.72 12.416 6.144 12.416 6.144-6.848 3.2-16.256 16.896-16.256 16.896-16.128 10.56-27.648 28.416-13.184 37.056 14.4 8.64 25.408-3.2 25.408-3.2h11.328s11.008 11.84 25.472 3.2c14.464-8.64 2.88-26.496-13.184-37.12M638.272 327.68c2.432 6.848 13.056 11.968 25.792 11.968 12.736 0 23.36-5.12 25.792-12.032h-51.584z" fill="#D9D9D9" ></path><path d="M667.648 359.488c-2.048-1.088-2.304-5.568-2.304-11.52 0-5.888 1.664-9.472 1.664-9.472l-2.944-0.384-2.944 0.384s1.664 3.584 1.664 9.536c0 5.888-0.256 10.368-2.304 11.456-3.584 1.92-9.984 2.112-9.984 2.112v0.512h27.136V361.6s-6.4-0.128-9.984-2.112M636.032 328.384l-1.088-3.072h11.904a67.2 67.2 0 0 0 0.128-7.68c-1.088-6.08-15.36-20.672-15.36-27.52v-21.12h0.256A1.6 1.6 0 0 0 633.6 267.52v-4.224a1.6 1.6 0 0 0-1.664-1.536h-8.192a1.6 1.6 0 0 0-1.6 1.536v4.224c0 0.832 0.704 1.536 1.6 1.536h0.32v21.12c0 6.848-14.272 21.44-15.36 27.52-0.576 3.2 2.24 44.48 2.24 44.48h33.792l1.536-23.808c-5.12-2.432-8.768-5.824-10.24-9.92m-19.584-6.848c-0.448 5.248 1.728 36.288 1.728 36.288h-2.368s-2.56-31.232-2.56-37.632c0.064-6.4 6.4-11.904 6.4-11.904s-2.56 5.952-3.2 13.248M660.864 317.824a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M665.92 304.32a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M673.088 320a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M675.008 309.76a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M684.736 316.032a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M450.24 744.32h-5.632a3.712 3.712 0 0 1-3.84-3.584v-8.64h-16.192v8.64a3.712 3.712 0 0 1-3.776 3.648h-5.696c-1.664 0-3.2 1.28-3.264 2.88-0.128 1.728 1.28 3.2 3.072 3.2h35.52c1.792 0 3.2-1.472 3.136-3.2-0.064-1.664-1.6-2.88-3.328-2.88M471.424 678.144h-77.44a2.944 2.944 0 0 0-2.944 2.816v45.44c0 1.536 1.28 2.816 2.944 2.816H467.84v-1.6H393.984a1.28 1.28 0 0 1-1.28-1.28v-45.376a1.28 1.28 0 0 1 1.28-1.152h77.44c0.64 0 1.216 0.512 1.216 1.152v32.256h1.728v-32.256a2.88 2.88 0 0 0-2.944-2.816" fill="#D9D9D9" ></path><path d="M470.592 683.328v29.888h-0.448a2.24 2.24 0 0 0-2.304 2.24v10.176H396.416a1.6 1.6 0 0 1-1.664-1.6v-40.704c0-0.896 0.768-1.6 1.664-1.6h72.576c0.896 0 1.6 0.704 1.6 1.6" fill="#D9D9D9" ></path><path d="M493.44 754.688c0 1.28-0.96 2.24-2.24 2.24h-21.12a2.304 2.304 0 0 1-2.24-2.24v-39.168c0-1.28 1.024-2.24 2.304-2.24h21.056c1.28 0 2.304 1.024 2.304 2.24v39.168z m-2.24-42.24h-21.12a3.136 3.136 0 0 0-3.072 3.072v39.168c0 1.728 1.408 3.136 3.136 3.136h21.056a3.136 3.136 0 0 0 3.136-3.2v-39.04a3.136 3.136 0 0 0-3.2-3.2z" fill="#D9D9D9" ></path><path d="M484.8 722.368h-8.256c-0.512 0-0.896-1.472-0.896-3.2 0-1.792 0.384-3.2 0.896-3.2h8.256c0.512 0 0.896 1.408 0.896 3.2 0 1.728-0.384 3.2-0.896 3.2" fill="#D9D9D9" ></path><path d="M470.272 748.736h20.8v-28.416h-20.8zM485.312 753.536a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0M607.744 706.24l7.488 17.152h1.792l-7.872-17.152zM592.448 723.392h2.432l-4.416-17.152h-1.92zM573.312 723.392h5.248l1.152-17.152h-4.224zM549.376 723.392h1.728l5.12-17.152H554.88zM545.216 706.24H544.64l-4.352 9.408h0.64l-3.584 7.68h1.792l3.392-7.68h0.64l3.968-9.408h-0.512zM550.016 706.24h-0.512l-3.712 9.408h0.576l-3.008 7.68h1.792l2.816-7.68h0.64l3.328-9.408h-0.512zM559.744 706.24h-0.576l-2.432 9.408h0.64l-2.048 7.68h1.856l1.792-7.68h0.64l2.112-9.408H561.28zM570.496 706.24H569.6l-1.856 9.408h1.024l-1.408 7.68h2.88l1.216-7.68h0.96l1.28-9.408h-0.832z" fill="#D9D9D9" ></path><path d="M579.456 706.24h-1.088l0.32 9.408h1.28l0.448 7.68h3.84l-0.832-7.68h1.28l-1.024-9.408h-1.152z" fill="#D9D9D9" ></path><path d="M584 706.24h-0.832l1.28 9.408h1.024l1.216 7.68h2.88l-1.472-7.68h0.96l-1.856-9.408h-0.896zM593.28 706.24h-0.512l2.176 9.408h0.64l1.792 7.68h1.792l-1.984-7.68h0.64l-2.56-9.408h-0.512zM598.144 706.24h-0.576l2.752 9.408h0.64l2.304 7.68h1.792l-2.56-7.68h0.64l-3.072-9.408h-0.512zM602.88 706.24h-0.512l3.456 9.408h0.64l2.816 7.68h1.728l-3.008-7.68h0.64l-3.776-9.408h-0.512zM565.248 706.24h-0.64l-2.24 9.408h0.768l-1.792 7.68h2.24l1.6-7.68h0.704l1.856-9.408h-0.64z" fill="#D9D9D9" ></path><path d="M528.064 727.04h98.24v-6.4H528.064z" fill="#D9D9D9" ></path><path d="M528.064 731.584h98.24v-6.4H528.064zM534.144 710.272h86.144v-16.768H534.144zM620.288 690.816H534.144s1.92-20.928 17.408-22.208c15.552-1.28 20.8 2.944 29.44 8.64 8.704 5.632 16.064 4.48 22.4 4.8 4.992 0.256 15.616 1.984 16.896 8.768" fill="#D9D9D9" ></path><path d="M613.44 709.568H540.928l-5.504 11.52h83.584l-5.568-11.52z m12.864 11.52H528.064l7.616-13.44h83.072l7.552 13.44zM537.92 748.16H534.4v-18.88h7.68zM616.512 748.16h3.456v-18.88h-7.68zM643.2 552a29.12 29.12 0 1 0 0 58.24 29.12 29.12 0 0 0 0-58.24m21.568 29.12a21.632 21.632 0 1 1-43.2 0 21.632 21.632 0 0 1 43.2 0" fill="#D9D9D9" ></path><path d="M623.36 560.896l4.608-14.208h2.624v11.008l-4.928 4.736zM662.976 560.896l-4.608-14.208h-2.624v11.008l4.928 4.736zM623.36 599.552l4.608 14.272h2.624V602.88l-4.928-4.8zM662.976 599.552l-4.608 14.272h-2.624V602.88l4.928-4.8zM680.96 575.808v8.896c0 0.896-0.896 1.664-2.048 1.664h-4.352a24.768 24.768 0 0 0 0-12.224h4.352c1.152 0 2.048 0.768 2.048 1.664M653.888 549.44h-21.376v-10.112a3.84 3.84 0 0 1 3.84-3.84h13.632a3.84 3.84 0 0 1 3.84 3.84v10.112zM653.888 611.072h-21.376v10.112a3.84 3.84 0 0 0 3.84 3.776h13.632a3.84 3.84 0 0 0 3.84-3.776v-10.112zM646.016 583.872a0.832 0.832 0 0 1-0.64-0.256l-13.248-15.552a0.832 0.832 0 0 1 0.128-1.152 0.896 0.896 0 0 1 1.152 0.128l13.248 15.488a0.832 0.832 0 0 1-0.128 1.152 0.896 0.896 0 0 1-0.512 0.192" fill="#D9D9D9" ></path><path d="M641.344 583.936a1.536 1.536 0 0 1-1.024-0.384 1.408 1.408 0 0 1-0.064-2.048l9.536-10.112a1.536 1.536 0 0 1 2.112-0.064c0.64 0.512 0.64 1.472 0.064 2.048l-9.536 10.112a1.536 1.536 0 0 1-1.088 0.448M746.944 557.76c-1.664 0.768-0.448 6.848 2.688 13.568 3.072 6.72 6.976 11.52 8.64 10.752 1.6-0.768 0.448-6.848-2.688-13.504-3.136-6.72-7.04-11.52-8.64-10.816z m60.544-1.28c0 13.888-3.264 21.76-7.68 26.752-4.288 4.992-5.632 16.384-5.632 16.384h-41.216s-1.344-11.392-5.696-16.384c-4.352-4.992-7.68-12.8-7.68-26.688h67.904z" fill="#D9D9D9" ></path><path d="M805.824 560.256s11.008-3.84 19.84 0.256c8.768 4.096 3.968 15.36-3.456 20.992-7.424 5.76-19.712 14.528-29.568 14.528v-4.352s10.24-0.384 23.552-12.48c13.44-12.16 8.64-18.304 4.096-19.008a24.768 24.768 0 0 0-15.232 3.072l0.768-3.008zM774.4 519.488c-6.464 14.912 15.936 16.128-1.92 30.08 6.08-13.952-14.336-17.92 1.92-30.08M773.568 602.176h-43.328s5.504 6.4 25.92 6.4h34.816c20.416 0 25.92-6.4 25.92-6.4h-43.328zM778.56 455.552a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4m87.552 1.024s6.336-3.392 21.056 0c0 0-7.488-14.592-30.592-5.76 0 0-17.088-11.264-48-12.416-30.144-1.088-39.936 11.2-46.336 13.248-2.24 0.704-4.864 2.816-2.368 3.84 2.56 0.96 7.552 3.264 6.528 3.584-1.024 0.32-4.992 0.32-5.312 0.832-0.256 0.64 2.048 1.28 5.12 1.6 3.008 0.256 7.04 3.2 14.592 3.648 7.552 0.448 16-1.664 15.616-17.792 0 0 3.776 8.768-1.472 17.856 0 0 3.2-0.512 5.44 1.28s11.072 8.64 26.368 4.736c0 0-6.4-4.992-7.68-11.072 0 0 3.328 4.928 11.776 4.224 8.384-0.768 17.856-3.84 22.912-3.072 5.056 0.768 5.44 2.432 12.992 2.816 7.68 0.448 16.192 0.192 16.192 0.192s-2.944-6.784-16.832-7.744" fill="#D9D9D9" ></path><path d="M841.856 437.76s-12.032-8.96-35.328-12.16c-0.576-2.496-0.192-5.248-0.192-5.248a18.688 18.688 0 0 0-10.432 4.224l-2.56-0.128c-30.912-1.152-40.96 11.52-47.552 13.568-2.24 0.704-4.992 2.88-2.368 3.84 2.624 1.088 7.68 3.456 6.656 3.776-1.024 0.32-5.12 0.256-5.376 0.832-0.32 0.64 2.112 1.28 5.184 1.664 1.92 0.192 4.352 1.408 7.744 2.432a11.072 11.072 0 0 1 3.456-1.792 26.048 26.048 0 0 0 4.672-2.56 67.84 67.84 0 0 1 14.848-7.296 35.648 35.648 0 0 0 0.256-5.312s0.768 1.92 1.152 4.864a76.16 76.16 0 0 1 26.688-3.072c17.152 0.64 30.72 3.648 39.488 6.464a10.24 10.24 0 0 0 6.464 0 30.976 30.976 0 0 1 17.152-0.256s1.344-9.472-29.952-3.84m-79.36-2.304a3.2 3.2 0 1 1 0 6.4 3.2 3.2 0 0 1 0-6.4M789.568 335.232c5.76 0.384 10.88-4.032 10.88-4.032s-2.432 1.28-10.944-1.6c-8.576-2.88-8.96 3.968-8.96 3.968 3.2-0.896 3.328 1.344 9.024 1.664m25.92-1.216c0 10.88-8.832 21.632-19.712 21.632-10.88 0-19.712-10.752-19.712-21.632 0-13.888 12.48-8.576 19.712-7.872 7.168-0.704 19.712-6.016 19.712 7.872M753.728 339.392c-5.248-0.384-5.376-2.56-8.32-1.728 0 0 0.256-6.848 8.256-3.968 7.936 2.88 10.176 1.664 10.176 1.664s-4.8 4.352-10.112 4.032m16.32-5.504c0-1.728 0.192-3.392 0.512-4.928-3.648-0.128-7.872 1.152-11.072 1.536-6.72-0.704-18.304-5.632-18.304 7.296 0 10.112 8.192 20.096 18.304 20.096a18.176 18.176 0 0 0 14.976-8.96 28.288 28.288 0 0 1-4.48-15.04M788.992 301.248a39.488 39.488 0 0 1-3.392-11.328v-12.608h-3.712v12.608c0 9.856-8.576 19.52-13.696 23.68a30.912 30.912 0 0 0-8.32 11.776l1.6 0.576c0-0.128 2.56-6.784 7.808-11.072 5.12-4.16 13.504-13.632 14.272-23.616h0.576c0.32 1.92 1.152 5.952 3.328 10.688 3.008 6.4 6.208 14.72 6.272 18.624h1.728c-0.128-5.248-4.992-16.128-6.4-19.328M746.112 308.672s-2.176-15.552 6.016-21.632c8.192-6.08 26.048-4.16 26.048-4.16s-5.248 3.072-7.04 8.448a25.28 25.28 0 0 1-25.024 17.28" fill="#D9D9D9" ></path><path d="M527.36 457.792l22.464-4.224-2.176-23.168-16.64 3.52-3.584 23.872z m-43.392 4.224l20.288-7.68-3.648-19.712-14.464-4.224-5.76-12.608-6.592 8.384-3.584 23.872L490.496 448l-6.528 14.08z m87.616-7.68l22.4 4.864 8 20.352-27.52 3.52-6.528 42.88-15.232 9.792-9.408-54.784-16.64-1.408-12.288 45.696-15.936 10.496-1.472-52.672-12.992-2.112-5.76-14.72-5.824 7.04-8.704 62.464-34.048-22.464 21.76-6.336-4.352-29.44-11.584 9.792-10.112-33.728 23.872-4.224-3.648-21.76-6.464-2.112-11.584-19.648 17.344-5.632 16.64-33.728 12.288 32.32 13.76 2.112v11.264l20.992-4.224-15.872-40.768 40.512 16.192-10.112 27.392 20.224-4.224 17.408-41.472 28.928 21.12-28.928 21.76h27.52l7.936 21.76-18.816 0.704-5.76 23.872z" fill="#FFFFFF" ></path></symbol><symbol id="icon-zidingyi01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#FF6B17" ></path><path d="M800 500.672V800a32 32 0 0 1-32 32H256a32 32 0 0 1-32-32V500.672A127.552 127.552 0 0 1 192 416v-192a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v192c0 32.448-12.096 62.08-32 84.672zM576 416a32 32 0 0 1 64 0 64 64 0 1 0 128 0V256H256v160a64 64 0 1 0 128 0 32 32 0 0 1 64 0 64 64 0 1 0 128 0z" fill="#FFFFFF" ></path></symbol><symbol id="icon-zidingyi03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M800 500.672V800a32 32 0 0 1-32 32H256a32 32 0 0 1-32-32V500.672A127.552 127.552 0 0 1 192 416v-192a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v192c0 32.448-12.096 62.08-32 84.672zM576 416a32 32 0 0 1 64 0 64 64 0 1 0 128 0V256H256v160a64 64 0 1 0 128 0 32 32 0 0 1 64 0 64 64 0 1 0 128 0z" fill="#FFFFFF" ></path></symbol><symbol id="icon-zidingyi02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M800 500.672V800a32 32 0 0 1-32 32H256a32 32 0 0 1-32-32V500.672A127.552 127.552 0 0 1 192 416v-192a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v192c0 32.448-12.096 62.08-32 84.672zM576 416a32 32 0 0 1 64 0 64 64 0 1 0 128 0V256H256v160a64 64 0 1 0 128 0 32 32 0 0 1 64 0 64 64 0 1 0 128 0z" fill="#FF6B17" ></path></symbol><symbol id="icon-a-1haodian02" viewBox="0 0 1024 1024"><path d="M960 0a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64H64a64 64 0 0 1-64-64V64a64 64 0 0 1 64-64h896z" fill="#E8E8E8" ></path><path d="M960 64H64v896h896z" fill="#FAFAFA" ></path><path d="M159.104 321.024L340.544 192l-29.12 450.944H176.32l46.592-321.92z" fill="#C51C1E" ></path><path d="M351.04 452.608c0 52.416 43.392 88.384 96.832 88.384 53.504 0 96.832-35.968 96.832-88.384 0-52.48-43.328-94.912-96.832-94.912-53.44 0-96.832 42.496-96.832 94.912z m36.416 0c0-32.704 27.072-59.264 60.416-59.264 33.408 0 60.416 26.56 60.416 59.264a59.84 59.84 0 0 1-60.416 59.2 59.84 59.84 0 0 1-60.416-59.2zM431.296 612.992v-17.536h130.24v-46.016H340.544v46.016h44.48v46.464h51.904c49.728 0 90.048 34.176 90.048 76.416 0 42.24-40.32 76.48-90.048 76.48h-37.248V832h51.968c63.424 0 114.816-49.024 114.816-109.504 0-60.48-51.392-109.504-114.816-109.504H431.36zM863.104 386.112h-87.04v-26.624h-47.232v26.624H640.64v169.664l-22.208-17.792-40.768 39.936 22.208 18.112 16.64-19.968 24.128 38.144h38.912v-188.8h49.344v145.088a94.336 94.336 0 0 0-57.984 86.656c0 52.16 43.008 94.4 96.128 94.4s96.128-42.24 96.128-94.4c0-49.088-38.208-89.472-87.04-93.952v-53.056h76.224v-36.864h-76.16v-47.808h87.04v-39.36z m-96.128 327.872a57.344 57.344 0 0 1-57.856-56.832c0-31.36 25.856-56.832 57.856-56.832s57.856 25.472 57.856 56.832-25.856 56.832-57.856 56.832z" fill="#221713" ></path></symbol><symbol id="icon-a-1haodian03" viewBox="0 0 1024 1024"><path d="M960 0H64a64 64 0 0 0-64 64v896a64 64 0 0 0 64 64h896a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64z" fill="#D9D9D9" ></path><path d="M159.104 321.024L340.544 192l-29.12 450.944H176.32l46.592-321.92zM351.04 452.608c0 52.416 43.392 88.384 96.832 88.384 53.504 0 96.832-35.968 96.832-88.384 0-52.48-43.328-94.912-96.832-94.912-53.44 0-96.832 42.496-96.832 94.912z m36.416 0c0-32.704 27.072-59.264 60.416-59.264 33.408 0 60.416 26.56 60.416 59.264a59.84 59.84 0 0 1-60.416 59.2 59.84 59.84 0 0 1-60.416-59.2zM431.296 612.992v-17.536h130.24v-46.016H340.544v46.016h44.48v46.464h51.904c49.728 0 90.048 34.176 90.048 76.416 0 42.24-40.32 76.48-90.048 76.48h-37.248V832h51.968c63.424 0 114.816-49.024 114.816-109.504 0-60.48-51.392-109.504-114.816-109.504H431.36zM863.104 386.112h-87.04v-26.624h-47.232v26.624H640.64v169.664l-22.208-17.792-40.768 39.936 22.208 18.112 16.64-19.968 24.128 38.144h38.912v-188.8h49.344v145.088a94.336 94.336 0 0 0-57.984 86.656c0 52.16 43.008 94.4 96.128 94.4s96.128-42.24 96.128-94.4c0-49.088-38.208-89.472-87.04-93.952v-53.056h76.224v-36.864h-76.16v-47.808h87.04v-39.36z m-96.128 327.872a57.344 57.344 0 0 1-57.856-56.832c0-31.36 25.856-56.832 57.856-56.832s57.856 25.472 57.856 56.832-25.856 56.832-57.856 56.832z" fill="#FFFFFF" ></path></symbol><symbol id="icon-a-1haodian01" viewBox="0 0 1024 1024"><path d="M0 0m64 0l896 0q64 0 64 64l0 896q0 64-64 64l-896 0q-64 0-64-64l0-896q0-64 64-64Z" fill="#C51C1E" ></path><path d="M159.104 321.024L340.544 192l-29.12 450.944H176.32l46.592-321.92zM351.04 452.608c0 52.416 43.392 88.384 96.832 88.384 53.504 0 96.832-35.968 96.832-88.384 0-52.48-43.328-94.912-96.832-94.912-53.44 0-96.832 42.496-96.832 94.912z m36.416 0c0-32.704 27.072-59.264 60.416-59.264 33.408 0 60.416 26.56 60.416 59.264a59.84 59.84 0 0 1-60.416 59.2 59.84 59.84 0 0 1-60.416-59.2zM431.296 612.992v-17.536h130.24v-46.016H340.544v46.016h44.48v46.464h51.904c49.728 0 90.048 34.176 90.048 76.416 0 42.24-40.32 76.48-90.048 76.48h-37.248V832h51.968c63.424 0 114.816-49.024 114.816-109.504 0-60.48-51.392-109.504-114.816-109.504H431.36zM863.104 386.112h-87.04v-26.624h-47.232v26.624H640.64v169.664l-22.208-17.792-40.768 39.936 22.208 18.112 16.64-19.968 24.128 38.144h38.912v-188.8h49.344v145.088a94.336 94.336 0 0 0-57.984 86.656c0 52.16 43.008 94.4 96.128 94.4s96.128-42.24 96.128-94.4c0-49.088-38.208-89.472-87.04-93.952v-53.056h76.224v-36.864h-76.16v-47.808h87.04v-39.36z m-96.128 327.872a57.344 57.344 0 0 1-57.856-56.832c0-31.36 25.856-56.832 57.856-56.832s57.856 25.472 57.856 56.832-25.856 56.832-57.856 56.832z" fill="#FFFFFF" ></path></symbol><symbol id="icon-offline" viewBox="0 0 1129 1024"><path d="M869.50764603 244.18836318H225.76753771L155.6757115 430.75894446c0 55.84843069 45.56863684 102.20978815 101.64721281 102.20978887s102.7979356-45.1594912 102.7979356-102.20978887c0 55.84843069 45.56863684 102.20978815 101.64721281 102.20978887s102.7979356-45.1594912 102.7979356-102.20978887c0 55.84843069 45.56863684 102.20978815 101.64721209 102.20978887a101.57049796 101.57049796 0 0 0 101.64721281-102.20978887c0 55.84843069 45.56863684 102.20978815 102.7979356 102.20978887 56.07857525 0 102.7979356-45.1594912 102.79793632-102.20978887l-72.41884461-186.57058128h-31.5298145l-1.17629489-1.20186698 1.17629489 1.20186698z m1.73887023 364.13995126c10.97022752 0 21.53130868-1.66215538 31.5298145-4.62846396v229.96563086c0 21.40345107-23.34689449 47.56322373-44.39234196 47.56322373H270.74802783c-21.01987609 0-44.39234268-26.15977338-44.39234268-47.56322373v-230.04234572c9.99850582 3.01745207 20.58515907 4.70517882 31.5553866 4.70517882a110.77628315 110.77628315 0 0 0 102.74679212-69.40139254 109.62555964 109.62555964 0 0 0 101.69835629 69.40139254 110.77628315 110.77628315 0 0 0 102.7723635-69.40139254 109.62555964 109.62555964 0 0 0 101.67278419 69.40139254c46.02892668 0 85.53708801-28.76807908 101.67278419-69.40139254a110.80185453 110.80185453 0 0 0 102.77236422 69.40139254zM272.51247016 212.50511826c-19.8691533 0-35.05869916-15.44526179-35.05869916-35.64684588C237.453771 156.65668757 252.64331686 141.21142578 272.48689806 141.21142578h584.15821979c19.8691533 0 35.03312706 15.44526179 35.03312778 35.6468466 0 20.20158409-15.16397376 35.6468466-35.03312778 35.64684588H272.51247016z" fill="#707070" ></path></symbol><symbol id="icon-suning" viewBox="0 0 1024 1024"><path d="M813.1 99.2H210.9c-61.6 0-111.6 50-111.6 111.6v602.3c0 61.6 50 111.6 111.6 111.6h602.3c61.6 0 111.6-50 111.6-111.6V210.9c0-61.7-50-111.7-111.7-111.7z" fill="#FFFFFF" ></path><path d="M813.1 927.1H210.9c-62.9 0-114-51.1-114-114V210.9c0-62.9 51.1-114 114-114h602.3c62.9 0 114 51.1 114 114v602.3c-0.1 62.8-51.2 113.9-114.1 113.9zM210.9 101.6c-60.2 0-109.2 49-109.2 109.2v602.3c0 60.2 49 109.2 109.2 109.2h602.3c60.2 0 109.2-49 109.2-109.2V210.9c0-60.2-49-109.2-109.2-109.2H210.9z" fill="#999999" ></path><path d="M411.9 493.9c13.1 0 23.7-10.7 23.7-23.7s-10.7-23.6-23.7-23.6-23.6 10.6-23.7 23.6c0 13 10.7 23.7 23.7 23.7zM611.5 493.9c13.1 0 23.7-10.7 23.7-23.7s-10.7-23.6-23.7-23.6-23.6 10.6-23.6 23.6c0 13 10.6 23.7 23.6 23.7z" fill="#111111" ></path><path d="M606.3 556.8c-5.6-47.3-45.8-83.9-94.6-83.9-48.7 0-88.9 36.6-94.5 83.9-39.4 1.2-71.1 33.6-71.1 73.4 0 40.5 32.9 73.4 73.4 73.4h185.3c40.5 0 73.4-32.8 73.3-73.4 0-40-32-72.5-71.8-73.4z m-32.1 26.1L536 611.4s-10.5 7.6-24.3 7.5c-13.8 0.1-24.2-7.5-24.2-7.5l-38.1-28.5c-15.6-11.6-6.1-26.1 4.7-26.1h115.4c10.8 0 20.2 14.5 4.7 26.1z" fill="#FFFFFF" ></path><path d="M569.4 556.8H454.1c-10.8 0-20.2 14.5-4.7 26.1l38.1 28.5s10.4 7.6 24.2 7.5c13.8 0.1 24.3-7.5 24.3-7.5l38.2-28.5c15.5-11.6 6.1-26.1-4.8-26.1z" fill="#111111" ></path><path d="M754.4 411.6v-86.2c0-30.8-25-55.8-55.8-55.8h-86.1l-61-60.9c-21.8-21.8-57.1-21.8-79 0l-60.9 60.9h-86.2c-30.8 0-55.8 25-55.8 55.8v86.2l-61 61c-21.8 21.8-21.8 57.1 0 79l61 60.9v86.2c0 30.8 25 55.8 55.8 55.8h86.2l61 61c21.8 21.8 57.1 21.8 79 0l61-61h86.2c30.8 0 55.8-25 55.8-55.8v-86.2l61-61c21.6-21.8 21.6-57.1-0.1-78.9l-61.1-61z m-142.9 34.9c13 0 23.7 10.6 23.7 23.6 0 13-10.6 23.7-23.7 23.7-13 0-23.6-10.7-23.6-23.7s10.6-23.6 23.6-23.6z m-199.6 0c13 0 23.7 10.6 23.7 23.6 0 13-10.6 23.7-23.7 23.7-13 0-23.7-10.7-23.7-23.7 0.1-13 10.7-23.6 23.7-23.6z m192.9 257.1H419.5c-40.6 0-73.4-32.9-73.4-73.4 0-39.8 31.6-72.1 71.1-73.4 5.6-47.3 45.8-83.9 94.5-83.9 48.8 0 89 36.6 94.6 83.9 39.8 0.9 71.8 33.4 71.8 73.4 0.1 40.6-32.8 73.4-73.3 73.4z" fill="#FFAB00" ></path></symbol><symbol id="icon-jos" viewBox="0 0 1024 1024"><path d="M880.15625 165.78125c-6.1875-8.34375-13.5-15.75-21.9375-21.9375-17.4375-12.9375-38.90625-20.90625-62.34375-20.90625H228.125c-23.4375 0-44.90625 7.96875-62.4375 20.90625-8.34375 6.1875-15.75 13.5-21.9375 21.9375-12.84375 17.4375-20.8125 38.90625-20.8125 62.34375v567.75c0 23.4375 7.96875 44.90625 20.90625 62.4375 6.1875 8.34375 13.5 15.75 21.9375 21.9375 17.53125 12.9375 38.90625 20.90625 62.4375 20.90625h567.75c23.4375 0 44.90625-7.96875 62.4375-20.90625 8.34375-6.1875 15.75-13.5 21.9375-21.9375 12.9375-17.53125 20.90625-38.90625 20.90625-62.4375V228.125c-0.1875-23.4375-8.15625-44.90625-21.09375-62.34375z" fill="#C9121C" ></path><path d="M399.78125 582.78125h1.78125V275.09375h-55.96875v306c0 62.90625-50.71875 111.9375-111.9375 111.9375H206.375v55.96875h27.28125c90.9375-0.09375 166.125-73.5 166.125-166.21875zM817.625 511.15625c0-129.375-92.625-236.0625-208.03125-236.0625H469.71875v473.8125h139.875c115.40625 0 208.03125-108.375 208.03125-237.75zM525.6875 331.0625h83.90625c83.90625 0 152.15625 82.21875 153.84375 181.875 0 99.65625-69.9375 180.09375-153.84375 180.09375h-83.90625V331.0625z" fill="#FFFFFF" ></path></symbol><symbol id="icon-taobao" viewBox="0 0 1024 1024"><path d="M795.875 122.9375H228.125C170 122.9375 122.9375 169.8125 122.9375 227.65624999v565.03125001C122.9375 850.4375 170 897.3125 228.125 897.3125h49.78125001c12.28125001 1.5 24.65625001 3 37.5 3.28125001 5.8125 0.1875 10.875 0.1875 23.34374999 0.28124999 11.8125 0.1875 21.5625 0.1875 28.5 0.1875h289.03125001c7.125 0 16.78125001 0 28.49999998-0.1875 12.375-0.1875 17.53125001-0.1875 23.34375001-0.28124999 12.84375001-0.1875 25.21875001-1.78125001 37.5-3.28125001h50.15625001c58.125 0 105.1875-46.875 105.18749998-104.71875001V227.65624999C901.0625 169.8125 854 122.9375 795.875 122.9375z" fill="#FF4401" ></path><path d="M389 455c15.5625-15.75 29.4375-31.5 41.4375-47.15625001 12.375-5.34375001 24.375-10.59375001 36-15.28124999-14.34375001 25.96875001-37.5 65.25-60.84375001 90.09375001l32.71875001 28.87499998s22.3125-21.65625001 46.59375001-47.71874999h28.125V512H404.84374999v38.625h108.18750002v92.4375c-1.21875001 0-2.71875001 0-4.03125001-0.1875-11.8125-0.75-30.46875001-2.71875001-37.78124999-14.25-8.8125-14.15625001-2.4375-40.125-1.78125001-56.0625h-74.90624999l-2.71875001 1.3125S364.4375 697.8125 470.75 695c99.65625001 2.8125 156.65625001-27.9375 184.125-49.21875001l10.875 41.0625 61.40625001-25.875L685.4375 558.125 635.65625001 573.875l9.28124999 35.0625c-12.75 9.65625001-27.375 16.96875001-43.3125 22.125v-80.625h105.84375001v-38.625h-105.93750002v-48.1875h106.125v-38.625H518.9375c13.78125001-16.6875 24.375-31.96875001 27.09375001-41.625l-32.71875001-9.09375001c141.09375001-51 219.5625-42.1875 218.90625001 41.43750002v220.12499998s8.34375001 75.65625001-77.43750002 70.12500002l-46.5-9.9375-10.875 44.625s200.4375 57.9375 216.84375001-97.6875c16.3125-155.8125-3.84375001-255.09375001-3.84375001-255.09375001s-18.375-143.625-329.53124999-54.5625c13.40625001-23.34375001 19.6875-38.625 19.6875-38.625l-77.90625001-22.03125001s-31.40625001 103.3125-87.28124999 151.50000002c0 0.09375001 54.28125001 31.59375001 53.625 30.84374999z" fill="#FFFFFF" ></path><path d="M356.46874999 583.4375c14.90625001-46.6875 18.1875-82.3125-7.21874999-108.375-32.71875001-33.28125001-36.28125001-36.28125001-84.84375001-72.84375001l-35.15624999 54.37500002 64.59375001 40.59374999s43.21875001 22.125 22.6875 63.75c-19.125 39.5625-113.15625001 125.90625001-113.15625001 125.90625001l84 53.06249998c58.21875001-127.6875 54.46875001-110.71875001 69.09375001-156.46874999zM310.25 381.96874999c30.46875001 0 55.3125-22.40625001 55.3125-50.24999998 0-27.84375001-24.84375001-50.25-55.3125-50.25-30.75 0-55.40625001 22.3125-55.59375001 50.25 0 27.65625001 24.84375001 50.25 55.59375001 50.25z" fill="#FFFFFF" ></path></symbol><symbol id="icon-execute-stop" viewBox="0 0 1024 1024"><path d="M558.08 650.24H419.84c-32.256 0-46.08-13.824-46.08-46.08V419.84c0-32.256 13.824-46.08 46.08-46.08h184.32c32.256 0 46.08 13.824 46.08 46.08v184.32c0 32.256-13.824 46.08-46.08 46.08h-46.08z" fill="#FF1010" ></path><path d="M512 51.2c-253.44 0-460.8 207.36-460.8 460.8s207.36 460.8 460.8 460.8 460.8-207.36 460.8-460.8-207.36-460.8-460.8-460.8m0 834.048c-207.36 0-373.248-165.888-373.248-373.248S304.64 138.752 512 138.752s373.248 165.888 373.248 373.248-165.888 373.248-373.248 373.248" fill="#666666" ></path></symbol><symbol id="icon-wait" viewBox="0 0 1024 1024"><path d="M515.85440749 82.98768981C279.05972221 82.98768981 87.0096802 275.0377318 87.0096802 511.83241706S279.05972221 940.67714431 515.85440749 940.67714431s428.84472724-192.05004197 428.84472724-428.84472725S752.64909276 82.98768981 515.85440749 82.98768981z m187.35771984 573.30121607c-6.20056854 8.04398081-15.58521282 12.23355417-24.96985715 12.23355415-6.70331735 0-13.40663469-2.17857813-19.10445441-6.53573441l-162.38786274-125.18445144-0.5027488-0.50274878c-2.84890987-2.34616108-5.36265388-5.19507094-7.20606612-8.3791467-0.16758294-0.50274881-0.50274881-0.83791468-0.67033176-1.34066346-1.67582932-3.01649281-2.84890987-6.36815149-3.35165867-10.05497603 0-0.50274881-0.16758294-1.00549761-0.16758293-1.5082464-0.16758294-1.00549761-0.33516586-2.0109952-0.33516586-3.18407575V222.41669063c0-17.42862511 14.07696642-31.50559152 31.50559151-31.50559153s31.50559152 14.07696642 31.50559153 31.50559153v273.99809655l150.15430858 115.79980716c13.57421762 10.55772482 16.08796163 30.332511 5.53023682 44.07431154z" fill="#666666" ></path><path d="M488.2032234 526.57971524c-1.67582932-3.18407574-2.84890987-6.5357344-3.35165865-10.05497603 0.50274881 3.51924161 1.67582932 6.87090027 3.35165865 10.05497603zM496.0796213 536.13194244c-3.01649281-2.34616108-5.36265388-5.19507094-7.20606615-8.37914667 1.84341228 3.18407574 4.35715626 6.03298562 7.20606615 8.37914667zM488.87355515 527.75279577c-0.16758294-0.33516586-0.50274881-0.83791468-0.67033175-1.34066347 0.16758294 0.50274881 0.50274881 1.00549761 0.67033175 1.34066347zM484.85156475 516.52473921c0-0.50274881-0.16758294-1.00549761-0.16758294-1.5082464 0 0.50274881 0.16758294 1.00549761 0.16758294 1.5082464z" fill="#666666" ></path></symbol><symbol id="icon-execute" viewBox="0 0 1024 1024"><path d="M870.6791041 124.68656709c13.43283574 0 24.17910469 10.74626894 24.17910468 24.17910469v721.79104482c0 13.43283574-10.74626894 24.17910469-24.17910468 24.17910468H211.57462724v-2.23880625h-62.68656796c-13.43283574 0-24.17910469-10.74626894-24.17910381-24.17910468V148.86567178c0-13.43283574 10.74626894-24.17910469 24.17910381-24.17910469h721.79104482m0-62.68656709H148.88805928C100.52985078 62 62.02238838 100.5074624 62.02238838 148.86567178V867.97014893c0 48.35820938 38.5074624 86.86567178 86.8656709 86.86567177v2.23880625h721.79104482c48.35820938 0 86.86567178-38.5074624 86.86567178-86.86567177V148.86567178C957.54477588 100.5074624 919.03731348 62 870.6791041 62z" fill="#666666" ></path><path d="M692.47014893 472.59701474L444.41044737 328.86567178c-29.99999971-17.01492539-65.37313477 3.58208964-65.3731339 37.164179v285.22388057c0 33.58208935 37.16417901 54.1791044 65.3731339 37.164179l248.05970156-141.94029814c29.99999971-16.11940342 29.99999971-57.31343262 0-73.88059747z" fill="#00AAF1" ></path></symbol><symbol id="icon-A1" viewBox="0 0 1024 1024"><path d="M318.623035 900.104009L36.049377 952.606034 93.018101 673.254257l225.604934 226.849752zM761.924648 0.393582l-101.269595 101.782168L886.259987 329.098726l101.269595-101.782167L761.924648 0.393582zM143.616286 622.363173l225.604934 226.922977 466.513806-469.223115-225.604934-226.996201L143.616286 622.363173zM398.730726 877.550838h146.449162v146.449162H398.730726V877.550838z m224.286892 0h146.449162v146.449162h-146.449162V877.550838z m219.673743 0h144.911446v146.449162H842.691361V877.550838z" fill="#0083BA" ></path></symbol><symbol id="icon-B1" viewBox="0 0 1058 1024"><path d="M57.144223 668.96767l226.595104 228.476433L0 950.955808z" fill="#3089DC" ></path><path d="M107.308807 620.267737L574.604415 152.972129 801.391304 379.759019 334.095697 847.054627zM623.304348 101.794961L725.099309 0l226.786889 226.78689-101.794961 101.794961z" fill="#0083BA" ></path><path d="M767.143813 1024c-160.772566 0-291.103679-130.331113-291.103679-291.103679s130.331113-291.103679 291.103679-291.103679 291.103679 130.331113 291.103679 291.103679-130.331113 291.103679-291.103679 291.103679z m-62.787068-431.206742v277.003986l202.15381-153.940192L704.356745 592.794399z" fill="#64AA44" ></path></symbol><symbol id="icon-B3" viewBox="0 0 1025 1024"><path d="M512.362667 0.479492C229.712254 0.479492 0.603429 229.596444 0.603429 512.23873 0.603429 794.887111 229.71327 1024 512.362667 1024c282.648381 0 511.760254-229.111873 511.760254-511.760254C1024.121905 229.60254 795.011048 0.479492 512.362667 0.479492z m0 930.475683c-231.246222 0-418.711365-187.457016-418.711365-418.709334 0-231.246222 187.465143-418.718476 418.712381-418.718476 231.250286 0 418.708317 187.472254 418.708317 418.718476 0 231.252317-187.458032 418.709333-418.709333 418.709334zM372.794921 721.601016l395.454984-232.616635L372.794921 302.884571v418.716445z" fill="#64AA44" ></path></symbol><symbol id="icon-A5" viewBox="0 0 1425 1024"><path d="M1424.896 142.075139l-868.714937 881.348051L0.928405 460.087089l139.114937-142.086481 417.166582 423.23767L1287.258734 0.57519z" fill="#64AA44" ></path></symbol><symbol id="icon-A2" viewBox="0 0 1024 1024"><path d="M256 256c0 141.385143 114.614857 256 256 256s256-114.614857 256-256S653.385143 0 512 0 256 114.614857 256 256zM593.257143 518.4L512 599.657143l-81.257143-81.257143C186.628571 557.371429 0 768.914286 0 1024h1024c0-255.085714-186.628571-466.628571-430.742857-505.6zM512 950.857143l-87.657143-87.657143L512 600l87.657143 263.314286L512 950.857143z" fill="#0083BA" ></path></symbol><symbol id="icon-A6" viewBox="0 0 1024 1024"><path d="M512.00408604 961.87536934C263.69500537 961.87536934 62.4178206 760.59818369 62.4178206 512.28808174S263.69807011 62.70181631 512.00408604 62.70181631c248.28354141 0 449.58626543 201.27718477 449.58626542 449.58626543 0.00102129 248.31112412-201.30170273 449.5872876-449.58626542 449.5872876zM146.71441513 512.28808174c0 201.7450626 163.54767305 365.29069219 365.28967091 365.29069219 85.67162315 0 164.28830888-29.71940977 226.57934179-79.0845627L225.80102129 285.68422285c-49.36208818 62.31861562-79.08660615 140.9342792-79.08660616 226.6028376v0.00102129zM512.00408604 147.00147559c-85.67162315 0-164.28626543 29.71940977-226.6028376 79.08456269l512.78342783 512.78240654c49.39171435-62.28898945 79.10908067-140.90669737 79.10908066-226.57934179-0.00102129-201.74404042-163.54562959-365.28967089-365.29069219-365.2896709l0.0010213 0.00204345z" fill="#DB0000" ></path></symbol><symbol id="icon-B2" viewBox="0 0 1024 1024"><path d="M256 256c0 141.385143 114.614857 256 256 256s256-114.614857 256-256S653.385143 0 512 0 256 114.614857 256 256zM593.257143 518.4L512 599.657143l-81.257143-81.257143C186.628571 557.371429 0 768.914286 0 1024h1024c0-255.085714-186.628571-466.628571-430.742857-505.6zM512 950.857143l-87.657143-87.657143L512 600l87.657143 263.314286L512 950.857143z" fill="#0083BA" ></path><path d="M737.714286 451.428571C579.602286 451.428571 451.428571 579.602286 451.428571 737.714286S579.602286 1024 737.714286 1024 1024 895.826286 1024 737.714286 895.826286 451.428571 737.714286 451.428571z m-62.205715 423.211429V600.788571l199.131429 121.712L675.508571 874.64z" fill="#64AA44" ></path><path d="M675.508571 874.64V600.788571l199.131429 121.712z" fill="#FFFFFF" ></path></symbol><symbol id="icon-A4" viewBox="0 0 1168 1024"><path d="M1167.449157 964.564732c0 31.791201-24.295416 57.507892-54.184153 57.745209v0.630658H55.720809v-0.630658l-0.500855 0.078668c-30.139165 0-54.685009-25.875339-54.685009-57.823877a60.176061 60.176061 0 0 1 8.932794-31.555196l-0.33303-0.236005L537.947452 26.363083l0.249117 0.236005C547.311611 10.670054 564.790412 0.605746 583.951406 0.25305c19.87032 0 37.152451 11.359713 46.753926 28.163278l0.333029-0.237316 528.730141 906.409137-0.33303 0.236005c5.253736 9.128154 8.00844 19.35242 8.014997 29.74189zM657.805275 346.725613c0-44.143447-32.260589-79.882489-72.112676-79.882489s-72.030074 35.820333-72.030074 79.882489v299.21516c0 44.062156 32.260589 79.801198 72.112676 79.801199s72.112676-35.739042 72.112676-79.801199v-299.21516h-0.082602z m-72.113987 436.507206c-39.769485 0-72.112676 32.280256-72.112676 72.149388 0 39.870443 32.260589 72.075964 72.112676 72.075965s72.112676-32.280256 72.112676-72.075965-32.260589-72.149388-72.112676-72.149388z" fill="#DB0000" ></path></symbol><symbol id="icon-A3" viewBox="0 0 1024 1024"><path d="M754.804503 850.768224c-6.921709-82.559745-10.523082-90.868248-19.031888-122.086963-13.990579-51.414611-64.955529-90.356248-101.192048-115.934786-34.694387-24.485046-64.033725-45.673261-64.033725-86.962331 0-41.279872 27.160527-63.725094 64.033725-96.608575 27.140088-24.217293 58.353693-62.039888 85.622547-100.118994 14.271617-19.917924 27.681725-47.435114 27.681724-74.666156H266.928798c2.595768 24.602571 12.743792 56.360878 23.356807 72.908391 26.584144 41.4301 60.536591 71.144495 92.542211 98.375537 37.199202 31.629541 66.611098 56.213717 66.611098 97.484392 0 42.158754-32.007665 61.482922-66.611098 86.953133-43.253269 25.471234-94.273405 67.63101-105.537405 118.574499-12.11018 28.986762-10.364679 42.158754-17.281277 122.08594h494.795369v-0.005109zM51.509653 927.17988c0-44.791313 10.398403-76.414723 54.498874-76.414722h38.08115c4.307545-80.806068 17.066667-108.06879 24.204008-148.435034 16.216399-91.380248 95.154331-146.677269 143.598115-181.811098 0-2.626427-0.848224-3.503265-2.577373-3.503266-37.215553-27.228998-74.52206-57.905054-111.592495-111.546507-44.245589-64.045988-61.417517-145.82087-64.033724-233.641644H106.007505c-44.964024 0-54.497852-54.448798-54.497852-101.008096v-8.773493C51.508631 16.364583 81.801453 0.562076 127.63414 0.562076h764.714411c44.114778 0 80.448383 15.801485 80.448383 61.483944v8.773493c0 46.558275-18.165269 101.008096-60.550898 101.008096H881.968543c-6.923752 87.822818-19.805509 169.577261-64.879904 233.640623-37.109269 52.745198-79.566435 86.055856-107.251226 113.284854-6.918643 2.644822-3.477717-0.858443-6.054068 1.769006 51.884711 47.428982 110.711569 81.681884 143.582787 181.810076 6.920687 46.551122 17.300695 63.238643 21.644008 148.436056h43.23794c42.383585 0 60.550898 31.622387 60.550898 76.4137v13.173014c0 43.040703-18.165269 83.440671-60.550898 83.440671H106.009549c-44.964024 0-54.497852-40.399968-54.497852-83.440671v-13.175058H51.509653z" fill="#0083BA" ></path></symbol><symbol id="icon-stop" viewBox="0 0 1168 1024"><path d="M1167.449157 964.564732c0 31.791201-24.295416 57.507892-54.184153 57.745209v0.630658H55.720809v-0.630658l-0.500855 0.078668c-30.139165 0-54.685009-25.875339-54.685009-57.823877a60.176061 60.176061 0 0 1 8.932794-31.555196l-0.33303-0.236005L537.947452 26.363083l0.249117 0.236005C547.311611 10.670054 564.790412 0.605746 583.951406 0.25305c19.87032 0 37.152451 11.359713 46.753926 28.163278l0.333029-0.237316 528.730141 906.409137-0.33303 0.236005c5.253736 9.128154 8.00844 19.35242 8.014997 29.74189zM657.805275 346.725613c0-44.143447-32.260589-79.882489-72.112676-79.882489s-72.030074 35.820333-72.030074 79.882489v299.21516c0 44.062156 32.260589 79.801198 72.112676 79.801199s72.112676-35.739042 72.112676-79.801199v-299.21516h-0.082602z m-72.113987 436.507206c-39.769485 0-72.112676 32.280256-72.112676 72.149388 0 39.870443 32.260589 72.075964 72.112676 72.075965s72.112676-32.280256 72.112676-72.075965-32.260589-72.149388-72.112676-72.149388z" fill="#DB0000" ></path></symbol><symbol id="icon-executing" viewBox="0 0 1025 1024"><path d="M512.362667 0.479492C229.712254 0.479492 0.603429 229.596444 0.603429 512.23873 0.603429 794.887111 229.71327 1024 512.362667 1024c282.648381 0 511.760254-229.111873 511.760254-511.760254C1024.121905 229.60254 795.011048 0.479492 512.362667 0.479492z m0 930.475683c-231.246222 0-418.711365-187.457016-418.711365-418.709334 0-231.246222 187.465143-418.718476 418.712381-418.718476 231.250286 0 418.708317 187.472254 418.708317 418.718476 0 231.252317-187.458032 418.709333-418.709333 418.709334zM372.794921 721.601016l395.454984-232.616635L372.794921 302.884571v418.716445z" fill="#64AA44" ></path></symbol><symbol id="icon-youzan" viewBox="0 0 1024 1024"><path d="M116.4921875 116.4921875h791.015625v791.015625H116.4921875z" fill="#cc0000" ></path><path d="M692.21313477 417.21655273c-28.87207031 3.50024414-57.72436523 7.1784668-86.57666016 10.48095704-17.24414063 2.01708984-27.88330078-7.61352539-26.89453125-24.30395508 0.90966797-16.51245117 2.57080078-32.94580078 3.71777344-49.43847657 1.52270508-21.08056641 3.48046875-42.16113281 4.27148437-63.28125 1.18652344-30.82983398-16.57177734-53.01782227-45.48339844-58.08032226-24.2644043-4.25170898-41.88427734 10.06567383-45.9777832 35.00244141a2272.90429688 2272.90429688 0 0 1-21.35742187 114.91479492c-6.76318359 30.94848633-17.34301758 60.90820313-33.00512696 88.53442383-9.65039063 17.06616211-20.84326172 33.00512695-38.87841797 41.56787109-6.18969727 2.9465332-7.71240234 6.38745117-7.71240234 12.81445312 0.19775391 81.33618164 0.11865234 162.75146484 0.11865234 244.08764649v8.62207031c4.11328125-0.49438477 6.92138672-0.81079102 9.72949219-1.24584961 93.18164063-14.57446289 186.30395508-29.14892578 279.4855957-43.64428711 24.58081055-3.81665039 39.94628906-23.51293945 37.05908204-48.76611328-1.16674805-10.32275391 0.05932617-19.87426758 4.70654297-29.12915039 7.71240234-15.50390625 8.80004883-31.69995117 6.28857421-49.02319336-1.58203125-10.67871094-1.81933594-22.88012695 1.72045899-32.74804687 8.36499023-23.27563477 9.96679688-45.64160156 4.46923828-70.02465821-2.76855469-12.37939453 0.73168945-26.75610352 3.42114258-39.82763672 6.34790039-29.58398438-9.29443359-49.43847656-38.83886719-47.57958984a190.57543945 190.57543945 0 0 0-10.28320312 1.06787109zM367.63964844 521.98657227c-3.91552734 0.6328125-6.22924805 0.94921875-8.56274414 1.38427734-18.88549805 3.61889648-37.85009766 7.11914063-56.73559571 10.99511719-13.7043457 2.82788086-21.04101563 12.06298828-21.04101562 26.32104492-0.05932617 69.09521484-0.05932617 138.22998047 0.05932617 207.32519531 0 16.31469727 10.28320313 25.88598633 26.00463867 23.86889649 17.3034668-2.17529297 34.40917969-5.55688477 51.65332032-7.61352539 7.27734375-0.88989258 8.74072266-4.13305664 8.70117187-11.07421875-0.19775391-80.1496582-0.13842773-160.41796875-0.07910156-240.62695313v-10.57983398z" fill="#ffffff" ></path></symbol><symbol id="icon-resume-execute" viewBox="0 0 1024 1024"><path d="M511.9505 961.9989998a449.09950078 449.09950078 0 0 0 449.9994999-449.9994999 451.29949893 451.29949893 0 0 0-449.9994999-449.9994999 451.29949893 451.29949893 0 0 0-449.9994999 449.9994999 449.09950078 449.09950078 0 0 0 449.9994999 449.9994999z m0-69.24992256A379.64957783 379.64957783 0 0 1 131.20092354 511.9994999a379.64957783 379.64957783 0 0 1 380.74957646-380.74957647A379.64957783 379.64957783 0 0 1 892.70007734 511.9994999a381.89957607 381.89957607 0 0 1-380.74957734 380.74957734z m0 0" fill="#707070" ></path><path d="M674.75031875 550.04945732L460.15055791 688.49930411a49.29994511 49.29994511 0 0 1-65.74992715-13.84998487 64.19992852 64.19992852 0 0 1-6.89999238-24.24997266V373.49965391a49.49994463 49.49994463 0 0 1 48.44994609-48.4499461 49.99994473 49.99994473 0 0 1 24.24997266 6.94999248l214.59976172 138.4498459a48.54994627 48.54994627 0 0 1 13.84998487 65.74992715 27.04997021 27.04997021 0 0 1-13.84998487 13.84998398z m0 0" fill="#707070" ></path></symbol><symbol id="icon-C3" viewBox="0 0 1024 1024"><path d="M256 256c0 141.3888 114.6112 256 256 256s256-114.6112 256-256S653.3888 0 512 0 256 114.6112 256 256zM593.2544 518.4L512 599.6544l-81.2544-81.2544C186.624 557.3632 0 768.9216 0 1024h1024c0-255.0784-186.624-466.6368-430.7456-505.6zM512 950.8608l-87.6544-87.6544L512 599.9872l87.6544 263.3216L512 950.8608z" fill="#0083BA" ></path><path d="M738.2528 452.5312C580.4544 452.5312 452.5312 580.4544 452.5312 738.2528c0 157.824 127.9232 285.7472 285.7216 285.7472 157.824 0 285.7472-127.9232 285.7472-285.7472C1024 580.4544 896.0768 452.5312 738.2272 452.5312z" fill="#64AA44" ></path><path d="M640 614.4m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path><path d="M793.6 606.1312m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path></symbol><symbol id="icon-C2" viewBox="0 0 1049 1024"><path d="M55.0656 653.0048l218.368 223.0016L0 928.256z" fill="#3089DC" ></path><path d="M101.888 605.2864L553.0368 151.1168l218.9568 220.416-451.1744 454.1696zM600.448 98.6368L698.4448 0l218.3424 219.776-97.9968 98.6368z" fill="#0083BA" ></path><path d="M746.5216 435.2C588.7232 435.2 460.8 563.1232 460.8 720.9216c0 157.824 127.9232 285.7472 285.7216 285.7472 157.824 0 285.7472-127.9232 285.7472-285.7472C1032.2688 563.1232 904.3456 435.2 746.496 435.2z" fill="#64AA44" ></path><path d="M648.2688 597.0688m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path><path d="M801.8688 588.8m25.6 0l0 0q25.6 0 25.6 25.6l0 230.4q0 25.6-25.6 25.6l0 0q-25.6 0-25.6-25.6l0-230.4q0-25.6 25.6-25.6Z" fill="#FFFFFF" ></path></symbol><symbol id="icon-C1" viewBox="0 0 1024 1024"><path d="M512 0C229.2224 0 0 229.2224 0 512s229.2224 512 512 512 512-229.2224 512-512S794.7776 0 512 0z m0 930.9184c-231.3472 0-418.9184-187.5456-418.9184-418.9184 0-231.3472 187.5712-418.9184 418.9184-418.9184 231.3728 0 418.9184 187.5712 418.9184 418.9184 0 231.3728-187.5456 418.9184-418.9184 418.9184z" fill="#64AA44" ></path><path d="M332.8 307.2m51.2 0l0 0q51.2 0 51.2 51.2l0 332.8q0 51.2-51.2 51.2l0 0q-51.2 0-51.2-51.2l0-332.8q0-51.2 51.2-51.2Z" fill="#64AA44" ></path><path d="M588.8 307.2m51.2 0l0 0q51.2 0 51.2 51.2l0 332.8q0 51.2-51.2 51.2l0 0q-51.2 0-51.2-51.2l0-332.8q0-51.2 51.2-51.2Z" fill="#64AA44" ></path></symbol><symbol id="icon-pause" viewBox="0 0 1024 1024"><path d="M512 62a450 450 0 0 0-450 450 450 450 0 1 0 450-450z m0 832.5A382.95 382.95 0 0 1 129.5 512c0-210.85714247 171.51428585-382.5 382.5-382.5 210.85714247 0 382.5 171.51428585 382.5 382.5A383.14285753 383.14285753 0 0 1 512 894.5z" fill="#666666" ></path><path d="M630.15714249 324.47857167c17.48571417 0 31.82142832 18.25714249 31.82142918 40.62857082v293.78571504c0 22.37142833-14.33571415 40.62857168-31.82142918 40.62857079H614.21428585c-17.55 0-31.82142832-18.25714249-31.82142834-40.62857079v-293.78571504c0-22.37142833 14.33571415-40.62857168 31.82142832-40.62857081h15.94285664z m-220.37142832 1e-8c17.48571417 0 31.82142832 18.25714249 31.82142832 40.62857081v293.78571504c0 22.37142833-14.33571415 40.62857168-31.82142832 40.62857079h-15.94285664c-17.55 0-31.82142832-18.25714249-31.8214292-40.62857079v-293.78571504c0-22.37142833 14.33571415-40.62857168 31.8214292-40.62857081h15.94285664z" fill="#666666" ></path></symbol><symbol id="icon-error" viewBox="0 0 1024 1024"><path d="M512.00408604 961.87536934C263.69500537 961.87536934 62.4178206 760.59818369 62.4178206 512.28808174S263.69807011 62.70181631 512.00408604 62.70181631c248.28354141 0 449.58626543 201.27718477 449.58626542 449.58626543 0.00102129 248.31112412-201.30170273 449.5872876-449.58626542 449.5872876zM146.71441513 512.28808174c0 201.7450626 163.54767305 365.29069219 365.28967091 365.29069219 85.67162315 0 164.28830888-29.71940977 226.57934179-79.0845627L225.80102129 285.68422285c-49.36208818 62.31861562-79.08660615 140.9342792-79.08660616 226.6028376v0.00102129zM512.00408604 147.00147559c-85.67162315 0-164.28626543 29.71940977-226.6028376 79.08456269l512.78342783 512.78240654c49.39171435-62.28898945 79.10908067-140.90669737 79.10908066-226.57934179-0.00102129-201.74404042-163.54562959-365.28967089-365.29069219-365.2896709l0.0010213 0.00204345z" fill="#DB0000" ></path></symbol><symbol id="icon-all" viewBox="0 0 1024 1024"><path d="M138.166 303.633h747.642c19.529 0 35.514-15.632 35.514-34.78 0-19.124-15.785-34.756-35.514-34.756H138.166c-19.503 0-35.489 15.632-35.489 34.756 0 19.147 15.986 34.78 35.489 34.78z m747.642 173.7H138.166c-19.503 0-35.489 15.632-35.489 34.755 0 19.148 15.962 34.78 35.489 34.78h747.642c19.529 0 35.514-15.632 35.514-34.78 0-19.123-15.986-34.755-35.514-34.755z m0 243.06H138.166c-19.503 0-35.489 15.481-35.489 34.807 0 19.225 15.962 34.704 35.489 34.704h747.642c19.529 0 35.514-15.481 35.514-34.704 0-19.326-15.986-34.807-35.514-34.807z" fill="#0083BA" ></path></symbol><symbol id="icon-success" viewBox="0 0 1024 1024"><path d="M511.197728 63.61076c246.953462 0 447.150016 200.146413 447.150016 447.038476 0 246.892063-200.196555 447.038476-447.150016 447.038476-246.954485 0-447.150016-200.145389-447.150016-447.038476 0-246.892063 200.195531-447.038476 447.150016-447.038476z" fill="#64AA44" ></path><path d="M722.492038 374.556675L482.385519 682.69259c-0.597611 0.7552-1.457188 1.112334-2.115174 1.787716-0.847298 0.874927-1.341554 1.970888-2.322905 2.747577-0.713244 0.564865-1.582031 0.701988-2.331092 1.186012-1.482771 0.969071-2.989077 1.682315-4.603854 2.342348-1.734504 0.705058-3.40454 1.318018-5.211699 1.656733-1.730411 0.334621-3.405563 0.39295-5.169743 0.397043-1.76418-0.004093-3.439332-0.062422-5.169743-0.397043-1.808182-0.338714-3.478218-0.951675-5.212722-1.656733-1.614777-0.660032-3.121084-1.373277-4.603854-2.342348-0.748037-0.484024-1.617847-0.621147-2.331092-1.186012-0.980327-0.776689-1.475608-1.87265-2.322905-2.747577-0.656963-0.675382-1.51654-1.032516-2.115174-1.787716L299.061236 550.337143c-9.53619-12.041244-7.505951-29.53364 4.535294-39.06983 12.041244-9.53619 29.53364-7.505951 39.06983 4.535293L457.503828 624.51354l221.382063-284.491403c9.53619-12.041244 27.02961-14.072507 39.069831-4.535293 12.042267 9.53619 14.072507 27.028587 4.536316 39.069831z" fill="#FFFFFF" ></path></symbol><symbol id="icon-dingdan1" viewBox="0 0 1024 1024"><path d="M883.776 94.08c41.344 0 76.352 31.936 75.072 71.04v764.8c0 39.04-35.008 71.104-76.352 71.104H137.792c-40.128 0-72.768-32-72.768-71.104V165.12c0-39.104 31.36-71.04 72.768-71.04H296.96c7.616-30.848 37.76-54.592 72.768-54.592h80.256c9.92-23.616 33.792-39.04 61.44-39.04 27.456 0 51.264 15.36 61.312 39.04h78.976c35.2 0 65.28 23.808 72.768 54.592h159.232-0.064z m-141.696 622.72v-23.68c0-14.272-12.608-26.048-27.648-26.048H310.72c-15.04 0-27.584 11.776-27.584 26.048v23.744c0 14.208 12.544 26.048 27.584 26.048h403.648c15.104 0 27.584-11.84 27.584-26.048h0.128z m0-240.384v-23.68c0-14.208-12.608-26.112-27.648-26.112H310.72c-15.04 0-27.584 11.904-27.584 26.048v23.744c0 14.272 12.544 26.048 27.584 26.048h403.648c15.104 0 27.584-11.776 27.584-26.048h0.128z" fill="#3171F5" ></path><path d="M512.64 128.384c33.856 0 60.16 26.048 60.16 56.896 0 32-27.52 56.832-60.16 56.832-33.92 0-60.224-26.048-60.224-56.832 0-30.848 26.432-56.96 60.16-56.96z" fill="#3171F5" ></path></symbol></svg>',l=(l=document.getElementsByTagName("script"))[l.length-1].getAttribute("data-injectcss");if(l&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(e){console&&console.log(e)}}function s(){i||(i=!0,a())}t=function(){var e,t=document.createElement("div");t.innerHTML=o,o=null,(t=t.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",(e=document.body).firstChild?function(e,t){t.parentNode.insertBefore(e,t)}(t,e.firstChild):e.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),t()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(a=t,r=e.document,i=!1,function e(){try{r.documentElement.doScroll("left")}catch(t){return void setTimeout(e,50)}s()}(),r.onreadystatechange=function(){"complete"==r.readyState&&(r.onreadystatechange=null,s())})}(window);var Vs=function(e){function t(){return y(this,t),u(this,t,arguments)}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.style,n='<use xlink:href="#icon-'.concat(e.symbol,'" />');return l.default.createElement("svg",{className:"".concat("customer-view","-icon-svg"),dangerouslySetInnerHTML:{__html:n},style:t})}}]),t}(t.Component),Us=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).platDataAjax=function(){return xs.getPlatRFMInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){return e.sort((function(e,t){return Number(t.allAvgPayment||0)-Number(e.allAvgPayment||0)})),{list:e}})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},n.shopDataAjax=function(){return xs.getShopRFMInfo(n.context.domain,n.context.serverName,n.context.uniId).then((function(e){return e.sort((function(e,t){return Number(t.allAvgPayment||0)-Number(e.allAvgPayment||0)})),n.setState({shopTableLoading:!1}),{list:e}})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))},n.thousandAndDecimal=function(e){return e?parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1,"):"0.00"},n.getColumn=function(e){var t=[{title:"平台名称",dataIndex:"platCode",align:"left",width:120,fixed:"left",render:function(t){var n;return l.default.createElement("div",{className:"plat-code-flex"},El.includes(t)?l.default.createElement(Vs,{symbol:"".concat(t,"01"),style:{width:"shop"===e?"16px":"24px",height:"shop"===e?"16px":"24px"}}):l.default.createElement("img",{width:"shop"===e?"16px":"24px",height:"shop"===e?"16px":"24px",src:"https://brand-guide.shuyun.com/IAM/717f6f9c6abf.svg"}),l.default.createElement("span",{className:"shop"===e?"shop-name":"plat-name"},(null===(n=function(e){var t,n={},a=O(kl);try{for(a.s();!(t=a.n()).done;){var r=t.value;n[r.plat]=r}}catch(e){a.e(e)}finally{a.f()}return n[e]}(t))||void 0===n?void 0:n.platName)||"未知"))}},{title:"总购买金额(元)",dataIndex:"allPayment",align:"right",width:128,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"allPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"总购买次数",dataIndex:"allCountBuy",align:"right",width:120,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"allCountBuy",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"平均客单价(元)",dataIndex:"allAvgPayment",align:"right",width:128,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"allAvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"首次购买日期",dataIndex:"firstCreated",align:"right",width:130,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"firstCreated",r,"date")},render:function(e){return l.default.createElement("span",null,e?bt.moment(e).format("yyyy-MM-dd"):"-")}},{title:"最近一次购买金额(元)",dataIndex:"lastPayment",align:"right",width:170,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"lastPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近一年购买金额(元)",dataIndex:"yearPayment",align:"right",width:170,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"yearPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近一年购买次数",dataIndex:"yearCountBuy",align:"right",width:150,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"yearCountBuy",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近一年平均客单价(元)",dataIndex:"yearAvgPayment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"yearAvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近30天购买金额(元)",dataIndex:"day30Payment",align:"right",width:180,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day30Payment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近30天购买次数",dataIndex:"day30BuyTimes",align:"right",width:150,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day30BuyTimes",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近30天平均客单价(元)",dataIndex:"day30AvgPayment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day30AvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近60天购买金额(元)",dataIndex:"day60Payment",align:"right",width:180,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day60Payment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近60天购买次数",dataIndex:"day60BuyTimes",align:"right",width:150,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day60BuyTimes",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近60天平均客单价(元)",dataIndex:"day60AvgPayment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day60AvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近90天购买金额(元)",dataIndex:"day90Payment",align:"right",width:180,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day90Payment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近90天购买次数",dataIndex:"day90BuyTimes",align:"right",width:150,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day90BuyTimes",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近90天平均客单价(元)",dataIndex:"day90AvgPayment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day90AvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近180天购买金额(元)",dataIndex:"day180Payment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day180Payment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近180天购买次数",dataIndex:"day180BuyTimes",align:"right",width:158,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day180BuyTimes",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近180天平均客单价(元)",dataIndex:"day180AvgPayment",align:"right",width:198,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day180AvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近730天购买金额(元)",dataIndex:"day730Payment",align:"right",width:188,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day730Payment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近730天购买次数",dataIndex:"day730BuyTimes",align:"right",width:158,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day730BuyTimes",r)},render:function(e){return l.default.createElement("span",null,e||"-")}},{title:"最近730天平均客单价(元)",dataIndex:"day730AvgPayment",align:"right",width:198,sortable:!0,sorter:function(t,a,r){return n.sortFun(e,t,a,"day730AvgPayment",r)},render:function(e){return l.default.createElement("span",null,e||"-")}}];return"shop"===e&&t.splice(1,0,{title:"店铺名称",dataIndex:"shopName",align:"left",width:180,fixed:"left",ellipsis:!0,render:function(e){return l.default.createElement(r.Tooltip,{content:e,placement:"top-left"},l.default.createElement("span",null,e||"-"))}}),t},n.sortFun=function(e,t,n,a,r,i){var o=t[a]||"",l=n[a]||"";return"date"===i?"ASC"===r.sortBy?bt.moment(o).format("YYYYMMDD")-bt.moment(l).format("YYYYMMDD"):"DESC"===r.sortBy?bt.moment(l).format("YYYYMMDD")-bt.moment(o).format("YYYYMMDD"):0:"ASC"===r.sortBy?Number(o)-Number(l):"DESC"===r.sortBy?Number(l)-Number(o):0},n.state={customerInfo:{},rfmLoading:!0},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){var e=this;xs.getRfmTenantInfo(this.context.domain,this.context.serverName,this.context.uniId).then((function(t){(t=t||{}).first=e.dealData(t.firstShopId,t.firstShopName),t.last=e.dealData(t.lastShopId,t.lastShopName),t.bought=e.dealData2(t.platShopNames),e.setState({customerInfo:t,rfmLoading:!1})})).catch((function(e){a.Message.error(e.msg||"内部错误,请联系数据客服")}))}},{key:"dealData",value:function(e,t){var n=[],a=e?e.split(","):[],r=t?t.split(","):[];return a.forEach((function(e,t){var a,i=e.split("|"),o=(null===(a=kl.find((function(e){return e.plat===i[0]})))||void 0===a?void 0:a.platName)||"未知",l=r[t];n.push("".concat(o," | ").concat(l))})),n}},{key:"dealData2",value:function(e){var t=[];e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){var a,r=(null===(a=kl.find((function(e){return e.plat===n})))||void 0===a?void 0:a.platName)||"未知";t.push("".concat(r," | ").concat(e))}))}));return t}},{key:"render",value:function(){var e=this.state,t=e.customerInfo,n=t.allPayment,a=t.allCountBuy,i=t.allAvgPayment,o=t.first,s=t.last,u=t.bought;return e.rfmLoading?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"rfm-module-new"},l.default.createElement("section",{className:"common-rfm-block allRfm"},l.default.createElement("div",{className:"common-title"},l.default.createElement("div",{className:"common-title-left"},l.default.createElement("div",null),l.default.createElement("p",null,"全渠道RFM"))),l.default.createElement("div",{className:"allRfm-info"},l.default.createElement("div",{className:"left"},l.default.createElement("div",{className:"left-num-info"},l.default.createElement("img",{src:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%206%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%AE%A2%E6%88%B7%E8%A7%86%E5%9B%BE%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E6%B8%A0%E9%81%93%E5%AE%A2%E6%88%B7%E7%94%BB%E5%83%8F-RFM%E6%A0%87%E7%AD%BE%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%28-528%2C%20-327%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%22%20transform%3D%22translate%28360%2C%20259%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%28168%2C%2068%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22%E6%A4%AD%E5%9C%86%E5%BD%A2%22%20fill%3D%22%23FFF5E6%22%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%2224%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22pic%2Ficon%2F%E9%92%B1%E5%B8%8101%22%20transform%3D%22translate%2815.25%2C%2014%29%22%20fill%3D%22%23FD830A%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M15.703125%2C13%20L15.703125%2C15.0917969%20C15.703125%2C16.6328125%2012.5808408%2C17.8828125%208.7265625%2C17.8828125%20C4.875%2C17.8828125%201.75195313%2C16.6328125%201.75195313%2C15.0917969%20L1.75195313%2C13%20C1.75195313%2C14.5410156%204.87304688%2C15.7910156%208.7265625%2C15.7910156%20C12.578125%2C15.7910156%2015.7011719%2C14.5410156%2015.703125%2C13%20Z%20M15.703125%2C9.5%20L15.703125%2C11.5917969%20C15.703125%2C13.1328125%2012.5808408%2C14.3828125%208.7265625%2C14.3828125%20C4.875%2C14.3828125%201.75195313%2C13.1328125%201.75195313%2C11.5917969%20L1.75195313%2C9.5%20C1.75195313%2C11.0410156%204.87304688%2C12.2910156%208.7265625%2C12.2910156%20C12.578125%2C12.2910156%2015.7011719%2C11.0410156%2015.703125%2C9.5%20Z%20M15.703125%2C6.11328125%20L15.703125%2C8.20507813%20C15.703125%2C9.74609375%2012.5808408%2C10.9960938%208.7265625%2C10.9960938%20C4.875%2C10.9960938%201.75195313%2C9.74609375%201.75195313%2C8.20507813%20L1.75195313%2C6.11328125%20C1.75195313%2C7.65429688%204.87304688%2C8.90429688%208.7265625%2C8.90429688%20C12.578125%2C8.90429688%2015.7011719%2C7.65429688%2015.703125%2C6.11328125%20Z%20M8.72460938%2C0%20C12.5761719%2C0%2015.6992188%2C1.25%2015.6992188%2C2.79101563%20L15.6992188%2C4.8828125%20C15.6992188%2C6.42382812%2012.5761719%2C7.67382812%208.72460938%2C7.67382812%20C4.87304688%2C7.67382812%201.75%2C6.42382812%201.75%2C4.8828125%20L1.75%2C2.79101563%20C1.75%2C1.25%204.87304688%2C0%208.72460938%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",className:"img"}),l.default.createElement("div",{className:"num"},l.default.createElement("p",null,"总购买金额"),l.default.createElement("p",null,n?this.thousandAndDecimal(Number(n)):"0.00"))),l.default.createElement("div",{className:"left-num-info"},l.default.createElement("img",{src:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%204%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%AE%A2%E6%88%B7%E8%A7%86%E5%9B%BE%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E6%B8%A0%E9%81%93%E5%AE%A2%E6%88%B7%E7%94%BB%E5%83%8F-RFM%E6%A0%87%E7%AD%BE%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%28-528%2C%20-399%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%22%20transform%3D%22translate%28360%2C%20259%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-4%22%20transform%3D%22translate%28168%2C%20140%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22%E6%A4%AD%E5%9C%86%E5%BD%A2%E5%A4%87%E4%BB%BD%22%20fill%3D%22%23EDF4FF%22%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%2224%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22pic%2Ficon%2F%E9%92%B1%E5%B8%8101%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%2814.5%2C%2014%29%22%20fill%3D%22%230055CC%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M8.305632%2C7.71566059%20L10.2408454%2C18.9137493%20C10.2408454%2C18.9137493%2011.6712205%2C17.4442372%2012.8518906%2C16.4189647%20L15.4480078%2C19.8875551%20C15.5525039%2C20.0284115%2015.7804954%2C20.0378923%2015.9542032%2C19.9105797%20L17.0629475%2C19.1020094%20C17.2380123%2C18.9746969%2017.2950102%2C18.7566402%2017.189157%2C18.6157837%20L14.6636086%2C15.2420006%20C15.9827021%2C14.7110801%2018.1554066%2C14.1070226%2018.1554066%2C14.1070226%20L8.305632%2C7.71566059%20Z%20M5.18160593%2C12.886718%20L2.30049936%2C14.9887298%20C1.86487279%2C15.3070113%201.78616144%2C15.9191951%202.13086284%2C16.3729155%20C2.47556424%2C16.8252814%203.11204045%2C16.9444676%203.54630992%2C16.6275406%20L6.4274165%2C14.5255288%20C6.87254271%2C14.2004754%206.94718278%2C13.5625582%206.60248138%2C13.1101922%20C6.25913708%2C12.6564719%205.62673215%2C12.5616646%205.18160593%2C12.886718%20Z%20M18.7810261%2C4.2226912%20C18.4363247%2C3.77032526%2017.8134194%2C3.66874608%2017.3587935%2C4.0005714%20L14.4980433%2C6.08903933%20C14.0434175%2C6.42086465%2013.9647061%2C7.03440289%2014.3094075%2C7.48676884%20C14.6541089%2C7.93913479%2015.2905851%2C8.05832102%2015.745211%2C7.7264957%20L18.6059612%2C5.63802777%20C19.0605871%2C5.30620245%2019.1257275%2C4.67505715%2018.7810261%2C4.2226912%20Z%20M5.41366868%2C2.06108626%20C5.07575275%2C1.61820104%204.45420455%2C1.51662186%203.9982216%2C1.84844718%20C3.57209467%2C2.15995666%203.48388369%2C2.77891247%203.82179963%2C3.22179769%20L6.05964453%2C6.15946756%20C6.39756047%2C6.60370717%207.02860831%2C6.69716002%207.45473524%2C6.38565053%20C7.9093611%2C6.05382521%207.98942953%2C5.44164136%207.65151359%2C4.99740175%20L5.41366868%2C2.06108626%20Z%20M11.0646003%2C5.55134687%20C11.619651%2C5.64073655%2012.1299176%2C5.26827956%2012.2018435%2C4.72110638%20L12.651041%2C1.16989826%20C12.7229669%2C0.62407947%2012.3334814%2C0.112120405%2011.7702882%2C0.0132500037%20C11.2152375%2C-0.0761396742%2010.7049709%2C0.296317317%2010.633045%2C0.842136109%20L10.1824904%2C4.39469861%20C10.1132787%2C4.94187179%2010.5027641%2C5.45247647%2011.0646003%2C5.55134687%20Z%20M5.6348747%2C9.51428926%20C5.68915838%2C8.96576169%205.29967295%2C8.45515702%204.75412191%2C8.35764101%20L1.14832815%2C7.76577299%20C0.574278178%2C7.6899272%200.0735111853%2C8.05561224%200.0110849477%2C8.59601348%20C-0.0716976717%2C9.16621127%200.317787767%2C9.67681595%200.891837735%2C9.75266174%20L4.4976315%2C10.3445298%20C5.04318253%2C10.439337%205.54530662%2C10.0736519%205.6348747%2C9.51428926%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",className:"img"}),l.default.createElement("div",{className:"num"},l.default.createElement("p",null,"总购买次数"),l.default.createElement("p",null,a?Number(a):"0"))),l.default.createElement("div",{className:"left-num-info"},l.default.createElement("img",{src:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%AE%A2%E6%88%B7%E8%A7%86%E5%9B%BE%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E6%B8%A0%E9%81%93%E5%AE%A2%E6%88%B7%E7%94%BB%E5%83%8F-RFM%E6%A0%87%E7%AD%BE%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%28-528%2C%20-471%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%22%20transform%3D%22translate%28360%2C%20259%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%28168%2C%20212%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22%E6%A4%AD%E5%9C%86%E5%BD%A2%E5%A4%87%E4%BB%BD-2%22%20fill%3D%22%23EEEFFF%22%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%2224%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22pic%2Ficon%2F%E9%92%B1%E5%B8%8101%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%2815%2C%2014%29%22%20fill%3D%22%23555BB3%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M1.97139943%2C14.0392884%20L0.0426787549%2C17.1041791%20C-0.0115916797%2C17.1923954%20-0.0142876643%2C17.3035672%200.0356411106%2C17.3943838%20C0.0855698856%2C17.4852003%200.180226405%2C17.5412976%200.282734107%2C17.5408211%20L2.8405654%2C17.6835694%20C2.91177183%2C17.6854261%202.97848819%2C17.7192646%203.02267637%2C17.7759359%20L4.58717511%2C19.8919701%20C4.6468881%2C19.9606531%204.73281404%2C20%204.82309159%2C20%20C4.91336914%2C20%204.99929508%2C19.9606531%205.05900806%2C19.8919701%20L6.85528443%2C16.8690642%20C6.89989301%2C16.80739%206.91550145%2C16.728934%206.89796349%2C16.6545375%20C6.88042553%2C16.5801409%206.83151659%2C16.5173351%206.76422893%2C16.482804%20L2.31906582%2C13.9637158%20C2.19818518%2C13.9241824%202.06569705%2C13.9529815%201.97139943%2C14.0392884%20L1.97139943%2C14.0392884%20Z%20M16.0684437%2C13.9889067%20L17.9557756%2C17.0621943%20C18.0107147%2C17.1478167%2018.0147536%2C17.2571583%2017.9662851%2C17.3467112%20C17.9178167%2C17.4362641%2017.8247043%2C17.4914997%2017.723998%2C17.4904393%20L15.1661667%2C17.6331876%20C15.0912345%2C17.6369288%2015.021669%2C17.6737464%2014.9757779%2C17.7339511%20L13.419557%2C19.8415883%20C13.359844%2C19.9102714%2013.273918%2C19.9496182%2013.1836405%2C19.9496182%20C13.0933629%2C19.9496182%2013.007437%2C19.9102714%2012.947724%2C19.8415883%20L11.1514477%2C16.7934915%20C11.1068391%2C16.7318173%2011.0912306%2C16.6533614%2011.1087686%2C16.5789648%20C11.1263065%2C16.5045682%2011.1752155%2C16.4417625%2011.2425031%2C16.4072314%20L15.6876662%2C13.8881431%20C15.7503366%2C13.8463043%2015.8275576%2C13.8333862%2015.9001528%2C13.8525968%20C15.9727481%2C13.8718073%2016.0339077%2C13.9213445%2016.0684437%2C13.9889067%20L16.0684437%2C13.9889067%20Z%20M15.6628329%2C3.63545409%20L9.66144884%2C0.175906276%20C9.21501724%2C-0.0586354255%208.6841038%2C-0.0586354255%208.2376722%2C0.175906276%20L2.27767697%2C3.58507233%20C1.85291648%2C3.83363122%201.58634021%2C4.28856406%201.5740664%2C4.7858377%20L1.5740664%2C11.6461546%20C1.58634021%2C12.1434283%201.85291648%2C12.5983611%202.27767697%2C12.84692%20L8.32044992%2C16.2980709%20C8.76177797%2C16.5414693%209.29462074%2C16.5414693%209.73594879%2C16.2980709%20L15.695944%2C12.9392866%20C16.1109231%2C12.6923774%2016.368384%2C12.243296%2016.3747364%2C11.7553151%20L16.3747364%2C4.87820428%20C16.3770769%2C4.36366991%2016.1046843%2C3.88815158%2015.6628329%2C3.63545409%20Z%20M13.0387795%2C6.80950525%20L9.54556004%2C11.9400483%20C9.39106712%2C12.1436684%209.15317356%2C12.2643279%208.8998939%2C12.2675297%20C8.64518685%2C12.2623218%208.40703128%2C12.1384322%208.25422775%2C11.9316513%20L4.89345266%2C6.80110829%20C4.77955096%2C6.63797062%204.73483031%2C6.43534219%204.76928609%2C6.23851192%20C4.80747215%2C6.03186384%204.92703941%2C5.84993051%205.10039694%2C5.73469427%20C5.45419003%2C5.54083069%205.89415188%2C5.63292367%206.14339611%2C5.95301525%20L8.85850505%2C10.075923%20L11.7060583%2C5.87744261%20C11.8199259%2C5.70751844%2011.9964562%2C5.59127109%2012.1958126%2C5.55493345%20C12.395169%2C5.51859581%2012.6005517%2C5.56523005%2012.765613%2C5.68431251%20C12.9798792%2C5.80336339%2013.131361%2C6.012345%2013.1795016%2C6.25530584%20C13.2176006%2C6.45211983%2013.1658689%2C6.65585247%2013.0387795%2C6.80950525%20L13.0387795%2C6.80950525%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",className:"img"}),l.default.createElement("div",{className:"num"},l.default.createElement("p",null,"平均客单价"),l.default.createElement("p",null,i?this.thousandAndDecimal(Number(i)):"0.00")))),l.default.createElement("div",{className:"right"},l.default.createElement("div",{className:"right-table-title"},"首次购买过的平台/店铺"),o&&o.length?o.map((function(e){return l.default.createElement("div",{className:"right-table-info"},e)})):l.default.createElement("div",{className:"right-table-info"},"-"),l.default.createElement("div",{className:"right-table-title"},"最后一次购买过的平台/店铺"),s&&s.length?s.map((function(e){return l.default.createElement("div",{className:"right-table-info"},e)})):l.default.createElement("div",{className:"right-table-info"},"-"),l.default.createElement("div",{className:"right-table-title"},"购买过的平台/店铺"),u&&u.length?u.map((function(e){return l.default.createElement("div",{className:"right-table-info"},e)})):l.default.createElement("div",{className:"right-table-info"},"-")))),l.default.createElement("section",{className:"common-rfm-block platRfm"},l.default.createElement("div",{className:"common-title"},l.default.createElement("div",{className:"common-title-left"},l.default.createElement("div",null),l.default.createElement("p",null,"平台RFM标签"))),l.default.createElement("div",{className:"platRfm-info"},l.default.createElement(r.CTable,{rowKey:"id",columnData:this.getColumn(),ajaxData:this.platDataAjax,sortWidthOriginStatus:!0,dataKey:"list",emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("p",{style:{"margin-top":"8px"}},"暂无数据"))}}))),l.default.createElement("section",{className:"common-rfm-block"},l.default.createElement("div",{className:"common-title"},l.default.createElement("div",{className:"common-title-left"},l.default.createElement("div",null),l.default.createElement("p",null,"店铺RFM标签"))),l.default.createElement("div",{className:"shopRfm-info"},l.default.createElement(r.CTable,{rowKey:"id",columnData:this.getColumn("shop"),sortWidthOriginStatus:!0,ajaxData:this.shopDataAjax,dataKey:"list",emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("p",{style:{"margin-top":"8px"}},"暂无数据"))}}))))}}]),t}(l.default.Component);Us.contextType=Jl;var Hs=function(){function e(){y(this,e)}var t,n,a,r,i,o,l,s,u,c,d;return w(e,[{key:"getCustomerMarkedTagList",value:(d=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/new/tag/?tagType=").concat(r),e.next=3,ye.get(i);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return d.apply(this,arguments)})},{key:"saveDefineTag",value:(c=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/tag"),e.next=3,ye.post(i,r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return c.apply(this,arguments)})},{key:"updateDefineTag",value:(u=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/tag"),e.next=3,ye.put(i,r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return u.apply(this,arguments)})},{key:"getCustomerCanSelectTagList",value:(s=g(p().mark((function e(t,n,a,r,i,o){var l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l="".concat(t,"/").concat(n,"/tagManage/").concat(r,"/groupInfo?platCode=").concat(i,"&shopId=").concat(o),e.next=3,ye.get(l);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a,r,i){return s.apply(this,arguments)})},{key:"DeleteCustomerDefineTag",value:(l=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/tag/").concat(r),e.next=3,ye.delete(i);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return l.apply(this,arguments)})},{key:"getRFMTagsInfo",value:(o=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerRfm/").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return o.apply(this,arguments)})},{key:"getSoloPlatRfmInfo",value:(i=g(p().mark((function e(t,n,a,r,i){var o;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(t,"/").concat(n,"/customerRfm/").concat(a,"?platCode=").concat(r,"&shopId=").concat(i),e.next=3,ye.get(o);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,a,r){return i.apply(this,arguments)})},{key:"getPlatShopList",value:(r=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/").concat(n,"/customerTag/plat/shop?uniId=").concat(a),e.next=3,ye.get(r);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"getMarkedOutsideTagList",value:(a=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/").concat(n,"/customerTag/").concat(a,"/qw/tag/?tagType=").concat(r),e.next=3,ye.get(i);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n,r){return a.apply(this,arguments)})},{key:"getCustomerInfo",value:(n=g(p().mark((function e(t){var n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(t,"/data-manage-x/1.0/customer/platform"),e.next=3,ye.get(n);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"batchUpdateTag",value:(t=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/data-manage-x/1.0/customerTag/").concat(n,"/tag/batch"),e.next=3,ye.put(r,a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n,a){return t.apply(this,arguments)})}]),e}(),qs=new Hs,Ws=function(e){var n=t.useRef(),a=I(t.useState(e.value||[]),2),i=a[0],o=a[1],s=I(t.useState(e.maxKeywordsNum||100),2),u=s[0],c=I(t.useState(""),2),d=c[0],f=c[1],p=(I(t.useState(!1),2),function(e){f(e?e.target.value:"")}),h=l.default.createElement(r.Input,{className:"test-test-test",placeholder:"请输入",maxLength:20,value:d,onChange:p,ref:n,style:{marginRight:10,width:"168px"}}),m=e.disabled;return l.default.createElement("div",{style:{display:"flex",alignItems:"center",minHeight:"32px"}},l.default.createElement("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",marginTop:"-14px"}},i.map((function(t,n){return l.default.createElement(r.Tooltip,{key:t,content:t},l.default.createElement("section",{color:"gray",className:"choose-tag-show"},l.default.createElement("span",null,t),l.default.createElement(r.Popover,{trigger:"click",content:"确定要删除该关键字吗?",confirmText:"确定",showCancelBtn:!0,showConfirmBtn:!0,onConfirmClick:function(){!function(t){if(!e.disabled){r.Message.success("关键字删除成功");var n=i.filter((function(e,n){return n!==t}));o(n),e.onChange(n)}}(n)}},m?"":l.default.createElement(r.Icon,{type:"close"}))))})),l.default.createElement(r.Popover,{trigger:"click",content:h,confirmText:"确定",showCancelBtn:!0,showConfirmBtn:!0,onCancelClick:function(){p()},onVisibleChange:function(e){!function(e){e&&setTimeout((function(){n.current.inputRef.current.focus()}))}(e)},placement:"bottom",width:200,onConfirmClick:function(){!e.disabled&&u>i.length&&(d?/^[\u4e00-\u9fa5\w-.();]+$/g.test(d)&&20>=(null==d?void 0:d.length)?i.find((function(e){return e===d}))?r.Message.error("关键字重复,请重新输入"):(o([].concat(N(i),[d])),f(""),e.onChange([].concat(N(i),[d]))):r.Message.error("只能输入1-20位中文、英文、数字、中文括号、中文分号、.(点号)、_(下划线)、-(减号) 。"):r.Message.error("关键字不能为空"))}},l.default.createElement(r.Button,{type:"text",icon:"plus-solid",disabled:i.length>=u||m,size:"small",style:{marginTop:"14px"}},"添加字符"))))},Gs=r.CPicker.MonthPicker,Ks=150;function Ys(e){var t=new Date(e),n=new Date;if(t.getTime()>n.getTime())return"-";var a=t.getFullYear(),r=t.getMonth()+1,i=t.getDate(),o={year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate()},l=o.year-a,s=0,u=0;(r>o.month?(l-=1,s=12+o.month-r):s=o.month-r,i>o.day)?(u=new Date(o.year,o.month,0).getDate()+o.day-i,0>(s-=1)&&(s=11,l-=1)):u=o.day-i;(l>Ks||l===Ks&&s>0||l===Ks&&0===s&&u>0)&&(l=151,s=0,u=0);var c=[l,s,u].reduce((function(e,t,n){return t&&(e="".concat(e).concat(t).concat(0===n?"岁":1===n?"月":"天")),e}),"");return c||"0天"}function Qs(e){var t=new Date(e);t=new Date(t.getTime()-24192e6);var n=(new Date).getTime()-t.getTime(),a=Math.floor(n/864e5/7);return a>40||0>a?"-":"".concat(a,"周")}var Js=function(){for(var e="",t=1;3>=t;t+=1)e+=Math.random().toString(32).substr(2);return e.replace(/^\d+/,"")},Xs=function(e){var n=t.useRef(),a=r.Field.useField(),i=I(t.useState(!1),2),o=i[0],s=i[1],u=I(t.useState([]),2),c=u[0],d=u[1],h=I(t.useState([]),2),m=h[0],v=h[1],y=I(t.useState({}),2),b=y[0],w=y[1],C=I(t.useState({}),2),S=C[0],_=C[1],x=I(t.useState(!0),2),A=x[0],D=x[1],T=I(t.useState(""),2),O=T[0],M=T[1],F=I(t.useState({}),2),L=F[0],P=F[1],B=I(t.useState({}),2),R=B[0],z=B[1],j=I(t.useState({group:{},tag:{}}),2),V=j[0],U=j[1],H=I(t.useState(e.selectTags),2),q=H[0],W=H[1],G=I(t.useState([]),2),K=G[0],Y=G[1],Q=I(t.useState({}),2),J=Q[0],X=Q[1],Z=I(t.useState(!1),2),$=Z[0],ee=Z[1],te=I(t.useState({}),2),ne=te[0],ae=te[1],re=I(t.useState(e.searchShop),2),ie=re[0],oe=re[1],le=(I(t.useState([]),2),I(t.useState({}),2),I(t.useState([]),2)),se=le[0],ue=le[1],ce=I(t.useState([]),2),de=ce[0],fe=ce[1],pe=I(t.useState([]),2),he=pe[0],me=pe[1],ve=I(t.useState([]),2),ge=ve[0],ye=ve[1],be=I(t.useState({}),2),we=be[0],ke=be[1],Ee=I(t.useState({}),2),Ce=Ee[0],Se=Ee[1],_e=t.useCallback((function(e){switch(e){case"group":return m||[];case"tag":return b[V.group.groupId]||[];default:return[]}}),[V,m,b]);t.useEffect((function(){var t=function(){var t=g(p().mark((function t(){var n,a,r,i,o,l;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n="shop"!==e.type?e.tagList:e.tagList.reduce((function(e,t){return e.concat(t.groups)}),[]),a=n.reduce((function(e,t){var n=t.tags.reduce((function(e,t){var n=Object.assign(t,{tagType:t.valueType});if(os(n)&&n.childTags){var a=n.tagId,r=n.tagName,i=n.childTags.reduce((function(e,t){var n=t.instanceName,i=t.tags.reduce((function(e,t){var i=Object.assign(t,{tagType:t.valueType}),o=i.tagValue,l="".concat(i.tagId,"&*&").concat(r,"&*&").concat(a,"&*&").concat(n,"&*&").concat(n);return(Zl(i)||ns(i)||as(i))&&(e[l]=o.length&&o[0]?new Date(o[0]):null),$l(i)&&(e[l]=o.length&&o[0]?o[0]:""),(rs(i)||is(i))&&(e[l]=o.length?o[0]:""),es(i)&&(e[l]=o.length?o[0]:""),ls(i)&&(e[l]=o.length?o[0]:""),ss(i)&&(e[l]=o.length?o:[]),ts(i)&&(e[l]=o.length?o:[]),e}),{});return Object.assign(e,i)}),{});e.tagIdMapValue=Object.assign(e.tagIdMapValue,i),e.tagIdForInstance[a]=n.childTags}var o=n.tagValue;return(Zl(n)||ns(n)||as(n))&&(e.tagIdMapValue[n.tagId]=o.length&&o[0]?new Date(o[0]):null),$l(n)&&(e.tagIdMapValue[n.tagId]=o.length&&o[0]?o[0]:""),(rs(n)||is(n))&&(e.tagIdMapValue[n.tagId]=o.length?o[0]:""),es(n)&&(e.tagIdMapValue[n.tagId]=o.length?o[0]:""),ls(n)&&(e.tagIdMapValue[n.tagId]=o.length?o[0]:""),ss(n)&&(e.tagIdMapValue[n.tagId]=o.length?o:[]),ts(n)&&(e.tagIdMapValue[n.tagId]=o.length?o:[]),e}),{allInstanceMap:{},tagIdMapValue:{},tagIdForInstance:{}});return{allInstanceMap:f(f({},e.allInstanceMap),n.allInstanceMap),tagIdMapValue:f(f({},e.tagIdMapValue),n.tagIdMapValue),tagIdForInstance:f(f({},e.tagIdForInstance),n.tagIdForInstance)}}),{tagIdMapValue:{},tagIdForInstance:{},allInstanceMap:{}}),r="",i="",ae(JSON.parse(JSON.stringify(a.tagIdMapValue))),ke(JSON.parse(JSON.stringify(a.tagIdMapValue))),Se(JSON.parse(JSON.stringify(a.tagIdForInstance))),"shop"===e.type&&(Ae(),(null==ie?void 0:ie.length)?(oe([ie[0],ie[1]]),r=ie[0],i=ie[1]):(oe([e.shopsPermission[0].platCode,e.shopsPermission[0].shops[0].shopId]),r=e.shopsPermission[0].platCode,i=e.shopsPermission[0].shops[0].shopId)),o="shop"===e.type?r:e.platCode,l="shop"===e.type?i:e.shopId,t.next=12,xe(o,l,a.tagIdForInstance,q);case 12:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[]);var xe=t.useCallback(function(){var t=g(p().mark((function t(n,a,i,o){var l,s,u,c,h,m;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,D(!0),t.next=4,qs.getCustomerCanSelectTagList(e.context.domain,e.context.serverName,e.context.uniId,1,"shop"===e.type?n:e.platCode,"shop"===e.type?a:e.shopId);case 4:l=t.sent.data.reduce((function(e,t){var n=t.tagList.reduce((function(e,t){if(Array.isArray(t.tagValue)&&t.tagValue.length>0&&(e[t.tagId]=t.tagValue),t.childTags)for(var n=0;t.childTags.length>n;n++){var a=t.childTags[n];Array.isArray(a.tagValue)&&a.tagValue.length>0&&(e[a.tagId]=a.tagValue)}return e}),{});e.allTagValue=f(f({},e.allTagValue),n);var a=t.tagList.reduce((function(e,n){if(e[n.tagId]=e[n.tagId]?{tagName:n.tagName,tagId:n.tagId,groupName:t.groupName,disabled:os(n)&&n.childTags&&0===n.childTags.length,relatedTagInfo:n.relatedTagInfo,applyTagId:e[n.tagId].applyTagId}:{tagName:n.tagName,tagId:n.tagId,groupName:t.groupName,disabled:os(n)&&n.childTags&&0===n.childTags.length,relatedTagInfo:n.relatedTagInfo},n.relatedTagInfo){var a=n.relatedTagInfo.tagId;e[a]?e[a].applyTagId=n.tagId:e[a]={applyTagId:n.tagId}}return e}),{}),r=k({},t.groupId,{groupName:t.groupName,groupId:t.groupId,disabled:0===t.tagList.length});e.allGroupTagNameId=f(f(f({},e.allGroupTagNameId),a),r),e.allTagGroupMap[t.groupId]=Object.values(t.tagList.reduce((function(e,t){if(t.relatedTagInfo){var n=t.relatedTagInfo.tagId;e[n]?e[n].applyTagId=t.tagId:e[n]={applyTagId:t.tagId}}if(e[t.tagId]=e[t.tagId]?Object.assign(e[t.tagId],t):t,os(t))if(!t.childTags||t.childTags&&0===t.childTags.length)e[t.tagId]=Object.assign(t,{disable:!0});else{var a=t.childTags.reduce((function(e,t){if(t.relatedTagInfo){var n=t.relatedTagInfo.tagId;e[n]?e[n].applyTagId=t.tagId:e[n]={applyTagId:t.tagId}}return e[t.tagId]=e[t.tagId]?Object.assign(e[t.tagId],t):t,e}),{});e[t.tagId]=Object.assign(t,{childTags:Object.values(a)})}return e}),{}))||[];var o=Object.values(e.allTagGroupMap[t.groupId]).reduce((function(e,t){return t.disable&&e.push(t.tagId),e}),[]);e.allTagGroup=e.allTagGroup.concat({groupId:t.groupId,groupName:t.groupName,disable:0===t.tagList.length||t.tagList.every((function(e){return o.includes(e.tagId)}))}),e.canNotEditTagList=e.canNotEditTagList.concat(o);var l=t.tagList.reduce((function(e,t){if(os(t)){var n=t.childTags?t.childTags.reduce((function(e,t){return e[t.tagId]=t,e}),{}):{};(e=f(f({},e),n))[t.tagId]=Object.assign(t,{instance:i[t.tagId]&&i[t.tagId].map((function(e,t){return{id:e.instanceName,name:e.instanceName}}))||[{id:Js(),name:""}]})}else e[t.tagId]=t;return e}),{});e.allTagIdMapTagInfo=f(f({},e.allTagIdMapTagInfo),l);var s=t.tagList.reduce((function(e,t){return e[t.tagId]=t,e}),{});return e.allTagIdMapTagInfoExcludeChild=f(f({},e.allTagIdMapTagInfoExcludeChild),s),e}),{allTagValue:{},allTagGroupMap:{},allTagGroup:[],allTagIdMapTagInfo:{},allTagIdMapTagInfoExcludeChild:{},allGroupTagNameId:{},canNotEditTagList:[]}),_(l.allTagValue),v(l.allTagGroup),w(l.allTagGroupMap),P(l.allTagIdMapTagInfo),z(l.allTagIdMapTagInfoExcludeChild),X(l.allGroupTagNameId),me(l.canNotEditTagList),D(!1),o&&o.length&&(u=JSON.parse(JSON.stringify(l.allTagIdMapTagInfo)),(m=(h=u[c=o[0]]).applyTagId||(null===(s=h.relatedTagInfo)||void 0===s?void 0:s.tagId))?(d([h,u[m]]),W([c,m])):d([h])),t.next=21;break;case 17:t.prev=17,t.t0=t.catch(0),r.Message.error(t.t0.msg||"内部错误,请联系数据客服"),D(!1);case 21:case"end":return t.stop()}}),t,null,[[0,17]])})));return function(e,n,a,r){return t.apply(this,arguments)}}(),[]),Ae=function(){var t=e.shopsPermission.map((function(e){return{value:e.platCode,label:e.platName,children:e.shops.map((function(e){return{uniShopId:e.uniShopId,label:e.shopName,value:e.shopId}}))}}));ue(t)},Ie=function(){e.onClose()},Ne=function(){a.validate((function(t,n){if(!t)if(0!==Object.keys(n).length){var a=[];Object.keys(n).forEach((function(e){2===e.split("&*&").length&&a.push(e)}));var i=[];try{a.forEach((function(e){var t;if(t=Object.keys(n).some((function(t){var a=t!==e&&t.includes(e),r=n[t];return!!a&&(Array.isArray(r)?r&&r.length:r||0===r)})),!t){var a=n[e]||e.split("&*&")[1];throw r.Message.error("【".concat(a,"】标签实例请至少配置一个子标签条件,才能创建成功")),Error("validate error")}i.push("".concat(e.split("&*&")[0],"&*&").concat(n[e.split("&*&")[1]]||e.split("&*&")[1]))}))}catch(e){return}console.log(n,a,"----提交的数据");try{var o=[];i.forEach((function(e){if(o.includes(e))throw r.Message.error("该实例名称【".concat(e.split("&*&")[1],"】已存在,请更换名称")),Error("validate error");o.push(e)}))}catch(e){return}var l=Object.keys(n).reduce((function(e,t){var a=L[t]||{};if("".concat(t).includes("&*&")){var r=t.split("&*&"),i=r[0],o=r[4]||n[r[3]],l=r[2],s=L[i];!n[t]&&0!==n[t]||n[t]&&0===n[t].length?e.push({tagId:i,isDel:!0,instanceName:o,parentTagId:l,dependentId:t,tagValue:null}):((Zl(s)||ns(s)||as(s))&&e.push({tagId:i,tagValue:[bt.moment(n[t]).format("yyyy-MM-dd")],instanceName:o,parentTagId:l,dependentId:t}),$l(s)&&e.push({tagId:i,tagValue:[n[t]],instanceName:o,parentTagId:l,dependentId:t}),(rs(s)||is(s))&&e.push({tagId:i,tagValue:[n[t]],instanceName:o,parentTagId:l,dependentId:t}),es(s)&&e.push({tagId:i,tagValue:[n[t]],instanceName:o,parentTagId:l,dependentId:t}),ls(s)&&e.push({tagId:i,tagValue:[n[t]],instanceName:o,parentTagId:l,dependentId:t}),ss(s)&&e.push({tagId:i,tagValue:n[t],instanceName:o,parentTagId:l,dependentId:t}),ts(s)&&e.push({tagId:i,tagValue:n[t],instanceName:o,parentTagId:l,dependentId:t}))}return(Zl(a)||ns(a)||as(a))&&e.push({tagId:t,tagValue:[bt.moment(n[t]).format("yyyy-MM-dd")]}),$l(a)&&e.push({tagId:t,tagValue:[n[t]]}),(rs(a)||is(a))&&e.push({tagId:t,tagValue:[n[t]]}),es(a)&&e.push({tagId:t,tagValue:[n[t]]}),ls(a)&&e.push({tagId:t,tagValue:[n[t]]}),ss(a)&&e.push({tagId:t,tagValue:n[t]}),ts(a)&&e.push({tagId:t,tagValue:n[t]}),e}),[]).reduce((function(e,t){return ge.includes(t.dependentId)||(de.includes(Number(t.tagId))||t.isDel||ge.includes(t.dependentId)?t.isDel?ne[t.dependentId]&&e.deleteTags.push(t):e.deleteTags.push(t):Object.keys(ne).includes(t.tagId)||Object.keys(ne).includes(t.dependentId)?e.editTags.push(t):e.addTags.push(t)),e}),{addTags:[],editTags:[],deleteTags:[],uniId:e.context.uniId}),u=ge.reduce((function(e,t){if(we[t]){var n=t.split("&*&");e.push({tagId:n[0],instanceName:n[4],parentTagId:n[2]})}return e}),[]);l.deleteTags=l.deleteTags.concat(u),s(!0),qs.batchUpdateTag(e.context.domain,e.context.uniId,l).then((function(t){s(!1),200===t.code?(r.Message.success("更新成功"),e.onOk()):r.Message.error(t.msg)})).catch((function(e){var t,n;s(!1),r.Message.error(null==e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.msg)}))}else e.onOk()}))},De=function(e,t){var n=e.disabled;if(e.applyTagId){var i=a.getValue(e.tagId)||ne[e.tagId],o=L[e.applyTagId].tagName,s=L[e.applyTagId].tagId,u=L[e.applyTagId].tagType,c=i?6===u?Ys(i):Qs(i):"-",d="",f="";if(6===u){var p=I(ds("isYMD","age"),2);d=p[0],f=p[1]}else{var h=I(ds("isYMD","pregnancy"),2);d=h[0],f=h[1]}return l.default.createElement("div",{className:"age-item-container"},l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId,style:{flex:"0 0 295px"}},l.default.createElement(r.CPicker,E({disabled:n,placeholder:"YYYY/MM/DD",width:270,disabledDate:function(e){return Xl(e,"YYYY/MM/DD").isAfter(Xl(f))||Xl(e,"YYYY/MM/DD").isBefore(Xl(d))}},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{validator:function(n,a,r){a&&us(new Date(a))&&r("时间格式错误"),!we[e.tagId]&&t&&(new Date(d)>new Date(a)||new Date(a)>new Date(f))&&r("请选择时间范围在".concat(d,"~").concat(f,"之间。")),r("")}}],initValue:ne[e.tagId]})))),l.default.createElement(r.Form.Item,{label:o,key:s,description:6===u?'\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>1. </span> <span>年龄型标签的标签值是系统基于"生日"日期型标签自动计算得出,无法直接编辑“年龄”型标签的编辑值。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>2. </span> <span>当“生日”日期型标签未设置标签值时,“年龄”型标签也无标签值。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>3. </span> <span>对“生日”日期型标签取消打标时,“年龄”型标签会被系统自动取消打标。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>4. </span> <span>“年龄”型标签计算范围为“0天~150岁(含边界)”,超过范围系统不再自动计算标签值,此时标签值显示为“-”。</span></div>':'\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>1. </span> <span>孕龄型标签的标签值是系统基于"预产期"日期型标签自动计算得出,无法直接编辑“孕龄”型标签的编辑值。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>2. </span> <span>当“预产期”日期型标签未设置标签值时,“孕龄”型标签也无标签值。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>3. </span> <span>对“预产期”日期型标签取消打标时,“孕龄”型标签会被系统自动取消打标。</span></div>\n\t\t\t\t\t<div class="customer-view-new-tip-temp"><span>4. </span> <span>“孕龄”型标签计算范围为“0周~40周(含边界)”,超过范围系统不再自动计算标签值,此时标签值显示为“-”。</span></div>'},c))}return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(r.CPicker,E({width:270,disabled:n,placeholder:"YYYY/MM/DD"},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{validator:function(e,t,n){t&&us(new Date(t))&&n("时间格式错误"),n("")}}],initValue:ne[e.tagId]}))))},Te=function(e,t){var n=e.disabled;if(e.applyTagId){var i=a.getValue(e.tagId)||ne[e.tagId],o=L[e.applyTagId].tagName,s=L[e.applyTagId].tagId,u=L[e.applyTagId].tagType,c=i?6===u?Ys(i):Qs(i):"-",d="",f="";if(6===u){var p=I(ds("isYM","age"),2);d=p[0],f=p[1]}else{var h=I(ds("isYM","pregnancy"),2);d=h[0],f=h[1]}return l.default.createElement("div",{className:"age-item-container"},l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId,style:{flex:"0 0 295px"}},l.default.createElement(Gs,E({canEdit:!0,disabled:n,format:"yyyy-MM",width:270,placeholder:"YYYY/MM",disabledDate:function(e){return Xl(e,"YYYY/MM").isAfter(Xl(f))||Xl(e,"YYYY/MM").isBefore(Xl(d))}},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{validator:function(n,a,r){a&&us(new Date("".concat(a,"-1")))&&r("时间格式错误"),!we[e.tagId]&&t&&(new Date(d)>new Date("".concat(a,"-1"))||new Date("".concat(a,"-1"))>new Date(f))&&r("请选择时间范围在".concat(d,"~").concat(f,"之间。")),r("")}}],initValue:ne[e.tagId]})))),l.default.createElement(r.Form.Item,{label:o,key:s,description:6===u?'\n\t\t<div class="customer-view-new-tip-temp"><span>1. </span> <span>年龄型标签的标签值是系统基于"生日"日期型标签自动计算得出,无法直接编辑“年龄”型标签的编辑值。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>2. </span> <span>当“生日”日期型标签未设置标签值时,“年龄”型标签也无标签值。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>3. </span> <span>对“生日”日期型标签取消打标时,“年龄”型标签会被系统自动取消打标。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>4. </span> <span>“年龄”型标签计算范围为“0天~150岁(含边界)”,超过范围系统不再自动计算标签值,此时标签值显示为“-”。</span></div>':'\n\t\t<div class="customer-view-new-tip-temp"><span>1. </span> <span>孕龄型标签的标签值是系统基于"预产期"日期型标签自动计算得出,无法直接编辑“孕龄”型标签的编辑值。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>2. </span> <span>当“预产期”日期型标签未设置标签值时,“孕龄”型标签也无标签值。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>3. </span> <span>对“预产期”日期型标签取消打标时,“孕龄”型标签会被系统自动取消打标。</span></div>\n\t\t<div class="customer-view-new-tip-temp"><span>4. </span> <span>“孕龄”型标签计算范围为“0周~40周(含边界)”,超过范围系统不再自动计算标签值,此时标签值显示为“-”。</span></div>'},c))}return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(Gs,E({canEdit:!0,disabled:n,format:"yyyy-MM",width:270,placeholder:"YYYY/MM"},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{validator:function(e,t,n){t&&us(new Date("".concat(t,"/1")))&&n("时间格式错误"),n("")}}],initValue:ne[e.tagId]}))))},Oe=function(e,t){var n=e.disabled;return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(r.Input,E({disabled:n,style:{width:"270px"},maxLength:20,placeholder:"请输入标签值"},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{len:20,message:"最长只能输入20个字符"},{pattern:t?/^[\u4e00-\u9fa5\w-.();]+$/g:/(^$)|^[\u4e00-\u9fa5\w-.();]+$/g,message:"只能输入1-20位中文、英文、数字、中文括号、中文分号、.(点号)、_(下划线)、-(减号) 。"}],initValue:ne[e.tagId]}))))},Me=function(e,t){var n=e.disabled;return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(r.Input,E({style:{width:"270px"},disabled:n,placeholder:"请输入标签值",maxLength:is(e)?18:15,onBlur:function(){return function(e,t){if(t){var n=a.getValue(e);/^\d+$/.test(n)&&a.setValue(e,"".concat(n,".0"))}}(e.tagId,is(e))}},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"},{validator:function(t,n,a){rs(e)&&n&&0!==n&&!/^-?\d{1,15}$/g.test(n)&&a("请输入正确的数值,最多15位整数"),is(e)&&n&&0!==n&&!/^-?(([1-9][0-9]{0,14})|0)(\.\d{1,2})?$/g.test(n)&&a("请输入正确的数值,小数最多2位,整数最多15位"),a("")}}],initValue:ne[e.tagId]}))))},Fe=function(e,t){var n=e.disabled,i="".concat(e.tagId).includes("&*&")?e.tagId.split("&*&")[0]:e.tagId;return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(r.Radio.Group,E({disabled:n},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"}],initValue:ne[e.tagId]})),S[i]&&S[i].map((function(t){return l.default.createElement(r.Radio,{key:e.tagId+t.itemId,value:t.itemVal},t.itemVal)}))))},Le=function(e,t){var n=e.disabled,i="".concat(e.tagId).includes("&*&")?e.tagId.split("&*&")[0]:e.tagId;return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(r.Checkbox.Group,E({disabled:n},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"}],initValue:ne[e.tagId]})),S[i]&&S[i].map((function(t){return l.default.createElement(r.Checkbox,{key:e.tagId+t.itemId,value:t.itemVal},t.itemVal)}))))},Pe=function(e,t){var n=e.disabled;return l.default.createElement(r.Form.Item,{label:e.tagName,key:e.tagId},l.default.createElement(Ws,E({disabled:n},a.init(e.tagId,{rules:n?[]:[{required:t,message:"请输入标签值"}],initValue:ne[e.tagId]}),{tag:e})))},Be=function(e){var t=e.tagId,n=e.tagName;return e.childTags&&e.childTags.length&&(e.childTags=e.childTags.sort((function(e,t){return((null==e?void 0:e.tagName)||"").localeCompare((null==t?void 0:t.tagName)||"")}))),l.default.createElement("div",{className:"dependent-wrapper"},l.default.createElement("p",{className:"dependent-title"},e.tagName),e.instance.map((function(i){var o="".concat(e.tagId,"&*&").concat(i.id);return l.default.createElement(r.Form.Item,{className:"dependent-wrapper-form",key:o},l.default.createElement("div",E({},a.init(o),{className:"dependent-instance"}),l.default.createElement("div",{className:"instance-title"},l.default.createElement("span",{className:"title"},l.default.createElement("span",{style:{color:"rgba(0, 0, 0, 0.65)",fontSize:"14px",lineHeight:"20px",width:"100px"}},"标签实例",l.default.createElement(r.Tooltip,{content:'1.当用户之间存在从属关系时,可通过从属型标签建立主用户和从用户的从属关系。2."标签实例"指的是从属型标签及其子标签标识的用户,也即从属于主用户的从用户。若一个主用户有多个从用户,则从属型标签就会标识多个从用户,每一个从用户就是一个实例。3.例如,"妈妈"角色是一个用户,"宝宝"角色是"妈妈"角色的从属型标签,"妈妈"角色有三胎"宝宝",此时就代表从属型“宝宝“标签具有三个标签实例。',placement:"top"},l.default.createElement(r.Icon,{type:"question-circle",style:{margin:"0 4px",fontSize:"14px",color:"rgba(0, 0, 0, 0.25)",cursor:"pointer"}})),":"),i.name?i.name:function(e,t){return l.default.createElement(r.Form.Item,{key:e.id},l.default.createElement(r.Input,E({style:{width:"270px"},maxLength:25,disabled:t.disabled,placeholder:"请输入实例名称"},a.init(e.id,{rules:[{required:!0,message:"请输入实例名称"},{len:25,message:"最长只能输入25个字符"},{pattern:/^[\u4e00-\u9fa5\w-.]+$/g,message:"仅支持中英文、数字、减号、下划线、点号!"}],initValue:e.name}))))}(i,e)),e.instance.length>1&&!e.disabled&&l.default.createElement(r.Popover,{trigger:"click",content:"确定要删除该实例吗?",confirmText:"确定",showCancelBtn:!0,showConfirmBtn:!0,onConfirmClick:function(){Re(e,i)}},l.default.createElement(r.Icon,{type:"delete",style:{color:"var(-shuyunBlue4)",cursor:"pointer"}})),e.instance.length>1&&e.disabled&&l.default.createElement(r.Icon,{type:"delete",style:{cursor:"not-allowed",color:"rgba(0, 0, 0, 0.25)"}})),l.default.createElement("div",{className:"instance-content"},e.childTags.map((function(a){var r=Object.assign({},a,{tagId:"".concat(a.tagId,"&*&").concat(n,"&*&").concat(t,"&*&").concat(i.id,"&*&").concat(i.name),disabled:e.disabled});return l.default.createElement(l.default.Fragment,null,Zl(r)&&De(r,!1),$l(r)&&Te(r,!1),es(r)&&Oe(r,!1),ts(r)&&Pe(r,!1),(rs(r)||is(r))&&Me(r,!1),ls(r)&&Fe(r,!1),ss(r)&&Le(r,!1))})))))})),l.default.createElement(r.Button,{type:"text",icon:"plus-solid",style:{marginTop:"2px"},disabled:e.disabled||e.instance.length>=100,onClick:function(){ze(e)}},"添加实例"))},Re=function(e,t){var n=JSON.parse(JSON.stringify(c)).map((function(n){return n.tagId===e.tagId&&(n.instance=n.instance.filter((function(e){return e.id!==t.id}))),n}));d(n);var r=e.tagName,i=e.tagId,o=e.childTags.map((function(e){return"".concat(e.tagId,"&*&").concat(r,"&*&").concat(i,"&*&").concat(t.id,"&*&").concat(t.name)}));if(t.name){var l=Object.keys(ne).reduce((function(e,t){return o.includes(t)||(e[t]=ne[t]),e}),{});ae(l),ye([].concat(N(ge),N(o)))}else o=[].concat(N(o),[t.id]);a.clear(o),a.remove(o)},ze=function(e){var t={name:"",id:Js()},n=JSON.parse(JSON.stringify(c)).map((function(n){return n.tagId===e.tagId&&(n.instance=[].concat(N(n.instance),[t])),n})),a=e.tagName,r=e.tagId,i=e.childTags.map((function(e){return"".concat(e.tagId,"&*&").concat(a,"&*&").concat(r,"&*&").concat(t.id,"&*&").concat(t.name)})),o=ge.filter((function(e){return!i.includes(e)}));ye(o),d(n),setTimeout((function(){var e=document.getElementsByClassName("edit-tag-form")[0],t=document.getElementsByClassName("edit-tag-form")[0].scrollTop;e.scrollTo({top:t+200,behavior:"smooth"})}))},je=t.useCallback((function(e,t){return function(n){var a=f(f({},V),{},k({},e,t));("tag"!==e||t.checked)&&U(a)}}),[V]),Ve=function(e){var t,n=[];if(e.tagId)if(e.applyTagId||e.relatedTagInfo){var a=e.applyTagId||e.relatedTagInfo.tagId;t=q.includes(e.tagId)&&q.includes(a)?q.filter((function(t){return t!==e.tagId&&t!==a})):[].concat(N(q),[e.tagId,a])}else t=q.includes(e.tagId)?q.filter((function(t){return t!==e.tagId})):[].concat(N(q),[e.tagId]);if(e.groupId)if(n=b[e.groupId].reduce((function(e,t){return t.disable||e.push(t.tagId),e}),[]),cs(q,n))t=q.filter((function(e){return!n.includes(e)}));else{var r=[].concat(N(q),N(n));t=Array.from(new Set(r))}var i=JSON.parse(JSON.stringify(L)),o=c.reduce((function(e,t){return e[t.tagId]=t,e}),{}),l=t.map((function(e){return o[e]?o[e]:i[e]}));d(l),W(t)},Ue=function(e){if(e.tagId)return q.includes(e.tagId);if(e.groupId){var t=b[e.groupId].reduce((function(e,t){return t.disable||e.push(t.tagId),e}),[])||[];return t.length>0&&cs(q,t)}},He=function(e){if(e.tagId)return!1;if(e.groupId){var t=b[e.groupId].reduce((function(e,t){return t.disable||e.push(t.tagId),e}),[]),n=cs(q,t),a=(r=q,t.some((function(e){return r.includes(e)})));return a&&!n}var r},qe=t.useCallback((function(){return q.length===Object.keys(R).length-he.length}),[R,q,he]),We=t.useCallback((function(){return q.length>0&&q.length!==Object.keys(R).length-he.length}),[R,q,he]),Ge=t.useCallback((function(e){if(e){var t=Object.keys(R).reduce((function(e,t){return he.includes(Number(t))||e.push(Number(t)),e}),[]),n=Object.values(R).filter((function(e){return!he.includes(e.tagId)})),a=c.reduce((function(e,t){return e[t.tagId]=t,e}),{}),r=n.map((function(e){return a[e.tagId]?a[e.tagId]:e}));W(t),d(r)}else d([]),W([])}),[R,he,c]),Ke=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"group",t=_e(e);return l.default.createElement("div",{className:"area-container",key:e},0===t.length&&l.default.createElement("div",{className:"empty"},l.default.createElement("span",null,"暂无标签")),l.default.createElement("ul",{className:"area-content",id:"area-content-".concat(e)},l.default.createElement(l.default.Fragment,null,"group"===e&&l.default.createElement("li",{className:"area-item",role:"presentation"},l.default.createElement(r.Checkbox,{onChange:function(e){return Ge(e)},checked:qe(),indeterminate:We()}),"全选"),t.map((function(t){var n,a,i,o=tt("area-item",{selected:(t.groupId||t.tagId)===(V[e].groupId||V[e].tagId)}),s="group"===e,u=l.default.createElement("span",{className:"area-item-title"},t.groupName||t.tagName);return l.default.createElement("li",{className:o,key:t.groupId||t.tagId,role:"presentation",onClick:je(e,t),id:t.groupId||t.tagId},l.default.createElement(r.Checkbox,{disabled:t.disable,onChange:function(e){return Ve(t)},checked:Ue(t),indeterminate:He(t)}),(n="14",a=t.groupName||t.tagName,(i=document.getElementById("computedWidth").getContext("2d")).font="".concat(n,"px Microsoft YaHei"),i.measureText(a).width>112?l.default.createElement(r.Tooltip,{content:t.groupName||t.tagName,placement:"top"},u):u),s?l.default.createElement(r.Icon,{type:"right",className:"area-next-icon"}):null)})))))},Ye=t.useCallback((function(){var e=O?O.replace(/(^\s*)|(\s*$)/g,""):"",t=JSON.parse(JSON.stringify(K));return l.default.createElement(l.default.Fragment,null,e&&l.default.createElement("ul",{className:"search-result"},t.map((function(t){var n=t.name.replace(/ /g,"").replace(/\//gi," / ");return e&&(n=n.replace(RegExp(e,"gi"),(function(e){return t.disabled?"<span style='color:rgba(0,0,0,0.25)'>".concat(e,"</span>"):"<span style='color:#0066CC;cursor:pointer'>".concat(e,"</span>")}))),l.default.createElement("li",{className:t.disabled?"search-result-disable-item":"search-result-item",key:n,onClick:function(){!t.disabled&&Ve(t)},role:"presentation",dangerouslySetInnerHTML:{__html:n}})}))))}),[O]),Qe=t.useCallback((function(e){var t=e?e.replace(/(^\s*)|(\s*$)/g,""):"",n=Object.values(J).reduce((function(e,n){if(n.tagName){if(n.tagName&&n.tagName.includes(t)){var a="".concat(n.groupName,"/").concat(n.tagName);e.push(f(f({},n),{},{name:a}))}}else if(n.groupName&&n.groupName.includes(t)){var r="".concat(n.groupName);e.push(f(f({},n),{},{name:r}))}return e}),[]);ee(!0),Y(n),M(e)}),[J]),Je=function(){var e=g(p().mark((function e(t,n){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=6;break}return W([]),d([]),e.next=5,xe(t[0],t[1],Ce,[]);case 5:oe([t]);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return l.default.createElement(r.Modal,{visible:!0,className:"edit-tag-modal custom-view-new-drawer-modal",title:e.title,clickMaskCanClose:!1,onClose:Ie,onCancel:Ie,onOk:Ne,footer:l.default.createElement("div",null,l.default.createElement(r.Button,{disabled:o,type:"primary",onClick:Ne},"确定"),l.default.createElement(r.Button,{onClick:Ie,className:"cancel",style:{marginLeft:16}},"取消")),modalStyle:{minWidth:1e3,overflow:"hidden auto",maxHeight:"calc(100vh - 20px)"},bodyStyle:{height:630,minWidth:1e3,maxHeight:"initial",display:"flex",alignItems:"center",justifyContent:"left"}},l.default.createElement("div",{className:"edit-tag"},l.default.createElement(r.Loading,{loading:A},l.default.createElement(r.Tips,{msg:'"编辑"操作即给单个用户执行打标操作,可同时新增标签(新增打标)、修改标签值(修改已打标内容)、删除标签(关闭打标开关)。',isShowIcon:!0}),l.default.createElement("div",{className:"edit-tag-container"},!A&&l.default.createElement("div",{className:"edit-tag-search-block"},l.default.createElement("div",{className:"edit-tag-search-info"},"shop"===e.type&&l.default.createElement(r.CCascader,{options:se,defaultValue:ie,value:ie,onChange:function(e,t){return Je(e,t)},placeholder:"请选择店铺",style:{width:"348px",marginBottom:"8px"}}),l.default.createElement("div",{className:"tag-search-input"},l.default.createElement(r.Input,{placeholder:"搜索标签组/标签名",value:O,onBlur:function(){return setTimeout((function(){ee(!1)}),200)},style:{width:"348px"},onChange:function(e){Qe(e.target.value)}}),l.default.createElement("div",{className:tt("search-result-area",{show:$,hide:!$})},K.length>0?Ye():l.default.createElement("div",{className:"empty"},l.default.createElement("img",{alt:"",src:Is,width:64}),l.default.createElement("span",{style:{marginTop:8}},"暂无搜索结果"))))),l.default.createElement("div",{className:"tag-select-container ".concat("shop"===e.type?"has-shop":"")},0===_e("group").length&&l.default.createElement("div",{className:"empty"},l.default.createElement("img",{alt:"",src:As,width:64}),l.default.createElement("span",{style:{marginTop:8}},"暂无标签")),_e("group").length>0&&["group","tag"].map((function(e){return Ke(e)})))),l.default.createElement(r.Form,{ref:n,labelCol:{span:4},field:a,className:"edit-tag-form",colon:!1},!A&&l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"edit-tag-header"},l.default.createElement("span",null,l.default.createElement("span",{className:"tag-title"},"编辑标签")," ",l.default.createElement("span",{className:"tag-amount"},"(",c.length,")")),l.default.createElement(r.Button,{type:"text",disabled:0===c.length,onClick:function(){d([]),W([])}},"清空")),c.map((function(e){return ns(e)||as(e)?null:l.default.createElement("div",{key:e.tagId,className:"tag-info-value"},Zl(e)&&De(e,!0),$l(e)&&Te(e,!0),es(e)&&Oe(e,!0),ts(e)&&Pe(e,!0),(rs(e)||is(e))&&Me(e,!0),ls(e)&&Fe(e,!0),ss(e)&&Le(e,!0),os(e)&&Be(e),(we[e.tagId]||(t=e.tagId,n=Object.keys(we).filter((function(e){return e.indexOf(t)>-1}))||[],n.length>0))&&l.default.createElement("div",{className:"disable-tag"},l.default.createElement(r.Tooltip,{content:"客户已打上当前标签。关闭开关则表示将从客户身上删除该标签。",placement:"top"},l.default.createElement(r.Toggle,{key:"toggle-".concat(e.tagId),checked:!e.disabled,onChange:function(){return function(e){if(e.disabled)if(e.childTags){var t=e.tagName,n=e.tagId,a=e.instance.reduce((function(a,r){return a=a.concat(e.childTags.map((function(e){return"".concat(e.tagId,"&*&").concat(t,"&*&").concat(n,"&*&").concat(r.id,"&*&").concat(r.name)}))),a}),[]),r=ge.filter((function(e){return!a.includes(e)}));ye(N(r))}else fe(de.filter((function(t){return t!==e.tagId})));else if(e.childTags){var i=e.tagName,o=e.tagId,l=e.instance.reduce((function(t,n){return t=t.concat(e.childTags.map((function(e){return"".concat(e.tagId,"&*&").concat(i,"&*&").concat(o,"&*&").concat(n.id,"&*&").concat(n.name)}))),t}),[]);ye([].concat(N(ge),N(l)))}else fe(Array.from(new Set([].concat(N(de),[e.tagId]))));e.disabled=!e.disabled}(e)}})),l.default.createElement("span",{className:"disable-tag-span"},e.disabled?"未打标":"已打标")),l.default.createElement("div",{className:"remove-tag-value"},l.default.createElement(r.Tooltip,{content:"",placement:"top"},l.default.createElement(r.Icon,{key:"close-".concat(e.tagId),type:"close",style:{color:"rgba(0,0,0,0.45)",cursor:"pointer",fontSize:"16px"},onClick:function(){!function(e){var t=c.filter((function(t){return t.tagId!==e.tagId&&t.tagId!==e.applyTagId}));d(t),W(q.filter((function(t){return t!==e.tagId&&t!==e.applyTagId})))}(e)}}))));var t,n}))),!A&&0===c.length&&l.default.createElement("div",{className:"empty"},l.default.createElement("span",null,"暂无可编辑标签")))))))},Zs=function(e){return l.default.createElement(r.Modal,{className:"custom-view-new-drawer-modal",visible:!0,title:"查看标签",clickMaskCanClose:!1,onClose:function(){e.onClose()},hasFooter:!1,modalStyle:{width:600,height:320,maxHeight:"initial"},bodyStyle:{height:263}},l.default.createElement("div",{className:"detail-tag",style:{color:"rgba(0, 0, 0, 0.85)",fontSize:"14px",lineHeight:"20px"}},l.default.createElement("div",{className:"detail-tag-title",style:{marginBottom:16}},e.tag.tagName,":"),l.default.createElement("div",{className:"detail-tag-content"},e.tag.tagValue.join("、"))))},$s=["all","shop","WEIXIN","OFFLINE","searchLists"],eu=function(e){var n=t.useContext(Jl),a=I(t.useState(jl().isThreeColumn),2),i=a[0],o=a[1],s=I(t.useState({}),2),u=s[0],c=s[1],d=I(t.useState([]),2),f=d[0],h=d[1],m=I(t.useState([]),2),v=m[0],y=m[1],b=I(t.useState([]),2),w=b[0],E=b[1],C=I(t.useState([]),2),S=C[0],_=C[1],A=I(t.useState([]),2),N=A[0],D=A[1],T=(I(t.useState([]),2),I(t.useState(!1),2)),O=T[0],M=T[1],F=(I(t.useState(""),2),I(t.useState([]),2)),L=F[0],P=F[1],B=I(t.useState([]),2),R=B[0],z=B[1],j=I(t.useState([]),2),V=j[0],U=j[1],H=I(t.useState([]),2),q=H[0],W=H[1],G=I(t.useState({}),2),K=G[0],Y=G[1];t.useEffect((function(){var e=!1,t=function(){var t=g(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=5;break}return t.next=3,Q();case 3:J(t.sent.platPermission);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return t(),function(){return e=!0}}),[]);var Q=function(){var e=g(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.next=3,qs.getPlatShopList(n.domain,n.serverName,n.uniId);case 3:return t=e.sent.reduce((function(e,t){return!1===t.isStandardPlat?(e.plat.push(t.platCode),"WEIXIN"!==t.platCode&&"OFFLINE"!==t.platCode&&"unlimited"!==t.platCode&&e.shuyunPlate.push({platCode:t.platCode,platName:t.platName})):e.shops.push(t),e}),{plat:[],shops:[],shuyunPlate:[]}),z(t.plat),U(t.shops),W(t.shuyunPlate),e.abrupt("return",{platPermission:t.plat});case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),J=function(e){M(!0),qs.getCustomerMarkedTagList(n.domain,n.serverName,n.uniId,1).then((function(t){if(200===t.code){var n=function(e,t){var n=e?Object.keys(e).reduce((function(n,a){if("all"===a||"WEIXIN"===a||"OFFLINE"===a||t.includes(a)){var r,i=(null===(r=e[a][0].shops[0])||void 0===r?void 0:r.groupTags)||{};n[a]=Object.keys(i).map((function(e){return{groupName:e,tags:i[e]}}))}else{var o=e[a][0].platName,l=e[a][0].platCode,s=e[a][0].shops,u={label:o,value:l,children:s.map((function(e){return{label:e.shopName,value:e.shopId}})),childrenIds:s.map((function(e){return e.shopId}))},c=s.map((function(e){return{platName:o,platCode:l,shopId:e.shopId,shopName:"".concat(o," | ").concat(e.shopName),groups:Object.keys(e.groupTags).map((function(t){return{groupName:t,tags:e.groupTags[t]}}))}}));n.shop=n.shop?n.shop.concat(c):c,n.searchLists.push(u)}return n}),{all:[],shop:[],WEIXIN:[],OFFLINE:[],searchLists:[]}):{all:[],shop:[],WEIXIN:[],OFFLINE:[],searchLists:[]};return n}(t.data,e||R),a=n.all,i=n.shop,o=n.WEIXIN,l=n.OFFLINE,s=n.searchLists,u=x(n,$s);h(a),_(o),D(l),y(i),E(i),P(s),Y(u)}else r.Message.error(t.msg||"内部错误,请联系数据客服");M(!1)})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服"),M(!1)}))},X=function(e,t){var n=document.getElementById("computedWidth").getContext("2d");return n.font="".concat(e,"px Microsoft YaHei"),n.measureText(t).width},Z=function(e,t){var n=Object.assign(JSON.parse(JSON.stringify(u)),k({},e,t));c(n)},$=function(e,t,a,i){var o=t,l="all"===e?f:"shop"===e?v:"WEIXIN"===e?S:"OFFLINE"===e?N:K[e]||[];r.Modal.createModal(Xs).open({title:"编辑".concat(o),tagList:l,type:e,context:n,shopsPermission:V,platCode:"shop"===e?"":e,shopId:"shop"===e?"":"all",selectTags:a?[a]:[],searchShop:i||[]}).then((function(e){J()}))},ee=function(e){o(e);var t=jl();t.isThreeColumn=e,zl(t)},te=function(e,t){var n,a=null===(n=document.getElementsByClassName("info-tag")[0])||void 0===n?void 0:n.offsetWidth;if(a){var r=i?a/3:a/2;if(X("14","".concat(e.tagName,":").concat(Array.isArray(e.tagValue)?e.tagValue.join("、"):e.tagValue))>r-44)return"text-overflow"}return""},ne=function(e,t){var n,a=null===(n=document.getElementsByClassName("info-tag")[0])||void 0===n?void 0:n.offsetWidth;if(a){var r=i?a/3:a/2;if(X("14","".concat(e.tagName,":").concat(Array.isArray(e.tagValue)?e.tagValue.join("、"):e.tagValue))>r-44)return!0}return!1},ae=function(e){r.Modal.createModal(Zs).open({tag:e}).then((function(e){}))},re=function(e,t,n,a){var o=(null==e?void 0:e.childTags)||[];return o.forEach((function(e){e.tags=e.tags.sort((function(e,t){return((null==e?void 0:e.tagName)||"").localeCompare((null==t?void 0:t.tagName)||"")}))})),l.default.createElement("div",{className:"dependent-tag"},l.default.createElement("span",{className:"dependent-tag-name",onClick:function(){return a?$(t,n,e.tagId,[a.platCode,a.shopId]):$(t,n,e.tagId)}},e.tagName),o.map((function(o){return l.default.createElement("div",{key:"".concat(e.tagId).concat(o.instanceName),className:"dependent-tag-item"},l.default.createElement("div",{className:"instance-title",onClick:function(){return a?$(t,n,e.tagId,[a.platCode,a.shopId]):$(t,n,e.tagId)}},o.instanceName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},o.tags.map((function(i){return l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:"".concat(o.instanceName).concat(i.tagId),className:te(i)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return a?$(t,n,e.tagId,[a.platCode,a.shopId]):$(t,n,e.tagId)}},i.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return a?$(t,n,e.tagId,[a.platCode,a.shopId]):$(t,n,e.tagId)}},i.tagValue.join("、"))),ne(i)&&l.default.createElement(r.Button,{type:"text",style:{height:20,"margin-left":"6px","margin-right":"26px"},onClick:function(){ae(i)}},"查看"))}))))})))};return l.default.createElement("div",{className:"custom-module-new"},l.default.createElement(r.Loading,{layer:!0,loading:O},l.default.createElement("div",{className:"common-title"},l.default.createElement("div",{className:"common-title-left"},l.default.createElement("div",null),l.default.createElement("p",null,"自定义标签")),l.default.createElement("div",{className:"common-title-right"},l.default.createElement(r.Tooltip,{content:"两列展示",placement:"top"},l.default.createElement(r.Icon,{type:"arrange-2",onClick:function(){return ee(!1)},className:i?"":"active-icon"})),l.default.createElement("span",null),l.default.createElement(r.Tooltip,{content:"三列展示",placement:"top"},l.default.createElement(r.Icon,{type:"arrange-3",onClick:function(){return ee(!0)},className:i?"active-icon":""})))),R.includes("unlimited")&&l.default.createElement("section",{className:"common-block ".concat(u.all?"":"common-block-height")},l.default.createElement("div",{className:"common-block-title"},!u.all&&l.default.createElement(r.Icon,{onClick:function(){return Z("all",!0)},type:"up-solid"}),u.all&&l.default.createElement(r.Icon,{onClick:function(){return Z("all",!1)},type:"down-solid"}),l.default.createElement("p",null,"全渠道客户标签"),l.default.createElement("div",{className:"opt",onClick:function(){return $("all","全渠道客户标签")}},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑")),l.default.createElement("div",{className:"common-block-info"},0===f.length&&l.default.createElement("div",{className:"common-block-info-empty"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("div",null,"暂无数据")),f.map((function(e){return l.default.createElement("div",{className:"common-block-info-group",key:"all-".concat(e.groupName)},l.default.createElement("div",{className:"info-title"},e.groupName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},e.tags.map((function(e){return 8===e.valueType?l.default.createElement(l.default.Fragment,null,re(e,"all","全渠道客户标签")):l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:e.tagId,className:te(e)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return $("all","全渠道客户标签",e.tagId)}},e.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return $("all","全渠道客户标签",e.tagId)}},e.tagValue.join("、"))),ne(e)&&l.default.createElement(r.Button,{type:"text",style:{height:20,"margin-left":"6px"},onClick:function(){ae(e)}},"查看"))}))))})))),0!==V.length&&l.default.createElement("section",{className:"common-block ".concat(u.shop?"":"common-block-height")},l.default.createElement("div",{className:"common-block-title"},!u.shop&&l.default.createElement(r.Icon,{onClick:function(){return Z("shop",!0)},type:"up-solid"}),u.shop&&l.default.createElement(r.Icon,{onClick:function(){return Z("shop",!1)},type:"down-solid"}),l.default.createElement("p",null,"店铺标签"),l.default.createElement("div",{className:"opt",onClick:function(){return $("shop","店铺标签")}},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑")),l.default.createElement("div",{className:"common-block-info"},l.default.createElement(r.CCascader,{allowClear:!0,options:L,style:{width:270,marginBottom:16,marginTop:16},placeholder:"全部平台及店铺",maxTagCount:"responsive",multiple:!0,onChange:function(e,t){!function(e,t){var n=t.reduce((function(e,t){return Array.isArray(t)&&t[1]?e.push(t[1].value):Array.isArray(t)&&t[0]&&(e=e.concat(t[0].childrenIds)),e}),[]),a=v.filter((function(e){return 0>=n.length||n.includes(e.shopId)}));E(a)}(0,t)}}),0===w.length&&l.default.createElement("div",{className:"common-block-info-empty"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("div",null,"暂无数据")),w.map((function(e){return l.default.createElement("section",{key:e.shopName,className:"shop-block"},l.default.createElement("div",{className:"shop-title"},l.default.createElement("span",null,e.shopName)),e.groups.map((function(t){return l.default.createElement("div",{className:"common-block-info-group shop-block-info-group",key:"".concat(e.shopName,"-").concat(t.groupName)},l.default.createElement("div",{className:"info-title"},t.groupName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},t.tags.map((function(t){return 8===t.valueType?l.default.createElement(l.default.Fragment,null,re(t,"shop","店铺标签",e)):l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:t.tagId,className:te(t)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return $("shop","店铺标签",t.tagId,[e.platCode,e.shopId])}},t.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return $("shop","店铺标签",t.tagId,[e.platCode,e.shopId])}},t.tagValue.join("、"))),ne(t)&&l.default.createElement(r.Button,{type:"text",style:{height:20},onClick:function(){ae(t)}},"查看"))}))))})))})))),R.includes("WEIXIN")&&l.default.createElement("section",{className:"common-block ".concat(u.WEIXIN?"":"common-block-height")},l.default.createElement("div",{className:"common-block-title"},!u.WEIXIN&&l.default.createElement(r.Icon,{onClick:function(){return Z("WEIXIN",!0)},type:"up-solid"}),u.WEIXIN&&l.default.createElement(r.Icon,{onClick:function(){return Z("WEIXIN",!1)},type:"down-solid"}),l.default.createElement("p",null,"微信"),l.default.createElement("div",{className:"opt",onClick:function(){return $("WEIXIN","微信标签")}},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑")),l.default.createElement("div",{className:"common-block-info"},0===S.length&&l.default.createElement("div",{className:"common-block-info-empty"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("div",null,"暂无数据")),S.map((function(e){return l.default.createElement("div",{className:"common-block-info-group",key:"offline-".concat(e.groupName)},l.default.createElement("div",{className:"info-title"},e.groupName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},e.tags.map((function(e){return 8===e.valueType?l.default.createElement(l.default.Fragment,null,re(e,"WEIXIN","微信标签")):l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:e.tagId,className:te(e)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return $("WEIXIN","微信标签",e.tagId)}},e.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return $("WEIXIN","微信标签",e.tagId)}},e.tagValue.join("、"))),ne(e)&&l.default.createElement(r.Button,{type:"text",style:{height:20},onClick:function(){ae(e)}},"查看"))}))))})))),R.includes("OFFLINE")&&l.default.createElement("section",{className:"common-block ".concat(u.OFFLINE?"":"common-block-height")},l.default.createElement("div",{className:"common-block-title"},!u.OFFLINE&&l.default.createElement(r.Icon,{onClick:function(){return Z("OFFLINE",!0)},type:"up-solid"}),u.OFFLINE&&l.default.createElement(r.Icon,{onClick:function(){return Z("OFFLINE",!1)},type:"down-solid"}),l.default.createElement("p",null,"线下"),l.default.createElement("div",{className:"opt",onClick:function(){return $("OFFLINE","线下标签")}},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑")),l.default.createElement("div",{className:"common-block-info"},0===N.length&&l.default.createElement("div",{className:"common-block-info-empty"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("div",null,"暂无数据")),N.map((function(e){return l.default.createElement("div",{className:"common-block-info-group",key:"offline-".concat(e.groupName)},l.default.createElement("div",{className:"info-title"},e.groupName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},e.tags.map((function(e){return 8===e.valueType?l.default.createElement(l.default.Fragment,null,re(e,"OFFLINE","线下标签")):l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:e.tagId,className:te(e)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return $("OFFLINE","线下标签",e.tagId)}},e.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return $("OFFLINE","线下标签",e.tagId)}},e.tagValue.join("、"))),ne(e)&&l.default.createElement(r.Button,{type:"text",style:{height:20},onClick:function(){ae(e)}},"查看"))}))))})))),q.map((function(e){return l.default.createElement("section",{className:"common-block ".concat(u[e.platCode]?"":"common-block-height")},l.default.createElement("div",{className:"common-block-title"},!u[e.platCode]&&l.default.createElement(r.Icon,{onClick:function(){return Z(e.platCode,!0)},type:"up-solid"}),u[e.platCode]&&l.default.createElement(r.Icon,{onClick:function(){return Z(e.platCode,!1)},type:"down-solid"}),l.default.createElement("p",null,e.platName),l.default.createElement("div",{className:"opt",onClick:function(){return $(e.platCode,"".concat(e.platName,"标签"))}},l.default.createElement(r.Icon,{type:"edit-2"}),"编辑")),l.default.createElement("div",{className:"common-block-info"},(!K[e.platCode]||0===K[e.platCode].length)&&l.default.createElement("div",{className:"common-block-info-empty"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("div",null,"暂无数据")),K[e.platCode]&&K[e.platCode].map((function(t){return l.default.createElement("div",{className:"common-block-info-group",key:"offline-".concat(t.groupName)},l.default.createElement("div",{className:"info-title"},t.groupName),l.default.createElement("div",{className:"info-tag ".concat(i?"info-tag-p3":"info-tag-p2")},t.tags.map((function(t){return 8===t.valueType?l.default.createElement(l.default.Fragment,null,re(t,e.platCode,"".concat(e.platName,"标签"))):l.default.createElement("span",{className:"tag-item tag-item-com"},l.default.createElement("span",{key:t.tagId,className:te(t)},l.default.createElement("label",{className:"tag-item-edit tag-item-edit-title",onClick:function(){return $(e.platCode,"".concat(e.platName,"标签"),t.tagId)}},t.tagName,":"),l.default.createElement("label",{className:"tag-item-edit",onClick:function(){return $(e.platCode,"".concat(e.platName,"标签"),t.tagId)}},t.tagValue.join("、"))),ne(t)&&l.default.createElement(r.Button,{type:"text",style:{height:20},onClick:function(){ae(t)}},"查看"))}))))}))))}))))},tu=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).openDetailModal=function(e){r.Modal.createModal(Zs).open({tag:e}).then((function(e){}))},n.changeExpand=function(e,t){var a=n.state.outsideTagList;a[t].isExpand=e,n.setState({outsideTagList:a})},n.state={outsideTagList:[],loading:!0},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){var e=this;qs.getMarkedOutsideTagList(this.context.domain,this.context.serverName,this.context.uniId,1).then((function(t){var n=function(e){e=e||{};var t=[];for(var n in e)e[n].forEach((function(e){var t=e.displayTagValue;e.tagValueTemp=e.tagValue,e.tagValue=t})),t.push({title:n,tags:e[n],isExpand:!0});return t}(t.data);e.setState({outsideTagList:n,loading:!1})})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}))}},{key:"render",value:function(){var e=this,t=this.state,n=t.outsideTagList;return t.loading?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"weChat-module-new"},l.default.createElement("div",{className:"common-title"},l.default.createElement("div",{className:"common-title-left"},l.default.createElement("div",null),l.default.createElement("p",null,"企业微信标签"))),n&&n.length?n.map((function(t,n){return l.default.createElement("div",{className:"common-block ".concat(t.isExpand?"common-block-height":"")},l.default.createElement("div",{className:"common-block-title"},t.isExpand&&l.default.createElement(r.Icon,{onClick:function(){return e.changeExpand(!1,n)},type:"up-solid"}),!t.isExpand&&l.default.createElement(r.Icon,{onClick:function(){return e.changeExpand(!0,n)},type:"down-solid"}),l.default.createElement("p",null,t.title)),l.default.createElement("div",{className:"wc-tag"},l.default.createElement("div",{className:"info-tag info-tag-wx info-tag-p3"},t.tags.map((function(t){var n={type:3,text:t.tagName+":"+t.tagValue.join("、")};return l.default.createElement("span",{className:"tag-item"},l.default.createElement(gs,{tip:n,handleClick:function(){e.openDetailModal(t)}}))})))))})):l.default.createElement("div",{className:"empty-div"},l.default.createElement("img",{alt:"",src:As,width:64,height:64}),l.default.createElement("p",{style:{"margin-top":"8px"}},"暂无数据")))}}]),t}(l.default.Component);tu.contextType=Jl;var nu=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).changeCurrentTab=function(e){n.setState({currentTab:e})},n.state={currentTab:"rfm"},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this,t=this.state.currentTab;return l.default.createElement("div",{className:"customer-label-area-new"},l.default.createElement("section",{className:"customer-label-tab"},l.default.createElement("div",{onClick:function(){return e.changeCurrentTab("rfm")},className:"img_div ".concat("rfm"===t?"label-active":"")},"RFM标签"),l.default.createElement("div",{onClick:function(){return e.changeCurrentTab("custom")},className:"img_div ".concat("custom"===t?"label-active":"")},"自定义标签"),l.default.createElement("div",{onClick:function(){return e.changeCurrentTab("weChat")},className:"img_div ".concat("weChat"===t?"label-active":"")},"企业微信标签")),l.default.createElement("section",{className:"customer-label-content"},"rfm"===t&&l.default.createElement(Us,null),"custom"===t&&l.default.createElement(eu,null),"weChat"===t&&l.default.createElement(tu,null)))}}]),t}(l.default.Component),au=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).handleResize=function(){var e,t=null===(e=document.getElementsByClassName("order-table-title ")[0])||void 0===e?void 0:e.clientWidth;n.setState(t>1440?{isBigScreen:!0}:{isBigScreen:!1})},n.computedWidth=function(e,t){var n=document.getElementById("computedWidth").getContext("2d");return n.font="".concat(e,"px Microsoft YaHei"),n.measureText(t).width},n.onPageChange=function(e,t){n.setState({pageNum:e,pageSize:t}),setTimeout((function(){n.ajaxData()}))},n.ajaxData=function(){var e=n.state,t=f({pageNum:e.pageNum,pageSize:e.pageSize},n.query);xs.getCustomerOrderList(n.context.domain,n.context.serverName,t).then((function(e){n.setState({tableData:e.list,total:e.totals,loading:!1},(function(){n.setState({searchLoading:!1}),n.handleResize()}))}))},n.isProductNameOverWidth=function(e){return bt.getTextWidth(e)/2>250?e:""},n.handleCopy=function(e){bt.copyText(e),r.Message.success("复制成功")},n.searchData=function(e){var t=n.state.selectedShopTemp;"rest"===e&&n.setState({orderId:"",selectedShop:JSON.parse(JSON.stringify(t))});var a=n.state,i=a.allPlatShop,o=[];("rest"===e?t:a.selectedShop).forEach((function(e){if(2===e.length)o.push(e[1].includes("WX|")?e[1].replace("WX|","WEIXIN|"):e[1]);else{var t=i.find((function(t){return t.value===e[0]}));t.children.forEach((function(e){o.push(e.value.includes("WX|")?e.value.replace("WX|","WEIXIN|"):e.value)}))}})),"rest"===e||o.length?"rest"!==e&&o.length>100?r.Message.error("最多选择100个店铺"):(n.query.shopId=o.join(","),n.setState({searchLoading:!0,isSearchEmpty:!0}),setTimeout((function(){n.query.orderId=n.state.orderId,n.ajaxData()}))):r.Message.error("至少保留1个店铺数据")},n.onChange=function(e){n.setState({selectedShop:e})},n.onOrderChange=function(e){n.setState({orderId:e.target.value})},n.handleOrderColumnChange=function(e){n.setState({orderColumnTemp:e})},n.hasMoreLength=function(){var e=[];return n.state.orderColumn.forEach((function(t){[3,4,5].includes(t)&&e.push(t)})),e.length},n.hasMoreTitleLength=function(){var e=[];return n.state.orderColumn.forEach((function(t){[1,2].includes(t)&&e.push(t)})),e.length},n.state={platList:[],platListMap:{},allPlatShop:[],selectedShop:[],selectedShopTemp:[],loading:!0,searchLoading:!0,isSearchEmpty:!1,pageNum:1,pageSize:10,total:0,tableData:[],orderColumn:jl().orderColumn,orderColumnTemp:jl().orderColumn,isBigScreen:!1,orderId:""},n}var n,a,i,o;return C(t,e),w(t,[{key:"componentDidMount",value:(o=g(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.productionNameRef=l.default.createRef(),this.query={oneYearLater:!1,uniId:this.context.uniId},e.next=4,this.getAllPlat();case 4:if(0>=this.context.selectUniShops.length){e.next=11;break}this.query.shopId=this.context.selectUniShops.join(","),t=[],this.context.selectUniShops.forEach((function(e){var n=e.split("|");t.push([n[0],e])})),this.setState({selectedShop:t,selectedShopTemp:JSON.parse(JSON.stringify(t))}),e.next=13;break;case 11:return e.next=13,this.getFirstShop();case 13:return e.next=15,this.getAllShop();case 15:this.ajaxData(),window.addEventListener("resize",this.handleResize);case 17:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"getAllPlat",value:(i=g(p().mark((function e(){var t,n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getPlatformInfo(this.context.domain,this.context.serverName,this.context.uniId);case 2:t={},n=e.sent.map((function(e){return t[e.platCode]=e.platName,"MGJ"===e.platCode?"mogujie":e.platCode.toLocaleLowerCase()})),this.setState({platList:n,platListMap:t});case 6:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"getFirstShop",value:(a=g(p().mark((function e(){var t,n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getFirstShopList(this.context.domain,{tenantId:this.context.tenantId,platCodes:this.state.platList.join(","),permissionType:!0,youzanFlag:"mainShop",pageNum:1,pageSize:1,productCodes:"sjyj"});case 2:0!==(t=e.sent).length?(this.query.shopId=n=t[0].uniShopId,a=[[n.split("|")[0],n]],this.setState({selectedShop:a,selectedShopTemp:JSON.parse(JSON.stringify(a))})):this.setState({selectedShop:[]});case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"getAllShop",value:(n=g(p().mark((function e(){var t,n,a,r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this.state).platList,a=t.platListMap,e.next=3,xs.getAllShop(this.context.domain,{appIds:"0,31,9001",tenantId:this.context.tenantId,platCodes:n.join(","),permissionType:!0,youzanFlag:"mainShop",productCodes:"sjyj"});case 3:r=e.sent.reduce((function(e,t,n,r){var i="WX"===t.platCode?"WEIXIN":t.platCode,o=t.uniShopId.includes("WX|")?t.uniShopId.replace("WX|","WEIXIN|"):t.uniShopId,l=e.find((function(e){return e.value===i}));return l?l.children.push({value:o,label:t.name}):e.push({value:i,label:a[i],children:[{value:o,label:t.name}]}),e}),[]),this.setState({allPlatShop:r});case 6:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"filter",value:function(e,t){return t.some((function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}))}},{key:"render",value:function(){var e=this,t=this.state,n=t.loading,a=t.tableData,i=t.pageNum,o=t.pageSize,s=t.total,u=t.orderColumn,c=t.orderColumnTemp,d=t.platListMap,f=t.searchLoading,p=t.isSearchEmpty,h=u.includes(1)&&u.includes(2)?"2":u.includes(1)&&!u.includes(2)?"1-1":!u.includes(1)&&u.includes(2)?"1-2":u.includes(1)||u.includes(2)?"":"0",m=l.default.createElement("div",null,l.default.createElement(r.Checkbox.Group,{layout:"v",value:c,onChange:this.handleOrderColumnChange},l.default.createElement(r.Checkbox,{value:1},"订单结束时间"),l.default.createElement(r.Checkbox,{value:2},"导购员ID"),l.default.createElement(r.Checkbox,{value:3},"商品级优惠"),l.default.createElement(r.Checkbox,{value:4},"子订单调整金额"),l.default.createElement(r.Checkbox,{value:5},"主订单调整金额")));return n?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"customer-order-area-new"},l.default.createElement(r.Tips,{msg:"列表默认显示近2年的订单数据",style:{margin:16},isShowIcon:!0}),l.default.createElement("div",{className:"shop-filter"},l.default.createElement("label",{className:"title-label-require"},"店铺:"),l.default.createElement(r.CCascader,{style:{width:"270px"},options:this.state.allPlatShop,defaultValue:this.state.selectedShop,value:this.state.selectedShop,onChange:function(t){return e.onChange(t)},blur:function(){return e.searchData()},placeholder:"请选择店铺",maxTagCount:"responsive",showCheckedStrategy:"SHOW_CHILD",notFoundContent:Ns,multiple:!0,allowClear:!0,showSearch:{filter:this.filter}}),l.default.createElement("label",{className:"title-label-require",style:{marginLeft:16}},"订单号",l.default.createElement(r.Tooltip,{content:"默认基于客户近两年的订单数据筛选订单。",placement:"top"},l.default.createElement(r.Icon,{type:"question-circle",style:{margin:"0 2px",fontSize:"14px",color:"#0055CC",cursor:"pointer"}}),":")),l.default.createElement(r.Input,{placeholder:"请输入订单号",value:this.state.orderId,onChange:this.onOrderChange}),l.default.createElement(r.Button,{type:"primary",onClick:function(){return e.searchData()},style:{marginLeft:16}},"搜索"),l.default.createElement(r.Button,{onClick:function(){return e.searchData("rest")},style:{marginLeft:8}},"重置"),l.default.createElement(r.Popover,{className:"opt-checkbox-order",trigger:"click",size:"small",placement:"bottom-right",content:m,showCancelBtn:!0,showConfirmBtn:!0,confirmText:"确定",onCancelClick:function(){e.setState({orderColumnTemp:e.state.orderColumn})},onConfirmClick:function(){var t=e.state.orderColumnTemp;e.setState({orderColumn:t},(function(){e.handleResize()}));var n=jl();n.orderColumn=t,zl(n)}},l.default.createElement(r.Button,{className:"shop-filter-flag"},"选择指标"))),l.default.createElement(r.Loading,{layer:"true",className:"customer-loading",loading:f},l.default.createElement("div",{className:"order-list ".concat(this.hasMoreLength()>0?"order-list-right":"")},l.default.createElement("div",{className:"order-table-title order-extend-".concat(this.hasMoreLength())},l.default.createElement("div",{className:"table-column1"},"商品"),l.default.createElement("div",{className:"table-column2"},"商品原价"),l.default.createElement("div",{className:"table-column2"},"商品数量"),u.includes(3)&&l.default.createElement("div",{className:"table-column2"},"商品级优惠"),u.includes(4)&&l.default.createElement("div",{className:"table-column2"},"子订单调整金额"),l.default.createElement("div",{className:"table-column2"},"优惠金额"),u.includes(5)&&l.default.createElement("div",{className:"table-column2"},"主订单调整金额"),l.default.createElement("div",{className:"table-column5"},"订单总金额 ",this.state.isBigScreen)),l.default.createElement("section",{className:"order-table-body order-extend-".concat(this.hasMoreLength()," ").concat(0===a.length?"order-table-body-empty":"")},a.length?a.map((function(t,n){var a={type:1,text:t.orderStatus},i={type:1,text:t.guideId};return l.default.createElement("div",{className:"order-info",key:t.orderId},0===e.hasMoreTitleLength()||e.state.isBigScreen?l.default.createElement("div",{className:"order-title"},l.default.createElement("p",{className:"order-shop order-common-width-".concat(h)},El.includes(t.platCode)?l.default.createElement(Vs,{symbol:"".concat(t.platCode,"01"),style:{width:"16px",height:"16px"}}):l.default.createElement("img",{width:"16px",height:"16px",src:"https://brand-guide.shuyun.com/IAM/717f6f9c6abf.svg"}),l.default.createElement(r.Tooltip,{content:d[t.platCode]+"-"+t.shopName},l.default.createElement("span",null,d[t.platCode]," - ",t.shopName))),l.default.createElement("p",{className:"order-other order-special"},l.default.createElement("span",null,"订单号:"),l.default.createElement(r.Tooltip,{placement:"top-left",content:"双击可复制"},l.default.createElement("span",{className:"copy-order-id",onDoubleClick:function(){return e.handleCopy(t.orderId)}},t.orderId))),l.default.createElement("p",{className:"order-time"},l.default.createElement("span",null,"下单:"),l.default.createElement("span",null,t.created||"-")),l.default.createElement("p",{className:"order-time"},l.default.createElement("span",null,"付款:"),l.default.createElement("span",null,t.payTime||"-")),l.default.createElement("p",{className:"order-other order-common-width-".concat(h)},l.default.createElement("span",null,"交易状态:"),l.default.createElement("div",{className:"order-other-status"},l.default.createElement(gs,{tip:a}))),u.includes(1)&&l.default.createElement("p",{className:"order-time"},l.default.createElement("span",null,"结束:"),l.default.createElement("span",null,t.endtime||"-")),u.includes(2)&&l.default.createElement("p",{className:"order-other order-common-width-".concat(h)},l.default.createElement("span",null,"导购员ID:"),l.default.createElement("div",{className:"order-temp-tip-width"},l.default.createElement(gs,{tip:i})))):"",e.hasMoreTitleLength()>0&&!e.state.isBigScreen&&l.default.createElement("div",{className:"order-title-another"},l.default.createElement("section",{className:"title-section-temp"},l.default.createElement("p",{className:"order-temp order-temp-shop"},l.default.createElement(Vs,{symbol:"".concat(t.platCode,"01"),style:{width:"16px",height:"16px"}}),l.default.createElement(r.Tooltip,{content:d[t.platCode]+"-"+t.shopName},l.default.createElement("span",null,d[t.platCode]," - ",t.shopName))),l.default.createElement("p",{className:"order-temp"},l.default.createElement("span",null,"订单号:"),l.default.createElement(r.Tooltip,{placement:"top-left",content:"双击可复制"},l.default.createElement("span",{className:"copy-order-id",onDoubleClick:function(){return e.handleCopy(t.orderId)}},t.orderId))),l.default.createElement("p",{className:"order-temp"},l.default.createElement("span",null,"下单:"),l.default.createElement("span",null,t.created||"-")),l.default.createElement("p",{className:"order-temp"},l.default.createElement("span",null,"付款:"),l.default.createElement("span",null,t.payTime||"-"))),l.default.createElement("section",{className:"title-section-temp"},l.default.createElement("p",{className:"order-temp order-temp-left"},l.default.createElement("span",null,"交易状态:"),l.default.createElement("div",{className:"order-other-status"},l.default.createElement(gs,{tip:a}))),u.includes(2)&&l.default.createElement("p",{className:"order-temp"},l.default.createElement("span",null,"导购员ID:"),l.default.createElement("div",{className:"order-temp-tip-width"},l.default.createElement(gs,{tip:i}))),u.includes(1)&&l.default.createElement("p",{className:"order-temp"},l.default.createElement("span",null,"结束:"),l.default.createElement("span",null,t.endtime||"-")))),l.default.createElement("div",{className:"order-content"},l.default.createElement("section",{className:"order-content-1 ".concat(u.includes(5)?"order-content-1-2":u.includes(3)||u.includes(4)?"order-content-1-1":"")},t.orderList.map((function(e,t){return l.default.createElement("div",{className:"order-content-one-div"},l.default.createElement("div",{className:"order-item-production",key:e.orderItemId},l.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:e.detailUrl?e.detailUrl:null},l.default.createElement(ru,{picUrl:e.picUrl})),l.default.createElement("span",{className:"product-name"},l.default.createElement(r.Tooltip,{content:ql(document.getElementById("customer-order-name-".concat(n,"-").concat(t)),e.productName,"14px",2)},l.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",id:"customer-order-name-".concat(n,"-").concat(t),href:e.detailUrl?e.detailUrl:null},e.productName)),l.default.createElement("p",{className:"sku"},e.skuDetail),"1"===e.isRefund?l.default.createElement("p",{className:"product-refund"},"退款成功"):"")),l.default.createElement("div",{className:"order-item-price",key:e.skuId},"¥ ",e.price),l.default.createElement("div",{className:"order-item-count",key:e.productId},e.productNum),u.includes(3)&&l.default.createElement("div",{className:"order-item-count-temp"},"¥",e.discountFee),u.includes(4)&&l.default.createElement("div",{className:"order-item-count-temp"},"¥",e.adjustFee))}))),l.default.createElement("section",{className:"order-content-2"},"¥",t.tradeDiscountFee),u.includes(5)&&l.default.createElement("section",{className:"order-content-2"},"¥",t.adjustFee),l.default.createElement("section",{className:"order-content-4"},l.default.createElement("p",null,"¥",t.payment),l.default.createElement("p",null,"(含运费:¥",t.postFee,")"))))})):l.default.createElement("div",{className:"empty-order"},l.default.createElement("img",{alt:"",src:p?Is:As,width:64}),l.default.createElement("p",{style:{marginTop:8}},p?"搜索为空":"暂无数据")))),0!==s&&l.default.createElement("div",{className:"footer-page"},l.default.createElement(r.Pagination,{showQuickJumper:!0,showPageSizeOptions:!0,pageSizeOptions:[5,10,20,30,50],onChange:function(t,n){return e.onPageChange(t,n)},total:s,current:i,pageSize:o}))))}}]),t}(l.default.Component);function ru(e){var n=e.picUrl;return l.default.createElement(t.Fragment,null,n&&l.default.createElement("img",{width:"50px",height:"50px",src:n,alt:""}),!n&&l.default.createElement("div",{className:"default-img"},l.default.createElement("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAFpOLgnAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMqADAAQAAAABAAAAMgAAAAB1y6+rAAAC3UlEQVRoBe1Zh87jIAx2lzrVSl1SxwtdH/he6DpVdW91Xb5IICCkkLTJf1cFKQEDtvlsE0ZSh8PhFxH9dh41DVNO41OtZXSaFXQ5b5zP57Tf7wk5S7yx0WjQ4/GgQqHA2sioc8i7KgVfTq5PYSC7htlsxhk5x3a7pWKxyBuCK/fl4DI1Ba5f0+Zb5WESnQEulUZdFi81rVYrcmJCreZ0fJgCa/IYgQ/ap/C/MDyfvlNUH+CpVIqGQ/000oJmnVkuGswTJpgY1WpV7COVv8FxgTFIFrAktK6w5LXu9j1KPIGo2mC5XNLxeFSrJbrf70u0ShiV3O93gpDxeOyubChfLhfK5/OuLN2XNrASxtDtdmmz2UiTOZ1OUy6XY118cyMScC4WCzqdTh4hWLOBypSSeWKykNQey2SET/44al8HujSuwMQgcXwgm8Xi+ETJv+cT41dYt+USYZRKJarX62KVp2xUgsWp1WoRFq9MJuMRYLNoWUfXZDKh6/XqKnm1dfWMwqkwImFMvV6PxG1up9PRImP9xdwaiagAAoDMZlVEX2slugCw8YeVEthfpwDMtsnoE5ySxQO+KrhSqahVHjpZTzwmeVVhHV2vhJjaEiUmC0ntcZjLvbCLenMnoYqIeH3zGJHSSMTG4fZIBq4KTYCoFvlpOvHIT3tA1f81HjFu6lTkKo0bIvwoCLrDZ3Kwty6Xy4TrrHfS20BwBYaE81GYhL36+XwOzc90vg2ECWI5+5WDy8J2u+0el1hblPnHgbAQYTkGj9ADQJxsm81mJOA+DqRWqxEepN1u517tuoTzwrlyNBpRNpt1ASH/VPqcJGFE6/Xa/e8rVEnF2+1G0+nU9Qwmu82dtSRAQ3wMCL5aCB/T7wJxDOAJ+7UT5aD8NhDc4mDwCJmwSXcTFFRWLOf2oIMK0/+9VSiMxoh4EiARGTa02MQjoU0XEWPikYgMG1osPDJwnmFoCT/PiLEP/gLYJwxH9DiPIAAAAABJRU5ErkJggg==",width:50,height:50})))}au.contextType=Jl;var iu=function(e){function t(e){var n,a,r,i;y(this,t),(i=u(this,t,[e])).offlineFieldNames={label:"regionName",value:"regionId",children:"children"},i.handleChange=function(e){i.setState({shopNick:e.target&&e.target.value})},i.handlePlatformChange=function(e){i.setState({channel:e}),i.props.formFlag&&i.props.channel(e)},i.handleTypeChange=function(e){i.setState({shopType:e})},i.handleSearch=function(){var e=i.props.option,t=e.isSupportedChannel,n=void 0===t||t,a=e.permissionType,r=void 0!==a&&a,o=e.isJosPop,l=void 0!==o&&o,s=e.youzanFlag,u=i.state,c=u.shopType,d=u.offlineIdPath,p=u.offlineIdOption;i.params={shopNick:u.shopNick,channel:n&&u.channel,shopTypes:n&&(null==c?void 0:c.split("_")[1]),regionId:d,permissionType:r},l&&(i.params=f(f({},i.params),{},{appId:0})),s&&(i.params=f(f({},i.params),{},{youzanFlag:s})),i.props.formFlag?i.props.searchParams(i.params):i.props.selectedSearchParams(f(f({},i.params),{},{regionOption:p}))},i.handleReset=function(){var e,t,n,a=i.props.option.isSupportedChannel,r=void 0===a||a,o=null===(e=i.typeList.map((function(e){return e.options})))||void 0===e?void 0:e.flat().length;i.setState({shopNick:"",channel:r&&i.channelList[0].id,shopType:1===o?null===(t=i.typeList[0])||void 0===t||null===(n=t.options[0])||void 0===n?void 0:n.value:"",offlineIdPath:[],offlineIdOption:[]}),i.props.onSearchReset&&i.props.onSearchReset()},i.filterPlatform=function(e,t){var n=t.map((function(t){return e.find((function(e){return e.id.toLowerCase()===t}))}));return n.filter((function(e){return e}))},i.handleOfflineFilter=function(e,t){return t.some((function(t){return t[i.offlineFieldNames.label].toLowerCase().indexOf(e.toLowerCase())>-1}))},i.handleOfflineAddress=function(e,t){i.setState({offlineIdPath:e,offlineIdOption:t}),i.props.changeOffline(e?e[e.length-1]:"")};var o=i.props.option,l=o.platform,s=o.isSupportedChannel,c=void 0===s||s,d=o.shopTypes,p=l?i.filterPlatform(i.props.channelList,l):i.props.channelList;1>=p.length&&l||(p=[{id:"",name:"全部平台"}].concat(N(p))),i.channelList=p;var h=JSON.parse(JSON.stringify(i.props.shopTypeList));i.typeList=l?i.filterPlatform(h,l):h;var m,v=null===(n=i.typeList.map((function(e){return e.options})))||void 0===n?void 0:n.flat(),g=1===v.length?null===(a=i.typeList[0])||void 0===a||null===(r=a.options[0])||void 0===r?void 0:r.value:"";d&&(null===(m=i.typeList.map((function(e){return e.options})))||void 0===m||m.flat().forEach((function(e){var t=I(null==e?void 0:e.value.split("_"),2);d==t[1]&&(g=null==e?void 0:e.value)})));return i.state={shopNick:"",channel:c&&i.channelList.length&&i.channelList[0].id,shopType:g,offlineIdPath:[],offlineIdOption:[]},i}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.option,n=t.isSupportedChannel,a=void 0===n||n,i=t.hideOffLineSearchItem,o=e.offlineAddress,s=this.props.option.platform,u=this.state,c=u.channel,d=u.shopType,p=void 0===a||a?{}:{display:"none"};return!a&&s&&e.formFlag&&(s=null,console.warn("您已配置不支持平台,但是平台参数不为空")),l.default.createElement("section",{className:"".concat(Ce,"-new-shop-form")},l.default.createElement("div",{className:"shop-form-item",style:p},l.default.createElement("span",{className:"shop-item-label"},"平台:"),l.default.createElement(r.Select,{className:"shop-form-input selector-background",value:c,labelKey:"name",valueKey:"id",dataSource:this.channelList,onChange:this.handlePlatformChange})),l.default.createElement("div",{className:"shop-form-item"},l.default.createElement("span",{className:"shop-item-label"},"店铺/微信类型:"),l.default.createElement(r.Select,{className:"shop-form-input selector-background",placeholder:"请选择店铺/微信类型",dataSource:this.typeList,value:d,onChange:this.handleTypeChange,allowClear:!0})),l.default.createElement("div",{className:"shop-form-item"},l.default.createElement("span",{className:"shop-item-label"},"店铺/微信名称:"),l.default.createElement(r.Input,{className:"shop-form-input",placeholder:"请输入店铺/微信名称",value:this.state.shopNick,onChange:this.handleChange,hasClear:!0})),!i&&l.default.createElement("div",{className:"shop-form-item"},l.default.createElement("span",{className:"shop-item-label"},"线下店铺区域:"),l.default.createElement(r.CCascader,{options:o||[],value:this.state.offlineIdPath,onChange:this.handleOfflineAddress,placeholder:"请选择线下店铺区域",changeOnSelect:!0,className:"shop-form-cascader",fieldNames:f({},this.offlineFieldNames),showSearch:{filter:this.handleOfflineFilter},allowClear:!0,getPopupContainer:function(e){return e.parentNode}})),l.default.createElement("div",{className:"shop-form-search"},l.default.createElement(r.Button,{type:"primary",onClick:this.handleSearch,className:"search-btn"},"查询"),l.default.createElement(r.Button,{type:"text",onClick:this.handleReset},"重置")))}}]),t}(t.Component),ou="ucenter-mars-facade/v1",lu=function(){function e(){y(this,e)}var t,n,a,r;return w(e,[{key:"getShopList",value:(r=g(p().mark((function e(t,n){var a,r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.serverName,r=t.query,i=n?"".concat(a).concat(n):"".concat(a,"/").concat(ou,"/tenant/shop/list/selector"),e.next=4,ye.get(i,{params:r});case 4:return e.abrupt("return",e.sent.data.data||[]);case 7:case"end":return e.stop()}}),e)}))),function(e,t){return r.apply(this,arguments)})},{key:"getShopDetailById",value:(a=g(p().mark((function e(t,n){var a,r,i,o;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.serverName,r=t.query,!n){e.next=8;break}return i="".concat(a).concat(n),e.next=5,ye.get(i,{params:f({},r)});case 5:return e.abrupt("return",e.sent.data.data);case 8:return o="".concat(a,"/").concat(ou,"/tenant/shop/list/selector?tenantId=").concat(r.tenantId),e.next=11,ye.post(o,r);case 11:return e.abrupt("return",e.sent.data.data||[]);case 14:case"end":return e.stop()}}),e)}))),function(e,t){return a.apply(this,arguments)})},{key:"fetchChannelData",value:(n=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tenantId,a="".concat(t.serverName,"/").concat(ou,"/tenant/platform/shop_types?tenantId=").concat(n),e.next=4,ye.get(a);case 4:return e.abrupt("return",e.sent.data.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"fetchRegionTree",value:(t=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tenantName,a="".concat(t.serverName,"/").concat(ou,"/tenant/offline/shop/region"),e.next=4,ye.get(a,{params:{tenantId:n}});case 4:return e.abrupt("return",e.sent.data.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}(),su=new lu,uu="data:image/png;base64,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",cu=l.default.createContext({}),du=["shopNick","channel","shopTypes"],fu="shop-selector-disabled-row-key",pu="shop-selector-highlight-row-key",hu="search",mu="unsearch",vu="sjyj",gu={NORMAL:"正常",NO_ORDER:"未订购",EXPIRE:"订购到期"},yu=[{name:"企业微信",code:"32"}],bu=function(e,t,n){var a=t.map((function(e){return e.options})).flat(),i=[{dataIndex:"name",title:function(){return l.default.createElement("span",{style:{marginLeft:12}},"店铺/微信名称")},width:"180px",fixed:!0,ellipsis:!0,align:"left",render:function(e,t){return l.default.createElement(r.Tooltip,{content:t.name,placement:"top-left"},l.default.createElement("span",{style:{marginLeft:12}},t.name))}},{dataIndex:"id",title:"店铺ID/微信AppID",width:"200px",align:"left",render:function(e,t){return l.default.createElement("span",null,t.id)}},{dataIndex:"platCode",title:"平台",align:"center",render:function(t){var n=e.filter((function(e){return e.id===t}));return l.default.createElement("span",null,n[0]?n[0].name:"--")}},{dataIndex:"typeName",title:"店铺/微信类型",align:"left",render:function(e,t){var n=a.filter((function(e){return e.value==t.type}));return l.default.createElement("span",null," ",t.shopTypeDesc||(n[0]&&n[0].label?n[0].label:"--")," ")}},{dataIndex:"region",title:"线下店铺区域",ellipsis:!0,align:"left",render:function(e,t){return l.default.createElement(r.Tooltip,{content:t.region,placement:"top-left"},l.default.createElement("span",null,t.region?t.region:"--"))}},{dataIndex:"address",title:"店铺地址",ellipsis:!0,align:"left",render:function(e,t){return l.default.createElement(r.Tooltip,{content:t.address,placement:"top-left"},l.default.createElement("span",null,t.address?t.address:"--"))}}];return n&&(i.splice(4,1),i.splice(4,0,{dataIndex:"status",title:"店铺状态",ellipsis:!0,align:"left",render:function(e,t){return l.default.createElement(r.Tooltip,{content:t.versionDesc,placement:"top-left"},l.default.createElement("span",null,t.status?gu[t.status]:"--"))}})),i},wu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.shopNick,n=e.shopTypes;return f({shopNick:void 0===t?"":t,platCodes:e.channel,shopType:void 0===n?"":n},x(e,du))},ku=function(e,t){if(!e.length)return"";var n=t.map((function(e){return"".concat(e.platCode.toUpperCase(),"_")})),a=[];return e.forEach((function(e){n.some((function(t){return e.toUpperCase().includes(t)}))?n.forEach((function(t){var n=RegExp("^".concat(t),"gi");n.test(e)&&a.push(e.replace(n,"".concat(t.substring(0,t.length-1),"|")))})):a.push(e)})),""+a},Eu=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).tableRef=l.default.createRef(),n.shopRef=l.default.createRef(),n.isShowToolArea=function(){var e=n.props.option,t=e.disabledRowIdList,a=e.selectableRowIdList,r=e.isSingleSelected,i=e.disabledAllRow;return!(void 0!==r&&r)&&((void 0===t?[]:t).length||(void 0===a?[]:a).length||void 0!==i&&i)},n.onSearch=function(e){n.setState({selecting:!0});var t=n.props.option,a=t.tenantId,r=t.appIds,i=void 0===r?vu:r,o=t.platform,l=t.isSupportedChannel,s=t.serverName,u=t.shopPath,c=void 0===u?"":u,d=t.partner,p=t.youzanFlag,h=!e.channel&&(void 0===l||l)?o&&o.map((function(e){return e.toUpperCase()})).join(","):e.channel;if(n.queryData.query=f(f({},wu(e)),{},{productCodes:i,tenantId:a,platCodes:h,partner:d}),p&&(n.queryData.query=f(f({},n.queryData.query),{},{youzanFlag:p})),n.reginId){var m=f(f({},n.queryData.query),{},{regionId:n.reginId}),v=n.context.allSelectedShopList;su.getShopList({query:m,serverName:s},c).then((function(e){n.setAllShopList(e),n.context.changeSelectedShops(v),n.tableRef.current.refreshTable(!0,n.queryData.query),n.setState({selecting:!1})}))}else n.fetchAllShopList().then((function(){n.tableRef.current.refreshTable(!0),n.setState({selecting:!1})}))},n.onSearchReset=function(){var e=n.props.option.platform;n.reginId=null,n.setState({channelType:e&&""+e})},n.onChannel=function(e){n.setState({channelType:e})},n.onAllCheckedHandle=function(e){n.setState({operationsStatus:!1}),n.getCheckedState().isAllChecked||(n.setState({selecting:!0}),setTimeout((function(){n.updateCheckedShopData(n.usableShopList,e),n.setState({selecting:!1})}),300))},n.onPageCheckedHandle=function(e){n.updateCheckedShopData(n.state.usableCurrentShopList,e)},n.onRemoveAll=function(){n.setState({operationsStatus:!1}),n.context.changeSelectedShops([])},n.onChangeDisable=function(e){n.setState({usable:e},(function(){n.tableRef.current.refreshTable(!0)}))},n.genColumnData=function(){var e;return bu(n.channelList,n.shopTypeList,null===(e=n.props.option)||void 0===e?void 0:e.hideOffLineSearchItem)},n.ajaxSuccess=function(){var e=n.props.option,t=e.selectedShop,a=void 0===t?[]:t,r=e.heightLightRow,i=void 0===r?[]:r,o=e.isOpenSelectedTab,l=n.context.allSelectedShopList;i.length&&i.find((function(e){return e.background}))&&n.setTdBackground(i),a.length&&n.firstStatus&&!o&&n.getSelectedShopDetail(a).then((function(e){n.context.changeSelectedShops(l||e),n.firstStatus=!1}))},n.checkedHandler=function(e){n.context.changeSelectedShops(e)},n.ajaxData=function(e){var t=A(n),a=n.state.usable?t.usableShopList:t.allShopList,r=e.pageSize,i=e.pageNum;return n.currentShopList=a.slice((i-1)*r,i*r),n.setCurrentShopList(n.currentShopList),new Promise((function(e){setTimeout((function(){e({data:n.currentShopList,totals:a.length})}),100)}))},n.switchOperationsStatus=function(){n.setState({operationsStatus:!n.state.operationsStatus})};var a=n.props,r=a.searchParams,i=a.option,o=a.channel,s=i.tenantId,c=i.platform,d=i.permissionType,p=void 0!==d&&d,h=i.youzanFlag,m=i.shopTypes,v=i.appIds,g=void 0===v?vu:v,b=i.partner;return n.firstStatus=!0,n.channelList=o.channelList,n.shopTypeList=o.shopTypeList,n.queryData={serverName:i.serverName,query:f(f({},wu(r)),{},{productCodes:g,tenantId:s,platCodes:c&&c.map((function(e){return e.toUpperCase()})).join(","),permissionType:p,shopType:m,partner:b})},h&&(n.queryData.query=f(f({},n.queryData.query),{},{youzanFlag:h})),n.state={selecting:!1,usable:!0,operationsStatus:!1,usableCurrentShopList:[],channelType:c&&""+c},n.allShopList=[],n.usableShopList=[],n.currentShopList=[],n.reginId=null,n.initTableData(),n}var n,a,i;return C(t,e),w(t,[{key:"initTableData",value:(i=g(p().mark((function e(){var t=this;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetchAllShopList();case 2:return e.next=4,this.ajaxSuccess();case 4:setTimeout((function(){var e,n;t.context.changeLoading(!1),(null===(e=t.tableRef)||void 0===e||null===(n=e.current)||void 0===n?void 0:n.refreshTable)&&t.tableRef.current.refreshTable(!0)}),100);case 5:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"getUsableShopList",value:function(e){var t=this.props.option,n=t.disabledRowIdList,a=void 0===n?[]:n,r=t.selectableRowIdList,i=void 0===r?[]:r,o=t.disabledAllRow,l=a.length,s=i.length;return void 0!==o&&o?[]:l||s?l?e.filter((function(e){return!a.includes(e.id)})):s?e.filter((function(e){return i.includes(e.id)})):[]:e}},{key:"setAllShopList",value:function(e){this.allShopList=e,this.usableShopList=this.getUsableShopList(e)}},{key:"setCurrentShopList",value:function(e){this.currentShopList=e,this.setState({usableCurrentShopList:this.getUsableShopList(e)})}},{key:"getSelectedShopDetail",value:(a=g(p().mark((function e(t){var n,a,r,i,o,l,s;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=this.props.option).serverName,r=n.youzanFlag,o=void 0===(i=n.shopPath)?"":i,s={tenantId:n.tenantId,productCodes:void 0===(l=n.appIds)?vu:l,shopIds:ku(t,this.shopTypeList)},r&&(s=f(f({},s),{},{youzanFlag:r})),e.abrupt("return",su.getShopDetailById({query:s,serverName:a},o));case 4:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"setTdBackground",value:function(e){var t=this;e.forEach((function(e,n){var a=t.shopRef.current.querySelectorAll(".cloud-table-container tr.".concat(pu))[n];a&&[].forEach.call(a.querySelectorAll("td"),(function(t){t.style.background=e.background||"#eee"}))}))}},{key:"updateCheckedShopData",value:function(e,t){var n=this.context,a=n.allSelectedShopList,r=void 0===a?[]:a,i=n.changeSelectedShops,o=[];if(r.length){var l=r.map((function(e){return e.id}));if(t){var s=e.filter((function(e){return!l.includes(e.id)}));o=r.concat(s)}if(!t){var u=e.filter((function(e){return l.includes(e.id)}));o=r.filter((function(e){return!u.some((function(t){return e.id===t.id}))}))}}else o=t?e:[];i(o)}},{key:"getCheckedState",value:function(){var e=this.usableShopList,t=this.state.usableCurrentShopList,n=this.context.allSelectedShopList,a=void 0===n?[]:n;return{isAllChecked:e.length>0&&e.every((function(e){return a.some((function(t){return e.id===t.id}))})),currentPageChecked:t.length>0&&t.every((function(e){return a.some((function(t){return e.id===t.id}))}))}}},{key:"fetchAllShopList",value:(n=g(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,su.getShopList(this.queryData,null===(t=this.props.option)||void 0===t?void 0:t.shopPath);case 2:this.setAllShopList(e.sent);case 4:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"renderTable",value:function(){var e=this,t=this.context.allSelectedShopList,n=void 0===t?[]:t,a=this.props,i=a.option,o=a.tipsHeight,s=this.state.operationsStatus,u=i.disabledRowIdList,c=void 0===u?[]:u,d=i.selectableRowIdList,f=void 0===d?[]:d,p=i.heightLightRow,h=void 0===p?[]:p,m=i.isSingleSelected,v=void 0!==m&&m,g=i.disabledRowHoverOptions,y=void 0===g?{}:g,b=i.tips,w=void 0===b?null:b,k=i.disabledAllRow,E=this.getCheckedState(),C=w?340-o:340,S=w?310-o:310;return l.default.createElement(l.default.Fragment,null,!v&&l.default.createElement("div",{className:"table-operation",style:{zIndex:this.state.selecting?1:2},onMouseLeave:function(){return e.setState({operationsStatus:!1})}},l.default.createElement(r.Checkbox,{className:"check-page-selected",checked:E.currentPageChecked,onChange:this.onPageCheckedHandle}),l.default.createElement(r.Icon,{type:s?"up":"down",className:"switch",onClick:this.switchOperationsStatus}),s?l.default.createElement("div",{className:"operationsList"},l.default.createElement("span",{className:"operationItem",onClick:this.onAllCheckedHandle},"全选全部"),l.default.createElement("span",{className:"operationItem",onClick:this.onRemoveAll},"清空")):null),l.default.createElement(r.CTable,{ref:this.tableRef,rowKey:"id",style:{width:"100%",height:this.isShowToolArea()?S:C},footerHeight:48,ajaxData:this.ajaxData,columnData:this.genColumnData(),checkedData:n,onCheckedAfter:function(t){return e.checkedHandler(t)},onCheckedAllAfter:function(t){return e.checkedHandler(t)},supportCheckbox:!v,supportRadio:v,supportPage:!0,showTotal:!0,disablePageOnLoad:!1,loadingOpts:{loading:this.state.selecting,layer:!0},emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:uu,width:64,height:64}),l.default.createElement("p",null,"暂无数据"))},footerSelectTpl:l.default.createElement("span",{className:"selectedStatistics"},"已选店铺 ",l.default.createElement("span",{className:"count"},n.length)," 个"),tooltipConfigs:[{tooltipMsg:y.text,tooltipRowCls:fu}],pageOpts:{pageSize:10,pageSizeOptions:[10,20,30,50,100],type:"small",showQuickJumper:!1},onRow:function(e){i.handelRow?i.handelRow(e):Object.assign(e,{disabled:k||c.includes(e.id)||f.length&&!f.includes(e.id)})},rowClassName:function(e){var t=(h||[]).find((function(t){return t.id===e.id}));return t?t.background?pu:t.clsName||"shop-selector-highlight-row":c.length&&c.includes(e.id)||f.length&&!f.includes(e.id)||k?fu:""}}))}},{key:"render",value:function(){var e=this,t=this.state.usable,n=this.props,a=n.option;return l.default.createElement(l.default.Fragment,null,l.default.createElement(iu,{formFlag:!0,option:a,channel:this.onChannel,channelList:this.channelList,shopTypeList:this.shopTypeList,offlineAddress:n.treeData,changeOffline:function(t){e.reginId=t},searchParams:this.onSearch,onSearchReset:this.onSearchReset}),l.default.createElement("div",{className:"all-shops-area",ref:this.shopRef},l.default.createElement("div",{className:"all-shop"},this.isShowToolArea()?l.default.createElement("div",{className:"all-shops-operation"},l.default.createElement(r.Checkbox,{className:"check-usable",checked:t,onChange:this.onChangeDisable},"仅显示可选项")):null,l.default.createElement("div",{className:"shop-table-container",style:{top:a.isSingleSelected?0:-20}},this.context.isLoading?l.default.createElement(r.Loading,{className:"loading"}):this.renderTable()))))}}]),t}(t.Component);Eu.contextType=cu,Eu.propTyes={option:et.shape({isSingleSelected:et.bool,disabledRowIdList:et.array,selectableRowIdList:et.array,disabledRowHoverOptions:et.object,serverName:et.string.isRequired,tenantId:et.string.isRequired,youzanFlag:et.string,partner:et.string}),channel:et.object},Eu.defaultProps={option:{isSingleSelected:!1,disabledRowIdList:[],selectableRowIdList:[],disabledRowHoverOptions:{},serverName:"",tenantId:"",youzanFlag:"",partner:""},channel:{channelList:[],shopTypeList:[]}};var Cu=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).tableRef=l.default.createRef(),n.onSearch=function(e){n.params=e;var t=n.context.allSelectedShopList;if(t){var a=JSON.parse(JSON.stringify(t)),r=e,i=n.filterSearchMethods();a.forEach((function(e){var t=[];Object.keys(r).forEach((function(n){if("channel"===n)t.push(i.equal(r[n],e.platCode));else if("shopTypes"===n)t.push(i.equal(r[n],e.shopType));else if("shopNick"===n){t.push(i.fuzzySearchGroup(["name","id"],r[n],e))}else if("regionId"===n){var a=r.regionOption.map((function(e){return e.regionName})).join(",");t.push(i.fuzzySearchGroup(["region"],a,e))}})),e.isHide=-1!==t.indexOf(!1)})),n.filterShopList=a.filter((function(e){return!e.isHide})),n.setState({flag:hu}),n.tableRef.current.refreshTable(!0)}},n.filterSearchMethods=function(){return{equal:function(e,t){return!e&&0!==e||""===t||(e+"").replace(/\s/g,"")===t+""},fuzzySearchGroup:function(e,t,n){var a=[];return e.map((function(e){return a.push(!t&&0!==t||-1!==(n[e]+"").replace(/\s/g,"").search(t+""))})),-1!==a.indexOf(!0)}}},n.onRemoveHandle=function(e){return function(){var t=n.context.allSelectedShopList.filter((function(t){return t.id!==e.id}));n.context.changeSelectedShops(t)}},n.onRemoveAll=function(){n.context.changeSelectedShops([])},n.onRemovePage=function(){var e=n.context.allSelectedShopList,t=n.pageData.data.map((function(e){return e.id})),a=e.filter((function(e){return-1===t.indexOf(e.id)}));n.context.changeSelectedShops(a)},n.sliceData=function(e,t,n){var a=e.length,r=Math.ceil(a/t),i=Math.min(n,r);return{data:e.slice((i-1)*t,i*t),pageSize:t,pageNum:i,totalCount:a,totalPage:r}},n.ajaxData=function(e){var t=n.context.allSelectedShopList;n.pageData=n.sliceData(n.state.flag===hu?n.filterShopList:void 0===t?[]:t,e.pageSize,e.pageNum);var a=n.pageData,r=a.data,i=a.totalCount;return new Promise((function(e){setTimeout((function(){e({data:r,totals:i})}),100)}))},n.ajaxSuccess=function(){var e=n.props.option,t=e.selectedShop,a=void 0===t?[]:t,r=e.isOpenSelectedTab,i=e.serverName,o=e.youzanFlag,l=e.shopPath,s=e.appIds,u=n.context.allSelectedShopList,c=void 0===u?[]:u;if(n.firstStatus&&a.length){var d={tenantId:e.tenantId,productCodes:void 0===s?vu:s,shopIds:ku(a,n.shopTypeList)};o&&(d=f(f({},d),{},{youzanFlag:o})),su.getShopDetailById({query:d,serverName:i},l).then((function(e){n.context.changeSelectedShops(r?e:c),n.firstStatus=!1}))}},n.genColumnData=function(){var e,t=n.props.option.readonly,a=bu(n.channel,n.shopTypeList,null===(e=n.props.option)||void 0===e?void 0:e.hideOffLineSearchItem);return t?a:[].concat(N(a),[{dataIndex:"id",title:"操作",align:"center",fixed:"right",width:"80px",render:function(e,t){return l.default.createElement(r.Button,{type:"link",size:"small",onClick:n.onRemoveHandle(t)},"移除")}}])};var a=n.props.channel;return n.channel=a.channelList,n.shopTypeList=a.shopTypeList,n.params=null,n.reginId=null,n.firstStatus=!0,n.state={loading:!0,flag:mu},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.ajaxSuccess(),this.setState({loading:!1})}},{key:"componentDidUpdate",value:function(e){if(JSON.stringify(e.allSelectedShopList)!==JSON.stringify(this.props.allSelectedShopList)){if(this.params)return void this.onSearch(this.params);this.tableRef.current.refreshTable(!0)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.option;return l.default.createElement("div",{className:"select-shop-container"},l.default.createElement(iu,{option:n,formFlag:!1,channelList:this.channel,shopTypeList:this.shopTypeList,offlineAddress:t.treeData,changeOffline:function(t){e.reginId=t},selectedSearchParams:this.onSearch,onSearchReset:function(){e.setState({flag:mu}),e.reginId=null}}),!n.isSingleSelected&&!n.readonly&&l.default.createElement("div",{className:"selected-operation"},l.default.createElement(r.Button,{type:"link",size:"small",onClick:this.onRemovePage,style:{paddingLeft:0}},"移除当前页"),l.default.createElement(r.Button,{type:"link",size:"small",onClick:this.onRemoveAll},"移除全部")),l.default.createElement("div",{className:"select-shop-table-container"},this.state.loading?l.default.createElement(r.Loading,{className:"loading"}):l.default.createElement(r.CTable,{ref:this.tableRef,rowKey:"id",style:{width:"100%",height:n.tips?260:300},footerHeight:48,ajaxData:this.ajaxData,columnData:this.genColumnData(),supportPage:!0,showTotal:!0,disablePageOnLoad:!1,emptyTpl:function(){return l.default.createElement("div",{className:"emptyArea"},l.default.createElement("img",{alt:"",src:uu,width:64,height:64}),l.default.createElement("p",null,"暂无数据"))},pageOpts:{pageSize:10,pageSizeOptions:[10,20,30,50,100],type:"small",showQuickJumper:!1}})))}}]),t}(t.Component);Cu.contextType=cu,Cu.proTypes={tenantId:et.string.isRequired,option:et.object,channel:et.object},Cu.defaultProps={option:{isSingleSelected:!1,serverName:"",tenantId:""},channel:{channelList:[],shopTypeList:[]}};var Su=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).state={channelConfig:{},treeData:[]},n.fetchChannelInfo(),n.fetchTreeData(),n}var n,a;return C(t,e),w(t,[{key:"componentWillUnmount",value:function(){this.context.changeSelectedShops(void 0)}},{key:"fetchChannelInfo",value:(a=g(p().mark((function e(){var t,n,a,r,i,o;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this.props.option).serverName,a=t.tenantId,r=t.onlyEnterpriseWeChat,e.next=3,su.fetchChannelData({serverName:n,tenantId:a});case 3:o=[],i=(i=e.sent).map((function(e){var t,n=e.shopTypes,a=e.platCode||"";return"weixin"===(null==a?void 0:a.toLocaleLowerCase())&&r&&(n=yu),(null===(t=n)||void 0===t?void 0:t.length)&&o.push(f(f({},e),{},{id:a,name:e.platName,label:e.platName,value:e.platCode,options:n.map((function(t){return{label:t.name,value:"".concat(e.platCode,"_").concat(t.code)}}))})),f(f({},e),{},{id:a,name:e.platName})})),this.setState({channelConfig:{channelList:i,shopTypeList:o}});case 7:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"fetchTreeData",value:(n=g(p().mark((function e(){var t,n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={tenantName:(t=this.props.option).tenantId,serverName:t.serverName},e.next=4,su.fetchRegionTree(n);case 4:this.setState({treeData:e.sent});case 6:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"render",value:function(){var e=this.state,t=e.channelConfig,n=e.treeData,a=this.props,i=a.option,o=a.tipsHeight,s=i.isOpenSelectedTab,u=i.readonly,c=this.context.allSelectedShopList,d=void 0===c?[]:c,f=[{title:"已选店铺",content:l.default.createElement(Cu,{allSelectedShopList:d,tipsHeight:o,option:i,channel:t,treeData:n}),key:"selected"}],p=u?f:[{title:"全部店铺",content:l.default.createElement(Eu,{option:i,tipsHeight:o,channel:t,treeData:n}),key:"all"}].concat(f),h=d.length>0&&l.default.createElement(r.Badge,{className:"selected-num ".concat(u?"num-left":""),mode:"number",type:"fail",number:d.length});return t.channelList?l.default.createElement("div",{className:tt("".concat(Ce,"-new-shop-selector"))},l.default.createElement(r.Tabs,{defaultActiveKey:s?"selected":"all",type:"line",className:"shop-selector-tabs"},p.map((function(e,t){return l.default.createElement(r.Tabs.Panel,{key:e.key,tab:"all"===e.key?e.title:l.default.createElement("span",null,e.title," ",h),className:"shop-selector-panel",index:t},e.content)})))):null}}]),t}(t.Component);Su.contextType=cu,Su.propTyes={option:et.object},Su.defaultProps={option:{}};var _u={maxWidth:"960px",width:"960px"},xu={height:"524px",maxHeight:"524px",padding:"2px 16px 16px"},Au=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).tipsRef=l.default.createRef(),n.changeSelectedShops=function(e){n.setState({allSelectedShopList:e})},n.changeLoading=function(e){n.setState({isLoading:e})},n.reset=function(){n.setState({allSelectedShopList:void 0,tipsHeight:0,isLoading:!0})},n.ok=function(){var e,t;(null===(e=n.state)||void 0===e||null===(t=e.allSelectedShopList)||void 0===t?void 0:t.length)&&n.setState({hasOperated:!0}),n.props.onOk(n.state.allSelectedShopList||[])},n.onCancel=function(){n.props.onCancel()},n.onClose=function(){n.props.onClose()},n.state={allSelectedShopList:void 0,tipsHeight:0,hasOperated:!1,isLoading:!0},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.props.option.tips&&this.setState({tipsHeight:this.tipsRef.current.clientHeight})}},{key:"componentDidUpdate",value:function(e){e.visible!==this.props.visible&&this.reset()}},{key:"renderFooter",value:function(){var e=this.state,t=e.allSelectedShopList;return l.default.createElement("div",null,l.default.createElement(r.Button,{type:"primary",onClick:this.ok,disabled:(!t||!t.length)&&this.props.option.requiredSelected||e.isLoading},"确定"),l.default.createElement(r.Button,{onClick:this.onCancel,className:"cancel",style:{marginLeft:16}},"取消"))}},{key:"render",value:function(){var e,t,n=this.props,a=n.visible,i=n.option,o=n.useRootWindow,s=void 0===o||o,u=i.isSupportedChannel,c=i.platform,d=i.tips;if(a){if(!i.tenantId)return console.error("shopSelector 缺少 tenantId 参数"),"";if(u&&c&&!c.length)return console.error("您已配置支持平台,平台数组长度不能为0, 一个平台:platform.length === 1; n个平台:platform.length === n; 不限平台:platform === null"),""}return l.default.createElement(r.Modal,{className:"".concat(Ce,"-shop-selector-modal"),title:l.default.createElement("div",{style:{display:"flex",alignItems:"center",gap:16}},l.default.createElement("p",null,"选择店铺"),l.default.createElement(pr,{componentName:"店铺选择器",hasOperated:this.state.hasOperated,serverName:null===(e=this.props)||void 0===e||null===(t=e.option)||void 0===t?void 0:t.serverName,firstId:window.sessionStorage.getItem("SHOP_NEW_FIRST_ID")||20230910400,operateId:window.sessionStorage.getItem("SHOP_NEW_OPERATE_ID")||20230910500,title:"您对新版本评价如何呢?"})),visible:a,modalStyle:_u,bodyStyle:xu,onClose:this.onClose,hasFooter:i.hasFooter,footer:this.renderFooter(),useRootWindow:s},d?l.default.createElement("div",{ref:this.tipsRef},d):null,l.default.createElement(cu.Provider,{value:f(f({},this.state),{},{changeSelectedShops:this.changeSelectedShops,changeLoading:this.changeLoading})},a&&l.default.createElement(Su,{option:i,tipsHeight:this.state.tipsHeight})))}}]),t}(t.Component);function Iu(e){var t=e.onClose,n=e.list;return l.default.createElement(r.Modal,{className:"custom-view-new-drawer-modal",visible:!0,title:e.title,clickMaskCanClose:!1,onClose:t,onCancel:t,onOk:e.onOk,modalStyle:{width:644,minWidth:644}},l.default.createElement("div",{className:"customer-view-new-send-detail"},(void 0===n?[]:n).map((function(e){return l.default.createElement("div",{className:"customer-view-new-send-detail-row"},l.default.createElement("label",null,e.label,":"),l.default.createElement("p",null,e.value))}))))}Au.propTyes={option:et.shape({hasFooter:et.bool,isSupportedChannel:et.bool,isOpenSelectedTab:et.bool,permissionType:et.bool,isSingleSelected:et.bool,readonly:et.bool,serverName:et.string.isRequired,tenantId:et.string.isRequired,selectedShop:et.array,platform:et.array,heightLightRow:et.array,disabledRowIdList:et.array,selectableRowIdList:et.array,requiredSelected:et.bool,isJosPop:et.bool,youzanFlag:et.string,shopTypes:et.string,handelRow:et.func,hideOffLineSearchItem:et.bool,partner:et.string,disabledAllRow:et.bool}),onClose:et.func,onCancel:et.func,visible:et.bool},Au.defaultProps={option:{hasFooter:!0,isSupportedChannel:!0,isOpenSelectedTab:!1,permissionType:!1,isSingleSelected:!1,readonly:!1,requiredSelected:!1,disabledAllRow:!1,serverName:"",tenantId:"",selectedShop:[],platform:[],heightLightRow:[],disabledRowIdList:[],selectableRowIdList:[],isJosPop:!1,youzanFlag:"",shopTypes:"",handelRow:null,hideOffLineSearchItem:!1,partner:""},visible:!1};var Nu={isSupportedChannel:!0,platform:["taobao","jos","douyin","offline","youzan","suning"],isOpenSelectedTab:!1,youzanFlag:"mainShop"},Du=(new Date).getFullYear(),Tu=(new Date).getMonth(),Ou=(new Date).getDate(),Mu=new Date(Du,Tu,Ou),Fu=new Date(Mu-63072e6),Lu=new Date(Mu-7776e6),Pu=r.CPicker.RangePicker,Bu=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).getData=function(){var e=n.state,t=e.queryType,a=e.channel,r=e.time,i=e.shops,o=f(f({},n.state.queryParam),{},{uniId:n.context.uniId});t&&(o.queryType=t),a&&(o.channel=a),r.start&&(o.startDate=r.start),r.end&&(o.endDate=r.end),i&&i.length&&(o.shops=i.join(",")),xs.getCustomerViewList(n.context.domain,n.context.serverName,o).then((function(e){var t=[].concat(N(n.state.dynamicDataTemp),N(e));n.setState({dynamicDataTemp:t,dynamicData:n.dealData(t),loading:!1,hasMore:10===e.length})}))},n.dealData=function(e){var t=e.reduce((function(e,t,n,a){var r="".concat(bt.moment(t.time).format("yyyy-MM-dd")," ").concat(Nl[new Date(t.time).getDay()]),i=e.find((function(e){return e.dateItem===r}));i?i.children.push(t):e.push({dateItem:r,children:[t]});return e}),[]);return t},n.changeTime=function(e){n.setState({time:e})},n.handleChangeType=function(e){n.setState({queryType:e,channel:""})},n.handleChangeChannel=function(e){n.setState({channel:e})},n.openSelectShops=function(){n.setState({visible:!0})},n.onClose=function(){n.setState({visible:!1})},n.selectShops=function(e){var t=e.map((function(e){return e.uniShopId})),a=e.map((function(e){return e.id}));n.setState({shops:t,selectedShop:a,visible:!1})},n.searchData=function(e){"rest"!==e?(n.setState({loading:!0,isSearchEmpty:!0,queryParam:{begin:1,end:10},dynamicDataTemp:[],dynamicData:[]}),setTimeout((function(){n.getData()}))):n.setState({queryType:"",channel:"",time:{start:"",end:""},shops:[],selectedShop:[]})},n.contentDetail=function(){var e=g(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xs.getContentDetail(n.context.domain,t);case 2:n.setState({contentPreviewVisible:!0,contentData:e.sent});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),n.contentPreviewOnClose=function(){n.setState({contentPreviewVisible:!1,contentData:{}})},n.openWelcomesPreview=function(e){var t=JSON.parse(e),a=t.message?t.message.map((function(e){var t;return 0===e.message.messageType&&(t={text:e.message.messageContent.text,previewText:e.message.messageContent.text.split("\n")}),1===e.message.messageType&&(t={picUrl:e.message.messageContent.url}),2===e.message.messageType&&(t={url:e.message.messageContent.sourceUrl,title:e.message.messageContent.title,desc:e.message.messageContent.summary,picUrl:e.message.messageContent.imageUrl}),4===e.message.messageType&&(t={appId:e.message.messageContent.appid,desc:e.message.messageContent.description,page:e.message.messageContent.pagePath,picUrl:e.message.messageContent.thumbUrl,title:e.message.messageContent.title,originAppId:e.message.messageContent.username,iconUrl:e.message.messageContent.iconUrl}),{type:e.message.messageType,content:t||{},status:e.status.toLowerCase(),msg:e.failMsg}})):[];n.setState({previewVisible:!0,previewData:{message:a,userId:t.userId||""}})},n.previewOnClose=function(){n.setState({previewVisible:!1,previewData:{}})},n.loadMore=function(){console.log("加载更多");var e=n.state.queryParam,t=e.end;n.setState({queryParam:{begin:t+1,end:t+10}}),setTimeout((function(){n.getData()}))},n.getInfo=function(e){return"marketing"===e.queryType?l.default.createElement("span",null,e.communicationMode,":","企业微信消息发送"!==e.communicationMode||"事件营销"!==e.marketingTypeName&&"场景营销"!==e.marketingTypeName?"淘宝超级短信"===e.communicationMode&&"事件营销"===e.marketingTypeName?e.communicationContent&&l.default.createElement(r.Button,{size:"small",type:"link",style:{marginRight:"4px"},onClick:function(){return n.contentDetail(e.communicationContent)}},"查看内容"):"淘宝权益"===e.communicationMode&&"事件营销"===e.marketingTypeName?e.communicationContent&&l.default.createElement(r.Button,{size:"small",type:"link",style:{marginRight:"4px"},onClick:function(){var t=JSON.parse(e.communicationContent);r.Modal.createModal(Iu).open({title:"淘宝权益详情",list:[{label:"优惠券名称",value:(null==t?void 0:t.benefitName)||"-"},{label:"优惠券ID",value:(null==t?void 0:t.id)||"-"},{label:"优惠券面额",value:(null==t?void 0:t.benefitValue)?"".concat(null==t?void 0:t.benefitValue).concat(null==t?void 0:t.benefitValueUnit):"-"},{label:"使用条件",value:(null==t?void 0:t.useConditions)||"-"},{label:"有效期",value:"".concat(null==t?void 0:t.startTime,"~").concat(null==t?void 0:t.endTime)},"DYNAMIC_COUPON"===(null==t?void 0:t.benefitType)?{label:"可发放周期",value:(null==t?void 0:t.usefulLife)||"-"}:null].filter(Boolean)})}},"查看内容"):"线下权益"===e.communicationMode&&"场景营销"===e.marketingTypeName?e.communicationContent&&l.default.createElement(r.Button,{size:"small",type:"link",style:{marginRight:"4px"},onClick:function(){var t=JSON.parse(e.communicationContent);r.Modal.createModal(Iu).open({title:"线下权益详情",list:[{label:"权益名称",value:(null==t?void 0:t.benefitName)||"-"},{label:"权益ID",value:(null==t?void 0:t.id)||"-"},{label:"优惠方式",value:(null==t?void 0:t.preferentialWay)||"-"},{label:"面额",value:(null==t?void 0:t.benefitValue)?"".concat(null==t?void 0:t.benefitValue).concat(null==t?void 0:t.benefitValueUnit):"-"},{label:"使用条件",value:(null==t?void 0:t.useConditions)||"-"},{label:"有效期",value:"".concat(null==t?void 0:t.startTime,"~").concat(null==t?void 0:t.endTime)}]})}},"查看内容"):e.communicationContent:l.default.createElement(r.Button,{size:"small",type:"link",onClick:function(){return n.openWelcomesPreview(e.communicationContent)},style:{marginRight:"4px"}},"查看内容")):"interaction"===e.queryType?l.default.createElement("span",null,e.interactionChannel," ",e.interactionName):"trades"===e.queryType?l.default.createElement("span",null,"主订单号",e.tradeOrderId," ",e.orderStatus):"refunds"===e.queryType?l.default.createElement("span",null,"订单号",e.refundsOrderId," ",e.refundStatus):l.default.createElement("span",null,e.productName," ",e.productId," ",Dl[e.estimateResult])},n.state={queryParam:{begin:1,end:10},dynamicDataTemp:[],dynamicData:[],loading:!0,hasMore:!0,isSearchEmpty:!1,contentPreviewVisible:!1,contentData:{},previewVisible:!1,previewData:{},channel:"",queryType:"",time:{start:"",end:""},shops:[],selectedShop:[],visible:!1},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.getData()}},{key:"render",value:function(){var e=this,t=this.state,n=t.loading,a=t.dynamicData,i=t.hasMore,o=t.isSearchEmpty;return l.default.createElement("div",{className:"customer-dynamic-info-new"},l.default.createElement(r.Tips,{msg:"营销、互动数据仅支持查看近90天内的数据,订单、评价、售后数据支持查看近2年内的数据。",isShowIcon:!0}),l.default.createElement("div",{className:"search-box"},l.default.createElement("label",null,"时间:"),l.default.createElement(Pu,{width:"310px",allowClear:!0,value:this.state.time,onChange:this.changeTime,maxDate:Mu,minDate:"interaction"===this.state.queryType||"marketing"===this.state.queryType?Lu:Fu}),l.default.createElement("label",null,"类型:"),l.default.createElement(r.Select,{defaultValue:this.state.queryType,value:this.state.queryType,dataSource:_l,style:{width:"210px",marginRight:16},onChange:this.handleChangeType}),"marketing"===this.state.queryType&&l.default.createElement(l.default.Fragment,null,l.default.createElement("label",null,"渠道:"),l.default.createElement(r.Select,{value:this.state.channel,dataSource:Al,defaultValue:"",style:{width:"210px",marginRight:16},onChange:this.handleChangeChannel})),"interaction"===this.state.queryType&&l.default.createElement(l.default.Fragment,null,l.default.createElement("label",null,"渠道:"),l.default.createElement(r.Select,{value:this.state.channel,dataSource:Il,defaultValue:"",style:{width:"210px",marginRight:16},onChange:this.handleChangeChannel})),("rates"===this.state.queryType||"trades"===this.state.queryType||"refunds"===this.state.queryType)&&l.default.createElement(l.default.Fragment,null,l.default.createElement("label",null,"渠道:"),l.default.createElement(r.Button,{size:"small",type:"link",onClick:this.openSelectShops,style:{marginRight:"16px"}},this.state.shops.length?"已选择".concat(this.state.shops.length,"个店铺"):"请选择")),l.default.createElement(r.Button,{type:"primary",onClick:function(){return e.searchData()},style:{marginRight:8}},"搜索"),l.default.createElement(r.Button,{type:"normal",onClick:function(){return e.searchData("rest")}},"重置")),n?l.default.createElement(r.Loading,null):l.default.createElement("div",{className:"content-div"},a.map((function(t){return l.default.createElement("div",{className:"dynamic"},l.default.createElement("p",{className:"dynamic-time"},t.dateItem),t.children.map((function(t){return l.default.createElement("section",{className:"dynamic-content"},l.default.createElement("p",{className:"dynamic-content-time"},bt.moment(t.time).format("HH:mm:ss")),l.default.createElement("div",{className:"dynamic-content-icon"}),l.default.createElement("p",{className:"dynamic-content-type dynamic-content-type-".concat(t.queryType)},xl[t.queryType]),l.default.createElement("div",{className:"dynamic-content-info"},l.default.createElement("p",null,"marketing"===t.queryType?t.marketingTypeName:"interaction"===t.queryType?t.interactionChannel:t.shopName),l.default.createElement("div",null,e.getInfo(t))))})))})),0===a.length?l.default.createElement("div",{className:"empty-div"},l.default.createElement("img",{alt:"",src:o?Is:As,width:64}),l.default.createElement("p",{style:{marginTop:8}},o?"搜索为空":"暂无数据")):"",i?l.default.createElement("p",{className:"load-more",onClick:this.loadMore},"加载更多 ",l.default.createElement(r.Icon,{type:"down"})):""),this.state.visible&&l.default.createElement(Au,{visible:this.state.visible,onOk:this.selectShops,onClose:this.onClose,onCancel:this.onClose,option:Object.assign({},Nu,{selectedShop:this.state.selectedShop,serverName:this.context.domain,permissionType:!0,tenantId:this.context.tenantId,platform:this.state.platList})}),this.state.contentPreviewVisible&&l.default.createElement(r.Modal,{className:"custom-view-new-drawer-modal",visible:this.state.contentPreviewVisible,clickMaskCanClose:!1,title:"淘宝超级短信详情",onOk:this.contentPreviewOnClose,onClose:this.contentPreviewOnClose,onCancel:this.contentPreviewOnClose,modalStyle:{width:600}},l.default.createElement("div",{className:"preview-row-new"},l.default.createElement("label",null,"短信内容:"),l.default.createElement(sl.Preview,{smsTitle:this.state.contentData.smsTitle,components:this.state.contentData.components}))),this.state.previewVisible&&l.default.createElement(r.Modal,{className:"custom-view-new-drawer-modal",visible:this.state.previewVisible,clickMaskCanClose:!1,title:"企业微信消息详情",onOk:this.previewOnClose,onClose:this.previewOnClose,onCancel:this.previewOnClose,modalStyle:{width:600}},l.default.createElement("div",{className:"preview-row-new"},l.default.createElement("label",null,"发送托管员工:"),this.state.previewData.userId),l.default.createElement("div",{className:"preview-row-new"},l.default.createElement("label",null,"消息内容:"),l.default.createElement(Xo,{content:this.state.previewData.message||[],type:"group",showWelcomesText:!1,defaultText:"输入群发消息内容"}))))}}]),t}(l.default.Component);Bu.contextType=Jl;var Ru={DD4:"https://brand-guide.shuyun.com/IAM/fe5ce84f9795.svg",DOUYIN4:"https://brand-guide.shuyun.com/IAM/25b59e3fb671.svg",JOS4:"https://brand-guide.shuyun.com/IAM/78cc1af74cf3.svg",KUAISHOU4:"https://brand-guide.shuyun.com/IAM/5e7309f17715.svg",MGJ4:"https://brand-guide.shuyun.com/IAM/112631454249.svg",OFFLINE4:"https://brand-guide.shuyun.com/IAM/ac2c713863fd.svg",PDD4:"https://brand-guide.shuyun.com/IAM/bc9f994250a4.svg",REDBOOK4:"https://brand-guide.shuyun.com/IAM/224fd16ffa84.svg",SUNING4:"https://brand-guide.shuyun.com/IAM/3c8e3fb03fd1.svg",TANMAO4:"https://brand-guide.shuyun.com/IAM/9c3457cb4066.svg",TAOBAO4:"https://brand-guide.shuyun.com/IAM/1c9d1537a349.svg",WEIMOB4:"https://brand-guide.shuyun.com/IAM/0a9033b5057f.svg",WEIXIN4:"https://brand-guide.shuyun.com/IAM/9cad4fa5317d.svg",YHD4:"https://brand-guide.shuyun.com/IAM/ff9dd20ae728.svg",YOUZAN4:"https://brand-guide.shuyun.com/IAM/9e7952c7a7a5.svg",ZDY4:"https://brand-guide.shuyun.com/IAM/85d6cc9deb2b.svg"},zu=function(e){var t,n={},a=O(kl);try{for(a.s();!(t=a.n()).done;){var r=t.value;n[r.plat]=r}}catch(e){a.e(e)}finally{a.f()}return n[e]},ju=function(e){function n(e){var t;return y(this,n),(t=u(this,n,[e])).handleCopy=function(e){bt.copyText(e),r.Message.success("复制成功",{contextContainer:document.getElementsByClassName("newCloud-drawer1")[0]})},t.state={loading:!0,accountList:[]},t}return C(n,e),w(n,[{key:"componentDidMount",value:function(){var e=this;this.accountNameRef=t.createRef(),xs.getCustomerInfo(this.context.domain,this.context.serverName,this.context.uniId).then((function(t){var n=[];Object.keys(t.shopAccountMap).forEach((function(e){n=[].concat(N(n),N(t.shopAccountMap[e]))})),e.setState({accountList:n},(function(){e.setState({loading:!1})}))})).catch((function(e){r.Message.error(e.msg||"内部错误,请联系数据客服")}))}},{key:"render",value:function(){var e=this,t=this.state;return l.default.createElement(r.Loading,{loading:t.loading},l.default.createElement("div",{className:"customer-account-new"},t.accountList.map((function(t,n){var a,i;return l.default.createElement("section",{className:"account-info"},l.default.createElement("div",{className:"account-info-left"},l.default.createElement("img",{src:Ru["".concat(t.platCode,"4")]||Ru.ZDY4})),l.default.createElement("div",{className:"account-info-right"},l.default.createElement(r.Tooltip,{content:ql(document.getElementById("customer-account-platName-".concat(n)),"".concat((null===(a=zu(t.platCode))||void 0===a?void 0:a.platName)||"未知"," | ").concat(t.shopName))},l.default.createElement("p",{className:"account-info-right-name",id:"customer-account-platName-".concat(n)},(null===(i=zu(t.platCode))||void 0===i?void 0:i.platName)||"未知"," | ",t.shopName)),l.default.createElement("div",{className:"info-copy"},l.default.createElement("p",null,"账号:",t.platAccount),l.default.createElement(r.Icon,{onClick:function(){return e.handleCopy(t.platAccount)},type:"copy"}))))}))))}}]),n}(l.default.Component);ju.contextType=Jl;var Vu=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).state={onClose:e.onClose},n}return C(t,e),w(t,[{key:"componentWillUnmount",value:function(){xs.orderColumn=[]}},{key:"render",value:function(){return l.default.createElement("div",{className:"grid-area-new"},l.default.createElement(r.Tabs,{type:"line",defaultActiveKey:"label",onChange:this.handleChange},l.default.createElement(r.Tabs.Panel,{tab:"全渠道客户画像",key:"label"},l.default.createElement(nu,null)),l.default.createElement(r.Tabs.Panel,{tab:"会员视图",key:"card"},l.default.createElement(Ps,{onClose:this.state.onClose})),l.default.createElement(r.Tabs.Panel,{tab:"关联账号信息",key:"newCard"},l.default.createElement(ju,null)),l.default.createElement(r.Tabs.Panel,{tab:"客户动态",key:"dynamic"},l.default.createElement(Bu,null)),l.default.createElement(r.Tabs.Panel,{tab:"订单信息",key:"order"},l.default.createElement(au,null)),l.default.createElement(r.Tabs.Panel,{tab:"商品评价",key:"evaluation"},l.default.createElement(js,null)),l.default.createElement(r.Tabs.Panel,{tab:"发放权益",key:"benefit"},l.default.createElement(Ds,null))))}}]),t}(l.default.Component);Vu.propTypes={onClose:et.func};var Uu=["data-manager-customer-view","customer-grouping-customer-view"];function Hu(e){var n=I(t.useState("1080px"),2),a=n[0],i=n[1];t.useEffect((function(){var e=(window.sessionStorage.getItem("__FF2E__CACHE__")&&JSON.parse(window.sessionStorage.getItem("__FF2E__CACHE__")).common.platCode||[]).reduce((function(e,t){var n=t.platName,a=t.standardPlatCode;return e.push("DOUYIN"===a?{plat:a,name:"".concat(n,"ID"),platName:n,tips:"根据客户首次下单的收货手机号+收货人姓名生成,后期订单若修改收货人信息,此处不变"}:{plat:a,name:"".concat(n,"ID"),platName:n}),e}),[]);kl.push.apply(kl,N(e))}),[]);var o=e.visible,s=e.onClose,u=e.uniId,c=e.serverName,d=e.domain,f=e.selectShops,p=e.selectUniShops,h=t.useRef();t.useEffect((function(){o&&(m(),h.current.open())}),[o]),t.useEffect((function(){return window.addEventListener("resize",m),function(){window.removeEventListener("resize",m)}}),[m]);var m=t.useCallback((function(){var e=document.body.clientWidth-360;i(e>1080?"".concat(e,"px"):"1080px")}),[]),v=window.sessionStorage.getItem("tenantId")||"qiushi6";return l.default.createElement(r.Drawer,{ref:h,title:"客户视图",placement:"right",size:a,excludeClassList:Uu,wrapperClosable:!0,className:"customer-view-new-drawer",onCloseAfter:s},l.default.createElement(Jl.Provider,{value:{uniId:u,serverName:c,domain:d,tenantId:v,selectShops:f,selectUniShops:p}},l.default.createElement("div",{className:"customer-view-area-new",key:u},l.default.createElement(Ss,null),l.default.createElement(Vu,{onClose:s})),l.default.createElement("canvas",{id:"computedWidth",width:"500",height:"100"})))}Hu.propTypes={visible:et.bool,onClose:et.func,serverName:et.string,domain:et.string,selectShops:et.array,selectUniShops:et.array},Hu.defaultProps={visible:!1,serverName:"https://ual.shuyun.com",domain:"data-manage-x/1.0",onClose:function(){},selectShops:[],selectUniShops:[]};var qu=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).handleChange=function(e){n.setState({shopValue:e.target&&e.target.value})},n.handlePlatformChange=function(e){n.setState({channel:e}),n.props.formFlag&&n.props.channel(e)},n.handleTypeChange=function(e){n.setState({shopType:e})},n.handleSearch=function(){var e=n.props.option,t=e.isSupportedChannel,a=void 0===t||t,r=e.permissionType,i=e.isJosPop,o=void 0!==i&&i,l=e.youzanFlag,s=n.state;n.params={sign:s.shopValue,channel:a&&s.channel,type:a&&s.shopType,permissionType:void 0!==r&&r},o&&(n.params=f(f({},n.params),{},{appId:0})),l&&(n.params=f(f({},n.params),{},{youzanFlag:l})),n.props.formFlag?n.props.searchParams(n.params):n.props.selectedSearchParams(n.params)},n.handleReset=function(){var e=n.props.option.isSupportedChannel;n.setState({shopValue:"",channel:(void 0===e||e)&&n.channelList[0].id,shopType:""}),n.props.onSearchReset&&n.props.onSearchReset()},n.filterPlatform=function(e,t){var n=t.map((function(t){return e.find((function(e){return e.id===t}))}));return n.filter((function(e){return e}))};var a=n.props.option,r=a.platform,i=a.isSupportedChannel,o=void 0===i||i,l=r?n.filterPlatform(n.props.channelList,r):n.props.channelList;return 1>=l.length&&r||(l=[{id:"",name:"不限"}].concat(N(l))),n.channelList=l,n.typeList=l.filter((function(e){return"offline"===e.id})),n.typeList.length&&(n.typeList=n.typeList.map((function(e){return e.filter[0].values}))[0].map((function(e){return{id:parseInt(e.id,10),name:e.name}}))),n.typeList.unshift({id:"",name:"不限"}),n.state={shopValue:"",channel:o&&n.channelList.length&&n.channelList[0].id,shopType:""},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.option.isSupportedChannel,n=void 0===t||t,r=this.props.option.platform,i=this.state.channel,o="offline"!==i?{display:"none"}:{},s=void 0===n||n?{}:{display:"none"};return!n&&r&&e.formFlag&&(r=null,console.warn("您已配置不支持平台,但是平台参数不为空")),l.default.createElement("section",{className:"shop-form"},l.default.createElement("div",{className:"shop-form-item",style:s},l.default.createElement("span",{className:"shop-item-label"},"平台:"),l.default.createElement(a.Select,{className:"shop-form-input selector-background",value:i,labelKey:"name",valueKey:"id",dataSource:this.channelList,onChange:this.handlePlatformChange})),l.default.createElement("div",{className:"shop-form-item",style:o},l.default.createElement("span",{className:"shop-item-label"},"店铺类型:"),l.default.createElement(a.Select,{className:"shop-form-input selector-background",value:this.state.shopType,labelKey:"name",valueKey:"id",dataSource:this.typeList,onChange:this.handleTypeChange})),l.default.createElement("div",{className:"shop-form-item"},l.default.createElement("span",{className:"shop-item-label"},"店铺名称:"),l.default.createElement(a.Input,{size:"default",className:"shop-form-input",placeholder:"请输入店铺名称/ID",value:this.state.shopValue,onChange:this.handleChange})),l.default.createElement("div",{className:"shop-form-search"},l.default.createElement(a.Button,{type:"primary",onClick:this.handleSearch,className:"search-btn"},"搜索"),l.default.createElement(a.Button,{type:"normal",onClick:this.handleReset},"重置")))}}]),t}(t.Component),Wu="ucenter-interface-service/v1",Gu=function(){function e(){y(this,e)}var t,n,a,r;return w(e,[{key:"getShopList",value:(r=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.query,a="".concat(t.serverName,"/").concat(Wu,"/shops/shopDetails"),e.next=4,ye.get(a,{params:n});case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)})},{key:"getShopDetailById",value:(a=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.query,a="".concat(t.serverName,"/").concat(Wu,"/shops/shopDetails"),e.next=4,ye.post(a,n);case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})},{key:"fetchChannelData",value:(n=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tenantId,a="".concat(t.serverName,"/").concat(Wu,"/channel?tenantName=").concat(n),e.next=4,ye.get(a);case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"fetchRegionTree",value:(t=g(p().mark((function e(t){var n,a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tenantName,a="".concat(t.serverName,"/").concat(Wu,"/region"),e.next=4,ye.get(a,{params:{tenantName:n}});case 4:return e.abrupt("return",e.sent.data);case 7:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}(),Ku=new Gu,Yu=function(e){function t(){var e;y(this,t);for(var n=arguments.length,a=Array(n),r=0;n>r;r++)a[r]=arguments[r];return(e=u(this,t,[].concat(a))).selectedNode=function(t){e.props.onSelectTree(t)},e}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props.treeData,t=e[0].children.length;return l.default.createElement("div",{className:"tree-area"},l.default.createElement(a.Tree,{className:t?"tree-list":"tree-list no-tree",treeData:e,onSelectedNode:this.selectedNode}),!t&&l.default.createElement("div",{className:"no-area-tips"},l.default.createElement("p",null,"如果没有为线下设置区域"),l.default.createElement("p",null,"请到系统管理为线下店铺设置区域")))}}]),t}(t.Component);Yu.proTypes={treeData:et.array,onSelectTree:et.func};var Qu=l.default.createContext({}),Ju=[10,20,30,50,100],Xu="row-bg-color",Zu=function(e){return"offline"===e},$u=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).onSearch=function(e){var t=n.props.option,a=t.tenantId,r=t.platform,i=t.isSupportedChannel,o=!e.channel&&(void 0===i||i)?r&&""+r:e.channel;n.queryData.query=f(f({},e),{},{tenantName:a,regionId:n.reginId,channel:o}),Zu(e.channel)||(n.reginId=null,delete n.queryData.query.regionId),n.fetchAllShopList().then((function(){var e=n.state.page;n.ajaxData(null,{pageSize:e.pageSize,pageNum:e.pageNum})}))},n.onSearchReset=function(){var e=n.props.option.platform;n.setState({channelType:e&&""+e})},n.onChannel=function(e){n.setState({channelType:e})},n.onSelectTreeNode=function(e){n.reginId=e.id;var t=n.props.option,a=n.context.allSelectedShopList,r=f(f({},n.queryData.query),{},{regionId:n.reginId});Ku.getShopList({query:r,serverName:t.serverName}).then((function(e){n.setAllShopList(e.list),n.context.changeSelectedShops(a);var t=n.state.page;n.ajaxData(null,{pageSize:t.pageSize,pageNum:t.pageNum})}))},n.onAllCheckedHandle=function(e){n.updateCheckedShopData(n.usableShopList,e)},n.onPageCheckedHandle=function(e){n.updateCheckedShopData(n.state.usableCurrentShopList,e)},n.onChangeDisable=function(e){n.setState({usable:e},(function(){var e=n.state.page;n.ajaxData(null,{pageSize:e.pageSize,pageNum:e.pageNum})}))},n.genColumnData=function(){return[{key:"id",text:"店铺ID",align:"center",width:"200px",template:function(e,t){return l.default.createElement("span",null,t.id)}},{key:"name",text:"店铺名称",align:"center",width:"180px",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.name,placement:"top-left"},l.default.createElement("span",null,t.name))}},{key:"channelName",text:"平台",align:"center",width:"120px",template:function(e,t){var a=n.channelList.filter((function(e){return e.id===t.channel}));return l.default.createElement("span",null,a[0]?a[0].name:"--")}},{key:"typeName",text:"店铺类型",align:"center",width:"100px",template:function(e,t){var a=n.shopTypeList.length&&n.shopTypeList[0].values.filter((function(e){return e.id===t.type}));return l.default.createElement("span",null," ",t.shopTypeDesc||(a[0]&&a[0].name?a[0].name:"--")," ")}},{key:"address",text:"店铺详细地址",align:"center",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.address,placement:"top-left"},l.default.createElement("span",null,t.address?t.address:"---"))}}]},n.toggleChecked=function(e,t){var a=n.state.checkedList,r=[];r=t?[].concat(N(a),[e]):a.filter((function(t){return t.id!==e.id})),n.setState({checkedList:r}),n.checkedHandler(r)},n.genColumnsData=function(){return[{key:"id",text:"店铺ID",width:"200px",template:function(e,t){return l.default.createElement("div",{className:"shop-select"},l.default.createElement("p",{style:{marginRight:"30px"}},l.default.createElement(a.Checkbox,{checked:n.state.checkedList.filter((function(e){return e.id===t.id})).length>0,onChange:function(e){n.toggleChecked(t,e)}})),l.default.createElement("div",null,t.id))}},{key:"name",text:"店铺名称",align:"center",width:"180px",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.name,placement:"top-left"},l.default.createElement("span",null,t.name))}},{key:"channelName",text:"平台",align:"center",width:"120px",template:function(e,t){var a=n.channelList.filter((function(e){return e.id===t.channel}));return l.default.createElement("span",null,a[0]?a[0].name:"--")}},{key:"typeName",text:"店铺类型",align:"center",width:"100px",template:function(e,t){var a=n.shopTypeList.length&&n.shopTypeList[0].values.filter((function(e){return e.id===t.type}));return l.default.createElement("span",null," ",t.shopTypeDesc||(a[0]&&a[0].name?a[0].name:"--")," ")}},{key:"address",text:"店铺详细地址",align:"center",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.address,placement:"top-left"},l.default.createElement("span",null,t.address?t.address:"---"))}}]},n.ajaxSuccess=function(){var e=n.props.option,t=e.selectedShop,a=void 0===t?[]:t,r=e.heightLightRow,i=void 0===r?[]:r,o=e.isOpenSelectedTab,l=e.disabledRowIdList,s=void 0===l?[]:l,u=e.selectableRowIdList,c=void 0===u?[]:u,d=n.context.allSelectedShopList;if((s.length||i.length)&&n.setTdBackground(i.length?i:s),c.length){var f=n.allShopList.filter((function(e){return!c.includes(e.id)}));n.setTdBackground(f)}a.length&&n.firstStatus&&!o&&n.getSelectedShopDetail(a).then((function(e){var t=d&&d.length?d:e.list;n.context.changeSelectedShops(t),n.setState({checkedList:t}),n.firstStatus=!1}))},n.checkedHandler=function(e){console.log(e),n.context.changeSelectedShops(e)},n.ajaxData=function(e,t){var a=A(n),r=n.state.usable?a.usableShopList:a.allShopList,i=t.pageSize,o=t.pageNum;n.setState({list:r}),console.log(o),n.currentShopList=r.slice((o-1)*i,o*i),console.log(n.currentShopList),n.setCurrentShopList(n.currentShopList),n.ajaxSuccess()},n.rowRenderHandler=function(e){var t=n.props.option,a=t.disabledRowIdList,r=void 0===a?[]:a,i=t.selectableRowIdList,o=void 0===i?[]:i,l=t.heightLightRow,s=void 0===l?[]:l;r.length&&n.gmDisabledRow(e,r,!0),o.length&&n.gmDisabledRow(e,o);var u=s.map((function(e){return e.id}));return u.includes(e.id)&&Object.assign(e,{gm_row_class_name:Xu}),e},n.rowHover=function(e){var t=n.props.option,a=t.disabledRowIdList,r=t.disabledRowHoverOptions,i=t.selectableRowIdList,o=void 0===i?[]:i;return(void 0===a?[]:a).includes(e.id)||o.length&&!o.includes(e.id)?r:null},n.onPageChange=function(e,t){n.setState({page:{pageNum:e,pageSize:t}}),n.ajaxData(null,{pageSize:t,pageNum:e})};var r=n.props,i=r.searchParams,o=r.option,s=r.channel,c=o.tenantId,d=o.platform,p=o.permissionType,h=o.isJosPop,m=o.youzanFlag;return n.firstStatus=!0,n.channelList=s.channelList,n.shopTypeList=s.shopTypeList,n.queryData={serverName:o.serverName,query:f(f({},i),{},{tenantName:c,channel:d&&""+d,permissionType:p})},h&&(n.queryData.query=f(f({},n.queryData.query),{},{appId:0})),m&&(n.queryData.query=f(f({},n.queryData.query),{},{youzanFlag:m})),n.state={treeData:[],loading:!0,usable:!0,checkedList:[],page:{pageSize:20,pageNum:1},usableCurrentShopList:[],list:[],channelType:d&&""+d},n.checkedList=[],n.allShopList=[],n.usableShopList=[],n.currentShopList=[],n.reginId=null,n}var n,r,i,o;return C(t,e),w(t,[{key:"componentDidMount",value:(o=g(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetchAllShopList();case 2:return e.next=4,this.fetchTreeData();case 4:this.ajaxData(null,{pageSize:(t=this.state.page).pageSize,pageNum:t.pageNum});case 6:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"componentDidUpdate",value:function(){var e=this.context.allSelectedShopList;void 0!==e&&(this.props.option.isOpenSelectedTab||e.length!==this.state.checkedList.length&&this.setState({checkedList:e}))}},{key:"getUsableShopList",value:function(e){var t=this.props.option,n=t.disabledRowIdList,a=void 0===n?[]:n,r=t.selectableRowIdList,i=void 0===r?[]:r,o=a.length,l=i.length;return o||l?o?e.filter((function(e){return!a.includes(e.id)})):l?e.filter((function(e){return i.includes(e.id)})):[]:e}},{key:"setAllShopList",value:function(e){this.allShopList=e,this.usableShopList=this.getUsableShopList(e)}},{key:"setCurrentShopList",value:function(e){this.currentShopList=e,this.setState({usableCurrentShopList:this.getUsableShopList(e)})}},{key:"getSelectedShopDetail",value:(i=g(p().mark((function e(t){var n,a,r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=this.props.option).serverName,i={tenantName:n.tenantId,shopIdIn:""+t},(r=n.youzanFlag)&&(i=f(f({},i),{},{youzanFlag:r})),e.next=5,Ku.getShopDetailById({query:i,serverName:a});case 5:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"setTdBackground",value:function(e){e.forEach((function(e,t){var n=Se().querySelectorAll("table[grid-manager=shopAllGrid] .".concat(Xu))[t];n&&[].forEach.call(n.querySelectorAll("td"),(function(t){t.style.background=e.background||"#eee"}))}))}},{key:"gmDisabledRow",value:function(e,t,n){var a=n?t.includes(e.id):!t.includes(e.id);Object.assign(e,{gm_checkbox_disabled:a}),a&&Object.assign(e,{gm_row_class_name:Xu})}},{key:"updateCheckedShopData",value:function(e,t){var n=this.context,a=n.allSelectedShopList,r=void 0===a?[]:a,i=n.changeSelectedShops,o=[];if(r.length){var l=r.map((function(e){return e.id}));if(t){var s=e.filter((function(e){return!l.includes(e.id)}));o=r.concat(s)}if(!t){var u=e.filter((function(e){return l.includes(e.id)}));o=r.filter((function(e){return!u.some((function(t){return e.id===t.id}))}))}}else o=t?e:[];i(o),this.setState({checkedList:o})}},{key:"getCheckedState",value:function(){var e=this.usableShopList,t=this.state.usableCurrentShopList,n=this.context.allSelectedShopList,a=void 0===n?[]:n;return{isAllChecked:e.length>0&&e.every((function(e){return a.some((function(t){return e.id===t.id}))})),currentPageChecked:t.length>0&&t.every((function(e){return a.some((function(t){return e.id===t.id}))}))}}},{key:"fetchTreeData",value:(r=g(p().mark((function e(){var t,n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={tenantName:(t=this.props.option).tenantId,serverName:t.serverName},e.next=4,Ku.fetchRegionTree(n);case 4:this.setState({treeData:e.sent.data,loading:!1});case 6:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"fetchAllShopList",value:(n=g(p().mark((function e(){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ku.getShopList(this.queryData);case 2:this.setAllShopList(e.sent.list);case 4:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"renderText",value:function(e){return l.default.createElement("div",{className:"toolbars-info"},"已选:店铺(",e,")个")}},{key:"render",value:function(){var e=this.state,t=e.channelType,n=e.usable,r=e.treeData,i=e.list,o=e.checkedList,s=e.page,u=this.props.option,c=u.disabledRowIdList,d=void 0===c?[]:c,f=u.selectableRowIdList,p=void 0===f?[]:f,h=u.isSingleSelected;if(e.loading)return l.default.createElement(a.Loading,{className:"loading",size:"large"});var m=this.getCheckedState(),v=m.isAllChecked,g=m.currentPageChecked;return l.default.createElement(l.default.Fragment,null,l.default.createElement(qu,{option:u,formFlag:!0,searchParams:this.onSearch,onSearchReset:this.onSearchReset,channel:this.onChannel,channelList:this.channelList}),l.default.createElement("div",{className:"all-shops-area"},Zu(t)&&l.default.createElement(Yu,{treeData:r,onSelectTree:this.onSelectTreeNode}),l.default.createElement("div",{className:Zu(t)?"all-shops-offline":"all-shop"},!h&&l.default.createElement("div",{className:"all-shops-operation"},d.length||p.length?l.default.createElement(a.Checkbox,{className:"check-usable",checked:n,onChange:this.onChangeDisable},"仅显示可选项"):null,l.default.createElement(a.Checkbox,{className:"check-all-selected",checked:v,onChange:this.onAllCheckedHandle},"全选全部"),l.default.createElement(a.Checkbox,{className:"check-page-selected",checked:g,onChange:this.onPageCheckedHandle},"全选当页")),l.default.createElement(a.TableLite,{dataSource:this.currentShopList,columnData:this.genColumnsData(),height:"400px",expandable:"true"}),l.default.createElement(a.TablePagination,{showPageSizeOptions:!0,pageSizeOptions:Ju,total:i.length,current:s.pageNum,pageSize:s.pageSize,showTotal:!0,showRefresh:!0,checkedTotal:this.renderText(o.length),onChange:this.onPageChange}))))}}]),t}(t.Component);$u.contextType=Qu,$u.propTyes={option:et.shape({isSingleSelected:et.bool,disabledRowIdList:et.array,selectableRowIdList:et.array,disabledRowHoverOptions:et.object,serverName:et.string.isRequired,tenantId:et.string.isRequired,youzanFlag:et.string}),channel:et.object},$u.defaultProps={option:{isSingleSelected:!1,disabledRowIdList:[],selectableRowIdList:[],serverName:"",tenantId:"",youzanFlag:""},channel:{channelList:[],shopTypeList:[]}};var ec=[10,20,30,50,100],tc="search",nc=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).onSearch=function(e){n.params=e;var t=n.context.allSelectedShopList;if(t){var a=JSON.parse(JSON.stringify(t)),r=e,i=n.filterSearchMethods();a.forEach((function(e){var t=[];Object.keys(r).forEach((function(n){if("channel"===n||"type"===n)t.push(i.equal(r[n],e[n]));else if("sign"===n){t.push(i.fuzzySearchGroup(["name","id"],r[n],e))}})),e.isHide=-1!==t.indexOf(!1)})),n.filterShopList=a.filter((function(e){return!e.isHide})),n.ajaxData(null,f(f({},n.state.page),{},{flag:tc}))}},n.filterSearchMethods=function(){return{equal:function(e,t){return!e&&0!==e||""===t||(e+"").replace(/\s/g,"")===t+""},fuzzySearchGroup:function(e,t,n){var a=[];return e.map((function(e){return a.push(!t&&0!==t||-1!==(n[e]+"").replace(/\s/g,"").search(t+""))})),-1!==a.indexOf(!0)}}},n.onRemoveHandle=function(e){return function(){var t=n.context.allSelectedShopList.filter((function(t){return t.id!==e.id}));n.context.changeSelectedShops(t)}},n.onRemoveAll=function(){n.context.changeSelectedShops([])},n.onRemovePage=function(){var e=n.context.allSelectedShopList,t=n.pageData.data.map((function(e){return e.id})),a=e.filter((function(e){return-1===t.indexOf(e.id)}));n.context.changeSelectedShops(a)},n.sliceData=function(e,t,n){var a=e.length,r=Math.ceil(a/t),i=Math.min(n,r);return{data:e.slice((i-1)*t,i*t),pageSize:t,pageNum:i,totalCount:a,totalPage:r}},n.changeContext=function(){var e=n.context.allSelectedShopList;n.setState({allSelectedShopListString:JSON.stringify(void 0===e?[]:e)})},n.ajaxData=function(e,t){var a=n.context.allSelectedShopList;n.pageData=n.sliceData(t.flag===tc?n.filterShopList:void 0===a?[]:a,t.pageSize,t.pageNum);var r=n.pageData;n.setState({list:r.data,totalCount:r.totalCount}),n.ajaxSuccess()},n.ajaxSuccess=function(){var e=n.props.option,t=e.selectedShop,a=void 0===t?[]:t,r=e.isOpenSelectedTab,i=e.serverName,o=e.youzanFlag,l=n.context.allSelectedShopList,s=void 0===l?[]:l;if(n.firstStatus&&a.length){var u={tenantName:e.tenantId,shopIdIn:""+a};o&&(u=f(f({},u),{},{youzanFlag:o})),Ku.getShopDetailById({query:u,serverName:i}).then((function(e){n.context.changeSelectedShops(r?e.list:s),n.firstStatus=!1}))}},n.genColumnData=function(){var e=[{key:"id",text:"店铺ID",align:"center",width:"200px"},{key:"name",text:"店铺名称",align:"center",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.name,placement:"top-left"},l.default.createElement("span",null,t.name))}},{key:"channelName",text:"平台",align:"center",template:function(e,t){var a=n.channel.filter((function(e){return e.id===t.channel}));return l.default.createElement("span",null,a[0]?a[0].name:"--")}},{key:"typeName",text:"店铺类型",align:"center",template:function(e,t){var a=n.shopTypeList.length&&n.shopTypeList[0].values.filter((function(e){return e.id===t.type}));return l.default.createElement("span",null," ",t.shopTypeDesc||(a[0]&&a[0].name?a[0].name:"--")," ")}},{key:"address",text:"店铺详细地址",align:"center",template:function(e,t){return l.default.createElement(a.Tooltip,{content:t.address,placement:"top-left"},l.default.createElement("span",null,t.address?t.address:"---"))}}];return n.props.option.readonly?e:[].concat(e,[{key:"action",text:"操作",align:"center",template:function(e,t){return l.default.createElement("span",{className:"row-remove",onClick:n.onRemoveHandle(t)},"移除")}}])},n.onPageChange=function(e,t){n.setState({page:{pageNum:e,pageSize:t}},(function(){n.ajaxData(null,{pageSize:t,pageNum:e,flag:tc})}))};var r=n.props.channel;return n.channel=r.channelList,n.shopTypeList=r.shopTypeList,n.params=null,n.firstStatus=!0,n.state={page:{pageSize:20,pageNum:1},list:[],totalCount:0,allSelectedShopListString:""},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.ajaxData(null,this.state.page)}},{key:"componentDidUpdate",value:function(e,t){this.state.allSelectedShopListString!==JSON.stringify(this.context.allSelectedShopList)&&JSON.stringify(this.context.allSelectedShopList)&&this.changeContext(),t.allSelectedShopListString!==this.state.allSelectedShopListString&&JSON.stringify(this.context.allSelectedShopList)&&(this.ajaxData(null,this.state.page),this.params&&this.onSearch(this.params))}},{key:"render",value:function(){var e=this.props.option,t=this.state,n=t.list,r=t.page,i=t.totalCount;return l.default.createElement("div",null,l.default.createElement(qu,{option:e,formFlag:!1,selectedSearchParams:this.onSearch,channelList:this.channel}),!e.isSingleSelected&&!e.readonly&&l.default.createElement("div",{className:"selected-operation"},l.default.createElement("span",{className:"remove",onClick:this.onRemoveAll},"移除全部"),l.default.createElement("span",{className:"remove remove-page",onClick:this.onRemovePage},"移除当页")),l.default.createElement(a.TableLite,{dataSource:n,columnData:this.genColumnData(),height:"400px",expandable:"true"}),l.default.createElement(a.TablePagination,{showPageSizeOptions:!0,pageSizeOptions:ec,total:i,current:r.pageNum,pageSize:r.pageSize,showTotal:!0,showRefresh:!0,onChange:this.onPageChange}))}}]),t}(t.Component);nc.contextType=Qu,nc.proTypes={tenantId:et.string.isRequired,option:et.object,channel:et.object},nc.defaultProps={option:{isSingleSelected:!1,disabledRowIdList:[],serverName:"",tenantId:""},channel:{channelList:[],shopTypeList:[]}};var ac=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).state={channelConfig:{}},n}var n;return C(t,e),w(t,[{key:"componentDidMount",value:function(){this.channelList()}},{key:"componentWillUnmount",value:function(){this.context.changeSelectedShops(void 0)}},{key:"channelList",value:(n=g(p().mark((function e(){var t,n,a,r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t=this.props.option).serverName,a=t.tenantId,e.next=3,Ku.fetchChannelData({serverName:n,tenantId:a});case 3:i=[],(r=e.sent).forEach((function(e){e.filter.length&&(i=e.filter)})),this.setState({channelConfig:{channelList:r,shopTypeList:i}});case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"render",value:function(){var e=this.state.channelConfig,t=this.props.option,n=t.isOpenSelectedTab,r=t.readonly,i=this.context.allSelectedShopList,o=void 0===i?[]:i,s=[{title:"已选店铺",content:l.default.createElement(nc,{option:t,channel:e}),key:"selected"}],u=r?s:[{title:"全部店铺",content:l.default.createElement($u,{option:t,channel:e}),key:"all"}].concat(s);return e.channelList?l.default.createElement("div",{className:tt("".concat(Ce,"-shop-selector-pro"))},o.length>0&&l.default.createElement("div",{className:"selected-num ".concat(r?"num-left":"")},o.length),l.default.createElement(a.Tabs,{defaultActiveKey:n?"selected":"all",mode:"remain"},u.map((function(e,t){return l.default.createElement(a.Tabs.Panel,{key:e.key,tab:e.title,className:"shop-selector-panel",index:t},e.content)})))):l.default.createElement(a.Loading,{size:"large",tip:"正在加载..."})}}]),t}(t.Component);ac.contextType=Qu,ac.propTyes={option:et.object},ac.defaultProps={option:{}};var rc=function(e){function t(e){var n;return y(this,t),(n=u(this,t,[e])).changeSelectedShops=function(e){n.setState({allSelectedShopList:e})},n.ok=function(){console.log(n.props.limit),n.props.limit&&n.state.allSelectedShopList.length>n.props.limit?a.Message.error("最多选择".concat(n.props.limit,"个店铺")):n.props.onOk(n.state.allSelectedShopList||[])},n.state={allSelectedShopList:void 0},n}return C(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.visible,n=e.onClose,r=e.onCancel,i=e.option,o=i.isSupportedChannel,s=i.platform,u=i.requiredSelected;if(t){if(!i.tenantId)return console.error("shopSelector 缺少 tenantId 参数"),"";if(o&&s&&!s.length)return console.error("您已配置支持平台,平台数组长度不能为0, 一个平台:platform.length === 1; n个平台:platform.length === n; 不限平台:platform === null"),""}var c=this.state.allSelectedShopList;return l.default.createElement(a.Modal,{title:"请选择店铺",visible:t,onOk:this.ok,modalStyle:{maxWidth:"1040px"},bodyStyle:{height:"532px",maxHeight:"532px"},onClose:n,onCancel:r,disabledOk:(!c||!c.length)&&u,hasFooter:i.hasFooter,showType:i.showType},l.default.createElement(Qu.Provider,{value:f(f({},this.state),{},{changeSelectedShops:this.changeSelectedShops})},t&&l.default.createElement(ac,{option:i})))}}]),t}(t.Component);rc.propTyes={option:et.shape({hasFooter:et.bool,isSupportedChannel:et.bool,isOpenSelectedTab:et.bool,permissionType:et.bool,isSingleSelected:et.bool,readonly:et.bool,serverName:et.string.isRequired,tenantId:et.string.isRequired,selectedShop:et.array,platform:et.array,heightLightRow:et.array,disabledRowIdList:et.array,selectableRowIdList:et.array,requiredSelected:et.bool,isJosPop:et.bool,youzanFlag:et.string,limit:et.number}),onClose:et.func,onCancel:et.func,visible:et.bool},rc.defaultProps={option:{hasFooter:!0,isSupportedChannel:!0,isOpenSelectedTab:!1,permissionType:!1,isSingleSelected:!1,readonly:!1,isRequiredSelected:!1,serverName:"",tenantId:"",selectedShop:[],platform:[],heightLightRow:[],disabledRowIdList:[],selectableRowIdList:[],isJosPop:!1,youzanFlag:"",showType:"top"},visible:!1};var ic=["sku.sku_id","sku.outer_id","sku.specification","sku.status","sku.price","sku.stock"],oc=function(){function e(){y(this,e),this.queryCondition=[],this.originCondition=[],this.settingQuery=[],this.columnList=[]}var t,n,a,i,o,l,s,u,c,d,h,m,v,b,k,E,C,S,_,x;return w(e,[{key:"getGoodsCategory",value:(x=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/cate/std_cate?tenant=").concat(n),e.abrupt("return",ye.post(r,a));case 2:case"end":return e.stop()}}),e)}))),function(e,t,n){return x.apply(this,arguments)})},{key:"bury",value:function(e,t){return ye.post("".concat(e,"/product-selector/2.0/statistic/tenant/use"),t)}},{key:"getGoodsDefaultCategory",value:(_=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/cate/user_defined_cate?tenant=").concat(n),e.abrupt("return",ye.post(r,a));case 2:case"end":return e.stop()}}),e)}))),function(e,t,n){return _.apply(this,arguments)})},{key:"getColumnList",value:(S=g(p().mark((function e(t,n,a,r,i){var o,l,s,u,c;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=i?"".concat(t,"/product-selector/2.0/custom/queryUserDisplayPreferences?tenant=").concat(n,"&selectedItemId=").concat(i):"".concat(t,"/product-selector/2.0/custom/queryUserDisplayPreferences?tenant=").concat(n),u=this.configBizzKey(r,a,s),e.next=4,ye.get(u);case 4:return this.columnList=null==(c=e.sent)||null===(o=c.data)||void 0===o?void 0:o.data,e.abrupt("return",null==c||null===(l=c.data)||void 0===l?void 0:l.data);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a,r){return S.apply(this,arguments)})},{key:"saveColumnList",value:(C=g(p().mark((function e(t,n,a,r,i){var o,l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(t,"/product-selector/2.0/custom/saveUserDisplayPreferences?tenant=").concat(n),l=this.configBizzKey(i,r,o),e.next=4,ye.post(l,a);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a,r){return C.apply(this,arguments)})},{key:"configBizzKey",value:function(e,t,n){return e?"".concat(n,"&bizzKey=").concat(e):t?"".concat(n,"&bizzKey=10001"):n}},{key:"saveQueryCondition",value:(E=g(p().mark((function e(t,n,a,r,i){var o,l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(t,"/product-selector/2.0/custom/saveUserCustom?tenant=").concat(n),l=this.configBizzKey(r,i,o),e.abrupt("return",ye.post(l,a));case 3:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a,r){return E.apply(this,arguments)})},{key:"fetchAllquery",value:(k=g(p().mark((function e(t,n,a,r,i,o,l){var s,u,c,d,h,m,v,g;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l.length?(u=l.join(","),s="".concat(n,"/product-selector/2.0/custom/getCustom?tenant=").concat(a,"&selectedItemId=").concat(u)):s="".concat(n,"/product-selector/2.0/custom/getCustom?tenant=").concat(a),c=this.configBizzKey(i,t,s),e.next=4,ye.get(c);case 4:return h=(d=e.sent).data.data,this.originCondition=d.data.data,t||(h=h.filter((function(e){return!1===["sku_sku_id","sku_specification","sku_outer_id","sku_flag"].includes(e.itemId)}))),r||(h=h.filter((function(e){return!e.groupName}))),h=h.map((function(e){var t=["platCode","shopId","prod_product_id","prod_product_name","sku_sku_id","sku_specification","sku_outer_id","sku_flag"];return e.hasOwnProperty("newStatus")?t.includes(e.itemId)?f(f({},e),{},{value:e.itemId,label:e.itemName,newStatus:1}):f(f({},e),{},"prod_seller_tree"===e.itemId?{value:e.itemId,label:e.itemName,newStatus:1===e.newStatus?4:e.newStatus}:{value:e.itemId,label:e.itemName}):t.includes(e.itemId)?f(f({},e),{},{value:e.itemId,label:e.itemName,newStatus:1}):f(f({},e),{},{value:e.itemId,label:e.itemName,newStatus:4})})),m=[],v=[],g=[],h.forEach((function(e){e.groupName?g.push(e):"sku_flag"===e.itemId||-1===e.itemId.indexOf("sku")?m.push(e):"sku_flag"!==e.itemId&&v.push(e)})),this.queryCondition=[].concat(m,v,g).map((function(e,t){return f(f({},e),{},{order:t+1,newStatus:3===e.newStatus?4:e.newStatus})})),e.abrupt("return",this.queryCondition);case 16:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a,r,i,o){return k.apply(this,arguments)})},{key:"fetchSettingQuery",value:(b=g(p().mark((function e(t,n,a,r){var i,o,l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(n,"/product-selector/2.0/condition/setting?tenant=").concat(a),e.next=3,ye.get(i);case 3:return l=(o=e.sent).data.data,r||(l=o.data.data.filter((function(e){return!e.groupName}))),this.settingQuery=l,e.abrupt("return",this.settingQuery||[]);case 8:case"end":return e.stop()}}),e,this)}))),function(e,t,n,a){return b.apply(this,arguments)})},{key:"getGoods",value:(v=g(p().mark((function e(t,n,a,i){var o,l,s,u,c=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=c.length>4&&void 0!==c[4]?c[4]:{},l="".concat(t,"/product-selector/2.0/items/base?tenant=").concat(n,"&pageNo=").concat(a.page.pageNo,"&pageSize=").concat(a.page.pageSize,"&showCategoryName=1"),e.next=4,ye.post(l,a.parameter);case 4:if((s=e.sent).data.success){e.next=8;break}return r.Message.error("服务出错"),e.abrupt("return",{data:{},pageNum:a.page.pageNo,pageSize:a.page.pageSize,total:0});case 8:return u={},s.data.data.data.forEach((function(e){Object.assign(e,{rowExpandable:!1,level:0,skus:e.skus.length?e.skus.map((function(e){return f(f({},e),{},{level:1})})):[]}),i.forEach((function(t){e.shopId===t.shopId&&Object.assign(e,{shopName:t.shopName,platName:t.platName})})),o[e.uniProductId]&&o[e.uniProductId].skus.length&&Object.assign(e,{rowExpandable:!0}),u[e.uniProductId]=e})),s.data.data.data=u,e.abrupt("return",s.data.data);case 12:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return v.apply(this,arguments)})},{key:"previewGetGoods",value:(m=g(p().mark((function e(t,n,a,i){var o,l,s,u,c=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=c.length>4&&void 0!==c[4]?c[4]:{},l="".concat(t,"/product-selector/2.0/items/base_static_dynamic?tenant=").concat(n,"&pageNo=").concat(a.page.pageNo,"&pageSize=").concat(a.page.pageSize),e.next=4,ye.post(l,a.parameter);case 4:if((s=e.sent).data.success){e.next=8;break}return r.Message.error("服务出错"),e.abrupt("return",{data:{},pageNum:a.page.pageNo,pageSize:a.page.pageSize,total:0});case 8:return u={},s.data.data.data.forEach((function(e){Object.assign(e,{rowExpandable:!1,level:0,skus:e.skus.length&&e.skus.map((function(e){return f(f({},e),{},{level:1})}))}),i.forEach((function(t){e.shopId===t.shopId&&Object.assign(e,{shopName:t.shopName})})),o[e.uniProductId]&&o[e.uniProductId].skus.length&&Object.assign(e,{rowExpandable:!0}),u[e.uniProductId]=e})),s.data.data.data=u,e.abrupt("return",s.data.data);case 12:case"end":return e.stop()}}),e)}))),function(e,t,n,a){return m.apply(this,arguments)})},{key:"batchImport",value:(h=g(p().mark((function e(t,n,a){var r,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/batch/import?tenant=").concat(n),e.next=3,ye.post(r,a);case 3:return(i=e.sent).data.success&&i.data.data.data.forEach((function(e){Object.assign(e,{rowExpandable:!!a["sku.outer_ids"],checked:!a["sku.outer_ids"]}),e.skus.forEach((function(e){Object.assign(e,{checked:!!a["sku.outer_ids"]})}))})),e.abrupt("return",i.data);case 6:case"end":return e.stop()}}),e)}))),function(e,t,n){return h.apply(this,arguments)})},{key:"queryAllGoods",value:(d=g(p().mark((function e(t,n,a,r,i,o){var l,s,u;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l="".concat(t,"/product-selector/2.0/items/all?tenant=").concat(n,"&limit=").concat(r),e.next=3,ye.post(l,a);case 3:if((s=e.sent).data.success){e.next=7;break}return s.data.data=[],e.abrupt("return",s.data);case 7:return u=[],s.data.data.length&&("goods"===i?s.data.data.forEach((function(e){o.forEach((function(t){e.shopId===t.shopId&&Object.assign(e,{shopName:t.shopName})})),Object.assign(e,{rowExpandable:!1}),u.push(e)})):"skus"===i&&s.data.data.forEach((function(e){e.skus.length&&(Object.assign(e,{rowExpandable:!0}),u.push(e))}))),s.data.data=u,e.abrupt("return",s.data);case 11:case"end":return e.stop()}}),e)}))),function(e,t,n,a,r,i){return d.apply(this,arguments)})},{key:"conditionFindAll",value:(c=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/product-selector/2.0/condition/findAll?tenant=").concat(n),e.next=3,ye.post(a,{});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return c.apply(this,arguments)})},{key:"validationConditionName",value:(u=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/name/check?tenant=").concat(n),e.next=3,ye.post(r,{conditionName:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return u.apply(this,arguments)})},{key:"saveCondition",value:(s=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/save/manual?tenant=").concat(n),e.next=3,ye.post(r,a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return s.apply(this,arguments)})},{key:"deleteCondition",value:(l=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/delete?tenant=").concat(n),e.next=3,ye.post(r,{id:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return l.apply(this,arguments)})},{key:"renameCondition",value:(o=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/rename?tenant=").concat(n),e.next=3,ye.post(r,a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return o.apply(this,arguments)})},{key:"autoSaveCondition",value:(i=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/condition/save/auto?tenant=").concat(n),e.next=3,ye.post(r,a);case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t,n){return i.apply(this,arguments)})},{key:"findConditionCount",value:(a=g(p().mark((function e(t,n){var a;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t,"/product-selector/2.0/condition/count?tenant=").concat(n),e.next=3,ye.post(a,{});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,t){return a.apply(this,arguments)})},{key:"getShoppingGold",value:(n=g(p().mark((function e(t,n,a){var r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(t,"/product-selector/2.0/cate/std_cate_card?tenant=").concat(n),e.abrupt("return",ye.post(r,a));case 2:case"end":return e.stop()}}),e)}))),function(e,t,a){return n.apply(this,arguments)})},{key:"getPlatAndShopList",value:(t=g(p().mark((function e(t,n,a,r){var i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(t,"/product-selector/2.0//cate/shop_platCode?tenant=").concat(n,"&isCustomer=").concat(r),e.next=3,ye.post(i,{categoryIds:a});case 3:return e.abrupt("return",e.sent.data);case 5:case"end":return e.stop()}}),e)}))),function(e,n,a,r){return t.apply(this,arguments)})}]),e}(),lc=new oc;function sc(){var e=I(t.useState([]),2),n=e[0],a=e[1],r=t.useCallback((function(e){a([].concat(N(n),[e]))}),[n]),i=t.useCallback((function(e){n.splice(e,1),a(N(n))}),[n]);return{globalConditions:n,setGlobalConditions:a,appendGlobalConditions:r,removeGlobalConditions:i}}function uc(){var e=I(t.useState(),2);return{allQueryCondition:lc.queryCondition,setAllQueryCondition:e[1]}}var cc=l.default.createContext({});function dc(e){return l.default.createElement(cc.Provider,{value:e.value},e.children)}function fc(){return t.useContext(cc)}var pc=["productName","productId","outerId","price","stock","onlineTime","status","platName","shopName","showCategoryName","showSellerCategoryName","skuTotal","sku"],hc=["productName","productId","outerId","price","stock","onlineTime","status","platName","shopName","showCategoryName","showSellerCategoryName"],mc=["YDH","PDD","REDBOOK","WEIMOB","VIP"],vc=["TAOBAO","JOS","YOUZAN"],gc={SY_ONLINE:"在架",SY_OFFLINE:"下架",SY_SAIL_OVER:"售罄","":"不限"},yc={platCode:{field:"platCode",operator:"EQ",operatorName:"等于",desc:"平台名称",rules:"defalut"},shopId:{field:"shopId",operator:"EQ",operatorName:"等于",desc:"店铺名称",rules:"defalut"},prod_product_id:{field:"prod.product_id",operator:"EQ",operatorName:"等于",desc:"商品ID",rules:"defalut"},prod_product_name:{field:"prod.product_name",operator:"LIKE",operatorName:"内容包含",desc:"商品名称",rules:"split"},prod_category_tree:{field:"prod.category_id",operator:"EQ",operatorName:"等于",desc:"标准类目",rules:"normal"},prod_seller_tree:{field:"prod.seller_cid",operator:"EQ",operatorName:"等于",desc:"自定义类目",rules:"normal"},prod_status:{field:"prod.status",operator:"EQ",operatorName:"等于",desc:"商品状态",rules:"defalut"},prod_stock:{field:"prod.stock",operator:"BETWEEN_CLOSE",operatorName:"介于(闭区间)",desc:"库存",rules:"between"},prod_outer_id:{field:"prod.outer_id",operator:"SUB_PATTERN",operatorName:"符合模式(截断)",desc:"商品商家编码",rules:"sub_pattern"},prod_price:{field:"prod.price",operator:"BETWEEN_CLOSE",operatorName:"介于(闭区间)",desc:"价格",rules:"between"},prod_online_time:{field:"prod.online_time",operator:"BETWEEN_CLOSE",operatorName:"介于(闭区间)",desc:"上架时间",rules:"between"},sku_flag:{field:"sku_flag",operator:"EQ",operatorName:"等于",desc:"是否有SKU",rules:"default"},sku_sku_id:{field:"sku.sku_id",operator:"EQ",operatorName:"等于",desc:"SKU ID",rules:"default"},sku_outer_id:{field:"sku.outer_id",operator:"SUB_PATTERN",operatorName:"符合模式(截断)",desc:"SKU商家编码",rules:"sub_pattern"},sku_specification:{field:"sku.specification",operator:"LIKE",operatorName:"内容包含",desc:"SKU名称",rules:"default"}},bc=[{labelKey:"商品标题",valueKey:"productName",isSku:!1},{labelKey:"商品ID",valueKey:"productId",isSku:!1},{labelKey:"商品商家编码",valueKey:"outerId",isSku:!1},{labelKey:"SKU ID",valueKey:"skuId",isSku:!0},{labelKey:"SKU商家编码",valueKey:"outerSkuId",isSku:!0},{labelKey:"SKU名称",valueKey:"skuDetail",isSku:!0}],wc={SHOP_ID:"shopId",PLAT_CODE:"platCode",PROD_PRICE:"prod.price",PROD_STOCK:"prod.stock",PROD_STATUS:"prod.status",PROD_OUTER_ID:"prod.outer_id",PROD_SELLER_ID:"prod.seller_cid",PROD_PRODUCT_ID:"prod.product_id",PROD_CATEGORY_ID:"prod.category_id",PROD_ONLINE_TIME:"prod.online_time",PROD_PRODUCT_NAME:"prod.product_name",SKU_FLAG:"sku_flag",SKU_PRICE:"sku.price",SKU_STOCK:"sku.stock",SKU_SKU_ID:"sku.sku_id",SKU_STATUS:"sku.status",SKU_OUTER_ID:"sku.outer_id",SKU_SPECIFICATION:"sku.specification"},kc={EQ:"EQ",LT:"LT",GT:"GT",LIKE:"LIKE",END_LIKE:"END_LIKE",BEGIN_LIKE:"BEGIN_LIKE",SUB_PATTERN:"SUB_PATTERN",BETWEEN_OPEN:"BETWEEN_OPEN",BETWEEN_CLOSE:"BETWEEN_CLOSE",ISNULL:"ISNULL",NONULL:"NONULL",NOT_EQ:"NOT_EQ",TAG_ISNULL:"TAG_ISNULL",TAG_NONULL:"TAG_NONULL",BETWEEN_RELATIVE:"BETWEEN_RELATIVE"};function Ec(e){var t=e.help,n=void 0===t?"":t,a=e.children,i=e.disabled;return l.default.createElement("div",{className:"condition-widget-box","data-disabled":void 0!==i&&i},l.default.createElement("div",{className:"condition-widget-box-content"},void 0===a?null:a),l.default.createElement("div",{className:"condition-widget-box-action-new"},n&&l.default.createElement(r.Tooltip,{content:n},l.default.createElement("div",{className:"condition-widget-box-action-new-help"},l.default.createElement(r.Icon,{type:"question-circle"})))))}var Cc=function e(t,n){return t.reduce((function(t,a){var r={};return a.children&&a.children.length?r=Object.assign(t,e(a.children,n?[].concat(N(n),[a.id]):[a.id])):r[a.id]=n?[].concat(N(n),[a.id]):[a.id],r?Object.assign({},r,t):Object.assign({},t)}),{})},Sc=["platCode","shopId","fetcher"];function _c(e){var n=e.platCode,a=e.shopId,r=e.fetcher,i=x(e,Sc),o=i.extraQuery,l=i.server,s=I(t.useState(!1),2),u=s[0],c=s[1],d=I(t.useState([]),2),h=d[0],m=d[1],v=I(t.useState([]),2),y=v[0],b=v[1],w=I(t.useState({}),2),k=w[0],E=w[1],C=function(){var e=g(p().mark((function e(){var t,i,s;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(e){return e.map((function(e){var n=e.children||[];return n.length&&(n=t(n)),f(f({},e),{},{children:t(e.children),value:e.id,label:e.name})}))},n&&a){e.next=4;break}return m([]),e.abrupt("return");case 4:if(!u){e.next=6;break}return e.abrupt("return");case 6:return c(!0),e.next=9,r(l,o,{platCode:n,shopId:a});case 9:i=t(e.sent.data.data||[]),s=Cc(i),b(Object.keys(s)),E(s),m(i),c(!1);case 17:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return t.useEffect((function(){C()}),[n,a]),{categories:h,loading:u,categoriesObj:k,categoriesIds:y}}var xc=["value","context","mode","readonly"];function Ac(e){var n=e.value,a=void 0===n?{}:n,i=e.context,o=e.mode,s=e.readonly,u=x(e,xc),c=k(k({},wc.PROD_CATEGORY_ID,lc.getGoodsCategory),wc.PROD_SELLER_ID,lc.getGoodsDefaultCategory)[o],d=I(t.useState(a.shop?a.shop.value:""),2),p=d[0],h=d[1],m=I(t.useState(a.plat?a.plat.value:""),2),v=m[0],g=m[1],y=i.platShopList,b=_c(f({platCode:v,shopId:p,fetcher:c},i)),w=b.categories,C=b.loading,S=b.categoriesObj,_=I(t.useState(a.categories||[]),2),A=_[0],D=_[1],T=I(t.useState([]),2),O=T[0],M=T[1];t.useEffect((function(){var e=A.map((function(e){return S[e.value]}));M(e)}),[S,A]);var F=t.useState(y.reduce((function(e,t){return e.map((function(e){return e.value})).includes(t.platCode)||e.push({value:t.platCode,label:t.platName}),e}),[])),L=I(F,1)[0],P=t.useState(y.reduce((function(e,t){return e[t.platCode]=e[t.platCode]||[],e[t.platCode].push({label:t.shopName,value:t.shopId}),e}),[])),B=I(P,1)[0],R=v?B[v]:[];t.useEffect((function(){var e=v||L[0].value,t=p||B[e][0].value;setTimeout((function(){h(t),g(e)}),300)}),[]);var z=0>=w.length;return l.default.createElement(r.Modal,E({title:"选择类目",modalStyle:{width:500},bodyStyle:{height:275}},u,{clickMaskCanClose:!1,hasFooter:!s,onOk:function(){u.onOk({plat:L.find((function(e){return[v].includes(e.value)})),shop:R.find((function(e){return[p].includes(e.value)})),categories:N(A)})}}),l.default.createElement(r.Form,{layout:"horizontal",labelCol:{span:5}},l.default.createElement(r.Form.Item,{label:"选择店铺"},l.default.createElement(r.Select,{disabled:s,style:{marginRight:8,width:104},dataSource:L,placeholder:"选择平台",value:v,onChange:function(e){var t=B[e][0].value;D([]),g(e),h(t)}}),l.default.createElement(r.Select,{disabled:s,style:{width:216},dataSource:R,placeholder:"选择店铺",value:p,onChange:function(e){h(e),D([])}})),l.default.createElement(r.Form.Item,{label:"选择类目"},l.default.createElement(r.Loading,{loading:C,size:"small",className:"category-loading-wrapper"},l.default.createElement(r.CCascader,{options:w,multiple:!0,placeholder:z?"暂无类目数据":"选择类目",disabled:z||s,style:{width:328},onChange:function(e,t){var n=t.map((function(e){return e[e.length-1]}));D(n)},showCheckedStrategy:"SHOW_CHILD",value:O,showSearch:function(e,t){return t.some((function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}))}})))))}function Ic(){return Ic=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ic.apply(this,arguments)}function Nc(e){return Nc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nc(e)}function Dc(e){var t=function(e,t){if("object"!=Nc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=Nc(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Nc(t)?t:t+""}function Tc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Oc(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tc(Object(n),!0).forEach((function(t){var a,r,i;a=e,i=n[t],(r=Dc(r=t))in a?Object.defineProperty(a,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[r]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);t>n;n++)a[n]=e[n];return a}function Fc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=i.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){u=!0,r=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lc(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;i.length>a;a++)0>t.indexOf(n=i[a])&&(r[n]=e[n]);return r}function Pc(e,t){if(null==e)return{};var n,a,r=Lc(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;i.length>a;a++)0>t.indexOf(n=i[a])&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}
18
18
  /**
19
19
  * @license React
20
20
  * react-is.production.min.js
@@ -208,4 +208,4 @@ function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)
208
208
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
209
209
  PERFORMANCE OF THIS SOFTWARE.
210
210
  ***************************************************************************** */
211
- var NWe=function(){return NWe=Object.assign||function(e){for(var t,n=1,a=arguments.length;a>n;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},NWe.apply(this,arguments)};function DWe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,r,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(a=i.next()).done;)o.push(a.value)}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o}function TWe(e){var n=e.defaultContent,a=void 0===n?[]:n,r=e.onCreated,i=e.defaultHtml,o=void 0===i?"":i,s=e.value,u=void 0===s?"":s,c=e.onChange,d=e.defaultConfig,f=void 0===d?{}:d,p=e.mode,h=void 0===p?"default":p,m=e.style,v=void 0===m?{}:m,g=t.useRef(null),y=DWe(t.useState(null),2),b=y[0],w=y[1],k=DWe(t.useState(""),2),E=k[0],C=k[1],S=function(e){r&&r(e);var t=f.onCreated;t&&t(e)},_=function(e){C(e.getHtml()),c&&c(e);var t=f.onChange;t&&t(e)},x=function(e){var t=f.onDestroyed;w(null),t&&t(e)};return t.useEffect((function(){null!=b&&u!==E&&b.setHtml(u)}),[u]),t.useEffect((function(){var e;if(null!=g.current&&null==b&&!(null===(e=g.current)||void 0===e?void 0:e.getAttribute("data-w-e-textarea"))){var t=function(e){void 0===e&&(e={});var t=e.selector,n=void 0===t?"":t,a=e.content,r=void 0===a?[]:a,i=e.html,o=e.config,l=void 0===o?{}:o,s=e.mode,u="simple"===(void 0===s?"default":s)?EWe.simpleEditorConfig:EWe.editorConfig,c=kWe(kWe({},u.hoverbarKeys||{}),l.hoverbarKeys||{});return lee({selector:n,config:kWe(kWe(kWe({},u),l),{hoverbarKeys:c}),content:r,html:i,plugins:EWe.plugins})}({selector:g.current,config:NWe(NWe({},f),{onCreated:S,onChange:_,onDestroyed:x}),content:a,html:o||u,mode:h});w(t)}}),[b]),l.default.createElement("div",{style:v,ref:g})}function OWe(e){var n=e.editor,a=e.defaultConfig,r=void 0===a?{}:a,i=e.mode,o=void 0===i?"default":i,s=e.style,u=void 0===s?{}:s,c=t.useRef(null);return t.useEffect((function(){null!=c.current&&null!=n&&function(e){var t=e.selector,n=e.editor,a=e.config,r=void 0===a?{}:a,i=e.mode,o=void 0===i?"default":i;if(!t)throw Error("Cannot find 'selector' when create toolbar");var l=function(e,t){if(null==e)throw Error("Cannot create toolbar, because editor is null");var n=t.selector,a=t.config,r=void 0===a?{}:a;if(function(e,t){return iee(e,"data-w-e-toolbar",t)}(e,n))throw Error("Repeated create toolbar by selector '"+n+"'");var i=B4({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},r||{}),o=new fee(n,i);return j6.set(o,e),V6.set(e,o),o}(n,{selector:t,config:kWe(kWe({},"simple"===o?EWe.simpleToolbarConfig:EWe.toolbarConfig),r)})}({editor:n,selector:c.current,config:r,mode:o})}),[n]),l.default.createElement("div",{style:u,ref:c})}var MWe=function(e,n){var a=e.value,r=e.onChange,i=e.autoFocus,o=void 0!==i&&i,s=e.disabled,u=void 0!==s&&s,c=e.toolbar,d=void 0===c||c,f=e.disableToolbarKeys,p=void 0===f?[]:f,h=e.width,v=void 0===h?700:h,g=e.minWidth,y=e.height,b=e.minHeight,w=void 0===b?200:b,k=t.useRef({}).current,E=I(t.useState(null),2),C=E[0],S=E[1],_=I(t.useState(),2),x=_[0],A=_[1];t.useImperativeHandle(n,(function(){return C}));var N=t.useMemo((function(){return{toolbarKeys:["bold","underline","italic","through","color","fontSize","divider","emotion","insertLink","indent","delIndent","bulletedList","numberedList","insertTable","redo","undo","fullScreen"].filter((function(e){return!p.find((function(t){return"string"==typeof e?e===t:"object"===m(e)?(null==e?void 0:e.key)===t:null}))}))}}),[p]),D=t.useCallback((function(e){var t=e.getHtml();if(r){var n=e.getText();if(n)r(e.getHtml(),n);else{if(!k.value)return;r()}}else A(e.getHtml());k.value=t}),[k,r]),T=t.useMemo((function(){return{placeholder:"请输入内容...",autoFocus:o,readOnly:u,onChange:D,MENU_CONF:{}}}),[o,u,D]);return t.useEffect((function(){return function(){C&&(C.destroy(),S(null))}}),[C]),t.useEffect((function(){A(a)}),[a]),l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"assetEditorWangWrapper",style:{width:v||g||"auto",lineHeight:"20px"}},u||!d?null:l.default.createElement(OWe,{mode:"default",editor:C,defaultConfig:N,style:{borderBottom:"1px solid #E8E8E8"}}),l.default.createElement(TWe,{mode:"default",defaultConfig:T,value:x,onCreated:S,style:{height:y||w,overflow:"hidden",lineHeight:"20px"}})))},FWe=t.forwardRef(MWe),LWe=["files"],PWe={PICTURE:{label:"点击上传或拖拽图片到这里",accept:"image/png,image/jpg,image/jpeg,image/bmp,image/gif",max:2,tips:"支持 png、jpg、jpeg、bmp、gif 格式,大小须在 2MB 以内。"},VIDEO:{label:"点击上传或拖拽视频到这里",accept:"video/mp4",max:60,tips:"支持 mp4 格式,大小须在 60MB 以内,建议视频时长须在 5min 以内。"},AUDIO:{label:"点击上传或拖拽音频到这里",accept:"audio/mp3,audio/mpeg,audio/wma,audio/wav,audio/am",max:20,tips:"支持 mp3、wma、wav、amr 格式,大小须在 20MB 以内。"},TEXT:{label:"点击上传或拖拽文档到这里",accept:".txt,.csv",max:10,tips:"支持txt 格式,大小须在 10MB 以内。"}};var BWe={PICTURE:function(e){var n=e.item,a=I(t.useState([]),2),r=a[0];t.useEffect((function(){}),[]);var i,o=n.materialUrl||n.coverPicture;return"MINI_PROGRAM"===n.materialType&&(o=null===(i=r.find((function(e){return e.value===n.applicationId})))||void 0===i?void 0:i.headImg),l.default.createElement("img",{src:o})},VIDEO:function(e){var t=e.item;return l.default.createElement("video",{controls:"controls",preload:!0,style:{width:"100%"},onClick:function(e){e.stopPropagation()}},l.default.createElement("source",{src:t.materialUrl,type:"video/mp4"}),l.default.createElement("source",{src:t.materialUrl,type:"video/ogg"}),l.default.createElement("source",{src:t.materialUrl,type:"video/webm"}))},AUDIO:function(e){var t=e.item;return l.default.createElement("div",{className:tt("audio","row-flex-center","jc-center")},l.default.createElement("img",{src:"https://brand-guide.shuyun.com/IAM/0b004d6b8c77.png",style:{width:"100%"}}),l.default.createElement("audio",{controls:"controls",autoPlay:!0,onClick:function(e){e.stopPropagation()}},l.default.createElement("source",{src:t.materialUrl,type:"audio/ogg"}),l.default.createElement("source",{src:t.materialUrl,type:"audio/mpeg"}),l.default.createElement("embed",{src:t.materialUrl})))},TEXT:function(e){var n=e.item,a=AS.useAtomValue(v_),r=I(t.useState(""),2),i=r[0],o=r[1];return t.useEffect((function(){"WRITE"===n.addType?ye.get("".concat(a.server,"/cem-material/v1/material/").concat(n.id)).then((function(e){var t,n;o((null==e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.materialContent)||"")})):function(){var e=new XMLHttpRequest;e.onreadystatechange=function(){4===e.readyState&&o(e.responseText)},e.open("GET",n.materialUrl,!0),e.send()}()}),[]),l.default.createElement("div",{className:tt("textContainer","column-flex")},l.default.createElement("h2",null,n.materialName),"WRITE"===n.addType&&l.default.createElement("div",{className:tt("content","flex1"),dangerouslySetInnerHTML:{__html:i}}),"WRITE"!==n.addType&&l.default.createElement("pre",{className:tt("content","flex1"),style:{whiteSpace:"pre-wrap"}},i))}};function RWe(e){var n=I(t.useState(!1),2),a=n[0],i=n[1],o=AS.useAtomValue(v_),s=AS.useAtomValue(w_),u=AS.useAtomValue(O_),c=AS.useAtomValue(y_),d=AS.useAtomValue(B_),p=AS.useSetAtom(L_),h=r.Field.useField(),m=PWe[c]||{},v=m.label,g=m.max,y=m.accept,b=m.tips,w=I(t.useState(""),2),C=w[0],S=w[1],_=h.getValue("addType"),A=BWe[null==d?void 0:d.materialType]||BWe[c]||l.default.createElement("div",null),N=y.split(",").reduce((function(e,t){var n=t.split("/")[0],a=t.split("/")[1];return n&&a&&e["".concat(n,"/").concat(a)]?e["".concat(n,"/").concat(a)].push(".".concat(a)):n&&a?e["".concat(n,"/").concat(a)]=[".".concat(a)]:e["".concat(n)]=["".concat(n)],e}),{}),D={size:g,unit:"M",labelText:v,accept:y},T=OT({noClick:!0,accept:N,onDrop:function(e){if(console.log(123,e),0!==e.length){var t,n=D.unit,a=D.size;"M"!==n&&"MB"!==n||(t=e[0].size/1024/1024>a),"KB"===n&&(t=e[0].size/1024>a),t?r.Message.error("文件过大,最大支持 ".concat(a," ").concat(n," 的文件上传!")):O({file:e[0]})}else h.setValues({files:void 0})}}).getRootProps;t.useEffect((function(){void 0!==d.id?(h.setValues(Object.assign(f({},d),{scope:1===d.scope})),"TEXT"===c&&"WRITE"===d.addType&&ye.get("".concat(o.server,"/cem-material/v1/material/").concat(d.id)).then((function(e){var t,n;h.setValue("materialContent",(null==e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.materialContent)||"")}))):h.setValues({uploadType:"FOREVER",addType:"UPLOAD",categoryId:u})}),[]);var O=function(e){var t=e.file,n=t.name;if(n.includes("%"))r.Message.error("文件名不能包含特殊字符");else{var a=window.URL.createObjectURL(t);S(a);var i=h.getValue("materialName");h.setValues(i?{files:[t]}:{files:[t],materialName:n.split(".").slice(0,-1).join(".")})}},M=function(e){return ye.post("".concat(o.server,"/cem-material/v1/material/text/create"),e)},F=function(e){var t=e.files,n=x(e,LWe),a=new window.FormData;return a.append("files",t[0]),a.append("param",new Blob([JSON.stringify(n)],{type:"application/json"})),ye.post("".concat(o.server,"/cem-material/v1/material/file/upload"),a)},L=h.init,P=h.getValue,B=h.setValue;return l.default.createElement(r.Form,{labelCol:{span:4},layout:"horizontal",className:"assetCommonForm",field:h},"TEXT"===c&&l.default.createElement(r.Form.Item,{label:"添加方式"},l.default.createElement(r.Radio.Group,E({disabled:d.id},L("addType",{rules:[{required:!0,message:"添加方式不能为空"}]})),l.default.createElement(r.Radio,{value:"UPLOAD"},"本地上传"),l.default.createElement(r.Radio,{value:"WRITE"},"在线编辑"))),l.default.createElement("div",{className:"createItem"},"UPLOAD"===_&&void 0===d.id&&l.default.createElement("div",{className:"createUploadContainer"},l.default.createElement(r.Form.Item,{label:""},l.default.createElement("div",E({},L("files",{rules:[{required:!0,message:"资源不能为空"},{len:10}]}),{onChange:function(){}},void 0===d.id?f({},T()):{}),l.default.createElement(r.Upload,E({},D,{customRequest:O,onRemove:function(){return h.setValue("files",[])},disabled:void 0!==d.id}),void 0===d.id&&!Array.isArray(h.getValue("files")||Array.isArray(h.getValue("files")&&0===h.getValue("files").length))&&l.default.createElement("div",{className:"createUpload"},l.default.createElement(r.Icon,{type:"plus",className:"createIcon"}),l.default.createElement("div",{className:"createUploadLabel"},v),b&&l.default.createElement("div",{className:"tips"},b.replace("\\n"," \n "))),void 0===d.id&&Array.isArray(h.getValue("files"))&&h.getValue("files").length>0&&C&&l.default.createElement("div",{className:tt("createUpload",k({},"textContent","TEXT"===c))},l.default.createElement(A,{item:{materialName:h.getValue("materialName"),materialUrl:C}})))))),"UPLOAD"===_&&void 0!==d.id&&l.default.createElement("div",{className:"createUploadContainer"},l.default.createElement(r.Upload,E({},D,{customRequest:O,onRemove:function(){return h.setValue("files",[])},disabled:void 0!==d.id}),void 0!==d.id&&l.default.createElement("div",{className:"createUpload"},l.default.createElement(A,{item:d})))),l.default.createElement("div",{className:"createOther"},"WRITE"===_&&l.default.createElement(r.Form.Item,{label:"内容"},l.default.createElement(FWe,E({},L("materialContent",{rules:[{required:!0,message:"资源不能为空"},{len:1e4}]}),{disableToolbarKeys:["through","fontSize","divider","indent","delIndent","insertTable"],width:"auto",height:200}))),l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,E({},L("categoryId",{rules:[{required:!0,message:"分组不能为空"}]}),{width:"328px"}))),l.default.createElement(r.Form.Item,{label:"名称"},l.default.createElement(r.Input,E({},L("materialName",{rules:[{required:!0,message:"名称不能为空"},{len:20}]}),{maxLength:20,hasCounter:!0,className:"input",placeholder:"请输入名称",style:{width:"328px"}}))),void 0===d.id&&l.default.createElement(r.Form.Item,{label:"素材时效"},l.default.createElement(r.Radio.Group,L("uploadType",{rules:[{required:!0,message:"素材时效不能为空"}],initValue:"FOREVER"}),l.default.createElement(r.Radio,{value:"FOREVER"},"永久有效"),l.default.createElement(r.Radio,{value:"TEMP"},"七天有效"))),void 0===d.id&&"TEXT"!==c&&l.default.createElement(r.Form.Item,{label:"生成短链"},l.default.createElement(r.Toggle,E({},L("genShortLink",{onChange:function(e){B("genShortLink",e)}}),{size:"small",checked:P("genShortLink")}))),(void 0===d.id||d.currentCreate)&&l.default.createElement(r.Form.Item,{label:"仅自己可见"},l.default.createElement(r.Toggle,E({},L("scope",{onChange:function(e){B("scope",e)}}),{size:"small",checked:P("scope")}))))),l.default.createElement("div",{className:"footer"},l.default.createElement(r.Button,{type:"primary",onClick:function(){h.validate((function(e,t){console.log(t),e||(i(!0),d.id?ye.put("".concat(o.server,"/cem-material/v1/material/").concat(d.id),{id:d.id,materialName:t.materialName,categoryId:t.categoryId,materialContent:t.materialContent,scope:t.scope?1:0}).then((function(e){200===e.data.code?(r.Message.success("更新成功"),p("list"),i(!1)):(i(!1),r.Message.error(e.data.msg||"系统错误"))})).catch((function(){return i(!1)})):("TEXT"===c&&"WRITE"===_?M:F)(Object.assign(f(f({},t),{},{platId:"SY_FFuBWV76yK",materialSource:o.source,materialConfigId:s}),{scope:t.scope?1:0})).then((function(e){200===e.data.code?(r.Message.success("保存成功"),p("list")):(i(!1),r.Message.error(e.data.msg||"系统错误"))})).catch((function(){return i(!1)})))}))},disabled:a},a?"上传中...":"保存"),l.default.createElement(r.Button,{style:{marginLeft:16},onClick:function(){p("list")},className:"cancel"},"取消")))}var zWe=k(k(k(k(k(k(k(k({},WC.PICTURE,RWe),WC.VIDEO,RWe),WC.AUDIO,RWe),WC.TEXT,RWe),WC.LINK,(function(e){var n=I(t.useState(!1),2),a=n[0],i=n[1],o=I(t.useState(!1),2),s=o[0],u=o[1],c=AS.useAtomValue(v_),d=AS.useSetAtom(L_),p=AS.useAtomValue(O_),h=AS.useAtomValue(w_),m=AS.useAtomValue(y_),v=AS.useAtomValue(B_),g=r.Field.useField(),y=g.init,b=g.getValue,w=g.setValue,k={size:2,unit:"M",labelText:"支持 png、jpg、jpeg 格式,大小须在 2MB 以内。",accept:"image/png,image/jpg,image/jpeg"},C=OT({noClick:!0,accept:k.accept.split(",").reduce((function(e,t){var n=t.split("/")[0],a=t.split("/")[1];return n&&a&&e["".concat(n,"/").concat(a)]?e["".concat(n,"/").concat(a)].push(".".concat(a)):n&&a?e["".concat(n,"/").concat(a)]=[".".concat(a)]:e["".concat(n)]=["".concat(n)],e}),{}),onDrop:function(e){if(0!==e.length){var t,n=k.unit,a=k.size;"M"!==n&&"MB"!==n||(t=e[0].size/1024/1024>a),"KB"===n&&(t=e[0].size/1024>a),t?r.Message.error("文件过大,最大支持 ".concat(a," ").concat(n," 的文件上传!")):S({file:e[0]})}}}).getRootProps;t.useEffect((function(){g.setValues(void 0===v.id?{categoryId:p}:Object.assign(f({},v),{scope:1===v.scope}))}),[]);var S=function(e){var t=e.file;t.name.includes("%")?r.Message.error("文件名不能包含特殊字符"):_(t).then((function(e){g.setValue("coverPicture",e.data.data[0])}))},_=function(e){var t=new window.FormData;return t.append("file",e),ye.post("".concat(c.server,"/cem-upload/v1/upload"),t)};return l.default.createElement(r.Form,{labelCol:{span:4},layout:"horizontal",className:"assetLinkForm",field:g},l.default.createElement("div",{className:"createItem"},l.default.createElement("div",{className:"createUploadContainer"},l.default.createElement(r.Form.Item,{label:""},l.default.createElement("div",E({},y("coverPicture",{rules:[{required:!0,message:"封面不能为空"}]}),{onChange:function(){}},void 0===v.id?f({},C()):{}),l.default.createElement(r.Upload,E({},k,{customRequest:S,onRemove:function(){return g.setValue("coverPicture","")},disabled:void 0!==v.id}),!g.getValue("coverPicture")&&l.default.createElement("div",{className:"createUpload"},l.default.createElement(r.Icon,{type:"plus",className:"createIcon"}),l.default.createElement("div",{className:"createUploadLabel"},"点击上传或拖拽为链接封面"),l.default.createElement("div",{className:"tips"},"建议尺寸200*200px,支持 png、jpg、jpeg 格式,大小须在 2MB 以内。")),g.getValue("coverPicture")&&l.default.createElement("div",{className:"createUpload"},l.default.createElement("img",{src:g.getValue("coverPicture"),alt:"cover"})))))),l.default.createElement("div",{className:"createOther"},l.default.createElement(r.Form.Item,{label:"地址"},l.default.createElement(r.Input,E({},y("linkUrl",{rules:[{required:!0,message:"链接地址不能为空"},{validator:function(e,t,n){t.startsWith("https://")||t.startsWith("http://")?n(""):n("请输入以http://或https://开头的链接地址")}}]}),{disabled:void 0!==v.id,className:"input",placeholder:"请输入短链接地址",style:{width:"270px",marginRight:10}})),l.default.createElement(r.Tooltip,{content:"自动解析功能可自动识别链接链接的标题、描述及封面,识别后自动回填,支持手动修改",theme:"light"},l.default.createElement(r.Button,{icon:"info-circle1",type:"primary",disabled:!g.getValue("linkUrl")||g.getError("linkUrl"),loading:s,onClick:function(){u(!0),ye.post("".concat(c.server,"/cem-material/v1/material/urlParse"),{url:g.getValue("linkUrl")}).then((function(e){var t,n,a,r,i,o,l,s,u,c;(null==e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.title)&&g.setValue("materialName",e.data.data.title),(null==e||null===(a=e.data)||void 0===a||null===(r=a.data)||void 0===r?void 0:r.description)&&(null==e||null===(i=e.data)||void 0===i||null===(o=i.data)||void 0===o?void 0:o.description[0])&&g.setValue("linkContent",e.data.data.description[0]),(null==e||null===(l=e.data)||void 0===l||null===(s=l.data)||void 0===s?void 0:s.image)&&(null==e||null===(u=e.data)||void 0===u||null===(c=u.data)||void 0===c?void 0:c.image[0])&&g.setValue("coverPicture",e.data.data.image[0])})).finally((function(){return u(!1)}))}},"自动解析"))),l.default.createElement(r.Form.Item,{label:"标题"},l.default.createElement(r.Input,E({},y("materialName",{rules:[{required:!0,message:"标题不能为空"},{len:20}]}),{maxLength:20,hasCounter:!0,className:"input",placeholder:"请输入标题",style:{width:"328px"}}))),l.default.createElement(r.Form.Item,{label:"描述"},l.default.createElement(r.Input.Textarea,E({},y("linkContent",{rules:[{required:!0,message:"描述不能为空"},{len:100}]}),{rows:3,maxLength:100,hasCounter:!0,placeholder:"请输入描述",style:{width:"328px"}}))),l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,E({},y("categoryId",{rules:[{required:!0,message:"分组不能为空"}]}),{width:"328px"}))),l.default.createElement(r.Form.Item,{label:"生成短链"},l.default.createElement(r.Toggle,E({},y("genShortLink",{onChange:function(e){w("genShortLink",e)}}),{checked:g.getValue("genShortLink"),disabled:void 0!==v.id,size:"small"}))),(void 0===v.id||v.currentCreate)&&l.default.createElement(r.Form.Item,{label:"仅自己可见"},l.default.createElement(r.Toggle,E({},y("scope",{onChange:function(e){w("scope",e)}}),{size:"small",checked:b("scope")}))))),l.default.createElement("div",{className:"footer"},l.default.createElement(r.Button,{type:"primary",onClick:function(){g.validate((function(e,t){if(console.log("values",t),!e)if(i(!0),void 0===v.id){var n=Object.assign(f(f({},t),{},{materialSource:c.source,materialConfigId:h,materialType:m}),{scope:t.scope?1:0});ye.post("".concat(c.server,"/cem-material/v1/material/link/upload"),n).then((function(e){200===e.data.code?(r.Message.success("保存成功"),i(!1),d("list")):(i(!1),r.Message.error(e.data.msg||"系统错误"))})).catch((function(){return i(!1)}))}else ye.put("".concat(c.server,"/cem-material/v1/material/").concat(v.id),f(f({id:v.id},t),{},{categoryId:t.categoryId,scope:t.scope?1:0})).then((function(e){200===e.data.code?(r.Message.success("更新成功"),i(!1),d("list")):(i(!1),r.Message.error(e.data.msg||"系统错误"))})).catch((function(){return i(!1)}))}))},disabled:a},a?"上传中...":"保存"),l.default.createElement(r.Button,{style:{marginLeft:16},onClick:function(){d("list")},className:"cancel"},"取消")))})),WC.POI,(function(e){var n=AS.useAtomValue(v_),a=AS.useAtomValue(y_),i=AS.useAtomValue(w_),o=AS.useAtomValue(O_),s=AS.useSetAtom(L_),u=I(t.useState({}),2),c=u[0],d=u[1],p=I(t.useState(!1),2),h=p[0],m=p[1],v=I(t.useState(!1),2),g=v[0],y=v[1],b=AS.useAtomValue(B_),w=r.Field.useField(),k=w.init,C=w.getValue,S=w.setValue,_={size:2,unit:"M",labelText:"支持 png、jpg、jpeg 格式,大小须在 2MB 以内。",accept:"image/png,image/jpg,image/jpeg"},A=OT({noClick:!0,accept:_.accept.split(",").reduce((function(e,t){var n=t.split("/")[0],a=t.split("/")[1];return n&&a&&e["".concat(n,"/").concat(a)]?e["".concat(n,"/").concat(a)].push(".".concat(a)):n&&a?e["".concat(n,"/").concat(a)]=[".".concat(a)]:e["".concat(n)]=["".concat(n)],e}),{}),onDrop:function(e){if(0!==e.length){var t,n=_.unit,a=_.size;"M"!==n&&"MB"!==n||(t=e[0].size/1024/1024>a),"KB"===n&&(t=e[0].size/1024>a),t?r.Message.error("文件过大,最大支持 ".concat(a," ").concat(n," 的文件上传!")):O({file:e[0]})}}}).getRootProps;t.useEffect((function(){if(void 0===b.id)w.setValues({categoryId:o,list:[],len:0});else{var e=b.openingTime?JSON.parse(b.openingTime):[];w.setValues(Object.assign(f(f({},zT(f(f({},b),{},{openingTime:e}))),{},{list:e.map((function(e,t){return"".concat(t)})),len:e.length}),{scope:1===b.scope}))}}),[]);var N=function(){return y(!g)};k("list");var D=c.longitude,T=c.latitude,O=function(e){var t=e.file;t.name.includes("%")?r.Message.error("文件名不能包含特殊字符"):M(t).then((function(e){w.setValue("coverPicture",e.data.data[0])}))},M=function(e){var t=new window.FormData;return t.append("file",e),ye.post("".concat(n.server,"/cem-upload/v1/upload"),t)};return l.default.createElement(l.default.Fragment,null,l.default.createElement(r.Form,{field:w,labelCol:{span:4},className:"poiForm",layout:"horizontal"},l.default.createElement("div",{className:"createItem"},l.default.createElement("div",{className:"createUploadContainer"},l.default.createElement(r.Form.Item,{label:""},l.default.createElement("div",E({},k("coverPicture",{rules:[{required:!0,message:"封面不能为空"}]}),{onChange:function(){}},void 0===b.id?f({},A()):{}),l.default.createElement(r.Upload,E({},_,{customRequest:O,onRemove:function(){return w.setValue("coverPicture","")},disabled:void 0!==b.id}),!w.getValue("coverPicture")&&l.default.createElement("div",{className:"createUpload"},l.default.createElement(r.Icon,{type:"plus",className:"createIcon"}),l.default.createElement("div",{className:"createUploadLabel"},"点击上传或拖拽为门店照片"),l.default.createElement("div",{className:"tips"},"支持 png、jpg、jpeg 格式,大小须在 2MB 以内。")),w.getValue("coverPicture")&&l.default.createElement("div",{className:"createUpload"},l.default.createElement("img",{src:w.getValue("coverPicture"),alt:"cover"})))))),l.default.createElement("div",{className:"createOther"},l.default.createElement(r.Form.Item,{label:"门店名称",required:!0},l.default.createElement(r.Input,E({},k("title",{rules:[{required:!0,message:"请输入门店名称"}]}),{size:"large",maxLength:20,hasCounter:!0,placeholder:"请输入门店名称",style:{width:328}}))),l.default.createElement(r.Form.Item,{label:"门店位置",required:!0},l.default.createElement(r.Input,E({},k("positionInfo",{rules:[{required:!0,message:"请选择门店位置"}]}),{size:"large",suffix:l.default.createElement(yx,{onClick:N,type:"road-map-line",style:{color:"rgba(0,0,0,0.2500)"}}),onClick:N,placeholder:"请选择门店位置",style:{width:328}}))),l.default.createElement(r.Form.Item,{label:"联系电话",required:!0},l.default.createElement(r.Input,E({},k("phoneNumber",{rules:[{required:!0,message:"请输入联系电话"}]}),{size:"large",placeholder:"请输入联系电话",style:{width:328}}))),l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,E({},k("categoryId",{rules:[{required:!0,message:"分组不能为空"}]}),{width:"328px"}))),l.default.createElement(r.Form.Item,{label:"是否开业"},l.default.createElement(r.Toggle,E({},k("enabled",{onChange:function(e){S("enabled",e)}}),{size:"small",checked:!(!1===w.getValue("enabled"))}))),(void 0===b.id||b.currentCreate)&&l.default.createElement(r.Form.Item,{label:"仅自己可见"},l.default.createElement(r.Toggle,E({},k("scope",{onChange:function(e){S("scope",e)}}),{size:"small",checked:C("scope")}))),l.default.createElement(r.Form.Item,{label:"营业时间"},l.default.createElement(jT,{name:"openingTime",field:w})))),l.default.createElement("div",{className:"footer"},l.default.createElement(r.Button,{type:"primary",onClick:function(){w.validate((function(e,t){if(console.log("values",t),!e){var o=c.longitude,l=c.latitude,u=c.cityname,d=RT(t),p=d.openingTime,h=void 0===p?{}:p,v=x(d,LT),g=Object.keys(h).map((function(e){return h[e]}));console.log(t,RT(t),g),m(!0),void 0===b.id?ye.post("".concat(n.server,"/cem-material/v1/material/poi/upload"),Object.assign(f(f({},ND(v,["list","len"])),{},{longitude:o,latitude:l,cityName:u,materialSource:n.source,materialConfigId:i,materialType:a,openingTime:JSON.stringify(g)}),{scope:t.scope?1:0})).then((function(e){200===e.data.code?(r.Message.success("保存成功"),m(!1),s("list")):(r.Message.error(e.data.msg),m(!1))})):ye.put("".concat(n.server,"/cem-material/v1/material/").concat(b.id),f(f({id:b.id},ND(v,["list","len"])),{},{longitude:o,latitude:l,cityName:u,openingTime:JSON.stringify(g),scope:t.scope?1:0})).then((function(e){200===e.data.code?(r.Message.success("更新成功"),s("list"),m(!1)):(r.Message.error(e.data.msg),m(!1))})).catch((function(){return m(!1)}))}}))},disabled:h},h?"上传中...":"保存"),l.default.createElement(r.Button,{style:{marginLeft:16},onClick:function(){s("list")},className:"cancel"},"取消"))),g&&l.default.createElement(eN,{visible:g,data:{longitude:D,latitude:T},onOk:function(e){var t=e.poiaddress,n=e.cityname,a=e.latlng,r=a.lat,i=a.lng;d(f(f({},c),{},{positionInfo:t,latitude:r,longitude:i,cityname:n})),w.setValues({positionInfo:t}),N()},onCancel:N}))})),WC.MINI_PROGRAM,(function(e){var n=AS.useAtomValue(v_),a=AS.useAtomValue(y_),i=AS.useAtomValue(w_),o=AS.useAtomValue(O_),s=AS.useAtomValue(B_),u=AS.useSetAtom(L_),c=I(t.useState(!1),2),d=c[0],p=c[1],h=r.Field.useField(),m=h.init,v=h.getValue,g=h.setValue;t.useEffect((function(){h.setValues(void 0===s.id?{categoryId:o}:Object.assign(f({},s),{scope:1===s.scope}))}),[]);var y={size:2,unit:"M",labelText:"支持 png、jpg、jpeg 格式,大小须在 2MB 以内。",accept:"image/png,image/jpg,image/jpeg"},b=function(e,t){var n=e.file;n.name.includes("%")?r.Message.error("文件名不能包含特殊字符"):w(n).then((function(e){h.setValue(t,e.data.data[0])}))},w=function(e){var t=new window.FormData;return t.append("file",e),ye.post("".concat(n.server,"/cem-upload/v1/upload"),t)};return l.default.createElement(r.Form,{labelCol:{span:5},layout:"horizontal",className:"miniProgramForm",field:h},l.default.createElement("div",{className:"createMiniProgramForm"},l.default.createElement("div",{className:"createOption"},l.default.createElement(r.Form.Item,{label:"标题"},l.default.createElement(r.Input,E({},m("materialName",{rules:[{required:!0,message:"标题不能为空"},{len:20}]}),{maxLength:20,hasCounter:!0,className:"input",placeholder:"请输入标题",style:{width:"328px",marginRight:10}}))),l.default.createElement(r.Form.Item,{label:"APPID"},l.default.createElement(r.Input,E({},m("applicationId",{rules:[{required:!0,message:"小程序APPID不能为空"}]}),{className:"input",disabled:void 0!==s.id,placeholder:"请输入小程序APPID",style:{width:"328px"}}))),l.default.createElement(r.Form.Item,{label:"页面路径"},l.default.createElement(r.Input,E({},m("linkUrl",{rules:[{required:!0,message:"请填写点击后跳转的小程序功能页面"}]}),{className:"input",disabled:void 0!==s.id,placeholder:"请填写点击后跳转的小程序功能页面",style:{width:"328px",marginRight:10}}))),l.default.createElement(r.Form.Item,{label:"原始ID"},l.default.createElement(r.Input,E({},m("originalId",{rules:[{required:!0,message:"请输入小程序原始ID"}]}),{disabled:void 0!==s.id,className:"input",placeholder:"请输入小程序原始ID",style:{width:"328px",marginRight:10}}))),l.default.createElement(r.Form.Item,{label:"描述"},l.default.createElement(r.Input.Textarea,E({},m("linkContent",{rules:[{required:!0,message:"描述不能为空"},{len:100}]}),{className:"input",rows:3,maxLength:100,hasCounter:!0,placeholder:"请输入描述",style:{width:"328px"}}))),l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,E({},m("categoryId",{rules:[{required:!0,message:"分组不能为空"}]}),{width:"328px"}))),(void 0===s.id||s.currentCreate)&&l.default.createElement(r.Form.Item,{label:"仅自己可见"},l.default.createElement(r.Toggle,E({},m("scope",{onChange:function(e){g("scope",e)}}),{size:"small",checked:v("scope")})))),l.default.createElement("div",{className:"createImg"},l.default.createElement(r.Form.Item,{label:"小程序Logo",labelCol:{span:6}},l.default.createElement("div",E({},m("icon",{rules:[{required:!0,message:"小程序Logo不能为空"}]}),{onChange:function(){}}),l.default.createElement(r.Upload,E({},y,{disabled:void 0!==s.id,customRequest:function(e){b({file:e.file},"icon")},onRemove:function(){return h.setValue("icon","")}}),!h.getValue("icon")&&l.default.createElement("div",{className:"imgBox"},l.default.createElement(r.Icon,{type:"plus"}),l.default.createElement("div",null,"添加")),h.getValue("icon")&&l.default.createElement("div",{className:"imgBox"},l.default.createElement("img",{src:h.getValue("icon"),alt:"cover"}))),l.default.createElement("div",{className:"tips"},"建议尺寸144px*144px,大小须在 2MB 以内。"))),l.default.createElement(r.Form.Item,{label:"封面",labelCol:{span:6}},l.default.createElement("div",E({},m("coverPicture",{rules:[{required:!0,message:"封面不能为空"}]}),{onChange:function(){}}),l.default.createElement(r.Upload,E({},y,{disabled:void 0!==s.id,customRequest:function(e){b({file:e.file},"coverPicture")},onRemove:function(){return h.setValue("coverPicture","")}}),!h.getValue("coverPicture")&&l.default.createElement("div",{className:"imgBox"},l.default.createElement(r.Icon,{type:"plus"}),l.default.createElement("div",null,"添加")),h.getValue("coverPicture")&&l.default.createElement("div",{className:"imgBox"},l.default.createElement("img",{src:h.getValue("coverPicture"),alt:"cover"}))),l.default.createElement("div",{className:"tips"},"建议尺寸520*416px,大小须在 2MB 以内。")))),l.default.createElement("div",{className:"footer"},l.default.createElement(r.Button,{type:"primary",onClick:function(){h.validate((function(t,o){console.log("values",o),t||(p(!0),void 0===s.id?ye.post("".concat(n.server,"/cem-material/v1/material/link/upload"),Object.assign(f(f({},o),{},{materialSource:n.source,materialConfigId:i,materialType:a}),{scope:o.scope?1:0})).then((function(t){200===t.data.code?(r.Message.success("保存成功"),p(!1),u("list"),e.onOk()):(r.Message.error(t.data.msg),p(!1))})):ye.put("".concat(n.server,"/cem-material/v1/material/").concat(s.id),f(f({id:s.id},o),{},{categoryId:o.categoryId,scope:o.scope?1:0})).then((function(e){200===e.data.code?(r.Message.success("更新成功"),u("list"),p(!1)):(r.Message.error(e.data.msg),p(!1))})).catch((function(){return p(!1)})))}))},disabled:d},d?"上传中...":"保存"),l.default.createElement(r.Button,{style:{marginLeft:16},onClick:function(){u("list")},className:"cancel"},"取消"))))})),WC.CUSTOM_PARAM_CODE,(function(e){var n,a=I(t.useState(!1),2),i=a[0],o=a[1],s=r.Field.useField(),u=s.init,c=s.getValue,d=s.setValue,p=AS.useAtomValue(v_),h=AS.useAtomValue(O_),m=AS.useSetAtom(L_),v=AS.useAtomValue(B_),g=AS.useAtomValue(y_),y=AS.useAtomValue(w_);return u("len",{initValue:0}),t.useEffect((function(){s.setValues(void 0===v.id?{categoryId:h}:Object.assign(f(f({},ZI(v)),{},{pageInfo:[{value:v.platAppName},{value:v.productionInstanceName},{value:v.productionInstancePage}]}),{scope:1===v.scope}))}),[]),l.default.createElement(r.Form,{labelCol:{span:3},layout:"horizontal",className:"paramCodeForm paramCodeHight",field:s},l.default.createElement(r.Form.Item,{label:"参数码名称"},l.default.createElement(r.Input,E({},u("materialName",{rules:[{required:!0,message:"参数码名称不能为空"},{len:20}]}),{maxLength:20,hasCounter:!0,className:"input",placeholder:"请输入参数码名称",style:{width:"328px"}}))),l.default.createElement(r.Form.Item,{label:"页面",description:"涉及用户隐私的非公开内容或可能打断用户完成当前操作体验的页面不推荐生成参数码",className:"paramCodeForm"},l.default.createElement(R_,E({},u("pageInfo",{rules:[{required:!0,message:"页面不能为空"}]}),{disabled:void 0!==v.id,onChange:function(e,t){return s.setValue("pageInfo",t)},width:"328px"}))),l.default.createElement(r.Form.Item,{label:"参数设置"},l.default.createElement($I,E({name:"param",field:s},u("list",{initValue:v.param?null===(n=v.param)||void 0===n?void 0:n.map((function(e,t){return"".concat(t)})):[],rules:[{required:!0,message:"至少添加一个参数"},{validator:function(e,t,n){n(t&&0!==(null==t?void 0:t.length)?"":"至少添加一个参数")}}]}),{disabled:void 0!==v.id}))),l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,E({},u("categoryId",{rules:[{required:!0,message:"分组不能为空"}]}),{width:"328px"}))),l.default.createElement(r.Form.Item,{label:"生成短链"},l.default.createElement(r.Toggle,E({},u("genShortLink",{onChange:function(e){d("genShortLink",e)}}),{size:"small",checked:c("genShortLink"),disabled:void 0!==v.id}))),(void 0===v.id||v.currentCreate)&&l.default.createElement(r.Form.Item,{label:"仅自己可见"},l.default.createElement(r.Toggle,E({},u("scope",{onChange:function(e){d("scope",e)}}),{size:"small",checked:c("scope")}))),l.default.createElement("div",{className:"footer"},l.default.createElement(r.Button,{type:"primary",onClick:function(){s.validate((function(e,t){if(!e){o(!0);var n=XI(t),a=n.param,i=n.materialName,l=I(n.pageInfo,3),s=l[0],u=l[1],c=l[2];void 0===v.id?ye.post("".concat(p.server,"/cem-material/v1/material/param/code/create"),{materialName:i,platThirdId:u.platThirdId,platAppId:s.value,platAppName:s.label,productionInstanceId:u.value,productionInstancePage:c.label,productionInstancePagePath:"pages/micro/one/index",productionInstancePageId:c.value,genShortLink:t.genShortLink,param:Object.keys(a).map((function(e){return a[e]})),categoryId:t.categoryId,materialSource:p.source,materialConfigId:y,materialType:g,scope:t.scope?1:0}).then((function(e){200===e.data.code?(r.Message.success("保存成功"),o(!1),m("list")):(r.Message.error(e.data.msg),o(!1))})):ye.put("".concat(p.server,"/cem-material/v1/material/").concat(v.id),{id:v.id,materialName:t.materialName,categoryId:t.categoryId,scope:t.scope?1:0}).then((function(e){200===e.data.code?(r.Message.success("更新成功"),m("list"),o(!1)):(r.Message.error(e.data.msg),o(!1))})).catch((function(){return o(!1)}))}}))},disabled:i},i?"上传中...":"保存"),l.default.createElement(r.Button,{style:{marginLeft:16},onClick:function(){m("list")},className:"cancel"},"取消")))}));function jWe(){var e,t=AS.useAtomValue(B_),n=AS.useAtomValue(y_),a=AS.useSetAtom(L_),i=null===(e=JC.find((function(e){return e.type===n})))||void 0===e?void 0:e.name,o=zWe[n];return l.default.createElement("div",{className:"createAssetContainer"},l.default.createElement("div",{className:"createBread"},l.default.createElement(r.BreadCrumbs,{list:[{key:n,title:i},{key:"create",title:void 0!==t.id?"编辑".concat(i):[WC.PICTURE,WC.AUDIO,WC.VIDEO,WC.TEXT].includes(n)?"上传".concat(i):"新建".concat(i)}],onClick:function(e){!function(e){e.key===n&&a("list")}(e)},size:"small"})),l.default.createElement("div",{className:"createForm"},l.default.createElement(o,null)))}function VWe(e){var t=e.item,n=e.onOk,a=e.onCancel;console.log(t,e.materialConfigId);var i=r.Field.useField(),o=AS.useAtomValue(v_),s=I(AS.useAtom(S_),2),u=s[0],c=s[1];return l.default.createElement(r.Modal,{visible:!0,title:"移动素材",modalStyle:{width:600,maxWidth:"none"},onOk:function(){i.validate((function(e,a){console.log(e,a),e||ye.put("".concat(o.server,"/cem-material/v1/material/category/move"),f({materialIds:t},a)).then((function(){var e=(u||[]).reduce((function(e,t){var n=t.materialType.toLowerCase();return e[n]?e[n].push(t.materialId):e[n]=[t.materialId],e}),{});ye.post("".concat(o.server,"/cem-material/v1/material/select/list/ids"),e).then((function(e){var t;c(null==e||null===(t=e.data)||void 0===t?void 0:t.data),r.Message.success("移动成功"),n()}))}))}))},onCancel:a,onClose:a},l.default.createElement(r.Form,{labelCol:{span:4},layout:"horizontal",field:i},l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,(0,i.init)("categoryId",{rules:[{required:!0,message:"分组不能为空"}]})))))}function UWe(e){var n=I(t.useState("materialName"),2),a=n[0],i=I(t.useState(""),2),o=i[0],s=i[1],u=I(AS.useAtom(N_),2),c=u[0],d=u[1],p=AS.useSetAtom(D_),h=[{label:"名称",value:"materialName",component:r.Input,props:{placeholder:"请输入名称"}},{label:"类型",value:"materialType",component:r.Select,props:{dataSource:JC,labelKey:"name",valueKey:"type"}},{label:"分组",value:"categoryId",component:j_,props:{width:250}}],m=function(e,t){d(f(f({},c),{},k({},e,t)))},v=(h.map((function(e){return{title:e.label,content:l.default.createElement(e.component,E({},e.props,{value:c[e.value],onChange:function(t,n){var a;m(e.value,"pageInfo"!==e.value?(null==t||null===(a=t.target)||void 0===a?void 0:a.value)||t:n)}})),labelWidth:80,contentWidth:250}})),function(e){"materialName"===a?(s(e.target.value),g(e.target.value,a)):(s(e),g(e,a))}),g=t.useCallback(vx((function(e,t){p(k({},t,e))}),500),[p]);if(0===h.length)return null;var y=e.filterSelectData.map((function(e){return e.id}))||[],b=(e.checkData||[]).filter((function(e){return y.includes(e.id)})).length,w=b>0&&b===y.length,C=b>0&&!w;return l.default.createElement("div",{className:"assetSelectSearchContainer"},l.default.createElement(r.Button,{type:"primary",className:"create",onClick:e.remove,disabled:!e.checkData||e.checkData.length<=0},"批量移除"),l.default.createElement("div",{className:"searchRight"},l.default.createElement(r.Tooltip,{content:"卡片视图",theme:"light",placement:"top"},l.default.createElement(yx,{type:"fenlei",className:"card"===e.showDataType?"active":"normal",onClick:function(){return e.setShowDataType("card")}})),l.default.createElement("div",{className:"solid-de"}),l.default.createElement(r.Tooltip,{content:"列表视图",theme:"light",placement:"top"},l.default.createElement(yx,{type:"liangduanduiqi",className:"table"===e.showDataType?"active":"normal",onClick:function(){return e.setShowDataType("table")}})),l.default.createElement(r.Checkbox,{checked:w,indeterminate:C,onChange:e.handleCheckAll,style:{margin:"0 0px 0 20px"}},"全选"),"materialName"===a&&l.default.createElement(r.Input,{placeholder:"请输入名称",value:o,className:"input",onChange:v,style:{marginLeft:"20px",width:"180px"},suffix:l.default.createElement(r.Icon,{style:{color:"rgba(0,0,0,0.25)"},type:"search"})}),"materialType"===a&&l.default.createElement(r.Select,{placeholder:"请输入名称",dataSource:JC,className:"input",labelKey:"name",valueKey:"type",onChange:v}),"categoryId"===a&&l.default.createElement(j_,{onChange:v,className:"input"})))}var HWe=function(e){return 10>e?"0".concat(e):e},qWe=function(e){var t=Math.floor(e/60),n=Math.floor(t/60),a=n>0?"".concat(HWe(n),":"):"";return"".concat(a).concat(HWe(t%60),":").concat(HWe(e%60))};function WWe(){var e=I(t.useState({visible:!1}),2),n=e[0],a=e[1],i=t.useRef(),o=(I(t.useState([]),2),I(t.useState([]),2)),s=o[0],u=o[1],c=I(t.useState("card"),2),d=c[0],p=c[1],h=(I(t.useState([]),2),AS.useAtomValue(v_).readonly),m=I(AS.useAtom(S_),2),v=m[0],g=m[1],y=AS.useAtomValue(T_),b=h?[{title:"素材名称",dataIndex:"materialName",ellipsis:!0,render:function(e,t){return l.default.createElement(Ix,{item:t,onClick:function(){return a(f(f({},t),{},{visible:!0}))}})}}].concat(N($C)):[{title:"素材名称",dataIndex:"materialName",ellipsis:!0,render:function(e,t){return l.default.createElement(Ix,{item:t,onClick:function(){return a(f(f({},t),{},{visible:!0}))}})}}].concat(N($C),[{dataIndex:"action",title:"操作",align:"center",fixed:"right",width:"80px",render:function(e,t){var n=t.id;return l.default.createElement(r.Button,{type:"link",size:"small",colorType:"danger",onClick:function(){r.Modal.confirm({title:"确定移除素材吗?",isShowIcon:!0,icon:"warn",body:"移除后将重新进行选择,请谨慎操作。",onOk:function(){g(v.filter((function(e){return e.id!==n}))),u(s.filter((function(e){return e.id!==n})))},onCancel:function(){}})}},"移除")}}]);return l.default.createElement(l.default.Fragment,null,l.default.createElement(UWe,{checkData:s,remove:function(){r.Modal.confirm({title:"确定移除所选素材吗?",isShowIcon:!0,icon:"warn",body:"移除全部后将重新进行选择,请谨慎操作。",onOk:function(){var e=s.map((function(e){return e.id}));g(v.filter((function(t){return!e.includes(t.id)}))),u([])},onCancel:function(){}})},handleCheckAll:function(e){if(e){var t=y.map((function(e){return e.id}))||[],n=s.filter((function(e){return!t.includes(e.id)})),a=[].concat(N(n),N(y));u(a)}else{var r=y.map((function(e){return e.id}))||[],i=s.filter((function(e){return!r.includes(e.id)}));u(i)}},filterSelectData:y,setShowDataType:p,showDataType:d}),l.default.createElement("div",{style:{width:"100%",flex:"1",padding:"20px 0",overflowY:"auto",overflowX:"hidden"}},"table"===d&&l.default.createElement(r.CTable,{key:y,ref:i,ajaxData:function(e){var t=function(e,t,n){var a=e.length,r=Math.ceil(a/t),i=Math.min(n,r);return{data:e.slice((i-1)*t,i*t),pageSize:t,pageNum:i,totalCount:a,totalPage:r}}(y,e.pageSize,e.pageNum),n=t.data,a=t.totalCount;return new Promise((function(e){setTimeout((function(){e({data:n,totals:a})}),100)}))},supportCheckbox:!0,checkedData:s,onCheckedAfter:function(e,t,n){if(n){var a=[].concat(N(s),[t]);u(a)}else u(s.filter((function(e){return e.id!==t.id})))},onCheckedAllAfter:function(e,t,n){if(n){var a=[].concat(N(s),N(e));u(a)}else{var r=t.map((function(e){return e.id}));u(s.filter((function(e){return!r.includes(e.id)})))}},columnData:b,useCustomScroll:!1,watchColumnData:!0,style:{height:"100%",width:"100%"}}),"card"===d&&l.default.createElement("div",{className:tt("cardMaterials","row-flex-wrap")},y.map((function(e){var t=s.some((function(t){return t.id===e.id}));return l.default.createElement("div",{key:e.id,className:tt("card",k({},"checked",t))},l.default.createElement("div",{className:tt("img"),onClick:function(n){if(!n.target.className.includes("loud-checkbox-inner"))if(t)u(s.filter((function(t){return t.id!==e.id})));else{var a=[].concat(N(s),[e]);u(a)}}},l.default.createElement("div",{className:tt("imgBox","row-flex-center jc-center")},"PICTURE"===e.materialType&&l.default.createElement("img",{src:e.materialUrl,alt:"picture"}),"AUDIO"===e.materialType&&l.default.createElement("img",{src:"https://brand-guide.shuyun.com/IAM/0b004d6b8c77.png",alt:"AUDIO",style:{width:"28px"}}),"VIDEO"===e.materialType&&l.default.createElement("video",{src:e.materialUrl}),"TEXT"===e.materialType&&l.default.createElement("img",{src:"https://brand-guide.shuyun.com/IAM/5efb0e6a0859.png",alt:"TEXT",style:{width:"28px"}}),("POI"===e.materialType||"LINK"===e.materialType)&&l.default.createElement("img",{src:e.coverPicture,alt:e.materialType}),"CUSTOM_PARAM_CODE"===e.materialType&&l.default.createElement("img",{src:e.paramCode,alt:"CUSTOM_PARAM_CODE"}),"MINI_PROGRAM"===e.materialType&&l.default.createElement("div",{className:tt("program")},l.default.createElement("div",{className:tt("title","row-flex-center")},l.default.createElement("img",{src:e.icon,style:{width:7,height:7,marginRight:4}}),e.materialName),l.default.createElement("div",{className:tt("desc","text-ellipsis")},e.linkContent),l.default.createElement("div",{className:tt("img","row-flex-center","jc-center")},l.default.createElement("img",{src:e.coverPicture})),l.default.createElement("div",{className:tt("footer","row-flex-center")},l.default.createElement(yx,{type:"xiaochengxu2",style:{color:"#496BF5",fontSize:7,marginRight:5}}),"小程序"))),l.default.createElement(r.Checkbox,{checked:t,className:"checkbox",onChange:function(t){if(t){var n=[].concat(N(s),[e]);u(n)}else u(s.filter((function(t){return t.id!==e.id})))}}),l.default.createElement("div",{className:"materialInfoAndPreview"},l.default.createElement("div",null,l.default.createElement("span",{className:"materialInfo"},"PICTURE"===e.materialType&&"".concat(e.materialWidth," x ").concat(e.materialHeight," | ").concat((e.materialSize/1024).toFixed(2),"MB"),("VIDEO"===e.materialType||"AUDIO"===e.materialType)&&"".concat(qWe(e.duration)," | ").concat((e.materialSize/1024).toFixed(2),"MB"),"TEXT"===e.materialType&&"".concat((e.materialSize/1024).toFixed(2),"MB"))),l.default.createElement("div",{className:"rightOperate"},l.default.createElement("span",{className:"materialPreview"},l.default.createElement(r.Tooltip,{content:"预览",theme:"light",placement:"bottom"},l.default.createElement(yx,{type:"quanping",onClick:function(){return a(f(f({},e),{},{visible:!0}))}})))))),l.default.createElement("div",{className:"info"},l.default.createElement("div",{className:"row-flex-center jc-space"},l.default.createElement(r.Tooltip,{content:e.materialName,theme:"light",placement:"top-left"},l.default.createElement("span",{className:tt("title","flex1 text-ellipsis")},e.materialName)))))}))),n.visible&&l.default.createElement(Cx,{item:n,onClose:function(){return a({visible:!1})}})))}function GWe(e){var t=AS.useAtomValue(y_),n=AS.useSetAtom(L_);return l.default.createElement("div",{className:"selectedAssetContainer"},l.default.createElement("div",{className:"selectedBread"},l.default.createElement(r.BreadCrumbs,{list:[{key:t,title:"素材中心"},{key:"selected",title:"已选素材"}],onClick:function(e){!function(e){e.key===t&&n("list")}(e)},size:"small"})),l.default.createElement("div",{className:"selectedTable"},l.default.createElement(WWe,null)),l.default.createElement("div",{className:"selectAssetFooter"},l.default.createElement(r.Button,{type:"primary",onClick:e.handleOk,style:{marginLeft:16}},"确定使用"),l.default.createElement(r.Button,{onClick:function(){n("list")},className:"cancel"},"返回素材中心")))}function KWe(e){var n,a=e.visible,i=e.onClose,o=e.onCancel,s=e.onOk,u=e.selectValidator,c=I(AS.useAtom(v_),2),d=c[0],f=c[1],p=(AS.useAtomValue(g_),I(AS.useAtom(y_),2)),h=p[0],m=p[1],v=(AS.useAtomValue(x_),I(AS.useAtom(L_),2)),g=v[0],y=v[1],b=AS.useAtomValue(I_),w=I(AS.useAtom(S_),2),k=w[0],E=w[1],C=I(AS.useAtom(P_),2),S=C[1],_=AS.useAtomValue(w_),x=AS.useSetAtom(E_),A=AS.useSetAtom(N_),N=AS.useSetAtom(D_),D=function(){var e=u(k);if(e)r.Message.error(e);else{var t=(k||[]).reduce((function(e,t){return e[t.materialConfigId]?e[t.materialConfigId].materialIds.push(t.materialId):e[t.materialConfigId]={materialIds:[t.materialId],materialConfigId:t.materialConfigId},e}),{});ye.post("".concat(d.server,"/cem-material/v1/material/batchOp"),{list:Object.values(t),opType:2}).then((function(e){m(""),y("list"),x([]),A(QC),N(QC),E([]),s(k)}))}},T=function(){m(""),y("list"),x([]),E([]),A(QC),N(QC),o()};t.useEffect((function(){f({readonly:e.readonly,multiple:e.multiple,limit:e.limit,tabLists:e.tabLists,pictureSearchConditions:e.pictureSearchConditions,pictureColumn:e.pictureColumn,videoSearchConditions:e.videoSearchConditions,videoColumn:e.videoColumn,textSearchConditions:e.textSearchConditions,textColumn:e.textColumn,linkSearchConditions:e.linkSearchConditions,linkColumn:e.linkColumn,audioSearchConditions:e.audioSearchConditions,audioColum:e.audioColum,poiSearchConditions:e.poiSearchConditions,poiColumn:e.poiColumn,miniProgramSearchConditions:e.miniProgramSearchConditions,miniProgramColumn:e.miniProgramColumn,customParamCodeSearchConditions:e.customParamCodeSearchConditions,customParamCodeColumn:e.customParamCodeColumn,currentMenu:e.currentMenu,server:e.server,selectedMaterials:e.selectedMaterials,source:e.source,handleDisabledData:e.handleDisabledData,tooltipConfigs:e.tooltipConfigs,showType:e.showType,noLimit:e.noLimit})}),[e]),t.useEffect((function(){"hasData"===b.state&&E(b.data||[])}),[b]);var O=null===(n=JC.find((function(e){return e.type===h})))||void 0===n?void 0:n.name;return l.default.createElement(r.Modal,{className:"assetModal",hasFooter:"list"===g,title:l.default.createElement("div",{style:{display:"flex",alignItems:"center",gap:16}},l.default.createElement("p",null,1===e.tabLists.length?"".concat(O,"素材"):"素材中心")),clickMaskCanClose:!1,visible:a,modalStyle:{width:"870px",maxWidth:"none"},bodyStyle:{height:"600px",maxHeight:"initial",padding:0,display:"flex"},footer:l.default.createElement("div",{className:"assetModalFooter"},l.default.createElement("div",{className:"footerLeft"}),l.default.createElement("div",{className:"footerRight"},l.default.createElement("div",{className:"footerOperate"},k&&k.length>0&&l.default.createElement(l.default.Fragment,null,l.default.createElement("span",{className:"select"},"已选",l.default.createElement("span",{className:"count",onClick:function(){y("select")}},k.length),!d.noLimit&&l.default.createElement(l.default.Fragment,null,l.default.createElement("span",{style:{cursor:"pointer"},onClick:function(){y("select")}},"/ ","".concat(d.limit)),l.default.createElement("span",null,"个"))),l.default.createElement(r.Button,{size:"small",onClick:function(){r.Modal.createModal(VWe).open({item:k.map((function(e){return e.id})),materialConfigId:_}).then((function(e){S(!0)}))}},l.default.createElement("span",null,l.default.createElement(yx,{type:"a-31",style:{marginRight:"8px"}}),"移动")),l.default.createElement(r.Button,{type:"normal",icon:"delete",size:"small",colorType:"danger",style:{marginLeft:16},onClick:function(){!function(){if(0!==k.length){var e=k.map((function(e){return e.id}));r.Modal.confirm({title:"确定删除所选素材吗?",isShowIcon:!0,icon:"warn",body:"删除后将无法恢复,若素材已经被内容作品使用,该素材将无法使用。",onOk:function(){ye.delete("".concat(d.server,"/cem-material/v1/material/batchDelete"),{data:e}).then((function(){r.Message.success("删除成功"),E([]),S(!0)}))},onCancel:function(){}})}else r.Message.warning("请选择素材")}()}},"删除"))),l.default.createElement("div",{className:"footerConfirm"},l.default.createElement(r.Button,{onClick:T,className:"cancel"},"取消"),l.default.createElement(r.Button,{type:"primary",onClick:D,style:{marginLeft:16}},"确定")))),onClose:function(){m(""),y("list"),x([]),E([]),A(QC),N(QC),i()}},l.default.createElement("div",{className:"assetModalWarp"},"hasData"===b.state&&l.default.createElement(Hx,null),"create"===g&&l.default.createElement(jWe,null),"hasData"===b.state&&"select"===g&&l.default.createElement(GWe,{handleOk:D}),"loading"===b.state&&l.default.createElement(r.Loading,{loading:"loading"===b.state})))}KWe.propTypes={readonly:et.bool,multiple:et.bool,limit:et.number,tabLists:et.array,pictureSearchConditions:et.array,pictureColumn:et.array,videoSearchConditions:et.array,videoColumn:et.array,textSearchConditions:et.array,textColumn:et.array,linkSearchConditions:et.array,linkColumn:et.array,audioSearchConditions:et.array,audioColum:et.array,poiSearchConditions:et.array,poiColumn:et.array,miniProgramSearchConditions:et.array,miniProgramColumn:et.array,customParamCodeSearchConditions:et.array,customParamCodeColumn:et.array,onClose:et.func,onCancel:et.func,visible:et.bool,currentMenu:et.string,server:et.string,selectedMaterials:et.array,selectValidator:et.func,handleDisabledData:et.func,tooltipConfigs:et.array,showType:et.string,noLimit:et.bool},KWe.defaultProps={readonly:!1,multiple:!1,limit:1,tabLists:XC,visible:!1,pictureColumn:["materialName","materialSize","uploadType","categoryName","createTime","operate"],textColumn:["materialName","materialSize","addType","materialSize","createTime","uploadType","categoryName","operate"],linkColumn:["materialName","linkUrl","createTime","operate"],videoColumn:["materialName","materialSize","uploadType","categoryName","createTime","operate"],audioColum:["materialName","materialSize","uploadType","categoryName","createTime","operate"],poiColumn:["materialName","positionInfo","enabled","createTime","operate"],miniProgramColumn:["materialName","applicationId","createTime","operate"],customParamCodeColumn:["materialName","productionInstancePage","productionInstancePagePath","createTime","operate"],currentMenu:"",server:"https://qa-ual.shuyun.com",source:"CEM",pictureSearchConditions:["materialName","uploadType","createTime","categoryId","materialSize"],videoSearchConditions:["materialName","uploadType","createTime","categoryId","materialSize"],textSearchConditions:["materialName","uploadType","createTime","categoryId","materialSize","addType"],linkSearchConditions:["materialName","createTime","categoryId"],audioSearchConditions:["materialName","uploadType","createTime","categoryId","materialSize"],poiSearchConditions:["materialName","positionInfo","enabled","createTime","categoryId"],miniProgramSearchConditions:["materialName","applicationId","createTime","categoryId"],customParamCodeSearchConditions:["materialName","pageInfo","createTime","categoryIdw"],selectedMaterials:[],noLimit:!1,showType:"list",selectValidator:function(){},handleDisabledData:function(){return[]},tooltipConfigs:[{tooltipMsg:"当前条目不可选",tooltipRowCls:"newCloud-table-row-disabled"}]};var YWe=["type","container","onCancel","onClose","onOk"],QWe=Se(),JWe={GOOD_SELECTOR:yr,GOODS_SELECTOR_PRO:yr,GOODS_SELECTOR_PRO_NEW:Yh,SHOP_SELECTOR:fo,SHOP_SELECTOR_NEW:Au,AREA_SELECTOR:Tr,AREA_SELECTOR_NEW:Jr,BLACK_SELECTOR:li,BLACK_SELECTOR_NEW:vi,CUSTOMER_VIEW:wl,DY_SMS_EDITOR:qC,SHOP_SELECTOR_PRO:rc,ENTERPRISE_CHAT_CHANNEL:zE,WELCOMES_PREVIEW:Xo,SUPER_SMS_SELECTOR:sl,CUSTOMER_VIEW_NEW:Hu,ASSET_SELECTOR:KWe};function XWe(e){var n=e.type,a=e.container,r=e.onCancel,i=e.onClose,o=e.onOk,u=x(e,YWe);function c(){setTimeout((function(){s.default.unmountComponentAtNode(a),QWe.body.removeChild(a)}),"CUSTOMER_VIEW_NEW"===n?500:0)}function d(){var e=document.querySelectorAll(".r-w_s-");null==e||e.forEach((function(e){document.body.removeChild(e)}));var t=document.querySelectorAll(".cloud-drawer1");null==t||t.forEach((function(e){(null==e?void 0:e.parentElement)&&document.body.removeChild(null==e?void 0:e.parentElement)}));var n=document.querySelectorAll(".newCloud-drawer1");null==n||n.forEach((function(e){(null==e?void 0:e.parentElement)&&document.body.removeChild(null==e?void 0:e.parentElement)}))}return t.useEffect((function(){return window.addEventListener("hashchange",(function(){d()})),function(){return window.removeEventListener("hashchange",d)}}),[]),l.default.createElement(JWe[n],E({visible:!0,onOk:function(e){o(e),c()},onCancel:function(){r("cancel"),c()},onClose:function(){i("close"),c()}},u))}function ZWe(e){var t="cloud-business-".concat(e.type),n=QWe.getElementById(t);return n||((n=QWe.createElement("div")).id=t,QWe.body.appendChild(n)),new Promise((function(t,a){s.default.render(l.default.createElement(XWe,E({},e,{container:n,onOk:t,onCancel:a,onClose:a})),n)}))}var $We="".concat(Ce,"-menu-shop-selector"),eGe="".concat($We,"-pane");function tGe(e,t,n){if(!t)return{checkedPlat:{},checkedShop:{}};var a=e.find((function(e){return e.key===t}))||e[0];if(!Array.isArray(a.children))return{checkedPlat:a,checkedShop:{}};var r=a.children.find((function(e){return n===e.key}))||a.children[0];return{checkedPlat:a,checkedShop:r}}var nGe=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).toggleSelector=function(e){n.preventClick(e),n.setState({isExpand:!n.state.isExpand}),n.props.onToggle()},n.collapseSelector=function(){n.state.isExpand&&(n.setState({isExpand:!1}),n.props.onToggle())},n.changeShop=function(e,t){return function(){n.setState({checkedShop:e,checkedPlat:t,isExpand:!1}),e.key!==n.state.checkedShop.key&&n.props.onShopChange(e,t)}},n.handleSearch=function(){n.props.onShopSearch(n.inputRef.current.inputRef.current.value)},n.preventClick=function(e){e.nativeEvent.stopImmediatePropagation()};var a=e.isExpand,r=tGe(e.source,e.checkedPlatKey,e.checkedShopKey);return n.state={isExpand:a,checkedPlat:r.checkedPlat,checkedShop:r.checkedShop,prevProps:e},n.inputRef=l.default.createRef(),n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.collapseSelector)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.collapseSelector)}},{key:"renderMenuSelector",value:function(){var e=this.state.isExpand,t=tt(eGe,{expand:e,collapse:!e});return l.default.createElement("div",{className:t,onClick:this.preventClick},l.default.createElement(a.Input,{hasClear:!0,className:"shop-search",placeholder:this.props.searchPlaceholder,ref:this.inputRef,suffix:l.default.createElement(a.Icon,{type:"search",onClick:this.handleSearch}),onEnter:this.handleSearch}),this.renderSelectorPane())}},{key:"renderSelectorPane",value:function(){var e=this;return this.props.source.map((function(t){return l.default.createElement("ul",{key:t.key},l.default.createElement("li",{className:"shop-plat"},t.title),t.children.map((function(n){var r=e.state.checkedShop.key===n.key,i=tt("shop-item",{checked:r});return l.default.createElement("li",{className:i,onClick:e.changeShop(n,t),key:n.key,role:"presentation"},l.default.createElement("span",{className:"shop-title"},n.title),r&&l.default.createElement(a.Icon,{className:"checked-flag",type:"check-circle-solid"}))})))}))}},{key:"renderMenuShop",value:function(){var e=this.props.replaceSelectPlat,t=this.state,n=t.checkedPlat,r=t.checkedShop;return l.default.createElement("div",{className:$We,onClick:this.toggleSelector},l.default.createElement("section",{className:"shop-logo-wrapper"},r.icon?l.default.createElement("img",{src:r.icon,alt:r.title,className:"shop-img-logo"}):l.default.createElement(a.Icon,{type:"shop",className:"shop-logo"})),l.default.createElement("p",{className:"shop-title-wrapper"},l.default.createElement("span",{className:"shop-plat"},e||n.title),l.default.createElement("span",{className:"shop-split"},"|"),l.default.createElement("span",{className:"shop-name"},r.title)))}},{key:"render",value:function(){return l.default.createElement(l.default.Fragment,null,this.renderMenuShop(),this.renderMenuSelector())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps;if(e.checkedPlatKey!==n.checkedPlatKey||e.checkedShopKey!==n.checkedShopKey||e.isExpand!==n.isExpand){var a=tGe(e.source,e.checkedPlatKey,e.checkedShopKey);return{isExpand:e.isExpand,checkedPlat:a.checkedPlat,checkedShop:a.checkedShop,prevProps:e}}return null}}]),t}(t.Component);nGe.propTypes={source:et.arrayOf(et.shape({title:et.node,key:et.string,children:et.array})),checkedShopKey:et.oneOfType([et.string,et.number]),checkedPlatKey:et.oneOfType([et.string,et.number]),isExpand:et.bool,searchPlaceholder:et.string,replaceSelectPlat:et.node,onShopSearch:et.func,onShopChange:et.func,onToggle:et.func},nGe.defaultProps={source:[],checkedPlatKey:null,checkedShopKey:null,searchPlaceholder:"输入关键字",isExpand:!1,replaceSelectPlat:null,onShopSearch:Ee,onShopChange:Ee,onToggle:Ee};var aGe="".concat(Ce,"-cc-menu");function rGe(e){var t="",n=e.split("/").reduce((function(e,n){return n?(t="".concat(t,"/").concat(n),[].concat(N(e),[t])):e}),[]);return n.slice(0,-1)}function iGe(){return window.location.hash.replace(/^#|(\?.*)/g,"")}function oGe(e,t,n){if(!Array.isArray(e)||!e.length)return{checkedPlatKey:null,checkedShopKey:null};var a=e[0];return{checkedPlatKey:t||a.key,checkedShopKey:n||(Array.isArray(a.children)&&a.children.length?a.children[0]:{}).key}}var lGe=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).hashchangeFN=function(){var e=iGe(),t=rGe(e);n.setState({selectedKeys:[].concat(N(t),[e]),openKeys:t})},n.handleShopSearch=function(e){var t=n.props.shopSource.reduce((function(t,n){var a=n.children,r=a.filter((function(t){return t.title.includes(e)}));return Array.isArray(a)&&0!==a.length&&0!==r.length?[].concat(N(t),[f(f({},n),{},{children:r})]):t}),[]);n.setState({shopSource:t},(function(){n.props.onShopSearch(e,t)}))},n.handleToggle=function(){n.setState({shopSource:n.props.shopSource})},n.toggleSidebar=function(){n.setState({menuCollapsed:!n.state.menuCollapsed})},n.toggleSelector=function(e){e.nativeEvent.stopImmediatePropagation(),n.setState({selectorExpanded:!n.state.selectorExpanded})};var a=iGe(),r=rGe(a),i=[].concat(N(r),[a]),o=n.props.shopSource,l=oGe(o,e.checkedPlatKey,e.checkedShopKey);return n.state={shopSource:o,openKeys:r,selectedKeys:i,menuCollapsed:!1,selectorExpanded:!1,checkedPlatKey:l.checkedPlatKey,checkedShopKey:l.checkedShopKey,prevProps:e},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){window.addEventListener("hashchange",this.hashchangeFN)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("hashchange",this.hashchangeFN)}},{key:"renderHeader",value:function(){var e=this.state,t=e.checkedPlatKey,n=e.checkedShopKey,r=e.shopSource,i=e.selectorExpanded,o=this.props,s=o.onShopChange,u=o.searchPlaceholder,c=o.topPlaceholder,d=o.replaceSelectPlat;return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"".concat(aGe,"-toggle"),onClick:this.toggleSidebar},l.default.createElement(a.Icon,{type:"left-solid",className:"toggle-icon"})),l.default.createElement("div",{className:"".concat(aGe,"-top-placeholder")},c),r&&l.default.createElement(nGe,{isExpand:i,replaceSelectPlat:d,checkedPlatKey:t,checkedShopKey:n,source:r,searchPlaceholder:u,onShopSearch:this.handleShopSearch,onShopChange:s,onToggle:this.handleToggle}))}},{key:"renderCollpasedBar",value:function(){var e=this.props.shopSource;return l.default.createElement("div",{className:"menu-collapsed-bar"},l.default.createElement("div",{className:"collapsed-icon-wrapper",onClick:this.toggleSidebar},l.default.createElement(a.Icon,{type:"right-solid",className:"collapsed-icon"})),e&&l.default.createElement("div",{className:"collapsed-logo-wrapper",onClick:this.toggleSelector},l.default.createElement(a.Icon,{type:"shop",className:"collapsed-logo"})))}},{key:"render",value:function(){var e=this.state,t=e.openKeys,n=e.selectedKeys,r=e.menuCollapsed,i=this.props,o=i.onMenuItemClick,s=i.onSubMenuToggle,u=i.menuSource,c=i.style,d=tt(aGe,i.className,{collapsed:r});return l.default.createElement("div",{className:d,style:f(f({},c),{},{width:r?30:180})},l.default.createElement(a.Menu,{type:"link",header:this.renderHeader(),source:u,openKeys:t,selectedKeys:n,onSubMenuToggle:s,onItemClick:o}),r&&this.renderCollpasedBar())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps;if(e.checkedPlatKey!==n.checkedPlatKey||e.checkedShopKey!==n.checkedShopKey||!bt.equal(e.shopSource,n.shopSource)){var a=e.shopSource,r=oGe(a,e.checkedPlatKey,e.checkedShopKey);return{checkedPlatKey:r.checkedPlatKey,checkedShopKey:r.checkedShopKey,shopSource:a,prevProps:e}}return null}}]),t}(t.PureComponent);lGe.propTypes={style:et.object,className:et.string,shopSource:et.arrayOf(et.shape({title:et.node,key:et.string,children:et.array})),menuSource:et.arrayOf(et.shape({title:et.node,key:et.string,children:et.array})),checkedPlatKey:et.oneOfType([et.string,et.number]),replaceSelectPlat:et.node,checkedShopKey:et.oneOfType([et.string,et.number]),topPlaceholder:et.node,searchPlaceholder:et.string,onMenuItemClick:et.func,onSubMenuToggle:et.func,onShopChange:et.func,onShopSearch:et.func},lGe.defaultProps={style:{},className:"",shopSource:null,menuSource:[],topPlaceholder:null,searchPlaceholder:"请输入关键字",checkedPlatKey:null,checkedShopKey:null,replaceSelectPlat:null,onMenuItemClick:Ee,onSubMenuToggle:Ee,onShopSearch:Ee,onShopChange:Ee},"undefined"==typeof window&&console.warn("cloud-business 仅支持在浏览器环境进行使用!"),"undefined"==typeof window&&console.warn("cloud-business@0.1.120-7 仅支持在浏览器环境进行使用!");for(var sGe=document.getElementsByTagName("body")[0],uGe=0;7>uGe;uGe+=1){var cGe=window.localStorage.getItem("--shuyunBlue".concat(uGe+1));cGe&&sGe.style.setProperty("--shuyunBlue".concat(uGe+1),cGe)}e.AreaSelector=Tr,e.AreaSelectorNew=Jr,e.AssetSelector=KWe,e.BlackList=li,e.BlackListNew=vi,e.CcMenu=lGe,e.CustomerView=wl,e.CustomerViewNew=Hu,e.DySms=qC,e.Editor=cC,e.EnterpriseChatChannel=zE,e.GoodsSelectorPro=yr,e.GoodsSelectorProNew=Yh,e.Keyword=vC,e.SatisfactionSurvey=pr,e.ShopSelector=fo,e.ShopSelectorNew=Au,e.ShopSelectorPro=rc,e.SmsEditor=kC,e.SuperSmsSelector=sl,e.WelcomesPreview=Xo,e.default=ZWe,e.version="0.1.120-7",Object.defineProperty(e,"__esModule",{value:!0})}));
211
+ var NWe=function(){return NWe=Object.assign||function(e){for(var t,n=1,a=arguments.length;a>n;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},NWe.apply(this,arguments)};function DWe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,r,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(a=i.next()).done;)o.push(a.value)}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o}function TWe(e){var n=e.defaultContent,a=void 0===n?[]:n,r=e.onCreated,i=e.defaultHtml,o=void 0===i?"":i,s=e.value,u=void 0===s?"":s,c=e.onChange,d=e.defaultConfig,f=void 0===d?{}:d,p=e.mode,h=void 0===p?"default":p,m=e.style,v=void 0===m?{}:m,g=t.useRef(null),y=DWe(t.useState(null),2),b=y[0],w=y[1],k=DWe(t.useState(""),2),E=k[0],C=k[1],S=function(e){r&&r(e);var t=f.onCreated;t&&t(e)},_=function(e){C(e.getHtml()),c&&c(e);var t=f.onChange;t&&t(e)},x=function(e){var t=f.onDestroyed;w(null),t&&t(e)};return t.useEffect((function(){null!=b&&u!==E&&b.setHtml(u)}),[u]),t.useEffect((function(){var e;if(null!=g.current&&null==b&&!(null===(e=g.current)||void 0===e?void 0:e.getAttribute("data-w-e-textarea"))){var t=function(e){void 0===e&&(e={});var t=e.selector,n=void 0===t?"":t,a=e.content,r=void 0===a?[]:a,i=e.html,o=e.config,l=void 0===o?{}:o,s=e.mode,u="simple"===(void 0===s?"default":s)?EWe.simpleEditorConfig:EWe.editorConfig,c=kWe(kWe({},u.hoverbarKeys||{}),l.hoverbarKeys||{});return lee({selector:n,config:kWe(kWe(kWe({},u),l),{hoverbarKeys:c}),content:r,html:i,plugins:EWe.plugins})}({selector:g.current,config:NWe(NWe({},f),{onCreated:S,onChange:_,onDestroyed:x}),content:a,html:o||u,mode:h});w(t)}}),[b]),l.default.createElement("div",{style:v,ref:g})}function OWe(e){var n=e.editor,a=e.defaultConfig,r=void 0===a?{}:a,i=e.mode,o=void 0===i?"default":i,s=e.style,u=void 0===s?{}:s,c=t.useRef(null);return t.useEffect((function(){null!=c.current&&null!=n&&function(e){var t=e.selector,n=e.editor,a=e.config,r=void 0===a?{}:a,i=e.mode,o=void 0===i?"default":i;if(!t)throw Error("Cannot find 'selector' when create toolbar");var l=function(e,t){if(null==e)throw Error("Cannot create toolbar, because editor is null");var n=t.selector,a=t.config,r=void 0===a?{}:a;if(function(e,t){return iee(e,"data-w-e-toolbar",t)}(e,n))throw Error("Repeated create toolbar by selector '"+n+"'");var i=B4({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},r||{}),o=new fee(n,i);return j6.set(o,e),V6.set(e,o),o}(n,{selector:t,config:kWe(kWe({},"simple"===o?EWe.simpleToolbarConfig:EWe.toolbarConfig),r)})}({editor:n,selector:c.current,config:r,mode:o})}),[n]),l.default.createElement("div",{style:u,ref:c})}var MWe=function(e,n){var a=e.value,r=e.onChange,i=e.autoFocus,o=void 0!==i&&i,s=e.disabled,u=void 0!==s&&s,c=e.toolbar,d=void 0===c||c,f=e.disableToolbarKeys,p=void 0===f?[]:f,h=e.width,v=void 0===h?700:h,g=e.minWidth,y=e.height,b=e.minHeight,w=void 0===b?200:b,k=t.useRef({}).current,E=I(t.useState(null),2),C=E[0],S=E[1],_=I(t.useState(),2),x=_[0],A=_[1];t.useImperativeHandle(n,(function(){return C}));var N=t.useMemo((function(){return{toolbarKeys:["bold","underline","italic","through","color","fontSize","divider","emotion","insertLink","indent","delIndent","bulletedList","numberedList","insertTable","redo","undo","fullScreen"].filter((function(e){return!p.find((function(t){return"string"==typeof e?e===t:"object"===m(e)?(null==e?void 0:e.key)===t:null}))}))}}),[p]),D=t.useCallback((function(e){var t=e.getHtml();if(r){var n=e.getText();if(n)r(e.getHtml(),n);else{if(!k.value)return;r()}}else A(e.getHtml());k.value=t}),[k,r]),T=t.useMemo((function(){return{placeholder:"请输入内容...",autoFocus:o,readOnly:u,onChange:D,MENU_CONF:{}}}),[o,u,D]);return t.useEffect((function(){return function(){C&&(C.destroy(),S(null))}}),[C]),t.useEffect((function(){A(a)}),[a]),l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"assetEditorWangWrapper",style:{width:v||g||"auto",lineHeight:"20px"}},u||!d?null:l.default.createElement(OWe,{mode:"default",editor:C,defaultConfig:N,style:{borderBottom:"1px solid #E8E8E8"}}),l.default.createElement(TWe,{mode:"default",defaultConfig:T,value:x,onCreated:S,style:{height:y||w,overflow:"hidden",lineHeight:"20px"}})))},FWe=t.forwardRef(MWe),LWe=["files"],PWe={PICTURE:{label:"点击上传或拖拽图片到这里",accept:"image/png,image/jpg,image/jpeg,image/bmp,image/gif",max:2,tips:"支持 png、jpg、jpeg、bmp、gif 格式,大小须在 2MB 以内。"},VIDEO:{label:"点击上传或拖拽视频到这里",accept:"video/mp4",max:60,tips:"支持 mp4 格式,大小须在 60MB 以内,建议视频时长须在 5min 以内。"},AUDIO:{label:"点击上传或拖拽音频到这里",accept:"audio/mp3,audio/mpeg,audio/wma,audio/wav,audio/am",max:20,tips:"支持 mp3、wma、wav、amr 格式,大小须在 20MB 以内。"},TEXT:{label:"点击上传或拖拽文档到这里",accept:".txt,.csv",max:10,tips:"支持txt 格式,大小须在 10MB 以内。"}};var BWe={PICTURE:function(e){var n=e.item,a=I(t.useState([]),2),r=a[0];t.useEffect((function(){}),[]);var i,o=n.materialUrl||n.coverPicture;return"MINI_PROGRAM"===n.materialType&&(o=null===(i=r.find((function(e){return e.value===n.applicationId})))||void 0===i?void 0:i.headImg),l.default.createElement("img",{src:o})},VIDEO:function(e){var t=e.item;return l.default.createElement("video",{controls:"controls",preload:!0,style:{width:"100%"},onClick:function(e){e.stopPropagation()}},l.default.createElement("source",{src:t.materialUrl,type:"video/mp4"}),l.default.createElement("source",{src:t.materialUrl,type:"video/ogg"}),l.default.createElement("source",{src:t.materialUrl,type:"video/webm"}))},AUDIO:function(e){var t=e.item;return l.default.createElement("div",{className:tt("audio","row-flex-center","jc-center")},l.default.createElement("img",{src:"https://brand-guide.shuyun.com/IAM/0b004d6b8c77.png",style:{width:"100%"}}),l.default.createElement("audio",{controls:"controls",autoPlay:!0,onClick:function(e){e.stopPropagation()}},l.default.createElement("source",{src:t.materialUrl,type:"audio/ogg"}),l.default.createElement("source",{src:t.materialUrl,type:"audio/mpeg"}),l.default.createElement("embed",{src:t.materialUrl})))},TEXT:function(e){var n=e.item,a=AS.useAtomValue(v_),r=I(t.useState(""),2),i=r[0],o=r[1];return t.useEffect((function(){"WRITE"===n.addType?ye.get("".concat(a.server,"/cem-material/v1/material/").concat(n.id)).then((function(e){var t,n;o((null==e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.materialContent)||"")})):function(){var e=new XMLHttpRequest;e.onreadystatechange=function(){4===e.readyState&&o(e.responseText)},e.open("GET",n.materialUrl,!0),e.send()}()}),[]),l.default.createElement("div",{className:tt("textContainer","column-flex")},l.default.createElement("h2",null,n.materialName),"WRITE"===n.addType&&l.default.createElement("div",{className:tt("content","flex1"),dangerouslySetInnerHTML:{__html:i}}),"WRITE"!==n.addType&&l.default.createElement("pre",{className:tt("content","flex1"),style:{whiteSpace:"pre-wrap"}},i))}};function RWe(e){var n=I(t.useState(!1),2),a=n[0],i=n[1],o=AS.useAtomValue(v_),s=AS.useAtomValue(w_),u=AS.useAtomValue(O_),c=AS.useAtomValue(y_),d=AS.useAtomValue(B_),p=AS.useSetAtom(L_),h=r.Field.useField(),m=PWe[c]||{},v=m.label,g=m.max,y=m.accept,b=m.tips,w=I(t.useState(""),2),C=w[0],S=w[1],_=h.getValue("addType"),A=BWe[null==d?void 0:d.materialType]||BWe[c]||l.default.createElement("div",null),N=y.split(",").reduce((function(e,t){var n=t.split("/")[0],a=t.split("/")[1];return n&&a&&e["".concat(n,"/").concat(a)]?e["".concat(n,"/").concat(a)].push(".".concat(a)):n&&a?e["".concat(n,"/").concat(a)]=[".".concat(a)]:e["".concat(n)]=["".concat(n)],e}),{}),D={size:g,unit:"M",labelText:v,accept:y},T=OT({noClick:!0,accept:N,onDrop:function(e){if(console.log(123,e),0!==e.length){var t,n=D.unit,a=D.size;"M"!==n&&"MB"!==n||(t=e[0].size/1024/1024>a),"KB"===n&&(t=e[0].size/1024>a),t?r.Message.error("文件过大,最大支持 ".concat(a," ").concat(n," 的文件上传!")):O({file:e[0]})}else h.setValues({files:void 0})}}).getRootProps;t.useEffect((function(){void 0!==d.id?(h.setValues(Object.assign(f({},d),{scope:1===d.scope})),"TEXT"===c&&"WRITE"===d.addType&&ye.get("".concat(o.server,"/cem-material/v1/material/").concat(d.id)).then((function(e){var t,n;h.setValue("materialContent",(null==e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.materialContent)||"")}))):h.setValues({uploadType:"FOREVER",addType:"UPLOAD",categoryId:u})}),[]);var O=function(e){var t=e.file,n=t.name;if(n.includes("%"))r.Message.error("文件名不能包含特殊字符");else{var a=window.URL.createObjectURL(t);S(a);var i=h.getValue("materialName");h.setValues(i?{files:[t]}:{files:[t],materialName:n.split(".").slice(0,-1).join(".")})}},M=function(e){return ye.post("".concat(o.server,"/cem-material/v1/material/text/create"),e)},F=function(e){var t=e.files,n=x(e,LWe),a=new window.FormData;return a.append("files",t[0]),a.append("param",new Blob([JSON.stringify(n)],{type:"application/json"})),ye.post("".concat(o.server,"/cem-material/v1/material/file/upload"),a)},L=h.init,P=h.getValue,B=h.setValue;return l.default.createElement(r.Form,{labelCol:{span:4},layout:"horizontal",className:"assetCommonForm",field:h},"TEXT"===c&&l.default.createElement(r.Form.Item,{label:"添加方式"},l.default.createElement(r.Radio.Group,E({disabled:d.id},L("addType",{rules:[{required:!0,message:"添加方式不能为空"}]})),l.default.createElement(r.Radio,{value:"UPLOAD"},"本地上传"),l.default.createElement(r.Radio,{value:"WRITE"},"在线编辑"))),l.default.createElement("div",{className:"createItem"},"UPLOAD"===_&&void 0===d.id&&l.default.createElement("div",{className:"createUploadContainer"},l.default.createElement(r.Form.Item,{label:""},l.default.createElement("div",E({},L("files",{rules:[{required:!0,message:"资源不能为空"},{len:10}]}),{onChange:function(){}},void 0===d.id?f({},T()):{}),l.default.createElement(r.Upload,E({},D,{customRequest:O,onRemove:function(){return h.setValue("files",[])},disabled:void 0!==d.id}),void 0===d.id&&!Array.isArray(h.getValue("files")||Array.isArray(h.getValue("files")&&0===h.getValue("files").length))&&l.default.createElement("div",{className:"createUpload"},l.default.createElement(r.Icon,{type:"plus",className:"createIcon"}),l.default.createElement("div",{className:"createUploadLabel"},v),b&&l.default.createElement("div",{className:"tips"},b.replace("\\n"," \n "))),void 0===d.id&&Array.isArray(h.getValue("files"))&&h.getValue("files").length>0&&C&&l.default.createElement("div",{className:tt("createUpload",k({},"textContent","TEXT"===c))},l.default.createElement(A,{item:{materialName:h.getValue("materialName"),materialUrl:C}})))))),"UPLOAD"===_&&void 0!==d.id&&l.default.createElement("div",{className:"createUploadContainer"},l.default.createElement(r.Upload,E({},D,{customRequest:O,onRemove:function(){return h.setValue("files",[])},disabled:void 0!==d.id}),void 0!==d.id&&l.default.createElement("div",{className:"createUpload"},l.default.createElement(A,{item:d})))),l.default.createElement("div",{className:"createOther"},"WRITE"===_&&l.default.createElement(r.Form.Item,{label:"内容"},l.default.createElement(FWe,E({},L("materialContent",{rules:[{required:!0,message:"资源不能为空"},{len:1e4}]}),{disableToolbarKeys:["through","fontSize","divider","indent","delIndent","insertTable"],width:"auto",height:200}))),l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,E({},L("categoryId",{rules:[{required:!0,message:"分组不能为空"}]}),{width:"328px"}))),l.default.createElement(r.Form.Item,{label:"名称"},l.default.createElement(r.Input,E({},L("materialName",{rules:[{required:!0,message:"名称不能为空"},{len:20}]}),{maxLength:20,hasCounter:!0,className:"input",placeholder:"请输入名称",style:{width:"328px"}}))),void 0===d.id&&l.default.createElement(r.Form.Item,{label:"素材时效"},l.default.createElement(r.Radio.Group,L("uploadType",{rules:[{required:!0,message:"素材时效不能为空"}],initValue:"FOREVER"}),l.default.createElement(r.Radio,{value:"FOREVER"},"永久有效"),l.default.createElement(r.Radio,{value:"TEMP"},"七天有效"))),void 0===d.id&&"TEXT"!==c&&l.default.createElement(r.Form.Item,{label:"生成短链"},l.default.createElement(r.Toggle,E({},L("genShortLink",{onChange:function(e){B("genShortLink",e)}}),{size:"small",checked:P("genShortLink")}))),(void 0===d.id||d.currentCreate)&&l.default.createElement(r.Form.Item,{label:"仅自己可见"},l.default.createElement(r.Toggle,E({},L("scope",{onChange:function(e){B("scope",e)}}),{size:"small",checked:P("scope")}))))),l.default.createElement("div",{className:"footer"},l.default.createElement(r.Button,{type:"primary",onClick:function(){h.validate((function(e,t){console.log(t),e||(i(!0),d.id?ye.put("".concat(o.server,"/cem-material/v1/material/").concat(d.id),{id:d.id,materialName:t.materialName,categoryId:t.categoryId,materialContent:t.materialContent,scope:t.scope?1:0}).then((function(e){200===e.data.code?(r.Message.success("更新成功"),p("list"),i(!1)):(i(!1),r.Message.error(e.data.msg||"系统错误"))})).catch((function(){return i(!1)})):("TEXT"===c&&"WRITE"===_?M:F)(Object.assign(f(f({},t),{},{platId:"SY_FFuBWV76yK",materialSource:o.source,materialConfigId:s}),{scope:t.scope?1:0})).then((function(e){200===e.data.code?(r.Message.success("保存成功"),p("list")):(i(!1),r.Message.error(e.data.msg||"系统错误"))})).catch((function(){return i(!1)})))}))},disabled:a},a?"上传中...":"保存"),l.default.createElement(r.Button,{style:{marginLeft:16},onClick:function(){p("list")},className:"cancel"},"取消")))}var zWe=k(k(k(k(k(k(k(k({},WC.PICTURE,RWe),WC.VIDEO,RWe),WC.AUDIO,RWe),WC.TEXT,RWe),WC.LINK,(function(e){var n=I(t.useState(!1),2),a=n[0],i=n[1],o=I(t.useState(!1),2),s=o[0],u=o[1],c=AS.useAtomValue(v_),d=AS.useSetAtom(L_),p=AS.useAtomValue(O_),h=AS.useAtomValue(w_),m=AS.useAtomValue(y_),v=AS.useAtomValue(B_),g=r.Field.useField(),y=g.init,b=g.getValue,w=g.setValue,k={size:2,unit:"M",labelText:"支持 png、jpg、jpeg 格式,大小须在 2MB 以内。",accept:"image/png,image/jpg,image/jpeg"},C=OT({noClick:!0,accept:k.accept.split(",").reduce((function(e,t){var n=t.split("/")[0],a=t.split("/")[1];return n&&a&&e["".concat(n,"/").concat(a)]?e["".concat(n,"/").concat(a)].push(".".concat(a)):n&&a?e["".concat(n,"/").concat(a)]=[".".concat(a)]:e["".concat(n)]=["".concat(n)],e}),{}),onDrop:function(e){if(0!==e.length){var t,n=k.unit,a=k.size;"M"!==n&&"MB"!==n||(t=e[0].size/1024/1024>a),"KB"===n&&(t=e[0].size/1024>a),t?r.Message.error("文件过大,最大支持 ".concat(a," ").concat(n," 的文件上传!")):S({file:e[0]})}}}).getRootProps;t.useEffect((function(){g.setValues(void 0===v.id?{categoryId:p}:Object.assign(f({},v),{scope:1===v.scope}))}),[]);var S=function(e){var t=e.file;t.name.includes("%")?r.Message.error("文件名不能包含特殊字符"):_(t).then((function(e){g.setValue("coverPicture",e.data.data[0])}))},_=function(e){var t=new window.FormData;return t.append("file",e),ye.post("".concat(c.server,"/cem-upload/v1/upload"),t)};return l.default.createElement(r.Form,{labelCol:{span:4},layout:"horizontal",className:"assetLinkForm",field:g},l.default.createElement("div",{className:"createItem"},l.default.createElement("div",{className:"createUploadContainer"},l.default.createElement(r.Form.Item,{label:""},l.default.createElement("div",E({},y("coverPicture",{rules:[{required:!0,message:"封面不能为空"}]}),{onChange:function(){}},void 0===v.id?f({},C()):{}),l.default.createElement(r.Upload,E({},k,{customRequest:S,onRemove:function(){return g.setValue("coverPicture","")},disabled:void 0!==v.id}),!g.getValue("coverPicture")&&l.default.createElement("div",{className:"createUpload"},l.default.createElement(r.Icon,{type:"plus",className:"createIcon"}),l.default.createElement("div",{className:"createUploadLabel"},"点击上传或拖拽为链接封面"),l.default.createElement("div",{className:"tips"},"建议尺寸200*200px,支持 png、jpg、jpeg 格式,大小须在 2MB 以内。")),g.getValue("coverPicture")&&l.default.createElement("div",{className:"createUpload"},l.default.createElement("img",{src:g.getValue("coverPicture"),alt:"cover"})))))),l.default.createElement("div",{className:"createOther"},l.default.createElement(r.Form.Item,{label:"地址"},l.default.createElement(r.Input,E({},y("linkUrl",{rules:[{required:!0,message:"链接地址不能为空"},{validator:function(e,t,n){t.startsWith("https://")||t.startsWith("http://")?n(""):n("请输入以http://或https://开头的链接地址")}}]}),{disabled:void 0!==v.id,className:"input",placeholder:"请输入短链接地址",style:{width:"270px",marginRight:10}})),l.default.createElement(r.Tooltip,{content:"自动解析功能可自动识别链接链接的标题、描述及封面,识别后自动回填,支持手动修改",theme:"light"},l.default.createElement(r.Button,{icon:"info-circle1",type:"primary",disabled:!g.getValue("linkUrl")||g.getError("linkUrl"),loading:s,onClick:function(){u(!0),ye.post("".concat(c.server,"/cem-material/v1/material/urlParse"),{url:g.getValue("linkUrl")}).then((function(e){var t,n,a,r,i,o,l,s,u,c;(null==e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.title)&&g.setValue("materialName",e.data.data.title),(null==e||null===(a=e.data)||void 0===a||null===(r=a.data)||void 0===r?void 0:r.description)&&(null==e||null===(i=e.data)||void 0===i||null===(o=i.data)||void 0===o?void 0:o.description[0])&&g.setValue("linkContent",e.data.data.description[0]),(null==e||null===(l=e.data)||void 0===l||null===(s=l.data)||void 0===s?void 0:s.image)&&(null==e||null===(u=e.data)||void 0===u||null===(c=u.data)||void 0===c?void 0:c.image[0])&&g.setValue("coverPicture",e.data.data.image[0])})).finally((function(){return u(!1)}))}},"自动解析"))),l.default.createElement(r.Form.Item,{label:"标题"},l.default.createElement(r.Input,E({},y("materialName",{rules:[{required:!0,message:"标题不能为空"},{len:20}]}),{maxLength:20,hasCounter:!0,className:"input",placeholder:"请输入标题",style:{width:"328px"}}))),l.default.createElement(r.Form.Item,{label:"描述"},l.default.createElement(r.Input.Textarea,E({},y("linkContent",{rules:[{required:!0,message:"描述不能为空"},{len:100}]}),{rows:3,maxLength:100,hasCounter:!0,placeholder:"请输入描述",style:{width:"328px"}}))),l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,E({},y("categoryId",{rules:[{required:!0,message:"分组不能为空"}]}),{width:"328px"}))),l.default.createElement(r.Form.Item,{label:"生成短链"},l.default.createElement(r.Toggle,E({},y("genShortLink",{onChange:function(e){w("genShortLink",e)}}),{checked:g.getValue("genShortLink"),disabled:void 0!==v.id,size:"small"}))),(void 0===v.id||v.currentCreate)&&l.default.createElement(r.Form.Item,{label:"仅自己可见"},l.default.createElement(r.Toggle,E({},y("scope",{onChange:function(e){w("scope",e)}}),{size:"small",checked:b("scope")}))))),l.default.createElement("div",{className:"footer"},l.default.createElement(r.Button,{type:"primary",onClick:function(){g.validate((function(e,t){if(console.log("values",t),!e)if(i(!0),void 0===v.id){var n=Object.assign(f(f({},t),{},{materialSource:c.source,materialConfigId:h,materialType:m}),{scope:t.scope?1:0});ye.post("".concat(c.server,"/cem-material/v1/material/link/upload"),n).then((function(e){200===e.data.code?(r.Message.success("保存成功"),i(!1),d("list")):(i(!1),r.Message.error(e.data.msg||"系统错误"))})).catch((function(){return i(!1)}))}else ye.put("".concat(c.server,"/cem-material/v1/material/").concat(v.id),f(f({id:v.id},t),{},{categoryId:t.categoryId,scope:t.scope?1:0})).then((function(e){200===e.data.code?(r.Message.success("更新成功"),i(!1),d("list")):(i(!1),r.Message.error(e.data.msg||"系统错误"))})).catch((function(){return i(!1)}))}))},disabled:a},a?"上传中...":"保存"),l.default.createElement(r.Button,{style:{marginLeft:16},onClick:function(){d("list")},className:"cancel"},"取消")))})),WC.POI,(function(e){var n=AS.useAtomValue(v_),a=AS.useAtomValue(y_),i=AS.useAtomValue(w_),o=AS.useAtomValue(O_),s=AS.useSetAtom(L_),u=I(t.useState({}),2),c=u[0],d=u[1],p=I(t.useState(!1),2),h=p[0],m=p[1],v=I(t.useState(!1),2),g=v[0],y=v[1],b=AS.useAtomValue(B_),w=r.Field.useField(),k=w.init,C=w.getValue,S=w.setValue,_={size:2,unit:"M",labelText:"支持 png、jpg、jpeg 格式,大小须在 2MB 以内。",accept:"image/png,image/jpg,image/jpeg"},A=OT({noClick:!0,accept:_.accept.split(",").reduce((function(e,t){var n=t.split("/")[0],a=t.split("/")[1];return n&&a&&e["".concat(n,"/").concat(a)]?e["".concat(n,"/").concat(a)].push(".".concat(a)):n&&a?e["".concat(n,"/").concat(a)]=[".".concat(a)]:e["".concat(n)]=["".concat(n)],e}),{}),onDrop:function(e){if(0!==e.length){var t,n=_.unit,a=_.size;"M"!==n&&"MB"!==n||(t=e[0].size/1024/1024>a),"KB"===n&&(t=e[0].size/1024>a),t?r.Message.error("文件过大,最大支持 ".concat(a," ").concat(n," 的文件上传!")):O({file:e[0]})}}}).getRootProps;t.useEffect((function(){if(void 0===b.id)w.setValues({categoryId:o,list:[],len:0});else{var e=b.openingTime?JSON.parse(b.openingTime):[];w.setValues(Object.assign(f(f({},zT(f(f({},b),{},{openingTime:e}))),{},{list:e.map((function(e,t){return"".concat(t)})),len:e.length}),{scope:1===b.scope}))}}),[]);var N=function(){return y(!g)};k("list");var D=c.longitude,T=c.latitude,O=function(e){var t=e.file;t.name.includes("%")?r.Message.error("文件名不能包含特殊字符"):M(t).then((function(e){w.setValue("coverPicture",e.data.data[0])}))},M=function(e){var t=new window.FormData;return t.append("file",e),ye.post("".concat(n.server,"/cem-upload/v1/upload"),t)};return l.default.createElement(l.default.Fragment,null,l.default.createElement(r.Form,{field:w,labelCol:{span:4},className:"poiForm",layout:"horizontal"},l.default.createElement("div",{className:"createItem"},l.default.createElement("div",{className:"createUploadContainer"},l.default.createElement(r.Form.Item,{label:""},l.default.createElement("div",E({},k("coverPicture",{rules:[{required:!0,message:"封面不能为空"}]}),{onChange:function(){}},void 0===b.id?f({},A()):{}),l.default.createElement(r.Upload,E({},_,{customRequest:O,onRemove:function(){return w.setValue("coverPicture","")},disabled:void 0!==b.id}),!w.getValue("coverPicture")&&l.default.createElement("div",{className:"createUpload"},l.default.createElement(r.Icon,{type:"plus",className:"createIcon"}),l.default.createElement("div",{className:"createUploadLabel"},"点击上传或拖拽为门店照片"),l.default.createElement("div",{className:"tips"},"支持 png、jpg、jpeg 格式,大小须在 2MB 以内。")),w.getValue("coverPicture")&&l.default.createElement("div",{className:"createUpload"},l.default.createElement("img",{src:w.getValue("coverPicture"),alt:"cover"})))))),l.default.createElement("div",{className:"createOther"},l.default.createElement(r.Form.Item,{label:"门店名称",required:!0},l.default.createElement(r.Input,E({},k("title",{rules:[{required:!0,message:"请输入门店名称"}]}),{size:"large",maxLength:20,hasCounter:!0,placeholder:"请输入门店名称",style:{width:328}}))),l.default.createElement(r.Form.Item,{label:"门店位置",required:!0},l.default.createElement(r.Input,E({},k("positionInfo",{rules:[{required:!0,message:"请选择门店位置"}]}),{size:"large",suffix:l.default.createElement(yx,{onClick:N,type:"road-map-line",style:{color:"rgba(0,0,0,0.2500)"}}),onClick:N,placeholder:"请选择门店位置",style:{width:328}}))),l.default.createElement(r.Form.Item,{label:"联系电话",required:!0},l.default.createElement(r.Input,E({},k("phoneNumber",{rules:[{required:!0,message:"请输入联系电话"}]}),{size:"large",placeholder:"请输入联系电话",style:{width:328}}))),l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,E({},k("categoryId",{rules:[{required:!0,message:"分组不能为空"}]}),{width:"328px"}))),l.default.createElement(r.Form.Item,{label:"是否开业"},l.default.createElement(r.Toggle,E({},k("enabled",{onChange:function(e){S("enabled",e)}}),{size:"small",checked:!(!1===w.getValue("enabled"))}))),(void 0===b.id||b.currentCreate)&&l.default.createElement(r.Form.Item,{label:"仅自己可见"},l.default.createElement(r.Toggle,E({},k("scope",{onChange:function(e){S("scope",e)}}),{size:"small",checked:C("scope")}))),l.default.createElement(r.Form.Item,{label:"营业时间"},l.default.createElement(jT,{name:"openingTime",field:w})))),l.default.createElement("div",{className:"footer"},l.default.createElement(r.Button,{type:"primary",onClick:function(){w.validate((function(e,t){if(console.log("values",t),!e){var o=c.longitude,l=c.latitude,u=c.cityname,d=RT(t),p=d.openingTime,h=void 0===p?{}:p,v=x(d,LT),g=Object.keys(h).map((function(e){return h[e]}));console.log(t,RT(t),g),m(!0),void 0===b.id?ye.post("".concat(n.server,"/cem-material/v1/material/poi/upload"),Object.assign(f(f({},ND(v,["list","len"])),{},{longitude:o,latitude:l,cityName:u,materialSource:n.source,materialConfigId:i,materialType:a,openingTime:JSON.stringify(g)}),{scope:t.scope?1:0})).then((function(e){200===e.data.code?(r.Message.success("保存成功"),m(!1),s("list")):(r.Message.error(e.data.msg),m(!1))})):ye.put("".concat(n.server,"/cem-material/v1/material/").concat(b.id),f(f({id:b.id},ND(v,["list","len"])),{},{longitude:o,latitude:l,cityName:u,openingTime:JSON.stringify(g),scope:t.scope?1:0})).then((function(e){200===e.data.code?(r.Message.success("更新成功"),s("list"),m(!1)):(r.Message.error(e.data.msg),m(!1))})).catch((function(){return m(!1)}))}}))},disabled:h},h?"上传中...":"保存"),l.default.createElement(r.Button,{style:{marginLeft:16},onClick:function(){s("list")},className:"cancel"},"取消"))),g&&l.default.createElement(eN,{visible:g,data:{longitude:D,latitude:T},onOk:function(e){var t=e.poiaddress,n=e.cityname,a=e.latlng,r=a.lat,i=a.lng;d(f(f({},c),{},{positionInfo:t,latitude:r,longitude:i,cityname:n})),w.setValues({positionInfo:t}),N()},onCancel:N}))})),WC.MINI_PROGRAM,(function(e){var n=AS.useAtomValue(v_),a=AS.useAtomValue(y_),i=AS.useAtomValue(w_),o=AS.useAtomValue(O_),s=AS.useAtomValue(B_),u=AS.useSetAtom(L_),c=I(t.useState(!1),2),d=c[0],p=c[1],h=r.Field.useField(),m=h.init,v=h.getValue,g=h.setValue;t.useEffect((function(){h.setValues(void 0===s.id?{categoryId:o}:Object.assign(f({},s),{scope:1===s.scope}))}),[]);var y={size:2,unit:"M",labelText:"支持 png、jpg、jpeg 格式,大小须在 2MB 以内。",accept:"image/png,image/jpg,image/jpeg"},b=function(e,t){var n=e.file;n.name.includes("%")?r.Message.error("文件名不能包含特殊字符"):w(n).then((function(e){h.setValue(t,e.data.data[0])}))},w=function(e){var t=new window.FormData;return t.append("file",e),ye.post("".concat(n.server,"/cem-upload/v1/upload"),t)};return l.default.createElement(r.Form,{labelCol:{span:5},layout:"horizontal",className:"miniProgramForm",field:h},l.default.createElement("div",{className:"createMiniProgramForm"},l.default.createElement("div",{className:"createOption"},l.default.createElement(r.Form.Item,{label:"标题"},l.default.createElement(r.Input,E({},m("materialName",{rules:[{required:!0,message:"标题不能为空"},{len:20}]}),{maxLength:20,hasCounter:!0,className:"input",placeholder:"请输入标题",style:{width:"328px",marginRight:10}}))),l.default.createElement(r.Form.Item,{label:"APPID"},l.default.createElement(r.Input,E({},m("applicationId",{rules:[{required:!0,message:"小程序APPID不能为空"}]}),{className:"input",disabled:void 0!==s.id,placeholder:"请输入小程序APPID",style:{width:"328px"}}))),l.default.createElement(r.Form.Item,{label:"页面路径"},l.default.createElement(r.Input,E({},m("linkUrl",{rules:[{required:!0,message:"请填写点击后跳转的小程序功能页面"}]}),{className:"input",disabled:void 0!==s.id,placeholder:"请填写点击后跳转的小程序功能页面",style:{width:"328px",marginRight:10}}))),l.default.createElement(r.Form.Item,{label:"原始ID"},l.default.createElement(r.Input,E({},m("originalId",{rules:[{required:!0,message:"请输入小程序原始ID"}]}),{disabled:void 0!==s.id,className:"input",placeholder:"请输入小程序原始ID",style:{width:"328px",marginRight:10}}))),l.default.createElement(r.Form.Item,{label:"描述"},l.default.createElement(r.Input.Textarea,E({},m("linkContent",{rules:[{required:!0,message:"描述不能为空"},{len:100}]}),{className:"input",rows:3,maxLength:100,hasCounter:!0,placeholder:"请输入描述",style:{width:"328px"}}))),l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,E({},m("categoryId",{rules:[{required:!0,message:"分组不能为空"}]}),{width:"328px"}))),(void 0===s.id||s.currentCreate)&&l.default.createElement(r.Form.Item,{label:"仅自己可见"},l.default.createElement(r.Toggle,E({},m("scope",{onChange:function(e){g("scope",e)}}),{size:"small",checked:v("scope")})))),l.default.createElement("div",{className:"createImg"},l.default.createElement(r.Form.Item,{label:"小程序Logo",labelCol:{span:6}},l.default.createElement("div",E({},m("icon",{rules:[{required:!0,message:"小程序Logo不能为空"}]}),{onChange:function(){}}),l.default.createElement(r.Upload,E({},y,{disabled:void 0!==s.id,customRequest:function(e){b({file:e.file},"icon")},onRemove:function(){return h.setValue("icon","")}}),!h.getValue("icon")&&l.default.createElement("div",{className:"imgBox"},l.default.createElement(r.Icon,{type:"plus"}),l.default.createElement("div",null,"添加")),h.getValue("icon")&&l.default.createElement("div",{className:"imgBox"},l.default.createElement("img",{src:h.getValue("icon"),alt:"cover"}))),l.default.createElement("div",{className:"tips"},"建议尺寸144px*144px,大小须在 2MB 以内。"))),l.default.createElement(r.Form.Item,{label:"封面",labelCol:{span:6}},l.default.createElement("div",E({},m("coverPicture",{rules:[{required:!0,message:"封面不能为空"}]}),{onChange:function(){}}),l.default.createElement(r.Upload,E({},y,{disabled:void 0!==s.id,customRequest:function(e){b({file:e.file},"coverPicture")},onRemove:function(){return h.setValue("coverPicture","")}}),!h.getValue("coverPicture")&&l.default.createElement("div",{className:"imgBox"},l.default.createElement(r.Icon,{type:"plus"}),l.default.createElement("div",null,"添加")),h.getValue("coverPicture")&&l.default.createElement("div",{className:"imgBox"},l.default.createElement("img",{src:h.getValue("coverPicture"),alt:"cover"}))),l.default.createElement("div",{className:"tips"},"建议尺寸520*416px,大小须在 2MB 以内。")))),l.default.createElement("div",{className:"footer"},l.default.createElement(r.Button,{type:"primary",onClick:function(){h.validate((function(t,o){console.log("values",o),t||(p(!0),void 0===s.id?ye.post("".concat(n.server,"/cem-material/v1/material/link/upload"),Object.assign(f(f({},o),{},{materialSource:n.source,materialConfigId:i,materialType:a}),{scope:o.scope?1:0})).then((function(t){200===t.data.code?(r.Message.success("保存成功"),p(!1),u("list"),e.onOk()):(r.Message.error(t.data.msg),p(!1))})):ye.put("".concat(n.server,"/cem-material/v1/material/").concat(s.id),f(f({id:s.id},o),{},{categoryId:o.categoryId,scope:o.scope?1:0})).then((function(e){200===e.data.code?(r.Message.success("更新成功"),u("list"),p(!1)):(r.Message.error(e.data.msg),p(!1))})).catch((function(){return p(!1)})))}))},disabled:d},d?"上传中...":"保存"),l.default.createElement(r.Button,{style:{marginLeft:16},onClick:function(){u("list")},className:"cancel"},"取消"))))})),WC.CUSTOM_PARAM_CODE,(function(e){var n,a=I(t.useState(!1),2),i=a[0],o=a[1],s=r.Field.useField(),u=s.init,c=s.getValue,d=s.setValue,p=AS.useAtomValue(v_),h=AS.useAtomValue(O_),m=AS.useSetAtom(L_),v=AS.useAtomValue(B_),g=AS.useAtomValue(y_),y=AS.useAtomValue(w_);return u("len",{initValue:0}),t.useEffect((function(){s.setValues(void 0===v.id?{categoryId:h}:Object.assign(f(f({},ZI(v)),{},{pageInfo:[{value:v.platAppName},{value:v.productionInstanceName},{value:v.productionInstancePage}]}),{scope:1===v.scope}))}),[]),l.default.createElement(r.Form,{labelCol:{span:3},layout:"horizontal",className:"paramCodeForm paramCodeHight",field:s},l.default.createElement(r.Form.Item,{label:"参数码名称"},l.default.createElement(r.Input,E({},u("materialName",{rules:[{required:!0,message:"参数码名称不能为空"},{len:20}]}),{maxLength:20,hasCounter:!0,className:"input",placeholder:"请输入参数码名称",style:{width:"328px"}}))),l.default.createElement(r.Form.Item,{label:"页面",description:"涉及用户隐私的非公开内容或可能打断用户完成当前操作体验的页面不推荐生成参数码",className:"paramCodeForm"},l.default.createElement(R_,E({},u("pageInfo",{rules:[{required:!0,message:"页面不能为空"}]}),{disabled:void 0!==v.id,onChange:function(e,t){return s.setValue("pageInfo",t)},width:"328px"}))),l.default.createElement(r.Form.Item,{label:"参数设置"},l.default.createElement($I,E({name:"param",field:s},u("list",{initValue:v.param?null===(n=v.param)||void 0===n?void 0:n.map((function(e,t){return"".concat(t)})):[],rules:[{required:!0,message:"至少添加一个参数"},{validator:function(e,t,n){n(t&&0!==(null==t?void 0:t.length)?"":"至少添加一个参数")}}]}),{disabled:void 0!==v.id}))),l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,E({},u("categoryId",{rules:[{required:!0,message:"分组不能为空"}]}),{width:"328px"}))),l.default.createElement(r.Form.Item,{label:"生成短链"},l.default.createElement(r.Toggle,E({},u("genShortLink",{onChange:function(e){d("genShortLink",e)}}),{size:"small",checked:c("genShortLink"),disabled:void 0!==v.id}))),(void 0===v.id||v.currentCreate)&&l.default.createElement(r.Form.Item,{label:"仅自己可见"},l.default.createElement(r.Toggle,E({},u("scope",{onChange:function(e){d("scope",e)}}),{size:"small",checked:c("scope")}))),l.default.createElement("div",{className:"footer"},l.default.createElement(r.Button,{type:"primary",onClick:function(){s.validate((function(e,t){if(!e){o(!0);var n=XI(t),a=n.param,i=n.materialName,l=I(n.pageInfo,3),s=l[0],u=l[1],c=l[2];void 0===v.id?ye.post("".concat(p.server,"/cem-material/v1/material/param/code/create"),{materialName:i,platThirdId:u.platThirdId,platAppId:s.value,platAppName:s.label,productionInstanceId:u.value,productionInstancePage:c.label,productionInstancePagePath:"pages/micro/one/index",productionInstancePageId:c.value,genShortLink:t.genShortLink,param:Object.keys(a).map((function(e){return a[e]})),categoryId:t.categoryId,materialSource:p.source,materialConfigId:y,materialType:g,scope:t.scope?1:0}).then((function(e){200===e.data.code?(r.Message.success("保存成功"),o(!1),m("list")):(r.Message.error(e.data.msg),o(!1))})):ye.put("".concat(p.server,"/cem-material/v1/material/").concat(v.id),{id:v.id,materialName:t.materialName,categoryId:t.categoryId,scope:t.scope?1:0}).then((function(e){200===e.data.code?(r.Message.success("更新成功"),m("list"),o(!1)):(r.Message.error(e.data.msg),o(!1))})).catch((function(){return o(!1)}))}}))},disabled:i},i?"上传中...":"保存"),l.default.createElement(r.Button,{style:{marginLeft:16},onClick:function(){m("list")},className:"cancel"},"取消")))}));function jWe(){var e,t=AS.useAtomValue(B_),n=AS.useAtomValue(y_),a=AS.useSetAtom(L_),i=null===(e=JC.find((function(e){return e.type===n})))||void 0===e?void 0:e.name,o=zWe[n];return l.default.createElement("div",{className:"createAssetContainer"},l.default.createElement("div",{className:"createBread"},l.default.createElement(r.BreadCrumbs,{list:[{key:n,title:i},{key:"create",title:void 0!==t.id?"编辑".concat(i):[WC.PICTURE,WC.AUDIO,WC.VIDEO,WC.TEXT].includes(n)?"上传".concat(i):"新建".concat(i)}],onClick:function(e){!function(e){e.key===n&&a("list")}(e)},size:"small"})),l.default.createElement("div",{className:"createForm"},l.default.createElement(o,null)))}function VWe(e){var t=e.item,n=e.onOk,a=e.onCancel;console.log(t,e.materialConfigId);var i=r.Field.useField(),o=AS.useAtomValue(v_),s=I(AS.useAtom(S_),2),u=s[0],c=s[1];return l.default.createElement(r.Modal,{visible:!0,title:"移动素材",modalStyle:{width:600,maxWidth:"none"},onOk:function(){i.validate((function(e,a){console.log(e,a),e||ye.put("".concat(o.server,"/cem-material/v1/material/category/move"),f({materialIds:t},a)).then((function(){var e=(u||[]).reduce((function(e,t){var n=t.materialType.toLowerCase();return e[n]?e[n].push(t.materialId):e[n]=[t.materialId],e}),{});ye.post("".concat(o.server,"/cem-material/v1/material/select/list/ids"),e).then((function(e){var t;c(null==e||null===(t=e.data)||void 0===t?void 0:t.data),r.Message.success("移动成功"),n()}))}))}))},onCancel:a,onClose:a},l.default.createElement(r.Form,{labelCol:{span:4},layout:"horizontal",field:i},l.default.createElement(r.Form.Item,{label:"分组"},l.default.createElement(j_,(0,i.init)("categoryId",{rules:[{required:!0,message:"分组不能为空"}]})))))}function UWe(e){var n=I(t.useState("materialName"),2),a=n[0],i=I(t.useState(""),2),o=i[0],s=i[1],u=I(AS.useAtom(N_),2),c=u[0],d=u[1],p=AS.useSetAtom(D_),h=[{label:"名称",value:"materialName",component:r.Input,props:{placeholder:"请输入名称"}},{label:"类型",value:"materialType",component:r.Select,props:{dataSource:JC,labelKey:"name",valueKey:"type"}},{label:"分组",value:"categoryId",component:j_,props:{width:250}}],m=function(e,t){d(f(f({},c),{},k({},e,t)))},v=(h.map((function(e){return{title:e.label,content:l.default.createElement(e.component,E({},e.props,{value:c[e.value],onChange:function(t,n){var a;m(e.value,"pageInfo"!==e.value?(null==t||null===(a=t.target)||void 0===a?void 0:a.value)||t:n)}})),labelWidth:80,contentWidth:250}})),function(e){"materialName"===a?(s(e.target.value),g(e.target.value,a)):(s(e),g(e,a))}),g=t.useCallback(vx((function(e,t){p(k({},t,e))}),500),[p]);if(0===h.length)return null;var y=e.filterSelectData.map((function(e){return e.id}))||[],b=(e.checkData||[]).filter((function(e){return y.includes(e.id)})).length,w=b>0&&b===y.length,C=b>0&&!w;return l.default.createElement("div",{className:"assetSelectSearchContainer"},l.default.createElement(r.Button,{type:"primary",className:"create",onClick:e.remove,disabled:!e.checkData||e.checkData.length<=0},"批量移除"),l.default.createElement("div",{className:"searchRight"},l.default.createElement(r.Tooltip,{content:"卡片视图",theme:"light",placement:"top"},l.default.createElement(yx,{type:"fenlei",className:"card"===e.showDataType?"active":"normal",onClick:function(){return e.setShowDataType("card")}})),l.default.createElement("div",{className:"solid-de"}),l.default.createElement(r.Tooltip,{content:"列表视图",theme:"light",placement:"top"},l.default.createElement(yx,{type:"liangduanduiqi",className:"table"===e.showDataType?"active":"normal",onClick:function(){return e.setShowDataType("table")}})),l.default.createElement(r.Checkbox,{checked:w,indeterminate:C,onChange:e.handleCheckAll,style:{margin:"0 0px 0 20px"}},"全选"),"materialName"===a&&l.default.createElement(r.Input,{placeholder:"请输入名称",value:o,className:"input",onChange:v,style:{marginLeft:"20px",width:"180px"},suffix:l.default.createElement(r.Icon,{style:{color:"rgba(0,0,0,0.25)"},type:"search"})}),"materialType"===a&&l.default.createElement(r.Select,{placeholder:"请输入名称",dataSource:JC,className:"input",labelKey:"name",valueKey:"type",onChange:v}),"categoryId"===a&&l.default.createElement(j_,{onChange:v,className:"input"})))}var HWe=function(e){return 10>e?"0".concat(e):e},qWe=function(e){var t=Math.floor(e/60),n=Math.floor(t/60),a=n>0?"".concat(HWe(n),":"):"";return"".concat(a).concat(HWe(t%60),":").concat(HWe(e%60))};function WWe(){var e=I(t.useState({visible:!1}),2),n=e[0],a=e[1],i=t.useRef(),o=(I(t.useState([]),2),I(t.useState([]),2)),s=o[0],u=o[1],c=I(t.useState("card"),2),d=c[0],p=c[1],h=(I(t.useState([]),2),AS.useAtomValue(v_).readonly),m=I(AS.useAtom(S_),2),v=m[0],g=m[1],y=AS.useAtomValue(T_),b=h?[{title:"素材名称",dataIndex:"materialName",ellipsis:!0,render:function(e,t){return l.default.createElement(Ix,{item:t,onClick:function(){return a(f(f({},t),{},{visible:!0}))}})}}].concat(N($C)):[{title:"素材名称",dataIndex:"materialName",ellipsis:!0,render:function(e,t){return l.default.createElement(Ix,{item:t,onClick:function(){return a(f(f({},t),{},{visible:!0}))}})}}].concat(N($C),[{dataIndex:"action",title:"操作",align:"center",fixed:"right",width:"80px",render:function(e,t){var n=t.id;return l.default.createElement(r.Button,{type:"link",size:"small",colorType:"danger",onClick:function(){r.Modal.confirm({title:"确定移除素材吗?",isShowIcon:!0,icon:"warn",body:"移除后将重新进行选择,请谨慎操作。",onOk:function(){g(v.filter((function(e){return e.id!==n}))),u(s.filter((function(e){return e.id!==n})))},onCancel:function(){}})}},"移除")}}]);return l.default.createElement(l.default.Fragment,null,l.default.createElement(UWe,{checkData:s,remove:function(){r.Modal.confirm({title:"确定移除所选素材吗?",isShowIcon:!0,icon:"warn",body:"移除全部后将重新进行选择,请谨慎操作。",onOk:function(){var e=s.map((function(e){return e.id}));g(v.filter((function(t){return!e.includes(t.id)}))),u([])},onCancel:function(){}})},handleCheckAll:function(e){if(e){var t=y.map((function(e){return e.id}))||[],n=s.filter((function(e){return!t.includes(e.id)})),a=[].concat(N(n),N(y));u(a)}else{var r=y.map((function(e){return e.id}))||[],i=s.filter((function(e){return!r.includes(e.id)}));u(i)}},filterSelectData:y,setShowDataType:p,showDataType:d}),l.default.createElement("div",{style:{width:"100%",flex:"1",padding:"20px 0",overflowY:"auto",overflowX:"hidden"}},"table"===d&&l.default.createElement(r.CTable,{key:y,ref:i,ajaxData:function(e){var t=function(e,t,n){var a=e.length,r=Math.ceil(a/t),i=Math.min(n,r);return{data:e.slice((i-1)*t,i*t),pageSize:t,pageNum:i,totalCount:a,totalPage:r}}(y,e.pageSize,e.pageNum),n=t.data,a=t.totalCount;return new Promise((function(e){setTimeout((function(){e({data:n,totals:a})}),100)}))},supportCheckbox:!0,checkedData:s,onCheckedAfter:function(e,t,n){if(n){var a=[].concat(N(s),[t]);u(a)}else u(s.filter((function(e){return e.id!==t.id})))},onCheckedAllAfter:function(e,t,n){if(n){var a=[].concat(N(s),N(e));u(a)}else{var r=t.map((function(e){return e.id}));u(s.filter((function(e){return!r.includes(e.id)})))}},columnData:b,useCustomScroll:!1,watchColumnData:!0,style:{height:"100%",width:"100%"}}),"card"===d&&l.default.createElement("div",{className:tt("cardMaterials","row-flex-wrap")},y.map((function(e){var t=s.some((function(t){return t.id===e.id}));return l.default.createElement("div",{key:e.id,className:tt("card",k({},"checked",t))},l.default.createElement("div",{className:tt("img"),onClick:function(n){if(!n.target.className.includes("loud-checkbox-inner"))if(t)u(s.filter((function(t){return t.id!==e.id})));else{var a=[].concat(N(s),[e]);u(a)}}},l.default.createElement("div",{className:tt("imgBox","row-flex-center jc-center")},"PICTURE"===e.materialType&&l.default.createElement("img",{src:e.materialUrl,alt:"picture"}),"AUDIO"===e.materialType&&l.default.createElement("img",{src:"https://brand-guide.shuyun.com/IAM/0b004d6b8c77.png",alt:"AUDIO",style:{width:"28px"}}),"VIDEO"===e.materialType&&l.default.createElement("video",{src:e.materialUrl}),"TEXT"===e.materialType&&l.default.createElement("img",{src:"https://brand-guide.shuyun.com/IAM/5efb0e6a0859.png",alt:"TEXT",style:{width:"28px"}}),("POI"===e.materialType||"LINK"===e.materialType)&&l.default.createElement("img",{src:e.coverPicture,alt:e.materialType}),"CUSTOM_PARAM_CODE"===e.materialType&&l.default.createElement("img",{src:e.paramCode,alt:"CUSTOM_PARAM_CODE"}),"MINI_PROGRAM"===e.materialType&&l.default.createElement("div",{className:tt("program")},l.default.createElement("div",{className:tt("title","row-flex-center")},l.default.createElement("img",{src:e.icon,style:{width:7,height:7,marginRight:4}}),e.materialName),l.default.createElement("div",{className:tt("desc","text-ellipsis")},e.linkContent),l.default.createElement("div",{className:tt("img","row-flex-center","jc-center")},l.default.createElement("img",{src:e.coverPicture})),l.default.createElement("div",{className:tt("footer","row-flex-center")},l.default.createElement(yx,{type:"xiaochengxu2",style:{color:"#496BF5",fontSize:7,marginRight:5}}),"小程序"))),l.default.createElement(r.Checkbox,{checked:t,className:"checkbox",onChange:function(t){if(t){var n=[].concat(N(s),[e]);u(n)}else u(s.filter((function(t){return t.id!==e.id})))}}),l.default.createElement("div",{className:"materialInfoAndPreview"},l.default.createElement("div",null,l.default.createElement("span",{className:"materialInfo"},"PICTURE"===e.materialType&&"".concat(e.materialWidth," x ").concat(e.materialHeight," | ").concat((e.materialSize/1024).toFixed(2),"MB"),("VIDEO"===e.materialType||"AUDIO"===e.materialType)&&"".concat(qWe(e.duration)," | ").concat((e.materialSize/1024).toFixed(2),"MB"),"TEXT"===e.materialType&&"".concat((e.materialSize/1024).toFixed(2),"MB"))),l.default.createElement("div",{className:"rightOperate"},l.default.createElement("span",{className:"materialPreview"},l.default.createElement(r.Tooltip,{content:"预览",theme:"light",placement:"bottom"},l.default.createElement(yx,{type:"quanping",onClick:function(){return a(f(f({},e),{},{visible:!0}))}})))))),l.default.createElement("div",{className:"info"},l.default.createElement("div",{className:"row-flex-center jc-space"},l.default.createElement(r.Tooltip,{content:e.materialName,theme:"light",placement:"top-left"},l.default.createElement("span",{className:tt("title","flex1 text-ellipsis")},e.materialName)))))}))),n.visible&&l.default.createElement(Cx,{item:n,onClose:function(){return a({visible:!1})}})))}function GWe(e){var t=AS.useAtomValue(y_),n=AS.useSetAtom(L_);return l.default.createElement("div",{className:"selectedAssetContainer"},l.default.createElement("div",{className:"selectedBread"},l.default.createElement(r.BreadCrumbs,{list:[{key:t,title:"素材中心"},{key:"selected",title:"已选素材"}],onClick:function(e){!function(e){e.key===t&&n("list")}(e)},size:"small"})),l.default.createElement("div",{className:"selectedTable"},l.default.createElement(WWe,null)),l.default.createElement("div",{className:"selectAssetFooter"},l.default.createElement(r.Button,{type:"primary",onClick:e.handleOk,style:{marginLeft:16}},"确定使用"),l.default.createElement(r.Button,{onClick:function(){n("list")},className:"cancel"},"返回素材中心")))}function KWe(e){var n,a=e.visible,i=e.onClose,o=e.onCancel,s=e.onOk,u=e.selectValidator,c=I(AS.useAtom(v_),2),d=c[0],f=c[1],p=(AS.useAtomValue(g_),I(AS.useAtom(y_),2)),h=p[0],m=p[1],v=(AS.useAtomValue(x_),I(AS.useAtom(L_),2)),g=v[0],y=v[1],b=AS.useAtomValue(I_),w=I(AS.useAtom(S_),2),k=w[0],E=w[1],C=I(AS.useAtom(P_),2),S=C[1],_=AS.useAtomValue(w_),x=AS.useSetAtom(E_),A=AS.useSetAtom(N_),N=AS.useSetAtom(D_),D=function(){var e=u(k);if(e)r.Message.error(e);else{var t=(k||[]).reduce((function(e,t){return e[t.materialConfigId]?e[t.materialConfigId].materialIds.push(t.materialId):e[t.materialConfigId]={materialIds:[t.materialId],materialConfigId:t.materialConfigId},e}),{});ye.post("".concat(d.server,"/cem-material/v1/material/batchOp"),{list:Object.values(t),opType:2}).then((function(e){m(""),y("list"),x([]),A(QC),N(QC),E([]),s(k)}))}},T=function(){m(""),y("list"),x([]),E([]),A(QC),N(QC),o()};t.useEffect((function(){f({readonly:e.readonly,multiple:e.multiple,limit:e.limit,tabLists:e.tabLists,pictureSearchConditions:e.pictureSearchConditions,pictureColumn:e.pictureColumn,videoSearchConditions:e.videoSearchConditions,videoColumn:e.videoColumn,textSearchConditions:e.textSearchConditions,textColumn:e.textColumn,linkSearchConditions:e.linkSearchConditions,linkColumn:e.linkColumn,audioSearchConditions:e.audioSearchConditions,audioColum:e.audioColum,poiSearchConditions:e.poiSearchConditions,poiColumn:e.poiColumn,miniProgramSearchConditions:e.miniProgramSearchConditions,miniProgramColumn:e.miniProgramColumn,customParamCodeSearchConditions:e.customParamCodeSearchConditions,customParamCodeColumn:e.customParamCodeColumn,currentMenu:e.currentMenu,server:e.server,selectedMaterials:e.selectedMaterials,source:e.source,handleDisabledData:e.handleDisabledData,tooltipConfigs:e.tooltipConfigs,showType:e.showType,noLimit:e.noLimit})}),[e]),t.useEffect((function(){"hasData"===b.state&&E(b.data||[])}),[b]);var O=null===(n=JC.find((function(e){return e.type===h})))||void 0===n?void 0:n.name;return l.default.createElement(r.Modal,{className:"assetModal",hasFooter:"list"===g,title:l.default.createElement("div",{style:{display:"flex",alignItems:"center",gap:16}},l.default.createElement("p",null,1===e.tabLists.length?"".concat(O,"素材"):"素材中心")),clickMaskCanClose:!1,visible:a,modalStyle:{width:"870px",maxWidth:"none"},bodyStyle:{height:"600px",maxHeight:"initial",padding:0,display:"flex"},footer:l.default.createElement("div",{className:"assetModalFooter"},l.default.createElement("div",{className:"footerLeft"}),l.default.createElement("div",{className:"footerRight"},l.default.createElement("div",{className:"footerOperate"},k&&k.length>0&&l.default.createElement(l.default.Fragment,null,l.default.createElement("span",{className:"select"},"已选",l.default.createElement("span",{className:"count",onClick:function(){y("select")}},k.length),!d.noLimit&&l.default.createElement(l.default.Fragment,null,l.default.createElement("span",{style:{cursor:"pointer"},onClick:function(){y("select")}},"/ ","".concat(d.limit)),l.default.createElement("span",null,"个"))),l.default.createElement(r.Button,{size:"small",onClick:function(){r.Modal.createModal(VWe).open({item:k.map((function(e){return e.id})),materialConfigId:_}).then((function(e){S(!0)}))}},l.default.createElement("span",null,l.default.createElement(yx,{type:"a-31",style:{marginRight:"8px"}}),"移动")),l.default.createElement(r.Button,{type:"normal",icon:"delete",size:"small",colorType:"danger",style:{marginLeft:16},onClick:function(){!function(){if(0!==k.length){var e=k.map((function(e){return e.id}));r.Modal.confirm({title:"确定删除所选素材吗?",isShowIcon:!0,icon:"warn",body:"删除后将无法恢复,若素材已经被内容作品使用,该素材将无法使用。",onOk:function(){ye.delete("".concat(d.server,"/cem-material/v1/material/batchDelete"),{data:e}).then((function(){r.Message.success("删除成功"),E([]),S(!0)}))},onCancel:function(){}})}else r.Message.warning("请选择素材")}()}},"删除"))),l.default.createElement("div",{className:"footerConfirm"},l.default.createElement(r.Button,{onClick:T,className:"cancel"},"取消"),l.default.createElement(r.Button,{type:"primary",onClick:D,style:{marginLeft:16}},"确定")))),onClose:function(){m(""),y("list"),x([]),E([]),A(QC),N(QC),i()}},l.default.createElement("div",{className:"assetModalWarp"},"hasData"===b.state&&l.default.createElement(Hx,null),"create"===g&&l.default.createElement(jWe,null),"hasData"===b.state&&"select"===g&&l.default.createElement(GWe,{handleOk:D}),"loading"===b.state&&l.default.createElement(r.Loading,{loading:"loading"===b.state})))}KWe.propTypes={readonly:et.bool,multiple:et.bool,limit:et.number,tabLists:et.array,pictureSearchConditions:et.array,pictureColumn:et.array,videoSearchConditions:et.array,videoColumn:et.array,textSearchConditions:et.array,textColumn:et.array,linkSearchConditions:et.array,linkColumn:et.array,audioSearchConditions:et.array,audioColum:et.array,poiSearchConditions:et.array,poiColumn:et.array,miniProgramSearchConditions:et.array,miniProgramColumn:et.array,customParamCodeSearchConditions:et.array,customParamCodeColumn:et.array,onClose:et.func,onCancel:et.func,visible:et.bool,currentMenu:et.string,server:et.string,selectedMaterials:et.array,selectValidator:et.func,handleDisabledData:et.func,tooltipConfigs:et.array,showType:et.string,noLimit:et.bool},KWe.defaultProps={readonly:!1,multiple:!1,limit:1,tabLists:XC,visible:!1,pictureColumn:["materialName","materialSize","uploadType","categoryName","createTime","operate"],textColumn:["materialName","materialSize","addType","materialSize","createTime","uploadType","categoryName","operate"],linkColumn:["materialName","linkUrl","createTime","operate"],videoColumn:["materialName","materialSize","uploadType","categoryName","createTime","operate"],audioColum:["materialName","materialSize","uploadType","categoryName","createTime","operate"],poiColumn:["materialName","positionInfo","enabled","createTime","operate"],miniProgramColumn:["materialName","applicationId","createTime","operate"],customParamCodeColumn:["materialName","productionInstancePage","productionInstancePagePath","createTime","operate"],currentMenu:"",server:"https://qa-ual.shuyun.com",source:"CEM",pictureSearchConditions:["materialName","uploadType","createTime","categoryId","materialSize"],videoSearchConditions:["materialName","uploadType","createTime","categoryId","materialSize"],textSearchConditions:["materialName","uploadType","createTime","categoryId","materialSize","addType"],linkSearchConditions:["materialName","createTime","categoryId"],audioSearchConditions:["materialName","uploadType","createTime","categoryId","materialSize"],poiSearchConditions:["materialName","positionInfo","enabled","createTime","categoryId"],miniProgramSearchConditions:["materialName","applicationId","createTime","categoryId"],customParamCodeSearchConditions:["materialName","pageInfo","createTime","categoryIdw"],selectedMaterials:[],noLimit:!1,showType:"list",selectValidator:function(){},handleDisabledData:function(){return[]},tooltipConfigs:[{tooltipMsg:"当前条目不可选",tooltipRowCls:"newCloud-table-row-disabled"}]};var YWe=["type","container","onCancel","onClose","onOk"],QWe=Se(),JWe={GOOD_SELECTOR:yr,GOODS_SELECTOR_PRO:yr,GOODS_SELECTOR_PRO_NEW:Yh,SHOP_SELECTOR:fo,SHOP_SELECTOR_NEW:Au,AREA_SELECTOR:Tr,AREA_SELECTOR_NEW:Jr,BLACK_SELECTOR:li,BLACK_SELECTOR_NEW:vi,CUSTOMER_VIEW:wl,DY_SMS_EDITOR:qC,SHOP_SELECTOR_PRO:rc,ENTERPRISE_CHAT_CHANNEL:zE,WELCOMES_PREVIEW:Xo,SUPER_SMS_SELECTOR:sl,CUSTOMER_VIEW_NEW:Hu,ASSET_SELECTOR:KWe};function XWe(e){var n=e.type,a=e.container,r=e.onCancel,i=e.onClose,o=e.onOk,u=x(e,YWe);function c(){setTimeout((function(){s.default.unmountComponentAtNode(a),QWe.body.removeChild(a)}),"CUSTOMER_VIEW_NEW"===n?500:0)}function d(){var e=document.querySelectorAll(".r-w_s-");null==e||e.forEach((function(e){document.body.removeChild(e)}));var t=document.querySelectorAll(".cloud-drawer1");null==t||t.forEach((function(e){(null==e?void 0:e.parentElement)&&document.body.removeChild(null==e?void 0:e.parentElement)}));var n=document.querySelectorAll(".newCloud-drawer1");null==n||n.forEach((function(e){(null==e?void 0:e.parentElement)&&document.body.removeChild(null==e?void 0:e.parentElement)}))}return t.useEffect((function(){return window.addEventListener("hashchange",(function(){d()})),function(){return window.removeEventListener("hashchange",d)}}),[]),l.default.createElement(JWe[n],E({visible:!0,onOk:function(e){o(e),c()},onCancel:function(){r("cancel"),c()},onClose:function(){i("close"),c()}},u))}function ZWe(e){var t="cloud-business-".concat(e.type),n=QWe.getElementById(t);return n||((n=QWe.createElement("div")).id=t,QWe.body.appendChild(n)),new Promise((function(t,a){s.default.render(l.default.createElement(XWe,E({},e,{container:n,onOk:t,onCancel:a,onClose:a})),n)}))}var $We="".concat(Ce,"-menu-shop-selector"),eGe="".concat($We,"-pane");function tGe(e,t,n){if(!t)return{checkedPlat:{},checkedShop:{}};var a=e.find((function(e){return e.key===t}))||e[0];if(!Array.isArray(a.children))return{checkedPlat:a,checkedShop:{}};var r=a.children.find((function(e){return n===e.key}))||a.children[0];return{checkedPlat:a,checkedShop:r}}var nGe=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).toggleSelector=function(e){n.preventClick(e),n.setState({isExpand:!n.state.isExpand}),n.props.onToggle()},n.collapseSelector=function(){n.state.isExpand&&(n.setState({isExpand:!1}),n.props.onToggle())},n.changeShop=function(e,t){return function(){n.setState({checkedShop:e,checkedPlat:t,isExpand:!1}),e.key!==n.state.checkedShop.key&&n.props.onShopChange(e,t)}},n.handleSearch=function(){n.props.onShopSearch(n.inputRef.current.inputRef.current.value)},n.preventClick=function(e){e.nativeEvent.stopImmediatePropagation()};var a=e.isExpand,r=tGe(e.source,e.checkedPlatKey,e.checkedShopKey);return n.state={isExpand:a,checkedPlat:r.checkedPlat,checkedShop:r.checkedShop,prevProps:e},n.inputRef=l.default.createRef(),n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.collapseSelector)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.collapseSelector)}},{key:"renderMenuSelector",value:function(){var e=this.state.isExpand,t=tt(eGe,{expand:e,collapse:!e});return l.default.createElement("div",{className:t,onClick:this.preventClick},l.default.createElement(a.Input,{hasClear:!0,className:"shop-search",placeholder:this.props.searchPlaceholder,ref:this.inputRef,suffix:l.default.createElement(a.Icon,{type:"search",onClick:this.handleSearch}),onEnter:this.handleSearch}),this.renderSelectorPane())}},{key:"renderSelectorPane",value:function(){var e=this;return this.props.source.map((function(t){return l.default.createElement("ul",{key:t.key},l.default.createElement("li",{className:"shop-plat"},t.title),t.children.map((function(n){var r=e.state.checkedShop.key===n.key,i=tt("shop-item",{checked:r});return l.default.createElement("li",{className:i,onClick:e.changeShop(n,t),key:n.key,role:"presentation"},l.default.createElement("span",{className:"shop-title"},n.title),r&&l.default.createElement(a.Icon,{className:"checked-flag",type:"check-circle-solid"}))})))}))}},{key:"renderMenuShop",value:function(){var e=this.props.replaceSelectPlat,t=this.state,n=t.checkedPlat,r=t.checkedShop;return l.default.createElement("div",{className:$We,onClick:this.toggleSelector},l.default.createElement("section",{className:"shop-logo-wrapper"},r.icon?l.default.createElement("img",{src:r.icon,alt:r.title,className:"shop-img-logo"}):l.default.createElement(a.Icon,{type:"shop",className:"shop-logo"})),l.default.createElement("p",{className:"shop-title-wrapper"},l.default.createElement("span",{className:"shop-plat"},e||n.title),l.default.createElement("span",{className:"shop-split"},"|"),l.default.createElement("span",{className:"shop-name"},r.title)))}},{key:"render",value:function(){return l.default.createElement(l.default.Fragment,null,this.renderMenuShop(),this.renderMenuSelector())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps;if(e.checkedPlatKey!==n.checkedPlatKey||e.checkedShopKey!==n.checkedShopKey||e.isExpand!==n.isExpand){var a=tGe(e.source,e.checkedPlatKey,e.checkedShopKey);return{isExpand:e.isExpand,checkedPlat:a.checkedPlat,checkedShop:a.checkedShop,prevProps:e}}return null}}]),t}(t.Component);nGe.propTypes={source:et.arrayOf(et.shape({title:et.node,key:et.string,children:et.array})),checkedShopKey:et.oneOfType([et.string,et.number]),checkedPlatKey:et.oneOfType([et.string,et.number]),isExpand:et.bool,searchPlaceholder:et.string,replaceSelectPlat:et.node,onShopSearch:et.func,onShopChange:et.func,onToggle:et.func},nGe.defaultProps={source:[],checkedPlatKey:null,checkedShopKey:null,searchPlaceholder:"输入关键字",isExpand:!1,replaceSelectPlat:null,onShopSearch:Ee,onShopChange:Ee,onToggle:Ee};var aGe="".concat(Ce,"-cc-menu");function rGe(e){var t="",n=e.split("/").reduce((function(e,n){return n?(t="".concat(t,"/").concat(n),[].concat(N(e),[t])):e}),[]);return n.slice(0,-1)}function iGe(){return window.location.hash.replace(/^#|(\?.*)/g,"")}function oGe(e,t,n){if(!Array.isArray(e)||!e.length)return{checkedPlatKey:null,checkedShopKey:null};var a=e[0];return{checkedPlatKey:t||a.key,checkedShopKey:n||(Array.isArray(a.children)&&a.children.length?a.children[0]:{}).key}}var lGe=function(e){function t(e){var n;y(this,t),(n=u(this,t,[e])).hashchangeFN=function(){var e=iGe(),t=rGe(e);n.setState({selectedKeys:[].concat(N(t),[e]),openKeys:t})},n.handleShopSearch=function(e){var t=n.props.shopSource.reduce((function(t,n){var a=n.children,r=a.filter((function(t){return t.title.includes(e)}));return Array.isArray(a)&&0!==a.length&&0!==r.length?[].concat(N(t),[f(f({},n),{},{children:r})]):t}),[]);n.setState({shopSource:t},(function(){n.props.onShopSearch(e,t)}))},n.handleToggle=function(){n.setState({shopSource:n.props.shopSource})},n.toggleSidebar=function(){n.setState({menuCollapsed:!n.state.menuCollapsed})},n.toggleSelector=function(e){e.nativeEvent.stopImmediatePropagation(),n.setState({selectorExpanded:!n.state.selectorExpanded})};var a=iGe(),r=rGe(a),i=[].concat(N(r),[a]),o=n.props.shopSource,l=oGe(o,e.checkedPlatKey,e.checkedShopKey);return n.state={shopSource:o,openKeys:r,selectedKeys:i,menuCollapsed:!1,selectorExpanded:!1,checkedPlatKey:l.checkedPlatKey,checkedShopKey:l.checkedShopKey,prevProps:e},n}return C(t,e),w(t,[{key:"componentDidMount",value:function(){window.addEventListener("hashchange",this.hashchangeFN)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("hashchange",this.hashchangeFN)}},{key:"renderHeader",value:function(){var e=this.state,t=e.checkedPlatKey,n=e.checkedShopKey,r=e.shopSource,i=e.selectorExpanded,o=this.props,s=o.onShopChange,u=o.searchPlaceholder,c=o.topPlaceholder,d=o.replaceSelectPlat;return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"".concat(aGe,"-toggle"),onClick:this.toggleSidebar},l.default.createElement(a.Icon,{type:"left-solid",className:"toggle-icon"})),l.default.createElement("div",{className:"".concat(aGe,"-top-placeholder")},c),r&&l.default.createElement(nGe,{isExpand:i,replaceSelectPlat:d,checkedPlatKey:t,checkedShopKey:n,source:r,searchPlaceholder:u,onShopSearch:this.handleShopSearch,onShopChange:s,onToggle:this.handleToggle}))}},{key:"renderCollpasedBar",value:function(){var e=this.props.shopSource;return l.default.createElement("div",{className:"menu-collapsed-bar"},l.default.createElement("div",{className:"collapsed-icon-wrapper",onClick:this.toggleSidebar},l.default.createElement(a.Icon,{type:"right-solid",className:"collapsed-icon"})),e&&l.default.createElement("div",{className:"collapsed-logo-wrapper",onClick:this.toggleSelector},l.default.createElement(a.Icon,{type:"shop",className:"collapsed-logo"})))}},{key:"render",value:function(){var e=this.state,t=e.openKeys,n=e.selectedKeys,r=e.menuCollapsed,i=this.props,o=i.onMenuItemClick,s=i.onSubMenuToggle,u=i.menuSource,c=i.style,d=tt(aGe,i.className,{collapsed:r});return l.default.createElement("div",{className:d,style:f(f({},c),{},{width:r?30:180})},l.default.createElement(a.Menu,{type:"link",header:this.renderHeader(),source:u,openKeys:t,selectedKeys:n,onSubMenuToggle:s,onItemClick:o}),r&&this.renderCollpasedBar())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps;if(e.checkedPlatKey!==n.checkedPlatKey||e.checkedShopKey!==n.checkedShopKey||!bt.equal(e.shopSource,n.shopSource)){var a=e.shopSource,r=oGe(a,e.checkedPlatKey,e.checkedShopKey);return{checkedPlatKey:r.checkedPlatKey,checkedShopKey:r.checkedShopKey,shopSource:a,prevProps:e}}return null}}]),t}(t.PureComponent);lGe.propTypes={style:et.object,className:et.string,shopSource:et.arrayOf(et.shape({title:et.node,key:et.string,children:et.array})),menuSource:et.arrayOf(et.shape({title:et.node,key:et.string,children:et.array})),checkedPlatKey:et.oneOfType([et.string,et.number]),replaceSelectPlat:et.node,checkedShopKey:et.oneOfType([et.string,et.number]),topPlaceholder:et.node,searchPlaceholder:et.string,onMenuItemClick:et.func,onSubMenuToggle:et.func,onShopChange:et.func,onShopSearch:et.func},lGe.defaultProps={style:{},className:"",shopSource:null,menuSource:[],topPlaceholder:null,searchPlaceholder:"请输入关键字",checkedPlatKey:null,checkedShopKey:null,replaceSelectPlat:null,onMenuItemClick:Ee,onSubMenuToggle:Ee,onShopSearch:Ee,onShopChange:Ee},"undefined"==typeof window&&console.warn("cloud-business 仅支持在浏览器环境进行使用!"),"undefined"==typeof window&&console.warn("cloud-business@0.1.120-8 仅支持在浏览器环境进行使用!");for(var sGe=document.getElementsByTagName("body")[0],uGe=0;7>uGe;uGe+=1){var cGe=window.localStorage.getItem("--shuyunBlue".concat(uGe+1));cGe&&sGe.style.setProperty("--shuyunBlue".concat(uGe+1),cGe)}e.AreaSelector=Tr,e.AreaSelectorNew=Jr,e.AssetSelector=KWe,e.BlackList=li,e.BlackListNew=vi,e.CcMenu=lGe,e.CustomerView=wl,e.CustomerViewNew=Hu,e.DySms=qC,e.Editor=cC,e.EnterpriseChatChannel=zE,e.GoodsSelectorPro=yr,e.GoodsSelectorProNew=Yh,e.Keyword=vC,e.SatisfactionSurvey=pr,e.ShopSelector=fo,e.ShopSelectorNew=Au,e.ShopSelectorPro=rc,e.SmsEditor=kC,e.SuperSmsSelector=sl,e.WelcomesPreview=Xo,e.default=ZWe,e.version="0.1.120-8",Object.defineProperty(e,"__esModule",{value:!0})}));