UNPKG

@dslate/semi

Version:

一个Semi Design风格的富文本编辑器 - A Semi Design style rich editor based on Slate

59 lines (53 loc) 2.5 MB
(function(_A,G){typeof exports=="object"&&typeof module<"u"?G(exports,require("react"),require("slate"),require("slate-react"),require("react-dom"),require("@douyinfe/semi-ui")):typeof define=="function"&&define.amd?define(["exports","react","slate","slate-react","react-dom","@douyinfe/semi-ui"],G):(_A=typeof globalThis<"u"?globalThis:_A||self,G(_A.lib={},_A.React,_A.Slate,_A.SlateReact,_A.ReactDOM,_A.SemiUI))})(this,function(_A,G,QA,Ye,FQ,$t){"use strict";function tY(A){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(A){for(const t in A)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(A,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>A[t]})}}return e.default=A,Object.freeze(e)}const Tr=tY(G);function yQ(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var lc={exports:{}},aB={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var uQ;function rY(){if(uQ)return aB;uQ=1;var A=G,e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,B={key:!0,ref:!0,__self:!0,__source:!0};function n(g,Q,I){var C,M={},u=null,f=null;I!==void 0&&(u=""+I),Q.key!==void 0&&(u=""+Q.key),Q.ref!==void 0&&(f=Q.ref);for(C in Q)r.call(Q,C)&&!B.hasOwnProperty(C)&&(M[C]=Q[C]);if(g&&g.defaultProps)for(C in Q=g.defaultProps,Q)M[C]===void 0&&(M[C]=Q[C]);return{$$typeof:e,type:g,key:u,ref:f,props:M,_owner:i.current}}return aB.Fragment=t,aB.jsx=n,aB.jsxs=n,aB}var QB={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var NQ;function iY(){return NQ||(NQ=1,process.env.NODE_ENV!=="production"&&function(){var A=G,e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),g=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),p=Symbol.iterator,x="@@iterator";function m(w){if(w===null||typeof w!="object")return null;var z=p&&w[p]||w[x];return typeof z=="function"?z:null}var v=A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(w){{for(var z=arguments.length,k=new Array(z>1?z-1:0),sA=1;sA<z;sA++)k[sA-1]=arguments[sA];V("error",w,k)}}function V(w,z,k){{var sA=v.ReactDebugCurrentFrame,dA=sA.getStackAddendum();dA!==""&&(z+="%s",k=k.concat([dA]));var fA=k.map(function(uA){return String(uA)});fA.unshift("Warning: "+z),Function.prototype.apply.call(console[w],console,fA)}}var Z=!1,J=!1,hA=!1,yA=!1,zA=!1,KA;KA=Symbol.for("react.module.reference");function pA(w){return!!(typeof w=="string"||typeof w=="function"||w===r||w===B||zA||w===i||w===I||w===C||yA||w===f||Z||J||hA||typeof w=="object"&&w!==null&&(w.$$typeof===u||w.$$typeof===M||w.$$typeof===n||w.$$typeof===g||w.$$typeof===Q||w.$$typeof===KA||w.getModuleId!==void 0))}function mA(w,z,k){var sA=w.displayName;if(sA)return sA;var dA=z.displayName||z.name||"";return dA!==""?k+"("+dA+")":k}function GA(w){return w.displayName||"Context"}function DA(w){if(w==null)return null;if(typeof w.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof w=="function")return w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case r:return"Fragment";case t:return"Portal";case B:return"Profiler";case i:return"StrictMode";case I:return"Suspense";case C:return"SuspenseList"}if(typeof w=="object")switch(w.$$typeof){case g:var z=w;return GA(z)+".Consumer";case n:var k=w;return GA(k._context)+".Provider";case Q:return mA(w,w.render,"ForwardRef");case M:var sA=w.displayName||null;return sA!==null?sA:DA(w.type)||"Memo";case u:{var dA=w,fA=dA._payload,uA=dA._init;try{return DA(uA(fA))}catch{return null}}}return null}var EA=Object.assign,xA=0,cA,nA,YA,JA,rA,CA,L;function T(){}T.__reactDisabledLog=!0;function W(){{if(xA===0){cA=console.log,nA=console.info,YA=console.warn,JA=console.error,rA=console.group,CA=console.groupCollapsed,L=console.groupEnd;var w={configurable:!0,enumerable:!0,value:T,writable:!0};Object.defineProperties(console,{info:w,log:w,warn:w,error:w,group:w,groupCollapsed:w,groupEnd:w})}xA++}}function tA(){{if(xA--,xA===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:EA({},w,{value:cA}),info:EA({},w,{value:nA}),warn:EA({},w,{value:YA}),error:EA({},w,{value:JA}),group:EA({},w,{value:rA}),groupCollapsed:EA({},w,{value:CA}),groupEnd:EA({},w,{value:L})})}xA<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var d=v.ReactCurrentDispatcher,oA;function O(w,z,k){{if(oA===void 0)try{throw Error()}catch(dA){var sA=dA.stack.trim().match(/\n( *(at )?)/);oA=sA&&sA[1]||""}return` `+oA+w}}var FA=!1,$;{var HA=typeof WeakMap=="function"?WeakMap:Map;$=new HA}function _(w,z){if(!w||FA)return"";{var k=$.get(w);if(k!==void 0)return k}var sA;FA=!0;var dA=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var fA;fA=d.current,d.current=null,W();try{if(z){var uA=function(){throw Error()};if(Object.defineProperty(uA.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(uA,[])}catch(ue){sA=ue}Reflect.construct(w,[],uA)}else{try{uA.call()}catch(ue){sA=ue}w.call(uA.prototype)}}else{try{throw Error()}catch(ue){sA=ue}w()}}catch(ue){if(ue&&sA&&typeof ue.stack=="string"){for(var MA=ue.stack.split(` `),eA=sA.stack.split(` `),RA=MA.length-1,vA=eA.length-1;RA>=1&&vA>=0&&MA[RA]!==eA[vA];)vA--;for(;RA>=1&&vA>=0;RA--,vA--)if(MA[RA]!==eA[vA]){if(RA!==1||vA!==1)do if(RA--,vA--,vA<0||MA[RA]!==eA[vA]){var ie=` `+MA[RA].replace(" at new "," at ");return w.displayName&&ie.includes("<anonymous>")&&(ie=ie.replace("<anonymous>",w.displayName)),typeof w=="function"&&$.set(w,ie),ie}while(RA>=1&&vA>=0);break}}}finally{FA=!1,d.current=fA,tA(),Error.prepareStackTrace=dA}var Xe=w?w.displayName||w.name:"",it=Xe?O(Xe):"";return typeof w=="function"&&$.set(w,it),it}function $A(w,z,k){return _(w,!1)}function aA(w){var z=w.prototype;return!!(z&&z.isReactComponent)}function jA(w,z,k){if(w==null)return"";if(typeof w=="function")return _(w,aA(w));if(typeof w=="string")return O(w);switch(w){case I:return O("Suspense");case C:return O("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case Q:return $A(w.render);case M:return jA(w.type,z,k);case u:{var sA=w,dA=sA._payload,fA=sA._init;try{return jA(fA(dA),z,k)}catch{}}}return""}var qA=Object.prototype.hasOwnProperty,WA={},ne=v.ReactDebugCurrentFrame;function le(w){if(w){var z=w._owner,k=jA(w.type,w._source,z?z.type:null);ne.setExtraStackFrame(k)}else ne.setExtraStackFrame(null)}function oe(w,z,k,sA,dA){{var fA=Function.call.bind(qA);for(var uA in w)if(fA(w,uA)){var MA=void 0;try{if(typeof w[uA]!="function"){var eA=Error((sA||"React class")+": "+k+" type `"+uA+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof w[uA]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw eA.name="Invariant Violation",eA}MA=w[uA](z,uA,sA,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(RA){MA=RA}MA&&!(MA instanceof Error)&&(le(dA),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",sA||"React class",k,uA,typeof MA),le(null)),MA instanceof Error&&!(MA.message in WA)&&(WA[MA.message]=!0,le(dA),b("Failed %s type: %s",k,MA.message),le(null))}}}var A0=Array.isArray;function Se(w){return A0(w)}function xe(w){{var z=typeof Symbol=="function"&&Symbol.toStringTag,k=z&&w[Symbol.toStringTag]||w.constructor.name||"Object";return k}}function SA(w){try{return ce(w),!1}catch{return!0}}function ce(w){return""+w}function g0(w){if(SA(w))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xe(w)),ce(w)}var ge=v.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0},Y,D,K;K={};function be(w){if(qA.call(w,"ref")){var z=Object.getOwnPropertyDescriptor(w,"ref").get;if(z&&z.isReactWarning)return!1}return w.ref!==void 0}function ZA(w){if(qA.call(w,"key")){var z=Object.getOwnPropertyDescriptor(w,"key").get;if(z&&z.isReactWarning)return!1}return w.key!==void 0}function se(w,z){if(typeof w.ref=="string"&&ge.current&&z&&ge.current.stateNode!==z){var k=DA(ge.current.type);K[k]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',DA(ge.current.type),w.ref),K[k]=!0)}}function Ze(w,z){{var k=function(){Y||(Y=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};k.isReactWarning=!0,Object.defineProperty(w,"key",{get:k,configurable:!0})}}function X(w,z){{var k=function(){D||(D=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};k.isReactWarning=!0,Object.defineProperty(w,"ref",{get:k,configurable:!0})}}var iA=function(w,z,k,sA,dA,fA,uA){var MA={$$typeof:e,type:w,key:z,ref:k,props:uA,_owner:fA};return MA._store={},Object.defineProperty(MA._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(MA,"_self",{configurable:!1,enumerable:!1,writable:!1,value:sA}),Object.defineProperty(MA,"_source",{configurable:!1,enumerable:!1,writable:!1,value:dA}),Object.freeze&&(Object.freeze(MA.props),Object.freeze(MA)),MA};function Ot(w,z,k,sA,dA){{var fA,uA={},MA=null,eA=null;k!==void 0&&(g0(k),MA=""+k),ZA(z)&&(g0(z.key),MA=""+z.key),be(z)&&(eA=z.ref,se(z,dA));for(fA in z)qA.call(z,fA)&&!l.hasOwnProperty(fA)&&(uA[fA]=z[fA]);if(w&&w.defaultProps){var RA=w.defaultProps;for(fA in RA)uA[fA]===void 0&&(uA[fA]=RA[fA])}if(MA||eA){var vA=typeof w=="function"?w.displayName||w.name||"Unknown":w;MA&&Ze(uA,vA),eA&&X(uA,vA)}return iA(w,MA,eA,dA,sA,ge.current,uA)}}var N0=v.ReactCurrentOwner,P0=v.ReactDebugCurrentFrame;function ke(w){if(w){var z=w._owner,k=jA(w.type,w._source,z?z.type:null);P0.setExtraStackFrame(k)}else P0.setExtraStackFrame(null)}var G0;G0=!1;function M0(w){return typeof w=="object"&&w!==null&&w.$$typeof===e}function L0(){{if(N0.current){var w=DA(N0.current.type);if(w)return` Check the render method of \``+w+"`."}return""}}function It(w){{if(w!==void 0){var z=w.fileName.replace(/^.*[\\\/]/,""),k=w.lineNumber;return` Check your code at `+z+":"+k+"."}return""}}var ye={};function l0(w){{var z=L0();if(!z){var k=typeof w=="string"?w:w.displayName||w.name;k&&(z=` Check the top-level render call using <`+k+">.")}return z}}function Je(w,z){{if(!w._store||w._store.validated||w.key!=null)return;w._store.validated=!0;var k=l0(z);if(ye[k])return;ye[k]=!0;var sA="";w&&w._owner&&w._owner!==N0.current&&(sA=" It was passed a child from "+DA(w._owner.type)+"."),ke(w),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,sA),ke(null)}}function m0(w,z){{if(typeof w!="object")return;if(Se(w))for(var k=0;k<w.length;k++){var sA=w[k];M0(sA)&&Je(sA,z)}else if(M0(w))w._store&&(w._store.validated=!0);else if(w){var dA=m(w);if(typeof dA=="function"&&dA!==w.entries)for(var fA=dA.call(w),uA;!(uA=fA.next()).done;)M0(uA.value)&&Je(uA.value,z)}}}function R0(w){{var z=w.type;if(z==null||typeof z=="string")return;var k;if(typeof z=="function")k=z.propTypes;else if(typeof z=="object"&&(z.$$typeof===Q||z.$$typeof===M))k=z.propTypes;else return;if(k){var sA=DA(z);oe(k,w.props,"prop",sA,w)}else if(z.PropTypes!==void 0&&!G0){G0=!0;var dA=DA(z);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",dA||"Unknown")}typeof z.getDefaultProps=="function"&&!z.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function dt(w){{for(var z=Object.keys(w.props),k=0;k<z.length;k++){var sA=z[k];if(sA!=="children"&&sA!=="key"){ke(w),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",sA),ke(null);break}}w.ref!==null&&(ke(w),b("Invalid attribute `ref` supplied to `React.Fragment`."),ke(null))}}function H0(w,z,k,sA,dA,fA){{var uA=pA(w);if(!uA){var MA="";(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(MA+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var eA=It(dA);eA?MA+=eA:MA+=L0();var RA;w===null?RA="null":Se(w)?RA="array":w!==void 0&&w.$$typeof===e?(RA="<"+(DA(w.type)||"Unknown")+" />",MA=" Did you accidentally export a JSX literal instead of a component?"):RA=typeof w,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",RA,MA)}var vA=Ot(w,z,k,dA,fA);if(vA==null)return vA;if(uA){var ie=z.children;if(ie!==void 0)if(sA)if(Se(ie)){for(var Xe=0;Xe<ie.length;Xe++)m0(ie[Xe],w);Object.freeze&&Object.freeze(ie)}else b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else m0(ie,w)}return w===r?dt(vA):R0(vA),vA}}function ht(w,z,k){return H0(w,z,k,!0)}function Pt(w,z,k){return H0(w,z,k,!1)}var lt=Pt,p0=ht;QB.Fragment=r,QB.jsx=lt,QB.jsxs=p0}()),QB}process.env.NODE_ENV==="production"?lc.exports=rY():lc.exports=iY();var mQ=lc.exports;const Z0=mQ.jsx,pQ=mQ.jsxs;function BY(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var Ec={exports:{}},wB={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var dQ;function sY(){if(dQ)return wB;dQ=1;var A=G,e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,B={key:!0,ref:!0,__self:!0,__source:!0};function n(g,Q,I){var C,M={},u=null,f=null;I!==void 0&&(u=""+I),Q.key!==void 0&&(u=""+Q.key),Q.ref!==void 0&&(f=Q.ref);for(C in Q)r.call(Q,C)&&!B.hasOwnProperty(C)&&(M[C]=Q[C]);if(g&&g.defaultProps)for(C in Q=g.defaultProps,Q)M[C]===void 0&&(M[C]=Q[C]);return{$$typeof:e,type:g,key:u,ref:f,props:M,_owner:i.current}}return wB.Fragment=t,wB.jsx=n,wB.jsxs=n,wB}var gs={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var DQ;function nY(){return DQ||(DQ=1,process.env.NODE_ENV!=="production"&&function(){var A=G,e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),g=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),p=Symbol.iterator,x="@@iterator";function m(w){if(w===null||typeof w!="object")return null;var z=p&&w[p]||w[x];return typeof z=="function"?z:null}var v=A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(w){{for(var z=arguments.length,k=new Array(z>1?z-1:0),sA=1;sA<z;sA++)k[sA-1]=arguments[sA];V("error",w,k)}}function V(w,z,k){{var sA=v.ReactDebugCurrentFrame,dA=sA.getStackAddendum();dA!==""&&(z+="%s",k=k.concat([dA]));var fA=k.map(function(uA){return String(uA)});fA.unshift("Warning: "+z),Function.prototype.apply.call(console[w],console,fA)}}var Z=!1,J=!1,hA=!1,yA=!1,zA=!1,KA;KA=Symbol.for("react.module.reference");function pA(w){return!!(typeof w=="string"||typeof w=="function"||w===r||w===B||zA||w===i||w===I||w===C||yA||w===f||Z||J||hA||typeof w=="object"&&w!==null&&(w.$$typeof===u||w.$$typeof===M||w.$$typeof===n||w.$$typeof===g||w.$$typeof===Q||w.$$typeof===KA||w.getModuleId!==void 0))}function mA(w,z,k){var sA=w.displayName;if(sA)return sA;var dA=z.displayName||z.name||"";return dA!==""?k+"("+dA+")":k}function GA(w){return w.displayName||"Context"}function DA(w){if(w==null)return null;if(typeof w.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof w=="function")return w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case r:return"Fragment";case t:return"Portal";case B:return"Profiler";case i:return"StrictMode";case I:return"Suspense";case C:return"SuspenseList"}if(typeof w=="object")switch(w.$$typeof){case g:var z=w;return GA(z)+".Consumer";case n:var k=w;return GA(k._context)+".Provider";case Q:return mA(w,w.render,"ForwardRef");case M:var sA=w.displayName||null;return sA!==null?sA:DA(w.type)||"Memo";case u:{var dA=w,fA=dA._payload,uA=dA._init;try{return DA(uA(fA))}catch{return null}}}return null}var EA=Object.assign,xA=0,cA,nA,YA,JA,rA,CA,L;function T(){}T.__reactDisabledLog=!0;function W(){{if(xA===0){cA=console.log,nA=console.info,YA=console.warn,JA=console.error,rA=console.group,CA=console.groupCollapsed,L=console.groupEnd;var w={configurable:!0,enumerable:!0,value:T,writable:!0};Object.defineProperties(console,{info:w,log:w,warn:w,error:w,group:w,groupCollapsed:w,groupEnd:w})}xA++}}function tA(){{if(xA--,xA===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:EA({},w,{value:cA}),info:EA({},w,{value:nA}),warn:EA({},w,{value:YA}),error:EA({},w,{value:JA}),group:EA({},w,{value:rA}),groupCollapsed:EA({},w,{value:CA}),groupEnd:EA({},w,{value:L})})}xA<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var d=v.ReactCurrentDispatcher,oA;function O(w,z,k){{if(oA===void 0)try{throw Error()}catch(dA){var sA=dA.stack.trim().match(/\n( *(at )?)/);oA=sA&&sA[1]||""}return` `+oA+w}}var FA=!1,$;{var HA=typeof WeakMap=="function"?WeakMap:Map;$=new HA}function _(w,z){if(!w||FA)return"";{var k=$.get(w);if(k!==void 0)return k}var sA;FA=!0;var dA=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var fA;fA=d.current,d.current=null,W();try{if(z){var uA=function(){throw Error()};if(Object.defineProperty(uA.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(uA,[])}catch(ue){sA=ue}Reflect.construct(w,[],uA)}else{try{uA.call()}catch(ue){sA=ue}w.call(uA.prototype)}}else{try{throw Error()}catch(ue){sA=ue}w()}}catch(ue){if(ue&&sA&&typeof ue.stack=="string"){for(var MA=ue.stack.split(` `),eA=sA.stack.split(` `),RA=MA.length-1,vA=eA.length-1;RA>=1&&vA>=0&&MA[RA]!==eA[vA];)vA--;for(;RA>=1&&vA>=0;RA--,vA--)if(MA[RA]!==eA[vA]){if(RA!==1||vA!==1)do if(RA--,vA--,vA<0||MA[RA]!==eA[vA]){var ie=` `+MA[RA].replace(" at new "," at ");return w.displayName&&ie.includes("<anonymous>")&&(ie=ie.replace("<anonymous>",w.displayName)),typeof w=="function"&&$.set(w,ie),ie}while(RA>=1&&vA>=0);break}}}finally{FA=!1,d.current=fA,tA(),Error.prepareStackTrace=dA}var Xe=w?w.displayName||w.name:"",it=Xe?O(Xe):"";return typeof w=="function"&&$.set(w,it),it}function $A(w,z,k){return _(w,!1)}function aA(w){var z=w.prototype;return!!(z&&z.isReactComponent)}function jA(w,z,k){if(w==null)return"";if(typeof w=="function")return _(w,aA(w));if(typeof w=="string")return O(w);switch(w){case I:return O("Suspense");case C:return O("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case Q:return $A(w.render);case M:return jA(w.type,z,k);case u:{var sA=w,dA=sA._payload,fA=sA._init;try{return jA(fA(dA),z,k)}catch{}}}return""}var qA=Object.prototype.hasOwnProperty,WA={},ne=v.ReactDebugCurrentFrame;function le(w){if(w){var z=w._owner,k=jA(w.type,w._source,z?z.type:null);ne.setExtraStackFrame(k)}else ne.setExtraStackFrame(null)}function oe(w,z,k,sA,dA){{var fA=Function.call.bind(qA);for(var uA in w)if(fA(w,uA)){var MA=void 0;try{if(typeof w[uA]!="function"){var eA=Error((sA||"React class")+": "+k+" type `"+uA+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof w[uA]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw eA.name="Invariant Violation",eA}MA=w[uA](z,uA,sA,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(RA){MA=RA}MA&&!(MA instanceof Error)&&(le(dA),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",sA||"React class",k,uA,typeof MA),le(null)),MA instanceof Error&&!(MA.message in WA)&&(WA[MA.message]=!0,le(dA),b("Failed %s type: %s",k,MA.message),le(null))}}}var A0=Array.isArray;function Se(w){return A0(w)}function xe(w){{var z=typeof Symbol=="function"&&Symbol.toStringTag,k=z&&w[Symbol.toStringTag]||w.constructor.name||"Object";return k}}function SA(w){try{return ce(w),!1}catch{return!0}}function ce(w){return""+w}function g0(w){if(SA(w))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xe(w)),ce(w)}var ge=v.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0},Y,D,K;K={};function be(w){if(qA.call(w,"ref")){var z=Object.getOwnPropertyDescriptor(w,"ref").get;if(z&&z.isReactWarning)return!1}return w.ref!==void 0}function ZA(w){if(qA.call(w,"key")){var z=Object.getOwnPropertyDescriptor(w,"key").get;if(z&&z.isReactWarning)return!1}return w.key!==void 0}function se(w,z){if(typeof w.ref=="string"&&ge.current&&z&&ge.current.stateNode!==z){var k=DA(ge.current.type);K[k]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',DA(ge.current.type),w.ref),K[k]=!0)}}function Ze(w,z){{var k=function(){Y||(Y=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};k.isReactWarning=!0,Object.defineProperty(w,"key",{get:k,configurable:!0})}}function X(w,z){{var k=function(){D||(D=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};k.isReactWarning=!0,Object.defineProperty(w,"ref",{get:k,configurable:!0})}}var iA=function(w,z,k,sA,dA,fA,uA){var MA={$$typeof:e,type:w,key:z,ref:k,props:uA,_owner:fA};return MA._store={},Object.defineProperty(MA._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(MA,"_self",{configurable:!1,enumerable:!1,writable:!1,value:sA}),Object.defineProperty(MA,"_source",{configurable:!1,enumerable:!1,writable:!1,value:dA}),Object.freeze&&(Object.freeze(MA.props),Object.freeze(MA)),MA};function Ot(w,z,k,sA,dA){{var fA,uA={},MA=null,eA=null;k!==void 0&&(g0(k),MA=""+k),ZA(z)&&(g0(z.key),MA=""+z.key),be(z)&&(eA=z.ref,se(z,dA));for(fA in z)qA.call(z,fA)&&!l.hasOwnProperty(fA)&&(uA[fA]=z[fA]);if(w&&w.defaultProps){var RA=w.defaultProps;for(fA in RA)uA[fA]===void 0&&(uA[fA]=RA[fA])}if(MA||eA){var vA=typeof w=="function"?w.displayName||w.name||"Unknown":w;MA&&Ze(uA,vA),eA&&X(uA,vA)}return iA(w,MA,eA,dA,sA,ge.current,uA)}}var N0=v.ReactCurrentOwner,P0=v.ReactDebugCurrentFrame;function ke(w){if(w){var z=w._owner,k=jA(w.type,w._source,z?z.type:null);P0.setExtraStackFrame(k)}else P0.setExtraStackFrame(null)}var G0;G0=!1;function M0(w){return typeof w=="object"&&w!==null&&w.$$typeof===e}function L0(){{if(N0.current){var w=DA(N0.current.type);if(w)return` Check the render method of \``+w+"`."}return""}}function It(w){{if(w!==void 0){var z=w.fileName.replace(/^.*[\\\/]/,""),k=w.lineNumber;return` Check your code at `+z+":"+k+"."}return""}}var ye={};function l0(w){{var z=L0();if(!z){var k=typeof w=="string"?w:w.displayName||w.name;k&&(z=` Check the top-level render call using <`+k+">.")}return z}}function Je(w,z){{if(!w._store||w._store.validated||w.key!=null)return;w._store.validated=!0;var k=l0(z);if(ye[k])return;ye[k]=!0;var sA="";w&&w._owner&&w._owner!==N0.current&&(sA=" It was passed a child from "+DA(w._owner.type)+"."),ke(w),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,sA),ke(null)}}function m0(w,z){{if(typeof w!="object")return;if(Se(w))for(var k=0;k<w.length;k++){var sA=w[k];M0(sA)&&Je(sA,z)}else if(M0(w))w._store&&(w._store.validated=!0);else if(w){var dA=m(w);if(typeof dA=="function"&&dA!==w.entries)for(var fA=dA.call(w),uA;!(uA=fA.next()).done;)M0(uA.value)&&Je(uA.value,z)}}}function R0(w){{var z=w.type;if(z==null||typeof z=="string")return;var k;if(typeof z=="function")k=z.propTypes;else if(typeof z=="object"&&(z.$$typeof===Q||z.$$typeof===M))k=z.propTypes;else return;if(k){var sA=DA(z);oe(k,w.props,"prop",sA,w)}else if(z.PropTypes!==void 0&&!G0){G0=!0;var dA=DA(z);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",dA||"Unknown")}typeof z.getDefaultProps=="function"&&!z.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function dt(w){{for(var z=Object.keys(w.props),k=0;k<z.length;k++){var sA=z[k];if(sA!=="children"&&sA!=="key"){ke(w),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",sA),ke(null);break}}w.ref!==null&&(ke(w),b("Invalid attribute `ref` supplied to `React.Fragment`."),ke(null))}}function H0(w,z,k,sA,dA,fA){{var uA=pA(w);if(!uA){var MA="";(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(MA+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var eA=It(dA);eA?MA+=eA:MA+=L0();var RA;w===null?RA="null":Se(w)?RA="array":w!==void 0&&w.$$typeof===e?(RA="<"+(DA(w.type)||"Unknown")+" />",MA=" Did you accidentally export a JSX literal instead of a component?"):RA=typeof w,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",RA,MA)}var vA=Ot(w,z,k,dA,fA);if(vA==null)return vA;if(uA){var ie=z.children;if(ie!==void 0)if(sA)if(Se(ie)){for(var Xe=0;Xe<ie.length;Xe++)m0(ie[Xe],w);Object.freeze&&Object.freeze(ie)}else b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else m0(ie,w)}return w===r?dt(vA):R0(vA),vA}}function ht(w,z,k){return H0(w,z,k,!0)}function Pt(w,z,k){return H0(w,z,k,!1)}var lt=Pt,p0=ht;gs.Fragment=r,gs.jsx=lt,gs.jsxs=p0}()),gs}process.env.NODE_ENV==="production"?Ec.exports=sY():Ec.exports=nY();var cY=Ec.exports;const UQ=cY.jsx;/*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed */var oY=/["'&<>]/,gY=aY;function aY(A){var e=""+A,t=oY.exec(e);if(!t)return e;var r,i="",B=0,n=0;for(B=t.index;B<e.length;B++){switch(e.charCodeAt(B)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}n!==B&&(i+=e.substring(n,B)),n=B+1,i+=r}return n!==B?i+e.substring(n,B):i}const GQ=BY(gY),fQ={plugins:[],locales:[{locale:"default"}],locale:"default"},z0=(A,e)=>{const{selection:t}=A;if(!t)return!1;const[r]=Array.from(QA.Editor.nodes(A,{match:i=>!QA.Editor.isEditor(i)&&QA.Element.isElement(i)&&QA.Editor.isBlock(A,i)&&i.type===e}));return!!r},QY=(A,e)=>{const t=z0(A,e);QA.Transforms.setNodes(A,{type:t?A.defaultElement:e},{hanging:!0,match:r=>!QA.Editor.isEditor(r)&&QA.Element.isElement(r)&&QA.Editor.isBlock(A,r)&&r.type===(t?e:A.defaultElement)})},Ar=(A,e,t)=>{const{selection:r}=A;if(!r)return t;const[i]=QA.Editor.nodes(A,{at:QA.Editor.unhangRange(A,r),match:n=>!QA.Editor.isEditor(n)&&QA.Element.isElement(n)&&QA.Editor.isBlock(A,n)&&e in n});if(!i)return t;const[B]=i;return B[e]??t},Wr=(A,e,t)=>{const{selection:r}=A;r&&QA.Transforms.setNodes(A,{[e]:t},{match:i=>!QA.Editor.isEditor(i)&&QA.Element.isElement(i)&&QA.Editor.isBlock(A,i)})},zQ=(A,e)=>{const{selection:t}=A;t&&QA.Transforms.unsetNodes(A,e,{match:r=>!QA.Editor.isEditor(r)&&QA.Element.isElement(r)&&QA.Editor.isBlock(A,r)})},xQ=A=>{const e=new FileReader;e.addEventListener("load",()=>{var t;(t=A.onSuccess)==null||t.call(A,{url:e.result})},!1),e.readAsDataURL(A.file)},jQ=A=>{const e=new FileReader;e.addEventListener("load",t=>{var r,i;let B=new Blob([(r=t==null?void 0:t.target)==null?void 0:r.result],{type:A.file.type});window.URL=window.URL||window.webkitURL,(i=A.onSuccess)==null||i.call(A,{url:window.URL.createObjectURL(B)})},!1),e.readAsDataURL(A.file)},RQ=(A,e,t)=>{const r=e.replace(/\[(\d+)\]/g,".$1").split(".");let i=A,B=t;for(const n of r)if(B=Object(i)[n],i=Object(i)[n],B===void 0)return t;return B},Cc=A=>{var e;if(!A.selection)return!1;const t=(e=QA.Editor.above(A))==null?void 0:e[0];return t?QA.Node.string(t)===""&&!t.children.some(r=>QA.Element.isElement(r)&&QA.Editor.isInline(A,r)):!1},IB=(A,e)=>{const t=A.selection;if(t&&QA.Range.isCollapsed(t)){const[r]=QA.Editor.nodes(A,{match:i=>!QA.Editor.isEditor(i)&&QA.Element.isElement(i)&&i.type===e});if(r){const[,i]=r,B=QA.Editor.start(A,i);if(QA.Point.equals(t.anchor,B))return!0}}return!1},HQ=(A,e)=>{const t=[...A];for(const r of e)if(r.locale)for(const{locale:i,...B}of r.locale){const n=t.find(g=>g.locale===i);if(n){const g={...n[r.type]||{}};n[r.type]={...B,...g}}else t.push({locale:i,[r.type]:{...B}})}return t},Kr=(A,e,t,r)=>e.filter(i=>i.nodeType===t).reduce((i,B)=>{const n={...i};if(!B.renderStyle)return{...n};let g={};return typeof B.renderStyle=="function"?g=B.renderStyle(A,r,B.props):A[B.type]&&(g=B.renderStyle),{...n,...g}},{});function wY(A){return A.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}).trim()}const hB=A=>typeof A!="object"?"":Object.keys(A).map(e=>{let t=A[e];return typeof t=="number"&&(t=t+"px"),`${wY(e)}:${t};`}).join(""),as=(A,e,t,r="dataurl")=>{const{onProgress:i,onError:B,onSuccess:n}=A;return new Promise((g,Q)=>{t==null||t(1);const I={...A,onProgress:C=>{i==null||i(C),t==null||t((C==null?void 0:C.percent)??0)},onError:(C,M)=>{Q(C),B==null||B(C,M),t==null||t(-1)},onSuccess:C=>{n==null||n(C),t==null||t(0),g(C)}};if(e)e(I);else{if(console.log("defaultType",r),r==="dataurl"){xQ(I);return}if(r==="bloburl"){jQ(I);return}alert("not support upload function"),Q("not support upload function"),B==null||B(new Error("not support upload function")),t==null||t(-1)}})},Mt=(A,e,t=!1)=>{const r=QA.Editor.marks(A);return(r==null?void 0:r[e])??t},Qs=(A,e,t)=>{QA.Editor.addMark(A,e,t)},lB=(A,e)=>{Mt(A,e)?QA.Editor.removeMark(A,e):QA.Editor.addMark(A,e,!0)};let IY=(A=21)=>crypto.getRandomValues(new Uint8Array(A)).reduce((e,t)=>(t&=63,t<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");const bQ=(A,e)=>e.reduce((t,r)=>{r.uuid||(r.uuid=`${r.type}_${IY()}`);const{isVoid:i,isInline:B,normalizeNode:n}=t;return r.isDefaultElement&&(t.defaultElement=r.type),"isVoid"in r&&(t.isVoid=g=>g.type===r.type?r.isVoid?typeof r.isVoid=="function"?r.isVoid(g):r.isVoid:!1:i(g)),"isInline"in r&&(t.isInline=g=>g.type===r.type?r.isInline?typeof r.isInline=="function"?r.isInline(g):r.isInline:!1:B(g)),"normalizeNode"in r&&(t.normalizeNode=g=>{if(r.normalizeNode){r.normalizeNode(g,A,n);return}n(g)}),typeof(r==null?void 0:r.withPlugin)=="function"?r==null?void 0:r.withPlugin(t):t},A),EB=G.createContext({uuid:void 0,type:void 0}),JQ=()=>G.useContext(EB),Mc=G.createContext({}),{Consumer:hY,Provider:SQ}=Mc,yr=()=>G.useContext(Mc),d0=()=>{const{uuid:A,type:e}=JQ(),{plugins:t,pluginProps:r}=er(),i=yr(),{setVisibleKey:B,disabled:n}=i,[g,Q]=G.useState(!1),[I,C]=G.useState(!1);G.useEffect(()=>{Q(i.visibleKey===A)},[i.visibleKey,A]),G.useEffect(()=>{var f;C(n||(((f=i.disabledTypes)==null?void 0:f.includes(e))??!1))},[i.disabledTypes,e,n]);const M=t==null?void 0:t.find(f=>f.uuid===A),u=G.useCallback(f=>{f?B==null||B(M==null?void 0:M.uuid):B==null||B(void 0)},[A]);return{visible:g,setVisible:u,props:{...(M==null?void 0:M.props)??{},...(r==null?void 0:r[e??""])??{}},uuid:A,type:M==null?void 0:M.type,disabled:I}},v0=G.createContext(fQ),{Provider:kQ}=v0,er=()=>G.useContext(v0),qe=()=>{const{type:A}=d0(),{locales:e,locale:t}=er();return(r,i)=>{const B=e.find(n=>n.locale===t)??{locale:"default"};return RQ(B,`${A?`${A}.${r}`:r}`,i)||i}},LQ=G.forwardRef(({value:A,onChange:e,children:t,disabled:r=!1},i)=>{const{plugins:B=[],pluginProps:n}=er(),g=G.useMemo(()=>bQ(Ye.withReact(QA.createEditor()),B),[]),[Q,I]=G.useState(void 0),[C,M]=G.useState(0),[u,f]=G.useState([]),p=G.useCallback(V=>{const Z=Array.isArray(V)?V:[V];f(u.filter(J=>!Z.includes(J)))},[u]),x=G.useCallback(V=>{const Z=Array.isArray(V)?V:[V];f(Array.from(new Set([...u,...Z])))},[u]),m=G.useCallback(V=>{if(QA.Text.isText(V)){const yA=Kr(V,B,"text",g);return`<span style="${hB(yA)}">${GQ(V.text)}</span>`}const Z=V.children.map(yA=>m(yA)),J=Kr(V,B,"element",g),hA=Object.values(B).find(yA=>yA.type===V.type&&yA.nodeType==="element");if(hA&&hA.serialize){const yA={...(hA==null?void 0:hA.props)??{},...(n==null?void 0:n[hA.type??""])??{},style:hB(J)};return hA.serialize(V,yA,Z)}return Z.join("").replace(/style=""/gi,"")},[B,n]),v=G.useCallback(V=>{if(QA.Text.isText(V)){const yA=Kr(V,B,"text",g);return{type:"node",name:"span",attrs:{style:hB(yA)},children:[{type:"text",text:GQ(V.text)}]}}const Z=V.children.map(yA=>v(yA)),J=Kr(V,B,"element",g),hA=Object.values(B).find(yA=>yA.type===V.type&&yA.nodeType==="element");if(hA&&hA.serializeWeapp){const yA={...(hA==null?void 0:hA.props)??{},...(n==null?void 0:n[hA.type??""])??{},style:hB(J)};return hA.serializeWeapp(V,yA,Z)}return Z},[B,n]),b=G.useCallback(()=>g,[g]);return G.useImperativeHandle(i,()=>({serialize:m,getEditor:b,serializeWeapp:v}),[m,b]),UQ(SQ,{value:{visibleKey:Q,setVisibleKey:I,disabledTypes:u,enablePluginByType:p,disablePluginByType:x,setPercent:M,percent:C,disabled:r},children:UQ(Ye.Slate,{editor:g,initialValue:A,value:A,onChange:e,children:t})})}),Fe={zhCN:"zh-cn",enUS:"en"};window._iconfont_svg_string_3062978='<svg><symbol id="icon-shipin" viewBox="0 0 1365 1024"><path d="M256.006827 42.669796a42.666382 42.666382 0 1 1 85.332764 0v938.660408a42.666382 42.666382 0 1 1-85.332764 0zM554.671502 383.147526c0-23.039846 16.213225-33.279778 37.546417-23.039847l227.838481 114.345905c41.813055 21.333191 40.959727 55.466297 0 75.94616l-33.279778 17.066553-193.705376 96.426024c-21.333191 10.239932-38.399744 0-38.399744-23.039847z" fill="#333333" ></path><path d="M0.008533 384.000853A41.813055 41.813055 0 0 1 41.821588 341.334471h255.998293a42.666382 42.666382 0 0 1 43.51971 42.666382 41.813055 41.813055 0 0 1-41.813054 42.666383h-255.998294A42.666382 42.666382 0 0 1 0.008533 384.000853zM0.008533 639.999147A41.813055 41.813055 0 0 1 41.821588 597.332764h255.998293a42.666382 42.666382 0 0 1 43.51971 42.666383 41.813055 41.813055 0 0 1-41.813054 42.666382h-255.998294A42.666382 42.666382 0 0 1 0.008533 639.999147zM1024.001707 384.000853a41.813055 41.813055 0 0 1 41.813054-42.666382h255.998294a42.666382 42.666382 0 0 1 41.813054 42.666382 41.813055 41.813055 0 0 1-41.813054 42.666383h-255.998294a42.666382 42.666382 0 0 1-41.813054-42.666383zM1024.001707 639.999147a41.813055 41.813055 0 0 1 41.813054-42.666383h255.998294a42.666382 42.666382 0 0 1 41.813054 42.666383 41.813055 41.813055 0 0 1-41.813054 42.666382h-255.998294a42.666382 42.666382 0 0 1-41.813054-42.666382z" fill="#333333" ></path><path d="M1024.001707 42.669796a42.666382 42.666382 0 1 1 85.332764 0v938.660408a42.666382 42.666382 0 1 1-85.332764 0z" fill="#333333" ></path><path d="M1262.933447 0.003413H102.407851A101.54599 101.54599 0 0 0 0.008533 101.549403v820.047866A103.252645 103.252645 0 0 0 102.407851 1023.996587h1160.525596a101.54599 101.54599 0 0 0 102.399318-101.54599V101.549403A103.252645 103.252645 0 0 0 1262.933447 0.003413z m17.066553 870.394198a68.266212 68.266212 0 0 1-67.412884 68.266211H152.754182a68.266212 68.266212 0 0 1-67.412884-68.266211V153.602389a68.266212 68.266212 0 0 1 67.412884-68.266211h1059.832934a68.266212 68.266212 0 0 1 67.412884 68.266211z" fill="#333333" ></path></symbol><symbol id="icon-video" viewBox="0 0 1024 1024"><path d="M864 643.296l-77.504-53.056v-125.376L864 412.32v230.976zM192 735.968V288.032L191.968 288 512 288.032h210.496v158.432c-0.032 0.512-0.192 1.024-0.192 1.536v256c0 0.384 0.224 0.704 0.224 1.088V736L192 735.968z m719.008-412.224a31.968 31.968 0 0 0-32.96 1.76l-91.552 62.048v-99.52A64.064 64.064 0 0 0 722.528 224H191.968A64.064 64.064 0 0 0 128 288.032V735.968C128 771.296 156.704 800 191.968 800h530.56a64.064 64.064 0 0 0 63.968-64.032v-42.592l0.384-25.312 91.04 62.336A32 32 0 0 0 928 704V352a32 32 0 0 0-16.992-28.256z" fill="#3E3A39" ></path><path d="M304 352a48 48 0 1 0 0.032 96.032A48 48 0 0 0 304 352" fill="#3E3A39" ></path></symbol><symbol id="icon-eye" viewBox="0 0 1024 1024"><path d="M511.978667 149.312c85.717333 0 164.202667 32.384 224.810666 86.058667l7.616 6.848c43.413333 39.552 111.936 110.229333 205.525334 212.053333a85.333333 85.333333 0 0 1 3.136 111.893333l-3.093334 3.562667-33.770666 36.586667c-82.133333 88.533333-142.229333 149.546667-180.352 183.061333-60.48 53.205333-138.581333 85.269333-223.872 85.269333-85.802667 0-164.352-32.448-224.981334-86.229333l-7.594666-6.826667c-43.370667-39.552-111.808-110.165333-205.333334-211.84a85.333333 85.333333 0 0 1-3.093333-111.978666l3.114667-3.562667 41.706666-45.098667c77.610667-83.328 134.677333-141.162667 171.157334-173.546666C347.584 181.76 426.154667 149.312 512 149.312z m0 64c-67.712 0-131.712 25.024-182.549334 70.122667l-7.253333 6.528c-37.674667 34.389333-96.725333 94.933333-176.384 180.906666l-24.597333 26.666667a21.333333 21.333333 0 0 0 0 28.885333L153.6 561.493333c80.938667 87.168 139.818667 147.072 175.850667 179.029334 50.837333 45.077333 114.794667 70.101333 182.506666 70.101333 67.285333 0 130.901333-24.725333 181.610667-69.333333l7.296-6.506667c37.952-34.389333 97.28-95.146667 177.237333-181.546667l24.704-26.816a21.333333 21.333333 0 0 0 0-28.864l-40.234666-43.498666c-77.013333-82.730667-133.333333-139.882667-168.256-170.794667-50.816-45.013333-114.730667-69.973333-182.357334-69.973333zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384z m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256z m0 42.666667a85.333333 85.333333 0 1 1-85.226667 89.6L426.666667 512h64a21.333333 21.333333 0 0 0 21.184-18.837333L512 490.666667v-64z" fill="#333333" ></path></symbol><symbol id="icon-no_eye" viewBox="0 0 1024 1024"><path d="M93.866667 322.773333a8.533333 8.533333 0 0 1 6.613333 3.114667c5.589333 6.848 10.261333 12.373333 14.058667 16.64 97.664 109.056 239.552 177.706667 397.482666 177.706667 162.752 0 308.48-72.917333 406.314667-187.84 1.493333-1.792 3.242667-3.882667 5.184-6.272a8.533333 8.533333 0 0 1 15.146667 5.376v9.813333l0.021333 8.32v51.754667a8.533333 8.533333 0 0 1-2.517333 6.037333 599.893333 599.893333 0 0 1-99.584 81.002667l82.474666 98.261333a8.533333 8.533333 0 0 1-1.066666 12.010667l-35.946667 30.165333a8.533333 8.533333 0 0 1-12.010667-1.045333l-89.813333-107.050667a593.045333 593.045333 0 0 1-145.450667 50.837333l44.074667 121.024a8.533333 8.533333 0 0 1-5.098667 10.944l-44.096 16.042667a8.533333 8.533333 0 0 1-10.944-5.098667l-48.448-133.098666a604.586667 604.586667 0 0 1-130.88-1.557334L390.4 714.517333a8.533333 8.533333 0 0 1-10.944 5.12l-44.096-16.064a8.533333 8.533333 0 0 1-5.12-10.944l45.184-124.096a593.066667 593.066667 0 0 1-131.584-47.744l-89.813333 107.029334a8.533333 8.533333 0 0 1-12.032 1.066666L106.026667 598.677333a8.533333 8.533333 0 0 1-1.066667-12.010666l82.474667-98.261334a599.872 599.872 0 0 1-80.981334-62.976c-4.352-4.032-10.56-10.026667-18.602666-18.005333A8.533333 8.533333 0 0 1 85.333333 401.386667v-70.101334c0-4.693333 3.84-8.533333 8.533334-8.533333z" fill="#333333" ></path></symbol><symbol id="icon-lock" viewBox="0 0 1024 1024"><path d="M785.066667 416h-61.866667v-121.6c0-108.8-91.733333-198.4-202.666667-198.4s-202.666667 89.6-202.666666 198.4v121.6h-78.933334c-55.466667 0-100.266667 44.8-100.266666 100.266667v311.466666c0 55.466667 44.8 100.266667 100.266666 100.266667h546.133334c55.466667 0 100.266667-44.8 100.266666-100.266667V516.266667c0-55.466667-44.8-100.266667-100.266666-100.266667z m-403.2-121.6c0-74.666667 61.866667-134.4 138.666666-134.4s138.666667 59.733333 138.666667 134.4v121.6h-277.333333v-121.6z m439.466666 533.333333c0 19.2-17.066667 36.266667-36.266666 36.266667H238.933333c-19.2 0-36.266667-17.066667-36.266666-36.266667V516.266667c0-19.2 17.066667-36.266667 36.266666-36.266667h546.133334c19.2 0 36.266667 17.066667 36.266666 36.266667v311.466666z" fill="#666666" ></path><path d="M512 544c-17.066667 0-32 14.933333-32 32v106.666667c0 17.066667 14.933333 32 32 32s32-14.933333 32-32v-106.666667c0-17.066667-14.933333-32-32-32z" fill="#666666" ></path></symbol><symbol id="icon-unlock" viewBox="0 0 1024 1024"><path d="M785.066667 416H381.866667v-121.6c0-74.666667 61.866667-134.4 138.666666-134.4 59.733333 0 113.066667 36.266667 132.266667 91.733333 6.4 17.066667 23.466667 25.6 40.533333 19.2 17.066667-6.4 25.6-23.466667 19.2-40.533333-27.733333-81.066667-104.533333-134.4-192-134.4-110.933333 0-202.666667 89.6-202.666666 198.4v121.6h-78.933334c-55.466667 0-100.266667 44.8-100.266666 100.266667v311.466666c0 55.466667 44.8 100.266667 100.266666 100.266667h546.133334c55.466667 0 100.266667-44.8 100.266666-100.266667V516.266667c0-55.466667-44.8-100.266667-100.266666-100.266667z m36.266666 411.733333c0 19.2-17.066667 36.266667-36.266666 36.266667H238.933333c-19.2 0-36.266667-17.066667-36.266666-36.266667V516.266667c0-19.2 17.066667-36.266667 36.266666-36.266667h546.133334c19.2 0 36.266667 17.066667 36.266666 36.266667v311.466666z" fill="#666666" ></path><path d="M512 544c-17.066667 0-32 14.933333-32 32v106.666667c0 17.066667 14.933333 32 32 32s32-14.933333 32-32v-106.666667c0-17.066667-14.933333-32-32-32z" fill="#666666" ></path></symbol><symbol id="icon-yuanjiao" viewBox="0 0 1024 1024"><path d="M0 341.333V170.667C0 76.8 76.8 0 170.667 0h170.666v85.333H170.667c-51.2 0-85.334 34.134-85.334 85.334v170.666H0z m0 341.334h85.333v170.666c0 51.2 34.134 85.334 85.334 85.334h170.666V1024H170.667C76.8 1024 0 947.2 0 853.333V682.667z m1024-341.334h-85.333V170.667c0-51.2-34.134-85.334-85.334-85.334H682.667V0h170.666C947.2 0 1024 76.8 1024 170.667v170.666z m0 341.334v170.666C1024 947.2 947.2 1024 853.333 1024H682.667v-85.333h170.666c51.2 0 85.334-34.134 85.334-85.334V682.667H1024z" ></path></symbol><symbol id="icon-radius-all" viewBox="0 0 1024 1024"><path d="M810.666667 1024h-597.333334C93.866667 1024 0 930.133333 0 810.666667v-597.333334C0 93.866667 93.866667 0 213.333333 0h597.333334C930.133333 0 1024 93.866667 1024 213.333333v597.333334c0 119.466667-93.866667 213.333333-213.333333 213.333333z m-597.333334-938.666667C145.066667 85.333333 85.333333 145.066667 85.333333 213.333333v597.333334c0 68.266667 59.733333 128 128 128h597.333334c68.266667 0 128-59.733333 128-128v-597.333334c0-68.266667-59.733333-128-128-128h-597.333334z" fill="#555555" ></path></symbol><symbol id="icon-zuoduiqi" viewBox="0 0 1024 1024"><path d="M56.888889 56.888889h56.888889v910.222222H56.888889zM170.666667 56.888889h796.444444v227.555555H170.666667V56.888889z m56.888889 56.888889v113.777778h682.666666V113.777778H227.555556zM170.666667 398.222222h568.888889v227.555556H170.666667V398.222222z m56.888889 56.888889v113.777778h455.111111V455.111111H227.555556zM170.666667 739.555556h796.444444v227.555555H170.666667v-227.555555z m56.888889 56.888888v113.777778h682.666666v-113.777778H227.555556z" fill="#333333" ></path></symbol><symbol id="icon-youduiqi" viewBox="0 0 1024 1024"><path d="M910.222222 56.888889h56.888889v910.222222h-56.888889zM853.333333 56.888889H56.888889v227.555555h796.444444V56.888889z m-56.888889 56.888889v113.777778H113.777778V113.777778h682.666666zM853.333333 398.222222H284.444444v227.555556h568.888889V398.222222z m-56.888889 56.888889v113.777778H341.333333V455.111111h455.111111zM853.333333 739.555556H56.888889v227.555555h796.444444v-227.555555z m-56.888889 56.888888v113.777778H113.777778v-113.777778h682.666666z" fill="#333333" ></path></symbol><symbol id="icon-shangduiqi" viewBox="0 0 1024 1024"><path d="M56.888889 56.888889h910.222222v56.888889H56.888889zM56.888889 170.666667v796.444444h227.555555V170.666667H56.888889z m56.888889 56.888889h113.777778v682.666666H113.777778V227.555556zM398.222222 170.666667v568.888889h227.555556V170.666667H398.222222z m56.888889 56.888889h113.777778v455.111111H455.111111V227.555556zM739.555556 170.666667v796.444444h227.555555V170.666667h-227.555555z m56.888888 56.888889h113.777778v682.666666h-113.777778V227.555556z" fill="#333333" ></path></symbol><symbol id="icon-xiaduiqi" viewBox="0 0 1024 1024"><path d="M56.888889 910.222222h910.222222v56.888889H56.888889zM284.444444 853.333333V56.888889H56.888889v796.444444h227.555555zM113.777778 113.777778h113.777778v682.666666H113.777778V113.777778zM625.777778 853.333333V284.444444H398.222222v568.888889h227.555556zM455.111111 341.333333h113.777778v455.111111H455.111111V341.333333zM967.111111 853.333333V56.888889h-227.555555v796.444444h227.555555zM796.444444 113.777778h113.777778v682.666666h-113.777778V113.777778z" fill="#333333" ></path></symbol><symbol id="icon-chuizhijuzhong" viewBox="0 0 1024 1024"><path d="M512 796.444444h56.888889v170.666667H512zM512 455.111111h56.888889v170.666667H512zM512 56.888889h56.888889v170.666667H512z" fill="#333333" ></path><path d="M113.777778 568.888889h853.333333v284.444444H113.777778v-284.444444z m56.888889 227.555555h739.555555v-170.666666H170.666667v170.666666zM284.444444 170.666667h512v284.444444H284.444444V170.666667z m56.888889 56.888889v170.666666h398.222223V227.555556H341.333333z" fill="#333333" ></path></symbol><symbol id="icon-shuipingjuzhong" viewBox="0 0 1024 1024"><path d="M56.888889 455.111111h170.666667v56.888889H56.888889zM398.222222 455.111111h170.666667v56.888889H398.222222zM796.444444 455.111111h170.666667v56.888889h-170.666667z" fill="#333333" ></path><path d="M455.111111 56.888889v853.333333H170.666667V56.888889h284.444444zM227.555556 113.777778v739.555555h170.666666V113.777778H227.555556zM853.333333 227.555556v512h-284.444444V227.555556h284.444444z m-56.888889 56.888888h-170.666666v398.222223h170.666666V284.444444z" fill="#333333" ></path></symbol><symbol id="icon-hengxiangpingfen" viewBox="0 0 1024 1024"><path d="M796.444444 170.666667h-227.555555v682.666666h227.555555V170.666667z m-56.888888 625.777777h-113.777778V227.555556h113.777778v568.888888zM455.111111 170.666667H227.555556v682.666666h227.555555V170.666667zM398.222222 796.444444H284.444444V227.555556h113.777778v568.888888zM910.222222 56.888889h56.888889v910.222222h-56.888889zM56.888889 56.888889h56.888889v910.222222H56.888889z" fill="#333333" ></path></symbol><symbol id="icon-zongxiangpingfen" viewBox="0 0 1024 1024"><path d="M170.666667 227.555556v227.555555h682.666666V227.555556H170.666667z m625.777777 56.888888v113.777778H227.555556V284.444444h568.888888zM170.666667 568.888889v227.555555h682.666666v-227.555555H170.666667z m625.777777 56.888889v113.777778H227.555556v-113.777778h568.888888zM56.888889 56.888889h910.222222v56.888889H56.888889zM56.888889 910.222222h910.222222v56.888889H56.888889z" fill="#333333" ></path></symbol><symbol id="icon-shangyiyiceng" viewBox="0 0 1024 1024"><path d="M113.777778 739.555556v113.777777h739.555555v-113.777777H113.777778z m-56.888889-56.888889h853.333333v227.555555H56.888889v-227.555555zM56.888889 512h341.333333v56.888889H56.888889zM568.888889 512h341.333333v56.888889h-341.333333z" fill="#333333" ></path><path d="M455.111111 113.777778h56.888889v625.777778H455.111111z" fill="#333333" ></path><path d="M648.533333 295.822222l39.822223-39.822222L483.555556 56.888889 284.444444 256l39.822223 39.822222 159.288889-159.288889z" fill="#333333" ></path></symbol><symbol id="icon-xiayiyiceng" viewBox="0 0 1024 1024"><path d="M853.333333 227.555556V113.777778H113.777778v113.77777