1"use strict";(self["webpackChunkwsxc_album"]=self["webpackChunkwsxc_album"]||[]).push([[2575],{34808:function(t,e,n){n.d(e,{c:function(){return c},j:function(){return a}});var r=n(98681);function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function c(n,r,o,a){var c=r&&r.prototype instanceof u?r:u,l=Object.create(c.prototype);return i(l,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],f=!1,d={p:0,n:0,v:t,a:h,f:h.bind(t,4),d:function(e,n){return i=e,a=0,c=t,d.n=n,s}};function h(n,r){for(a=n,c=r,e=0;!f&&u&&!o&&e<l.length;e++){var o,i=l[e],h=d.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=h&&((o=n<2&&h<i[1])?(a=0,d.v=r,d.n=i[1]):h<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,d.n=p,a=0))}if(o||n>1)return s;throw f=!0,r}return function(o,l,p){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&h(l,p),a=l,c=p;(e=a<2?t:c)||!f;){i||(a?a<3?(a>1&&(d.n=-1),h(a,c)):d.n=c:d.v=c);try{if(u=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(f=d.n<0)?c:n.call(r,d))!==s)break}catch(e){i=t,a=1,c=e}finally{u=1}}return{value:e,done:f}}}(n,o,a),!0),l}var s={};function u(){}function l(){}function f(){}e=Object.getPrototypeOf;var d=[][r]?e(e([][r]())):(i(e={},r,function(){return this}),e),h=f.prototype=u.prototype=Object.create(d);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,i(t,a,"GeneratorFunction")),t.prototype=Object.create(h),t}return l.prototype=f,i(h,"constructor",f),i(f,"constructor",l),l.displayName="GeneratorFunction",i(f,a,"GeneratorFunction"),i(h),i(h,a,"Generator"),i(h,r,function(){return this}),i(h,"toString",function(){return"[object Generator]"}),(o=function(){return{w:c,m:p}})()}function i(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}i=function(t,e,n,r){function a(e,n){i(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(a("next",0),a("throw",1),a("return",2))},i(t,e,n,r)}var a=function(){var t=(0,r.A)(o().m(function t(){var e,n,r,i,a;return o().w(function(t){while(1)switch(t.p=t.n){case 0:return t.p=0,t.n=1,wgoo.$http.get("/dcloud/api/v3/capacity/queryCapInfo",{},{handleError:!1});case 1:if(e=t.v,n=e.result,r=void 0===n?{}:n,i=e.errcode,0!=i){t.n=2;break}return t.a(2,r);case 2:t.n=4;break;case 3:t.p=3,a=t.v,console.error("getQueryCapInfo error:",a);case 4:return t.a(2,{})}},t,null,[[0,3]])}));return function(){return t.apply(this,arguments)}}(),c=9774==n.j?function(){var t=(0,r.A)(o().m(function t(){var e,n,r,i,c,s,u;return o().w(function(t){while(1)switch(t.p=t.n){case 0:return t.p=0,t.n=1,a();case 1:return e=t.v,n=e.isGrayUser,r=void 0!==n&&n,i=e.usedRate,c=void 0===i?0:i,s=r&&c>90&&c<100,t.a(2,s);case 2:return t.p=2,u=t.v,console.error("getLimitCapacity error:",u),t.a(2,!1)}},t,null,[[0,2]])}));return function(){return t.apply(this,arguments)}}():null},38335:function(t,e,n){n.d(e,{$W:function(){return c},LU:function(){return s},vB:function(){return u},yq:function(){return l}});var r=n(34293),o=n(23238),i=n.n(o),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{i().track(t,e,function(){"bury live event:".concat(t," params:")})}catch(n){}},c=function(t){a("vip_edit_profile_view",(0,r.A)({},t))},s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";a("vip_edit_profile_click",{element_name:t,page_name:e})},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";a("contact_telephone_page_pv",{if_verification:t,page_name:e})},l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";a("store_send_verification_code",{referrer_title:t})}},33030:function(t,e,n){n.r(e),n.d(e,{default:function(){return G}});var r=n(74337),o=n(34293),i=n(62704),a=n(98681),c=n(95627),s=n(63887),u=n(3846),l=n(60738),f=n(52100),d=n(83763),h=n(41594),p=n.n(h),v=n(65026),y=n(39525),_=n(42266),g=n.n(_),w=n(85072),m=n.n(w),b=n(84309),k={insert:"head",singleton:!1},j=(m()(b.A,k),b.A.locals||{}),x=n(76984),A=n(38335),O=n(18809),S=["component"];function T(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof c?r:c,u=Object.create(s.prototype);return C(u,"_invoke",function(n,r,o){var i,c,s,u=0,l=o||[],f=!1,d={p:0,n:0,v:t,a:h,f:h.bind(t,4),d:function(e,n){return i=e,c=0,s=t,d.n=n,a}};function h(n,r){for(c=n,s=r,e=0;!f&&u&&!o&&e<l.length;e++){var o,i=l[e],h=d.p,p=i[2];n>3?(o=p===r)&&(s=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=h&&((o=n<2&&h<i[1])?(c=0,d.v=r,d.n=i[1]):h<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,d.n=p,c=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,p){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&h(l,p),c=l,s=p;(e=c<2?t:s)||!f;){i||(c?c<3?(c>1&&(d.n=-1),h(c,s)):d.n=s:d.v=s);
1try{if(u=2,i){if(c||(o="next"),e=i[o]){if(!(e=e.call(i,s)))throw TypeError("iterator result is not an object");if(!e.done)return e;s=e.value,c<2&&(c=0)}else 1===c&&(e=i.return)&&e.call(i),c<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=t}else if((e=(f=d.n<0)?s:n.call(r,d))!==a)break}catch(e){i=t,c=1,s=e}finally{u=1}}return{value:e,done:f}}}(n,o,i),!0),u}var a={};function c(){}function s(){}function u(){}e=Object.getPrototypeOf;var l=[][r]?e(e([][r]())):(C(e={},r,function(){return this}),e),f=u.prototype=c.prototype=Object.create(l);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,C(t,o,"GeneratorFunction")),t.prototype=Object.create(f),t}return s.prototype=u,C(f,"constructor",u),C(u,"constructor",s),s.displayName="GeneratorFunction",C(u,o,"GeneratorFunction"),C(f),C(f,o,"Generator"),C(f,r,function(){return this}),C(f,"toString",function(){return"[object Generator]"}),(T=function(){return{w:i,m:d}})()}function C(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}C=function(t,e,n,r){function i(e,n){C(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(i("next",0),i("throw",1),i("return",2))},C(t,e,n,r)}function F(t,e,n){return e=(0,f.A)(e),(0,u.A)(t,(0,l.A)()?Reflect.construct(e,n||[],(0,f.A)(t).constructor):e.apply(t,n))}var E=g().PickerRegion,G=function(t){function e(){var t;return(0,c.A)(this,e),t=F(this,e),t.state={showLoading:!0,showError:!1,errCode:0,errMsg:"",showToast:!1,showFloor:!1,province:"",city:"",district:"",address:"",full_address:""},t}return(0,d.A)(e,t),(0,s.A)(e,[{key:"componentDidMount",value:function(){var t=this.props.htmlTitle;setHtmlTitle(t),this.init()}},{key:"init",value:function(){var t=(0,a.A)(T().m(function t(){var e,n,r,o,i,a,c,s,u,l,f;return T().w(function(t){while(1)switch(t.p=t.n){case 0:return t.p=0,t.n=1,(0,x.EZ)();case 1:if(e=t.v,!e){t.n=2;break}return n=e.configValue,r=(0,x.Ol)(n),o=r.province,i=void 0===o?"":o,a=r.city,c=void 0===a?"":a,s=r.district,u=void 0===s?"":s,l=r.address,f=void 0===l?"":l,this.setState({province:i,city:c,district:u,address:f,full_address:"".concat(i).concat(c).concat(u),showLoading:!1}),t.a(2);case 2:this.setState({showLoading:!1,showError:!0}),t.n=4;break;case 3:t.p=3,t.v,this.setState({showLoading:!1,showError:!0});case 4:return t.a(2)}},t,this,[[0,3]])}));function e(){return t.apply(this,arguments)}return e}()},{key:"render",value:function(){var t=this,e=this.props.form,n=this.state,r=n.showLoading,a=n.showError,c=n.showToast;return r?(0,O.jsx)(v.Qp,{}):a?this._renderError():(0,O.jsxs)("div",{children:[e.map(function(e,n){var r=e.name,a=t.state[r],c=e.component,s=(0,i.A)(e,S);return"full_address"==r?(0,O.jsx)(v.Cp,{children:(0,O.jsx)(c,(0,o.A)((0,o.A)({},s),{},{readOnly:!0,value:a,onChange:t._handleChange.bind(t),onClick:t._handleShowFloor.bind(t),onFocus:function(t){return t.target.blur()}}))},n):(0,O.jsx)(v.Cp,{children:(0,O.jsx)(c,(0,o.A)((0,o.A)({},s),{},{value:a,onChange:t._handleChange.bind(t)}))},n)}),this._renderAddress(),(0,O.jsx)(v.Qn,{children:(0,O.jsx)(v.$n,{className:"wsxc_preservation custom_bury",onClick:this._handleSave.bind(this),children:"ä¿å"})}),(0,O.jsx)(v.y8,{icon:"loading",show:c,children:"æ£å¨ä¿å.."})]})}},{key:"_renderError",value:function(){var t=this.state,e=t.errMsg,n=t.errCode;return(0,O.jsx)(y.M,{errMsg:e,errCode:n})}},{key:"_renderAddress",value:function(){var t=this,e=this.props.address,n=this.state,r=n.showFloor,o=n.full_address,i=n.province,a=n.city,c=n.district;return(0,O.jsx)(E,{show:r,dataFrom:"tencent",isReturnLabel:!0,indexs:o?[i,a,c]:e,onSuccess:function(e,n){t._handleOk(e,n)},onCancel:function(){t._handleHideAddress()}},"shop-ship-address-picker-region")}},{key:"_handleChange",value:function(t){var e=t.target,n=e.name,o=e.value;"name"===n?this.setState((0,r.A)({},n,o)):this.setState((0,r.A)({},n,o.trim()))}},{key:"_handleShowFloor",value:function(t){this.setState({showFloor:!0})}},{key:"_handleSave",value:function(){var t=(0,a.A)(T().m(function t(e){var n,r,o,i,a,c,s;return T().w(function(t){while(1)switch(t.p=t.n){case 0:if(t.p=0,n=this.state,r=n.province,o=n.city,i=n.district,a=n.address,(0,A.LU)("é¨åºå°å-ä¿å"),this._val
1idate()){t.n=1;break}return t.a(2,!1);case 1:return c={province:r,city:o,district:i,address:a},loading.show($(e.target)),this._showToast(),t.n=2,(0,x.BF)(JSON.stringify(c));case 2:s=t.v,s?(loading.remove(),setTimeout(function(){(0,x.OE)()},1e3)):(loading.remove(),motify.show("ä¿å失败")),t.n=4;break;case 3:t.p=3,t.v,motify.show("ä¿å失败");case 4:return t.a(2)}},t,this,[[0,3]])}));function e(e){return t.apply(this,arguments)}return e}()},{key:"_handleOk",value:function(t,e){var n=e.map(function(t){return t}).join("");e.length>0&&this.setState({showFloor:!1,province:e[0],city:e[1],district:e[2],full_address:n})}},{key:"_handleHideAddress",value:function(t){this.setState({showFloor:!1})}},{key:"_showToast",value:function(){this.setState({showToast:!0})}},{key:"_hideToast",value:function(t){this.setState({showToast:!1},function(){"function"===typeof t&&t()})}},{key:"_validate",value:function(){var t=this.state,e=t.full_address,n=t.address;return e.length<=0?(motify.show("è¯·éæ©å°å~"),!1):!(n.length<=0)||(motify.show("请è¾å
¥è¯¦ç»å°å~"),!1)}}])}(p().Component);G.defaultProps={htmlTitle:"é¨åºå°å",address:["广ä¸ç","æ·±å³å¸","åå±±åº"],form:[{component:v.xV,name:"full_address",title:"å°åºä¿¡æ¯",type:"text",maxLength:16,className:"wsxc_regional_information custom_bury",placeholder:"è¯·éæ©å°å"},{component:v.B5,id:"address",name:"address",title:"详ç»å°å",maxLength:64,placeholder:"请è¾å
¥è¯¦ç»å°å",showCounter:!1,rows:1,autoHeight:!0,className:j["cell-text-area"]}]}},84309:function(t,e,n){var r=n(69267),o=n.n(r),i=o()(function(t){return t[1]});i.push([t.id,".index-module_cell-text-area_6aQMD{min-height:24px}",""]),i.locals={"cell-text-area":"index-module_cell-text-area_6aQMD"},e.A=i}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.