hypothesis 1.925.0 → 1.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/boot.js +1 -1
- package/build/manifest.json +12 -12
- package/build/scripts/annotator.bundle.js +3 -3
- package/build/scripts/annotator.bundle.js.map +1 -1
- package/build/scripts/sidebar.bundle.js +3 -3
- package/build/scripts/sidebar.bundle.js.map +1 -1
- package/build/scripts/ui-playground.bundle.js +1 -1
- package/build/scripts/ui-playground.bundle.js.map +1 -1
- package/build/styles/annotator.css +1 -1
- package/build/styles/annotator.css.map +1 -1
- package/build/styles/sidebar.css +1 -1
- package/build/styles/sidebar.css.map +1 -1
- package/build/styles/ui-playground.css +1 -1
- package/build/styles/ui-playground.css.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var e,i,l,n,r,o,t={},m=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function a(e,i){for(var l in i)e[l]=i[l];return e}function c(e){var i=e.parentNode;i&&i.removeChild(e)}function d(e,n,r,o,t){var m={type:e,props:n,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==t?++l:t};return null==t&&null!=i.vnode&&i.vnode(m),m}function s(e){return e.children}function N(e,i){this.props=e,this.context=i}function h(e,i){if(null==i)return e.__?h(e.__,e.__.__k.indexOf(e)+1):null;for(var l;i<e.__k.length;i++)if(null!=(l=e.__k[i])&&null!=l.__e)return l.__e;return"function"==typeof e.type?h(e):null}function b(e){var i,l;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,i=0;i<e.__k.length;i++)if(null!=(l=e.__k[i])&&null!=l.__e){e.__e=e.__c.base=l.__e;break}return b(e)}}function f(e){(!e.__d&&(e.__d=!0)&&n.push(e)&&!v.__r++||o!==i.debounceRendering)&&((o=i.debounceRendering)||r)(v)}function v(){for(var e;v.__r=n.length;)e=n.sort((function(e,i){return e.__v.__b-i.__v.__b})),n=[],e.some((function(e){var i,l,n,r,o,t;e.__d&&(o=(r=(i=e).__v).__e,(t=i.__P)&&(l=[],(n=a({},r)).__v=r.__v+1,k(t,r,n,i.__n,void 0!==t.ownerSVGElement,null!=r.__h?[o]:null,l,null==o?h(r):o,r.__h),M(l,r),r.__e!=o&&b(r)))}))}function p(e,i,l,n,r,o,u,a,c,N){var b,f,v,p,L,C,y,_=n&&n.__k||m,x=_.length;for(l.__k=[],b=0;b<i.length;b++)if(null!=(p=l.__k[b]=null==(p=i[b])||"boolean"==typeof p?null:"string"==typeof p||"number"==typeof p||"bigint"==typeof p?d(null,p,null,null,p):Array.isArray(p)?d(s,{children:p},null,null,null):p.__b>0?d(p.type,p.props,p.key,null,p.__v):p)){if(p.__=l,p.__b=l.__b+1,null===(v=_[b])||v&&p.key==v.key&&p.type===v.type)_[b]=void 0;else for(f=0;f<x;f++){if((v=_[f])&&p.key==v.key&&p.type===v.type){_[f]=void 0;break}v=null}k(e,p,v=v||t,r,o,u,a,c,N),L=p.__e,(f=p.ref)&&v.ref!=f&&(y||(y=[]),v.ref&&y.push(v.ref,null,p),y.push(f,p.__c||L,p)),null!=L?(null==C&&(C=L),"function"==typeof p.type&&p.__k===v.__k?p.__d=c=g(p,c,e):c=w(e,p,v,_,L,c),"function"==typeof l.type&&(l.__d=c)):c&&v.__e==c&&c.parentNode!=e&&(c=h(v))}for(l.__e=C,b=x;b--;)null!=_[b]&&("function"==typeof l.type&&null!=_[b].__e&&_[b].__e==l.__d&&(l.__d=h(n,b+1)),T(_[b],_[b]));if(y)for(b=0;b<y.length;b++)z(y[b],y[++b],y[++b])}function g(e,i,l){for(var n,r=e.__k,o=0;r&&o<r.length;o++)(n=r[o])&&(n.__=e,i="function"==typeof n.type?g(n,i,l):w(l,n,n,r,n.__e,i));return i}function L(e,i){return i=i||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){L(e,i)})):i.push(e)),i}function w(e,i,l,n,r,o){var t,m,u;if(void 0!==i.__d)t=i.__d,i.__d=void 0;else if(null==l||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),t=null;else{for(m=o,u=0;(m=m.nextSibling)&&u<n.length;u+=2)if(m==r)break e;e.insertBefore(r,o),t=o}return void 0!==t?t:r.nextSibling}function C(e,i,l){"-"===i[0]?e.setProperty(i,l):e[i]=null==l?"":"number"!=typeof l||u.test(i)?l:l+"px"}function y(e,i,l,n,r){var o;e:if("style"===i)if("string"==typeof l)e.style.cssText=l;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(i in n)l&&i in l||C(e.style,i,"");if(l)for(i in l)n&&l[i]===n[i]||C(e.style,i,l[i])}else if("o"===i[0]&&"n"===i[1])o=i!==(i=i.replace(/Capture$/,"")),i=i.toLowerCase()in e?i.toLowerCase().slice(2):i.slice(2),e.l||(e.l={}),e.l[i+o]=l,l?n||e.addEventListener(i,o?x:_,o):e.removeEventListener(i,o?x:_,o);else if("dangerouslySetInnerHTML"!==i){if(r)i=i.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==i&&"list"!==i&&"form"!==i&&"tabIndex"!==i&&"download"!==i&&i in e)try{e[i]=null==l?"":l;break e}catch(e){}"function"==typeof l||(null!=l&&(!1!==l||"a"===i[0]&&"r"===i[1])?e.setAttribute(i,l):e.removeAttribute(i))}}function _(e){this.l[e.type+!1](i.event?i.event(e):e)}function x(e){this.l[e.type+!0](i.event?i.event(e):e)}function k(e,l,n,r,o,t,m,u,c){var d,h,b,f,v,g,L,w,C,y,_,x=l.type;if(void 0!==l.constructor)return null;null!=n.__h&&(c=n.__h,u=l.__e=n.__e,l.__h=null,t=[u]),(d=i.__b)&&d(l);try{e:if("function"==typeof x){if(w=l.props,C=(d=x.contextType)&&r[d.__c],y=d?C?C.props.value:d.__:r,n.__c?L=(h=l.__c=n.__c).__=h.__E:("prototype"in x&&x.prototype.render?l.__c=h=new x(w,y):(l.__c=h=new N(w,y),h.constructor=x,h.render=B),C&&C.sub(h),h.props=w,h.state||(h.state={}),h.context=y,h.__n=r,b=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=x.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=a({},h.__s)),a(h.__s,x.getDerivedStateFromProps(w,h.__s))),f=h.props,v=h.state,b)null==x.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==x.getDerivedStateFromProps&&w!==f&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(w,y),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(w,h.__s,y)||l.__v===n.__v){h.props=w,h.state=h.__s,l.__v!==n.__v&&(h.__d=!1),h.__v=l,l.__e=n.__e,l.__k=n.__k,l.__k.forEach((function(e){e&&(e.__=l)})),h.__h.length&&m.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(w,h.__s,y),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(f,v,g)}))}h.context=y,h.props=w,h.state=h.__s,(d=i.__r)&&d(l),h.__d=!1,h.__v=l,h.__P=e,d=h.render(h.props,h.state,h.context),h.state=h.__s,null!=h.getChildContext&&(r=a(a({},r),h.getChildContext())),b||null==h.getSnapshotBeforeUpdate||(g=h.getSnapshotBeforeUpdate(f,v)),_=null!=d&&d.type===s&&null==d.key?d.props.children:d,p(e,Array.isArray(_)?_:[_],l,n,r,o,t,m,u,c),h.base=l.__e,l.__h=null,h.__h.length&&m.push(h),L&&(h.__E=h.__=null),h.__e=!1}else null==t&&l.__v===n.__v?(l.__k=n.__k,l.__e=n.__e):l.__e=S(n.__e,l,n,r,o,t,m,c);(d=i.diffed)&&d(l)}catch(e){l.__v=null,(c||null!=t)&&(l.__e=u,l.__h=!!c,t[t.indexOf(u)]=null),i.__e(e,l,n)}}function M(e,l){i.__c&&i.__c(l,e),e.some((function(l){try{e=l.__h,l.__h=[],e.some((function(e){e.call(l)}))}catch(e){i.__e(e,l.__v)}}))}function S(i,l,n,r,o,m,u,a){var d,s,N,b=n.props,f=l.props,v=l.type,g=0;if("svg"===v&&(o=!0),null!=m)for(;g<m.length;g++)if((d=m[g])&&
|
|
1
|
+
var e,i,l,n,r,o,t={},m=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function a(e,i){for(var l in i)e[l]=i[l];return e}function c(e){var i=e.parentNode;i&&i.removeChild(e)}function d(e,n,r,o,t){var m={type:e,props:n,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==t?++l:t};return null==t&&null!=i.vnode&&i.vnode(m),m}function s(e){return e.children}function N(e,i){this.props=e,this.context=i}function h(e,i){if(null==i)return e.__?h(e.__,e.__.__k.indexOf(e)+1):null;for(var l;i<e.__k.length;i++)if(null!=(l=e.__k[i])&&null!=l.__e)return l.__e;return"function"==typeof e.type?h(e):null}function b(e){var i,l;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,i=0;i<e.__k.length;i++)if(null!=(l=e.__k[i])&&null!=l.__e){e.__e=e.__c.base=l.__e;break}return b(e)}}function f(e){(!e.__d&&(e.__d=!0)&&n.push(e)&&!v.__r++||o!==i.debounceRendering)&&((o=i.debounceRendering)||r)(v)}function v(){for(var e;v.__r=n.length;)e=n.sort((function(e,i){return e.__v.__b-i.__v.__b})),n=[],e.some((function(e){var i,l,n,r,o,t;e.__d&&(o=(r=(i=e).__v).__e,(t=i.__P)&&(l=[],(n=a({},r)).__v=r.__v+1,k(t,r,n,i.__n,void 0!==t.ownerSVGElement,null!=r.__h?[o]:null,l,null==o?h(r):o,r.__h),M(l,r),r.__e!=o&&b(r)))}))}function p(e,i,l,n,r,o,u,a,c,N){var b,f,v,p,L,C,y,_=n&&n.__k||m,x=_.length;for(l.__k=[],b=0;b<i.length;b++)if(null!=(p=l.__k[b]=null==(p=i[b])||"boolean"==typeof p?null:"string"==typeof p||"number"==typeof p||"bigint"==typeof p?d(null,p,null,null,p):Array.isArray(p)?d(s,{children:p},null,null,null):p.__b>0?d(p.type,p.props,p.key,null,p.__v):p)){if(p.__=l,p.__b=l.__b+1,null===(v=_[b])||v&&p.key==v.key&&p.type===v.type)_[b]=void 0;else for(f=0;f<x;f++){if((v=_[f])&&p.key==v.key&&p.type===v.type){_[f]=void 0;break}v=null}k(e,p,v=v||t,r,o,u,a,c,N),L=p.__e,(f=p.ref)&&v.ref!=f&&(y||(y=[]),v.ref&&y.push(v.ref,null,p),y.push(f,p.__c||L,p)),null!=L?(null==C&&(C=L),"function"==typeof p.type&&p.__k===v.__k?p.__d=c=g(p,c,e):c=w(e,p,v,_,L,c),"function"==typeof l.type&&(l.__d=c)):c&&v.__e==c&&c.parentNode!=e&&(c=h(v))}for(l.__e=C,b=x;b--;)null!=_[b]&&("function"==typeof l.type&&null!=_[b].__e&&_[b].__e==l.__d&&(l.__d=h(n,b+1)),T(_[b],_[b]));if(y)for(b=0;b<y.length;b++)z(y[b],y[++b],y[++b])}function g(e,i,l){for(var n,r=e.__k,o=0;r&&o<r.length;o++)(n=r[o])&&(n.__=e,i="function"==typeof n.type?g(n,i,l):w(l,n,n,r,n.__e,i));return i}function L(e,i){return i=i||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){L(e,i)})):i.push(e)),i}function w(e,i,l,n,r,o){var t,m,u;if(void 0!==i.__d)t=i.__d,i.__d=void 0;else if(null==l||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),t=null;else{for(m=o,u=0;(m=m.nextSibling)&&u<n.length;u+=2)if(m==r)break e;e.insertBefore(r,o),t=o}return void 0!==t?t:r.nextSibling}function C(e,i,l){"-"===i[0]?e.setProperty(i,l):e[i]=null==l?"":"number"!=typeof l||u.test(i)?l:l+"px"}function y(e,i,l,n,r){var o;e:if("style"===i)if("string"==typeof l)e.style.cssText=l;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(i in n)l&&i in l||C(e.style,i,"");if(l)for(i in l)n&&l[i]===n[i]||C(e.style,i,l[i])}else if("o"===i[0]&&"n"===i[1])o=i!==(i=i.replace(/Capture$/,"")),i=i.toLowerCase()in e?i.toLowerCase().slice(2):i.slice(2),e.l||(e.l={}),e.l[i+o]=l,l?n||e.addEventListener(i,o?x:_,o):e.removeEventListener(i,o?x:_,o);else if("dangerouslySetInnerHTML"!==i){if(r)i=i.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==i&&"list"!==i&&"form"!==i&&"tabIndex"!==i&&"download"!==i&&i in e)try{e[i]=null==l?"":l;break e}catch(e){}"function"==typeof l||(null!=l&&(!1!==l||"a"===i[0]&&"r"===i[1])?e.setAttribute(i,l):e.removeAttribute(i))}}function _(e){this.l[e.type+!1](i.event?i.event(e):e)}function x(e){this.l[e.type+!0](i.event?i.event(e):e)}function k(e,l,n,r,o,t,m,u,c){var d,h,b,f,v,g,L,w,C,y,_,x=l.type;if(void 0!==l.constructor)return null;null!=n.__h&&(c=n.__h,u=l.__e=n.__e,l.__h=null,t=[u]),(d=i.__b)&&d(l);try{e:if("function"==typeof x){if(w=l.props,C=(d=x.contextType)&&r[d.__c],y=d?C?C.props.value:d.__:r,n.__c?L=(h=l.__c=n.__c).__=h.__E:("prototype"in x&&x.prototype.render?l.__c=h=new x(w,y):(l.__c=h=new N(w,y),h.constructor=x,h.render=B),C&&C.sub(h),h.props=w,h.state||(h.state={}),h.context=y,h.__n=r,b=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=x.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=a({},h.__s)),a(h.__s,x.getDerivedStateFromProps(w,h.__s))),f=h.props,v=h.state,b)null==x.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==x.getDerivedStateFromProps&&w!==f&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(w,y),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(w,h.__s,y)||l.__v===n.__v){h.props=w,h.state=h.__s,l.__v!==n.__v&&(h.__d=!1),h.__v=l,l.__e=n.__e,l.__k=n.__k,l.__k.forEach((function(e){e&&(e.__=l)})),h.__h.length&&m.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(w,h.__s,y),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(f,v,g)}))}h.context=y,h.props=w,h.state=h.__s,(d=i.__r)&&d(l),h.__d=!1,h.__v=l,h.__P=e,d=h.render(h.props,h.state,h.context),h.state=h.__s,null!=h.getChildContext&&(r=a(a({},r),h.getChildContext())),b||null==h.getSnapshotBeforeUpdate||(g=h.getSnapshotBeforeUpdate(f,v)),_=null!=d&&d.type===s&&null==d.key?d.props.children:d,p(e,Array.isArray(_)?_:[_],l,n,r,o,t,m,u,c),h.base=l.__e,l.__h=null,h.__h.length&&m.push(h),L&&(h.__E=h.__=null),h.__e=!1}else null==t&&l.__v===n.__v?(l.__k=n.__k,l.__e=n.__e):l.__e=S(n.__e,l,n,r,o,t,m,c);(d=i.diffed)&&d(l)}catch(e){l.__v=null,(c||null!=t)&&(l.__e=u,l.__h=!!c,t[t.indexOf(u)]=null),i.__e(e,l,n)}}function M(e,l){i.__c&&i.__c(l,e),e.some((function(l){try{e=l.__h,l.__h=[],e.some((function(e){e.call(l)}))}catch(e){i.__e(e,l.__v)}}))}function S(i,l,n,r,o,m,u,a){var d,s,N,b=n.props,f=l.props,v=l.type,g=0;if("svg"===v&&(o=!0),null!=m)for(;g<m.length;g++)if((d=m[g])&&"setAttribute"in d==!!v&&(v?d.localName===v:3===d.nodeType)){i=d,m[g]=null;break}if(null==i){if(null===v)return document.createTextNode(f);i=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,f.is&&f),m=null,a=!1}if(null===v)b===f||a&&i.data===f||(i.data=f);else{if(m=m&&e.call(i.childNodes),s=(b=n.props||t).dangerouslySetInnerHTML,N=f.dangerouslySetInnerHTML,!a){if(null!=m)for(b={},g=0;g<i.attributes.length;g++)b[i.attributes[g].name]=i.attributes[g].value;(N||s)&&(N&&(s&&N.__html==s.__html||N.__html===i.innerHTML)||(i.innerHTML=N&&N.__html||""))}if(function(e,i,l,n,r){var o;for(o in l)"children"===o||"key"===o||o in i||y(e,o,null,l[o],n);for(o in i)r&&"function"!=typeof i[o]||"children"===o||"key"===o||"value"===o||"checked"===o||l[o]===i[o]||y(e,o,i[o],l[o],n)}(i,f,b,o,a),N)l.__k=[];else if(g=l.props.children,p(i,Array.isArray(g)?g:[g],l,n,r,o&&"foreignObject"!==v,m,u,m?m[0]:n.__k&&h(n,0),a),null!=m)for(g=m.length;g--;)null!=m[g]&&c(m[g]);a||("value"in f&&void 0!==(g=f.value)&&(g!==b.value||g!==i.value||"progress"===v&&!g)&&y(i,"value",g,b.value,!1),"checked"in f&&void 0!==(g=f.checked)&&g!==i.checked&&y(i,"checked",g,b.checked,!1))}return i}function z(e,l,n){try{"function"==typeof e?e(l):e.current=l}catch(e){i.__e(e,n)}}function T(e,l,n){var r,o;if(i.unmount&&i.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||z(r,null,l)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){i.__e(e,l)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&T(r[o],l,"function"!=typeof e.type);n||null==e.__e||c(e.__e),e.__e=e.__d=void 0}function B(e,i,l){return this.constructor(e,l)}function Z(l,n,r){var o,m,u;i.__&&i.__(l,n),m=(o="function"==typeof r)?null:r&&r.__k||n.__k,u=[],k(n,l=(!o&&r||n).__k=function(i,l,n){var r,o,t,m={};for(t in l)"key"==t?r=l[t]:"ref"==t?o=l[t]:m[t]=l[t];if(arguments.length>2&&(m.children=arguments.length>3?e.call(arguments,2):n),"function"==typeof i&&null!=i.defaultProps)for(t in i.defaultProps)void 0===m[t]&&(m[t]=i.defaultProps[t]);return d(i,m,r,o,null)}(s,null,[l]),m||t,t,void 0!==n.ownerSVGElement,!o&&r?[r]:m?null:n.firstChild?e.call(n.childNodes):null,u,!o&&r?r:m?m.__e:n.firstChild,o),M(u,l)}e=m.slice,i={__e:function(e,i){for(var l,n,r;i=i.__;)if((l=i.__c)&&!l.__)try{if((n=l.constructor)&&null!=n.getDerivedStateFromError&&(l.setState(n.getDerivedStateFromError(e)),r=l.__d),null!=l.componentDidCatch&&(l.componentDidCatch(e),r=l.__d),r)return l.__E=l}catch(i){e=i}throw e}},l=0,N.prototype.setState=function(e,i){var l;l=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=a({},this.state),"function"==typeof e&&(e=e(a({},l),this.props)),e&&a(l,e),null!=e&&this.__v&&(i&&this.__h.push(i),f(this))},N.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),f(this))},N.prototype.render=s,n=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,v.__r=0;var H,A={exports:{}};
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|