!function(n){"function"==typeof define&&define.amd?define(n):n()}(function(){var n,l,u,t,i,o,e,r,f,c,a={},s=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function d(n,l){for(var u in l)n[u]=l[u];return n}function p(n){var l=n.parentNode;l&&l.removeChild(n)}function y(l,u,t){var i,o,e,r={};for(e in u)"key"==e?i=u[e]:"ref"==e?o=u[e]:r[e]=u[e];if(arguments.length>2&&(r.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(e in l.defaultProps)void 0===r[e]&&(r[e]=l.defaultProps[e]);return _(l,r,i,o,null)}function _(n,t,i,o,e){var r={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==e?++u:e};return null==e&&null!=l.vnode&&l.vnode(r),r}function m(n){return n.children}function g(n,l){this.props=n,this.context=l}function k(n,l){if(null==l)return n.__?k(n.__,n.__.__k.indexOf(n)+1):null;for(var u;ll&&i.sort(r));C.__r=0}function x(n,l,u,t,i,o,e,r,f,c,h){var d,p,y,g,b,w,C,x,E,S=0,D=t&&t.__k||s,H=D.length,I=H,j=l.length;for(u.__k=[],d=0;d0?_(g.type,g.props,g.key,g.ref?g.ref:null,g.__v):g)?(g.__=u,g.__b=u.__b+1,-1===(x=A(g,D,C=d+S,I))?y=a:(y=D[x]||a,D[x]=void 0,I--),T(n,g,y,i,o,e,r,f,c,h),b=g.__e,(p=g.ref)&&y.ref!=p&&(y.ref&&F(y.ref,null,g),h.push(p,g.__c||b,g)),null!=b&&(null==w&&(w=b),(E=y===a||null===y.__v)?-1==x&&S--:x!==C&&(x===C+1?S++:x>C?I>j-C?S+=x-C:S--:S=x(null!=f?1:0))for(;e>=0||r=0){if((f=l[e])&&i==f.key&&o===f.type)return e;e--}if(r2&&(f.children=arguments.length>3?n.call(arguments,2):t),_(l.type,f,i||l.key,o||l.ref,null)},createContext:function(n,l){var u={__c:l="__cC"+f++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,w(n)})},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u},toChildArray:function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(v(l)?l.some(function(l){n(l,u)}):u.push(l)),u},options:l},typeof module<"u"?module.exports=c:self.preact=c}); //# sourceMappingURL=preact.min.umd.js.map