UNPKG

17.7 kBJavaScriptView Raw
1var e,t;e=void 0,t=function(){if("function"!=typeof Symbol){var e=0;Symbol=function(t){return"@@"+t+ ++e},Symbol.for=function(e){return"@@"+e}}var t=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i;function n(e){"string"!=typeof e&&(e=String(e));for(var t="",n=0;n<e.length;n++){var r=e[n];switch(r){case"<":t+="&lt;";break;case">":t+="&gt;";break;case'"':t+="&quot;";break;case"&":t+="&amp;";break;default:t+=r}}return t}var r=function(e,t){return String(e).replace(/(\n+)/g,"$1"+(t||"\t"))},o=function(e,t,n){return String(e).length>(t||40)||!n&&-1!==String(e).indexOf("\n")||-1!==String(e).indexOf("<")},i={};function l(e){var n="";for(var r in e){var o=e[r];null!=o&&(n&&(n+=" "),n+="-"==r[0]?r:i[r]||(i[r]=r.replace(/([A-Z])/g,"-$1").toLowerCase()),n+=": ",n+=o,"number"==typeof o&&!1===t.test(r)&&(n+="px"),n+=";")}return n||void 0}function u(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t){return Array.isArray(t)?t.reduce(a,e):null!=t&&!1!==t&&e.push(t),e}var c,_,f,s,p={},d=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function h(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var r,o=arguments,i={};for(r in t)"key"!==r&&"ref"!==r&&(i[r]=t[r]);if(arguments.length>3)for(n=[n],r=3;r<arguments.length;r++)n.push(o[r]);if(null!=n&&(i.children=n),"function"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===i[r]&&(i[r]=e.defaultProps[r]);return g(e,i,t&&t.key,t&&t.ref)}function g(e,t,n,r){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:null,__c:null,constructor:void 0};return c.vnode&&c.vnode(o),o}function b(e){return e.children}function k(e,t){this.props=e,this.context=t}function S(e,t){if(null==t)return e.__?S(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?S(e):null}function x(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return x(e)}}function w(e){(!e.__d&&(e.__d=!0)&&1===_.push(e)||s!==c.debounceRendering)&&((s=c.debounceRendering)||f)(j)}function j(){var e,t,n,r,o,i,l;for(_.sort(function(e,t){return t.__v.__b-e.__v.__b});e=_.pop();)e.__d&&(n=void 0,r=void 0,i=(o=(t=e).__v).__e,(l=t.__P)&&(n=[],r=N(l,o,h({},o),t.__n,void 0!==l.ownerSVGElement,null,n,null==i?S(o):i),P(n,o),r!=i&&x(o)))}function A(e,t,n,r,o,i,l,u,a){var c,_,f,s,y,h,m,g=n&&n.__k||d,b=g.length;if(u==p&&(u=null!=i?i[0]:b?S(n,0):null),c=0,t.__k=O(t.__k,function(n){if(null!=n){if(n.__=t,n.__b=t.__b+1,null===(f=g[c])||f&&n.key==f.key&&n.type===f.type)g[c]=void 0;else for(_=0;_<b;_++){if((f=g[_])&&n.key==f.key&&n.type===f.type){g[_]=void 0;break}f=null}if(s=N(e,n,f=f||p,r,o,i,l,u,a),(_=n.ref)&&f.ref!=_&&(m||(m=[]),f.ref&&m.push(f.ref,null,n),m.push(_,n.__c||s,n)),null!=s){if(null==h&&(h=s),null!=n.__d)s=n.__d,n.__d=null;else if(i==f||s!=u||null==s.parentNode){e:if(null==u||u.parentNode!==e)e.appendChild(s);else{for(y=u,_=0;(y=y.nextSibling)&&_<b;_+=2)if(y==s)break e;e.insertBefore(s,u)}"option"==t.type&&(e.value="")}u=s.nextSibling,"function"==typeof t.type&&(t.__d=s)}}return c++,n}),t.__e=h,null!=i&&"function"!=typeof t.type)for(c=i.length;c--;)null!=i[c]&&v(i[c]);for(c=b;c--;)null!=g[c]&&U(g[c],g[c]);if(m)for(c=0;c<m.length;c++)M(m[c],m[++c],m[++c])}function O(e,t,n){if(null==n&&(n=[]),null==e||"boolean"==typeof e)t&&n.push(t(null));else if(Array.isArray(e))for(var r=0;r<e.length;r++)O(e[r],t,n);else n.push(t?t("string"==typeof e||"number"==typeof e?g(null,e,null,null):null!=e.__e||null!=e.__c?g(e.type,e.props,e.key,null):e):e);return n}function C(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]="number"==typeof n&&!1===y.test(t)?n+"px":null==n?"":n}function E(e,t,n,r,o){var i,l,u,a,c;if(o?"className"===t&&(t="class"):"class"===t&&(t="className"),"key"===t||"children"===t);else if("style"===t)if(i=e.style,"string"==typeof n)i.cssText=n;else{if("string"==typeof r&&(i.cssText="",r=null),r)for(l in r)n&&l in n||C(i,l,"");if(n)for(u in n)r&&n[u]===r[u]||C(i,u,n[u])}else"o"===t[0]&&"n"===t[1]?(a=t!==(t=t.replace(/Capture$/,"")),t=((c=t.toLowerCase())in e?c:t).slice(2),n?(r||e.addEventListener(t,F,a),(e.l||(e.l={}))[t]=n):e.removeEventListener(t,F,a)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&!o&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/^xlink:?/,""))?null==n||!1===n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):null==n||!1===n?e.removeAttribute(t):e.setAttribute(t,n))}function F(e){this.l[e.type](c.event?c.event(e):e)}function N(e,t,n,r,o,i,l,u,a){var _,f,s,p,d,y,v,m,g,S,x=t.type;if(void 0!==t.constructor)return null;(_=c.__b)&&_(t);try{e:if("function"==typeof x){if(m=t.props,g=(_=x.contextType)&&r[_.__c],S=_?g?g.props.value:_.__:r,n.__c?v=(f=t.__c=n.__c).__=f.__E:("prototype"in x&&x.prototype.render?t.__c=f=new x(m,S):(t.__c=f=new k(m,S),f.constructor=x,f.render=T),g&&g.sub(f),f.props=m,f.state||(f.state={}),f.context=S,f.__n=r,s=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=x.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=h({},f.__s)),h(f.__s,x.getDerivedStateFromProps(m,f.__s))),p=f.props,d=f.state,s)null==x.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==x.getDerivedStateFromProps&&m!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(m,S),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(m,f.__s,S)){for(f.props=m,f.state=f.__s,f.__d=!1,f.__v=t,t.__e=n.__e,t.__k=n.__k,f.__h.length&&l.push(f),_=0;_<t.__k.length;_++)t.__k[_]&&(t.__k[_].__=t);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(m,f.__s,S),null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(p,d,y)})}f.context=S,f.props=m,f.state=f.__s,(_=c.__r)&&_(t),f.__d=!1,f.__v=t,f.__P=e,_=f.render(f.props,f.state,f.context),t.__k=O(null!=_&&_.type==b&&null==_.key?_.props.children:_),null!=f.getChildContext&&(r=h(h({},r),f.getChildContext())),s||null==f.getSnapshotBeforeUpdate||(y=f.getSnapshotBeforeUpdate(p,d)),A(e,t,n,r,o,i,l,u,a),f.base=t.__e,f.__h.length&&l.push(f),v&&(f.__E=f.__=null),f.__e=null}else t.__e=D(n.__e,t,n,r,o,i,l,a);(_=c.diffed)&&_(t)}catch(e){c.__e(e,t,n)}return t.__e}function P(e,t){c.__c&&c.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){c.__e(e,t.__v)}})}function D(e,t,n,r,o,i,l,u){var a,c,_,f,s,y=n.props,h=t.props;if(o="svg"===t.type||o,null==e&&null!=i)for(a=0;a<i.length;a++)if(null!=(c=i[a])&&(null===t.type?3===c.nodeType:c.localName===t.type)){e=c,i[a]=null;break}if(null==e){if(null===t.type)return document.createTextNode(h);e=o?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type),i=null}if(null===t.type)null!=i&&(i[i.indexOf(e)]=null),y!==h&&e.data!=h&&(e.data=h);else if(t!==n){if(null!=i&&(i=d.slice.call(e.childNodes)),_=(y=n.props||p).dangerouslySetInnerHTML,f=h.dangerouslySetInnerHTML,!u){if(y===p)for(y={},s=0;s<e.attributes.length;s++)y[e.attributes[s].name]=e.attributes[s].value;(f||_)&&(f&&_&&f.__html==_.__html||(e.innerHTML=f&&f.__html||""))}(function(e,t,n,r,o){var i;for(i in n)i in t||E(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"value"===i||"checked"===i||n[i]===t[i]||E(e,i,t[i],n[i],r)})(e,h,y,o,u),t.__k=t.props.children,f||A(e,t,n,r,"foreignObject"!==t.type&&o,i,l,p,u),u||("value"in h&&void 0!==h.value&&h.value!==e.value&&(e.value=null==h.value?"":h.value),"checked"in h&&void 0!==h.checked&&h.checked!==e.checked&&(e.checked=h.checked))}return e}function M(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){c.__e(e,n)}}function U(e,t,n){var r,o,i;if(c.unmount&&c.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||M(r,null,t)),n||"function"==typeof e.type||(n=null!=(o=e.__e)),e.__e=e.__d=null,null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){c.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&U(r[i],t,n);null!=o&&v(o)}function T(e,t,n){return this.constructor(e,n)}c={__e:function(e,t){for(var n,r;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(e))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(e)),r)return w(n.__E=n)}catch(t){e=t}throw e}},k.prototype.setState=function(e,t){var n;n=this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(n,this.props)),e&&h(n,e),null!=e&&this.__v&&(this.__e=!1,t&&this.__h.push(t),w(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},k.prototype.render=b,_=[],f="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout;var L={shallow:!0},W=[],H=/^(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)$/,I=function(){};R.render=R;var $=[];function R(e,t,i){var _=function e(t,i,_,f,s,p){if(null==t||"boolean"==typeof t)return"";Array.isArray(t)&&(t=m(b,null,t));var d=t.type,y=t.props,h=!1;i=i||{};var v,g=(_=_||{}).pretty,k=g&&"string"==typeof g?g:"\t";if("object"!=typeof t&&!d)return n(t);if("function"==typeof d){if(h=!0,!_.shallow||!f&&!1!==_.renderRootComponent){if(d===b){var S="",x=[];a(x,t.props.children);for(var w=0;w<x.length;w++)S+=(w>0&&g?"\n":"")+e(x[w],i,_,!1!==_.shallowHighOrder,s,p);return S}var j,A=t.__c={__v:t,context:i,props:t.props,setState:I,forceUpdate:I,__h:[]};if(c.__b&&c.__b(t),c.__r&&c.__r(t),d.prototype&&"function"==typeof d.prototype.render){var O=d.contextType,C=O&&i[O.__c],E=null!=O?C?C.props.value:O.__:i;(A=t.__c=new d(y,E)).__v=t,A._dirty=A.__d=!0,A.props=y,null==A.state&&(A.state={}),null==A._nextState&&null==A.__s&&(A._nextState=A.__s=A.state),A.context=E,d.getDerivedStateFromProps?A.state=u(u({},A.state),d.getDerivedStateFromProps(A.props,A.state)):A.componentWillMount&&(A.componentWillMount(),A.state=A._nextState!==A.state?A._nextState:A.__s!==A.state?A.__s:A.state),j=A.render(A.props,A.state,A.context)}else{var F=d.contextType,N=F&&i[F.__c];j=d.call(t.__c,y,null!=F?N?N.props.value:F.__:i)}return A.getChildContext&&(i=u(u({},i),A.getChildContext())),c.diffed&&c.diffed(t),e(j,i,_,!1!==_.shallowHighOrder,s,p)}d=(v=d).displayName||v!==Function&&v.name||function(e){var t=(Function.prototype.toString.call(e).match(/^\s*function\s+([^( ]+)/)||"")[1];if(!t){for(var n=-1,r=W.length;r--;)if(W[r]===e){n=r;break}n<0&&(n=W.push(e)-1),t="UnnamedComponent"+n}return t}(v)}var P,D,M="";if(y){var U=Object.keys(y);_&&!0===_.sortAttributes&&U.sort();for(var T=0;T<U.length;T++){var L=U[T],$=y[L];if("children"!==L){if(!L.match(/[\s\n\\/='"\0<>]/)&&(_&&_.allAttributes||"key"!==L&&"ref"!==L&&"__self"!==L&&"__source"!==L&&"defaultValue"!==L)){if("className"===L){if(y.class)continue;L="class"}else s&&L.match(/^xlink:?./)&&(L=L.toLowerCase().replace(/^xlink:?/,"xlink:"));if("htmlFor"===L){if(y.for)continue;L="for"}"style"===L&&$&&"object"==typeof $&&($=l($)),"a"===L[0]&&"r"===L[1]&&"boolean"==typeof $&&($=String($));var R=_.attributeHook&&_.attributeHook(L,$,i,_,h);if(R||""===R)M+=R;else if("dangerouslySetInnerHTML"===L)D=$&&$.__html;else if("textarea"===d&&"value"===L)P=$;else if(($||0===$||""===$)&&"function"!=typeof $){if(!(!0!==$&&""!==$||($=L,_&&_.xml))){M+=" "+L;continue}if("value"===L){if("select"===d){p=$;continue}"option"===d&&p==$&&(M+=" selected")}M+=" "+L+'="'+n($)+'"'}}}else P=$}}if(g){var B=M.replace(/^\n\s*/," ");B===M||~B.indexOf("\n")?g&&~M.indexOf("\n")&&(M+="\n"):M=B}if(M="<"+d+M+">",String(d).match(/[\s\n\\/='"\0<>]/))throw new Error(d+" is not a valid HTML tag name in "+M);var J,V=String(d).match(H)||_.voidElements&&String(d).match(_.voidElements),z=[];if(D)g&&o(D)&&(D="\n"+k+r(D,k)),M+=D;else if(null!=P&&a(J=[],P).length){for(var G=g&&~M.indexOf("\n"),q=!1,Z=0;Z<J.length;Z++){var K=J[Z];if(null!=K&&!1!==K){var Q=e(K,i,_,!0,"svg"===d||"foreignObject"!==d&&s,p);if(g&&!G&&o(Q)&&(G=!0),Q)if(g){var X=Q.length>0&&"<"!=Q[0];q&&X?z[z.length-1]+=Q:z.push(Q),q=X}else z.push(Q)}}if(g&&G)for(var Y=z.length;Y--;)z[Y]="\n"+k+r(z[Y],k)}if(z.length||D)M+=z.join("");else if(_&&_.xml)return M.substring(0,M.length-1)+" />";return!V||J||D?(g&&~M.indexOf("\n")&&(M+="\n"),M+="</"+d+">"):M=M.replace(/>$/," />"),M}(e,t,i);return c.__c&&c.__c(e,$),_}R.shallowRender=function(e,t){return R(e,t,L)};var B=/(\\|\"|\')/g,J=function(e){return e.replace(B,"\\$1")},V=Object.prototype.toString,z=Date.prototype.toISOString,G=Error.prototype.toString,q=RegExp.prototype.toString,Z=Symbol.prototype.toString,K=/^Symbol\((.*)\)(.*)$/,Q=/\n/gi,X=Object.getOwnPropertySymbols||function(e){return[]};function Y(e){return"[object Array]"===e||"[object ArrayBuffer]"===e||"[object DataView]"===e||"[object Float32Array]"===e||"[object Float64Array]"===e||"[object Int8Array]"===e||"[object Int16Array]"===e||"[object Int32Array]"===e||"[object Uint8Array]"===e||"[object Uint8ClampedArray]"===e||"[object Uint16Array]"===e||"[object Uint32Array]"===e}function ee(e){return""===e.name?"[Function anonymous]":"[Function "+e.name+"]"}function te(e){return Z.call(e).replace(K,"Symbol($1)")}function ne(e){return"["+G.call(e)+"]"}function re(e){if(!0===e||!1===e)return""+e;if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("number"===t)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===t)return'"'+J(e)+'"';if("function"===t)return ee(e);if("symbol"===t)return te(e);var n=V.call(e);return"[object WeakMap]"===n?"WeakMap {}":"[object WeakSet]"===n?"WeakSet {}":"[object Function]"===n||"[object GeneratorFunction]"===n?ee(e,min):"[object Symbol]"===n?te(e):"[object Date]"===n?z.call(e):"[object Error]"===n?ne(e):"[object RegExp]"===n?q.call(e):"[object Arguments]"===n&&0===e.length?"Arguments []":Y(n)&&0===e.length?e.constructor.name+" []":e instanceof Error&&ne(e)}function oe(e,t,n,r,o,i,l,u,a,c){var _="";if(e.length){_+=o;for(var f=n+t,s=0;s<e.length;s++)_+=f+ue(e[s],t,f,r,o,i,l,u,a,c),s<e.length-1&&(_+=","+r);_+=o+n}return"["+_+"]"}function ie(e,t,n,r,o,i,l,u,a,c){if((i=i.slice()).indexOf(e)>-1)return"[Circular]";i.push(e);var _=++u>l;if(!_&&e.toJSON&&"function"==typeof e.toJSON)return ue(e.toJSON(),t,n,r,o,i,l,u,a,c);var f=V.call(e);return"[object Arguments]"===f?_?"[Arguments]":function(e,t,n,r,o,i,l,u,a,c){return(c?"":"Arguments ")+oe(e,t,n,r,o,i,l,u,a,c)}(e,t,n,r,o,i,l,u,a,c):Y(f)?_?"[Array]":function(e,t,n,r,o,i,l,u,a,c){return(c?"":e.constructor.name+" ")+oe(e,t,n,r,o,i,l,u,a,c)}(e,t,n,r,o,i,l,u,a,c):"[object Map]"===f?_?"[Map]":function(e,t,n,r,o,i,l,u,a,c){var _="Map {",f=e.entries(),s=f.next();if(!s.done){_+=o;for(var p=n+t;!s.done;)_+=p+ue(s.value[0],t,p,r,o,i,l,u,a,c)+" => "+ue(s.value[1],t,p,r,o,i,l,u,a,c),(s=f.next()).done||(_+=","+r);_+=o+n}return _+"}"}(e,t,n,r,o,i,l,u,a,c):"[object Set]"===f?_?"[Set]":function(e,t,n,r,o,i,l,u,a,c){var _="Set {",f=e.entries(),s=f.next();if(!s.done){_+=o;for(var p=n+t;!s.done;)_+=p+ue(s.value[1],t,p,r,o,i,l,u,a,c),(s=f.next()).done||(_+=","+r);_+=o+n}return _+"}"}(e,t,n,r,o,i,l,u,a,c):"object"==typeof e?_?"[Object]":function(e,t,n,r,o,i,l,u,a,c){var _=(c?"":e.constructor?e.constructor.name+" ":"Object ")+"{",f=Object.keys(e).sort(),s=X(e);if(s.length&&(f=f.filter(function(e){return!("symbol"==typeof e||"[object Symbol]"===V.call(e))}).concat(s)),f.length){_+=o;for(var p=n+t,d=0;d<f.length;d++){var y=f[d];_+=p+ue(y,t,p,r,o,i,l,u,a,c)+": "+ue(e[y],t,p,r,o,i,l,u,a,c),d<f.length-1&&(_+=","+r)}_+=o+n}return _+"}"}(e,t,n,r,o,i,l,u,a,c):void 0}function le(e,t,n,r,o,i,l,u,a,c){for(var _,f=!1,s=0;s<a.length;s++)if((_=a[s]).test(e)){f=!0;break}return!!f&&_.print(e,function(e){return ue(e,t,n,r,o,i,l,u,a,c)},function(e){var r=n+t;return r+e.replace(Q,"\n"+r)},{edgeSpacing:o,spacing:r})}function ue(e,t,n,r,o,i,l,u,a,c){var _=re(e);return _||(le(e,t,n,r,o,i,l,u,a,c)||ie(e,t,n,r,o,i,l,u,a,c))}var ae={indent:2,min:!1,maxDepth:Infinity,plugins:[]};function ce(e){return new Array(e+1).join(" ")}var _e={test:function(e){return e&&"object"==typeof e&&"type"in e&&"props"in e&&"key"in e},print:function(e,t,n){return R(e,_e.context,_e.opts)}},fe={plugins:[_e]},se={attributeHook:function(e,t,o,i,l){var u=typeof t;if("dangerouslySetInnerHTML"===e)return!1;if(null==t||"function"===u&&!i.functions)return"";if(i.skipFalseAttributes&&!l&&(!1===t||("class"===e||"style"===e)&&""===t))return"";var a="string"==typeof i.pretty?i.pretty:"\t";return"string"!==u?("function"!==u||i.functionNames?(_e.context=o,_e.opts=i,~(t=function(e,t){var n,r;t?(function(e){if(Object.keys(e).forEach(function(e){if(!ae.hasOwnProperty(e))throw new Error("prettyFormat: Invalid option: "+e)}),e.min&&void 0!==e.indent&&0!==e.indent)throw new Error("prettyFormat: Cannot run with min option and indent")}(t),t=function(e){var t={};return Object.keys(ae).forEach(function(n){return t[n]=e.hasOwnProperty(n)?e[n]:ae[n]}),t.min&&(t.indent=0),t}(t)):t=ae;var o=t.min?" ":"\n",i=t.min?"":"\n";if(t&&t.plugins.length){var l=le(e,n=ce(t.indent),"",o,i,r=[],t.maxDepth,0,t.plugins,t.min);if(l)return l}return re(e)||(n||(n=ce(t.indent)),r||(r=[]),ie(e,n,"",o,i,r,t.maxDepth,0,t.plugins,t.min))}(t,fe)).indexOf("\n")&&(t=r("\n"+t,a)+"\n")):t="Function",r("\n"+e+"={"+t+"}",a)):"\n"+a+e+'="'+n(t)+'"'},jsx:!0,xml:!1,functions:!0,functionNames:!0,skipFalseAttributes:!0,pretty:" "};return function(e,t,n,r){return R(e,t,n=u(u({},se),n||{}))}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.preactRenderToString=t();
2//# sourceMappingURL=jsx.js.map