!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("ImageCompare",[],t):"object"==typeof exports?exports.ImageCompare=t():e.ImageCompare=t()}(self,function(){return function(){var t,s={9662:function(e,t,n){var s=n(614),o=n(6330),i=TypeError;e.exports=function(e){if(s(e))return e;throw i(o(e)+" is not a function")}},6077:function(e,t,n){var s=n(614),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||s(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},1223:function(e,t,n){var i=n(5112),a=n(30),r=n(3070).f,s=i("unscopables"),o=Array.prototype;null==o[s]&&r(o,s,{configurable:!0,value:a(null)}),e.exports=function(e){o[s][e]=!0}},9670:function(e,t,n){var s=n(111),o=String,i=TypeError;e.exports=function(e){if(s(e))return e;throw i(o(e)+" is not an object")}},8533:function(e,t,n){"use strict";var s=n(2092).forEach,o=n(9341)("forEach");e.exports=o?[].forEach:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}},8457:function(e,t,n){"use strict";var i=n(9974),a=n(6916),r=n(7908),c=n(3411),l=n(7659),d=n(4411),u=n(6244),s=n(6135),h=n(8554),m=n(1246),o=Array;e.exports=function(e){var t,n,g,v,b,y,_,O,p=r(e),x=d(this),w=arguments.length,f=w>1?arguments[1]:void 0,j=void 0!==f;if(j&&(f=i(f,w>2?arguments[2]:void 0)),b=m(p),t=0,!b||this===o&&l(b))for(g=u(p),n=x?new this(g):o(g);g>t;t++)v=j?f(p[t],t):p[t],s(n,t,v);else for(O=(_=h(p,b)).next,n=x?new this:[];!(y=a(O,_)).done;t++)v=j?c(_,f,[y.value,t],!0):y.value,s(n,t,v);return n.length=t,n}},1318:function(e,t,n){var o=n(5656),i=n(1400),a=n(6244),s=function(e){return function(t,n,s){var d,c=o(t),l=a(c),r=i(s,l);if(e&&n!=n){for(;l>r;)if((d=c[r++])!=d)return!0}else for(;l>r;r++)if((e||r in c)&&c[r]===n)return e||r||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},2092:function(e,t,n){var i=n(9974),a=n(1702),r=n(8361),c=n(7908),l=n(6244),d=n(5417),o=a([].push),s=function(e){var t=1==e,a=2==e,u=3==e,n=4==e,s=6==e,h=7==e,m=5==e||s;return function(f,p,g,v){for(var j,_,O=c(f),w=r(O),E=i(p,g),x=l(w),b=0,C=v||d,y=t?C(f,x):a||h?C(f,0):void 0;x>b;b++)if((m||b in w)&&(_=E(j=w[b],b,O),e))if(t)y[b]=_;else if(_)switch(e){case 3:return!0;case 5:return j;case 6:return b;case 2:o(y,j)}else switch(e){case 4:return!1;case 7:o(y,j)}return s?-1:u||n?n:y}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},1194:function(e,t,n){var s=n(7293),o=n(5112),i=n(7392),a=o("species");e.exports=function(e){return i>=51||!s(function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},9341:function(e,t,n){"use strict";var s=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&s(function(){n.call(null,t||function(){return 1},1)})}},1589:function(e,t,n){var s=n(1400),o=n(6244),i=n(6135),a=Array,r=Math.max;e.exports=function(e,t,n){for(var l=o(e),c=s(t,l),h=s(void 0===n?l:n,l),d=a(r(h-c,0)),u=0;c9007199254740991)throw t("Maximum allowed index exceeded");return e}},8324:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:function(e,t,n){var s=n(317)("span").classList,o=s&&s.constructor&&s.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8113:function(e,t,n){var s=n(5005);e.exports=s("navigator","userAgent")||""},7392:function(e,t,n){var s,o,a=n(7854),i=n(8113),r=a.process,c=a.Deno,l=r&&r.versions||c&&c.version,d=l&&l.v8;d&&(o=(s=d.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!o&&i&&(!(s=i.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=i.match(/Chrome\/(\d+)/))&&(o=+s[1]),e.exports=o},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var s=n(7854),o=n(1236).f,i=n(8880),a=n(8052),r=n(3072),c=n(9920),l=n(4705);e.exports=function(e,t){var n,d,u,h,f,m=e.target,p=e.global,g=e.stat;if(h=p?s:g?s[m]||r(m,{}):(s[m]||{}).prototype)for(n in t){if(u=t[n],d=e.dontCallGetSet?(f=o(h,n))&&f.value:h[n],!l(p?n:m+(g?".":"#")+n,e.forced)&&void 0!==d){if(typeof u==typeof d)continue;c(u,d)}(e.sham||d&&d.sham)&&i(u,"sham",!0),a(h,n,u,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch{return!0}}},2104:function(e,t,n){var a=n(4374),s=Function.prototype,o=s.apply,i=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(a?i.bind(o):function(){return i.apply(o,arguments)})},9974:function(e,t,n){var s=n(1702),o=n(9662),i=n(4374),a=s(s.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},4374:function(e,t,n){var s=n(7293);e.exports=!s(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},6916:function(e,t,n){var o=n(4374),s=Function.prototype.call;e.exports=o?s.bind(s):function(){return s.apply(s,arguments)}},6530:function(e,t,n){var s=n(9781),a=n(2597),i=Function.prototype,r=s&&Object.getOwnPropertyDescriptor,o=a(i,"name"),c=o&&"something"===function(){}.name,l=o&&(!s||s&&r(i,"name").configurable);e.exports={EXISTS:o,PROPER:c,CONFIGURABLE:l}},1702:function(e,t,n){var o=n(4374),i=Function.prototype,a=i.bind,s=i.call,r=o&&a.bind(s,s);e.exports=o?function(e){return e&&r(e)}:function(e){return e&&function(){return s.apply(e,arguments)}}},5005:function(e,t,n){var s=n(7854),o=n(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(s[e]):s[e]&&s[e][t]}},1246:function(e,t,n){var o=n(648),s=n(8173),i=n(7497),a=n(5112)("iterator");e.exports=function(e){if(e!=null)return s(e,a)||s(e,"@@iterator")||i[o(e)]}},8554:function(e,t,n){var s=n(6916),o=n(9662),i=n(9670),a=n(6330),r=n(1246),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?r(e):t;if(o(n))return i(s(n,e));throw c(a(e)+" is not iterable")}},8173:function(e,t,n){var s=n(9662);e.exports=function(e,t){var n=e[t];return n==null?void 0:s(n)}},7854:function(e,t,n){var s=function(e){return e&&e.Math==Math&&e};e.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(e,t,n){var s=n(1702),o=n(7908),i=s({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:function(e){e.exports={}},490:function(e,t,n){var s=n(5005);e.exports=s("document","documentElement")},4664:function(e,t,n){var s=n(9781),o=n(7293),i=n(317);e.exports=!s&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},8361:function(e,t,n){var o=n(1702),i=n(7293),a=n(4326),s=Object,r=o("".split);e.exports=i(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"==a(e)?r(e,""):s(e)}:s},2788:function(e,t,n){var o=n(1702),i=n(614),s=n(5465),a=o(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return a(e)}),e.exports=s.inspectSource},9909:function(e,t,n){var s,i,a,r,w=n(8536),m=n(7854),c=n(1702),v=n(111),b=n(8880),u=n(2597),l=n(5465),p=n(6200),g=n(3501),h="Object already initialized",d=m.TypeError,j=m.WeakMap;if(w||l.state){var o=l.state||(l.state=new j),y=c(o.get),f=c(o.has),_=c(o.set);a=function(e,t){if(f(o,e))throw new d(h);return t.facade=e,_(o,e,t),t},i=function(e){return y(o,e)||{}},r=function(e){return f(o,e)}}else s=p("state"),g[s]=!0,a=function(e,t){if(u(e,s))throw new d(h);return t.facade=e,b(e,s,t),t},i=function(e){return u(e,s)?e[s]:{}},r=function(e){return u(e,s)};e.exports={set:a,get:i,has:r,enforce:function(e){return r(e)?i(e):a(e,{})},getterFor:function(e){return function(t){var n;if(!v(t)||(n=i(t)).type!==e)throw d("Incompatible receiver, "+e+" required");return n}}}},7659:function(e,t,n){var s=n(5112),o=n(7497),i=s("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3157:function(e,t,n){var s=n(4326);e.exports=Array.isArray||function(e){return"Array"==s(e)}},614:function(e){e.exports=function(e){return"function"==typeof e}},4411:function(e,t,n){var h=n(1702),g=n(7293),r=n(614),l=n(648),d=n(5005),u=n(2788),i=function(){},m=[],a=d("Reflect","construct"),o=/^\s*(?:class|function)\b/,f=h(o.exec),p=!o.exec(i),s=function(e){if(!r(e))return!1;try{return a(i,m,e),!0}catch{return!1}},c=function(e){if(!r(e))return!1;switch(l(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(o,u(e))}catch{return!0}};c.sham=!0,e.exports=!a||g(function(){var e;return s(s.call)||!s(Object)||!s(function(){e=!0})||e})?c:s},4705:function(e,t,n){var o=n(7293),i=n(614),a=/#|\.prototype\./,s=function(e,t){var n=c[r(e)];return n==d||n!=l&&(i(t)?o(t):!!t)},r=s.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",d=s.POLYFILL="P";e.exports=s},111:function(e,t,n){var s=n(614);e.exports=function(e){return"object"==typeof e?null!==e:s(e)}},1913:function(e){e.exports=!1},2190:function(e,t,n){var s=n(5005),o=n(614),i=n(7976),a=n(3307),r=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return o(t)&&i(t.prototype,r(e))}},9212:function(e,t,n){var o=n(6916),s=n(9670),i=n(8173);e.exports=function(e,t,n){var a,r;s(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=o(a,e)}catch(e){r=!0,a=e}if("throw"===t)throw n;if(r)throw a;return s(a),n}},3383:function(e,t,n){"use strict";var s,i,a,l=n(7293),d=n(614),u=n(30),r=n(9518),h=n(8052),m=n(5112),f=n(1913),o=m("iterator"),c=!1;[].keys&&("next"in(a=[].keys())?(i=r(r(a)))!==Object.prototype&&(s=i):c=!0),s==null||l(function(){var e={};return s[o].call(e)!==e})?s={}:f&&(s=u(s)),d(s[o])||h(s,o,function(){return this}),e.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:c}},7497:function(e){e.exports={}},6244:function(e,t,n){var s=n(7466);e.exports=function(e){return s(e.length)}},6339:function(e,t,n){var r=n(7293),h=n(614),s=n(2597),i=n(9781),c=n(6530).CONFIGURABLE,l=n(2788),a=n(9909),d=a.enforce,u=a.get,o=Object.defineProperty,m=i&&!r(function(){return 8!==o(function(){},"length",{value:8}).length}),f=String(String).split("String"),p=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&o(e,"name",{value:t,configurable:!0}),m&&n&&s(n,"arity")&&e.length!==n.arity&&o(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?i&&o(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var a=d(e);return s(a,"source")||(a.source=f.join("string"==typeof t?t:"")),e};Function.prototype.toString=p(function(){return h(this)&&u(this).source||l(this)},"toString")},4758:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var s=+e;return(s>0?n:t)(s)}},735:function(e,t,n){var s=n(133);e.exports=s&&!!Symbol.for&&!!Symbol.keyFor},133:function(e,t,n){var s=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s&&s<41})},8536:function(e,t,n){var o=n(7854),i=n(614),a=n(2788),s=o.WeakMap;e.exports=i(s)&&/native code/.test(a(s))},1574:function(e,t,n){"use strict";var i=n(9781),r=n(1702),c=n(6916),l=n(7293),o=n(1956),d=n(5181),u=n(5296),h=n(7908),m=n(8361),s=Object.assign,a=Object.defineProperty,f=r([].concat);e.exports=!s||l(function(){if(i&&1!==s({b:1},s(a({},"a",{enumerable:!0,get:function(){a(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||o(s({},t)).join("")!=r})?function(e){for(var a=h(e),v=arguments.length,r=1,l=d.f,b=u.f;v>r;)for(var s,n=m(arguments[r++]),p=l?f(o(n),l(n)):o(n),j=p.length,g=0;j>g;)s=p[g++],i&&!c(b,n,s)||(a[s]=n[s]);return a}:s},30:function(e,t,n){var s,d=n(9670),u=n(6048),a=n(748),h=n(3501),m=n(490),f=n(317),r=n(6200)("IE_PROTO"),i=function(){},c=function(e){return"