Comparing version 3.0.3 to 3.0.4
{ | ||
"name": "htm", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.", | ||
@@ -5,0 +5,0 @@ "main": "dist/htm.js", |
@@ -1,1 +0,1 @@ | ||
var e,n,t,o,r,_,u={},l=[],i=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function c(e,n){for(var t in n)e[t]=n[t];return e}function s(e){var n=e.parentNode;n&&n.removeChild(e)}function f(e,n,t){var o,r=arguments,_={};for(o in n)"key"!==o&&"ref"!==o&&(_[o]=n[o]);if(arguments.length>3)for(t=[t],o=3;o<arguments.length;o++)t.push(r[o]);if(null!=t&&(_.children=t),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===_[o]&&(_[o]=e.defaultProps[o]);return a(e,_,n&&n.key,n&&n.ref)}function a(n,t,o,r){var _={type:n,props:t,key:o,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0};return e.vnode&&e.vnode(_),_}function p(e){return e.children}function h(e,n){this.props=e,this.context=n}function d(e,n){if(null==n)return e.__?d(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?d(e):null}function v(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return v(e)}}function m(r){(!r.__d&&(r.__d=!0)&&1===n.push(r)||o!==e.debounceRendering)&&((o=e.debounceRendering)||t)(y)}function y(){var e,t,o,r,_,u,l;for(n.sort(function(e,n){return n.__v.__b-e.__v.__b});e=n.pop();)e.__d&&(o=void 0,r=void 0,u=(_=(t=e).__v).__e,(l=t.__P)&&(o=[],r=w(l,_,c({},_),t.__n,void 0!==l.ownerSVGElement,null,o,null==u?d(_):u),S(o,_),r!=u&&v(_)))}function g(e,n,t,o,r,_,i,c,f){var a,p,h,v,m,y,g,b=t&&t.__k||l,x=b.length;if(c==u&&(c=null!=_?_[0]:x?d(t,0):null),a=0,n.__k=k(n.__k,function(t){if(null!=t){if(t.__=n,t.__b=n.__b+1,null===(h=b[a])||h&&t.key==h.key&&t.type===h.type)b[a]=void 0;else for(p=0;p<x;p++){if((h=b[p])&&t.key==h.key&&t.type===h.type){b[p]=void 0;break}h=null}if(v=w(e,t,h=h||u,o,r,_,i,c,f),(p=t.ref)&&h.ref!=p&&(g||(g=[]),h.ref&&g.push(h.ref,null,t),g.push(p,t.__c||v,t)),null!=v){var l;if(null==y&&(y=v),void 0!==t.__d)l=t.__d,t.__d=void 0;else if(_==h||v!=c||null==v.parentNode){e:if(null==c||c.parentNode!==e)e.appendChild(v),l=null;else{for(m=c,p=0;(m=m.nextSibling)&&p<x;p+=2)if(m==v)break e;e.insertBefore(v,c),l=c}"option"==n.type&&(e.value="")}c=void 0!==l?l:v.nextSibling,"function"==typeof n.type&&(n.__d=c)}}return a++,t}),n.__e=y,null!=_&&"function"!=typeof n.type)for(a=_.length;a--;)null!=_[a]&&s(_[a]);for(a=x;a--;)null!=b[a]&&H(b[a],b[a]);if(g)for(a=0;a<g.length;a++)P(g[a],g[++a],g[++a])}function k(e,n,t){if(null==t&&(t=[]),null==e||"boolean"==typeof e)n&&t.push(n(null));else if(Array.isArray(e))for(var o=0;o<e.length;o++)k(e[o],n,t);else t.push(n?n("string"==typeof e||"number"==typeof e?a(null,e,null,null):null!=e.__e||null!=e.__c?a(e.type,e.props,e.key,null):e):e);return t}function b(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]="number"==typeof t&&!1===i.test(n)?t+"px":null==t?"":t}function x(e,n,t,o,r){var _,u,l,i,c;if(r?"className"===n&&(n="class"):"class"===n&&(n="className"),"key"===n||"children"===n);else if("style"===n)if(_=e.style,"string"==typeof t)_.cssText=t;else{if("string"==typeof o&&(_.cssText="",o=null),o)for(u in o)t&&u in t||b(_,u,"");if(t)for(l in t)o&&t[l]===o[l]||b(_,l,t[l])}else"o"===n[0]&&"n"===n[1]?(i=n!==(n=n.replace(/Capture$/,"")),c=n.toLowerCase(),n=(c in e?c:n).slice(2),t?(o||e.addEventListener(n,C,i),(e.l||(e.l={}))[n]=t):e.removeEventListener(n,C,i)):"list"!==n&&"tagName"!==n&&"form"!==n&&"type"!==n&&"size"!==n&&!r&&n in e?e[n]=null==t?"":t:"function"!=typeof t&&"dangerouslySetInnerHTML"!==n&&(n!==(n=n.replace(/^xlink:?/,""))?null==t||!1===t?e.removeAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase(),t):null==t||!1===t?e.removeAttribute(n):e.setAttribute(n,t))}function C(n){this.l[n.type](e.event?e.event(n):n)}function w(n,t,o,r,_,u,l,i,s){var f,a,d,v,m,y,k,b,x,C,w=t.type;if(void 0!==t.constructor)return null;(f=e.__b)&&f(t);try{e:if("function"==typeof w){if(b=t.props,x=(f=w.contextType)&&r[f.__c],C=f?x?x.props.value:f.__:r,o.__c?k=(a=t.__c=o.__c).__=a.__E:("prototype"in w&&w.prototype.render?t.__c=a=new w(b,C):(t.__c=a=new h(b,C),a.constructor=w,a.render=D),x&&x.sub(a),a.props=b,a.state||(a.state={}),a.context=C,a.__n=r,d=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=w.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=c({},a.__s)),c(a.__s,w.getDerivedStateFromProps(b,a.__s))),v=a.props,m=a.state,d)null==w.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==w.getDerivedStateFromProps&&b!==v&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,C),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,C)){for(a.props=b,a.state=a.__s,a.__d=!1,a.__v=t,t.__e=o.__e,t.__k=o.__k,a.__h.length&&l.push(a),f=0;f<t.__k.length;f++)t.__k[f]&&(t.__k[f].__=t);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,C),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(v,m,y)})}a.context=C,a.props=b,a.state=a.__s,(f=e.__r)&&f(t),a.__d=!1,a.__v=t,a.__P=n,f=a.render(a.props,a.state,a.context),t.__k=null!=f&&f.type==p&&null==f.key?f.props.children:f,null!=a.getChildContext&&(r=c(c({},r),a.getChildContext())),d||null==a.getSnapshotBeforeUpdate||(y=a.getSnapshotBeforeUpdate(v,m)),g(n,t,o,r,_,u,l,i,s),a.base=t.__e,a.__h.length&&l.push(a),k&&(a.__E=a.__=null),a.__e=!1}else t.__e=E(o.__e,t,o,r,_,u,l,s);(f=e.diffed)&&f(t)}catch(n){e.__e(n,t,o)}return t.__e}function S(n,t){e.__c&&e.__c(t,n),n.some(function(t){try{n=t.__h,t.__h=[],n.some(function(e){e.call(t)})}catch(n){e.__e(n,t.__v)}})}function E(e,n,t,o,r,_,i,c){var s,f,a,p,h,d=t.props,v=n.props;if(r="svg"===n.type||r,null==e&&null!=_)for(s=0;s<_.length;s++)if(null!=(f=_[s])&&(null===n.type?3===f.nodeType:f.localName===n.type)){e=f,_[s]=null;break}if(null==e){if(null===n.type)return document.createTextNode(v);e=r?document.createElementNS("http://www.w3.org/2000/svg",n.type):document.createElement(n.type,v.is&&{is:v.is}),_=null}if(null===n.type)null!=_&&(_[_.indexOf(e)]=null),d!==v&&e.data!=v&&(e.data=v);else if(n!==t){if(null!=_&&(_[_.indexOf(e)]=null,_=l.slice.call(e.childNodes)),a=(d=t.props||u).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!c){if(d===u)for(d={},h=0;h<e.attributes.length;h++)d[e.attributes[h].name]=e.attributes[h].value;(p||a)&&(p&&a&&p.__html==a.__html||(e.innerHTML=p&&p.__html||""))}(function(e,n,t,o,r){var _;for(_ in t)_ in n||x(e,_,null,t[_],o);for(_ in n)r&&"function"!=typeof n[_]||"value"===_||"checked"===_||t[_]===n[_]||x(e,_,n[_],t[_],o)})(e,v,d,r,c),n.__k=n.props.children,p||g(e,n,t,o,"foreignObject"!==n.type&&r,_,i,u,c),c||("value"in v&&void 0!==v.value&&v.value!==e.value&&(e.value=null==v.value?"":v.value),"checked"in v&&void 0!==v.checked&&v.checked!==e.checked&&(e.checked=v.checked))}return e}function P(n,t,o){try{"function"==typeof n?n(t):n.current=t}catch(n){e.__e(n,o)}}function H(n,t,o){var r,_,u;if(e.unmount&&e.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||P(r,null,t)),o||"function"==typeof n.type||(o=null!=(_=n.__e)),n.__e=n.__d=void 0,null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){e.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(u=0;u<r.length;u++)r[u]&&H(r[u],t,o);null!=_&&s(_)}function D(e,n,t){return this.constructor(e,t)}function T(e){var n={},t={__c:"__cC"+_++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var o,r=this;return this.getChildContext||(o=[],this.getChildContext=function(){return n[t.__c]=r,n},this.shouldComponentUpdate=function(n){e.value!==n.value&&o.some(function(e){e.context=n.value,m(e)})},this.sub=function(e){o.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){o.splice(o.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Consumer.contextType=t,t}e={__e:function(e,n){for(var t,o;n=n.__;)if((t=n.__c)&&!t.__)try{if(t.constructor&&null!=t.constructor.getDerivedStateFromError&&(o=!0,t.setState(t.constructor.getDerivedStateFromError(e))),null!=t.componentDidCatch&&(o=!0,t.componentDidCatch(e)),o)return m(t.__E=t)}catch(n){e=n}throw e}},h.prototype.setState=function(e,n){var t;t=this.__s!==this.state?this.__s:this.__s=c({},this.state),"function"==typeof e&&(e=e(t,this.props)),e&&c(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),m(this))},h.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),m(this))},h.prototype.render=p,n=[],t="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,r=u,_=0;var U,N,M,A=[],F=e.__r,L=e.diffed,W=e.__c,O=e.unmount;function R(n){e.__h&&e.__h(N);var t=N.__H||(N.__H={t:[],u:[]});return n>=t.t.length&&t.t.push({}),t.t[n]}function V(e){return I(ee,e)}function I(e,n,t){var o=R(U++);return o.__c||(o.__c=N,o.i=[t?t(n):ee(void 0,n),function(n){var t=e(o.i[0],n);o.i[0]!==t&&(o.i[0]=t,o.__c.setState({}))}]),o.i}function q(e,n){var t=R(U++);Z(t.o,n)&&(t.i=e,t.o=n,N.__H.u.push(t))}function B(e,n){var t=R(U++);Z(t.o,n)&&(t.i=e,t.o=n,N.__h.push(t))}function $(e){return z(function(){return{current:e}},[])}function j(e,n,t){B(function(){"function"==typeof e?e(n()):e&&(e.current=n())},null==t?t:t.concat(e))}function z(e,n){var t=R(U++);return Z(t.o,n)?(t.o=n,t.v=e,t.i=e()):t.i}function G(e,n){return z(function(){return e},n)}function J(e){var n=N.context[e.__c];if(!n)return e.__;var t=R(U++);return null==t.i&&(t.i=!0,n.sub(N)),n.props.value}function K(n,t){e.useDebugValue&&e.useDebugValue(t?t(n):n)}function Q(){A.some(function(n){if(n.__P)try{n.__H.u.forEach(X),n.__H.u.forEach(Y),n.__H.u=[]}catch(t){return e.__e(t,n.m),!0}}),A=[]}function X(e){e.p&&e.p()}function Y(e){var n=e.i();"function"==typeof n&&(e.p=n)}function Z(e,n){return!e||n.some(function(n,t){return n!==e[t]})}function ee(e,n){return"function"==typeof n?n(e):n}e.__r=function(e){F&&F(e),U=0,(N=e.__c).__H&&(N.__H.u.forEach(X),N.__H.u.forEach(Y),N.__H.u=[])},e.diffed=function(n){L&&L(n);var t=n.__c;if(t){var o=t.__H;o&&o.u.length&&(1!==A.push(t)&&M===e.requestAnimationFrame||((M=e.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(o),cancelAnimationFrame(n),setTimeout(e)},o=setTimeout(t,100);"undefined"!=typeof window&&(n=requestAnimationFrame(t))})(Q))}},e.__c=function(n,t){t.some(function(n){try{n.__h.forEach(X),n.__h=n.__h.filter(function(e){return!e.i||Y(e)})}catch(o){t.some(function(e){e.__h&&(e.__h=[])}),t=[],e.__e(o,n.m)}}),W&&W(n,t)},e.unmount=function(n){O&&O(n);var t=n.__c;if(t){var o=t.__H;if(o)try{o.t.forEach(function(e){return e.p&&e.p()})}catch(n){e.__e(n,t.m)}}};var ne=function(e,n,t,o){var r;n[0]=0;for(var _=1;_<n.length;_++){var u=n[_++],l=n[_]?(n[0]|=u?1:2,t[n[_++]]):n[++_];3===u?o[0]=l:4===u?o[1]=Object.assign(o[1]||{},l):5===u?(o[1]=o[1]||{})[n[++_]]=l:6===u?o[1][n[++_]]+=l+"":u?(r=e.apply(l,ne(e,l,t,["",null])),o.push(r),l[0]?n[0]|=2:(n[_-2]=0,n[_]=r)):o.push(l)}return o},te=new Map;function oe(n,t){var o,_,i,c,s,a;o=n,_=t,i=t.firstElementChild,e.__&&e.__(o,_),s=(c=i===r)?null:i&&i.__k||_.__k,o=f(p,null,[o]),a=[],w(_,(c?_:i||_).__k=o,s||u,u,void 0!==_.ownerSVGElement,i&&!c?[i]:s?null:l.slice.call(_.childNodes),a,i||u,c),S(a,o)}var re=function(e){var n=te.get(this);return n||(n=new Map,te.set(this,n)),(n=ne(this,n.get(e)||(n.set(e,n=function(e){for(var n,t,o=1,r="",_="",u=[0],l=function(e){1===o&&(e||(r=r.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?u.push(0,e,r):3===o&&(e||r)?(u.push(3,e,r),o=2):2===o&&"..."===r&&e?u.push(4,e,0):2===o&&r&&!e?u.push(5,0,!0,r):o>=5&&((r||!e&&5===o)&&(u.push(o,0,r,t),o=6),e&&(u.push(o,e,0,t),o=6)),r=""},i=0;i<e.length;i++){i&&(1===o&&l(),l(i));for(var c=0;c<e[i].length;c++)n=e[i][c],1===o?"<"===n?(l(),u=[u],o=3):r+=n:4===o?"--"===r&&">"===n?(o=1,r=""):r=n+r[0]:_?n===_?_="":r+=n:'"'===n||"'"===n?_=n:">"===n?(l(),o=1):o&&("="===n?(o=5,t=r,r=""):"/"===n&&(o<5||">"===e[i][c+1])?(l(),3===o&&(u=u[0]),o=u,(u=u[0]).push(2,0,o),o=0):" "===n||"\t"===n||"\n"===n||"\r"===n?(l(),o=2):r+=n),3===o&&"!--"===r&&(o=4,u=u[0])}return l(),u}(e)),n),arguments,[])).length>1?n:n[0]}.bind(f);export{f as h,re as html,oe as render,h as Component,T as createContext,V as useState,I as useReducer,q as useEffect,B as useLayoutEffect,$ as useRef,j as useImperativeHandle,z as useMemo,G as useCallback,J as useContext,K as useDebugValue}; | ||
var e,n,t,_,o,r,u,l={},i=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function s(e,n){for(var t in n)e[t]=n[t];return e}function f(e){var n=e.parentNode;n&&n.removeChild(e)}function a(e,n,t){var _,o=arguments,r={};for(_ in n)"key"!==_&&"ref"!==_&&(r[_]=n[_]);if(arguments.length>3)for(t=[t],_=3;_<arguments.length;_++)t.push(o[_]);if(null!=t&&(r.children=t),"function"==typeof e&&null!=e.defaultProps)for(_ in e.defaultProps)void 0===r[_]&&(r[_]=e.defaultProps[_]);return p(e,r,n&&n.key,n&&n.ref,null)}function p(n,t,_,o,r){var u={type:n,props:t,key:_,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:r};return null==r&&(u.__v=u),e.vnode&&e.vnode(u),u}function h(e){return e.children}function d(e,n){this.props=e,this.context=n}function v(e,n){if(null==n)return e.__?v(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?v(e):null}function m(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return m(e)}}function y(r){(!r.__d&&(r.__d=!0)&&n.push(r)&&!t++||o!==e.debounceRendering)&&((o=e.debounceRendering)||_)(g)}function g(){for(var e;t=n.length;)e=n.sort(function(e,n){return e.__v.__b-n.__v.__b}),n=[],e.some(function(e){var n,t,_,o,r,u,l;e.__d&&(u=(r=(n=e).__v).__e,(l=n.__P)&&(t=[],(_=s({},r)).__v=_,o=H(l,r,_,n.__n,void 0!==l.ownerSVGElement,null,t,null==u?v(r):u),S(t,r),o!=u&&m(r)))})}function k(e,n,t,_,o,r,u,c,s){var a,p,h,d,m,y,g,k=t&&t.__k||i,x=k.length;if(c==l&&(c=null!=r?r[0]:x?v(t,0):null),a=0,n.__k=b(n.__k,function(t){if(null!=t){if(t.__=n,t.__b=n.__b+1,null===(h=k[a])||h&&t.key==h.key&&t.type===h.type)k[a]=void 0;else for(p=0;p<x;p++){if((h=k[p])&&t.key==h.key&&t.type===h.type){k[p]=void 0;break}h=null}if(d=H(e,t,h=h||l,_,o,r,u,c,s),(p=t.ref)&&h.ref!=p&&(g||(g=[]),h.ref&&g.push(h.ref,null,t),g.push(p,t.__c||d,t)),null!=d){var i;if(null==y&&(y=d),void 0!==t.__d)i=t.__d,t.__d=void 0;else if(r==h||d!=c||null==d.parentNode){e:if(null==c||c.parentNode!==e)e.appendChild(d),i=null;else{for(m=c,p=0;(m=m.nextSibling)&&p<x;p+=2)if(m==d)break e;e.insertBefore(d,c),i=c}"option"==n.type&&(e.value="")}c=void 0!==i?i:d.nextSibling,"function"==typeof n.type&&(n.__d=c)}else c&&h.__e==c&&c.parentNode!=e&&(c=v(h))}return a++,t}),n.__e=y,null!=r&&"function"!=typeof n.type)for(a=r.length;a--;)null!=r[a]&&f(r[a]);for(a=x;a--;)null!=k[a]&&D(k[a],k[a]);if(g)for(a=0;a<g.length;a++)P(g[a],g[++a],g[++a])}function b(e,n,t){if(null==t&&(t=[]),null==e||"boolean"==typeof e)n&&t.push(n(null));else if(Array.isArray(e))for(var _=0;_<e.length;_++)b(e[_],n,t);else t.push(n?n("string"==typeof e||"number"==typeof e?p(null,e,null,null,e):null!=e.__e||null!=e.__c?p(e.type,e.props,e.key,null,e.__v):e):e);return t}function x(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]="number"==typeof t&&!1===c.test(n)?t+"px":null==t?"":t}function w(e,n,t,_,o){var r,u,l,i,c;if(o?"className"===n&&(n="class"):"class"===n&&(n="className"),"style"===n)if(r=e.style,"string"==typeof t)r.cssText=t;else{if("string"==typeof _&&(r.cssText="",_=null),_)for(i in _)t&&i in t||x(r,i,"");if(t)for(c in t)_&&t[c]===_[c]||x(r,c,t[c])}else"o"===n[0]&&"n"===n[1]?(u=n!==(n=n.replace(/Capture$/,"")),l=n.toLowerCase(),n=(l in e?l:n).slice(2),t?(_||e.addEventListener(n,C,u),(e.l||(e.l={}))[n]=t):e.removeEventListener(n,C,u)):"list"!==n&&"tagName"!==n&&"form"!==n&&"type"!==n&&"size"!==n&&!o&&n in e?e[n]=null==t?"":t:"function"!=typeof t&&"dangerouslySetInnerHTML"!==n&&(n!==(n=n.replace(/^xlink:?/,""))?null==t||!1===t?e.removeAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase(),t):null==t||!1===t&&!/^ar/.test(n)?e.removeAttribute(n):e.setAttribute(n,t))}function C(n){this.l[n.type](e.event?e.event(n):n)}function H(n,t,_,o,r,u,l,i,c){var f,a,p,v,m,y,g,b,x,w,C=t.type;if(void 0!==t.constructor)return null;(f=e.__b)&&f(t);try{e:if("function"==typeof C){if(b=t.props,x=(f=C.contextType)&&o[f.__c],w=f?x?x.props.value:f.__:o,_.__c?g=(a=t.__c=_.__c).__=a.__E:("prototype"in C&&C.prototype.render?t.__c=a=new C(b,w):(t.__c=a=new d(b,w),a.constructor=C,a.render=N),x&&x.sub(a),a.props=b,a.state||(a.state={}),a.context=w,a.__n=o,p=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=C.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=s({},a.__s)),s(a.__s,C.getDerivedStateFromProps(b,a.__s))),v=a.props,m=a.state,p)null==C.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==C.getDerivedStateFromProps&&b!==v&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,w),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,w)||t.__v===_.__v&&!a.__){for(a.props=b,a.state=a.__s,t.__v!==_.__v&&(a.__d=!1),a.__v=t,t.__e=_.__e,t.__k=_.__k,a.__h.length&&l.push(a),f=0;f<t.__k.length;f++)t.__k[f]&&(t.__k[f].__=t);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,w),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(v,m,y)})}a.context=w,a.props=b,a.state=a.__s,(f=e.__r)&&f(t),a.__d=!1,a.__v=t,a.__P=n,f=a.render(a.props,a.state,a.context),t.__k=null!=f&&f.type==h&&null==f.key?f.props.children:Array.isArray(f)?f:[f],null!=a.getChildContext&&(o=s(s({},o),a.getChildContext())),p||null==a.getSnapshotBeforeUpdate||(y=a.getSnapshotBeforeUpdate(v,m)),k(n,t,_,o,r,u,l,i,c),a.base=t.__e,a.__h.length&&l.push(a),g&&(a.__E=a.__=null),a.__e=!1}else null==u&&t.__v===_.__v?(t.__k=_.__k,t.__e=_.__e):t.__e=E(_.__e,t,_,o,r,u,l,c);(f=e.diffed)&&f(t)}catch(n){t.__v=null,e.__e(n,t,_)}return t.__e}function S(n,t){e.__c&&e.__c(t,n),n.some(function(t){try{n=t.__h,t.__h=[],n.some(function(e){e.call(t)})}catch(n){e.__e(n,t.__v)}})}function E(e,n,t,_,o,r,u,c){var s,f,a,p,h,d=t.props,v=n.props;if(o="svg"===n.type||o,null!=r)for(s=0;s<r.length;s++)if(null!=(f=r[s])&&((null===n.type?3===f.nodeType:f.localName===n.type)||e==f)){e=f,r[s]=null;break}if(null==e){if(null===n.type)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",n.type):document.createElement(n.type,v.is&&{is:v.is}),r=null,c=!1}if(null===n.type)d!==v&&e.data!=v&&(e.data=v);else{if(null!=r&&(r=i.slice.call(e.childNodes)),a=(d=t.props||l).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!c){if(d===l)for(d={},h=0;h<e.attributes.length;h++)d[e.attributes[h].name]=e.attributes[h].value;(p||a)&&(p&&a&&p.__html==a.__html||(e.innerHTML=p&&p.__html||""))}(function(e,n,t,_,o){var r;for(r in t)"children"===r||"key"===r||r in n||w(e,r,null,t[r],_);for(r in n)o&&"function"!=typeof n[r]||"children"===r||"key"===r||"value"===r||"checked"===r||t[r]===n[r]||w(e,r,n[r],t[r],_)})(e,v,d,o,c),n.__k=n.props.children,p||k(e,n,t,_,"foreignObject"!==n.type&&o,r,u,l,c),c||("value"in v&&void 0!==v.value&&v.value!==e.value&&(e.value=null==v.value?"":v.value),"checked"in v&&void 0!==v.checked&&v.checked!==e.checked&&(e.checked=v.checked))}return e}function P(n,t,_){try{"function"==typeof n?n(t):n.current=t}catch(n){e.__e(n,_)}}function D(n,t,_){var o,r,u;if(e.unmount&&e.unmount(n),(o=n.ref)&&(o.current&&o.current!==n.__e||P(o,null,t)),_||"function"==typeof n.type||(_=null!=(r=n.__e)),n.__e=n.__d=void 0,null!=(o=n.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(n){e.__e(n,t)}o.base=o.__P=null}if(o=n.__k)for(u=0;u<o.length;u++)o[u]&&D(o[u],t,_);null!=r&&f(r)}function N(e,n,t){return this.constructor(e,t)}function T(n,t,_){var o,u,c;e.__&&e.__(n,t),u=(o=_===r)?null:_&&_.__k||t.__k,n=a(h,null,[n]),c=[],H(t,(o?t:_||t).__k=n,u||l,l,void 0!==t.ownerSVGElement,_&&!o?[_]:u?null:i.slice.call(t.childNodes),c,_||l,o),S(c,n)}function U(e){var n={},t={__c:"__cC"+u++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var _,o=this;return this.getChildContext||(_=[],this.getChildContext=function(){return n[t.__c]=o,n},this.shouldComponentUpdate=function(e){o.props.value!==e.value&&_.some(function(n){n.context=e.value,y(n)})},this.sub=function(e){_.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){_.splice(_.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Consumer.contextType=t,t}e={__e:function(e,n){for(var t,_;n=n.__;)if((t=n.__c)&&!t.__)try{if(t.constructor&&null!=t.constructor.getDerivedStateFromError&&(_=!0,t.setState(t.constructor.getDerivedStateFromError(e))),null!=t.componentDidCatch&&(_=!0,t.componentDidCatch(e)),_)return y(t.__E=t)}catch(n){e=n}throw e}},d.prototype.setState=function(e,n){var t;t=this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof e&&(e=e(t,this.props)),e&&s(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),y(this))},d.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),y(this))},d.prototype.render=h,n=[],t=0,_="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,r=l,u=0;var A,M,F,L=[],W=e.__r,R=e.diffed,V=e.__c,I=e.unmount;function O(n){e.__h&&e.__h(M);var t=M.__H||(M.__H={__:[],__h:[]});return n>=t.__.length&&t.__.push({}),t.__[n]}function q(e){return B(te,e)}function B(e,n,t){var _=O(A++);return _.__c||(_.__c=M,_.__=[t?t(n):te(void 0,n),function(n){var t=e(_.__[0],n);_.__[0]!==t&&(_.__[0]=t,_.__c.setState({}))}]),_.__}function $(e,n){var t=O(A++);ne(t.__H,n)&&(t.__=e,t.__H=n,M.__H.__h.push(t))}function j(e,n){var t=O(A++);ne(t.__H,n)&&(t.__=e,t.__H=n,M.__h.push(t))}function z(e){return J(function(){return{current:e}},[])}function G(e,n,t){j(function(){"function"==typeof e?e(n()):e&&(e.current=n())},null==t?t:t.concat(e))}function J(e,n){var t=O(A++);return ne(t.__H,n)?(t.__H=n,t.__h=e,t.__=e()):t.__}function K(e,n){return J(function(){return e},n)}function Q(e){var n=M.context[e.__c];if(!n)return e.__;var t=O(A++);return null==t.__&&(t.__=!0,n.sub(M)),n.props.value}function X(n,t){e.useDebugValue&&e.useDebugValue(t?t(n):n)}function Y(){L.some(function(n){if(n.__P)try{n.__H.__h.forEach(Z),n.__H.__h.forEach(ee),n.__H.__h=[]}catch(t){return n.__H.__h=[],e.__e(t,n.__v),!0}}),L=[]}function Z(e){e.t&&e.t()}function ee(e){var n=e.__();"function"==typeof n&&(e.t=n)}function ne(e,n){return!e||n.some(function(n,t){return n!==e[t]})}function te(e,n){return"function"==typeof n?n(e):n}e.__r=function(e){W&&W(e),A=0,(M=e.__c).__H&&(M.__H.__h.forEach(Z),M.__H.__h.forEach(ee),M.__H.__h=[])},e.diffed=function(n){R&&R(n);var t=n.__c;if(t){var _=t.__H;_&&_.__h.length&&(1!==L.push(t)&&F===e.requestAnimationFrame||((F=e.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(_),cancelAnimationFrame(n),setTimeout(e)},_=setTimeout(t,100);"undefined"!=typeof window&&(n=requestAnimationFrame(t))})(Y))}},e.__c=function(n,t){t.some(function(n){try{n.__h.forEach(Z),n.__h=n.__h.filter(function(e){return!e.__||ee(e)})}catch(_){t.some(function(e){e.__h&&(e.__h=[])}),t=[],e.__e(_,n.__v)}}),V&&V(n,t)},e.unmount=function(n){I&&I(n);var t=n.__c;if(t){var _=t.__H;if(_)try{_.__.forEach(function(e){return e.t&&e.t()})}catch(n){e.__e(n,t.__v)}}};var _e=function(e,n,t,_){var o;n[0]=0;for(var r=1;r<n.length;r++){var u=n[r++],l=n[r]?(n[0]|=u?1:2,t[n[r++]]):n[++r];3===u?_[0]=l:4===u?_[1]=Object.assign(_[1]||{},l):5===u?(_[1]=_[1]||{})[n[++r]]=l:6===u?_[1][n[++r]]+=l+"":u?(o=e.apply(l,_e(e,l,t,["",null])),_.push(o),l[0]?n[0]|=2:(n[r-2]=0,n[r]=o)):_.push(l)}return _},oe=new Map,re=function(e){var n=oe.get(this);return n||(n=new Map,oe.set(this,n)),(n=_e(this,n.get(e)||(n.set(e,n=function(e){for(var n,t,_=1,o="",r="",u=[0],l=function(e){1===_&&(e||(o=o.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?u.push(0,e,o):3===_&&(e||o)?(u.push(3,e,o),_=2):2===_&&"..."===o&&e?u.push(4,e,0):2===_&&o&&!e?u.push(5,0,!0,o):_>=5&&((o||!e&&5===_)&&(u.push(_,0,o,t),_=6),e&&(u.push(_,e,0,t),_=6)),o=""},i=0;i<e.length;i++){i&&(1===_&&l(),l(i));for(var c=0;c<e[i].length;c++)n=e[i][c],1===_?"<"===n?(l(),u=[u],_=3):o+=n:4===_?"--"===o&&">"===n?(_=1,o=""):o=n+o[0]:r?n===r?r="":o+=n:'"'===n||"'"===n?r=n:">"===n?(l(),_=1):_&&("="===n?(_=5,t=o,o=""):"/"===n&&(_<5||">"===e[i][c+1])?(l(),3===_&&(u=u[0]),_=u,(u=u[0]).push(2,0,_),_=0):" "===n||"\t"===n||"\n"===n||"\r"===n?(l(),_=2):o+=n),3===_&&"!--"===o&&(_=4,u=u[0])}return l(),u}(e)),n),arguments,[])).length>1?n:n[0]}.bind(a);export{a as h,re as html,T as render,d as Component,U as createContext,q as useState,B as useReducer,$ as useEffect,j as useLayoutEffect,z as useRef,G as useImperativeHandle,J as useMemo,K as useCallback,Q as useContext,X as useDebugValue}; |
@@ -1,1 +0,1 @@ | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(e.htmPreact={})}(this,function(e){var n,t,o,u,r,_,l={},i=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function f(e,n){for(var t in n)e[t]=n[t];return e}function s(e){var n=e.parentNode;n&&n.removeChild(e)}function p(e,n,t){var o,u=arguments,r={};for(o in n)"key"!==o&&"ref"!==o&&(r[o]=n[o]);if(arguments.length>3)for(t=[t],o=3;o<arguments.length;o++)t.push(u[o]);if(null!=t&&(r.children=t),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===r[o]&&(r[o]=e.defaultProps[o]);return a(e,r,n&&n.key,n&&n.ref)}function a(e,t,o,u){var r={type:e,props:t,key:o,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0};return n.vnode&&n.vnode(r),r}function h(e){return e.children}function d(e,n){this.props=e,this.context=n}function v(e,n){if(null==n)return e.__?v(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?v(e):null}function m(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return m(e)}}function y(e){(!e.__d&&(e.__d=!0)&&1===t.push(e)||u!==n.debounceRendering)&&((u=n.debounceRendering)||o)(g)}function g(){var e,n,o,u,r,_,l;for(t.sort(function(e,n){return n.__v.__b-e.__v.__b});e=t.pop();)e.__d&&(o=void 0,u=void 0,_=(r=(n=e).__v).__e,(l=n.__P)&&(o=[],u=S(l,r,f({},r),n.__n,void 0!==l.ownerSVGElement,null,o,null==_?v(r):_),E(o,r),u!=_&&m(r)))}function k(e,n,t,o,u,r,_,c,f){var p,a,h,d,m,y,g,k=t&&t.__k||i,x=k.length;if(c==l&&(c=null!=r?r[0]:x?v(t,0):null),p=0,n.__k=b(n.__k,function(t){if(null!=t){if(t.__=n,t.__b=n.__b+1,null===(h=k[p])||h&&t.key==h.key&&t.type===h.type)k[p]=void 0;else for(a=0;a<x;a++){if((h=k[a])&&t.key==h.key&&t.type===h.type){k[a]=void 0;break}h=null}if(d=S(e,t,h=h||l,o,u,r,_,c,f),(a=t.ref)&&h.ref!=a&&(g||(g=[]),h.ref&&g.push(h.ref,null,t),g.push(a,t.__c||d,t)),null!=d){var i;if(null==y&&(y=d),void 0!==t.__d)i=t.__d,t.__d=void 0;else if(r==h||d!=c||null==d.parentNode){e:if(null==c||c.parentNode!==e)e.appendChild(d),i=null;else{for(m=c,a=0;(m=m.nextSibling)&&a<x;a+=2)if(m==d)break e;e.insertBefore(d,c),i=c}"option"==n.type&&(e.value="")}c=void 0!==i?i:d.nextSibling,"function"==typeof n.type&&(n.__d=c)}}return p++,t}),n.__e=y,null!=r&&"function"!=typeof n.type)for(p=r.length;p--;)null!=r[p]&&s(r[p]);for(p=x;p--;)null!=k[p]&&D(k[p],k[p]);if(g)for(p=0;p<g.length;p++)H(g[p],g[++p],g[++p])}function b(e,n,t){if(null==t&&(t=[]),null==e||"boolean"==typeof e)n&&t.push(n(null));else if(Array.isArray(e))for(var o=0;o<e.length;o++)b(e[o],n,t);else t.push(n?n("string"==typeof e||"number"==typeof e?a(null,e,null,null):null!=e.__e||null!=e.__c?a(e.type,e.props,e.key,null):e):e);return t}function x(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]="number"==typeof t&&!1===c.test(n)?t+"px":null==t?"":t}function C(e,n,t,o,u){var r,_,l,i,c;if(u?"className"===n&&(n="class"):"class"===n&&(n="className"),"key"===n||"children"===n);else if("style"===n)if(r=e.style,"string"==typeof t)r.cssText=t;else{if("string"==typeof o&&(r.cssText="",o=null),o)for(_ in o)t&&_ in t||x(r,_,"");if(t)for(l in t)o&&t[l]===o[l]||x(r,l,t[l])}else"o"===n[0]&&"n"===n[1]?(i=n!==(n=n.replace(/Capture$/,"")),c=n.toLowerCase(),n=(c in e?c:n).slice(2),t?(o||e.addEventListener(n,w,i),(e.l||(e.l={}))[n]=t):e.removeEventListener(n,w,i)):"list"!==n&&"tagName"!==n&&"form"!==n&&"type"!==n&&"size"!==n&&!u&&n in e?e[n]=null==t?"":t:"function"!=typeof t&&"dangerouslySetInnerHTML"!==n&&(n!==(n=n.replace(/^xlink:?/,""))?null==t||!1===t?e.removeAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase(),t):null==t||!1===t?e.removeAttribute(n):e.setAttribute(n,t))}function w(e){this.l[e.type](n.event?n.event(e):e)}function S(e,t,o,u,r,_,l,i,c){var s,p,a,v,m,y,g,b,x,C,w=t.type;if(void 0!==t.constructor)return null;(s=n.__b)&&s(t);try{e:if("function"==typeof w){if(b=t.props,x=(s=w.contextType)&&u[s.__c],C=s?x?x.props.value:s.__:u,o.__c?g=(p=t.__c=o.__c).__=p.__E:("prototype"in w&&w.prototype.render?t.__c=p=new w(b,C):(t.__c=p=new d(b,C),p.constructor=w,p.render=T),x&&x.sub(p),p.props=b,p.state||(p.state={}),p.context=C,p.__n=u,a=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=w.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=f({},p.__s)),f(p.__s,w.getDerivedStateFromProps(b,p.__s))),v=p.props,m=p.state,a)null==w.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==w.getDerivedStateFromProps&&b!==v&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(b,C),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(b,p.__s,C)){for(p.props=b,p.state=p.__s,p.__d=!1,p.__v=t,t.__e=o.__e,t.__k=o.__k,p.__h.length&&l.push(p),s=0;s<t.__k.length;s++)t.__k[s]&&(t.__k[s].__=t);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(b,p.__s,C),null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(v,m,y)})}p.context=C,p.props=b,p.state=p.__s,(s=n.__r)&&s(t),p.__d=!1,p.__v=t,p.__P=e,s=p.render(p.props,p.state,p.context),t.__k=null!=s&&s.type==h&&null==s.key?s.props.children:s,null!=p.getChildContext&&(u=f(f({},u),p.getChildContext())),a||null==p.getSnapshotBeforeUpdate||(y=p.getSnapshotBeforeUpdate(v,m)),k(e,t,o,u,r,_,l,i,c),p.base=t.__e,p.__h.length&&l.push(p),g&&(p.__E=p.__=null),p.__e=!1}else t.__e=P(o.__e,t,o,u,r,_,l,c);(s=n.diffed)&&s(t)}catch(e){n.__e(e,t,o)}return t.__e}function E(e,t){n.__c&&n.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){n.__e(e,t.__v)}})}function P(e,n,t,o,u,r,_,c){var f,s,p,a,h,d=t.props,v=n.props;if(u="svg"===n.type||u,null==e&&null!=r)for(f=0;f<r.length;f++)if(null!=(s=r[f])&&(null===n.type?3===s.nodeType:s.localName===n.type)){e=s,r[f]=null;break}if(null==e){if(null===n.type)return document.createTextNode(v);e=u?document.createElementNS("http://www.w3.org/2000/svg",n.type):document.createElement(n.type,v.is&&{is:v.is}),r=null}if(null===n.type)null!=r&&(r[r.indexOf(e)]=null),d!==v&&e.data!=v&&(e.data=v);else if(n!==t){if(null!=r&&(r[r.indexOf(e)]=null,r=i.slice.call(e.childNodes)),p=(d=t.props||l).dangerouslySetInnerHTML,a=v.dangerouslySetInnerHTML,!c){if(d===l)for(d={},h=0;h<e.attributes.length;h++)d[e.attributes[h].name]=e.attributes[h].value;(a||p)&&(a&&p&&a.__html==p.__html||(e.innerHTML=a&&a.__html||""))}(function(e,n,t,o,u){var r;for(r in t)r in n||C(e,r,null,t[r],o);for(r in n)u&&"function"!=typeof n[r]||"value"===r||"checked"===r||t[r]===n[r]||C(e,r,n[r],t[r],o)})(e,v,d,u,c),n.__k=n.props.children,a||k(e,n,t,o,"foreignObject"!==n.type&&u,r,_,l,c),c||("value"in v&&void 0!==v.value&&v.value!==e.value&&(e.value=null==v.value?"":v.value),"checked"in v&&void 0!==v.checked&&v.checked!==e.checked&&(e.checked=v.checked))}return e}function H(e,t,o){try{"function"==typeof e?e(t):e.current=t}catch(e){n.__e(e,o)}}function D(e,t,o){var u,r,_;if(n.unmount&&n.unmount(e),(u=e.ref)&&(u.current&&u.current!==e.__e||H(u,null,t)),o||"function"==typeof e.type||(o=null!=(r=e.__e)),e.__e=e.__d=void 0,null!=(u=e.__c)){if(u.componentWillUnmount)try{u.componentWillUnmount()}catch(e){n.__e(e,t)}u.base=u.__P=null}if(u=e.__k)for(_=0;_<u.length;_++)u[_]&&D(u[_],t,o);null!=r&&s(r)}function T(e,n,t){return this.constructor(e,t)}n={__e:function(e,n){for(var t,o;n=n.__;)if((t=n.__c)&&!t.__)try{if(t.constructor&&null!=t.constructor.getDerivedStateFromError&&(o=!0,t.setState(t.constructor.getDerivedStateFromError(e))),null!=t.componentDidCatch&&(o=!0,t.componentDidCatch(e)),o)return y(t.__E=t)}catch(n){e=n}throw e}},d.prototype.setState=function(e,n){var t;t=this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(t,this.props)),e&&f(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),y(this))},d.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),y(this))},d.prototype.render=h,t=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,r=l,_=0;var U,N,M,A=[],F=n.__r,L=n.diffed,W=n.__c,O=n.unmount;function R(e){n.__h&&n.__h(N);var t=N.__H||(N.__H={t:[],u:[]});return e>=t.t.length&&t.t.push({}),t.t[e]}function V(e,n,t){var o=R(U++);return o.__c||(o.__c=N,o.i=[t?t(n):G(void 0,n),function(n){var t=e(o.i[0],n);o.i[0]!==t&&(o.i[0]=t,o.__c.setState({}))}]),o.i}function I(e,n){var t=R(U++);z(t.o,n)&&(t.i=e,t.o=n,N.__h.push(t))}function j(e,n){var t=R(U++);return z(t.o,n)?(t.o=n,t.v=e,t.i=e()):t.i}function q(){A.some(function(e){if(e.__P)try{e.__H.u.forEach(B),e.__H.u.forEach($),e.__H.u=[]}catch(t){return n.__e(t,e.m),!0}}),A=[]}function B(e){e.p&&e.p()}function $(e){var n=e.i();"function"==typeof n&&(e.p=n)}function z(e,n){return!e||n.some(function(n,t){return n!==e[t]})}function G(e,n){return"function"==typeof n?n(e):n}n.__r=function(e){F&&F(e),U=0,(N=e.__c).__H&&(N.__H.u.forEach(B),N.__H.u.forEach($),N.__H.u=[])},n.diffed=function(e){L&&L(e);var t=e.__c;if(t){var o=t.__H;o&&o.u.length&&(1!==A.push(t)&&M===n.requestAnimationFrame||((M=n.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(o),cancelAnimationFrame(n),setTimeout(e)},o=setTimeout(t,100);"undefined"!=typeof window&&(n=requestAnimationFrame(t))})(q))}},n.__c=function(e,t){t.some(function(e){try{e.__h.forEach(B),e.__h=e.__h.filter(function(e){return!e.i||$(e)})}catch(o){t.some(function(e){e.__h&&(e.__h=[])}),t=[],n.__e(o,e.m)}}),W&&W(e,t)},n.unmount=function(e){O&&O(e);var t=e.__c;if(t){var o=t.__H;if(o)try{o.t.forEach(function(e){return e.p&&e.p()})}catch(e){n.__e(e,t.m)}}};var J=function(e,n,t,o){var u;n[0]=0;for(var r=1;r<n.length;r++){var _=n[r++],l=n[r]?(n[0]|=_?1:2,t[n[r++]]):n[++r];3===_?o[0]=l:4===_?o[1]=Object.assign(o[1]||{},l):5===_?(o[1]=o[1]||{})[n[++r]]=l:6===_?o[1][n[++r]]+=l+"":_?(u=e.apply(l,J(e,l,t,["",null])),o.push(u),l[0]?n[0]|=2:(n[r-2]=0,n[r]=u)):o.push(l)}return o},K=new Map,Q=function(e){var n=K.get(this);return n||(n=new Map,K.set(this,n)),(n=J(this,n.get(e)||(n.set(e,n=function(e){for(var n,t,o=1,u="",r="",_=[0],l=function(e){1===o&&(e||(u=u.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?_.push(0,e,u):3===o&&(e||u)?(_.push(3,e,u),o=2):2===o&&"..."===u&&e?_.push(4,e,0):2===o&&u&&!e?_.push(5,0,!0,u):o>=5&&((u||!e&&5===o)&&(_.push(o,0,u,t),o=6),e&&(_.push(o,e,0,t),o=6)),u=""},i=0;i<e.length;i++){i&&(1===o&&l(),l(i));for(var c=0;c<e[i].length;c++)n=e[i][c],1===o?"<"===n?(l(),_=[_],o=3):u+=n:4===o?"--"===u&&">"===n?(o=1,u=""):u=n+u[0]:r?n===r?r="":u+=n:'"'===n||"'"===n?r=n:">"===n?(l(),o=1):o&&("="===n?(o=5,t=u,u=""):"/"===n&&(o<5||">"===e[i][c+1])?(l(),3===o&&(_=_[0]),o=_,(_=_[0]).push(2,0,o),o=0):" "===n||"\t"===n||"\n"===n||"\r"===n?(l(),o=2):u+=n),3===o&&"!--"===u&&(o=4,_=_[0])}return l(),_}(e)),n),arguments,[])).length>1?n:n[0]}.bind(p);e.h=p,e.html=Q,e.render=function(e,t){var o,u,_,c,f,s;o=e,u=t,_=t.firstElementChild,n.__&&n.__(o,u),f=(c=_===r)?null:_&&_.__k||u.__k,o=p(h,null,[o]),s=[],S(u,(c?u:_||u).__k=o,f||l,l,void 0!==u.ownerSVGElement,_&&!c?[_]:f?null:i.slice.call(u.childNodes),s,_||l,c),E(s,o)},e.Component=d,e.createContext=function(e){var n={},t={__c:"__cC"+_++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var o,u=this;return this.getChildContext||(o=[],this.getChildContext=function(){return n[t.__c]=u,n},this.shouldComponentUpdate=function(n){e.value!==n.value&&o.some(function(e){e.context=n.value,y(e)})},this.sub=function(e){o.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){o.splice(o.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Consumer.contextType=t,t},e.useState=function(e){return V(G,e)},e.useReducer=V,e.useEffect=function(e,n){var t=R(U++);z(t.o,n)&&(t.i=e,t.o=n,N.__H.u.push(t))},e.useLayoutEffect=I,e.useRef=function(e){return j(function(){return{current:e}},[])},e.useImperativeHandle=function(e,n,t){I(function(){"function"==typeof e?e(n()):e&&(e.current=n())},null==t?t:t.concat(e))},e.useMemo=j,e.useCallback=function(e,n){return j(function(){return e},n)},e.useContext=function(e){var n=N.context[e.__c];if(!n)return e.__;var t=R(U++);return null==t.i&&(t.i=!0,n.sub(N)),n.props.value},e.useDebugValue=function(e,t){n.useDebugValue&&n.useDebugValue(t?t(e):e)}}); | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(e.htmPreact={})}(this,function(e){var n,t,_,o,r,u,l,i={},c=[],s=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function f(e,n){for(var t in n)e[t]=n[t];return e}function a(e){var n=e.parentNode;n&&n.removeChild(e)}function p(e,n,t){var _,o=arguments,r={};for(_ in n)"key"!==_&&"ref"!==_&&(r[_]=n[_]);if(arguments.length>3)for(t=[t],_=3;_<arguments.length;_++)t.push(o[_]);if(null!=t&&(r.children=t),"function"==typeof e&&null!=e.defaultProps)for(_ in e.defaultProps)void 0===r[_]&&(r[_]=e.defaultProps[_]);return h(e,r,n&&n.key,n&&n.ref,null)}function h(e,t,_,o,r){var u={type:e,props:t,key:_,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:r};return null==r&&(u.__v=u),n.vnode&&n.vnode(u),u}function d(e){return e.children}function v(e,n){this.props=e,this.context=n}function m(e,n){if(null==n)return e.__?m(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?m(e):null}function y(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return y(e)}}function g(e){(!e.__d&&(e.__d=!0)&&t.push(e)&&!_++||r!==n.debounceRendering)&&((r=n.debounceRendering)||o)(k)}function k(){for(var e;_=t.length;)e=t.sort(function(e,n){return e.__v.__b-n.__v.__b}),t=[],e.some(function(e){var n,t,_,o,r,u,l;e.__d&&(u=(r=(n=e).__v).__e,(l=n.__P)&&(t=[],(_=f({},r)).__v=_,o=S(l,r,_,n.__n,void 0!==l.ownerSVGElement,null,t,null==u?m(r):u),E(t,r),o!=u&&y(r)))})}function b(e,n,t,_,o,r,u,l,s){var f,p,h,d,v,y,g,k=t&&t.__k||c,b=k.length;if(l==i&&(l=null!=r?r[0]:b?m(t,0):null),f=0,n.__k=x(n.__k,function(t){if(null!=t){if(t.__=n,t.__b=n.__b+1,null===(h=k[f])||h&&t.key==h.key&&t.type===h.type)k[f]=void 0;else for(p=0;p<b;p++){if((h=k[p])&&t.key==h.key&&t.type===h.type){k[p]=void 0;break}h=null}if(d=S(e,t,h=h||i,_,o,r,u,l,s),(p=t.ref)&&h.ref!=p&&(g||(g=[]),h.ref&&g.push(h.ref,null,t),g.push(p,t.__c||d,t)),null!=d){var c;if(null==y&&(y=d),void 0!==t.__d)c=t.__d,t.__d=void 0;else if(r==h||d!=l||null==d.parentNode){e:if(null==l||l.parentNode!==e)e.appendChild(d),c=null;else{for(v=l,p=0;(v=v.nextSibling)&&p<b;p+=2)if(v==d)break e;e.insertBefore(d,l),c=l}"option"==n.type&&(e.value="")}l=void 0!==c?c:d.nextSibling,"function"==typeof n.type&&(n.__d=l)}else l&&h.__e==l&&l.parentNode!=e&&(l=m(h))}return f++,t}),n.__e=y,null!=r&&"function"!=typeof n.type)for(f=r.length;f--;)null!=r[f]&&a(r[f]);for(f=b;f--;)null!=k[f]&&N(k[f],k[f]);if(g)for(f=0;f<g.length;f++)D(g[f],g[++f],g[++f])}function x(e,n,t){if(null==t&&(t=[]),null==e||"boolean"==typeof e)n&&t.push(n(null));else if(Array.isArray(e))for(var _=0;_<e.length;_++)x(e[_],n,t);else t.push(n?n("string"==typeof e||"number"==typeof e?h(null,e,null,null,e):null!=e.__e||null!=e.__c?h(e.type,e.props,e.key,null,e.__v):e):e);return t}function w(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]="number"==typeof t&&!1===s.test(n)?t+"px":null==t?"":t}function C(e,n,t,_,o){var r,u,l,i,c;if(o?"className"===n&&(n="class"):"class"===n&&(n="className"),"style"===n)if(r=e.style,"string"==typeof t)r.cssText=t;else{if("string"==typeof _&&(r.cssText="",_=null),_)for(i in _)t&&i in t||w(r,i,"");if(t)for(c in t)_&&t[c]===_[c]||w(r,c,t[c])}else"o"===n[0]&&"n"===n[1]?(u=n!==(n=n.replace(/Capture$/,"")),l=n.toLowerCase(),n=(l in e?l:n).slice(2),t?(_||e.addEventListener(n,H,u),(e.l||(e.l={}))[n]=t):e.removeEventListener(n,H,u)):"list"!==n&&"tagName"!==n&&"form"!==n&&"type"!==n&&"size"!==n&&!o&&n in e?e[n]=null==t?"":t:"function"!=typeof t&&"dangerouslySetInnerHTML"!==n&&(n!==(n=n.replace(/^xlink:?/,""))?null==t||!1===t?e.removeAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase(),t):null==t||!1===t&&!/^ar/.test(n)?e.removeAttribute(n):e.setAttribute(n,t))}function H(e){this.l[e.type](n.event?n.event(e):e)}function S(e,t,_,o,r,u,l,i,c){var s,a,p,h,m,y,g,k,x,w,C=t.type;if(void 0!==t.constructor)return null;(s=n.__b)&&s(t);try{e:if("function"==typeof C){if(k=t.props,x=(s=C.contextType)&&o[s.__c],w=s?x?x.props.value:s.__:o,_.__c?g=(a=t.__c=_.__c).__=a.__E:("prototype"in C&&C.prototype.render?t.__c=a=new C(k,w):(t.__c=a=new v(k,w),a.constructor=C,a.render=T),x&&x.sub(a),a.props=k,a.state||(a.state={}),a.context=w,a.__n=o,p=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=C.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=f({},a.__s)),f(a.__s,C.getDerivedStateFromProps(k,a.__s))),h=a.props,m=a.state,p)null==C.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==C.getDerivedStateFromProps&&k!==h&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(k,w),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(k,a.__s,w)||t.__v===_.__v&&!a.__){for(a.props=k,a.state=a.__s,t.__v!==_.__v&&(a.__d=!1),a.__v=t,t.__e=_.__e,t.__k=_.__k,a.__h.length&&l.push(a),s=0;s<t.__k.length;s++)t.__k[s]&&(t.__k[s].__=t);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(k,a.__s,w),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(h,m,y)})}a.context=w,a.props=k,a.state=a.__s,(s=n.__r)&&s(t),a.__d=!1,a.__v=t,a.__P=e,s=a.render(a.props,a.state,a.context),t.__k=null!=s&&s.type==d&&null==s.key?s.props.children:Array.isArray(s)?s:[s],null!=a.getChildContext&&(o=f(f({},o),a.getChildContext())),p||null==a.getSnapshotBeforeUpdate||(y=a.getSnapshotBeforeUpdate(h,m)),b(e,t,_,o,r,u,l,i,c),a.base=t.__e,a.__h.length&&l.push(a),g&&(a.__E=a.__=null),a.__e=!1}else null==u&&t.__v===_.__v?(t.__k=_.__k,t.__e=_.__e):t.__e=P(_.__e,t,_,o,r,u,l,c);(s=n.diffed)&&s(t)}catch(e){t.__v=null,n.__e(e,t,_)}return t.__e}function E(e,t){n.__c&&n.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){n.__e(e,t.__v)}})}function P(e,n,t,_,o,r,u,l){var s,f,a,p,h,d=t.props,v=n.props;if(o="svg"===n.type||o,null!=r)for(s=0;s<r.length;s++)if(null!=(f=r[s])&&((null===n.type?3===f.nodeType:f.localName===n.type)||e==f)){e=f,r[s]=null;break}if(null==e){if(null===n.type)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",n.type):document.createElement(n.type,v.is&&{is:v.is}),r=null,l=!1}if(null===n.type)d!==v&&e.data!=v&&(e.data=v);else{if(null!=r&&(r=c.slice.call(e.childNodes)),a=(d=t.props||i).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!l){if(d===i)for(d={},h=0;h<e.attributes.length;h++)d[e.attributes[h].name]=e.attributes[h].value;(p||a)&&(p&&a&&p.__html==a.__html||(e.innerHTML=p&&p.__html||""))}(function(e,n,t,_,o){var r;for(r in t)"children"===r||"key"===r||r in n||C(e,r,null,t[r],_);for(r in n)o&&"function"!=typeof n[r]||"children"===r||"key"===r||"value"===r||"checked"===r||t[r]===n[r]||C(e,r,n[r],t[r],_)})(e,v,d,o,l),n.__k=n.props.children,p||b(e,n,t,_,"foreignObject"!==n.type&&o,r,u,i,l),l||("value"in v&&void 0!==v.value&&v.value!==e.value&&(e.value=null==v.value?"":v.value),"checked"in v&&void 0!==v.checked&&v.checked!==e.checked&&(e.checked=v.checked))}return e}function D(e,t,_){try{"function"==typeof e?e(t):e.current=t}catch(e){n.__e(e,_)}}function N(e,t,_){var o,r,u;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||D(o,null,t)),_||"function"==typeof e.type||(_=null!=(r=e.__e)),e.__e=e.__d=void 0,null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){n.__e(e,t)}o.base=o.__P=null}if(o=e.__k)for(u=0;u<o.length;u++)o[u]&&N(o[u],t,_);null!=r&&a(r)}function T(e,n,t){return this.constructor(e,t)}n={__e:function(e,n){for(var t,_;n=n.__;)if((t=n.__c)&&!t.__)try{if(t.constructor&&null!=t.constructor.getDerivedStateFromError&&(_=!0,t.setState(t.constructor.getDerivedStateFromError(e))),null!=t.componentDidCatch&&(_=!0,t.componentDidCatch(e)),_)return g(t.__E=t)}catch(n){e=n}throw e}},v.prototype.setState=function(e,n){var t;t=this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(t,this.props)),e&&f(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),g(this))},v.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),g(this))},v.prototype.render=d,t=[],_=0,o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=i,l=0;var U,A,M,F=[],L=n.__r,W=n.diffed,R=n.__c,V=n.unmount;function I(e){n.__h&&n.__h(A);var t=A.__H||(A.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function O(e,n,t){var _=I(U++);return _.__c||(_.__c=A,_.__=[t?t(n):J(void 0,n),function(n){var t=e(_.__[0],n);_.__[0]!==t&&(_.__[0]=t,_.__c.setState({}))}]),_.__}function j(e,n){var t=I(U++);G(t.__H,n)&&(t.__=e,t.__H=n,A.__h.push(t))}function q(e,n){var t=I(U++);return G(t.__H,n)?(t.__H=n,t.__h=e,t.__=e()):t.__}function B(){F.some(function(e){if(e.__P)try{e.__H.__h.forEach($),e.__H.__h.forEach(z),e.__H.__h=[]}catch(t){return e.__H.__h=[],n.__e(t,e.__v),!0}}),F=[]}function $(e){e.t&&e.t()}function z(e){var n=e.__();"function"==typeof n&&(e.t=n)}function G(e,n){return!e||n.some(function(n,t){return n!==e[t]})}function J(e,n){return"function"==typeof n?n(e):n}n.__r=function(e){L&&L(e),U=0,(A=e.__c).__H&&(A.__H.__h.forEach($),A.__H.__h.forEach(z),A.__H.__h=[])},n.diffed=function(e){W&&W(e);var t=e.__c;if(t){var _=t.__H;_&&_.__h.length&&(1!==F.push(t)&&M===n.requestAnimationFrame||((M=n.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(_),cancelAnimationFrame(n),setTimeout(e)},_=setTimeout(t,100);"undefined"!=typeof window&&(n=requestAnimationFrame(t))})(B))}},n.__c=function(e,t){t.some(function(e){try{e.__h.forEach($),e.__h=e.__h.filter(function(e){return!e.__||z(e)})}catch(_){t.some(function(e){e.__h&&(e.__h=[])}),t=[],n.__e(_,e.__v)}}),R&&R(e,t)},n.unmount=function(e){V&&V(e);var t=e.__c;if(t){var _=t.__H;if(_)try{_.__.forEach(function(e){return e.t&&e.t()})}catch(e){n.__e(e,t.__v)}}};var K=function(e,n,t,_){var o;n[0]=0;for(var r=1;r<n.length;r++){var u=n[r++],l=n[r]?(n[0]|=u?1:2,t[n[r++]]):n[++r];3===u?_[0]=l:4===u?_[1]=Object.assign(_[1]||{},l):5===u?(_[1]=_[1]||{})[n[++r]]=l:6===u?_[1][n[++r]]+=l+"":u?(o=e.apply(l,K(e,l,t,["",null])),_.push(o),l[0]?n[0]|=2:(n[r-2]=0,n[r]=o)):_.push(l)}return _},Q=new Map,X=function(e){var n=Q.get(this);return n||(n=new Map,Q.set(this,n)),(n=K(this,n.get(e)||(n.set(e,n=function(e){for(var n,t,_=1,o="",r="",u=[0],l=function(e){1===_&&(e||(o=o.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?u.push(0,e,o):3===_&&(e||o)?(u.push(3,e,o),_=2):2===_&&"..."===o&&e?u.push(4,e,0):2===_&&o&&!e?u.push(5,0,!0,o):_>=5&&((o||!e&&5===_)&&(u.push(_,0,o,t),_=6),e&&(u.push(_,e,0,t),_=6)),o=""},i=0;i<e.length;i++){i&&(1===_&&l(),l(i));for(var c=0;c<e[i].length;c++)n=e[i][c],1===_?"<"===n?(l(),u=[u],_=3):o+=n:4===_?"--"===o&&">"===n?(_=1,o=""):o=n+o[0]:r?n===r?r="":o+=n:'"'===n||"'"===n?r=n:">"===n?(l(),_=1):_&&("="===n?(_=5,t=o,o=""):"/"===n&&(_<5||">"===e[i][c+1])?(l(),3===_&&(u=u[0]),_=u,(u=u[0]).push(2,0,_),_=0):" "===n||"\t"===n||"\n"===n||"\r"===n?(l(),_=2):o+=n),3===_&&"!--"===o&&(_=4,u=u[0])}return l(),u}(e)),n),arguments,[])).length>1?n:n[0]}.bind(p);e.h=p,e.html=X,e.render=function(e,t,_){var o,r,l;n.__&&n.__(e,t),r=(o=_===u)?null:_&&_.__k||t.__k,e=p(d,null,[e]),l=[],S(t,(o?t:_||t).__k=e,r||i,i,void 0!==t.ownerSVGElement,_&&!o?[_]:r?null:c.slice.call(t.childNodes),l,_||i,o),E(l,e)},e.Component=v,e.createContext=function(e){var n={},t={__c:"__cC"+l++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var _,o=this;return this.getChildContext||(_=[],this.getChildContext=function(){return n[t.__c]=o,n},this.shouldComponentUpdate=function(e){o.props.value!==e.value&&_.some(function(n){n.context=e.value,g(n)})},this.sub=function(e){_.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){_.splice(_.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Consumer.contextType=t,t},e.useState=function(e){return O(J,e)},e.useReducer=O,e.useEffect=function(e,n){var t=I(U++);G(t.__H,n)&&(t.__=e,t.__H=n,A.__H.__h.push(t))},e.useLayoutEffect=j,e.useRef=function(e){return q(function(){return{current:e}},[])},e.useImperativeHandle=function(e,n,t){j(function(){"function"==typeof e?e(n()):e&&(e.current=n())},null==t?t:t.concat(e))},e.useMemo=q,e.useCallback=function(e,n){return q(function(){return e},n)},e.useContext=function(e){var n=A.context[e.__c];if(!n)return e.__;var t=I(U++);return null==t.__&&(t.__=!0,n.sub(A)),n.props.value},e.useDebugValue=function(e,t){n.useDebugValue&&n.useDebugValue(t?t(e):e)}}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
84675